diff --git ql/src/test/results/beelinepositive/alter3.q.out ql/src/test/results/beelinepositive/alter3.q.out deleted file mode 100644 index e2732dc..0000000 --- ql/src/test/results/beelinepositive/alter3.q.out +++ /dev/null @@ -1,171 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/alter3.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/alter3.q ->>> create table alter3_src ( col1 string ) stored as textfile ; -No rows affected ->>> load data local inpath '../data/files/test.dat' overwrite into table alter3_src ; -No rows affected ->>> ->>> create table alter3 ( col1 string ) partitioned by (pcol1 string , pcol2 string) stored as sequencefile; -No rows affected ->>> ->>> create table alter3_like like alter3; -No rows affected ->>> ->>> insert overwrite table alter3 partition (pCol1='test_part:', pcol2='test_part:') select col1 from alter3_src ; -'col1' -No rows selected ->>> select * from alter3 where pcol1='test_part:' and pcol2='test_part:'; -'col1','pcol1','pcol2' -'1','test_part:','test_part:' -'2','test_part:','test_part:' -'3','test_part:','test_part:' -'4','test_part:','test_part:' -'5','test_part:','test_part:' -'6','test_part:','test_part:' -6 rows selected ->>> ->>> ->>> alter table alter3 rename to alter3_renamed; -No rows affected ->>> describe extended alter3_renamed; -'col_name','data_type','comment' -'col1','string','' -'pcol1','string','' -'pcol2','string','' -'','','' -'Detailed Table Information','Table(tableName:alter3_renamed, dbName:alter3, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:col1, type:string, comment:null), FieldSchema(name:pcol1, type:string, comment:null), FieldSchema(name:pcol2, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/alter3.db/alter3_renamed, inputFormat:org.apache.hadoop.mapred.SequenceFileInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:pcol1, type:string, comment:null), FieldSchema(name:pcol2, type:string, comment:null)], parameters:{numPartitions=1, numFiles=1, last_modified_by=!!ELIDED!!, last_modified_time=!!UNIXTIME!!, transient_lastDdlTime=!!UNIXTIME!!, numRows=6, totalSize=171, rawDataSize=6}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -5 rows selected ->>> describe extended alter3_renamed partition (pCol1='test_part:', pcol2='test_part:'); -'col_name','data_type','comment' -'col1','string','' -'pcol1','string','' -'pcol2','string','' -'','','' -'Detailed Partition Information','Partition(values:[test_part:, test_part:], dbName:alter3, tableName:alter3_renamed, createTime:!!UNIXTIME!!, lastAccessTime:0, sd:StorageDescriptor(cols:[FieldSchema(name:col1, type:string, comment:null), FieldSchema(name:pcol1, type:string, comment:null), FieldSchema(name:pcol2, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/alter3.db/alter3_renamed/pcol1=test_part%3A/pcol2=test_part%3A, inputFormat:org.apache.hadoop.mapred.SequenceFileInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), parameters:{numFiles=1, transient_lastDdlTime=!!UNIXTIME!!, numRows=6, totalSize=171, rawDataSize=6})','' -5 rows selected ->>> select * from alter3_renamed where pcol1='test_part:' and pcol2='test_part:'; -'col1','pcol1','pcol2' -'1','test_part:','test_part:' -'2','test_part:','test_part:' -'3','test_part:','test_part:' -'4','test_part:','test_part:' -'5','test_part:','test_part:' -'6','test_part:','test_part:' -6 rows selected ->>> ->>> insert overwrite table alter3_like -partition (pCol1='test_part:', pcol2='test_part:') -select col1 from alter3_src; -'col1' -No rows selected ->>> alter table alter3_like rename to alter3_like_renamed; -No rows affected ->>> ->>> describe extended alter3_like_renamed; -'col_name','data_type','comment' -'col1','string','' -'pcol1','string','' -'pcol2','string','' -'','','' -'Detailed Table Information','Table(tableName:alter3_like_renamed, dbName:alter3, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:col1, type:string, comment:null), FieldSchema(name:pcol1, type:string, comment:null), FieldSchema(name:pcol2, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/alter3.db/alter3_like_renamed, inputFormat:org.apache.hadoop.mapred.SequenceFileInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:pcol1, type:string, comment:null), FieldSchema(name:pcol2, type:string, comment:null)], parameters:{numPartitions=1, numFiles=1, last_modified_by=!!ELIDED!!, last_modified_time=!!UNIXTIME!!, transient_lastDdlTime=!!UNIXTIME!!, numRows=6, totalSize=171, rawDataSize=6}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -5 rows selected ->>> ->>> -- Cleanup ->>> DROP TABLE alter3_src; -No rows affected ->>> DROP TABLE alter3_renamed; -No rows affected ->>> DROP TABLE alter3_like_renamed; -No rows affected ->>> SHOW TABLES; -'tab_name' -'primitives' -'src' -'src1' -'src_json' -'src_sequencefile' -'src_thrift' -'srcbucket' -'srcbucket2' -'srcpart' -9 rows selected ->>> ->>> -- With non-default Database ->>> ->>> CREATE DATABASE alter3_db; -No rows affected ->>> USE alter3_db; -No rows affected ->>> SHOW TABLES; -'tab_name' -No rows selected ->>> ->>> CREATE TABLE alter3_src (col1 STRING) STORED AS TEXTFILE ; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/test.dat' OVERWRITE INTO TABLE alter3_src ; -No rows affected ->>> ->>> CREATE TABLE alter3 (col1 STRING) PARTITIONED BY (pcol1 STRING, pcol2 STRING) STORED AS SEQUENCEFILE; -No rows affected ->>> ->>> CREATE TABLE alter3_like LIKE alter3; -No rows affected ->>> ->>> INSERT OVERWRITE TABLE alter3 PARTITION (pCol1='test_part:', pcol2='test_part:') SELECT col1 FROM alter3_src ; -'col1' -No rows selected ->>> SELECT * FROM alter3 WHERE pcol1='test_part:' AND pcol2='test_part:'; -'col1','pcol1','pcol2' -'1','test_part:','test_part:' -'2','test_part:','test_part:' -'3','test_part:','test_part:' -'4','test_part:','test_part:' -'5','test_part:','test_part:' -'6','test_part:','test_part:' -6 rows selected ->>> ->>> ALTER TABLE alter3 RENAME TO alter3_renamed; -No rows affected ->>> DESCRIBE EXTENDED alter3_renamed; -'col_name','data_type','comment' -'col1','string','' -'pcol1','string','' -'pcol2','string','' -'','','' -'Detailed Table Information','Table(tableName:alter3_renamed, dbName:alter3_db, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:col1, type:string, comment:null), FieldSchema(name:pcol1, type:string, comment:null), FieldSchema(name:pcol2, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/alter3_db.db/alter3_renamed, inputFormat:org.apache.hadoop.mapred.SequenceFileInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:pcol1, type:string, comment:null), FieldSchema(name:pcol2, type:string, comment:null)], parameters:{numPartitions=1, numFiles=1, last_modified_by=!!ELIDED!!, last_modified_time=!!UNIXTIME!!, transient_lastDdlTime=!!UNIXTIME!!, numRows=6, totalSize=171, rawDataSize=6}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -5 rows selected ->>> DESCRIBE EXTENDED alter3_renamed PARTITION (pCol1='test_part:', pcol2='test_part:'); -'col_name','data_type','comment' -'col1','string','' -'pcol1','string','' -'pcol2','string','' -'','','' -'Detailed Partition Information','Partition(values:[test_part:, test_part:], dbName:alter3_db, tableName:alter3_renamed, createTime:!!UNIXTIME!!, lastAccessTime:0, sd:StorageDescriptor(cols:[FieldSchema(name:col1, type:string, comment:null), FieldSchema(name:pcol1, type:string, comment:null), FieldSchema(name:pcol2, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/alter3_db.db/alter3_renamed/pcol1=test_part%3A/pcol2=test_part%3A, inputFormat:org.apache.hadoop.mapred.SequenceFileInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), parameters:{numFiles=1, transient_lastDdlTime=!!UNIXTIME!!, numRows=6, totalSize=171, rawDataSize=6})','' -5 rows selected ->>> SELECT * FROM alter3_renamed WHERE pcol1='test_part:' AND pcol2='test_part:'; -'col1','pcol1','pcol2' -'1','test_part:','test_part:' -'2','test_part:','test_part:' -'3','test_part:','test_part:' -'4','test_part:','test_part:' -'5','test_part:','test_part:' -'6','test_part:','test_part:' -6 rows selected ->>> ->>> INSERT OVERWRITE TABLE alter3_like -PARTITION (pCol1='test_part:', pcol2='test_part:') -SELECT col1 FROM alter3_src; -'col1' -No rows selected ->>> ALTER TABLE alter3_like RENAME TO alter3_like_renamed; -No rows affected ->>> ->>> DESCRIBE EXTENDED alter3_like_renamed; -'col_name','data_type','comment' -'col1','string','' -'pcol1','string','' -'pcol2','string','' -'','','' -'Detailed Table Information','Table(tableName:alter3_like_renamed, dbName:alter3_db, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:col1, type:string, comment:null), FieldSchema(name:pcol1, type:string, comment:null), FieldSchema(name:pcol2, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/alter3_db.db/alter3_like_renamed, inputFormat:org.apache.hadoop.mapred.SequenceFileInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:pcol1, type:string, comment:null), FieldSchema(name:pcol2, type:string, comment:null)], parameters:{numPartitions=1, numFiles=1, last_modified_by=!!ELIDED!!, last_modified_time=!!UNIXTIME!!, transient_lastDdlTime=!!UNIXTIME!!, numRows=6, totalSize=171, rawDataSize=6}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -5 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/alter_concatenate_indexed_table.q.out ql/src/test/results/beelinepositive/alter_concatenate_indexed_table.q.out deleted file mode 100644 index bddbd13..0000000 --- ql/src/test/results/beelinepositive/alter_concatenate_indexed_table.q.out +++ /dev/null @@ -1,165 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/alter_concatenate_indexed_table.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/alter_concatenate_indexed_table.q ->>> set hive.exec.concatenate.check.index =false; -No rows affected ->>> create table src_rc_concatenate_test(key int, value string) stored as rcfile; -No rows affected ->>> ->>> load data local inpath '../data/files/smbbucket_1.rc' into table src_rc_concatenate_test; -No rows affected ->>> load data local inpath '../data/files/smbbucket_2.rc' into table src_rc_concatenate_test; -No rows affected ->>> load data local inpath '../data/files/smbbucket_3.rc' into table src_rc_concatenate_test; -No rows affected ->>> ->>> show table extended like `src_rc_concatenate_test`; -'tab_name' -'tableName:src_rc_concatenate_test' -'owner:!!{user.name}!!' -'location:!!{hive.metastore.warehouse.dir}!!/alter_concatenate_indexed_table.db/src_rc_concatenate_test' -'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:!!UNIXTIMEMILLIS!!' -'' -15 rows selected ->>> ->>> select count(1) from src_rc_concatenate_test; -'_c0' -'15' -1 row selected ->>> select sum(hash(key)), sum(hash(value)) from src_rc_concatenate_test; -'_c0','_c1' -'214','-7678496319' -1 row selected ->>> ->>> create index src_rc_concatenate_test_index on table src_rc_concatenate_test(key) as 'compact' WITH DEFERRED REBUILD IDXPROPERTIES ("prop1"="val1", "prop2"="val2"); -No rows affected ->>> show indexes on src_rc_concatenate_test; -'idx_name','tab_name','col_names','idx_tab_name','idx_type','comment' -'src_rc_concatenate_test_index','src_rc_concatenate_test','key ','alter_concatenate_indexed_table__src_rc_concatenate_test_src_rc_concatenate_test_index__','compact ','' -1 row selected ->>> ->>> alter table src_rc_concatenate_test concatenate; -No rows affected ->>> ->>> show table extended like `src_rc_concatenate_test`; -'tab_name' -'tableName:src_rc_concatenate_test' -'owner:!!{user.name}!!' -'location:!!{hive.metastore.warehouse.dir}!!/alter_concatenate_indexed_table.db/src_rc_concatenate_test' -'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:239' -'maxFileSize:239' -'minFileSize:239' -'lastAccessTime:0' -'lastUpdateTime:!!UNIXTIMEMILLIS!!' -'' -15 rows selected ->>> ->>> select count(1) from src_rc_concatenate_test; -'_c0' -'15' -1 row selected ->>> select sum(hash(key)), sum(hash(value)) from src_rc_concatenate_test; -'_c0','_c1' -'214','-7678496319' -1 row selected ->>> ->>> drop index src_rc_concatenate_test_index on src_rc_concatenate_test; -No rows affected ->>> ->>> create table src_rc_concatenate_test_part(key int, value string) partitioned by (ds string) stored as rcfile; -No rows affected ->>> ->>> alter table src_rc_concatenate_test_part add partition (ds='2011'); -No rows affected ->>> ->>> load data local inpath '../data/files/smbbucket_1.rc' into table src_rc_concatenate_test_part partition (ds='2011'); -No rows affected ->>> load data local inpath '../data/files/smbbucket_2.rc' into table src_rc_concatenate_test_part partition (ds='2011'); -No rows affected ->>> load data local inpath '../data/files/smbbucket_3.rc' into table src_rc_concatenate_test_part partition (ds='2011'); -No rows affected ->>> ->>> show table extended like `src_rc_concatenate_test_part` partition (ds='2011'); -'tab_name' -'tableName:src_rc_concatenate_test_part' -'owner:!!{user.name}!!' -'location:!!{hive.metastore.warehouse.dir}!!/alter_concatenate_indexed_table.db/src_rc_concatenate_test_part/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:!!UNIXTIMEMILLIS!!' -'' -15 rows selected ->>> ->>> select count(1) from src_rc_concatenate_test_part; -'_c0' -'15' -1 row selected ->>> select sum(hash(key)), sum(hash(value)) from src_rc_concatenate_test_part; -'_c0','_c1' -'214','-7678496319' -1 row selected ->>> ->>> create index src_rc_concatenate_test_part_index on table src_rc_concatenate_test_part(key) as 'compact' WITH DEFERRED REBUILD IDXPROPERTIES ("prop1"="val1", "prop2"="val2"); -No rows affected ->>> show indexes on src_rc_concatenate_test_part; -'idx_name','tab_name','col_names','idx_tab_name','idx_type','comment' -'src_rc_concatenate_test_part_index','src_rc_concatenate_test_part','key ','alter_concatenate_indexed_table__src_rc_concatenate_test_part_src_rc_concatenate_test_part_index__','compact ','' -1 row selected ->>> ->>> alter table src_rc_concatenate_test_part partition (ds='2011') concatenate; -No rows affected ->>> ->>> show table extended like `src_rc_concatenate_test_part` partition (ds='2011'); -'tab_name' -'tableName:src_rc_concatenate_test_part' -'owner:!!{user.name}!!' -'location:!!{hive.metastore.warehouse.dir}!!/alter_concatenate_indexed_table.db/src_rc_concatenate_test_part/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:239' -'maxFileSize:239' -'minFileSize:239' -'lastAccessTime:0' -'lastUpdateTime:!!UNIXTIMEMILLIS!!' -'' -15 rows selected ->>> ->>> select count(1) from src_rc_concatenate_test_part; -'_c0' -'15' -1 row selected ->>> select sum(hash(key)), sum(hash(value)) from src_rc_concatenate_test_part; -'_c0','_c1' -'214','-7678496319' -1 row selected ->>> ->>> drop index src_rc_concatenate_test_part_index on src_rc_concatenate_test_part; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/alter_merge.q.out ql/src/test/results/beelinepositive/alter_merge.q.out deleted file mode 100644 index facfd61..0000000 --- ql/src/test/results/beelinepositive/alter_merge.q.out +++ /dev/null @@ -1,149 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/alter_merge.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/alter_merge.q ->>> create table src_rc_merge_test(key int, value string) stored as rcfile; -No rows affected ->>> ->>> load data local inpath '../data/files/smbbucket_1.rc' into table src_rc_merge_test; -No rows affected ->>> load data local inpath '../data/files/smbbucket_2.rc' into table src_rc_merge_test; -No rows affected ->>> load data local inpath '../data/files/smbbucket_3.rc' into table src_rc_merge_test; -No rows affected ->>> ->>> show table extended like `src_rc_merge_test`; -'tab_name' -'tableName:src_rc_merge_test' -'owner:!!{user.name}!!' -'location:!!{hive.metastore.warehouse.dir}!!/alter_merge.db/src_rc_merge_test' -'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:!!UNIXTIMEMILLIS!!' -'' -15 rows selected ->>> ->>> select count(1) from src_rc_merge_test; -'_c0' -'15' -1 row selected ->>> select sum(hash(key)), sum(hash(value)) from src_rc_merge_test; -'_c0','_c1' -'214','-7678496319' -1 row selected ->>> ->>> alter table src_rc_merge_test concatenate; -No rows affected ->>> ->>> show table extended like `src_rc_merge_test`; -'tab_name' -'tableName:src_rc_merge_test' -'owner:!!{user.name}!!' -'location:!!{hive.metastore.warehouse.dir}!!/alter_merge.db/src_rc_merge_test' -'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:239' -'maxFileSize:239' -'minFileSize:239' -'lastAccessTime:0' -'lastUpdateTime:!!UNIXTIMEMILLIS!!' -'' -15 rows selected ->>> ->>> select count(1) from src_rc_merge_test; -'_c0' -'15' -1 row selected ->>> select sum(hash(key)), sum(hash(value)) from src_rc_merge_test; -'_c0','_c1' -'214','-7678496319' -1 row selected ->>> ->>> ->>> create table src_rc_merge_test_part(key int, value string) partitioned by (ds string) stored as rcfile; -No rows affected ->>> ->>> alter table src_rc_merge_test_part add partition (ds='2011'); -No rows affected ->>> ->>> load data local inpath '../data/files/smbbucket_1.rc' into table src_rc_merge_test_part partition (ds='2011'); -No rows affected ->>> load data local inpath '../data/files/smbbucket_2.rc' into table src_rc_merge_test_part partition (ds='2011'); -No rows affected ->>> load data local inpath '../data/files/smbbucket_3.rc' into table src_rc_merge_test_part partition (ds='2011'); -No rows affected ->>> ->>> show table extended like `src_rc_merge_test_part` partition (ds='2011'); -'tab_name' -'tableName:src_rc_merge_test_part' -'owner:!!{user.name}!!' -'location:!!{hive.metastore.warehouse.dir}!!/alter_merge.db/src_rc_merge_test_part/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:!!UNIXTIMEMILLIS!!' -'' -15 rows selected ->>> ->>> select count(1) from src_rc_merge_test_part; -'_c0' -'15' -1 row selected ->>> select sum(hash(key)), sum(hash(value)) from src_rc_merge_test_part; -'_c0','_c1' -'214','-7678496319' -1 row selected ->>> ->>> alter table src_rc_merge_test_part partition (ds='2011') concatenate; -No rows affected ->>> ->>> show table extended like `src_rc_merge_test_part` partition (ds='2011'); -'tab_name' -'tableName:src_rc_merge_test_part' -'owner:!!{user.name}!!' -'location:!!{hive.metastore.warehouse.dir}!!/alter_merge.db/src_rc_merge_test_part/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:239' -'maxFileSize:239' -'minFileSize:239' -'lastAccessTime:0' -'lastUpdateTime:!!UNIXTIMEMILLIS!!' -'' -15 rows selected ->>> ->>> select count(1) from src_rc_merge_test_part; -'_c0' -'15' -1 row selected ->>> select sum(hash(key)), sum(hash(value)) from src_rc_merge_test_part; -'_c0','_c1' -'214','-7678496319' -1 row selected ->>> ->>> drop table src_rc_merge_test; -No rows affected ->>> drop table src_rc_merge_test_part; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/alter_merge_2.q.out ql/src/test/results/beelinepositive/alter_merge_2.q.out deleted file mode 100644 index a807d13..0000000 --- ql/src/test/results/beelinepositive/alter_merge_2.q.out +++ /dev/null @@ -1,49 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/alter_merge_2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/alter_merge_2.q ->>> create table src_rc_merge_test_part(key int, value string) partitioned by (ds string, ts string) stored as rcfile; -No rows affected ->>> ->>> alter table src_rc_merge_test_part add partition (ds='2012-01-03', ts='2012-01-03+14:46:31'); -No rows affected ->>> desc extended src_rc_merge_test_part partition (ds='2012-01-03', ts='2012-01-03+14:46:31'); -'col_name','data_type','comment' -'key','int','' -'value','string','' -'ds','string','' -'ts','string','' -'','','' -'Detailed Partition Information','Partition(values:[2012-01-03, 2012-01-03+14:46:31], dbName:alter_merge_2, tableName:src_rc_merge_test_part, createTime:!!UNIXTIME!!, lastAccessTime: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), FieldSchema(name:ts, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/alter_merge_2.db/src_rc_merge_test_part/ds=2012-01-03/ts=2012-01-03+14%3A46%3A31, 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:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), parameters:{transient_lastDdlTime=!!UNIXTIME!!})','' -6 rows selected ->>> ->>> load data local inpath '../data/files/smbbucket_1.rc' into table src_rc_merge_test_part partition (ds='2012-01-03', ts='2012-01-03+14:46:31'); -No rows affected ->>> load data local inpath '../data/files/smbbucket_2.rc' into table src_rc_merge_test_part partition (ds='2012-01-03', ts='2012-01-03+14:46:31'); -No rows affected ->>> load data local inpath '../data/files/smbbucket_3.rc' into table src_rc_merge_test_part partition (ds='2012-01-03', ts='2012-01-03+14:46:31'); -No rows affected ->>> ->>> select count(1) from src_rc_merge_test_part where ds='2012-01-03' and ts='2012-01-03+14:46:31'; -'_c0' -'15' -1 row selected ->>> select sum(hash(key)), sum(hash(value)) from src_rc_merge_test_part where ds='2012-01-03' and ts='2012-01-03+14:46:31'; -'_c0','_c1' -'214','-7678496319' -1 row selected ->>> ->>> alter table src_rc_merge_test_part partition (ds='2012-01-03', ts='2012-01-03+14:46:31') concatenate; -No rows affected ->>> ->>> ->>> select count(1) from src_rc_merge_test_part where ds='2012-01-03' and ts='2012-01-03+14:46:31'; -'_c0' -'15' -1 row selected ->>> select sum(hash(key)), sum(hash(value)) from src_rc_merge_test_part where ds='2012-01-03' and ts='2012-01-03+14:46:31'; -'_c0','_c1' -'214','-7678496319' -1 row selected ->>> ->>> drop table src_rc_merge_test_part; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/alter_merge_stats.q.out ql/src/test/results/beelinepositive/alter_merge_stats.q.out deleted file mode 100644 index 48ab790..0000000 --- ql/src/test/results/beelinepositive/alter_merge_stats.q.out +++ /dev/null @@ -1,168 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/alter_merge_stats.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/alter_merge_stats.q ->>> create table src_rc_merge_test_stat(key int, value string) stored as rcfile; -No rows affected ->>> ->>> load data local inpath '../data/files/smbbucket_1.rc' into table src_rc_merge_test_stat; -No rows affected ->>> load data local inpath '../data/files/smbbucket_2.rc' into table src_rc_merge_test_stat; -No rows affected ->>> load data local inpath '../data/files/smbbucket_3.rc' into table src_rc_merge_test_stat; -No rows affected ->>> ->>> show table extended like `src_rc_merge_test_stat`; -'tab_name' -'tableName:src_rc_merge_test_stat' -'owner:!!{user.name}!!' -'location:!!{hive.metastore.warehouse.dir}!!/alter_merge_stats.db/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:!!UNIXTIMEMILLIS!!' -'' -15 rows selected ->>> desc extended src_rc_merge_test_stat; -'col_name','data_type','comment' -'key','int','' -'value','string','' -'','','' -'Detailed Table Information','Table(tableName:src_rc_merge_test_stat, dbName:alter_merge_stats, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:int, comment:null), FieldSchema(name:value, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/alter_merge_stats.db/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:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{numPartitions=0, numFiles=3, transient_lastDdlTime=!!UNIXTIME!!, totalSize=636, numRows=0, rawDataSize=0}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -4 rows selected ->>> ->>> analyze table src_rc_merge_test_stat compute statistics; -'key','value' -No rows selected ->>> ->>> desc extended src_rc_merge_test_stat; -'col_name','data_type','comment' -'key','int','' -'value','string','' -'','','' -'Detailed Table Information','Table(tableName:src_rc_merge_test_stat, dbName:alter_merge_stats, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:int, comment:null), FieldSchema(name:value, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/alter_merge_stats.db/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:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{numPartitions=0, numFiles=3, transient_lastDdlTime=!!UNIXTIME!!, numRows=15, totalSize=636, rawDataSize=110}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -4 rows selected ->>> ->>> alter table src_rc_merge_test_stat concatenate; -No rows affected ->>> ->>> show table extended like `src_rc_merge_test_stat`; -'tab_name' -'tableName:src_rc_merge_test_stat' -'owner:!!{user.name}!!' -'location:!!{hive.metastore.warehouse.dir}!!/alter_merge_stats.db/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:239' -'maxFileSize:239' -'minFileSize:239' -'lastAccessTime:0' -'lastUpdateTime:!!UNIXTIMEMILLIS!!' -'' -15 rows selected ->>> desc extended src_rc_merge_test_stat; -'col_name','data_type','comment' -'key','int','' -'value','string','' -'','','' -'Detailed Table Information','Table(tableName:src_rc_merge_test_stat, dbName:alter_merge_stats, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:int, comment:null), FieldSchema(name:value, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/alter_merge_stats.db/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:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{numPartitions=0, numFiles=1, transient_lastDdlTime=!!UNIXTIME!!, numRows=15, totalSize=239, rawDataSize=110}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -4 rows selected ->>> ->>> ->>> create table src_rc_merge_test_part_stat(key int, value string) partitioned by (ds string) stored as rcfile; -No rows affected ->>> ->>> alter table src_rc_merge_test_part_stat add partition (ds='2011'); -No rows affected ->>> ->>> load data local inpath '../data/files/smbbucket_1.rc' into table src_rc_merge_test_part_stat partition (ds='2011'); -No rows affected ->>> load data local inpath '../data/files/smbbucket_2.rc' into table src_rc_merge_test_part_stat partition (ds='2011'); -No rows affected ->>> load data local inpath '../data/files/smbbucket_3.rc' into table src_rc_merge_test_part_stat partition (ds='2011'); -No rows affected ->>> ->>> show table extended like `src_rc_merge_test_part_stat` partition (ds='2011'); -'tab_name' -'tableName:src_rc_merge_test_part_stat' -'owner:!!{user.name}!!' -'location:!!{hive.metastore.warehouse.dir}!!/alter_merge_stats.db/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:!!UNIXTIMEMILLIS!!' -'' -15 rows selected ->>> desc extended src_rc_merge_test_part_stat; -'col_name','data_type','comment' -'key','int','' -'value','string','' -'ds','string','' -'','','' -'Detailed Table Information','Table(tableName:src_rc_merge_test_part_stat, dbName:alter_merge_stats, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, 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:!!{hive.metastore.warehouse.dir}!!/alter_merge_stats.db/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:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:ds, type:string, comment:null)], parameters:{numPartitions=1, numFiles=3, transient_lastDdlTime=!!UNIXTIME!!, totalSize=636, numRows=0, rawDataSize=0}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -5 rows selected ->>> ->>> analyze table src_rc_merge_test_part_stat partition(ds='2011') compute statistics; -'key','value','ds' -No rows selected ->>> ->>> desc extended src_rc_merge_test_part_stat; -'col_name','data_type','comment' -'key','int','' -'value','string','' -'ds','string','' -'','','' -'Detailed Table Information','Table(tableName:src_rc_merge_test_part_stat, dbName:alter_merge_stats, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, 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:!!{hive.metastore.warehouse.dir}!!/alter_merge_stats.db/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:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:ds, type:string, comment:null)], parameters:{numPartitions=1, numFiles=3, transient_lastDdlTime=!!UNIXTIME!!, numRows=15, totalSize=636, rawDataSize=110}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -5 rows selected ->>> ->>> alter table src_rc_merge_test_part_stat partition (ds='2011') concatenate; -No rows affected ->>> ->>> show table extended like `src_rc_merge_test_part_stat` partition (ds='2011'); -'tab_name' -'tableName:src_rc_merge_test_part_stat' -'owner:!!{user.name}!!' -'location:!!{hive.metastore.warehouse.dir}!!/alter_merge_stats.db/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:239' -'maxFileSize:239' -'minFileSize:239' -'lastAccessTime:0' -'lastUpdateTime:!!UNIXTIMEMILLIS!!' -'' -15 rows selected ->>> desc extended src_rc_merge_test_part_stat; -'col_name','data_type','comment' -'key','int','' -'value','string','' -'ds','string','' -'','','' -'Detailed Table Information','Table(tableName:src_rc_merge_test_part_stat, dbName:alter_merge_stats, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, 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:!!{hive.metastore.warehouse.dir}!!/alter_merge_stats.db/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:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:ds, type:string, comment:null)], parameters:{numPartitions=1, numFiles=1, transient_lastDdlTime=!!UNIXTIME!!, numRows=15, totalSize=239, rawDataSize=110}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -5 rows selected ->>> ->>> drop table src_rc_merge_test_stat; -No rows affected ->>> drop table src_rc_merge_test_part_stat; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/alter_numbuckets_partitioned_table.q.out ql/src/test/results/beelinepositive/alter_numbuckets_partitioned_table.q.out deleted file mode 100644 index b0ccce5..0000000 --- ql/src/test/results/beelinepositive/alter_numbuckets_partitioned_table.q.out +++ /dev/null @@ -1,367 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/alter_numbuckets_partitioned_table.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/alter_numbuckets_partitioned_table.q ->>> ->>> create table tst1(key string, value string) partitioned by (ds string) clustered by (key) into 10 buckets; -No rows affected ->>> ->>> alter table tst1 clustered by (key) into 8 buckets; -No rows affected ->>> ->>> describe formatted tst1; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','alter_numbuckets_partitioned_table','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/alter_numbuckets_partitioned_table.db/tst1','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','last_modified_by ','!!{user.name}!! ' -'','last_modified_time ','!!UNIXTIME!! ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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: ','8 ','' -'Bucket Columns: ','[key] ','' -'Sort Columns: ','[] ','' -'Storage Desc Params:','','' -'','serialization.format','1 ' -34 rows selected ->>> ->>> set hive.enforce.bucketing=true; -No rows affected ->>> insert overwrite table tst1 partition (ds='1') select key, value from src; -'key','value' -No rows selected ->>> ->>> describe formatted tst1 partition (ds = '1'); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[1] ','' -'Database: ','alter_numbuckets_partitioned_table','' -'Table: ','tst1 ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/alter_numbuckets_partitioned_table.db/tst1/ds=1','' -'Partition Parameters:','','' -'','numFiles ','1 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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: ','8 ','' -'Bucket Columns: ','[key] ','' -'Sort Columns: ','[] ','' -'Storage Desc Params:','','' -'','serialization.format','1 ' -35 rows selected ->>> ->>> -- Test changing bucket number ->>> ->>> alter table tst1 clustered by (key) into 12 buckets; -No rows affected ->>> ->>> insert overwrite table tst1 partition (ds='1') select key, value from src; -'key','value' -No rows selected ->>> ->>> describe formatted tst1 partition (ds = '1'); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[1] ','' -'Database: ','alter_numbuckets_partitioned_table','' -'Table: ','tst1 ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/alter_numbuckets_partitioned_table.db/tst1/ds=1','' -'Partition Parameters:','','' -'','numFiles ','1 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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: ','8 ','' -'Bucket Columns: ','[key] ','' -'Sort Columns: ','[] ','' -'Storage Desc Params:','','' -'','serialization.format','1 ' -35 rows selected ->>> ->>> describe formatted tst1; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','alter_numbuckets_partitioned_table','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/alter_numbuckets_partitioned_table.db/tst1','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','last_modified_by ','!!{user.name}!! ' -'','last_modified_time ','!!UNIXTIME!! ' -'','numFiles ','1 ' -'','numPartitions ','1 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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: ','12 ','' -'Bucket Columns: ','[key] ','' -'Sort Columns: ','[] ','' -'Storage Desc Params:','','' -'','serialization.format','1 ' -39 rows selected ->>> ->>> -- Test adding sort order ->>> ->>> alter table tst1 clustered by (key) sorted by (key asc) into 12 buckets; -No rows affected ->>> ->>> describe formatted tst1; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','alter_numbuckets_partitioned_table','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/alter_numbuckets_partitioned_table.db/tst1','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','last_modified_by ','!!{user.name}!! ' -'','last_modified_time ','!!UNIXTIME!! ' -'','numFiles ','1 ' -'','numPartitions ','1 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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: ','12 ','' -'Bucket Columns: ','[key] ','' -'Sort Columns: ','[Order(col:key, order:1)]','' -'Storage Desc Params:','','' -'','serialization.format','1 ' -39 rows selected ->>> ->>> -- Test changing sort order ->>> ->>> alter table tst1 clustered by (key) sorted by (value desc) into 12 buckets; -No rows affected ->>> ->>> describe formatted tst1; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','alter_numbuckets_partitioned_table','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/alter_numbuckets_partitioned_table.db/tst1','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','last_modified_by ','!!{user.name}!! ' -'','last_modified_time ','!!UNIXTIME!! ' -'','numFiles ','1 ' -'','numPartitions ','1 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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: ','12 ','' -'Bucket Columns: ','[key] ','' -'Sort Columns: ','[Order(col:value, order:0)]','' -'Storage Desc Params:','','' -'','serialization.format','1 ' -39 rows selected ->>> ->>> -- Test removing test order ->>> ->>> alter table tst1 clustered by (value) into 12 buckets; -No rows affected ->>> ->>> describe formatted tst1; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','alter_numbuckets_partitioned_table','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/alter_numbuckets_partitioned_table.db/tst1','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','last_modified_by ','!!{user.name}!! ' -'','last_modified_time ','!!UNIXTIME!! ' -'','numFiles ','1 ' -'','numPartitions ','1 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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: ','12 ','' -'Bucket Columns: ','[value] ','' -'Sort Columns: ','[] ','' -'Storage Desc Params:','','' -'','serialization.format','1 ' -39 rows selected ->>> ->>> -- Test removing buckets ->>> ->>> alter table tst1 not clustered; -No rows affected ->>> ->>> describe formatted tst1; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','alter_numbuckets_partitioned_table','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/alter_numbuckets_partitioned_table.db/tst1','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','last_modified_by ','!!{user.name}!! ' -'','last_modified_time ','!!UNIXTIME!! ' -'','numFiles ','1 ' -'','numPartitions ','1 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -39 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/alter_partition_format_loc.q.out ql/src/test/results/beelinepositive/alter_partition_format_loc.q.out deleted file mode 100644 index c330319..0000000 --- ql/src/test/results/beelinepositive/alter_partition_format_loc.q.out +++ /dev/null @@ -1,106 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/alter_partition_format_loc.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/alter_partition_format_loc.q ->>> create table alter_partition_format_test (key int, value string); -No rows affected ->>> desc extended alter_partition_format_test; -'col_name','data_type','comment' -'key','int','' -'value','string','' -'','','' -'Detailed Table Information','Table(tableName:alter_partition_format_test, dbName:alter_partition_format_loc, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:int, comment:null), FieldSchema(name:value, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/alter_partition_format_loc.db/alter_partition_format_test, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -4 rows selected ->>> ->>> alter table alter_partition_format_test set fileformat rcfile; -No rows affected ->>> desc extended alter_partition_format_test; -'col_name','data_type','comment' -'key','int','' -'value','string','' -'','','' -'Detailed Table Information','Table(tableName:alter_partition_format_test, dbName:alter_partition_format_loc, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:int, comment:null), FieldSchema(name:value, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/alter_partition_format_loc.db/alter_partition_format_test, 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:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{last_modified_by=!!ELIDED!!, last_modified_time=!!UNIXTIME!!, transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -4 rows selected ->>> ->>> alter table alter_partition_format_test set location "file:/!!ELIDED!! -No rows affected ->>> desc extended alter_partition_format_test; -'col_name','data_type','comment' -'key','int','' -'value','string','' -'','','' -'Detailed Table Information','Table(tableName:alter_partition_format_test, dbName:alter_partition_format_loc, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:int, comment:null), FieldSchema(name:value, type:string, comment:null)], location:file:/!!ELIDED!! 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:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{last_modified_by=!!ELIDED!!, last_modified_time=!!UNIXTIME!!, transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -4 rows selected ->>> ->>> drop table alter_partition_format_test; -No rows affected ->>> ->>> --partitioned table ->>> create table alter_partition_format_test (key int, value string) partitioned by (ds string); -No rows affected ->>> ->>> alter table alter_partition_format_test add partition(ds='2010'); -No rows affected ->>> desc extended alter_partition_format_test partition(ds='2010'); -'col_name','data_type','comment' -'key','int','' -'value','string','' -'ds','string','' -'','','' -'Detailed Partition Information','Partition(values:[2010], dbName:alter_partition_format_loc, tableName:alter_partition_format_test, createTime:!!UNIXTIME!!, lastAccessTime: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:!!{hive.metastore.warehouse.dir}!!/alter_partition_format_loc.db/alter_partition_format_test/ds=2010, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), parameters:{transient_lastDdlTime=!!UNIXTIME!!})','' -5 rows selected ->>> ->>> alter table alter_partition_format_test partition(ds='2010') set fileformat rcfile; -No rows affected ->>> desc extended alter_partition_format_test partition(ds='2010'); -'col_name','data_type','comment' -'key','int','' -'value','string','' -'ds','string','' -'','','' -'Detailed Partition Information','Partition(values:[2010], dbName:alter_partition_format_loc, tableName:alter_partition_format_test, createTime:!!UNIXTIME!!, lastAccessTime: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:!!{hive.metastore.warehouse.dir}!!/alter_partition_format_loc.db/alter_partition_format_test/ds=2010, 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:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), parameters:{last_modified_by=!!ELIDED!!, last_modified_time=!!UNIXTIME!!, transient_lastDdlTime=!!UNIXTIME!!})','' -5 rows selected ->>> ->>> alter table alter_partition_format_test partition(ds='2010') set location "file:/!!ELIDED!! -No rows affected ->>> desc extended alter_partition_format_test partition(ds='2010'); -'col_name','data_type','comment' -'key','int','' -'value','string','' -'ds','string','' -'','','' -'Detailed Partition Information','Partition(values:[2010], dbName:alter_partition_format_loc, tableName:alter_partition_format_test, createTime:!!UNIXTIME!!, lastAccessTime: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:file:/!!ELIDED!! 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:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), parameters:{last_modified_by=!!ELIDED!!, last_modified_time=!!UNIXTIME!!, transient_lastDdlTime=!!UNIXTIME!!})','' -5 rows selected ->>> ->>> desc extended alter_partition_format_test; -'col_name','data_type','comment' -'key','int','' -'value','string','' -'ds','string','' -'','','' -'Detailed Table Information','Table(tableName:alter_partition_format_test, dbName:alter_partition_format_loc, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, 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:!!{hive.metastore.warehouse.dir}!!/alter_partition_format_loc.db/alter_partition_format_test, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:ds, type:string, comment:null)], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -5 rows selected ->>> ->>> alter table alter_partition_format_test set fileformat rcfile; -No rows affected ->>> desc extended alter_partition_format_test; -'col_name','data_type','comment' -'key','int','' -'value','string','' -'ds','string','' -'','','' -'Detailed Table Information','Table(tableName:alter_partition_format_test, dbName:alter_partition_format_loc, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, 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:!!{hive.metastore.warehouse.dir}!!/alter_partition_format_loc.db/alter_partition_format_test, 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:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:ds, type:string, comment:null)], parameters:{last_modified_by=!!ELIDED!!, last_modified_time=!!UNIXTIME!!, transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -5 rows selected ->>> ->>> alter table alter_partition_format_test set location "file:/!!ELIDED!! -No rows affected ->>> desc extended alter_partition_format_test; -'col_name','data_type','comment' -'key','int','' -'value','string','' -'ds','string','' -'','','' -'Detailed Table Information','Table(tableName:alter_partition_format_test, dbName:alter_partition_format_loc, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, 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:file:/!!ELIDED!! 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:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:ds, type:string, comment:null)], parameters:{last_modified_by=!!ELIDED!!, last_modified_time=!!UNIXTIME!!, transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -5 rows selected ->>> ->>> drop table alter_partition_format_test; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/alter_partition_protect_mode.q.out ql/src/test/results/beelinepositive/alter_partition_protect_mode.q.out deleted file mode 100644 index 6f173f9..0000000 --- ql/src/test/results/beelinepositive/alter_partition_protect_mode.q.out +++ /dev/null @@ -1,66 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/alter_partition_protect_mode.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/alter_partition_protect_mode.q ->>> -- Create table ->>> create table if not exists alter_part_protect_mode(key string, value string ) partitioned by (year string, month string) stored as textfile ; -No rows affected ->>> ->>> -- Load data ->>> load data local inpath '../data/files/T1.txt' overwrite into table alter_part_protect_mode partition (year='1996', month='10'); -No rows affected ->>> load data local inpath '../data/files/T1.txt' overwrite into table alter_part_protect_mode partition (year='1996', month='12'); -No rows affected ->>> load data local inpath '../data/files/T1.txt' overwrite into table alter_part_protect_mode partition (year='1995', month='09'); -No rows affected ->>> load data local inpath '../data/files/T1.txt' overwrite into table alter_part_protect_mode partition (year='1994', month='07'); -No rows affected ->>> ->>> -- offline ->>> alter table alter_part_protect_mode partition (year='1996') disable offline; -No rows affected ->>> select * from alter_part_protect_mode where year = '1996'; -'key','value','year','month' -'1','11','1996','10' -'2','12','1996','10' -'3','13','1996','10' -'7','17','1996','10' -'8','18','1996','10' -'8','28','1996','10' -'1','11','1996','12' -'2','12','1996','12' -'3','13','1996','12' -'7','17','1996','12' -'8','18','1996','12' -'8','28','1996','12' -12 rows selected ->>> alter table alter_part_protect_mode partition (year='1995') enable offline; -No rows affected ->>> alter table alter_part_protect_mode partition (year='1995') disable offline; -No rows affected ->>> select * from alter_part_protect_mode where year = '1995'; -'key','value','year','month' -'1','11','1995','09' -'2','12','1995','09' -'3','13','1995','09' -'7','17','1995','09' -'8','18','1995','09' -'8','28','1995','09' -6 rows selected ->>> ->>> -- no_drop ->>> alter table alter_part_protect_mode partition (year='1996') enable no_drop; -No rows affected ->>> alter table alter_part_protect_mode partition (year='1995') disable no_drop; -No rows affected ->>> alter table alter_part_protect_mode drop partition (year='1995'); -No rows affected ->>> alter table alter_part_protect_mode partition (year='1994', month='07') disable no_drop; -No rows affected ->>> alter table alter_part_protect_mode drop partition (year='1994'); -No rows affected ->>> ->>> -- Cleanup ->>> alter table alter_part_protect_mode partition (year='1996') disable no_drop; -No rows affected ->>> drop table alter_part_protect_mode; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/alter_table_serde.q.out ql/src/test/results/beelinepositive/alter_table_serde.q.out deleted file mode 100644 index f1a6d8b..0000000 --- ql/src/test/results/beelinepositive/alter_table_serde.q.out +++ /dev/null @@ -1,108 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/alter_table_serde.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/alter_table_serde.q ->>> -- test table ->>> create table test_table (id int, query string, name string); -No rows affected ->>> describe extended test_table; -'col_name','data_type','comment' -'id','int','' -'query','string','' -'name','string','' -'','','' -'Detailed Table Information','Table(tableName:test_table, dbName:alter_table_serde, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:id, type:int, comment:null), FieldSchema(name:query, type:string, comment:null), FieldSchema(name:name, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/alter_table_serde.db/test_table, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -5 rows selected ->>> ->>> alter table test_table set serde 'org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe'; -No rows affected ->>> describe extended test_table; -'col_name','data_type','comment' -'id','int','from deserializer' -'query','string','from deserializer' -'name','string','from deserializer' -'','','' -'Detailed Table Information','Table(tableName:test_table, dbName:alter_table_serde, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:id, type:int, comment:from deserializer), FieldSchema(name:query, type:string, comment:from deserializer), FieldSchema(name:name, type:string, comment:from deserializer)], location:!!{hive.metastore.warehouse.dir}!!/alter_table_serde.db/test_table, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{last_modified_by=!!ELIDED!!, last_modified_time=!!UNIXTIME!!, transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -5 rows selected ->>> ->>> alter table test_table set serdeproperties ('field.delim' = ','); -No rows affected ->>> describe extended test_table; -'col_name','data_type','comment' -'id','int','from deserializer' -'query','string','from deserializer' -'name','string','from deserializer' -'','','' -'Detailed Table Information','Table(tableName:test_table, dbName:alter_table_serde, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:id, type:int, comment:from deserializer), FieldSchema(name:query, type:string, comment:from deserializer), FieldSchema(name:name, type:string, comment:from deserializer)], location:!!{hive.metastore.warehouse.dir}!!/alter_table_serde.db/test_table, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe, parameters:{serialization.format=1, field.delim=,}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{last_modified_by=!!ELIDED!!, last_modified_time=!!UNIXTIME!!, transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -5 rows selected ->>> ->>> drop table test_table; -No rows affected ->>> ->>> --- test partitioned table ->>> create table test_table (id int, query string, name string) partitioned by (dt string); -No rows affected ->>> ->>> alter table test_table add partition (dt = '2011'); -No rows affected ->>> describe extended test_table partition (dt='2011'); -'col_name','data_type','comment' -'id','int','' -'query','string','' -'name','string','' -'dt','string','' -'','','' -'Detailed Partition Information','Partition(values:[2011], dbName:alter_table_serde, tableName:test_table, createTime:!!UNIXTIME!!, lastAccessTime:0, sd:StorageDescriptor(cols:[FieldSchema(name:id, type:int, comment:null), FieldSchema(name:query, type:string, comment:null), FieldSchema(name:name, type:string, comment:null), FieldSchema(name:dt, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/alter_table_serde.db/test_table/dt=2011, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), parameters:{transient_lastDdlTime=!!UNIXTIME!!})','' -6 rows selected ->>> ->>> alter table test_table set serde 'org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe'; -No rows affected ->>> describe extended test_table partition (dt='2011'); -'col_name','data_type','comment' -'id','int','' -'query','string','' -'name','string','' -'dt','string','' -'','','' -'Detailed Partition Information','Partition(values:[2011], dbName:alter_table_serde, tableName:test_table, createTime:!!UNIXTIME!!, lastAccessTime:0, sd:StorageDescriptor(cols:[FieldSchema(name:id, type:int, comment:null), FieldSchema(name:query, type:string, comment:null), FieldSchema(name:name, type:string, comment:null), FieldSchema(name:dt, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/alter_table_serde.db/test_table/dt=2011, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), parameters:{transient_lastDdlTime=!!UNIXTIME!!})','' -6 rows selected ->>> ->>> alter table test_table set serdeproperties ('field.delim' = ','); -No rows affected ->>> describe extended test_table partition (dt='2011'); -'col_name','data_type','comment' -'id','int','' -'query','string','' -'name','string','' -'dt','string','' -'','','' -'Detailed Partition Information','Partition(values:[2011], dbName:alter_table_serde, tableName:test_table, createTime:!!UNIXTIME!!, lastAccessTime:0, sd:StorageDescriptor(cols:[FieldSchema(name:id, type:int, comment:null), FieldSchema(name:query, type:string, comment:null), FieldSchema(name:name, type:string, comment:null), FieldSchema(name:dt, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/alter_table_serde.db/test_table/dt=2011, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), parameters:{transient_lastDdlTime=!!UNIXTIME!!})','' -6 rows selected ->>> ->>> -- test partitions ->>> ->>> alter table test_table partition(dt='2011') set serde 'org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe'; -No rows affected ->>> describe extended test_table partition (dt='2011'); -'col_name','data_type','comment' -'id','int','' -'query','string','' -'name','string','' -'dt','string','' -'','','' -'Detailed Partition Information','Partition(values:[2011], dbName:alter_table_serde, tableName:test_table, createTime:!!UNIXTIME!!, lastAccessTime:0, sd:StorageDescriptor(cols:[FieldSchema(name:id, type:int, comment:null), FieldSchema(name:query, type:string, comment:null), FieldSchema(name:name, type:string, comment:null), FieldSchema(name:dt, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/alter_table_serde.db/test_table/dt=2011, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), parameters:{last_modified_by=!!ELIDED!!, last_modified_time=!!UNIXTIME!!, transient_lastDdlTime=!!UNIXTIME!!})','' -6 rows selected ->>> ->>> alter table test_table partition(dt='2011') set serdeproperties ('field.delim' = ','); -No rows affected ->>> describe extended test_table partition (dt='2011'); -'col_name','data_type','comment' -'id','int','' -'query','string','' -'name','string','' -'dt','string','' -'','','' -'Detailed Partition Information','Partition(values:[2011], dbName:alter_table_serde, tableName:test_table, createTime:!!UNIXTIME!!, lastAccessTime:0, sd:StorageDescriptor(cols:[FieldSchema(name:id, type:int, comment:null), FieldSchema(name:query, type:string, comment:null), FieldSchema(name:name, type:string, comment:null), FieldSchema(name:dt, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/alter_table_serde.db/test_table/dt=2011, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe, parameters:{serialization.format=1, field.delim=,}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), parameters:{last_modified_by=!!ELIDED!!, last_modified_time=!!UNIXTIME!!, transient_lastDdlTime=!!UNIXTIME!!})','' -6 rows selected ->>> ->>> drop table test_table; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/alter_view_rename.q.out ql/src/test/results/beelinepositive/alter_view_rename.q.out deleted file mode 100644 index 8d249aa..0000000 --- ql/src/test/results/beelinepositive/alter_view_rename.q.out +++ /dev/null @@ -1,35 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/alter_view_rename.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/alter_view_rename.q ->>> CREATE TABLE invites (foo INT, bar STRING) PARTITIONED BY (ds STRING); -No rows affected ->>> CREATE VIEW view1 as SELECT * FROM invites; -'foo','bar','ds' -No rows selected ->>> DESCRIBE EXTENDED view1; -'col_name','data_type','comment' -'foo','int','' -'bar','string','' -'ds','string','' -'','','' -'Detailed Table Information','Table(tableName:view1, dbName:alter_view_rename, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:foo, type:int, comment:null), FieldSchema(name:bar, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null)], location:null, inputFormat:org.apache.hadoop.mapred.SequenceFileInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:null, parameters:{}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:SELECT * FROM invites, viewExpandedText:SELECT `invites`.`foo`, `invites`.`bar`, `invites`.`ds` FROM `alter_view_rename`.`invites`, tableType:VIRTUAL_VIEW)','' -5 rows selected ->>> ->>> ALTER VIEW view1 RENAME TO view2; -No rows affected ->>> DESCRIBE EXTENDED view2; -'col_name','data_type','comment' -'foo','int','' -'bar','string','' -'ds','string','' -'','','' -'Detailed Table Information','Table(tableName:view2, dbName:alter_view_rename, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:foo, type:int, comment:null), FieldSchema(name:bar, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null)], location:null, inputFormat:org.apache.hadoop.mapred.SequenceFileInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:null, parameters:{}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{last_modified_by=!!ELIDED!!, last_modified_time=!!UNIXTIME!!, transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:SELECT * FROM invites, viewExpandedText:SELECT `invites`.`foo`, `invites`.`bar`, `invites`.`ds` FROM `alter_view_rename`.`invites`, tableType:VIRTUAL_VIEW)','' -5 rows selected ->>> SELECT * FROM view2; -'foo','bar','ds' -No rows selected ->>> ->>> DROP TABLE invites; -No rows affected ->>> DROP VIEW view2; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/archive_excludeHadoop20.q.out ql/src/test/results/beelinepositive/archive_excludeHadoop20.q.out deleted file mode 100644 index 2bca2c3..0000000 --- ql/src/test/results/beelinepositive/archive_excludeHadoop20.q.out +++ /dev/null @@ -1,155 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/archive_excludeHadoop20.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/archive_excludeHadoop20.q ->>> set hive.archive.enabled = true; -No rows affected ->>> set hive.enforce.bucketing = true; -No rows affected ->>> ->>> -- EXCLUDE_HADOOP_MAJOR_VERSIONS(0.20) ->>> ->>> drop table tstsrc; -No rows affected ->>> drop table tstsrcpart; -No rows affected ->>> ->>> create table tstsrc like src; -No rows affected ->>> insert overwrite table tstsrc select key, value from src; -'key','value' -No rows selected ->>> ->>> create table tstsrcpart (key string, value string) partitioned by (ds string, hr string) clustered by (key) into 10 buckets; -No rows affected ->>> ->>> insert overwrite table tstsrcpart partition (ds='2008-04-08', hr='11') -select key, value from srcpart where ds='2008-04-08' and hr='11'; -'key','value' -No rows selected ->>> ->>> insert overwrite table tstsrcpart partition (ds='2008-04-08', hr='12') -select key, value from srcpart where ds='2008-04-08' and hr='12'; -'key','value' -No rows selected ->>> ->>> insert overwrite table tstsrcpart partition (ds='2008-04-09', hr='11') -select key, value from srcpart where ds='2008-04-09' and hr='11'; -'key','value' -No rows selected ->>> ->>> insert overwrite table tstsrcpart partition (ds='2008-04-09', hr='12') -select key, value from srcpart where ds='2008-04-09' and hr='12'; -'key','value' -No rows selected ->>> ->>> SELECT SUM(hash(col)) FROM (SELECT transform(*) using 'tr "\t" "_"' AS col -FROM (SELECT * FROM tstsrcpart WHERE ds='2008-04-08') subq1) subq2; -'_c0' -'48479881068' -1 row selected ->>> ->>> ALTER TABLE tstsrcpart ARCHIVE PARTITION (ds='2008-04-08', hr='12'); -No rows affected ->>> ->>> SELECT SUM(hash(col)) FROM (SELECT transform(*) using 'tr "\t" "_"' AS col -FROM (SELECT * FROM tstsrcpart WHERE ds='2008-04-08') subq1) subq2; -'_c0' -'48479881068' -1 row selected ->>> ->>> SELECT key, count(1) FROM tstsrcpart WHERE ds='2008-04-08' AND hr='12' AND key='0' GROUP BY key; -'key','_c1' -'0','3' -1 row selected ->>> ->>> SELECT * FROM tstsrcpart a JOIN tstsrc b ON a.key=b.key -WHERE a.ds='2008-04-08' AND a.hr='12' AND a.key='0'; -'key','value','ds','hr','key','value' -'0','val_0','2008-04-08','12','0','val_0' -'0','val_0','2008-04-08','12','0','val_0' -'0','val_0','2008-04-08','12','0','val_0' -'0','val_0','2008-04-08','12','0','val_0' -'0','val_0','2008-04-08','12','0','val_0' -'0','val_0','2008-04-08','12','0','val_0' -'0','val_0','2008-04-08','12','0','val_0' -'0','val_0','2008-04-08','12','0','val_0' -'0','val_0','2008-04-08','12','0','val_0' -9 rows selected ->>> ->>> ALTER TABLE tstsrcpart UNARCHIVE PARTITION (ds='2008-04-08', hr='12'); -No rows affected ->>> ->>> SELECT SUM(hash(col)) FROM (SELECT transform(*) using 'tr "\t" "_"' AS col -FROM (SELECT * FROM tstsrcpart WHERE ds='2008-04-08') subq1) subq2; -'_c0' -'48479881068' -1 row selected ->>> ->>> CREATE TABLE harbucket(key INT) -PARTITIONED by (ds STRING) -CLUSTERED BY (key) INTO 10 BUCKETS; -No rows affected ->>> ->>> INSERT OVERWRITE TABLE harbucket PARTITION(ds='1') SELECT CAST(key AS INT) AS a FROM tstsrc WHERE key < 50; -'a' -No rows selected ->>> ->>> SELECT key FROM harbucket TABLESAMPLE(BUCKET 1 OUT OF 10) SORT BY key; -'key' -'0' -'0' -'0' -'10' -'20' -'30' -6 rows selected ->>> ALTER TABLE tstsrcpart ARCHIVE PARTITION (ds='2008-04-08', hr='12'); -No rows affected ->>> SELECT key FROM harbucket TABLESAMPLE(BUCKET 1 OUT OF 10) SORT BY key; -'key' -'0' -'0' -'0' -'10' -'20' -'30' -6 rows selected ->>> ALTER TABLE tstsrcpart UNARCHIVE PARTITION (ds='2008-04-08', hr='12'); -No rows affected ->>> SELECT key FROM harbucket TABLESAMPLE(BUCKET 1 OUT OF 10) SORT BY key; -'key' -'0' -'0' -'0' -'10' -'20' -'30' -6 rows selected ->>> ->>> ->>> CREATE TABLE old_name(key INT) -PARTITIONED by (ds STRING); -No rows affected ->>> ->>> INSERT OVERWRITE TABLE old_name PARTITION(ds='1') SELECT CAST(key AS INT) AS a FROM tstsrc WHERE key < 50; -'a' -No rows selected ->>> ALTER TABLE old_name ARCHIVE PARTITION (ds='1'); -No rows affected ->>> SELECT SUM(hash(col)) FROM (SELECT transform(*) using 'tr "\t" "_"' AS col -FROM (SELECT * FROM old_name WHERE ds='1') subq1) subq2; -'_c0' -'48656137' -1 row selected ->>> ALTER TABLE old_name RENAME TO new_name; -No rows affected ->>> SELECT SUM(hash(col)) FROM (SELECT transform(*) using 'tr "\t" "_"' AS col -FROM (SELECT * FROM new_name WHERE ds='1') subq1) subq2; -'_c0' -'' -1 row selected ->>> ->>> drop table tstsrc; -No rows affected ->>> drop table tstsrcpart; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/authorization_3.q.out ql/src/test/results/beelinepositive/authorization_3.q.out deleted file mode 100644 index d8c1dcb..0000000 --- ql/src/test/results/beelinepositive/authorization_3.q.out +++ /dev/null @@ -1,33 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/authorization_3.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/authorization_3.q ->>> create table src_autho_test as select * from src; -'key','value' -No rows selected ->>> ->>> grant drop on table src_autho_test to user hive_test_user; -No rows affected ->>> grant select on table src_autho_test to user hive_test_user; -No rows affected ->>> ->>> show grant user hive_test_user on table src_autho_test; -No rows affected ->>> ->>> revoke select on table src_autho_test from user hive_test_user; -No rows affected ->>> revoke drop on table src_autho_test from user hive_test_user; -No rows affected ->>> ->>> grant drop,select on table src_autho_test to user hive_test_user; -No rows affected ->>> show grant user hive_test_user on table src_autho_test; -No rows affected ->>> revoke drop,select on table src_autho_test from user hive_test_user; -No rows affected ->>> ->>> grant drop,select(key), select(value) on table src_autho_test to user hive_test_user; -No rows affected ->>> show grant user hive_test_user on table src_autho_test; -No rows affected ->>> revoke drop,select(key), select(value) on table src_autho_test from user hive_test_user; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/auto_join0.q.out ql/src/test/results/beelinepositive/auto_join0.q.out deleted file mode 100644 index e691113..0000000 --- ql/src/test/results/beelinepositive/auto_join0.q.out +++ /dev/null @@ -1,369 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/auto_join0.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/auto_join0.q ->>> ->>> set hive.auto.convert.join = true; -No rows affected ->>> ->>> explain -select sum(hash(a.k1,a.v1,a.k2, a.v2)) -from ( -SELECT src1.key as k1, src1.value as v1, -src2.key as k2, src2.value as v2 FROM -(SELECT * FROM src WHERE src.key < 10) src1 -JOIN -(SELECT * FROM src WHERE src.key < 10) src2 -SORT BY k1, v1, k2, v2 -) a; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (< (. (TOK_TABLE_OR_COL src) key) 10)))) src1) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (< (. (TOK_TABLE_OR_COL src) key) 10)))) src2))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key) k1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) value) v1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) key) k2) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) value) v2)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL k1)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL v1)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL k2)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL v2))))) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION hash (. (TOK_TABLE_OR_COL a) k1) (. (TOK_TABLE_OR_COL a) v1) (. (TOK_TABLE_OR_COL a) k2) (. (TOK_TABLE_OR_COL a) v2)))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-7 is a root stage , consists of Stage-8, Stage-9, Stage-1' -' Stage-8 has a backup stage: Stage-1' -' Stage-5 depends on stages: Stage-8' -' Stage-2 depends on stages: Stage-1, Stage-5, Stage-6' -' Stage-3 depends on stages: Stage-2' -' Stage-9 has a backup stage: Stage-1' -' Stage-6 depends on stages: Stage-9' -' Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-8' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' a:src2:src ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' a:src2:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 10)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col0} {_col1}' -' 1 {_col0} {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 []' -' 1 []' -' Position of Big Table: 0' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a:src1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 10)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {_col0} {_col1}' -' 1 {_col0} {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 []' -' 1 []' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' sort order: ++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col0,_col1,_col2,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-9' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' a:src1:src ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' a:src1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 10)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col0} {_col1}' -' 1 {_col0} {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 []' -' 1 []' -' Position of Big Table: 1' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a:src2:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 10)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {_col0} {_col1}' -' 1 {_col0} {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 []' -' 1 []' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a:src1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 10)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' sort order: ' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' a:src2:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 10)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' sort order: ' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -337 rows selected ->>> ->>> select sum(hash(a.k1,a.v1,a.k2, a.v2)) -from ( -SELECT src1.key as k1, src1.value as v1, -src2.key as k2, src2.value as v2 FROM -(SELECT * FROM src WHERE src.key < 10) src1 -JOIN -(SELECT * FROM src WHERE src.key < 10) src2 -SORT BY k1, v1, k2, v2 -) a; -'_c0' -'34441656720' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/auto_join1.q.out ql/src/test/results/beelinepositive/auto_join1.q.out deleted file mode 100644 index 5733fda..0000000 --- ql/src/test/results/beelinepositive/auto_join1.q.out +++ /dev/null @@ -1,246 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/auto_join1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/auto_join1.q ->>> set hive.auto.convert.join =true; -No rows affected ->>> ->>> CREATE TABLE dest_j1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> explain -FROM src src1 JOIN src src2 ON (src1.key = src2.key) -INSERT OVERWRITE TABLE dest_j1 SELECT src1.key, src2.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2) (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_j1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-6 is a root stage , consists of Stage-7, Stage-8, Stage-1' -' Stage-7 has a backup stage: Stage-1' -' Stage-4 depends on stages: Stage-7' -' Stage-0 depends on stages: Stage-1, Stage-4, Stage-5' -' Stage-2 depends on stages: Stage-0' -' Stage-8 has a backup stage: Stage-1' -' Stage-5 depends on stages: Stage-8' -' Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-6' -' Conditional Operator' -'' -' Stage: Stage-7' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src2 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src2 ' -' TableScan' -' alias: src2' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: auto_join1.dest_j1' -' Local Work:' -' Map Reduce Local Work' -'' -' 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: auto_join1.dest_j1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-8' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src1 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src2 ' -' TableScan' -' alias: src2' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col5' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: auto_join1.dest_j1' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: auto_join1.dest_j1' -'' -'' -222 rows selected ->>> ->>> FROM src src1 JOIN src src2 ON (src1.key = src2.key) -INSERT OVERWRITE TABLE dest_j1 SELECT src1.key, src2.value; -'_col0','_col1' -No rows selected ->>> ->>> SELECT sum(hash(dest_j1.key,dest_j1.value)) FROM dest_j1; -'_c0' -'101861029915' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/auto_join10.q.out ql/src/test/results/beelinepositive/auto_join10.q.out deleted file mode 100644 index ffd7b4b..0000000 --- ql/src/test/results/beelinepositive/auto_join10.q.out +++ /dev/null @@ -1,294 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/auto_join10.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/auto_join10.q ->>> set hive.auto.convert.join = true; -No rows affected ->>> ->>> explain -FROM -(SELECT src.* FROM src) x -JOIN -(SELECT src.* FROM src) Y -ON (x.key = Y.key) -select sum(hash(Y.key,Y.value)); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))))) x) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))))) Y) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL Y) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION hash (. (TOK_TABLE_OR_COL Y) key) (. (TOK_TABLE_OR_COL Y) value)))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-6 is a root stage , consists of Stage-7, Stage-8, Stage-1' -' Stage-7 has a backup stage: Stage-1' -' Stage-4 depends on stages: Stage-7' -' Stage-2 depends on stages: Stage-1, Stage-4, Stage-5' -' Stage-8 has a backup stage: Stage-1' -' Stage-5 depends on stages: Stage-8' -' Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-6' -' Conditional Operator' -'' -' Stage: Stage-7' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' y:src ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' y:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' Position of Big Table: 0' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' outputColumnNames: _col2, _col3' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col2, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col2,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-8' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' x:src ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' x:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' Position of Big Table: 1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' y:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' outputColumnNames: _col2, _col3' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col2, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col2,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' y:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col2, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col2,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -268 rows selected ->>> ->>> FROM -(SELECT src.* FROM src) x -JOIN -(SELECT src.* FROM src) Y -ON (x.key = Y.key) -select sum(hash(Y.key,Y.value)); -'_c0' -'103231310608' -1 row selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/auto_join11.q.out ql/src/test/results/beelinepositive/auto_join11.q.out deleted file mode 100644 index 839d70b..0000000 --- ql/src/test/results/beelinepositive/auto_join11.q.out +++ /dev/null @@ -1,318 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/auto_join11.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/auto_join11.q ->>> set hive.auto.convert.join = true; -No rows affected ->>> ->>> explain -SELECT sum(hash(src1.c1, src2.c4)) -FROM -(SELECT src.key as c1, src.value as c2 from src) src1 -JOIN -(SELECT src.key as c3, src.value as c4 from src) src2 -ON src1.c1 = src2.c3 AND src1.c1 < 100; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c2)))) src1) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c4)))) src2) (AND (= (. (TOK_TABLE_OR_COL src1) c1) (. (TOK_TABLE_OR_COL src2) c3)) (< (. (TOK_TABLE_OR_COL src1) c1) 100)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION hash (. (TOK_TABLE_OR_COL src1) c1) (. (TOK_TABLE_OR_COL src2) c4)))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-6 is a root stage , consists of Stage-7, Stage-8, Stage-1' -' Stage-7 has a backup stage: Stage-1' -' Stage-4 depends on stages: Stage-7' -' Stage-2 depends on stages: Stage-1, Stage-4, Stage-5' -' Stage-8 has a backup stage: Stage-1' -' Stage-5 depends on stages: Stage-8' -' Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-6' -' Conditional Operator' -'' -' Stage: Stage-7' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src2:src ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src2:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col0}' -' 1 {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' Position of Big Table: 0' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {_col0}' -' 1 {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' outputColumnNames: _col0, _col3' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col0,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-8' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src1:src ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col0}' -' 1 {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' Position of Big Table: 1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src2:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {_col0}' -' 1 {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' outputColumnNames: _col0, _col3' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col0,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' src2:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col0,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -293 rows selected ->>> ->>> SELECT sum(hash(src1.c1, src2.c4)) -FROM -(SELECT src.key as c1, src.value as c2 from src) src1 -JOIN -(SELECT src.key as c3, src.value as c4 from src) src2 -ON src1.c1 = src2.c3 AND src1.c1 < 100; -'_c0' -'-101333194320' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/auto_join12.q.out ql/src/test/results/beelinepositive/auto_join12.q.out deleted file mode 100644 index 7083a19..0000000 --- ql/src/test/results/beelinepositive/auto_join12.q.out +++ /dev/null @@ -1,525 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/auto_join12.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/auto_join12.q ->>> ->>> ->>> set hive.auto.convert.join = true; -No rows affected ->>> ->>> ->>> explain -SELECT sum(hash(src1.c1, src2.c4)) -FROM -(SELECT src.key as c1, src.value as c2 from src) src1 -JOIN -(SELECT src.key as c3, src.value as c4 from src) src2 -ON src1.c1 = src2.c3 AND src1.c1 < 100 -JOIN -(SELECT src.key as c5, src.value as c6 from src) src3 -ON src1.c1 = src3.c5 AND src3.c5 < 80; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c2)))) src1) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c4)))) src2) (AND (= (. (TOK_TABLE_OR_COL src1) c1) (. (TOK_TABLE_OR_COL src2) c3)) (< (. (TOK_TABLE_OR_COL src1) c1) 100))) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c5) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c6)))) src3) (AND (= (. (TOK_TABLE_OR_COL src1) c1) (. (TOK_TABLE_OR_COL src3) c5)) (< (. (TOK_TABLE_OR_COL src3) c5) 80)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION hash (. (TOK_TABLE_OR_COL src1) c1) (. (TOK_TABLE_OR_COL src2) c4)))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-8 is a root stage , consists of Stage-9, Stage-10, Stage-11, Stage-1' -' Stage-9 has a backup stage: Stage-1' -' Stage-5 depends on stages: Stage-9' -' Stage-2 depends on stages: Stage-1, Stage-5, Stage-6, Stage-7' -' Stage-10 has a backup stage: Stage-1' -' Stage-6 depends on stages: Stage-10' -' Stage-11 has a backup stage: Stage-1' -' Stage-7 depends on stages: Stage-11' -' Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-8' -' Conditional Operator' -'' -' Stage: Stage-9' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src2:src ' -' Fetch Operator' -' limit: -1' -' src3:src ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src2:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: ((key < 100) and (key < 80))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col0}' -' 1 {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' Position of Big Table: 0' -' src3:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: ((key < 80) and (key < 100))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col0}' -' 1 {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' Position of Big Table: 0' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: ((key < 100) and (key < 80))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 0 to 2' -' condition expressions:' -' 0 {_col0}' -' 1 {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' outputColumnNames: _col0, _col3' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col0,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-10' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src1:src ' -' Fetch Operator' -' limit: -1' -' src3:src ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: ((key < 100) and (key < 80))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col0}' -' 1 {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' Position of Big Table: 1' -' src3:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: ((key < 80) and (key < 100))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col0}' -' 1 {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' Position of Big Table: 1' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src2:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: ((key < 100) and (key < 80))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 0 to 2' -' condition expressions:' -' 0 {_col0}' -' 1 {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' outputColumnNames: _col0, _col3' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col0,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-11' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src1:src ' -' Fetch Operator' -' limit: -1' -' src2:src ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: ((key < 100) and (key < 80))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col0}' -' 1 {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' Position of Big Table: 2' -' src2:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: ((key < 100) and (key < 80))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col0}' -' 1 {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' Position of Big Table: 2' -'' -' Stage: Stage-7' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src3:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: ((key < 80) and (key < 100))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 0 to 2' -' condition expressions:' -' 0 {_col0}' -' 1 {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' outputColumnNames: _col0, _col3' -' Position of Big Table: 2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col0,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: ((key < 100) and (key < 80))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' src2:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: ((key < 100) and (key < 80))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col1' -' type: string' -' src3:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: ((key < 80) and (key < 100))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 2' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 0 to 2' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col1}' -' 2 ' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col0,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -491 rows selected ->>> ->>> SELECT sum(hash(src1.c1, src2.c4)) -FROM -(SELECT src.key as c1, src.value as c2 from src) src1 -JOIN -(SELECT src.key as c3, src.value as c4 from src) src2 -ON src1.c1 = src2.c3 AND src1.c1 < 100 -JOIN -(SELECT src.key as c5, src.value as c6 from src) src3 -ON src1.c1 = src3.c5 AND src3.c5 < 80; -'_c0' -'-136843922952' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/auto_join13.q.out ql/src/test/results/beelinepositive/auto_join13.q.out deleted file mode 100644 index 627b2c3..0000000 --- ql/src/test/results/beelinepositive/auto_join13.q.out +++ /dev/null @@ -1,499 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/auto_join13.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/auto_join13.q ->>> ->>> set hive.auto.convert.join = true; -No rows affected ->>> ->>> explain -SELECT sum(hash(src1.c1, src2.c4)) -FROM -(SELECT src.key as c1, src.value as c2 from src) src1 -JOIN -(SELECT src.key as c3, src.value as c4 from src) src2 -ON src1.c1 = src2.c3 AND src1.c1 < 100 -JOIN -(SELECT src.key as c5, src.value as c6 from src) src3 -ON src1.c1 + src2.c3 = src3.c5 AND src3.c5 < 200; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c2)))) src1) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c4)))) src2) (AND (= (. (TOK_TABLE_OR_COL src1) c1) (. (TOK_TABLE_OR_COL src2) c3)) (< (. (TOK_TABLE_OR_COL src1) c1) 100))) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c5) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c6)))) src3) (AND (= (+ (. (TOK_TABLE_OR_COL src1) c1) (. (TOK_TABLE_OR_COL src2) c3)) (. (TOK_TABLE_OR_COL src3) c5)) (< (. (TOK_TABLE_OR_COL src3) c5) 200)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION hash (. (TOK_TABLE_OR_COL src1) c1) (. (TOK_TABLE_OR_COL src2) c4)))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-11 is a root stage , consists of Stage-14, Stage-15, Stage-1' -' Stage-14 has a backup stage: Stage-1' -' Stage-9 depends on stages: Stage-14' -' Stage-8 depends on stages: Stage-1, Stage-9, Stage-10 , consists of Stage-12, Stage-13, Stage-2' -' Stage-12 has a backup stage: Stage-2' -' Stage-6 depends on stages: Stage-12' -' Stage-3 depends on stages: Stage-2, Stage-6, Stage-7' -' Stage-13 has a backup stage: Stage-2' -' Stage-7 depends on stages: Stage-13' -' Stage-2' -' Stage-15 has a backup stage: Stage-1' -' Stage-10 depends on stages: Stage-15' -' Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-11' -' Conditional Operator' -'' -' Stage: Stage-14' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src2:src ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src2:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 100)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col0}' -' 1 {_col0} {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' Position of Big Table: 0' -'' -' Stage: Stage-9' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 100)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {_col0}' -' 1 {_col0} {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' outputColumnNames: _col0, _col2, _col3' -' Position of Big Table: 0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-8' -' Conditional Operator' -'' -' Stage: Stage-12' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src3:src ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src3:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 200)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col3} {_col0}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [class org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge(Column[_col0], Column[_col2]()]' -' 1 [class org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge(Column[_col0]()]' -' Position of Big Table: 0' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {_col3} {_col0}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [class org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge(Column[_col0], Column[_col2]()]' -' 1 [class org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge(Column[_col0]()]' -' outputColumnNames: _col1, _col2' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col2, _col1' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col2,_col1))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-13' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' $INTNAME ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' $INTNAME ' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col3} {_col0}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [class org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge(Column[_col0], Column[_col2]()]' -' 1 [class org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge(Column[_col0]()]' -' Position of Big Table: 1' -'' -' Stage: Stage-7' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src3:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 200)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {_col3} {_col0}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [class org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge(Column[_col0], Column[_col2]()]' -' 1 [class org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge(Column[_col0]()]' -' outputColumnNames: _col1, _col2' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col2, _col1' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col2,_col1))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: (_col0 + _col2)' -' type: double' -' sort order: +' -' Map-reduce partition columns:' -' expr: (_col0 + _col2)' -' type: double' -' tag: 0' -' value expressions:' -' expr: _col3' -' type: string' -' expr: _col0' -' type: string' -' src3:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 200)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: UDFToDouble(_col0)' -' type: double' -' sort order: +' -' Map-reduce partition columns:' -' expr: UDFToDouble(_col0)' -' type: double' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col1} {VALUE._col2}' -' 1 ' -' handleSkewJoin: false' -' outputColumnNames: _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col2, _col1' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col2,_col1))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-15' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src1:src ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 100)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col0}' -' 1 {_col0} {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' Position of Big Table: 1' -'' -' Stage: Stage-10' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src2:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 100)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {_col0}' -' 1 {_col0} {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' outputColumnNames: _col0, _col2, _col3' -' Position of Big Table: 1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 100)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' src2:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 100)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -467 rows selected ->>> ->>> SELECT sum(hash(src1.c1, src2.c4)) -FROM -(SELECT src.key as c1, src.value as c2 from src) src1 -JOIN -(SELECT src.key as c3, src.value as c4 from src) src2 -ON src1.c1 = src2.c3 AND src1.c1 < 100 -JOIN -(SELECT src.key as c5, src.value as c6 from src) src3 -ON src1.c1 + src2.c3 = src3.c5 AND src3.c5 < 200; -'_c0' -'-97670109576' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/auto_join14.q.out ql/src/test/results/beelinepositive/auto_join14.q.out deleted file mode 100644 index 46d9ca5..0000000 --- ql/src/test/results/beelinepositive/auto_join14.q.out +++ /dev/null @@ -1,276 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/auto_join14.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/auto_join14.q ->>> ->>> set hive.auto.convert.join = true; -No rows affected ->>> ->>> CREATE TABLE dest1(c1 INT, c2 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> set mapred.job.tracker=does.notexist.com:666; -No rows affected ->>> set hive.exec.mode.local.auto=true; -No rows affected ->>> ->>> explain -FROM src JOIN srcpart ON src.key = srcpart.key AND srcpart.ds = '2008-04-08' and src.key > 100 -INSERT OVERWRITE TABLE dest1 SELECT src.key, srcpart.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src)) (TOK_TABREF (TOK_TABNAME srcpart)) (and (AND (= (. (TOK_TABLE_OR_COL src) key) (. (TOK_TABLE_OR_COL srcpart) key)) (= (. (TOK_TABLE_OR_COL srcpart) ds) '2008-04-08')) (> (. (TOK_TABLE_OR_COL src) key) 100)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL srcpart) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-6 is a root stage , consists of Stage-7, Stage-8, Stage-1' -' Stage-7 has a backup stage: Stage-1' -' Stage-4 depends on stages: Stage-7' -' Stage-0 depends on stages: Stage-1, Stage-4, Stage-5' -' Stage-2 depends on stages: Stage-0' -' Stage-8 has a backup stage: Stage-1' -' Stage-5 depends on stages: Stage-8' -' Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-6' -' Conditional Operator' -'' -' Stage: Stage-7' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' srcpart ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' srcpart ' -' TableScan' -' alias: srcpart' -' Filter Operator' -' predicate:' -' expr: (key > 100.0)' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key > 100.0)' -' type: boolean' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: auto_join14.dest1' -' Local Work:' -' Map Reduce Local Work' -'' -' 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: auto_join14.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-8' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key > 100.0)' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' srcpart ' -' TableScan' -' alias: srcpart' -' Filter Operator' -' predicate:' -' expr: (key > 100.0)' -' type: boolean' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col5' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: auto_join14.dest1' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key > 100.0)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' srcpart ' -' TableScan' -' alias: srcpart' -' Filter Operator' -' predicate:' -' expr: (key > 100.0)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: auto_join14.dest1' -'' -'' -246 rows selected ->>> ->>> FROM src JOIN srcpart ON src.key = srcpart.key AND srcpart.ds = '2008-04-08' and src.key > 100 -INSERT OVERWRITE TABLE dest1 SELECT src.key, srcpart.value; -'_col0','_col1' -No rows selected ->>> ->>> SELECT sum(hash(dest1.c1,dest1.c2)) FROM dest1; -'_c0' -'404554174174' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/auto_join15.q.out ql/src/test/results/beelinepositive/auto_join15.q.out deleted file mode 100644 index 4770a2f..0000000 --- ql/src/test/results/beelinepositive/auto_join15.q.out +++ /dev/null @@ -1,311 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/auto_join15.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/auto_join15.q ->>> ->>> set hive.auto.convert.join = true; -No rows affected ->>> ->>> explain -select sum(hash(a.k1,a.v1,a.k2, a.v2)) -from ( -SELECT src1.key as k1, src1.value as v1, src2.key as k2, src2.value as v2 -FROM src src1 JOIN src src2 ON (src1.key = src2.key) -SORT BY k1, v1, k2, v2 -) a; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2) (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key) k1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) value) v1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) key) k2) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) value) v2)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL k1)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL v1)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL k2)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL v2))))) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION hash (. (TOK_TABLE_OR_COL a) k1) (. (TOK_TABLE_OR_COL a) v1) (. (TOK_TABLE_OR_COL a) k2) (. (TOK_TABLE_OR_COL a) v2)))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-7 is a root stage , consists of Stage-8, Stage-9, Stage-1' -' Stage-8 has a backup stage: Stage-1' -' Stage-5 depends on stages: Stage-8' -' Stage-2 depends on stages: Stage-1, Stage-5, Stage-6' -' Stage-3 depends on stages: Stage-2' -' Stage-9 has a backup stage: Stage-1' -' Stage-6 depends on stages: Stage-9' -' Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-8' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' a:src2 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' a:src2 ' -' TableScan' -' alias: src2' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a:src1 ' -' TableScan' -' alias: src1' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' sort order: ++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col0,_col1,_col2,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-9' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' a:src1 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' a:src1 ' -' TableScan' -' alias: src1' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a:src2 ' -' TableScan' -' alias: src2' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a:src1 ' -' TableScan' -' alias: src1' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' a:src2 ' -' TableScan' -' alias: src2' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -283 rows selected ->>> ->>> ->>> select sum(hash(a.k1,a.v1,a.k2, a.v2)) -from ( -SELECT src1.key as k1, src1.value as v1, src2.key as k2, src2.value as v2 -FROM src src1 JOIN src src2 ON (src1.key = src2.key) -SORT BY k1, v1, k2, v2 -) a; -'_c0' -'524272996896' -1 row selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/auto_join16.q.out ql/src/test/results/beelinepositive/auto_join16.q.out deleted file mode 100644 index 36a036e..0000000 --- ql/src/test/results/beelinepositive/auto_join16.q.out +++ /dev/null @@ -1,313 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/auto_join16.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/auto_join16.q ->>> ->>> set hive.auto.convert.join = true; -No rows affected ->>> ->>> ->>> explain -SELECT sum(hash(subq.key, tab.value)) -FROM -(select a.key, a.value from src a where a.key > 10 ) subq -JOIN src tab -ON (subq.key = tab.key and subq.key > 20 and subq.value = tab.value) -where tab.value < 200; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value))) (TOK_WHERE (> (. (TOK_TABLE_OR_COL a) key) 10)))) subq) (TOK_TABREF (TOK_TABNAME src) tab) (and (and (= (. (TOK_TABLE_OR_COL subq) key) (. (TOK_TABLE_OR_COL tab) key)) (> (. (TOK_TABLE_OR_COL subq) key) 20)) (= (. (TOK_TABLE_OR_COL subq) value) (. (TOK_TABLE_OR_COL tab) value))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION hash (. (TOK_TABLE_OR_COL subq) key) (. (TOK_TABLE_OR_COL tab) value))))) (TOK_WHERE (< (. (TOK_TABLE_OR_COL tab) value) 200))))' -'' -'STAGE DEPENDENCIES:' -' Stage-6 is a root stage , consists of Stage-7, Stage-8, Stage-1' -' Stage-7 has a backup stage: Stage-1' -' Stage-4 depends on stages: Stage-7' -' Stage-2 depends on stages: Stage-1, Stage-4, Stage-5' -' Stage-8 has a backup stage: Stage-1' -' Stage-5 depends on stages: Stage-8' -' Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-6' -' Conditional Operator' -'' -' Stage: Stage-7' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' tab ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' tab ' -' TableScan' -' alias: tab' -' Filter Operator' -' predicate:' -' expr: ((key > 20) and (value < 200))' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col0}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0], Column[_col1]]' -' 1 [Column[key], Column[value]]' -' Position of Big Table: 0' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subq:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (((key > 10) and (key > 20)) and (value < 200))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {_col0}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0], Column[_col1]]' -' 1 [Column[key], Column[value]]' -' outputColumnNames: _col0, _col3' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col0,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-8' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' subq:a ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' subq:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (((key > 10) and (key > 20)) and (value < 200))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col0}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0], Column[_col1]]' -' 1 [Column[key], Column[value]]' -' Position of Big Table: 1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tab ' -' TableScan' -' alias: tab' -' Filter Operator' -' predicate:' -' expr: ((key > 20) and (value < 200))' -' type: boolean' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {_col0}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0], Column[_col1]]' -' 1 [Column[key], Column[value]]' -' outputColumnNames: _col0, _col3' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col0,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subq:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (((key > 10) and (key > 20)) and (value < 200))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' tab ' -' TableScan' -' alias: tab' -' Filter Operator' -' predicate:' -' expr: ((key > 20) and (value < 200))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' tag: 1' -' value expressions:' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col0,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -286 rows selected ->>> ->>> SELECT sum(hash(subq.key, tab.value)) -FROM -(select a.key, a.value from src a where a.key > 10 ) subq -JOIN src tab -ON (subq.key = tab.key and subq.key > 20 and subq.value = tab.value) -where tab.value < 200; -'_c0' -'' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/auto_join17.q.out ql/src/test/results/beelinepositive/auto_join17.q.out deleted file mode 100644 index c2f4206..0000000 --- ql/src/test/results/beelinepositive/auto_join17.q.out +++ /dev/null @@ -1,276 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/auto_join17.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/auto_join17.q ->>> ->>> set hive.auto.convert.join = true; -No rows affected ->>> ->>> CREATE TABLE dest1(key1 INT, value1 STRING, key2 INT, value2 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> explain -FROM src src1 JOIN src src2 ON (src1.key = src2.key) -INSERT OVERWRITE TABLE dest1 SELECT src1.*, src2.*; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2) (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src1))) (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src2))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-6 is a root stage , consists of Stage-7, Stage-8, Stage-1' -' Stage-7 has a backup stage: Stage-1' -' Stage-4 depends on stages: Stage-7' -' Stage-0 depends on stages: Stage-1, Stage-4, Stage-5' -' Stage-2 depends on stages: Stage-0' -' Stage-8 has a backup stage: Stage-1' -' Stage-5 depends on stages: Stage-8' -' Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-6' -' Conditional Operator' -'' -' Stage: Stage-7' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src2 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src2 ' -' TableScan' -' alias: src2' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: UDFToInteger(_col2)' -' type: int' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: auto_join17.dest1' -' Local Work:' -' Map Reduce Local Work' -'' -' 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: auto_join17.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-8' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src1 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src2 ' -' TableScan' -' alias: src2' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: UDFToInteger(_col2)' -' type: int' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: auto_join17.dest1' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: UDFToInteger(_col2)' -' type: int' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: auto_join17.dest1' -'' -'' -250 rows selected ->>> ->>> ->>> FROM src src1 JOIN src src2 ON (src1.key = src2.key) -INSERT OVERWRITE TABLE dest1 SELECT src1.*, src2.*; -'_col0','_col1','_col2','_col3' -No rows selected ->>> ->>> SELECT sum(hash(dest1.key1,dest1.value1,dest1.key2,dest1.value2)) FROM dest1; -'_c0' -'-793937029770' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/auto_join18.q.out ql/src/test/results/beelinepositive/auto_join18.q.out deleted file mode 100644 index ba8a0b7..0000000 --- ql/src/test/results/beelinepositive/auto_join18.q.out +++ /dev/null @@ -1,267 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/auto_join18.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/auto_join18.q ->>> ->>> set hive.auto.convert.join = true; -No rows affected ->>> explain -SELECT sum(hash(a.key, a.value, b.key, b.value)) -FROM -( -SELECT src1.key as key, count(src1.value) AS value FROM src src1 group by src1.key -) a -FULL OUTER JOIN -( -SELECT src2.key as key, count(distinct(src2.value)) AS value -FROM src1 src2 group by src2.key -) b -ON (a.key = b.key); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_FULLOUTERJOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) src1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key) key) (TOK_SELEXPR (TOK_FUNCTION count (. (TOK_TABLE_OR_COL src1) value)) value)) (TOK_GROUPBY (. (TOK_TABLE_OR_COL src1) key)))) a) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src1) src2)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) key) key) (TOK_SELEXPR (TOK_FUNCTIONDI count (. (TOK_TABLE_OR_COL src2) value)) value)) (TOK_GROUPBY (. (TOK_TABLE_OR_COL src2) key)))) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION hash (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL a) value) (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL b) value)))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-4' -' Stage-3 depends on stages: Stage-2' -' Stage-4 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b:src2 ' -' TableScan' -' alias: src2' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT value)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col1:0._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' $INTNAME1 ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Outer Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: string' -' expr: _col3' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col0,_col1,_col2,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a:src1 ' -' TableScan' -' alias: src1' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: count(value)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -231 rows selected ->>> ->>> ->>> SELECT sum(hash(a.key, a.value, b.key, b.value)) -FROM -( -SELECT src1.key as key, count(src1.value) AS value FROM src src1 group by src1.key -) a -FULL OUTER JOIN -( -SELECT src2.key as key, count(distinct(src2.value)) AS value -FROM src1 src2 group by src2.key -) b -ON (a.key = b.key); -'_c0' -'379685492277' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/auto_join18_multi_distinct.q.out ql/src/test/results/beelinepositive/auto_join18_multi_distinct.q.out deleted file mode 100644 index d245a28..0000000 --- ql/src/test/results/beelinepositive/auto_join18_multi_distinct.q.out +++ /dev/null @@ -1,279 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/auto_join18_multi_distinct.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/auto_join18_multi_distinct.q ->>> set hive.auto.convert.join = true; -No rows affected ->>> ->>> explain -SELECT sum(hash(a.key, a.value, b.key, b.value1, b.value2)) -FROM -( -SELECT src1.key as key, count(src1.value) AS value FROM src src1 group by src1.key -) a -FULL OUTER JOIN -( -SELECT src2.key as key, count(distinct(src2.value)) AS value1, -count(distinct(src2.key)) AS value2 -FROM src1 src2 group by src2.key -) b -ON (a.key = b.key); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_FULLOUTERJOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) src1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key) key) (TOK_SELEXPR (TOK_FUNCTION count (. (TOK_TABLE_OR_COL src1) value)) value)) (TOK_GROUPBY (. (TOK_TABLE_OR_COL src1) key)))) a) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src1) src2)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) key) key) (TOK_SELEXPR (TOK_FUNCTIONDI count (. (TOK_TABLE_OR_COL src2) value)) value1) (TOK_SELEXPR (TOK_FUNCTIONDI count (. (TOK_TABLE_OR_COL src2) key)) value2)) (TOK_GROUPBY (. (TOK_TABLE_OR_COL src2) key)))) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION hash (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL a) value) (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL b) value1) (. (TOK_TABLE_OR_COL b) value2)))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-4' -' Stage-3 depends on stages: Stage-2' -' Stage-4 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b:src2 ' -' TableScan' -' alias: src2' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT value)' -' expr: count(DISTINCT key)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' expr: _col3' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col1:0._col0)' -' expr: count(DISTINCT KEY._col1:1._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col1:1._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: bigint' -' $INTNAME1 ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Outer Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1} {VALUE._col2}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: string' -' expr: _col3' -' type: bigint' -' expr: _col4' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col0,_col1,_col2,_col3,_col4))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a:src1 ' -' TableScan' -' alias: src1' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: count(value)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -241 rows selected ->>> ->>> ->>> SELECT sum(hash(a.key, a.value, b.key, b.value1, b.value2)) -FROM -( -SELECT src1.key as key, count(src1.value) AS value FROM src src1 group by src1.key -) a -FULL OUTER JOIN -( -SELECT src2.key as key, count(distinct(src2.value)) AS value1, -count(distinct(src2.key)) AS value2 -FROM src1 src2 group by src2.key -) b -ON (a.key = b.key); -'_c0' -'14748607855' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/auto_join19.q.out ql/src/test/results/beelinepositive/auto_join19.q.out deleted file mode 100644 index d063af3..0000000 --- ql/src/test/results/beelinepositive/auto_join19.q.out +++ /dev/null @@ -1,254 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/auto_join19.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/auto_join19.q ->>> set hive.auto.convert.join = true; -No rows affected ->>> ->>> CREATE TABLE dest1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> explain -FROM srcpart src1 JOIN src src2 ON (src1.key = src2.key) -INSERT OVERWRITE TABLE dest1 SELECT src1.key, src2.value -where (src1.ds = '2008-04-08' or src1.ds = '2008-04-09' )and (src1.hr = '12' or src1.hr = '11'); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcpart) src1) (TOK_TABREF (TOK_TABNAME src) src2) (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) value))) (TOK_WHERE (and (or (= (. (TOK_TABLE_OR_COL src1) ds) '2008-04-08') (= (. (TOK_TABLE_OR_COL src1) ds) '2008-04-09')) (or (= (. (TOK_TABLE_OR_COL src1) hr) '12') (= (. (TOK_TABLE_OR_COL src1) hr) '11'))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-6 is a root stage , consists of Stage-7, Stage-8, Stage-1' -' Stage-7 has a backup stage: Stage-1' -' Stage-4 depends on stages: Stage-7' -' Stage-0 depends on stages: Stage-1, Stage-4, Stage-5' -' Stage-2 depends on stages: Stage-0' -' Stage-8 has a backup stage: Stage-1' -' Stage-5 depends on stages: Stage-8' -' Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-6' -' Conditional Operator' -'' -' Stage: Stage-7' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src2 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src2 ' -' TableScan' -' alias: src2' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {ds} {hr}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {ds} {hr}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col2, _col3, _col7' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col7' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: auto_join19.dest1' -' Local Work:' -' Map Reduce Local Work' -'' -' 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: auto_join19.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-8' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src1 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {ds} {hr}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src2 ' -' TableScan' -' alias: src2' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {ds} {hr}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col2, _col3, _col7' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col7' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: auto_join19.dest1' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col2} {VALUE._col3}' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col2, _col3, _col7' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col7' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: auto_join19.dest1' -'' -'' -226 rows selected ->>> ->>> ->>> FROM srcpart src1 JOIN src src2 ON (src1.key = src2.key) -INSERT OVERWRITE TABLE dest1 SELECT src1.key, src2.value -where (src1.ds = '2008-04-08' or src1.ds = '2008-04-09' )and (src1.hr = '12' or src1.hr = '11'); -'_col0','_col1' -No rows selected ->>> ->>> ->>> SELECT sum(hash(dest1.key,dest1.value)) FROM dest1; -'_c0' -'407444119660' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/auto_join2.q.out ql/src/test/results/beelinepositive/auto_join2.q.out deleted file mode 100644 index baa9094..0000000 --- ql/src/test/results/beelinepositive/auto_join2.q.out +++ /dev/null @@ -1,393 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/auto_join2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/auto_join2.q ->>> set hive.auto.convert.join = true; -No rows affected ->>> ->>> CREATE TABLE dest_j2(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> explain -FROM src src1 JOIN src src2 ON (src1.key = src2.key) JOIN src src3 ON (src1.key + src2.key = src3.key) -INSERT OVERWRITE TABLE dest_j2 SELECT src1.key, src3.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2) (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key))) (TOK_TABREF (TOK_TABNAME src) src3) (= (+ (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)) (. (TOK_TABLE_OR_COL src3) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_j2))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src3) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-11 is a root stage , consists of Stage-14, Stage-15, Stage-1' -' Stage-14 has a backup stage: Stage-1' -' Stage-9 depends on stages: Stage-14' -' Stage-8 depends on stages: Stage-1, Stage-9, Stage-10 , consists of Stage-12, Stage-13, Stage-2' -' Stage-12 has a backup stage: Stage-2' -' Stage-6 depends on stages: Stage-12' -' Stage-0 depends on stages: Stage-2, Stage-6, Stage-7' -' Stage-3 depends on stages: Stage-0' -' Stage-13 has a backup stage: Stage-2' -' Stage-7 depends on stages: Stage-13' -' Stage-2' -' Stage-15 has a backup stage: Stage-1' -' Stage-10 depends on stages: Stage-15' -' Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-11' -' Conditional Operator' -'' -' Stage: Stage-14' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src2 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src2 ' -' TableScan' -' alias: src2' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key}' -' 1 {key}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -'' -' Stage: Stage-9' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key}' -' 1 {key}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col4' -' Position of Big Table: 0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-8' -' Conditional Operator' -'' -' Stage: Stage-12' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src3 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src3 ' -' TableScan' -' alias: src3' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col0}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [class org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge(Column[_col0], Column[_col4]()]' -' 1 [class org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge(Column[key]()]' -' Position of Big Table: 0' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {_col0}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [class org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge(Column[_col0], Column[_col4]()]' -' 1 [class org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge(Column[key]()]' -' outputColumnNames: _col4, _col9' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col4' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: auto_join2.dest_j2' -' Local Work:' -' Map Reduce Local Work' -'' -' 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: auto_join2.dest_j2' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -' Stage: Stage-13' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' $INTNAME ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' $INTNAME ' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col0}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [class org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge(Column[_col0], Column[_col4]()]' -' 1 [class org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge(Column[key]()]' -' Position of Big Table: 1' -'' -' Stage: Stage-7' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src3 ' -' TableScan' -' alias: src3' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {_col0}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [class org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge(Column[_col0], Column[_col4]()]' -' 1 [class org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge(Column[key]()]' -' outputColumnNames: _col4, _col9' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col4' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: auto_join2.dest_j2' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: (_col0 + _col4)' -' type: double' -' sort order: +' -' Map-reduce partition columns:' -' expr: (_col0 + _col4)' -' type: double' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' src3 ' -' TableScan' -' alias: src3' -' Reduce Output Operator' -' key expressions:' -' expr: UDFToDouble(key)' -' type: double' -' sort order: +' -' Map-reduce partition columns:' -' expr: UDFToDouble(key)' -' type: double' -' tag: 1' -' value expressions:' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col4}' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col4, _col9' -' Select Operator' -' expressions:' -' expr: _col4' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: auto_join2.dest_j2' -'' -' Stage: Stage-15' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src1 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key}' -' 1 {key}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -'' -' Stage: Stage-10' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src2 ' -' TableScan' -' alias: src2' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key}' -' 1 {key}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col4' -' Position of Big Table: 1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col0}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col4' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -'' -368 rows selected ->>> ->>> ->>> FROM src src1 JOIN src src2 ON (src1.key = src2.key) JOIN src src3 ON (src1.key + src2.key = src3.key) -INSERT OVERWRITE TABLE dest_j2 SELECT src1.key, src3.value; -'_col0','_col1' -No rows selected ->>> ->>> SELECT sum(hash(dest_j2.key,dest_j2.value)) FROM dest_j2; -'_c0' -'33815990627' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/auto_join20.q.out ql/src/test/results/beelinepositive/auto_join20.q.out deleted file mode 100644 index 4cdd08f..0000000 --- ql/src/test/results/beelinepositive/auto_join20.q.out +++ /dev/null @@ -1,677 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/auto_join20.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/auto_join20.q ->>> set hive.auto.convert.join = true; -No rows affected ->>> ->>> explain -select sum(hash(a.k1,a.v1,a.k2,a.v2,a.k3,a.v3)) -from ( -SELECT src1.key as k1, src1.value as v1, src2.key as k2, src2.value as v2 , src3.key as k3, src3.value as v3 -FROM src src1 JOIN src src2 ON (src1.key = src2.key AND src1.key < 10) RIGHT OUTER JOIN src src3 ON (src1.key = src3.key AND src3.key < 20) -SORT BY k1,v1,k2,v2,k3,v3 -)a; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2) (AND (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)) (< (. (TOK_TABLE_OR_COL src1) key) 10))) (TOK_TABREF (TOK_TABNAME src) src3) (AND (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src3) key)) (< (. (TOK_TABLE_OR_COL src3) key) 20)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key) k1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) value) v1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) key) k2) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) value) v2) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src3) key) k3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src3) value) v3)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL k1)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL v1)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL k2)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL v2)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL k3)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL v3))))) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION hash (. (TOK_TABLE_OR_COL a) k1) (. (TOK_TABLE_OR_COL a) v1) (. (TOK_TABLE_OR_COL a) k2) (. (TOK_TABLE_OR_COL a) v2) (. (TOK_TABLE_OR_COL a) k3) (. (TOK_TABLE_OR_COL a) v3)))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-7 is a root stage , consists of Stage-8, Stage-1' -' Stage-8 has a backup stage: Stage-1' -' Stage-6 depends on stages: Stage-8' -' Stage-2 depends on stages: Stage-1, Stage-6' -' Stage-3 depends on stages: Stage-2' -' Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-8' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' a:src1 ' -' Fetch Operator' -' limit: -1' -' a:src2 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' a:src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: (key < 10)' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 ' -' 1 ' -' 2 {(key < 20)}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 2' -' a:src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: (key < 10)' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 ' -' 1 ' -' 2 {(key < 20)}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 2' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a:src3 ' -' TableScan' -' alias: src3' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Right Outer Join0 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 ' -' 1 ' -' 2 {(key < 20)}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' sort order: ++++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col0,_col1,_col2,_col3,_col4,_col5))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a:src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: (key < 10)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' a:src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: (key < 10)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' a:src3 ' -' TableScan' -' alias: src3' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 2' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Right Outer Join0 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' filter predicates:' -' 0 ' -' 1 ' -' 2 {(VALUE._col0 < 20)}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -316 rows selected ->>> ->>> select sum(hash(a.k1,a.v1,a.k2,a.v2,a.k3,a.v3)) -from ( -SELECT src1.key as k1, src1.value as v1, src2.key as k2, src2.value as v2 , src3.key as k3, src3.value as v3 -FROM src src1 JOIN src src2 ON (src1.key = src2.key AND src1.key < 10) RIGHT OUTER JOIN src src3 ON (src1.key = src3.key AND src3.key < 20) -SORT BY k1,v1,k2,v2,k3,v3 -)a; -'_c0' -'56157587016' -1 row selected ->>> ->>> explain -select sum(hash(a.k1,a.v1,a.k2,a.v2,a.k3,a.v3)) -from ( -SELECT src1.key as k1, src1.value as v1, src2.key as k2, src2.value as v2 , src3.key as k3, src3.value as v3 -FROM src src1 JOIN src src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key < 15) RIGHT OUTER JOIN src src3 ON (src1.key = src3.key AND src3.key < 20) -SORT BY k1,v1,k2,v2,k3,v3 -)a; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2) (AND (AND (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)) (< (. (TOK_TABLE_OR_COL src1) key) 10)) (< (. (TOK_TABLE_OR_COL src2) key) 15))) (TOK_TABREF (TOK_TABNAME src) src3) (AND (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src3) key)) (< (. (TOK_TABLE_OR_COL src3) key) 20)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key) k1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) value) v1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) key) k2) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) value) v2) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src3) key) k3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src3) value) v3)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL k1)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL v1)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL k2)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL v2)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL k3)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL v3))))) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION hash (. (TOK_TABLE_OR_COL a) k1) (. (TOK_TABLE_OR_COL a) v1) (. (TOK_TABLE_OR_COL a) k2) (. (TOK_TABLE_OR_COL a) v2) (. (TOK_TABLE_OR_COL a) k3) (. (TOK_TABLE_OR_COL a) v3)))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-7 is a root stage , consists of Stage-8, Stage-1' -' Stage-8 has a backup stage: Stage-1' -' Stage-6 depends on stages: Stage-8' -' Stage-2 depends on stages: Stage-1, Stage-6' -' Stage-3 depends on stages: Stage-2' -' Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-8' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' a:src1 ' -' Fetch Operator' -' limit: -1' -' a:src2 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' a:src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: ((key < 10) and (key < 15))' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 ' -' 1 ' -' 2 {(key < 20)}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 2' -' a:src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: ((key < 15) and (key < 10))' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 ' -' 1 ' -' 2 {(key < 20)}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 2' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a:src3 ' -' TableScan' -' alias: src3' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Right Outer Join0 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 ' -' 1 ' -' 2 {(key < 20)}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' sort order: ++++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col0,_col1,_col2,_col3,_col4,_col5))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a:src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: ((key < 10) and (key < 15))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' a:src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: ((key < 15) and (key < 10))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' a:src3 ' -' TableScan' -' alias: src3' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 2' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Right Outer Join0 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' filter predicates:' -' 0 ' -' 1 ' -' 2 {(VALUE._col0 < 20)}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -316 rows selected ->>> ->>> select sum(hash(a.k1,a.v1,a.k2,a.v2,a.k3,a.v3)) -from ( -SELECT src1.key as k1, src1.value as v1, src2.key as k2, src2.value as v2 , src3.key as k3, src3.value as v3 -FROM src src1 JOIN src src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key < 15) RIGHT OUTER JOIN src src3 ON (src1.key = src3.key AND src3.key < 20) -SORT BY k1,v1,k2,v2,k3,v3 -)a; -'_c0' -'56157587016' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/auto_join21.q.out ql/src/test/results/beelinepositive/auto_join21.q.out deleted file mode 100644 index ec2b088..0000000 --- ql/src/test/results/beelinepositive/auto_join21.q.out +++ /dev/null @@ -1,2876 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/auto_join21.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/auto_join21.q ->>> set hive.auto.convert.join = true; -No rows affected ->>> explain -SELECT * FROM src src1 LEFT OUTER JOIN src src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key > 10) RIGHT OUTER JOIN src src3 ON (src2.key = src3.key AND src3.key < 10) SORT BY src1.key, src1.value, src2.key, src2.value, src3.key, src3.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2) (AND (AND (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)) (< (. (TOK_TABLE_OR_COL src1) key) 10)) (> (. (TOK_TABLE_OR_COL src2) key) 10))) (TOK_TABREF (TOK_TABNAME src) src3) (AND (= (. (TOK_TABLE_OR_COL src2) key) (. (TOK_TABLE_OR_COL src3) key)) (< (. (TOK_TABLE_OR_COL src3) key) 10)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-6 is a root stage , consists of Stage-7, Stage-1' -' Stage-7 has a backup stage: Stage-1' -' Stage-5 depends on stages: Stage-7' -' Stage-2 depends on stages: Stage-1, Stage-5' -' Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-6' -' Conditional Operator' -'' -' Stage: Stage-7' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src1 ' -' Fetch Operator' -' limit: -1' -' src2 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 {(key < 10)}' -' 1 ' -' 2 {(key < 10)}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 2' -' src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: (key > 10)' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 {(key < 10)}' -' 1 ' -' 2 {(key < 10)}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 2' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src3 ' -' TableScan' -' alias: src3' -' Map Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' Right Outer Join1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 {(key < 10)}' -' 1 ' -' 2 {(key < 10)}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' sort order: ++++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: (key > 10)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src3 ' -' TableScan' -' alias: src3' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 2' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' Right Outer Join1 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' filter predicates:' -' 0 {(VALUE._col0 < 10)}' -' 1 ' -' 2 {(VALUE._col0 < 10)}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -257 rows selected ->>> ->>> SELECT * FROM src src1 LEFT OUTER JOIN src src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key > 10) RIGHT OUTER JOIN src src3 ON (src2.key = src3.key AND src3.key < 10) SORT BY src1.key, src1.value, src2.key, src2.value, src3.key, src3.value; -'key','value','key','value','key','value' -'','','','','0','val_0' -'','','','','0','val_0' -'','','','','0','val_0' -'','','','','10','val_10' -'','','','','100','val_100' -'','','','','100','val_100' -'','','','','100','val_100' -'','','','','100','val_100' -'','','','','100','val_100' -'','','','','100','val_100' -'','','','','100','val_100' -'','','','','100','val_100' -'','','','','103','val_103' -'','','','','103','val_103' -'','','','','103','val_103' -'','','','','103','val_103' -'','','','','103','val_103' -'','','','','103','val_103' -'','','','','103','val_103' -'','','','','103','val_103' -'','','','','104','val_104' -'','','','','104','val_104' -'','','','','104','val_104' -'','','','','104','val_104' -'','','','','104','val_104' -'','','','','104','val_104' -'','','','','104','val_104' -'','','','','104','val_104' -'','','','','105','val_105' -'','','','','11','val_11' -'','','','','111','val_111' -'','','','','113','val_113' -'','','','','113','val_113' -'','','','','113','val_113' -'','','','','113','val_113' -'','','','','113','val_113' -'','','','','113','val_113' -'','','','','113','val_113' -'','','','','113','val_113' -'','','','','114','val_114' -'','','','','116','val_116' -'','','','','118','val_118' -'','','','','118','val_118' -'','','','','118','val_118' -'','','','','118','val_118' -'','','','','118','val_118' -'','','','','118','val_118' -'','','','','118','val_118' -'','','','','118','val_118' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','12','val_12' -'','','','','12','val_12' -'','','','','12','val_12' -'','','','','12','val_12' -'','','','','12','val_12' -'','','','','12','val_12' -'','','','','12','val_12' -'','','','','12','val_12' -'','','','','120','val_120' -'','','','','120','val_120' -'','','','','120','val_120' -'','','','','120','val_120' -'','','','','120','val_120' -'','','','','120','val_120' -'','','','','120','val_120' -'','','','','120','val_120' -'','','','','125','val_125' -'','','','','125','val_125' -'','','','','125','val_125' -'','','','','125','val_125' -'','','','','125','val_125' -'','','','','125','val_125' -'','','','','125','val_125' -'','','','','125','val_125' -'','','','','126','val_126' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','129','val_129' -'','','','','129','val_129' -'','','','','129','val_129' -'','','','','129','val_129' -'','','','','129','val_129' -'','','','','129','val_129' -'','','','','129','val_129' -'','','','','129','val_129' -'','','','','131','val_131' -'','','','','133','val_133' -'','','','','134','val_134' -'','','','','134','val_134' -'','','','','134','val_134' -'','','','','134','val_134' -'','','','','134','val_134' -'','','','','134','val_134' -'','','','','134','val_134' -'','','','','134','val_134' -'','','','','136','val_136' -'','','','','137','val_137' -'','','','','137','val_137' -'','','','','137','val_137' -'','','','','137','val_137' -'','','','','137','val_137' -'','','','','137','val_137' -'','','','','137','val_137' -'','','','','137','val_137' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','143','val_143' -'','','','','145','val_145' -'','','','','146','val_146' -'','','','','146','val_146' -'','','','','146','val_146' -'','','','','146','val_146' -'','','','','146','val_146' -'','','','','146','val_146' -'','','','','146','val_146' -'','','','','146','val_146' -'','','','','149','val_149' -'','','','','149','val_149' -'','','','','149','val_149' -'','','','','149','val_149' -'','','','','149','val_149' -'','','','','149','val_149' -'','','','','149','val_149' -'','','','','149','val_149' -'','','','','15','val_15' -'','','','','15','val_15' -'','','','','15','val_15' -'','','','','15','val_15' -'','','','','15','val_15' -'','','','','15','val_15' -'','','','','15','val_15' -'','','','','15','val_15' -'','','','','150','val_150' -'','','','','152','val_152' -'','','','','152','val_152' -'','','','','152','val_152' -'','','','','152','val_152' -'','','','','152','val_152' -'','','','','152','val_152' -'','','','','152','val_152' -'','','','','152','val_152' -'','','','','153','val_153' -'','','','','155','val_155' -'','','','','156','val_156' -'','','','','157','val_157' -'','','','','158','val_158' -'','','','','160','val_160' -'','','','','162','val_162' -'','','','','163','val_163' -'','','','','164','val_164' -'','','','','164','val_164' -'','','','','164','val_164' -'','','','','164','val_164' -'','','','','164','val_164' -'','','','','164','val_164' -'','','','','164','val_164' -'','','','','164','val_164' -'','','','','165','val_165' -'','','','','165','val_165' -'','','','','165','val_165' -'','','','','165','val_165' -'','','','','165','val_165' -'','','','','165','val_165' -'','','','','165','val_165' -'','','','','165','val_165' -'','','','','166','val_166' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','168','val_168' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','17','val_17' -'','','','','170','val_170' -'','','','','172','val_172' -'','','','','172','val_172' -'','','','','172','val_172' -'','','','','172','val_172' -'','','','','172','val_172' -'','','','','172','val_172' -'','','','','172','val_172' -'','','','','172','val_172' -'','','','','174','val_174' -'','','','','174','val_174' -'','','','','174','val_174' -'','','','','174','val_174' -'','','','','174','val_174' -'','','','','174','val_174' -'','','','','174','val_174' -'','','','','174','val_174' -'','','','','175','val_175' -'','','','','175','val_175' -'','','','','175','val_175' -'','','','','175','val_175' -'','','','','175','val_175' -'','','','','175','val_175' -'','','','','175','val_175' -'','','','','175','val_175' -'','','','','176','val_176' -'','','','','176','val_176' -'','','','','176','val_176' -'','','','','176','val_176' -'','','','','176','val_176' -'','','','','176','val_176' -'','','','','176','val_176' -'','','','','176','val_176' -'','','','','177','val_177' -'','','','','178','val_178' -'','','','','179','val_179' -'','','','','179','val_179' -'','','','','179','val_179' -'','','','','179','val_179' -'','','','','179','val_179' -'','','','','179','val_179' -'','','','','179','val_179' -'','','','','179','val_179' -'','','','','18','val_18' -'','','','','18','val_18' -'','','','','18','val_18' -'','','','','18','val_18' -'','','','','18','val_18' -'','','','','18','val_18' -'','','','','18','val_18' -'','','','','18','val_18' -'','','','','180','val_180' -'','','','','181','val_181' -'','','','','183','val_183' -'','','','','186','val_186' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','189','val_189' -'','','','','19','val_19' -'','','','','190','val_190' -'','','','','191','val_191' -'','','','','191','val_191' -'','','','','191','val_191' -'','','','','191','val_191' -'','','','','191','val_191' -'','','','','191','val_191' -'','','','','191','val_191' -'','','','','191','val_191' -'','','','','192','val_192' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','194','val_194' -'','','','','195','val_195' -'','','','','195','val_195' -'','','','','195','val_195' -'','','','','195','val_195' -'','','','','195','val_195' -'','','','','195','val_195' -'','','','','195','val_195' -'','','','','195','val_195' -'','','','','196','val_196' -'','','','','197','val_197' -'','','','','197','val_197' -'','','','','197','val_197' -'','','','','197','val_197' -'','','','','197','val_197' -'','','','','197','val_197' -'','','','','197','val_197' -'','','','','197','val_197' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','2','val_2' -'','','','','20','val_20' -'','','','','200','val_200' -'','','','','200','val_200' -'','','','','200','val_200' -'','','','','200','val_200' -'','','','','200','val_200' -'','','','','200','val_200' -'','','','','200','val_200' -'','','','','200','val_200' -'','','','','201','val_201' -'','','','','202','val_202' -'','','','','203','val_203' -'','','','','203','val_203' -'','','','','203','val_203' -'','','','','203','val_203' -'','','','','203','val_203' -'','','','','203','val_203' -'','','','','203','val_203' -'','','','','203','val_203' -'','','','','205','val_205' -'','','','','205','val_205' -'','','','','205','val_205' -'','','','','205','val_205' -'','','','','205','val_205' -'','','','','205','val_205' -'','','','','205','val_205' -'','','','','205','val_205' -'','','','','207','val_207' -'','','','','207','val_207' -'','','','','207','val_207' -'','','','','207','val_207' -'','','','','207','val_207' -'','','','','207','val_207' -'','','','','207','val_207' -'','','','','207','val_207' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','209','val_209' -'','','','','209','val_209' -'','','','','209','val_209' -'','','','','209','val_209' -'','','','','209','val_209' -'','','','','209','val_209' -'','','','','209','val_209' -'','','','','209','val_209' -'','','','','213','val_213' -'','','','','213','val_213' -'','','','','213','val_213' -'','','','','213','val_213' -'','','','','213','val_213' -'','','','','213','val_213' -'','','','','213','val_213' -'','','','','213','val_213' -'','','','','214','val_214' -'','','','','216','val_216' -'','','','','216','val_216' -'','','','','216','val_216' -'','','','','216','val_216' -'','','','','216','val_216' -'','','','','216','val_216' -'','','','','216','val_216' -'','','','','216','val_216' -'','','','','217','val_217' -'','','','','217','val_217' -'','','','','217','val_217' -'','','','','217','val_217' -'','','','','217','val_217' -'','','','','217','val_217' -'','','','','217','val_217' -'','','','','217','val_217' -'','','','','218','val_218' -'','','','','219','val_219' -'','','','','219','val_219' -'','','','','219','val_219' -'','','','','219','val_219' -'','','','','219','val_219' -'','','','','219','val_219' -'','','','','219','val_219' -'','','','','219','val_219' -'','','','','221','val_221' -'','','','','221','val_221' -'','','','','221','val_221' -'','','','','221','val_221' -'','','','','221','val_221' -'','','','','221','val_221' -'','','','','221','val_221' -'','','','','221','val_221' -'','','','','222','val_222' -'','','','','223','val_223' -'','','','','223','val_223' -'','','','','223','val_223' -'','','','','223','val_223' -'','','','','223','val_223' -'','','','','223','val_223' -'','','','','223','val_223' -'','','','','223','val_223' -'','','','','224','val_224' -'','','','','224','val_224' -'','','','','224','val_224' -'','','','','224','val_224' -'','','','','224','val_224' -'','','','','224','val_224' -'','','','','224','val_224' -'','','','','224','val_224' -'','','','','226','val_226' -'','','','','228','val_228' -'','','','','229','val_229' -'','','','','229','val_229' -'','','','','229','val_229' -'','','','','229','val_229' -'','','','','229','val_229' -'','','','','229','val_229' -'','','','','229','val_229' -'','','','','229','val_229' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','233','val_233' -'','','','','233','val_233' -'','','','','233','val_233' -'','','','','233','val_233' -'','','','','233','val_233' -'','','','','233','val_233' -'','','','','233','val_233' -'','','','','233','val_233' -'','','','','235','val_235' -'','','','','237','val_237' -'','','','','237','val_237' -'','','','','237','val_237' -'','','','','237','val_237' -'','','','','237','val_237' -'','','','','237','val_237' -'','','','','237','val_237' -'','','','','237','val_237' -'','','','','238','val_238' -'','','','','238','val_238' -'','','','','238','val_238' -'','','','','238','val_238' -'','','','','238','val_238' -'','','','','238','val_238' -'','','','','238','val_238' -'','','','','238','val_238' -'','','','','239','val_239' -'','','','','239','val_239' -'','','','','239','val_239' -'','','','','239','val_239' -'','','','','239','val_239' -'','','','','239','val_239' -'','','','','239','val_239' -'','','','','239','val_239' -'','','','','24','val_24' -'','','','','24','val_24' -'','','','','24','val_24' -'','','','','24','val_24' -'','','','','24','val_24' -'','','','','24','val_24' -'','','','','24','val_24' -'','','','','24','val_24' -'','','','','241','val_241' -'','','','','242','val_242' -'','','','','242','val_242' -'','','','','242','val_242' -'','','','','242','val_242' -'','','','','242','val_242' -'','','','','242','val_242' -'','','','','242','val_242' -'','','','','242','val_242' -'','','','','244','val_244' -'','','','','247','val_247' -'','','','','248','val_248' -'','','','','249','val_249' -'','','','','252','val_252' -'','','','','255','val_255' -'','','','','255','val_255' -'','','','','255','val_255' -'','','','','255','val_255' -'','','','','255','val_255' -'','','','','255','val_255' -'','','','','255','val_255' -'','','','','255','val_255' -'','','','','256','val_256' -'','','','','256','val_256' -'','','','','256','val_256' -'','','','','256','val_256' -'','','','','256','val_256' -'','','','','256','val_256' -'','','','','256','val_256' -'','','','','256','val_256' -'','','','','257','val_257' -'','','','','258','val_258' -'','','','','26','val_26' -'','','','','26','val_26' -'','','','','26','val_26' -'','','','','26','val_26' -'','','','','26','val_26' -'','','','','26','val_26' -'','','','','26','val_26' -'','','','','26','val_26' -'','','','','260','val_260' -'','','','','262','val_262' -'','','','','263','val_263' -'','','','','265','val_265' -'','','','','265','val_265' -'','','','','265','val_265' -'','','','','265','val_265' -'','','','','265','val_265' -'','','','','265','val_265' -'','','','','265','val_265' -'','','','','265','val_265' -'','','','','266','val_266' -'','','','','27','val_27' -'','','','','272','val_272' -'','','','','272','val_272' -'','','','','272','val_272' -'','','','','272','val_272' -'','','','','272','val_272' -'','','','','272','val_272' -'','','','','272','val_272' -'','','','','272','val_272' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','274','val_274' -'','','','','275','val_275' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','278','val_278' -'','','','','278','val_278' -'','','','','278','val_278' -'','','','','278','val_278' -'','','','','278','val_278' -'','','','','278','val_278' -'','','','','278','val_278' -'','','','','278','val_278' -'','','','','28','val_28' -'','','','','280','val_280' -'','','','','280','val_280' -'','','','','280','val_280' -'','','','','280','val_280' -'','','','','280','val_280' -'','','','','280','val_280' -'','','','','280','val_280' -'','','','','280','val_280' -'','','','','281','val_281' -'','','','','281','val_281' -'','','','','281','val_281' -'','','','','281','val_281' -'','','','','281','val_281' -'','','','','281','val_281' -'','','','','281','val_281' -'','','','','281','val_281' -'','','','','282','val_282' -'','','','','282','val_282' -'','','','','282','val_282' -'','','','','282','val_282' -'','','','','282','val_282' -'','','','','282','val_282' -'','','','','282','val_282' -'','','','','282','val_282' -'','','','','283','val_283' -'','','','','284','val_284' -'','','','','285','val_285' -'','','','','286','val_286' -'','','','','287','val_287' -'','','','','288','val_288' -'','','','','288','val_288' -'','','','','288','val_288' -'','','','','288','val_288' -'','','','','288','val_288' -'','','','','288','val_288' -'','','','','288','val_288' -'','','','','288','val_288' -'','','','','289','val_289' -'','','','','291','val_291' -'','','','','292','val_292' -'','','','','296','val_296' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','30','val_30' -'','','','','302','val_302' -'','','','','305','val_305' -'','','','','306','val_306' -'','','','','307','val_307' -'','','','','307','val_307' -'','','','','307','val_307' -'','','','','307','val_307' -'','','','','307','val_307' -'','','','','307','val_307' -'','','','','307','val_307' -'','','','','307','val_307' -'','','','','308','val_308' -'','','','','309','val_309' -'','','','','309','val_309' -'','','','','309','val_309' -'','','','','309','val_309' -'','','','','309','val_309' -'','','','','309','val_309' -'','','','','309','val_309' -'','','','','309','val_309' -'','','','','310','val_310' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','315','val_315' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','317','val_317' -'','','','','317','val_317' -'','','','','317','val_317' -'','','','','317','val_317' -'','','','','317','val_317' -'','','','','317','val_317' -'','','','','317','val_317' -'','','','','317','val_317' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','321','val_321' -'','','','','321','val_321' -'','','','','321','val_321' -'','','','','321','val_321' -'','','','','321','val_321' -'','','','','321','val_321' -'','','','','321','val_321' -'','','','','321','val_321' -'','','','','322','val_322' -'','','','','322','val_322' -'','','','','322','val_322' -'','','','','322','val_322' -'','','','','322','val_322' -'','','','','322','val_322' -'','','','','322','val_322' -'','','','','322','val_322' -'','','','','323','val_323' -'','','','','325','val_325' -'','','','','325','val_325' -'','','','','325','val_325' -'','','','','325','val_325' -'','','','','325','val_325' -'','','','','325','val_325' -'','','','','325','val_325' -'','','','','325','val_325' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','33','val_33' -'','','','','331','val_331' -'','','','','331','val_331' -'','','','','331','val_331' -'','','','','331','val_331' -'','','','','331','val_331' -'','','','','331','val_331' -'','','','','331','val_331' -'','','','','331','val_331' -'','','','','332','val_332' -'','','','','333','val_333' -'','','','','333','val_333' -'','','','','333','val_333' -'','','','','333','val_333' -'','','','','333','val_333' -'','','','','333','val_333' -'','','','','333','val_333' -'','','','','333','val_333' -'','','','','335','val_335' -'','','','','336','val_336' -'','','','','338','val_338' -'','','','','339','val_339' -'','','','','34','val_34' -'','','','','341','val_341' -'','','','','342','val_342' -'','','','','342','val_342' -'','','','','342','val_342' -'','','','','342','val_342' -'','','','','342','val_342' -'','','','','342','val_342' -'','','','','342','val_342' -'','','','','342','val_342' -'','','','','344','val_344' -'','','','','344','val_344' -'','','','','344','val_344' -'','','','','344','val_344' -'','','','','344','val_344' -'','','','','344','val_344' -'','','','','344','val_344' -'','','','','344','val_344' -'','','','','345','val_345' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','351','val_351' -'','','','','353','val_353' -'','','','','353','val_353' -'','','','','353','val_353' -'','','','','353','val_353' -'','','','','353','val_353' -'','','','','353','val_353' -'','','','','353','val_353' -'','','','','353','val_353' -'','','','','356','val_356' -'','','','','360','val_360' -'','','','','362','val_362' -'','','','','364','val_364' -'','','','','365','val_365' -'','','','','366','val_366' -'','','','','367','val_367' -'','','','','367','val_367' -'','','','','367','val_367' -'','','','','367','val_367' -'','','','','367','val_367' -'','','','','367','val_367' -'','','','','367','val_367' -'','','','','367','val_367' -'','','','','368','val_368' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','37','val_37' -'','','','','37','val_37' -'','','','','37','val_37' -'','','','','37','val_37' -'','','','','37','val_37' -'','','','','37','val_37' -'','','','','37','val_37' -'','','','','37','val_37' -'','','','','373','val_373' -'','','','','374','val_374' -'','','','','375','val_375' -'','','','','377','val_377' -'','','','','378','val_378' -'','','','','379','val_379' -'','','','','382','val_382' -'','','','','382','val_382' -'','','','','382','val_382' -'','','','','382','val_382' -'','','','','382','val_382' -'','','','','382','val_382' -'','','','','382','val_382' -'','','','','382','val_382' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','386','val_386' -'','','','','389','val_389' -'','','','','392','val_392' -'','','','','393','val_393' -'','','','','394','val_394' -'','','','','395','val_395' -'','','','','395','val_395' -'','','','','395','val_395' -'','','','','395','val_395' -'','','','','395','val_395' -'','','','','395','val_395' -'','','','','395','val_395' -'','','','','395','val_395' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','397','val_397' -'','','','','397','val_397' -'','','','','397','val_397' -'','','','','397','val_397' -'','','','','397','val_397' -'','','','','397','val_397' -'','','','','397','val_397' -'','','','','397','val_397' -'','','','','399','val_399' -'','','','','399','val_399' -'','','','','399','val_399' -'','','','','399','val_399' -'','','','','399','val_399' -'','','','','399','val_399' -'','','','','399','val_399' -'','','','','399','val_399' -'','','','','4','val_4' -'','','','','400','val_400' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','402','val_402' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','404','val_404' -'','','','','404','val_404' -'','','','','404','val_404' -'','','','','404','val_404' -'','','','','404','val_404' -'','','','','404','val_404' -'','','','','404','val_404' -'','','','','404','val_404' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','407','val_407' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','41','val_41' -'','','','','411','val_411' -'','','','','413','val_413' -'','','','','413','val_413' -'','','','','413','val_413' -'','','','','413','val_413' -'','','','','413','val_413' -'','','','','413','val_413' -'','','','','413','val_413' -'','','','','413','val_413' -'','','','','414','val_414' -'','','','','414','val_414' -'','','','','414','val_414' -'','','','','414','val_414' -'','','','','414','val_414' -'','','','','414','val_414' -'','','','','414','val_414' -'','','','','414','val_414' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','418','val_418' -'','','','','419','val_419' -'','','','','42','val_42' -'','','','','42','val_42' -'','','','','42','val_42' -'','','','','42','val_42' -'','','','','42','val_42' -'','','','','42','val_42' -'','','','','42','val_42' -'','','','','42','val_42' -'','','','','421','val_421' -'','','','','424','val_424' -'','','','','424','val_424' -'','','','','424','val_424' -'','','','','424','val_424' -'','','','','424','val_424' -'','','','','424','val_424' -'','','','','424','val_424' -'','','','','424','val_424' -'','','','','427','val_427' -'','','','','429','val_429' -'','','','','429','val_429' -'','','','','429','val_429' -'','','','','429','val_429' -'','','','','429','val_429' -'','','','','429','val_429' -'','','','','429','val_429' -'','','','','429','val_429' -'','','','','43','val_43' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','432','val_432' -'','','','','435','val_435' -'','','','','436','val_436' -'','','','','437','val_437' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','439','val_439' -'','','','','439','val_439' -'','','','','439','val_439' -'','','','','439','val_439' -'','','','','439','val_439' -'','','','','439','val_439' -'','','','','439','val_439' -'','','','','439','val_439' -'','','','','44','val_44' -'','','','','443','val_443' -'','','','','444','val_444' -'','','','','446','val_446' -'','','','','448','val_448' -'','','','','449','val_449' -'','','','','452','val_452' -'','','','','453','val_453' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','455','val_455' -'','','','','457','val_457' -'','','','','458','val_458' -'','','','','458','val_458' -'','','','','458','val_458' -'','','','','458','val_458' -'','','','','458','val_458' -'','','','','458','val_458' -'','','','','458','val_458' -'','','','','458','val_458' -'','','','','459','val_459' -'','','','','459','val_459' -'','','','','459','val_459' -'','','','','459','val_459' -'','','','','459','val_459' -'','','','','459','val_459' -'','','','','459','val_459' -'','','','','459','val_459' -'','','','','460','val_460' -'','','','','462','val_462' -'','','','','462','val_462' -'','','','','462','val_462' -'','','','','462','val_462' -'','','','','462','val_462' -'','','','','462','val_462' -'','','','','462','val_462' -'','','','','462','val_462' -'','','','','463','val_463' -'','','','','463','val_463' -'','','','','463','val_463' -'','','','','463','val_463' -'','','','','463','val_463' -'','','','','463','val_463' -'','','','','463','val_463' -'','','','','463','val_463' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','467','val_467' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','47','val_47' -'','','','','470','val_470' -'','','','','472','val_472' -'','','','','475','val_475' -'','','','','477','val_477' -'','','','','478','val_478' -'','','','','478','val_478' -'','','','','478','val_478' -'','','','','478','val_478' -'','','','','478','val_478' -'','','','','478','val_478' -'','','','','478','val_478' -'','','','','478','val_478' -'','','','','479','val_479' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','481','val_481' -'','','','','482','val_482' -'','','','','483','val_483' -'','','','','484','val_484' -'','','','','485','val_485' -'','','','','487','val_487' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','490','val_490' -'','','','','491','val_491' -'','','','','492','val_492' -'','','','','492','val_492' -'','','','','492','val_492' -'','','','','492','val_492' -'','','','','492','val_492' -'','','','','492','val_492' -'','','','','492','val_492' -'','','','','492','val_492' -'','','','','493','val_493' -'','','','','494','val_494' -'','','','','495','val_495' -'','','','','496','val_496' -'','','','','497','val_497' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','5','val_5' -'','','','','5','val_5' -'','','','','5','val_5' -'','','','','51','val_51' -'','','','','51','val_51' -'','','','','51','val_51' -'','','','','51','val_51' -'','','','','51','val_51' -'','','','','51','val_51' -'','','','','51','val_51' -'','','','','51','val_51' -'','','','','53','val_53' -'','','','','54','val_54' -'','','','','57','val_57' -'','','','','58','val_58' -'','','','','58','val_58' -'','','','','58','val_58' -'','','','','58','val_58' -'','','','','58','val_58' -'','','','','58','val_58' -'','','','','58','val_58' -'','','','','58','val_58' -'','','','','64','val_64' -'','','','','65','val_65' -'','','','','66','val_66' -'','','','','67','val_67' -'','','','','67','val_67' -'','','','','67','val_67' -'','','','','67','val_67' -'','','','','67','val_67' -'','','','','67','val_67' -'','','','','67','val_67' -'','','','','67','val_67' -'','','','','69','val_69' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','72','val_72' -'','','','','72','val_72' -'','','','','72','val_72' -'','','','','72','val_72' -'','','','','72','val_72' -'','','','','72','val_72' -'','','','','72','val_72' -'','','','','72','val_72' -'','','','','74','val_74' -'','','','','76','val_76' -'','','','','76','val_76' -'','','','','76','val_76' -'','','','','76','val_76' -'','','','','76','val_76' -'','','','','76','val_76' -'','','','','76','val_76' -'','','','','76','val_76' -'','','','','77','val_77' -'','','','','78','val_78' -'','','','','8','val_8' -'','','','','80','val_80' -'','','','','82','val_82' -'','','','','83','val_83' -'','','','','83','val_83' -'','','','','83','val_83' -'','','','','83','val_83' -'','','','','83','val_83' -'','','','','83','val_83' -'','','','','83','val_83' -'','','','','83','val_83' -'','','','','84','val_84' -'','','','','84','val_84' -'','','','','84','val_84' -'','','','','84','val_84' -'','','','','84','val_84' -'','','','','84','val_84' -'','','','','84','val_84' -'','','','','84','val_84' -'','','','','85','val_85' -'','','','','86','val_86' -'','','','','87','val_87' -'','','','','9','val_9' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','92','val_92' -'','','','','95','val_95' -'','','','','95','val_95' -'','','','','95','val_95' -'','','','','95','val_95' -'','','','','95','val_95' -'','','','','95','val_95' -'','','','','95','val_95' -'','','','','95','val_95' -'','','','','96','val_96' -'','','','','97','val_97' -'','','','','97','val_97' -'','','','','97','val_97' -'','','','','97','val_97' -'','','','','97','val_97' -'','','','','97','val_97' -'','','','','97','val_97' -'','','','','97','val_97' -'','','','','98','val_98' -'','','','','98','val_98' -'','','','','98','val_98' -'','','','','98','val_98' -'','','','','98','val_98' -'','','','','98','val_98' -'','','','','98','val_98' -'','','','','98','val_98' -2,606 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/auto_join22.q.out ql/src/test/results/beelinepositive/auto_join22.q.out deleted file mode 100644 index d0a375a..0000000 --- ql/src/test/results/beelinepositive/auto_join22.q.out +++ /dev/null @@ -1,419 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/auto_join22.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/auto_join22.q ->>> set hive.auto.convert.join = true; -No rows affected ->>> explain -SELECT sum(hash(src5.src1_value)) FROM (SELECT src3.*, src4.value as src4_value, src4.key as src4_key FROM src src4 JOIN (SELECT src2.*, src1.key as src1_key, src1.value as src1_value FROM src src1 JOIN src src2 ON src1.key = src2.key) src3 ON src3.src1_key = src4.key) src5; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) src4) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2) (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src2))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key) src1_key) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) value) src1_value)))) src3) (= (. (TOK_TABLE_OR_COL src3) src1_key) (. (TOK_TABLE_OR_COL src4) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src3))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src4) value) src4_value) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src4) key) src4_key)))) src5)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION hash (. (TOK_TABLE_OR_COL src5) src1_value)))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-11 is a root stage , consists of Stage-14, Stage-15, Stage-1' -' Stage-14 has a backup stage: Stage-1' -' Stage-9 depends on stages: Stage-14' -' Stage-8 depends on stages: Stage-1, Stage-9, Stage-10 , consists of Stage-12, Stage-13, Stage-2' -' Stage-12 has a backup stage: Stage-2' -' Stage-6 depends on stages: Stage-12' -' Stage-3 depends on stages: Stage-2, Stage-6, Stage-7' -' Stage-13 has a backup stage: Stage-2' -' Stage-7 depends on stages: Stage-13' -' Stage-2' -' Stage-15 has a backup stage: Stage-1' -' Stage-10 depends on stages: Stage-15' -' Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-11' -' Conditional Operator' -'' -' Stage: Stage-14' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src5:src3:src2 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src5:src3:src2 ' -' TableScan' -' alias: src2' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -'' -' Stage: Stage-9' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src5:src3:src1 ' -' TableScan' -' alias: src1' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-8' -' Conditional Operator' -'' -' Stage: Stage-12' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' $INTNAME ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' $INTNAME ' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 {_col3}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[_col2]]' -' Position of Big Table: 0' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src5:src4 ' -' TableScan' -' alias: src4' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 {_col3}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[_col2]]' -' outputColumnNames: _col7' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col7' -' type: string' -' outputColumnNames: _col3' -' Select Operator' -' expressions:' -' expr: _col3' -' type: string' -' outputColumnNames: _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-13' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src5:src4 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src5:src4 ' -' TableScan' -' alias: src4' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 {_col3}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[_col2]]' -' Position of Big Table: 1' -'' -' Stage: Stage-7' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 {_col3}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[_col2]]' -' outputColumnNames: _col7' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col7' -' type: string' -' outputColumnNames: _col3' -' Select Operator' -' expressions:' -' expr: _col3' -' type: string' -' outputColumnNames: _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col2' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col2' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col3' -' type: string' -' src5:src4 ' -' TableScan' -' alias: src4' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 {VALUE._col3}' -' handleSkewJoin: false' -' outputColumnNames: _col7' -' Select Operator' -' expressions:' -' expr: _col7' -' type: string' -' outputColumnNames: _col3' -' Select Operator' -' expressions:' -' expr: _col3' -' type: string' -' outputColumnNames: _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-15' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src5:src3:src1 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src5:src3:src1 ' -' TableScan' -' alias: src1' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -'' -' Stage: Stage-10' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src5:src3:src2 ' -' TableScan' -' alias: src2' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src5:src3:src1 ' -' TableScan' -' alias: src1' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src5:src3:src2 ' -' TableScan' -' alias: src2' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 ' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -405 rows selected ->>> ->>> SELECT sum(hash(src5.src1_value)) FROM (SELECT src3.*, src4.value as src4_value, src4.key as src4_key FROM src src4 JOIN (SELECT src2.*, src1.key as src1_key, src1.value as src1_value FROM src src1 JOIN src src2 ON src1.key = src2.key) src3 ON src3.src1_key = src4.key) src5; -'_c0' -'344337359100' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/auto_join23.q.out ql/src/test/results/beelinepositive/auto_join23.q.out deleted file mode 100644 index 2e07a5c..0000000 --- ql/src/test/results/beelinepositive/auto_join23.q.out +++ /dev/null @@ -1,362 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/auto_join23.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/auto_join23.q ->>> set hive.auto.convert.join = true; -No rows affected ->>> ->>> explain -SELECT * FROM src src1 JOIN src src2 WHERE src1.key < 10 and src2.key < 10 SORT BY src1.key, src1.value, src2.key, src2.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (and (< (. (TOK_TABLE_OR_COL src1) key) 10) (< (. (TOK_TABLE_OR_COL src2) key) 10))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-6 is a root stage , consists of Stage-7, Stage-8, Stage-1' -' Stage-7 has a backup stage: Stage-1' -' Stage-4 depends on stages: Stage-7' -' Stage-2 depends on stages: Stage-1, Stage-4, Stage-5' -' Stage-8 has a backup stage: Stage-1' -' Stage-5 depends on stages: Stage-8' -' Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-6' -' Conditional Operator' -'' -' Stage: Stage-7' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src2 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: (key < 10)' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 []' -' 1 []' -' Position of Big Table: 0' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: (key < 10)' -' type: boolean' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 []' -' 1 []' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' sort order: ++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-8' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src1 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: (key < 10)' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 []' -' 1 []' -' Position of Big Table: 1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: (key < 10)' -' type: boolean' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 []' -' 1 []' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: (key < 10)' -' type: boolean' -' Reduce Output Operator' -' sort order: ' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: (key < 10)' -' type: boolean' -' Reduce Output Operator' -' sort order: ' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -248 rows selected ->>> ->>> SELECT * FROM src src1 JOIN src src2 WHERE src1.key < 10 and src2.key < 10 SORT BY src1.key, src1.value, src2.key, src2.value; -'key','value','key','value' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','2','val_2' -'0','val_0','2','val_2' -'0','val_0','2','val_2' -'0','val_0','4','val_4' -'0','val_0','4','val_4' -'0','val_0','4','val_4' -'0','val_0','5','val_5' -'0','val_0','5','val_5' -'0','val_0','5','val_5' -'0','val_0','5','val_5' -'0','val_0','5','val_5' -'0','val_0','5','val_5' -'0','val_0','5','val_5' -'0','val_0','5','val_5' -'0','val_0','5','val_5' -'0','val_0','8','val_8' -'0','val_0','8','val_8' -'0','val_0','8','val_8' -'0','val_0','9','val_9' -'0','val_0','9','val_9' -'0','val_0','9','val_9' -'2','val_2','0','val_0' -'2','val_2','0','val_0' -'2','val_2','0','val_0' -'2','val_2','2','val_2' -'2','val_2','4','val_4' -'2','val_2','5','val_5' -'2','val_2','5','val_5' -'2','val_2','5','val_5' -'2','val_2','8','val_8' -'2','val_2','9','val_9' -'4','val_4','0','val_0' -'4','val_4','0','val_0' -'4','val_4','0','val_0' -'4','val_4','2','val_2' -'4','val_4','4','val_4' -'4','val_4','5','val_5' -'4','val_4','5','val_5' -'4','val_4','5','val_5' -'4','val_4','8','val_8' -'4','val_4','9','val_9' -'5','val_5','0','val_0' -'5','val_5','0','val_0' -'5','val_5','0','val_0' -'5','val_5','0','val_0' -'5','val_5','0','val_0' -'5','val_5','0','val_0' -'5','val_5','0','val_0' -'5','val_5','0','val_0' -'5','val_5','0','val_0' -'5','val_5','2','val_2' -'5','val_5','2','val_2' -'5','val_5','2','val_2' -'5','val_5','4','val_4' -'5','val_5','4','val_4' -'5','val_5','4','val_4' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','8','val_8' -'5','val_5','8','val_8' -'5','val_5','8','val_8' -'5','val_5','9','val_9' -'5','val_5','9','val_9' -'5','val_5','9','val_9' -'8','val_8','0','val_0' -'8','val_8','0','val_0' -'8','val_8','0','val_0' -'8','val_8','2','val_2' -'8','val_8','4','val_4' -'8','val_8','5','val_5' -'8','val_8','5','val_5' -'8','val_8','5','val_5' -'8','val_8','8','val_8' -'8','val_8','9','val_9' -'9','val_9','0','val_0' -'9','val_9','0','val_0' -'9','val_9','0','val_0' -'9','val_9','2','val_2' -'9','val_9','4','val_4' -'9','val_9','5','val_5' -'9','val_9','5','val_5' -'9','val_9','5','val_5' -'9','val_9','8','val_8' -'9','val_9','9','val_9' -100 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/auto_join24.q.out ql/src/test/results/beelinepositive/auto_join24.q.out deleted file mode 100644 index 9d8ea5c..0000000 --- ql/src/test/results/beelinepositive/auto_join24.q.out +++ /dev/null @@ -1,249 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/auto_join24.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/auto_join24.q ->>> set hive.auto.convert.join = true; -No rows affected ->>> ->>> create table tst1(key STRING, cnt INT); -No rows affected ->>> ->>> INSERT OVERWRITE TABLE tst1 -SELECT a.key, count(1) FROM src a group by a.key; -'_col0','_col1' -No rows selected ->>> ->>> explain -SELECT sum(a.cnt) FROM tst1 a JOIN tst1 b ON a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME tst1) a) (TOK_TABREF (TOK_TABNAME tst1) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION sum (. (TOK_TABLE_OR_COL a) cnt))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-6 is a root stage , consists of Stage-7, Stage-8, Stage-1' -' Stage-7 has a backup stage: Stage-1' -' Stage-4 depends on stages: Stage-7' -' Stage-2 depends on stages: Stage-1, Stage-4, Stage-5' -' Stage-8 has a backup stage: Stage-1' -' Stage-5 depends on stages: Stage-8' -' Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-6' -' Conditional Operator' -'' -' Stage: Stage-7' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' b ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' b ' -' TableScan' -' alias: b' -' HashTable Sink Operator' -' condition expressions:' -' 0 {cnt}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {cnt}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col1' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col1' -' type: int' -' outputColumnNames: _col1' -' Group By Operator' -' aggregations:' -' expr: sum(_col1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-8' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' a ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' a ' -' TableScan' -' alias: a' -' HashTable Sink Operator' -' condition expressions:' -' 0 {cnt}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {cnt}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col1' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col1' -' type: int' -' outputColumnNames: _col1' -' Group By Operator' -' aggregations:' -' expr: sum(_col1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: cnt' -' type: int' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col1}' -' 1 ' -' handleSkewJoin: false' -' outputColumnNames: _col1' -' Select Operator' -' expressions:' -' expr: _col1' -' type: int' -' outputColumnNames: _col1' -' Group By Operator' -' aggregations:' -' expr: sum(_col1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -224 rows selected ->>> ->>> SELECT sum(a.cnt) FROM tst1 a JOIN tst1 b ON a.key = b.key; -'_c0' -'500' -1 row selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/auto_join25.q.out ql/src/test/results/beelinepositive/auto_join25.q.out deleted file mode 100644 index 450db9a..0000000 --- ql/src/test/results/beelinepositive/auto_join25.q.out +++ /dev/null @@ -1,52 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/auto_join25.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/auto_join25.q ->>> set hive.auto.convert.join = true; -No rows affected ->>> set hive.mapjoin.localtask.max.memory.usage = 0.0001; -No rows affected ->>> set hive.mapjoin.check.memory.rows = 2; -No rows affected ->>> ->>> CREATE TABLE dest1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> FROM srcpart src1 JOIN src src2 ON (src1.key = src2.key) -INSERT OVERWRITE TABLE dest1 SELECT src1.key, src2.value -where (src1.ds = '2008-04-08' or src1.ds = '2008-04-09' )and (src1.hr = '12' or src1.hr = '11'); -'_col0','_col1' -No rows selected ->>> ->>> SELECT sum(hash(dest1.key,dest1.value)) FROM dest1; -'_c0' -'407444119660' -1 row selected ->>> ->>> ->>> ->>> CREATE TABLE dest_j2(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> FROM src src1 JOIN src src2 ON (src1.key = src2.key) JOIN src src3 ON (src1.key + src2.key = src3.key) -INSERT OVERWRITE TABLE dest_j2 SELECT src1.key, src3.value; -'_col0','_col1' -No rows selected ->>> ->>> SELECT sum(hash(dest_j2.key,dest_j2.value)) FROM dest_j2; -'_c0' -'33815990627' -1 row selected ->>> ->>> CREATE TABLE dest_j1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> FROM src src1 JOIN src src2 ON (src1.key = src2.key) -INSERT OVERWRITE TABLE dest_j1 SELECT src1.key, src2.value; -'_col0','_col1' -No rows selected ->>> ->>> SELECT sum(hash(dest_j1.key,dest_j1.value)) FROM dest_j1; -'_c0' -'101861029915' -1 row selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/auto_join26.q.out ql/src/test/results/beelinepositive/auto_join26.q.out deleted file mode 100644 index ef212b8..0000000 --- ql/src/test/results/beelinepositive/auto_join26.q.out +++ /dev/null @@ -1,299 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/auto_join26.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/auto_join26.q ->>> CREATE TABLE dest_j1(key INT, cnt INT); -No rows affected ->>> set hive.auto.convert.join = true; -No rows affected ->>> EXPLAIN -INSERT OVERWRITE TABLE dest_j1 -SELECT x.key, count(1) FROM src1 x JOIN src y ON (x.key = y.key) group by x.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src1) x) (TOK_TABREF (TOK_TABNAME src) y) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL y) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_j1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL x) key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-7 is a root stage , consists of Stage-8, Stage-9, Stage-1' -' Stage-8 has a backup stage: Stage-1' -' Stage-5 depends on stages: Stage-8' -' Stage-2 depends on stages: Stage-1, Stage-5, Stage-6' -' Stage-0 depends on stages: Stage-2' -' Stage-3 depends on stages: Stage-0' -' Stage-9 has a backup stage: Stage-1' -' Stage-6 depends on stages: Stage-9' -' Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-8' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' y ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' y ' -' TableScan' -' alias: y' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x ' -' TableScan' -' alias: x' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: auto_join26.dest_j1' -'' -' 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: auto_join26.dest_j1' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -' Stage: Stage-9' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' x ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' x ' -' TableScan' -' alias: x' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' y ' -' TableScan' -' alias: y' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x ' -' TableScan' -' alias: x' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' y ' -' TableScan' -' alias: y' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 ' -' handleSkewJoin: false' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -'' -263 rows selected ->>> ->>> INSERT OVERWRITE TABLE dest_j1 -SELECT x.key, count(1) FROM src1 x JOIN src y ON (x.key = y.key) group by x.key; -'_col0','_col1' -No rows selected ->>> ->>> select * from dest_j1 x order by x.key; -'key','cnt' -'66','1' -'98','2' -'128','3' -'146','2' -'150','1' -'213','2' -'224','2' -'238','2' -'255','2' -'273','3' -'278','2' -'311','3' -'369','3' -'401','5' -'406','4' -15 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/auto_join27.q.out ql/src/test/results/beelinepositive/auto_join27.q.out deleted file mode 100644 index 862f2da..0000000 --- ql/src/test/results/beelinepositive/auto_join27.q.out +++ /dev/null @@ -1,421 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/auto_join27.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/auto_join27.q ->>> set hive.auto.convert.join = true; -No rows affected ->>> ->>> explain -SELECT count(1) -FROM -( -SELECT src.key, src.value from src -UNION ALL -SELECT DISTINCT src.key, src.value from src -) src_12 -JOIN -(SELECT src.key as k, src.value as v from src) src3 -ON src_12.key = src3.k AND src3.k < 200; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECTDI (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value)))))) src_12) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) k) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) v)))) src3) (AND (= (. (TOK_TABLE_OR_COL src_12) key) (. (TOK_TABLE_OR_COL src3) k)) (< (. (TOK_TABLE_OR_COL src3) k) 200)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-8 depends on stages: Stage-1 , consists of Stage-9, Stage-10, Stage-2' -' Stage-9 has a backup stage: Stage-2' -' Stage-6 depends on stages: Stage-9' -' Stage-3 depends on stages: Stage-2, Stage-6, Stage-7' -' Stage-10 has a backup stage: Stage-2' -' Stage-7 depends on stages: Stage-10' -' Stage-2' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery2:src_12-subquery2:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 200)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-8' -' Conditional Operator' -'' -' Stage: Stage-9' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src3:src ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src3:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 200)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' Position of Big Table: 0' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' Position of Big Table: 0' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' null-subquery1:src_12-subquery1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 200)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' Position of Big Table: 0' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-10' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' file:!!{hive.exec.scratchdir}!! ' -' Fetch Operator' -' limit: -1' -' null-subquery1:src_12-subquery1:src ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' Position of Big Table: 1' -' null-subquery1:src_12-subquery1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 200)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' Position of Big Table: 1' -'' -' Stage: Stage-7' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src3:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 200)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' Position of Big Table: 1' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' null-subquery1:src_12-subquery1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 200)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' src3:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 200)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -387 rows selected ->>> ->>> ->>> SELECT count(1) -FROM -( -SELECT src.key, src.value from src -UNION ALL -SELECT DISTINCT src.key, src.value from src -) src_12 -JOIN -(SELECT src.key as k, src.value as v from src) src3 -ON src_12.key = src3.k AND src3.k < 200; -'_c0' -'548' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/auto_join28.q.out ql/src/test/results/beelinepositive/auto_join28.q.out deleted file mode 100644 index 1031edd..0000000 --- ql/src/test/results/beelinepositive/auto_join28.q.out +++ /dev/null @@ -1,655 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/auto_join28.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/auto_join28.q ->>> set hive.mapjoin.smalltable.filesize = 1; -No rows affected ->>> ->>> set hive.auto.convert.join = true; -No rows affected ->>> explain -SELECT * FROM src src1 LEFT OUTER JOIN src src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key > 10) RIGHT OUTER JOIN src src3 ON (src2.key = src3.key AND src3.key < 10) SORT BY src1.key, src1.value, src2.key, src2.value, src3.key, src3.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2) (AND (AND (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)) (< (. (TOK_TABLE_OR_COL src1) key) 10)) (> (. (TOK_TABLE_OR_COL src2) key) 10))) (TOK_TABREF (TOK_TABNAME src) src3) (AND (= (. (TOK_TABLE_OR_COL src2) key) (. (TOK_TABLE_OR_COL src3) key)) (< (. (TOK_TABLE_OR_COL src3) key) 10)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-6 is a root stage , consists of Stage-1' -' Stage-1' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-6' -' Conditional Operator' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: (key > 10)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src3 ' -' TableScan' -' alias: src3' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 2' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' Right Outer Join1 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' filter predicates:' -' 0 {(VALUE._col0 < 10)}' -' 1 ' -' 2 {(VALUE._col0 < 10)}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' sort order: ++++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -155 rows selected ->>> ->>> explain -SELECT * FROM src src1 LEFT OUTER JOIN src src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key > 10) LEFT OUTER JOIN src src3 ON (src2.key = src3.key AND src3.key < 10) SORT BY src1.key, src1.value, src2.key, src2.value, src3.key, src3.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2) (AND (AND (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)) (< (. (TOK_TABLE_OR_COL src1) key) 10)) (> (. (TOK_TABLE_OR_COL src2) key) 10))) (TOK_TABREF (TOK_TABNAME src) src3) (AND (= (. (TOK_TABLE_OR_COL src2) key) (. (TOK_TABLE_OR_COL src3) key)) (< (. (TOK_TABLE_OR_COL src3) key) 10)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-6 is a root stage , consists of Stage-1' -' Stage-1' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-6' -' Conditional Operator' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: (key > 10)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src3 ' -' TableScan' -' alias: src3' -' Filter Operator' -' predicate:' -' expr: ((key < 10) and (key > 10))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 2' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' Left Outer Join1 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' filter predicates:' -' 0 {(VALUE._col0 < 10)}' -' 1 ' -' 2 ' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' sort order: ++++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -159 rows selected ->>> ->>> explain -SELECT * FROM src src1 RIGHT OUTER JOIN src src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key > 10) LEFT OUTER JOIN src src3 ON (src2.key = src3.key AND src3.key < 10) SORT BY src1.key, src1.value, src2.key, src2.value, src3.key, src3.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_RIGHTOUTERJOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2) (AND (AND (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)) (< (. (TOK_TABLE_OR_COL src1) key) 10)) (> (. (TOK_TABLE_OR_COL src2) key) 10))) (TOK_TABREF (TOK_TABNAME src) src3) (AND (= (. (TOK_TABLE_OR_COL src2) key) (. (TOK_TABLE_OR_COL src3) key)) (< (. (TOK_TABLE_OR_COL src3) key) 10)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-6 is a root stage , consists of Stage-1' -' Stage-1' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-6' -' Conditional Operator' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: (key < 10)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src3 ' -' TableScan' -' alias: src3' -' Filter Operator' -' predicate:' -' expr: (key < 10)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 2' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' Left Outer Join1 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' filter predicates:' -' 0 ' -' 1 {(VALUE._col0 > 10)}' -' 2 ' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' sort order: ++++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -159 rows selected ->>> ->>> explain -SELECT * FROM src src1 RIGHT OUTER JOIN src src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key > 10) RIGHT OUTER JOIN src src3 ON (src2.key = src3.key AND src3.key < 10) SORT BY src1.key, src1.value, src2.key, src2.value, src3.key, src3.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_RIGHTOUTERJOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2) (AND (AND (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)) (< (. (TOK_TABLE_OR_COL src1) key) 10)) (> (. (TOK_TABLE_OR_COL src2) key) 10))) (TOK_TABREF (TOK_TABNAME src) src3) (AND (= (. (TOK_TABLE_OR_COL src2) key) (. (TOK_TABLE_OR_COL src3) key)) (< (. (TOK_TABLE_OR_COL src3) key) 10)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-6 is a root stage , consists of Stage-1' -' Stage-1' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-6' -' Conditional Operator' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: (key < 10)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src3 ' -' TableScan' -' alias: src3' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 2' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' Right Outer Join1 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' filter predicates:' -' 0 ' -' 1 {(VALUE._col0 > 10)}' -' 2 {(VALUE._col0 < 10)}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' sort order: ++++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -155 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/auto_join29.q.out ql/src/test/results/beelinepositive/auto_join29.q.out deleted file mode 100644 index 964be44..0000000 --- ql/src/test/results/beelinepositive/auto_join29.q.out +++ /dev/null @@ -1,8642 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/auto_join29.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/auto_join29.q ->>> set hive.auto.convert.join = true; -No rows affected ->>> explain -SELECT * FROM src src1 LEFT OUTER JOIN src src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key > 10) RIGHT OUTER JOIN src src3 ON (src2.key = src3.key AND src3.key < 10) SORT BY src1.key, src1.value, src2.key, src2.value, src3.key, src3.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2) (AND (AND (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)) (< (. (TOK_TABLE_OR_COL src1) key) 10)) (> (. (TOK_TABLE_OR_COL src2) key) 10))) (TOK_TABREF (TOK_TABNAME src) src3) (AND (= (. (TOK_TABLE_OR_COL src2) key) (. (TOK_TABLE_OR_COL src3) key)) (< (. (TOK_TABLE_OR_COL src3) key) 10)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-6 is a root stage , consists of Stage-7, Stage-1' -' Stage-7 has a backup stage: Stage-1' -' Stage-5 depends on stages: Stage-7' -' Stage-2 depends on stages: Stage-1, Stage-5' -' Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-6' -' Conditional Operator' -'' -' Stage: Stage-7' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src1 ' -' Fetch Operator' -' limit: -1' -' src2 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 {(key < 10)}' -' 1 ' -' 2 {(key < 10)}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 2' -' src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: (key > 10)' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 {(key < 10)}' -' 1 ' -' 2 {(key < 10)}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 2' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src3 ' -' TableScan' -' alias: src3' -' Map Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' Right Outer Join1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 {(key < 10)}' -' 1 ' -' 2 {(key < 10)}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' sort order: ++++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: (key > 10)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src3 ' -' TableScan' -' alias: src3' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 2' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' Right Outer Join1 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' filter predicates:' -' 0 {(VALUE._col0 < 10)}' -' 1 ' -' 2 {(VALUE._col0 < 10)}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -257 rows selected ->>> ->>> SELECT * FROM src src1 LEFT OUTER JOIN src src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key > 10) RIGHT OUTER JOIN src src3 ON (src2.key = src3.key AND src3.key < 10) SORT BY src1.key, src1.value, src2.key, src2.value, src3.key, src3.value; -'key','value','key','value','key','value' -'','','','','0','val_0' -'','','','','0','val_0' -'','','','','0','val_0' -'','','','','10','val_10' -'','','','','100','val_100' -'','','','','100','val_100' -'','','','','100','val_100' -'','','','','100','val_100' -'','','','','100','val_100' -'','','','','100','val_100' -'','','','','100','val_100' -'','','','','100','val_100' -'','','','','103','val_103' -'','','','','103','val_103' -'','','','','103','val_103' -'','','','','103','val_103' -'','','','','103','val_103' -'','','','','103','val_103' -'','','','','103','val_103' -'','','','','103','val_103' -'','','','','104','val_104' -'','','','','104','val_104' -'','','','','104','val_104' -'','','','','104','val_104' -'','','','','104','val_104' -'','','','','104','val_104' -'','','','','104','val_104' -'','','','','104','val_104' -'','','','','105','val_105' -'','','','','11','val_11' -'','','','','111','val_111' -'','','','','113','val_113' -'','','','','113','val_113' -'','','','','113','val_113' -'','','','','113','val_113' -'','','','','113','val_113' -'','','','','113','val_113' -'','','','','113','val_113' -'','','','','113','val_113' -'','','','','114','val_114' -'','','','','116','val_116' -'','','','','118','val_118' -'','','','','118','val_118' -'','','','','118','val_118' -'','','','','118','val_118' -'','','','','118','val_118' -'','','','','118','val_118' -'','','','','118','val_118' -'','','','','118','val_118' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','12','val_12' -'','','','','12','val_12' -'','','','','12','val_12' -'','','','','12','val_12' -'','','','','12','val_12' -'','','','','12','val_12' -'','','','','12','val_12' -'','','','','12','val_12' -'','','','','120','val_120' -'','','','','120','val_120' -'','','','','120','val_120' -'','','','','120','val_120' -'','','','','120','val_120' -'','','','','120','val_120' -'','','','','120','val_120' -'','','','','120','val_120' -'','','','','125','val_125' -'','','','','125','val_125' -'','','','','125','val_125' -'','','','','125','val_125' -'','','','','125','val_125' -'','','','','125','val_125' -'','','','','125','val_125' -'','','','','125','val_125' -'','','','','126','val_126' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','129','val_129' -'','','','','129','val_129' -'','','','','129','val_129' -'','','','','129','val_129' -'','','','','129','val_129' -'','','','','129','val_129' -'','','','','129','val_129' -'','','','','129','val_129' -'','','','','131','val_131' -'','','','','133','val_133' -'','','','','134','val_134' -'','','','','134','val_134' -'','','','','134','val_134' -'','','','','134','val_134' -'','','','','134','val_134' -'','','','','134','val_134' -'','','','','134','val_134' -'','','','','134','val_134' -'','','','','136','val_136' -'','','','','137','val_137' -'','','','','137','val_137' -'','','','','137','val_137' -'','','','','137','val_137' -'','','','','137','val_137' -'','','','','137','val_137' -'','','','','137','val_137' -'','','','','137','val_137' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','143','val_143' -'','','','','145','val_145' -'','','','','146','val_146' -'','','','','146','val_146' -'','','','','146','val_146' -'','','','','146','val_146' -'','','','','146','val_146' -'','','','','146','val_146' -'','','','','146','val_146' -'','','','','146','val_146' -'','','','','149','val_149' -'','','','','149','val_149' -'','','','','149','val_149' -'','','','','149','val_149' -'','','','','149','val_149' -'','','','','149','val_149' -'','','','','149','val_149' -'','','','','149','val_149' -'','','','','15','val_15' -'','','','','15','val_15' -'','','','','15','val_15' -'','','','','15','val_15' -'','','','','15','val_15' -'','','','','15','val_15' -'','','','','15','val_15' -'','','','','15','val_15' -'','','','','150','val_150' -'','','','','152','val_152' -'','','','','152','val_152' -'','','','','152','val_152' -'','','','','152','val_152' -'','','','','152','val_152' -'','','','','152','val_152' -'','','','','152','val_152' -'','','','','152','val_152' -'','','','','153','val_153' -'','','','','155','val_155' -'','','','','156','val_156' -'','','','','157','val_157' -'','','','','158','val_158' -'','','','','160','val_160' -'','','','','162','val_162' -'','','','','163','val_163' -'','','','','164','val_164' -'','','','','164','val_164' -'','','','','164','val_164' -'','','','','164','val_164' -'','','','','164','val_164' -'','','','','164','val_164' -'','','','','164','val_164' -'','','','','164','val_164' -'','','','','165','val_165' -'','','','','165','val_165' -'','','','','165','val_165' -'','','','','165','val_165' -'','','','','165','val_165' -'','','','','165','val_165' -'','','','','165','val_165' -'','','','','165','val_165' -'','','','','166','val_166' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','168','val_168' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','17','val_17' -'','','','','170','val_170' -'','','','','172','val_172' -'','','','','172','val_172' -'','','','','172','val_172' -'','','','','172','val_172' -'','','','','172','val_172' -'','','','','172','val_172' -'','','','','172','val_172' -'','','','','172','val_172' -'','','','','174','val_174' -'','','','','174','val_174' -'','','','','174','val_174' -'','','','','174','val_174' -'','','','','174','val_174' -'','','','','174','val_174' -'','','','','174','val_174' -'','','','','174','val_174' -'','','','','175','val_175' -'','','','','175','val_175' -'','','','','175','val_175' -'','','','','175','val_175' -'','','','','175','val_175' -'','','','','175','val_175' -'','','','','175','val_175' -'','','','','175','val_175' -'','','','','176','val_176' -'','','','','176','val_176' -'','','','','176','val_176' -'','','','','176','val_176' -'','','','','176','val_176' -'','','','','176','val_176' -'','','','','176','val_176' -'','','','','176','val_176' -'','','','','177','val_177' -'','','','','178','val_178' -'','','','','179','val_179' -'','','','','179','val_179' -'','','','','179','val_179' -'','','','','179','val_179' -'','','','','179','val_179' -'','','','','179','val_179' -'','','','','179','val_179' -'','','','','179','val_179' -'','','','','18','val_18' -'','','','','18','val_18' -'','','','','18','val_18' -'','','','','18','val_18' -'','','','','18','val_18' -'','','','','18','val_18' -'','','','','18','val_18' -'','','','','18','val_18' -'','','','','180','val_180' -'','','','','181','val_181' -'','','','','183','val_183' -'','','','','186','val_186' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','189','val_189' -'','','','','19','val_19' -'','','','','190','val_190' -'','','','','191','val_191' -'','','','','191','val_191' -'','','','','191','val_191' -'','','','','191','val_191' -'','','','','191','val_191' -'','','','','191','val_191' -'','','','','191','val_191' -'','','','','191','val_191' -'','','','','192','val_192' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','194','val_194' -'','','','','195','val_195' -'','','','','195','val_195' -'','','','','195','val_195' -'','','','','195','val_195' -'','','','','195','val_195' -'','','','','195','val_195' -'','','','','195','val_195' -'','','','','195','val_195' -'','','','','196','val_196' -'','','','','197','val_197' -'','','','','197','val_197' -'','','','','197','val_197' -'','','','','197','val_197' -'','','','','197','val_197' -'','','','','197','val_197' -'','','','','197','val_197' -'','','','','197','val_197' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','2','val_2' -'','','','','20','val_20' -'','','','','200','val_200' -'','','','','200','val_200' -'','','','','200','val_200' -'','','','','200','val_200' -'','','','','200','val_200' -'','','','','200','val_200' -'','','','','200','val_200' -'','','','','200','val_200' -'','','','','201','val_201' -'','','','','202','val_202' -'','','','','203','val_203' -'','','','','203','val_203' -'','','','','203','val_203' -'','','','','203','val_203' -'','','','','203','val_203' -'','','','','203','val_203' -'','','','','203','val_203' -'','','','','203','val_203' -'','','','','205','val_205' -'','','','','205','val_205' -'','','','','205','val_205' -'','','','','205','val_205' -'','','','','205','val_205' -'','','','','205','val_205' -'','','','','205','val_205' -'','','','','205','val_205' -'','','','','207','val_207' -'','','','','207','val_207' -'','','','','207','val_207' -'','','','','207','val_207' -'','','','','207','val_207' -'','','','','207','val_207' -'','','','','207','val_207' -'','','','','207','val_207' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','209','val_209' -'','','','','209','val_209' -'','','','','209','val_209' -'','','','','209','val_209' -'','','','','209','val_209' -'','','','','209','val_209' -'','','','','209','val_209' -'','','','','209','val_209' -'','','','','213','val_213' -'','','','','213','val_213' -'','','','','213','val_213' -'','','','','213','val_213' -'','','','','213','val_213' -'','','','','213','val_213' -'','','','','213','val_213' -'','','','','213','val_213' -'','','','','214','val_214' -'','','','','216','val_216' -'','','','','216','val_216' -'','','','','216','val_216' -'','','','','216','val_216' -'','','','','216','val_216' -'','','','','216','val_216' -'','','','','216','val_216' -'','','','','216','val_216' -'','','','','217','val_217' -'','','','','217','val_217' -'','','','','217','val_217' -'','','','','217','val_217' -'','','','','217','val_217' -'','','','','217','val_217' -'','','','','217','val_217' -'','','','','217','val_217' -'','','','','218','val_218' -'','','','','219','val_219' -'','','','','219','val_219' -'','','','','219','val_219' -'','','','','219','val_219' -'','','','','219','val_219' -'','','','','219','val_219' -'','','','','219','val_219' -'','','','','219','val_219' -'','','','','221','val_221' -'','','','','221','val_221' -'','','','','221','val_221' -'','','','','221','val_221' -'','','','','221','val_221' -'','','','','221','val_221' -'','','','','221','val_221' -'','','','','221','val_221' -'','','','','222','val_222' -'','','','','223','val_223' -'','','','','223','val_223' -'','','','','223','val_223' -'','','','','223','val_223' -'','','','','223','val_223' -'','','','','223','val_223' -'','','','','223','val_223' -'','','','','223','val_223' -'','','','','224','val_224' -'','','','','224','val_224' -'','','','','224','val_224' -'','','','','224','val_224' -'','','','','224','val_224' -'','','','','224','val_224' -'','','','','224','val_224' -'','','','','224','val_224' -'','','','','226','val_226' -'','','','','228','val_228' -'','','','','229','val_229' -'','','','','229','val_229' -'','','','','229','val_229' -'','','','','229','val_229' -'','','','','229','val_229' -'','','','','229','val_229' -'','','','','229','val_229' -'','','','','229','val_229' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','233','val_233' -'','','','','233','val_233' -'','','','','233','val_233' -'','','','','233','val_233' -'','','','','233','val_233' -'','','','','233','val_233' -'','','','','233','val_233' -'','','','','233','val_233' -'','','','','235','val_235' -'','','','','237','val_237' -'','','','','237','val_237' -'','','','','237','val_237' -'','','','','237','val_237' -'','','','','237','val_237' -'','','','','237','val_237' -'','','','','237','val_237' -'','','','','237','val_237' -'','','','','238','val_238' -'','','','','238','val_238' -'','','','','238','val_238' -'','','','','238','val_238' -'','','','','238','val_238' -'','','','','238','val_238' -'','','','','238','val_238' -'','','','','238','val_238' -'','','','','239','val_239' -'','','','','239','val_239' -'','','','','239','val_239' -'','','','','239','val_239' -'','','','','239','val_239' -'','','','','239','val_239' -'','','','','239','val_239' -'','','','','239','val_239' -'','','','','24','val_24' -'','','','','24','val_24' -'','','','','24','val_24' -'','','','','24','val_24' -'','','','','24','val_24' -'','','','','24','val_24' -'','','','','24','val_24' -'','','','','24','val_24' -'','','','','241','val_241' -'','','','','242','val_242' -'','','','','242','val_242' -'','','','','242','val_242' -'','','','','242','val_242' -'','','','','242','val_242' -'','','','','242','val_242' -'','','','','242','val_242' -'','','','','242','val_242' -'','','','','244','val_244' -'','','','','247','val_247' -'','','','','248','val_248' -'','','','','249','val_249' -'','','','','252','val_252' -'','','','','255','val_255' -'','','','','255','val_255' -'','','','','255','val_255' -'','','','','255','val_255' -'','','','','255','val_255' -'','','','','255','val_255' -'','','','','255','val_255' -'','','','','255','val_255' -'','','','','256','val_256' -'','','','','256','val_256' -'','','','','256','val_256' -'','','','','256','val_256' -'','','','','256','val_256' -'','','','','256','val_256' -'','','','','256','val_256' -'','','','','256','val_256' -'','','','','257','val_257' -'','','','','258','val_258' -'','','','','26','val_26' -'','','','','26','val_26' -'','','','','26','val_26' -'','','','','26','val_26' -'','','','','26','val_26' -'','','','','26','val_26' -'','','','','26','val_26' -'','','','','26','val_26' -'','','','','260','val_260' -'','','','','262','val_262' -'','','','','263','val_263' -'','','','','265','val_265' -'','','','','265','val_265' -'','','','','265','val_265' -'','','','','265','val_265' -'','','','','265','val_265' -'','','','','265','val_265' -'','','','','265','val_265' -'','','','','265','val_265' -'','','','','266','val_266' -'','','','','27','val_27' -'','','','','272','val_272' -'','','','','272','val_272' -'','','','','272','val_272' -'','','','','272','val_272' -'','','','','272','val_272' -'','','','','272','val_272' -'','','','','272','val_272' -'','','','','272','val_272' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','274','val_274' -'','','','','275','val_275' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','278','val_278' -'','','','','278','val_278' -'','','','','278','val_278' -'','','','','278','val_278' -'','','','','278','val_278' -'','','','','278','val_278' -'','','','','278','val_278' -'','','','','278','val_278' -'','','','','28','val_28' -'','','','','280','val_280' -'','','','','280','val_280' -'','','','','280','val_280' -'','','','','280','val_280' -'','','','','280','val_280' -'','','','','280','val_280' -'','','','','280','val_280' -'','','','','280','val_280' -'','','','','281','val_281' -'','','','','281','val_281' -'','','','','281','val_281' -'','','','','281','val_281' -'','','','','281','val_281' -'','','','','281','val_281' -'','','','','281','val_281' -'','','','','281','val_281' -'','','','','282','val_282' -'','','','','282','val_282' -'','','','','282','val_282' -'','','','','282','val_282' -'','','','','282','val_282' -'','','','','282','val_282' -'','','','','282','val_282' -'','','','','282','val_282' -'','','','','283','val_283' -'','','','','284','val_284' -'','','','','285','val_285' -'','','','','286','val_286' -'','','','','287','val_287' -'','','','','288','val_288' -'','','','','288','val_288' -'','','','','288','val_288' -'','','','','288','val_288' -'','','','','288','val_288' -'','','','','288','val_288' -'','','','','288','val_288' -'','','','','288','val_288' -'','','','','289','val_289' -'','','','','291','val_291' -'','','','','292','val_292' -'','','','','296','val_296' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','30','val_30' -'','','','','302','val_302' -'','','','','305','val_305' -'','','','','306','val_306' -'','','','','307','val_307' -'','','','','307','val_307' -'','','','','307','val_307' -'','','','','307','val_307' -'','','','','307','val_307' -'','','','','307','val_307' -'','','','','307','val_307' -'','','','','307','val_307' -'','','','','308','val_308' -'','','','','309','val_309' -'','','','','309','val_309' -'','','','','309','val_309' -'','','','','309','val_309' -'','','','','309','val_309' -'','','','','309','val_309' -'','','','','309','val_309' -'','','','','309','val_309' -'','','','','310','val_310' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','315','val_315' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','317','val_317' -'','','','','317','val_317' -'','','','','317','val_317' -'','','','','317','val_317' -'','','','','317','val_317' -'','','','','317','val_317' -'','','','','317','val_317' -'','','','','317','val_317' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','321','val_321' -'','','','','321','val_321' -'','','','','321','val_321' -'','','','','321','val_321' -'','','','','321','val_321' -'','','','','321','val_321' -'','','','','321','val_321' -'','','','','321','val_321' -'','','','','322','val_322' -'','','','','322','val_322' -'','','','','322','val_322' -'','','','','322','val_322' -'','','','','322','val_322' -'','','','','322','val_322' -'','','','','322','val_322' -'','','','','322','val_322' -'','','','','323','val_323' -'','','','','325','val_325' -'','','','','325','val_325' -'','','','','325','val_325' -'','','','','325','val_325' -'','','','','325','val_325' -'','','','','325','val_325' -'','','','','325','val_325' -'','','','','325','val_325' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','33','val_33' -'','','','','331','val_331' -'','','','','331','val_331' -'','','','','331','val_331' -'','','','','331','val_331' -'','','','','331','val_331' -'','','','','331','val_331' -'','','','','331','val_331' -'','','','','331','val_331' -'','','','','332','val_332' -'','','','','333','val_333' -'','','','','333','val_333' -'','','','','333','val_333' -'','','','','333','val_333' -'','','','','333','val_333' -'','','','','333','val_333' -'','','','','333','val_333' -'','','','','333','val_333' -'','','','','335','val_335' -'','','','','336','val_336' -'','','','','338','val_338' -'','','','','339','val_339' -'','','','','34','val_34' -'','','','','341','val_341' -'','','','','342','val_342' -'','','','','342','val_342' -'','','','','342','val_342' -'','','','','342','val_342' -'','','','','342','val_342' -'','','','','342','val_342' -'','','','','342','val_342' -'','','','','342','val_342' -'','','','','344','val_344' -'','','','','344','val_344' -'','','','','344','val_344' -'','','','','344','val_344' -'','','','','344','val_344' -'','','','','344','val_344' -'','','','','344','val_344' -'','','','','344','val_344' -'','','','','345','val_345' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','351','val_351' -'','','','','353','val_353' -'','','','','353','val_353' -'','','','','353','val_353' -'','','','','353','val_353' -'','','','','353','val_353' -'','','','','353','val_353' -'','','','','353','val_353' -'','','','','353','val_353' -'','','','','356','val_356' -'','','','','360','val_360' -'','','','','362','val_362' -'','','','','364','val_364' -'','','','','365','val_365' -'','','','','366','val_366' -'','','','','367','val_367' -'','','','','367','val_367' -'','','','','367','val_367' -'','','','','367','val_367' -'','','','','367','val_367' -'','','','','367','val_367' -'','','','','367','val_367' -'','','','','367','val_367' -'','','','','368','val_368' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','37','val_37' -'','','','','37','val_37' -'','','','','37','val_37' -'','','','','37','val_37' -'','','','','37','val_37' -'','','','','37','val_37' -'','','','','37','val_37' -'','','','','37','val_37' -'','','','','373','val_373' -'','','','','374','val_374' -'','','','','375','val_375' -'','','','','377','val_377' -'','','','','378','val_378' -'','','','','379','val_379' -'','','','','382','val_382' -'','','','','382','val_382' -'','','','','382','val_382' -'','','','','382','val_382' -'','','','','382','val_382' -'','','','','382','val_382' -'','','','','382','val_382' -'','','','','382','val_382' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','386','val_386' -'','','','','389','val_389' -'','','','','392','val_392' -'','','','','393','val_393' -'','','','','394','val_394' -'','','','','395','val_395' -'','','','','395','val_395' -'','','','','395','val_395' -'','','','','395','val_395' -'','','','','395','val_395' -'','','','','395','val_395' -'','','','','395','val_395' -'','','','','395','val_395' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','397','val_397' -'','','','','397','val_397' -'','','','','397','val_397' -'','','','','397','val_397' -'','','','','397','val_397' -'','','','','397','val_397' -'','','','','397','val_397' -'','','','','397','val_397' -'','','','','399','val_399' -'','','','','399','val_399' -'','','','','399','val_399' -'','','','','399','val_399' -'','','','','399','val_399' -'','','','','399','val_399' -'','','','','399','val_399' -'','','','','399','val_399' -'','','','','4','val_4' -'','','','','400','val_400' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','402','val_402' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','404','val_404' -'','','','','404','val_404' -'','','','','404','val_404' -'','','','','404','val_404' -'','','','','404','val_404' -'','','','','404','val_404' -'','','','','404','val_404' -'','','','','404','val_404' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','407','val_407' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','41','val_41' -'','','','','411','val_411' -'','','','','413','val_413' -'','','','','413','val_413' -'','','','','413','val_413' -'','','','','413','val_413' -'','','','','413','val_413' -'','','','','413','val_413' -'','','','','413','val_413' -'','','','','413','val_413' -'','','','','414','val_414' -'','','','','414','val_414' -'','','','','414','val_414' -'','','','','414','val_414' -'','','','','414','val_414' -'','','','','414','val_414' -'','','','','414','val_414' -'','','','','414','val_414' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','418','val_418' -'','','','','419','val_419' -'','','','','42','val_42' -'','','','','42','val_42' -'','','','','42','val_42' -'','','','','42','val_42' -'','','','','42','val_42' -'','','','','42','val_42' -'','','','','42','val_42' -'','','','','42','val_42' -'','','','','421','val_421' -'','','','','424','val_424' -'','','','','424','val_424' -'','','','','424','val_424' -'','','','','424','val_424' -'','','','','424','val_424' -'','','','','424','val_424' -'','','','','424','val_424' -'','','','','424','val_424' -'','','','','427','val_427' -'','','','','429','val_429' -'','','','','429','val_429' -'','','','','429','val_429' -'','','','','429','val_429' -'','','','','429','val_429' -'','','','','429','val_429' -'','','','','429','val_429' -'','','','','429','val_429' -'','','','','43','val_43' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','432','val_432' -'','','','','435','val_435' -'','','','','436','val_436' -'','','','','437','val_437' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','439','val_439' -'','','','','439','val_439' -'','','','','439','val_439' -'','','','','439','val_439' -'','','','','439','val_439' -'','','','','439','val_439' -'','','','','439','val_439' -'','','','','439','val_439' -'','','','','44','val_44' -'','','','','443','val_443' -'','','','','444','val_444' -'','','','','446','val_446' -'','','','','448','val_448' -'','','','','449','val_449' -'','','','','452','val_452' -'','','','','453','val_453' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','455','val_455' -'','','','','457','val_457' -'','','','','458','val_458' -'','','','','458','val_458' -'','','','','458','val_458' -'','','','','458','val_458' -'','','','','458','val_458' -'','','','','458','val_458' -'','','','','458','val_458' -'','','','','458','val_458' -'','','','','459','val_459' -'','','','','459','val_459' -'','','','','459','val_459' -'','','','','459','val_459' -'','','','','459','val_459' -'','','','','459','val_459' -'','','','','459','val_459' -'','','','','459','val_459' -'','','','','460','val_460' -'','','','','462','val_462' -'','','','','462','val_462' -'','','','','462','val_462' -'','','','','462','val_462' -'','','','','462','val_462' -'','','','','462','val_462' -'','','','','462','val_462' -'','','','','462','val_462' -'','','','','463','val_463' -'','','','','463','val_463' -'','','','','463','val_463' -'','','','','463','val_463' -'','','','','463','val_463' -'','','','','463','val_463' -'','','','','463','val_463' -'','','','','463','val_463' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','467','val_467' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','47','val_47' -'','','','','470','val_470' -'','','','','472','val_472' -'','','','','475','val_475' -'','','','','477','val_477' -'','','','','478','val_478' -'','','','','478','val_478' -'','','','','478','val_478' -'','','','','478','val_478' -'','','','','478','val_478' -'','','','','478','val_478' -'','','','','478','val_478' -'','','','','478','val_478' -'','','','','479','val_479' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','481','val_481' -'','','','','482','val_482' -'','','','','483','val_483' -'','','','','484','val_484' -'','','','','485','val_485' -'','','','','487','val_487' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','490','val_490' -'','','','','491','val_491' -'','','','','492','val_492' -'','','','','492','val_492' -'','','','','492','val_492' -'','','','','492','val_492' -'','','','','492','val_492' -'','','','','492','val_492' -'','','','','492','val_492' -'','','','','492','val_492' -'','','','','493','val_493' -'','','','','494','val_494' -'','','','','495','val_495' -'','','','','496','val_496' -'','','','','497','val_497' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','5','val_5' -'','','','','5','val_5' -'','','','','5','val_5' -'','','','','51','val_51' -'','','','','51','val_51' -'','','','','51','val_51' -'','','','','51','val_51' -'','','','','51','val_51' -'','','','','51','val_51' -'','','','','51','val_51' -'','','','','51','val_51' -'','','','','53','val_53' -'','','','','54','val_54' -'','','','','57','val_57' -'','','','','58','val_58' -'','','','','58','val_58' -'','','','','58','val_58' -'','','','','58','val_58' -'','','','','58','val_58' -'','','','','58','val_58' -'','','','','58','val_58' -'','','','','58','val_58' -'','','','','64','val_64' -'','','','','65','val_65' -'','','','','66','val_66' -'','','','','67','val_67' -'','','','','67','val_67' -'','','','','67','val_67' -'','','','','67','val_67' -'','','','','67','val_67' -'','','','','67','val_67' -'','','','','67','val_67' -'','','','','67','val_67' -'','','','','69','val_69' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','72','val_72' -'','','','','72','val_72' -'','','','','72','val_72' -'','','','','72','val_72' -'','','','','72','val_72' -'','','','','72','val_72' -'','','','','72','val_72' -'','','','','72','val_72' -'','','','','74','val_74' -'','','','','76','val_76' -'','','','','76','val_76' -'','','','','76','val_76' -'','','','','76','val_76' -'','','','','76','val_76' -'','','','','76','val_76' -'','','','','76','val_76' -'','','','','76','val_76' -'','','','','77','val_77' -'','','','','78','val_78' -'','','','','8','val_8' -'','','','','80','val_80' -'','','','','82','val_82' -'','','','','83','val_83' -'','','','','83','val_83' -'','','','','83','val_83' -'','','','','83','val_83' -'','','','','83','val_83' -'','','','','83','val_83' -'','','','','83','val_83' -'','','','','83','val_83' -'','','','','84','val_84' -'','','','','84','val_84' -'','','','','84','val_84' -'','','','','84','val_84' -'','','','','84','val_84' -'','','','','84','val_84' -'','','','','84','val_84' -'','','','','84','val_84' -'','','','','85','val_85' -'','','','','86','val_86' -'','','','','87','val_87' -'','','','','9','val_9' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','92','val_92' -'','','','','95','val_95' -'','','','','95','val_95' -'','','','','95','val_95' -'','','','','95','val_95' -'','','','','95','val_95' -'','','','','95','val_95' -'','','','','95','val_95' -'','','','','95','val_95' -'','','','','96','val_96' -'','','','','97','val_97' -'','','','','97','val_97' -'','','','','97','val_97' -'','','','','97','val_97' -'','','','','97','val_97' -'','','','','97','val_97' -'','','','','97','val_97' -'','','','','97','val_97' -'','','','','98','val_98' -'','','','','98','val_98' -'','','','','98','val_98' -'','','','','98','val_98' -'','','','','98','val_98' -'','','','','98','val_98' -'','','','','98','val_98' -'','','','','98','val_98' -2,606 rows selected ->>> ->>> explain -SELECT * FROM src src1 LEFT OUTER JOIN src src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key > 10) LEFT OUTER JOIN src src3 ON (src2.key = src3.key AND src3.key < 10) SORT BY src1.key, src1.value, src2.key, src2.value, src3.key, src3.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2) (AND (AND (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)) (< (. (TOK_TABLE_OR_COL src1) key) 10)) (> (. (TOK_TABLE_OR_COL src2) key) 10))) (TOK_TABREF (TOK_TABNAME src) src3) (AND (= (. (TOK_TABLE_OR_COL src2) key) (. (TOK_TABLE_OR_COL src3) key)) (< (. (TOK_TABLE_OR_COL src3) key) 10)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-6 is a root stage , consists of Stage-7, Stage-1' -' Stage-7 has a backup stage: Stage-1' -' Stage-5 depends on stages: Stage-7' -' Stage-2 depends on stages: Stage-1, Stage-5' -' Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-6' -' Conditional Operator' -'' -' Stage: Stage-7' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src2 ' -' Fetch Operator' -' limit: -1' -' src3 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: (key > 10)' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 {(key < 10)}' -' 1 ' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 0' -' src3 ' -' TableScan' -' alias: src3' -' Filter Operator' -' predicate:' -' expr: ((key < 10) and (key > 10))' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 {(key < 10)}' -' 1 ' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 0' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Map Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' Left Outer Join1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 {(key < 10)}' -' 1 ' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' sort order: ++++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: (key > 10)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src3 ' -' TableScan' -' alias: src3' -' Filter Operator' -' predicate:' -' expr: ((key < 10) and (key > 10))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 2' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' Left Outer Join1 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' filter predicates:' -' 0 {(VALUE._col0 < 10)}' -' 1 ' -' 2 ' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -265 rows selected ->>> ->>> SELECT * FROM src src1 LEFT OUTER JOIN src src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key > 10) LEFT OUTER JOIN src src3 ON (src2.key = src3.key AND src3.key < 10) SORT BY src1.key, src1.value, src2.key, src2.value, src3.key, src3.value; -'key','value','key','value','key','value' -'0','val_0','','','','' -'0','val_0','','','','' -'0','val_0','','','','' -'10','val_10','','','','' -'100','val_100','','','','' -'100','val_100','','','','' -'100','val_100','','','','' -'100','val_100','','','','' -'103','val_103','','','','' -'103','val_103','','','','' -'103','val_103','','','','' -'103','val_103','','','','' -'104','val_104','','','','' -'104','val_104','','','','' -'104','val_104','','','','' -'104','val_104','','','','' -'105','val_105','','','','' -'11','val_11','','','','' -'111','val_111','','','','' -'113','val_113','','','','' -'113','val_113','','','','' -'113','val_113','','','','' -'113','val_113','','','','' -'114','val_114','','','','' -'116','val_116','','','','' -'118','val_118','','','','' -'118','val_118','','','','' -'118','val_118','','','','' -'118','val_118','','','','' -'119','val_119','','','','' -'119','val_119','','','','' -'119','val_119','','','','' -'119','val_119','','','','' -'119','val_119','','','','' -'119','val_119','','','','' -'119','val_119','','','','' -'119','val_119','','','','' -'119','val_119','','','','' -'12','val_12','','','','' -'12','val_12','','','','' -'12','val_12','','','','' -'12','val_12','','','','' -'120','val_120','','','','' -'120','val_120','','','','' -'120','val_120','','','','' -'120','val_120','','','','' -'125','val_125','','','','' -'125','val_125','','','','' -'125','val_125','','','','' -'125','val_125','','','','' -'126','val_126','','','','' -'128','val_128','','','','' -'128','val_128','','','','' -'128','val_128','','','','' -'128','val_128','','','','' -'128','val_128','','','','' -'128','val_128','','','','' -'128','val_128','','','','' -'128','val_128','','','','' -'128','val_128','','','','' -'129','val_129','','','','' -'129','val_129','','','','' -'129','val_129','','','','' -'129','val_129','','','','' -'131','val_131','','','','' -'133','val_133','','','','' -'134','val_134','','','','' -'134','val_134','','','','' -'134','val_134','','','','' -'134','val_134','','','','' -'136','val_136','','','','' -'137','val_137','','','','' -'137','val_137','','','','' -'137','val_137','','','','' -'137','val_137','','','','' -'138','val_138','','','','' -'138','val_138','','','','' -'138','val_138','','','','' -'138','val_138','','','','' -'138','val_138','','','','' -'138','val_138','','','','' -'138','val_138','','','','' -'138','val_138','','','','' -'138','val_138','','','','' -'138','val_138','','','','' -'138','val_138','','','','' -'138','val_138','','','','' -'138','val_138','','','','' -'138','val_138','','','','' -'138','val_138','','','','' -'138','val_138','','','','' -'143','val_143','','','','' -'145','val_145','','','','' -'146','val_146','','','','' -'146','val_146','','','','' -'146','val_146','','','','' -'146','val_146','','','','' -'149','val_149','','','','' -'149','val_149','','','','' -'149','val_149','','','','' -'149','val_149','','','','' -'15','val_15','','','','' -'15','val_15','','','','' -'15','val_15','','','','' -'15','val_15','','','','' -'150','val_150','','','','' -'152','val_152','','','','' -'152','val_152','','','','' -'152','val_152','','','','' -'152','val_152','','','','' -'153','val_153','','','','' -'155','val_155','','','','' -'156','val_156','','','','' -'157','val_157','','','','' -'158','val_158','','','','' -'160','val_160','','','','' -'162','val_162','','','','' -'163','val_163','','','','' -'164','val_164','','','','' -'164','val_164','','','','' -'164','val_164','','','','' -'164','val_164','','','','' -'165','val_165','','','','' -'165','val_165','','','','' -'165','val_165','','','','' -'165','val_165','','','','' -'166','val_166','','','','' -'167','val_167','','','','' -'167','val_167','','','','' -'167','val_167','','','','' -'167','val_167','','','','' -'167','val_167','','','','' -'167','val_167','','','','' -'167','val_167','','','','' -'167','val_167','','','','' -'167','val_167','','','','' -'168','val_168','','','','' -'169','val_169','','','','' -'169','val_169','','','','' -'169','val_169','','','','' -'169','val_169','','','','' -'169','val_169','','','','' -'169','val_169','','','','' -'169','val_169','','','','' -'169','val_169','','','','' -'169','val_169','','','','' -'169','val_169','','','','' -'169','val_169','','','','' -'169','val_169','','','','' -'169','val_169','','','','' -'169','val_169','','','','' -'169','val_169','','','','' -'169','val_169','','','','' -'17','val_17','','','','' -'170','val_170','','','','' -'172','val_172','','','','' -'172','val_172','','','','' -'172','val_172','','','','' -'172','val_172','','','','' -'174','val_174','','','','' -'174','val_174','','','','' -'174','val_174','','','','' -'174','val_174','','','','' -'175','val_175','','','','' -'175','val_175','','','','' -'175','val_175','','','','' -'175','val_175','','','','' -'176','val_176','','','','' -'176','val_176','','','','' -'176','val_176','','','','' -'176','val_176','','','','' -'177','val_177','','','','' -'178','val_178','','','','' -'179','val_179','','','','' -'179','val_179','','','','' -'179','val_179','','','','' -'179','val_179','','','','' -'18','val_18','','','','' -'18','val_18','','','','' -'18','val_18','','','','' -'18','val_18','','','','' -'180','val_180','','','','' -'181','val_181','','','','' -'183','val_183','','','','' -'186','val_186','','','','' -'187','val_187','','','','' -'187','val_187','','','','' -'187','val_187','','','','' -'187','val_187','','','','' -'187','val_187','','','','' -'187','val_187','','','','' -'187','val_187','','','','' -'187','val_187','','','','' -'187','val_187','','','','' -'189','val_189','','','','' -'19','val_19','','','','' -'190','val_190','','','','' -'191','val_191','','','','' -'191','val_191','','','','' -'191','val_191','','','','' -'191','val_191','','','','' -'192','val_192','','','','' -'193','val_193','','','','' -'193','val_193','','','','' -'193','val_193','','','','' -'193','val_193','','','','' -'193','val_193','','','','' -'193','val_193','','','','' -'193','val_193','','','','' -'193','val_193','','','','' -'193','val_193','','','','' -'194','val_194','','','','' -'195','val_195','','','','' -'195','val_195','','','','' -'195','val_195','','','','' -'195','val_195','','','','' -'196','val_196','','','','' -'197','val_197','','','','' -'197','val_197','','','','' -'197','val_197','','','','' -'197','val_197','','','','' -'199','val_199','','','','' -'199','val_199','','','','' -'199','val_199','','','','' -'199','val_199','','','','' -'199','val_199','','','','' -'199','val_199','','','','' -'199','val_199','','','','' -'199','val_199','','','','' -'199','val_199','','','','' -'2','val_2','','','','' -'20','val_20','','','','' -'200','val_200','','','','' -'200','val_200','','','','' -'200','val_200','','','','' -'200','val_200','','','','' -'201','val_201','','','','' -'202','val_202','','','','' -'203','val_203','','','','' -'203','val_203','','','','' -'203','val_203','','','','' -'203','val_203','','','','' -'205','val_205','','','','' -'205','val_205','','','','' -'205','val_205','','','','' -'205','val_205','','','','' -'207','val_207','','','','' -'207','val_207','','','','' -'207','val_207','','','','' -'207','val_207','','','','' -'208','val_208','','','','' -'208','val_208','','','','' -'208','val_208','','','','' -'208','val_208','','','','' -'208','val_208','','','','' -'208','val_208','','','','' -'208','val_208','','','','' -'208','val_208','','','','' -'208','val_208','','','','' -'209','val_209','','','','' -'209','val_209','','','','' -'209','val_209','','','','' -'209','val_209','','','','' -'213','val_213','','','','' -'213','val_213','','','','' -'213','val_213','','','','' -'213','val_213','','','','' -'214','val_214','','','','' -'216','val_216','','','','' -'216','val_216','','','','' -'216','val_216','','','','' -'216','val_216','','','','' -'217','val_217','','','','' -'217','val_217','','','','' -'217','val_217','','','','' -'217','val_217','','','','' -'218','val_218','','','','' -'219','val_219','','','','' -'219','val_219','','','','' -'219','val_219','','','','' -'219','val_219','','','','' -'221','val_221','','','','' -'221','val_221','','','','' -'221','val_221','','','','' -'221','val_221','','','','' -'222','val_222','','','','' -'223','val_223','','','','' -'223','val_223','','','','' -'223','val_223','','','','' -'223','val_223','','','','' -'224','val_224','','','','' -'224','val_224','','','','' -'224','val_224','','','','' -'224','val_224','','','','' -'226','val_226','','','','' -'228','val_228','','','','' -'229','val_229','','','','' -'229','val_229','','','','' -'229','val_229','','','','' -'229','val_229','','','','' -'230','val_230','','','','' -'230','val_230','','','','' -'230','val_230','','','','' -'230','val_230','','','','' -'230','val_230','','','','' -'230','val_230','','','','' -'230','val_230','','','','' -'230','val_230','','','','' -'230','val_230','','','','' -'230','val_230','','','','' -'230','val_230','','','','' -'230','val_230','','','','' -'230','val_230','','','','' -'230','val_230','','','','' -'230','val_230','','','','' -'230','val_230','','','','' -'230','val_230','','','','' -'230','val_230','','','','' -'230','val_230','','','','' -'230','val_230','','','','' -'230','val_230','','','','' -'230','val_230','','','','' -'230','val_230','','','','' -'230','val_230','','','','' -'230','val_230','','','','' -'233','val_233','','','','' -'233','val_233','','','','' -'233','val_233','','','','' -'233','val_233','','','','' -'235','val_235','','','','' -'237','val_237','','','','' -'237','val_237','','','','' -'237','val_237','','','','' -'237','val_237','','','','' -'238','val_238','','','','' -'238','val_238','','','','' -'238','val_238','','','','' -'238','val_238','','','','' -'239','val_239','','','','' -'239','val_239','','','','' -'239','val_239','','','','' -'239','val_239','','','','' -'24','val_24','','','','' -'24','val_24','','','','' -'24','val_24','','','','' -'24','val_24','','','','' -'241','val_241','','','','' -'242','val_242','','','','' -'242','val_242','','','','' -'242','val_242','','','','' -'242','val_242','','','','' -'244','val_244','','','','' -'247','val_247','','','','' -'248','val_248','','','','' -'249','val_249','','','','' -'252','val_252','','','','' -'255','val_255','','','','' -'255','val_255','','','','' -'255','val_255','','','','' -'255','val_255','','','','' -'256','val_256','','','','' -'256','val_256','','','','' -'256','val_256','','','','' -'256','val_256','','','','' -'257','val_257','','','','' -'258','val_258','','','','' -'26','val_26','','','','' -'26','val_26','','','','' -'26','val_26','','','','' -'26','val_26','','','','' -'260','val_260','','','','' -'262','val_262','','','','' -'263','val_263','','','','' -'265','val_265','','','','' -'265','val_265','','','','' -'265','val_265','','','','' -'265','val_265','','','','' -'266','val_266','','','','' -'27','val_27','','','','' -'272','val_272','','','','' -'272','val_272','','','','' -'272','val_272','','','','' -'272','val_272','','','','' -'273','val_273','','','','' -'273','val_273','','','','' -'273','val_273','','','','' -'273','val_273','','','','' -'273','val_273','','','','' -'273','val_273','','','','' -'273','val_273','','','','' -'273','val_273','','','','' -'273','val_273','','','','' -'274','val_274','','','','' -'275','val_275','','','','' -'277','val_277','','','','' -'277','val_277','','','','' -'277','val_277','','','','' -'277','val_277','','','','' -'277','val_277','','','','' -'277','val_277','','','','' -'277','val_277','','','','' -'277','val_277','','','','' -'277','val_277','','','','' -'277','val_277','','','','' -'277','val_277','','','','' -'277','val_277','','','','' -'277','val_277','','','','' -'277','val_277','','','','' -'277','val_277','','','','' -'277','val_277','','','','' -'278','val_278','','','','' -'278','val_278','','','','' -'278','val_278','','','','' -'278','val_278','','','','' -'28','val_28','','','','' -'280','val_280','','','','' -'280','val_280','','','','' -'280','val_280','','','','' -'280','val_280','','','','' -'281','val_281','','','','' -'281','val_281','','','','' -'281','val_281','','','','' -'281','val_281','','','','' -'282','val_282','','','','' -'282','val_282','','','','' -'282','val_282','','','','' -'282','val_282','','','','' -'283','val_283','','','','' -'284','val_284','','','','' -'285','val_285','','','','' -'286','val_286','','','','' -'287','val_287','','','','' -'288','val_288','','','','' -'288','val_288','','','','' -'288','val_288','','','','' -'288','val_288','','','','' -'289','val_289','','','','' -'291','val_291','','','','' -'292','val_292','','','','' -'296','val_296','','','','' -'298','val_298','','','','' -'298','val_298','','','','' -'298','val_298','','','','' -'298','val_298','','','','' -'298','val_298','','','','' -'298','val_298','','','','' -'298','val_298','','','','' -'298','val_298','','','','' -'298','val_298','','','','' -'30','val_30','','','','' -'302','val_302','','','','' -'305','val_305','','','','' -'306','val_306','','','','' -'307','val_307','','','','' -'307','val_307','','','','' -'307','val_307','','','','' -'307','val_307','','','','' -'308','val_308','','','','' -'309','val_309','','','','' -'309','val_309','','','','' -'309','val_309','','','','' -'309','val_309','','','','' -'310','val_310','','','','' -'311','val_311','','','','' -'311','val_311','','','','' -'311','val_311','','','','' -'311','val_311','','','','' -'311','val_311','','','','' -'311','val_311','','','','' -'311','val_311','','','','' -'311','val_311','','','','' -'311','val_311','','','','' -'315','val_315','','','','' -'316','val_316','','','','' -'316','val_316','','','','' -'316','val_316','','','','' -'316','val_316','','','','' -'316','val_316','','','','' -'316','val_316','','','','' -'316','val_316','','','','' -'316','val_316','','','','' -'316','val_316','','','','' -'317','val_317','','','','' -'317','val_317','','','','' -'317','val_317','','','','' -'317','val_317','','','','' -'318','val_318','','','','' -'318','val_318','','','','' -'318','val_318','','','','' -'318','val_318','','','','' -'318','val_318','','','','' -'318','val_318','','','','' -'318','val_318','','','','' -'318','val_318','','','','' -'318','val_318','','','','' -'321','val_321','','','','' -'321','val_321','','','','' -'321','val_321','','','','' -'321','val_321','','','','' -'322','val_322','','','','' -'322','val_322','','','','' -'322','val_322','','','','' -'322','val_322','','','','' -'323','val_323','','','','' -'325','val_325','','','','' -'325','val_325','','','','' -'325','val_325','','','','' -'325','val_325','','','','' -'327','val_327','','','','' -'327','val_327','','','','' -'327','val_327','','','','' -'327','val_327','','','','' -'327','val_327','','','','' -'327','val_327','','','','' -'327','val_327','','','','' -'327','val_327','','','','' -'327','val_327','','','','' -'33','val_33','','','','' -'331','val_331','','','','' -'331','val_331','','','','' -'331','val_331','','','','' -'331','val_331','','','','' -'332','val_332','','','','' -'333','val_333','','','','' -'333','val_333','','','','' -'333','val_333','','','','' -'333','val_333','','','','' -'335','val_335','','','','' -'336','val_336','','','','' -'338','val_338','','','','' -'339','val_339','','','','' -'34','val_34','','','','' -'341','val_341','','','','' -'342','val_342','','','','' -'342','val_342','','','','' -'342','val_342','','','','' -'342','val_342','','','','' -'344','val_344','','','','' -'344','val_344','','','','' -'344','val_344','','','','' -'344','val_344','','','','' -'345','val_345','','','','' -'348','val_348','','','','' -'348','val_348','','','','' -'348','val_348','','','','' -'348','val_348','','','','' -'348','val_348','','','','' -'348','val_348','','','','' -'348','val_348','','','','' -'348','val_348','','','','' -'348','val_348','','','','' -'348','val_348','','','','' -'348','val_348','','','','' -'348','val_348','','','','' -'348','val_348','','','','' -'348','val_348','','','','' -'348','val_348','','','','' -'348','val_348','','','','' -'348','val_348','','','','' -'348','val_348','','','','' -'348','val_348','','','','' -'348','val_348','','','','' -'348','val_348','','','','' -'348','val_348','','','','' -'348','val_348','','','','' -'348','val_348','','','','' -'348','val_348','','','','' -'35','val_35','','','','' -'35','val_35','','','','' -'35','val_35','','','','' -'35','val_35','','','','' -'35','val_35','','','','' -'35','val_35','','','','' -'35','val_35','','','','' -'35','val_35','','','','' -'35','val_35','','','','' -'351','val_351','','','','' -'353','val_353','','','','' -'353','val_353','','','','' -'353','val_353','','','','' -'353','val_353','','','','' -'356','val_356','','','','' -'360','val_360','','','','' -'362','val_362','','','','' -'364','val_364','','','','' -'365','val_365','','','','' -'366','val_366','','','','' -'367','val_367','','','','' -'367','val_367','','','','' -'367','val_367','','','','' -'367','val_367','','','','' -'368','val_368','','','','' -'369','val_369','','','','' -'369','val_369','','','','' -'369','val_369','','','','' -'369','val_369','','','','' -'369','val_369','','','','' -'369','val_369','','','','' -'369','val_369','','','','' -'369','val_369','','','','' -'369','val_369','','','','' -'37','val_37','','','','' -'37','val_37','','','','' -'37','val_37','','','','' -'37','val_37','','','','' -'373','val_373','','','','' -'374','val_374','','','','' -'375','val_375','','','','' -'377','val_377','','','','' -'378','val_378','','','','' -'379','val_379','','','','' -'382','val_382','','','','' -'382','val_382','','','','' -'382','val_382','','','','' -'382','val_382','','','','' -'384','val_384','','','','' -'384','val_384','','','','' -'384','val_384','','','','' -'384','val_384','','','','' -'384','val_384','','','','' -'384','val_384','','','','' -'384','val_384','','','','' -'384','val_384','','','','' -'384','val_384','','','','' -'386','val_386','','','','' -'389','val_389','','','','' -'392','val_392','','','','' -'393','val_393','','','','' -'394','val_394','','','','' -'395','val_395','','','','' -'395','val_395','','','','' -'395','val_395','','','','' -'395','val_395','','','','' -'396','val_396','','','','' -'396','val_396','','','','' -'396','val_396','','','','' -'396','val_396','','','','' -'396','val_396','','','','' -'396','val_396','','','','' -'396','val_396','','','','' -'396','val_396','','','','' -'396','val_396','','','','' -'397','val_397','','','','' -'397','val_397','','','','' -'397','val_397','','','','' -'397','val_397','','','','' -'399','val_399','','','','' -'399','val_399','','','','' -'399','val_399','','','','' -'399','val_399','','','','' -'4','val_4','','','','' -'400','val_400','','','','' -'401','val_401','','','','' -'401','val_401','','','','' -'401','val_401','','','','' -'401','val_401','','','','' -'401','val_401','','','','' -'401','val_401','','','','' -'401','val_401','','','','' -'401','val_401','','','','' -'401','val_401','','','','' -'401','val_401','','','','' -'401','val_401','','','','' -'401','val_401','','','','' -'401','val_401','','','','' -'401','val_401','','','','' -'401','val_401','','','','' -'401','val_401','','','','' -'401','val_401','','','','' -'401','val_401','','','','' -'401','val_401','','','','' -'401','val_401','','','','' -'401','val_401','','','','' -'401','val_401','','','','' -'401','val_401','','','','' -'401','val_401','','','','' -'401','val_401','','','','' -'402','val_402','','','','' -'403','val_403','','','','' -'403','val_403','','','','' -'403','val_403','','','','' -'403','val_403','','','','' -'403','val_403','','','','' -'403','val_403','','','','' -'403','val_403','','','','' -'403','val_403','','','','' -'403','val_403','','','','' -'404','val_404','','','','' -'404','val_404','','','','' -'404','val_404','','','','' -'404','val_404','','','','' -'406','val_406','','','','' -'406','val_406','','','','' -'406','val_406','','','','' -'406','val_406','','','','' -'406','val_406','','','','' -'406','val_406','','','','' -'406','val_406','','','','' -'406','val_406','','','','' -'406','val_406','','','','' -'406','val_406','','','','' -'406','val_406','','','','' -'406','val_406','','','','' -'406','val_406','','','','' -'406','val_406','','','','' -'406','val_406','','','','' -'406','val_406','','','','' -'407','val_407','','','','' -'409','val_409','','','','' -'409','val_409','','','','' -'409','val_409','','','','' -'409','val_409','','','','' -'409','val_409','','','','' -'409','val_409','','','','' -'409','val_409','','','','' -'409','val_409','','','','' -'409','val_409','','','','' -'41','val_41','','','','' -'411','val_411','','','','' -'413','val_413','','','','' -'413','val_413','','','','' -'413','val_413','','','','' -'413','val_413','','','','' -'414','val_414','','','','' -'414','val_414','','','','' -'414','val_414','','','','' -'414','val_414','','','','' -'417','val_417','','','','' -'417','val_417','','','','' -'417','val_417','','','','' -'417','val_417','','','','' -'417','val_417','','','','' -'417','val_417','','','','' -'417','val_417','','','','' -'417','val_417','','','','' -'417','val_417','','','','' -'418','val_418','','','','' -'419','val_419','','','','' -'42','val_42','','','','' -'42','val_42','','','','' -'42','val_42','','','','' -'42','val_42','','','','' -'421','val_421','','','','' -'424','val_424','','','','' -'424','val_424','','','','' -'424','val_424','','','','' -'424','val_424','','','','' -'427','val_427','','','','' -'429','val_429','','','','' -'429','val_429','','','','' -'429','val_429','','','','' -'429','val_429','','','','' -'43','val_43','','','','' -'430','val_430','','','','' -'430','val_430','','','','' -'430','val_430','','','','' -'430','val_430','','','','' -'430','val_430','','','','' -'430','val_430','','','','' -'430','val_430','','','','' -'430','val_430','','','','' -'430','val_430','','','','' -'431','val_431','','','','' -'431','val_431','','','','' -'431','val_431','','','','' -'431','val_431','','','','' -'431','val_431','','','','' -'431','val_431','','','','' -'431','val_431','','','','' -'431','val_431','','','','' -'431','val_431','','','','' -'432','val_432','','','','' -'435','val_435','','','','' -'436','val_436','','','','' -'437','val_437','','','','' -'438','val_438','','','','' -'438','val_438','','','','' -'438','val_438','','','','' -'438','val_438','','','','' -'438','val_438','','','','' -'438','val_438','','','','' -'438','val_438','','','','' -'438','val_438','','','','' -'438','val_438','','','','' -'439','val_439','','','','' -'439','val_439','','','','' -'439','val_439','','','','' -'439','val_439','','','','' -'44','val_44','','','','' -'443','val_443','','','','' -'444','val_444','','','','' -'446','val_446','','','','' -'448','val_448','','','','' -'449','val_449','','','','' -'452','val_452','','','','' -'453','val_453','','','','' -'454','val_454','','','','' -'454','val_454','','','','' -'454','val_454','','','','' -'454','val_454','','','','' -'454','val_454','','','','' -'454','val_454','','','','' -'454','val_454','','','','' -'454','val_454','','','','' -'454','val_454','','','','' -'455','val_455','','','','' -'457','val_457','','','','' -'458','val_458','','','','' -'458','val_458','','','','' -'458','val_458','','','','' -'458','val_458','','','','' -'459','val_459','','','','' -'459','val_459','','','','' -'459','val_459','','','','' -'459','val_459','','','','' -'460','val_460','','','','' -'462','val_462','','','','' -'462','val_462','','','','' -'462','val_462','','','','' -'462','val_462','','','','' -'463','val_463','','','','' -'463','val_463','','','','' -'463','val_463','','','','' -'463','val_463','','','','' -'466','val_466','','','','' -'466','val_466','','','','' -'466','val_466','','','','' -'466','val_466','','','','' -'466','val_466','','','','' -'466','val_466','','','','' -'466','val_466','','','','' -'466','val_466','','','','' -'466','val_466','','','','' -'467','val_467','','','','' -'468','val_468','','','','' -'468','val_468','','','','' -'468','val_468','','','','' -'468','val_468','','','','' -'468','val_468','','','','' -'468','val_468','','','','' -'468','val_468','','','','' -'468','val_468','','','','' -'468','val_468','','','','' -'468','val_468','','','','' -'468','val_468','','','','' -'468','val_468','','','','' -'468','val_468','','','','' -'468','val_468','','','','' -'468','val_468','','','','' -'468','val_468','','','','' -'469','val_469','','','','' -'469','val_469','','','','' -'469','val_469','','','','' -'469','val_469','','','','' -'469','val_469','','','','' -'469','val_469','','','','' -'469','val_469','','','','' -'469','val_469','','','','' -'469','val_469','','','','' -'469','val_469','','','','' -'469','val_469','','','','' -'469','val_469','','','','' -'469','val_469','','','','' -'469','val_469','','','','' -'469','val_469','','','','' -'469','val_469','','','','' -'469','val_469','','','','' -'469','val_469','','','','' -'469','val_469','','','','' -'469','val_469','','','','' -'469','val_469','','','','' -'469','val_469','','','','' -'469','val_469','','','','' -'469','val_469','','','','' -'469','val_469','','','','' -'47','val_47','','','','' -'470','val_470','','','','' -'472','val_472','','','','' -'475','val_475','','','','' -'477','val_477','','','','' -'478','val_478','','','','' -'478','val_478','','','','' -'478','val_478','','','','' -'478','val_478','','','','' -'479','val_479','','','','' -'480','val_480','','','','' -'480','val_480','','','','' -'480','val_480','','','','' -'480','val_480','','','','' -'480','val_480','','','','' -'480','val_480','','','','' -'480','val_480','','','','' -'480','val_480','','','','' -'480','val_480','','','','' -'481','val_481','','','','' -'482','val_482','','','','' -'483','val_483','','','','' -'484','val_484','','','','' -'485','val_485','','','','' -'487','val_487','','','','' -'489','val_489','','','','' -'489','val_489','','','','' -'489','val_489','','','','' -'489','val_489','','','','' -'489','val_489','','','','' -'489','val_489','','','','' -'489','val_489','','','','' -'489','val_489','','','','' -'489','val_489','','','','' -'489','val_489','','','','' -'489','val_489','','','','' -'489','val_489','','','','' -'489','val_489','','','','' -'489','val_489','','','','' -'489','val_489','','','','' -'489','val_489','','','','' -'490','val_490','','','','' -'491','val_491','','','','' -'492','val_492','','','','' -'492','val_492','','','','' -'492','val_492','','','','' -'492','val_492','','','','' -'493','val_493','','','','' -'494','val_494','','','','' -'495','val_495','','','','' -'496','val_496','','','','' -'497','val_497','','','','' -'498','val_498','','','','' -'498','val_498','','','','' -'498','val_498','','','','' -'498','val_498','','','','' -'498','val_498','','','','' -'498','val_498','','','','' -'498','val_498','','','','' -'498','val_498','','','','' -'498','val_498','','','','' -'5','val_5','','','','' -'5','val_5','','','','' -'5','val_5','','','','' -'51','val_51','','','','' -'51','val_51','','','','' -'51','val_51','','','','' -'51','val_51','','','','' -'53','val_53','','','','' -'54','val_54','','','','' -'57','val_57','','','','' -'58','val_58','','','','' -'58','val_58','','','','' -'58','val_58','','','','' -'58','val_58','','','','' -'64','val_64','','','','' -'65','val_65','','','','' -'66','val_66','','','','' -'67','val_67','','','','' -'67','val_67','','','','' -'67','val_67','','','','' -'67','val_67','','','','' -'69','val_69','','','','' -'70','val_70','','','','' -'70','val_70','','','','' -'70','val_70','','','','' -'70','val_70','','','','' -'70','val_70','','','','' -'70','val_70','','','','' -'70','val_70','','','','' -'70','val_70','','','','' -'70','val_70','','','','' -'72','val_72','','','','' -'72','val_72','','','','' -'72','val_72','','','','' -'72','val_72','','','','' -'74','val_74','','','','' -'76','val_76','','','','' -'76','val_76','','','','' -'76','val_76','','','','' -'76','val_76','','','','' -'77','val_77','','','','' -'78','val_78','','','','' -'8','val_8','','','','' -'80','val_80','','','','' -'82','val_82','','','','' -'83','val_83','','','','' -'83','val_83','','','','' -'83','val_83','','','','' -'83','val_83','','','','' -'84','val_84','','','','' -'84','val_84','','','','' -'84','val_84','','','','' -'84','val_84','','','','' -'85','val_85','','','','' -'86','val_86','','','','' -'87','val_87','','','','' -'9','val_9','','','','' -'90','val_90','','','','' -'90','val_90','','','','' -'90','val_90','','','','' -'90','val_90','','','','' -'90','val_90','','','','' -'90','val_90','','','','' -'90','val_90','','','','' -'90','val_90','','','','' -'90','val_90','','','','' -'92','val_92','','','','' -'95','val_95','','','','' -'95','val_95','','','','' -'95','val_95','','','','' -'95','val_95','','','','' -'96','val_96','','','','' -'97','val_97','','','','' -'97','val_97','','','','' -'97','val_97','','','','' -'97','val_97','','','','' -'98','val_98','','','','' -'98','val_98','','','','' -'98','val_98','','','','' -'98','val_98','','','','' -1,016 rows selected ->>> ->>> explain -SELECT * FROM src src1 RIGHT OUTER JOIN src src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key > 10) LEFT OUTER JOIN src src3 ON (src2.key = src3.key AND src3.key < 10) SORT BY src1.key, src1.value, src2.key, src2.value, src3.key, src3.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_RIGHTOUTERJOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2) (AND (AND (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)) (< (. (TOK_TABLE_OR_COL src1) key) 10)) (> (. (TOK_TABLE_OR_COL src2) key) 10))) (TOK_TABREF (TOK_TABNAME src) src3) (AND (= (. (TOK_TABLE_OR_COL src2) key) (. (TOK_TABLE_OR_COL src3) key)) (< (. (TOK_TABLE_OR_COL src3) key) 10)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-6 is a root stage , consists of Stage-7, Stage-1' -' Stage-7 has a backup stage: Stage-1' -' Stage-5 depends on stages: Stage-7' -' Stage-2 depends on stages: Stage-1, Stage-5' -' Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-6' -' Conditional Operator' -'' -' Stage: Stage-7' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src1 ' -' Fetch Operator' -' limit: -1' -' src3 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: (key < 10)' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 ' -' 1 {(key > 10)}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 1' -' src3 ' -' TableScan' -' alias: src3' -' Filter Operator' -' predicate:' -' expr: (key < 10)' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 ' -' 1 {(key > 10)}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src2 ' -' TableScan' -' alias: src2' -' Map Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' Left Outer Join1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 ' -' 1 {(key > 10)}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' sort order: ++++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: (key < 10)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src3 ' -' TableScan' -' alias: src3' -' Filter Operator' -' predicate:' -' expr: (key < 10)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 2' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' Left Outer Join1 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' filter predicates:' -' 0 ' -' 1 {(VALUE._col0 > 10)}' -' 2 ' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -265 rows selected ->>> ->>> SELECT * FROM src src1 RIGHT OUTER JOIN src src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key > 10) LEFT OUTER JOIN src src3 ON (src2.key = src3.key AND src3.key < 10) SORT BY src1.key, src1.value, src2.key, src2.value, src3.key, src3.value; -'key','value','key','value','key','value' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','10','val_10','','' -'','','100','val_100','','' -'','','100','val_100','','' -'','','103','val_103','','' -'','','103','val_103','','' -'','','104','val_104','','' -'','','104','val_104','','' -'','','105','val_105','','' -'','','11','val_11','','' -'','','111','val_111','','' -'','','113','val_113','','' -'','','113','val_113','','' -'','','114','val_114','','' -'','','116','val_116','','' -'','','118','val_118','','' -'','','118','val_118','','' -'','','119','val_119','','' -'','','119','val_119','','' -'','','119','val_119','','' -'','','12','val_12','','' -'','','12','val_12','','' -'','','120','val_120','','' -'','','120','val_120','','' -'','','125','val_125','','' -'','','125','val_125','','' -'','','126','val_126','','' -'','','128','val_128','','' -'','','128','val_128','','' -'','','128','val_128','','' -'','','129','val_129','','' -'','','129','val_129','','' -'','','131','val_131','','' -'','','133','val_133','','' -'','','134','val_134','','' -'','','134','val_134','','' -'','','136','val_136','','' -'','','137','val_137','','' -'','','137','val_137','','' -'','','138','val_138','','' -'','','138','val_138','','' -'','','138','val_138','','' -'','','138','val_138','','' -'','','143','val_143','','' -'','','145','val_145','','' -'','','146','val_146','','' -'','','146','val_146','','' -'','','149','val_149','','' -'','','149','val_149','','' -'','','15','val_15','','' -'','','15','val_15','','' -'','','150','val_150','','' -'','','152','val_152','','' -'','','152','val_152','','' -'','','153','val_153','','' -'','','155','val_155','','' -'','','156','val_156','','' -'','','157','val_157','','' -'','','158','val_158','','' -'','','160','val_160','','' -'','','162','val_162','','' -'','','163','val_163','','' -'','','164','val_164','','' -'','','164','val_164','','' -'','','165','val_165','','' -'','','165','val_165','','' -'','','166','val_166','','' -'','','167','val_167','','' -'','','167','val_167','','' -'','','167','val_167','','' -'','','168','val_168','','' -'','','169','val_169','','' -'','','169','val_169','','' -'','','169','val_169','','' -'','','169','val_169','','' -'','','17','val_17','','' -'','','170','val_170','','' -'','','172','val_172','','' -'','','172','val_172','','' -'','','174','val_174','','' -'','','174','val_174','','' -'','','175','val_175','','' -'','','175','val_175','','' -'','','176','val_176','','' -'','','176','val_176','','' -'','','177','val_177','','' -'','','178','val_178','','' -'','','179','val_179','','' -'','','179','val_179','','' -'','','18','val_18','','' -'','','18','val_18','','' -'','','180','val_180','','' -'','','181','val_181','','' -'','','183','val_183','','' -'','','186','val_186','','' -'','','187','val_187','','' -'','','187','val_187','','' -'','','187','val_187','','' -'','','189','val_189','','' -'','','19','val_19','','' -'','','190','val_190','','' -'','','191','val_191','','' -'','','191','val_191','','' -'','','192','val_192','','' -'','','193','val_193','','' -'','','193','val_193','','' -'','','193','val_193','','' -'','','194','val_194','','' -'','','195','val_195','','' -'','','195','val_195','','' -'','','196','val_196','','' -'','','197','val_197','','' -'','','197','val_197','','' -'','','199','val_199','','' -'','','199','val_199','','' -'','','199','val_199','','' -'','','2','val_2','2','val_2' -'','','20','val_20','','' -'','','200','val_200','','' -'','','200','val_200','','' -'','','201','val_201','','' -'','','202','val_202','','' -'','','203','val_203','','' -'','','203','val_203','','' -'','','205','val_205','','' -'','','205','val_205','','' -'','','207','val_207','','' -'','','207','val_207','','' -'','','208','val_208','','' -'','','208','val_208','','' -'','','208','val_208','','' -'','','209','val_209','','' -'','','209','val_209','','' -'','','213','val_213','','' -'','','213','val_213','','' -'','','214','val_214','','' -'','','216','val_216','','' -'','','216','val_216','','' -'','','217','val_217','','' -'','','217','val_217','','' -'','','218','val_218','','' -'','','219','val_219','','' -'','','219','val_219','','' -'','','221','val_221','','' -'','','221','val_221','','' -'','','222','val_222','','' -'','','223','val_223','','' -'','','223','val_223','','' -'','','224','val_224','','' -'','','224','val_224','','' -'','','226','val_226','','' -'','','228','val_228','','' -'','','229','val_229','','' -'','','229','val_229','','' -'','','230','val_230','','' -'','','230','val_230','','' -'','','230','val_230','','' -'','','230','val_230','','' -'','','230','val_230','','' -'','','233','val_233','','' -'','','233','val_233','','' -'','','235','val_235','','' -'','','237','val_237','','' -'','','237','val_237','','' -'','','238','val_238','','' -'','','238','val_238','','' -'','','239','val_239','','' -'','','239','val_239','','' -'','','24','val_24','','' -'','','24','val_24','','' -'','','241','val_241','','' -'','','242','val_242','','' -'','','242','val_242','','' -'','','244','val_244','','' -'','','247','val_247','','' -'','','248','val_248','','' -'','','249','val_249','','' -'','','252','val_252','','' -'','','255','val_255','','' -'','','255','val_255','','' -'','','256','val_256','','' -'','','256','val_256','','' -'','','257','val_257','','' -'','','258','val_258','','' -'','','26','val_26','','' -'','','26','val_26','','' -'','','260','val_260','','' -'','','262','val_262','','' -'','','263','val_263','','' -'','','265','val_265','','' -'','','265','val_265','','' -'','','266','val_266','','' -'','','27','val_27','','' -'','','272','val_272','','' -'','','272','val_272','','' -'','','273','val_273','','' -'','','273','val_273','','' -'','','273','val_273','','' -'','','274','val_274','','' -'','','275','val_275','','' -'','','277','val_277','','' -'','','277','val_277','','' -'','','277','val_277','','' -'','','277','val_277','','' -'','','278','val_278','','' -'','','278','val_278','','' -'','','28','val_28','','' -'','','280','val_280','','' -'','','280','val_280','','' -'','','281','val_281','','' -'','','281','val_281','','' -'','','282','val_282','','' -'','','282','val_282','','' -'','','283','val_283','','' -'','','284','val_284','','' -'','','285','val_285','','' -'','','286','val_286','','' -'','','287','val_287','','' -'','','288','val_288','','' -'','','288','val_288','','' -'','','289','val_289','','' -'','','291','val_291','','' -'','','292','val_292','','' -'','','296','val_296','','' -'','','298','val_298','','' -'','','298','val_298','','' -'','','298','val_298','','' -'','','30','val_30','','' -'','','302','val_302','','' -'','','305','val_305','','' -'','','306','val_306','','' -'','','307','val_307','','' -'','','307','val_307','','' -'','','308','val_308','','' -'','','309','val_309','','' -'','','309','val_309','','' -'','','310','val_310','','' -'','','311','val_311','','' -'','','311','val_311','','' -'','','311','val_311','','' -'','','315','val_315','','' -'','','316','val_316','','' -'','','316','val_316','','' -'','','316','val_316','','' -'','','317','val_317','','' -'','','317','val_317','','' -'','','318','val_318','','' -'','','318','val_318','','' -'','','318','val_318','','' -'','','321','val_321','','' -'','','321','val_321','','' -'','','322','val_322','','' -'','','322','val_322','','' -'','','323','val_323','','' -'','','325','val_325','','' -'','','325','val_325','','' -'','','327','val_327','','' -'','','327','val_327','','' -'','','327','val_327','','' -'','','33','val_33','','' -'','','331','val_331','','' -'','','331','val_331','','' -'','','332','val_332','','' -'','','333','val_333','','' -'','','333','val_333','','' -'','','335','val_335','','' -'','','336','val_336','','' -'','','338','val_338','','' -'','','339','val_339','','' -'','','34','val_34','','' -'','','341','val_341','','' -'','','342','val_342','','' -'','','342','val_342','','' -'','','344','val_344','','' -'','','344','val_344','','' -'','','345','val_345','','' -'','','348','val_348','','' -'','','348','val_348','','' -'','','348','val_348','','' -'','','348','val_348','','' -'','','348','val_348','','' -'','','35','val_35','','' -'','','35','val_35','','' -'','','35','val_35','','' -'','','351','val_351','','' -'','','353','val_353','','' -'','','353','val_353','','' -'','','356','val_356','','' -'','','360','val_360','','' -'','','362','val_362','','' -'','','364','val_364','','' -'','','365','val_365','','' -'','','366','val_366','','' -'','','367','val_367','','' -'','','367','val_367','','' -'','','368','val_368','','' -'','','369','val_369','','' -'','','369','val_369','','' -'','','369','val_369','','' -'','','37','val_37','','' -'','','37','val_37','','' -'','','373','val_373','','' -'','','374','val_374','','' -'','','375','val_375','','' -'','','377','val_377','','' -'','','378','val_378','','' -'','','379','val_379','','' -'','','382','val_382','','' -'','','382','val_382','','' -'','','384','val_384','','' -'','','384','val_384','','' -'','','384','val_384','','' -'','','386','val_386','','' -'','','389','val_389','','' -'','','392','val_392','','' -'','','393','val_393','','' -'','','394','val_394','','' -'','','395','val_395','','' -'','','395','val_395','','' -'','','396','val_396','','' -'','','396','val_396','','' -'','','396','val_396','','' -'','','397','val_397','','' -'','','397','val_397','','' -'','','399','val_399','','' -'','','399','val_399','','' -'','','4','val_4','4','val_4' -'','','400','val_400','','' -'','','401','val_401','','' -'','','401','val_401','','' -'','','401','val_401','','' -'','','401','val_401','','' -'','','401','val_401','','' -'','','402','val_402','','' -'','','403','val_403','','' -'','','403','val_403','','' -'','','403','val_403','','' -'','','404','val_404','','' -'','','404','val_404','','' -'','','406','val_406','','' -'','','406','val_406','','' -'','','406','val_406','','' -'','','406','val_406','','' -'','','407','val_407','','' -'','','409','val_409','','' -'','','409','val_409','','' -'','','409','val_409','','' -'','','41','val_41','','' -'','','411','val_411','','' -'','','413','val_413','','' -'','','413','val_413','','' -'','','414','val_414','','' -'','','414','val_414','','' -'','','417','val_417','','' -'','','417','val_417','','' -'','','417','val_417','','' -'','','418','val_418','','' -'','','419','val_419','','' -'','','42','val_42','','' -'','','42','val_42','','' -'','','421','val_421','','' -'','','424','val_424','','' -'','','424','val_424','','' -'','','427','val_427','','' -'','','429','val_429','','' -'','','429','val_429','','' -'','','43','val_43','','' -'','','430','val_430','','' -'','','430','val_430','','' -'','','430','val_430','','' -'','','431','val_431','','' -'','','431','val_431','','' -'','','431','val_431','','' -'','','432','val_432','','' -'','','435','val_435','','' -'','','436','val_436','','' -'','','437','val_437','','' -'','','438','val_438','','' -'','','438','val_438','','' -'','','438','val_438','','' -'','','439','val_439','','' -'','','439','val_439','','' -'','','44','val_44','','' -'','','443','val_443','','' -'','','444','val_444','','' -'','','446','val_446','','' -'','','448','val_448','','' -'','','449','val_449','','' -'','','452','val_452','','' -'','','453','val_453','','' -'','','454','val_454','','' -'','','454','val_454','','' -'','','454','val_454','','' -'','','455','val_455','','' -'','','457','val_457','','' -'','','458','val_458','','' -'','','458','val_458','','' -'','','459','val_459','','' -'','','459','val_459','','' -'','','460','val_460','','' -'','','462','val_462','','' -'','','462','val_462','','' -'','','463','val_463','','' -'','','463','val_463','','' -'','','466','val_466','','' -'','','466','val_466','','' -'','','466','val_466','','' -'','','467','val_467','','' -'','','468','val_468','','' -'','','468','val_468','','' -'','','468','val_468','','' -'','','468','val_468','','' -'','','469','val_469','','' -'','','469','val_469','','' -'','','469','val_469','','' -'','','469','val_469','','' -'','','469','val_469','','' -'','','47','val_47','','' -'','','470','val_470','','' -'','','472','val_472','','' -'','','475','val_475','','' -'','','477','val_477','','' -'','','478','val_478','','' -'','','478','val_478','','' -'','','479','val_479','','' -'','','480','val_480','','' -'','','480','val_480','','' -'','','480','val_480','','' -'','','481','val_481','','' -'','','482','val_482','','' -'','','483','val_483','','' -'','','484','val_484','','' -'','','485','val_485','','' -'','','487','val_487','','' -'','','489','val_489','','' -'','','489','val_489','','' -'','','489','val_489','','' -'','','489','val_489','','' -'','','490','val_490','','' -'','','491','val_491','','' -'','','492','val_492','','' -'','','492','val_492','','' -'','','493','val_493','','' -'','','494','val_494','','' -'','','495','val_495','','' -'','','496','val_496','','' -'','','497','val_497','','' -'','','498','val_498','','' -'','','498','val_498','','' -'','','498','val_498','','' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','51','val_51','','' -'','','51','val_51','','' -'','','53','val_53','','' -'','','54','val_54','','' -'','','57','val_57','','' -'','','58','val_58','','' -'','','58','val_58','','' -'','','64','val_64','','' -'','','65','val_65','','' -'','','66','val_66','','' -'','','67','val_67','','' -'','','67','val_67','','' -'','','69','val_69','','' -'','','70','val_70','','' -'','','70','val_70','','' -'','','70','val_70','','' -'','','72','val_72','','' -'','','72','val_72','','' -'','','74','val_74','','' -'','','76','val_76','','' -'','','76','val_76','','' -'','','77','val_77','','' -'','','78','val_78','','' -'','','8','val_8','8','val_8' -'','','80','val_80','','' -'','','82','val_82','','' -'','','83','val_83','','' -'','','83','val_83','','' -'','','84','val_84','','' -'','','84','val_84','','' -'','','85','val_85','','' -'','','86','val_86','','' -'','','87','val_87','','' -'','','9','val_9','9','val_9' -'','','90','val_90','','' -'','','90','val_90','','' -'','','90','val_90','','' -'','','92','val_92','','' -'','','95','val_95','','' -'','','95','val_95','','' -'','','96','val_96','','' -'','','97','val_97','','' -'','','97','val_97','','' -'','','98','val_98','','' -'','','98','val_98','','' -548 rows selected ->>> ->>> explain -SELECT * FROM src src1 RIGHT OUTER JOIN src src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key > 10) RIGHT OUTER JOIN src src3 ON (src2.key = src3.key AND src3.key < 10) SORT BY src1.key, src1.value, src2.key, src2.value, src3.key, src3.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_RIGHTOUTERJOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2) (AND (AND (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)) (< (. (TOK_TABLE_OR_COL src1) key) 10)) (> (. (TOK_TABLE_OR_COL src2) key) 10))) (TOK_TABREF (TOK_TABNAME src) src3) (AND (= (. (TOK_TABLE_OR_COL src2) key) (. (TOK_TABLE_OR_COL src3) key)) (< (. (TOK_TABLE_OR_COL src3) key) 10)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-6 is a root stage , consists of Stage-7, Stage-1' -' Stage-7 has a backup stage: Stage-1' -' Stage-5 depends on stages: Stage-7' -' Stage-2 depends on stages: Stage-1, Stage-5' -' Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-6' -' Conditional Operator' -'' -' Stage: Stage-7' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src1 ' -' Fetch Operator' -' limit: -1' -' src2 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: (key < 10)' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 ' -' 1 {(key > 10)}' -' 2 {(key < 10)}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 2' -' src2 ' -' TableScan' -' alias: src2' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 ' -' 1 {(key > 10)}' -' 2 {(key < 10)}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 2' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src3 ' -' TableScan' -' alias: src3' -' Map Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' Right Outer Join1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 ' -' 1 {(key > 10)}' -' 2 {(key < 10)}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' sort order: ++++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: (key < 10)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src3 ' -' TableScan' -' alias: src3' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 2' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' Right Outer Join1 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' filter predicates:' -' 0 ' -' 1 {(VALUE._col0 > 10)}' -' 2 {(VALUE._col0 < 10)}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -257 rows selected ->>> ->>> SELECT * FROM src src1 RIGHT OUTER JOIN src src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key > 10) RIGHT OUTER JOIN src src3 ON (src2.key = src3.key AND src3.key < 10) SORT BY src1.key, src1.value, src2.key, src2.value, src3.key, src3.value; -'key','value','key','value','key','value' -'','','','','10','val_10' -'','','','','100','val_100' -'','','','','100','val_100' -'','','','','100','val_100' -'','','','','100','val_100' -'','','','','103','val_103' -'','','','','103','val_103' -'','','','','103','val_103' -'','','','','103','val_103' -'','','','','104','val_104' -'','','','','104','val_104' -'','','','','104','val_104' -'','','','','104','val_104' -'','','','','105','val_105' -'','','','','11','val_11' -'','','','','111','val_111' -'','','','','113','val_113' -'','','','','113','val_113' -'','','','','113','val_113' -'','','','','113','val_113' -'','','','','114','val_114' -'','','','','116','val_116' -'','','','','118','val_118' -'','','','','118','val_118' -'','','','','118','val_118' -'','','','','118','val_118' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','12','val_12' -'','','','','12','val_12' -'','','','','12','val_12' -'','','','','12','val_12' -'','','','','120','val_120' -'','','','','120','val_120' -'','','','','120','val_120' -'','','','','120','val_120' -'','','','','125','val_125' -'','','','','125','val_125' -'','','','','125','val_125' -'','','','','125','val_125' -'','','','','126','val_126' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','129','val_129' -'','','','','129','val_129' -'','','','','129','val_129' -'','','','','129','val_129' -'','','','','131','val_131' -'','','','','133','val_133' -'','','','','134','val_134' -'','','','','134','val_134' -'','','','','134','val_134' -'','','','','134','val_134' -'','','','','136','val_136' -'','','','','137','val_137' -'','','','','137','val_137' -'','','','','137','val_137' -'','','','','137','val_137' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','143','val_143' -'','','','','145','val_145' -'','','','','146','val_146' -'','','','','146','val_146' -'','','','','146','val_146' -'','','','','146','val_146' -'','','','','149','val_149' -'','','','','149','val_149' -'','','','','149','val_149' -'','','','','149','val_149' -'','','','','15','val_15' -'','','','','15','val_15' -'','','','','15','val_15' -'','','','','15','val_15' -'','','','','150','val_150' -'','','','','152','val_152' -'','','','','152','val_152' -'','','','','152','val_152' -'','','','','152','val_152' -'','','','','153','val_153' -'','','','','155','val_155' -'','','','','156','val_156' -'','','','','157','val_157' -'','','','','158','val_158' -'','','','','160','val_160' -'','','','','162','val_162' -'','','','','163','val_163' -'','','','','164','val_164' -'','','','','164','val_164' -'','','','','164','val_164' -'','','','','164','val_164' -'','','','','165','val_165' -'','','','','165','val_165' -'','','','','165','val_165' -'','','','','165','val_165' -'','','','','166','val_166' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','168','val_168' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','17','val_17' -'','','','','170','val_170' -'','','','','172','val_172' -'','','','','172','val_172' -'','','','','172','val_172' -'','','','','172','val_172' -'','','','','174','val_174' -'','','','','174','val_174' -'','','','','174','val_174' -'','','','','174','val_174' -'','','','','175','val_175' -'','','','','175','val_175' -'','','','','175','val_175' -'','','','','175','val_175' -'','','','','176','val_176' -'','','','','176','val_176' -'','','','','176','val_176' -'','','','','176','val_176' -'','','','','177','val_177' -'','','','','178','val_178' -'','','','','179','val_179' -'','','','','179','val_179' -'','','','','179','val_179' -'','','','','179','val_179' -'','','','','18','val_18' -'','','','','18','val_18' -'','','','','18','val_18' -'','','','','18','val_18' -'','','','','180','val_180' -'','','','','181','val_181' -'','','','','183','val_183' -'','','','','186','val_186' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','189','val_189' -'','','','','19','val_19' -'','','','','190','val_190' -'','','','','191','val_191' -'','','','','191','val_191' -'','','','','191','val_191' -'','','','','191','val_191' -'','','','','192','val_192' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','194','val_194' -'','','','','195','val_195' -'','','','','195','val_195' -'','','','','195','val_195' -'','','','','195','val_195' -'','','','','196','val_196' -'','','','','197','val_197' -'','','','','197','val_197' -'','','','','197','val_197' -'','','','','197','val_197' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','20','val_20' -'','','','','200','val_200' -'','','','','200','val_200' -'','','','','200','val_200' -'','','','','200','val_200' -'','','','','201','val_201' -'','','','','202','val_202' -'','','','','203','val_203' -'','','','','203','val_203' -'','','','','203','val_203' -'','','','','203','val_203' -'','','','','205','val_205' -'','','','','205','val_205' -'','','','','205','val_205' -'','','','','205','val_205' -'','','','','207','val_207' -'','','','','207','val_207' -'','','','','207','val_207' -'','','','','207','val_207' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','209','val_209' -'','','','','209','val_209' -'','','','','209','val_209' -'','','','','209','val_209' -'','','','','213','val_213' -'','','','','213','val_213' -'','','','','213','val_213' -'','','','','213','val_213' -'','','','','214','val_214' -'','','','','216','val_216' -'','','','','216','val_216' -'','','','','216','val_216' -'','','','','216','val_216' -'','','','','217','val_217' -'','','','','217','val_217' -'','','','','217','val_217' -'','','','','217','val_217' -'','','','','218','val_218' -'','','','','219','val_219' -'','','','','219','val_219' -'','','','','219','val_219' -'','','','','219','val_219' -'','','','','221','val_221' -'','','','','221','val_221' -'','','','','221','val_221' -'','','','','221','val_221' -'','','','','222','val_222' -'','','','','223','val_223' -'','','','','223','val_223' -'','','','','223','val_223' -'','','','','223','val_223' -'','','','','224','val_224' -'','','','','224','val_224' -'','','','','224','val_224' -'','','','','224','val_224' -'','','','','226','val_226' -'','','','','228','val_228' -'','','','','229','val_229' -'','','','','229','val_229' -'','','','','229','val_229' -'','','','','229','val_229' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','233','val_233' -'','','','','233','val_233' -'','','','','233','val_233' -'','','','','233','val_233' -'','','','','235','val_235' -'','','','','237','val_237' -'','','','','237','val_237' -'','','','','237','val_237' -'','','','','237','val_237' -'','','','','238','val_238' -'','','','','238','val_238' -'','','','','238','val_238' -'','','','','238','val_238' -'','','','','239','val_239' -'','','','','239','val_239' -'','','','','239','val_239' -'','','','','239','val_239' -'','','','','24','val_24' -'','','','','24','val_24' -'','','','','24','val_24' -'','','','','24','val_24' -'','','','','241','val_241' -'','','','','242','val_242' -'','','','','242','val_242' -'','','','','242','val_242' -'','','','','242','val_242' -'','','','','244','val_244' -'','','','','247','val_247' -'','','','','248','val_248' -'','','','','249','val_249' -'','','','','252','val_252' -'','','','','255','val_255' -'','','','','255','val_255' -'','','','','255','val_255' -'','','','','255','val_255' -'','','','','256','val_256' -'','','','','256','val_256' -'','','','','256','val_256' -'','','','','256','val_256' -'','','','','257','val_257' -'','','','','258','val_258' -'','','','','26','val_26' -'','','','','26','val_26' -'','','','','26','val_26' -'','','','','26','val_26' -'','','','','260','val_260' -'','','','','262','val_262' -'','','','','263','val_263' -'','','','','265','val_265' -'','','','','265','val_265' -'','','','','265','val_265' -'','','','','265','val_265' -'','','','','266','val_266' -'','','','','27','val_27' -'','','','','272','val_272' -'','','','','272','val_272' -'','','','','272','val_272' -'','','','','272','val_272' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','274','val_274' -'','','','','275','val_275' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','278','val_278' -'','','','','278','val_278' -'','','','','278','val_278' -'','','','','278','val_278' -'','','','','28','val_28' -'','','','','280','val_280' -'','','','','280','val_280' -'','','','','280','val_280' -'','','','','280','val_280' -'','','','','281','val_281' -'','','','','281','val_281' -'','','','','281','val_281' -'','','','','281','val_281' -'','','','','282','val_282' -'','','','','282','val_282' -'','','','','282','val_282' -'','','','','282','val_282' -'','','','','283','val_283' -'','','','','284','val_284' -'','','','','285','val_285' -'','','','','286','val_286' -'','','','','287','val_287' -'','','','','288','val_288' -'','','','','288','val_288' -'','','','','288','val_288' -'','','','','288','val_288' -'','','','','289','val_289' -'','','','','291','val_291' -'','','','','292','val_292' -'','','','','296','val_296' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','30','val_30' -'','','','','302','val_302' -'','','','','305','val_305' -'','','','','306','val_306' -'','','','','307','val_307' -'','','','','307','val_307' -'','','','','307','val_307' -'','','','','307','val_307' -'','','','','308','val_308' -'','','','','309','val_309' -'','','','','309','val_309' -'','','','','309','val_309' -'','','','','309','val_309' -'','','','','310','val_310' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','315','val_315' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','317','val_317' -'','','','','317','val_317' -'','','','','317','val_317' -'','','','','317','val_317' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','321','val_321' -'','','','','321','val_321' -'','','','','321','val_321' -'','','','','321','val_321' -'','','','','322','val_322' -'','','','','322','val_322' -'','','','','322','val_322' -'','','','','322','val_322' -'','','','','323','val_323' -'','','','','325','val_325' -'','','','','325','val_325' -'','','','','325','val_325' -'','','','','325','val_325' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','33','val_33' -'','','','','331','val_331' -'','','','','331','val_331' -'','','','','331','val_331' -'','','','','331','val_331' -'','','','','332','val_332' -'','','','','333','val_333' -'','','','','333','val_333' -'','','','','333','val_333' -'','','','','333','val_333' -'','','','','335','val_335' -'','','','','336','val_336' -'','','','','338','val_338' -'','','','','339','val_339' -'','','','','34','val_34' -'','','','','341','val_341' -'','','','','342','val_342' -'','','','','342','val_342' -'','','','','342','val_342' -'','','','','342','val_342' -'','','','','344','val_344' -'','','','','344','val_344' -'','','','','344','val_344' -'','','','','344','val_344' -'','','','','345','val_345' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','351','val_351' -'','','','','353','val_353' -'','','','','353','val_353' -'','','','','353','val_353' -'','','','','353','val_353' -'','','','','356','val_356' -'','','','','360','val_360' -'','','','','362','val_362' -'','','','','364','val_364' -'','','','','365','val_365' -'','','','','366','val_366' -'','','','','367','val_367' -'','','','','367','val_367' -'','','','','367','val_367' -'','','','','367','val_367' -'','','','','368','val_368' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','37','val_37' -'','','','','37','val_37' -'','','','','37','val_37' -'','','','','37','val_37' -'','','','','373','val_373' -'','','','','374','val_374' -'','','','','375','val_375' -'','','','','377','val_377' -'','','','','378','val_378' -'','','','','379','val_379' -'','','','','382','val_382' -'','','','','382','val_382' -'','','','','382','val_382' -'','','','','382','val_382' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','386','val_386' -'','','','','389','val_389' -'','','','','392','val_392' -'','','','','393','val_393' -'','','','','394','val_394' -'','','','','395','val_395' -'','','','','395','val_395' -'','','','','395','val_395' -'','','','','395','val_395' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','397','val_397' -'','','','','397','val_397' -'','','','','397','val_397' -'','','','','397','val_397' -'','','','','399','val_399' -'','','','','399','val_399' -'','','','','399','val_399' -'','','','','399','val_399' -'','','','','400','val_400' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','402','val_402' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','404','val_404' -'','','','','404','val_404' -'','','','','404','val_404' -'','','','','404','val_404' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','407','val_407' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','41','val_41' -'','','','','411','val_411' -'','','','','413','val_413' -'','','','','413','val_413' -'','','','','413','val_413' -'','','','','413','val_413' -'','','','','414','val_414' -'','','','','414','val_414' -'','','','','414','val_414' -'','','','','414','val_414' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','418','val_418' -'','','','','419','val_419' -'','','','','42','val_42' -'','','','','42','val_42' -'','','','','42','val_42' -'','','','','42','val_42' -'','','','','421','val_421' -'','','','','424','val_424' -'','','','','424','val_424' -'','','','','424','val_424' -'','','','','424','val_424' -'','','','','427','val_427' -'','','','','429','val_429' -'','','','','429','val_429' -'','','','','429','val_429' -'','','','','429','val_429' -'','','','','43','val_43' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','432','val_432' -'','','','','435','val_435' -'','','','','436','val_436' -'','','','','437','val_437' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','439','val_439' -'','','','','439','val_439' -'','','','','439','val_439' -'','','','','439','val_439' -'','','','','44','val_44' -'','','','','443','val_443' -'','','','','444','val_444' -'','','','','446','val_446' -'','','','','448','val_448' -'','','','','449','val_449' -'','','','','452','val_452' -'','','','','453','val_453' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','455','val_455' -'','','','','457','val_457' -'','','','','458','val_458' -'','','','','458','val_458' -'','','','','458','val_458' -'','','','','458','val_458' -'','','','','459','val_459' -'','','','','459','val_459' -'','','','','459','val_459' -'','','','','459','val_459' -'','','','','460','val_460' -'','','','','462','val_462' -'','','','','462','val_462' -'','','','','462','val_462' -'','','','','462','val_462' -'','','','','463','val_463' -'','','','','463','val_463' -'','','','','463','val_463' -'','','','','463','val_463' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','467','val_467' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','47','val_47' -'','','','','470','val_470' -'','','','','472','val_472' -'','','','','475','val_475' -'','','','','477','val_477' -'','','','','478','val_478' -'','','','','478','val_478' -'','','','','478','val_478' -'','','','','478','val_478' -'','','','','479','val_479' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','481','val_481' -'','','','','482','val_482' -'','','','','483','val_483' -'','','','','484','val_484' -'','','','','485','val_485' -'','','','','487','val_487' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','490','val_490' -'','','','','491','val_491' -'','','','','492','val_492' -'','','','','492','val_492' -'','','','','492','val_492' -'','','','','492','val_492' -'','','','','493','val_493' -'','','','','494','val_494' -'','','','','495','val_495' -'','','','','496','val_496' -'','','','','497','val_497' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','51','val_51' -'','','','','51','val_51' -'','','','','51','val_51' -'','','','','51','val_51' -'','','','','53','val_53' -'','','','','54','val_54' -'','','','','57','val_57' -'','','','','58','val_58' -'','','','','58','val_58' -'','','','','58','val_58' -'','','','','58','val_58' -'','','','','64','val_64' -'','','','','65','val_65' -'','','','','66','val_66' -'','','','','67','val_67' -'','','','','67','val_67' -'','','','','67','val_67' -'','','','','67','val_67' -'','','','','69','val_69' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','72','val_72' -'','','','','72','val_72' -'','','','','72','val_72' -'','','','','72','val_72' -'','','','','74','val_74' -'','','','','76','val_76' -'','','','','76','val_76' -'','','','','76','val_76' -'','','','','76','val_76' -'','','','','77','val_77' -'','','','','78','val_78' -'','','','','80','val_80' -'','','','','82','val_82' -'','','','','83','val_83' -'','','','','83','val_83' -'','','','','83','val_83' -'','','','','83','val_83' -'','','','','84','val_84' -'','','','','84','val_84' -'','','','','84','val_84' -'','','','','84','val_84' -'','','','','85','val_85' -'','','','','86','val_86' -'','','','','87','val_87' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','92','val_92' -'','','','','95','val_95' -'','','','','95','val_95' -'','','','','95','val_95' -'','','','','95','val_95' -'','','','','96','val_96' -'','','','','97','val_97' -'','','','','97','val_97' -'','','','','97','val_97' -'','','','','97','val_97' -'','','','','98','val_98' -'','','','','98','val_98' -'','','','','98','val_98' -'','','','','98','val_98' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','2','val_2','2','val_2' -'','','4','val_4','4','val_4' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','8','val_8','8','val_8' -'','','9','val_9','9','val_9' -1,064 rows selected ->>> ->>> explain -SELECT * FROM src src1 JOIN src src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key > 10) LEFT OUTER JOIN src src3 ON (src2.key = src3.key AND src3.key < 10) SORT BY src1.key, src1.value, src2.key, src2.value, src3.key, src3.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2) (AND (AND (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)) (< (. (TOK_TABLE_OR_COL src1) key) 10)) (> (. (TOK_TABLE_OR_COL src2) key) 10))) (TOK_TABREF (TOK_TABNAME src) src3) (AND (= (. (TOK_TABLE_OR_COL src2) key) (. (TOK_TABLE_OR_COL src3) key)) (< (. (TOK_TABLE_OR_COL src3) key) 10)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-7 is a root stage , consists of Stage-8, Stage-9, Stage-1' -' Stage-8 has a backup stage: Stage-1' -' Stage-5 depends on stages: Stage-8' -' Stage-2 depends on stages: Stage-1, Stage-5, Stage-6' -' Stage-9 has a backup stage: Stage-1' -' Stage-6 depends on stages: Stage-9' -' Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-8' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src2 ' -' Fetch Operator' -' limit: -1' -' src3 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: ((key > 10) and (key < 10))' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 0' -' src3 ' -' TableScan' -' alias: src3' -' Filter Operator' -' predicate:' -' expr: ((key < 10) and (key > 10))' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 0' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: ((key < 10) and (key > 10))' -' type: boolean' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Left Outer Join1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' sort order: ++++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-9' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src1 ' -' Fetch Operator' -' limit: -1' -' src3 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: ((key < 10) and (key > 10))' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 1' -' src3 ' -' TableScan' -' alias: src3' -' Filter Operator' -' predicate:' -' expr: ((key < 10) and (key > 10))' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 1' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: ((key > 10) and (key < 10))' -' type: boolean' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Left Outer Join1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: ((key < 10) and (key > 10))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: ((key > 10) and (key < 10))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src3 ' -' TableScan' -' alias: src3' -' Filter Operator' -' predicate:' -' expr: ((key < 10) and (key > 10))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 2' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Left Outer Join1 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -355 rows selected ->>> ->>> SELECT * FROM src src1 JOIN src src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key > 10) LEFT OUTER JOIN src src3 ON (src2.key = src3.key AND src3.key < 10) SORT BY src1.key, src1.value, src2.key, src2.value, src3.key, src3.value; -'key','value','key','value','key','value' -No rows selected ->>> ->>> explain -SELECT * FROM src src1 JOIN src src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key > 10) RIGHT OUTER JOIN src src3 ON (src2.key = src3.key AND src3.key < 10) SORT BY src1.key, src1.value, src2.key, src2.value, src3.key, src3.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2) (AND (AND (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)) (< (. (TOK_TABLE_OR_COL src1) key) 10)) (> (. (TOK_TABLE_OR_COL src2) key) 10))) (TOK_TABREF (TOK_TABNAME src) src3) (AND (= (. (TOK_TABLE_OR_COL src2) key) (. (TOK_TABLE_OR_COL src3) key)) (< (. (TOK_TABLE_OR_COL src3) key) 10)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-6 is a root stage , consists of Stage-7, Stage-1' -' Stage-7 has a backup stage: Stage-1' -' Stage-5 depends on stages: Stage-7' -' Stage-2 depends on stages: Stage-1, Stage-5' -' Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-6' -' Conditional Operator' -'' -' Stage: Stage-7' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src1 ' -' Fetch Operator' -' limit: -1' -' src2 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: ((key < 10) and (key > 10))' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 ' -' 1 ' -' 2 {(key < 10)}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 2' -' src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: ((key > 10) and (key < 10))' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 ' -' 1 ' -' 2 {(key < 10)}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 2' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src3 ' -' TableScan' -' alias: src3' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Right Outer Join1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 ' -' 1 ' -' 2 {(key < 10)}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' sort order: ++++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: ((key < 10) and (key > 10))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: ((key > 10) and (key < 10))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src3 ' -' TableScan' -' alias: src3' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 2' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Right Outer Join1 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' filter predicates:' -' 0 ' -' 1 ' -' 2 {(VALUE._col0 < 10)}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -265 rows selected ->>> ->>> SELECT * FROM src src1 JOIN src src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key > 10) RIGHT OUTER JOIN src src3 ON (src2.key = src3.key AND src3.key < 10) SORT BY src1.key, src1.value, src2.key, src2.value, src3.key, src3.value; -'key','value','key','value','key','value' -'','','','','0','val_0' -'','','','','0','val_0' -'','','','','0','val_0' -'','','','','10','val_10' -'','','','','100','val_100' -'','','','','100','val_100' -'','','','','103','val_103' -'','','','','103','val_103' -'','','','','104','val_104' -'','','','','104','val_104' -'','','','','105','val_105' -'','','','','11','val_11' -'','','','','111','val_111' -'','','','','113','val_113' -'','','','','113','val_113' -'','','','','114','val_114' -'','','','','116','val_116' -'','','','','118','val_118' -'','','','','118','val_118' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','12','val_12' -'','','','','12','val_12' -'','','','','120','val_120' -'','','','','120','val_120' -'','','','','125','val_125' -'','','','','125','val_125' -'','','','','126','val_126' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','129','val_129' -'','','','','129','val_129' -'','','','','131','val_131' -'','','','','133','val_133' -'','','','','134','val_134' -'','','','','134','val_134' -'','','','','136','val_136' -'','','','','137','val_137' -'','','','','137','val_137' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','143','val_143' -'','','','','145','val_145' -'','','','','146','val_146' -'','','','','146','val_146' -'','','','','149','val_149' -'','','','','149','val_149' -'','','','','15','val_15' -'','','','','15','val_15' -'','','','','150','val_150' -'','','','','152','val_152' -'','','','','152','val_152' -'','','','','153','val_153' -'','','','','155','val_155' -'','','','','156','val_156' -'','','','','157','val_157' -'','','','','158','val_158' -'','','','','160','val_160' -'','','','','162','val_162' -'','','','','163','val_163' -'','','','','164','val_164' -'','','','','164','val_164' -'','','','','165','val_165' -'','','','','165','val_165' -'','','','','166','val_166' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','168','val_168' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','17','val_17' -'','','','','170','val_170' -'','','','','172','val_172' -'','','','','172','val_172' -'','','','','174','val_174' -'','','','','174','val_174' -'','','','','175','val_175' -'','','','','175','val_175' -'','','','','176','val_176' -'','','','','176','val_176' -'','','','','177','val_177' -'','','','','178','val_178' -'','','','','179','val_179' -'','','','','179','val_179' -'','','','','18','val_18' -'','','','','18','val_18' -'','','','','180','val_180' -'','','','','181','val_181' -'','','','','183','val_183' -'','','','','186','val_186' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','189','val_189' -'','','','','19','val_19' -'','','','','190','val_190' -'','','','','191','val_191' -'','','','','191','val_191' -'','','','','192','val_192' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','194','val_194' -'','','','','195','val_195' -'','','','','195','val_195' -'','','','','196','val_196' -'','','','','197','val_197' -'','','','','197','val_197' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','2','val_2' -'','','','','20','val_20' -'','','','','200','val_200' -'','','','','200','val_200' -'','','','','201','val_201' -'','','','','202','val_202' -'','','','','203','val_203' -'','','','','203','val_203' -'','','','','205','val_205' -'','','','','205','val_205' -'','','','','207','val_207' -'','','','','207','val_207' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','209','val_209' -'','','','','209','val_209' -'','','','','213','val_213' -'','','','','213','val_213' -'','','','','214','val_214' -'','','','','216','val_216' -'','','','','216','val_216' -'','','','','217','val_217' -'','','','','217','val_217' -'','','','','218','val_218' -'','','','','219','val_219' -'','','','','219','val_219' -'','','','','221','val_221' -'','','','','221','val_221' -'','','','','222','val_222' -'','','','','223','val_223' -'','','','','223','val_223' -'','','','','224','val_224' -'','','','','224','val_224' -'','','','','226','val_226' -'','','','','228','val_228' -'','','','','229','val_229' -'','','','','229','val_229' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','233','val_233' -'','','','','233','val_233' -'','','','','235','val_235' -'','','','','237','val_237' -'','','','','237','val_237' -'','','','','238','val_238' -'','','','','238','val_238' -'','','','','239','val_239' -'','','','','239','val_239' -'','','','','24','val_24' -'','','','','24','val_24' -'','','','','241','val_241' -'','','','','242','val_242' -'','','','','242','val_242' -'','','','','244','val_244' -'','','','','247','val_247' -'','','','','248','val_248' -'','','','','249','val_249' -'','','','','252','val_252' -'','','','','255','val_255' -'','','','','255','val_255' -'','','','','256','val_256' -'','','','','256','val_256' -'','','','','257','val_257' -'','','','','258','val_258' -'','','','','26','val_26' -'','','','','26','val_26' -'','','','','260','val_260' -'','','','','262','val_262' -'','','','','263','val_263' -'','','','','265','val_265' -'','','','','265','val_265' -'','','','','266','val_266' -'','','','','27','val_27' -'','','','','272','val_272' -'','','','','272','val_272' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','274','val_274' -'','','','','275','val_275' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','278','val_278' -'','','','','278','val_278' -'','','','','28','val_28' -'','','','','280','val_280' -'','','','','280','val_280' -'','','','','281','val_281' -'','','','','281','val_281' -'','','','','282','val_282' -'','','','','282','val_282' -'','','','','283','val_283' -'','','','','284','val_284' -'','','','','285','val_285' -'','','','','286','val_286' -'','','','','287','val_287' -'','','','','288','val_288' -'','','','','288','val_288' -'','','','','289','val_289' -'','','','','291','val_291' -'','','','','292','val_292' -'','','','','296','val_296' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','30','val_30' -'','','','','302','val_302' -'','','','','305','val_305' -'','','','','306','val_306' -'','','','','307','val_307' -'','','','','307','val_307' -'','','','','308','val_308' -'','','','','309','val_309' -'','','','','309','val_309' -'','','','','310','val_310' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','315','val_315' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','317','val_317' -'','','','','317','val_317' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','321','val_321' -'','','','','321','val_321' -'','','','','322','val_322' -'','','','','322','val_322' -'','','','','323','val_323' -'','','','','325','val_325' -'','','','','325','val_325' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','33','val_33' -'','','','','331','val_331' -'','','','','331','val_331' -'','','','','332','val_332' -'','','','','333','val_333' -'','','','','333','val_333' -'','','','','335','val_335' -'','','','','336','val_336' -'','','','','338','val_338' -'','','','','339','val_339' -'','','','','34','val_34' -'','','','','341','val_341' -'','','','','342','val_342' -'','','','','342','val_342' -'','','','','344','val_344' -'','','','','344','val_344' -'','','','','345','val_345' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','351','val_351' -'','','','','353','val_353' -'','','','','353','val_353' -'','','','','356','val_356' -'','','','','360','val_360' -'','','','','362','val_362' -'','','','','364','val_364' -'','','','','365','val_365' -'','','','','366','val_366' -'','','','','367','val_367' -'','','','','367','val_367' -'','','','','368','val_368' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','37','val_37' -'','','','','37','val_37' -'','','','','373','val_373' -'','','','','374','val_374' -'','','','','375','val_375' -'','','','','377','val_377' -'','','','','378','val_378' -'','','','','379','val_379' -'','','','','382','val_382' -'','','','','382','val_382' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','386','val_386' -'','','','','389','val_389' -'','','','','392','val_392' -'','','','','393','val_393' -'','','','','394','val_394' -'','','','','395','val_395' -'','','','','395','val_395' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','397','val_397' -'','','','','397','val_397' -'','','','','399','val_399' -'','','','','399','val_399' -'','','','','4','val_4' -'','','','','400','val_400' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','402','val_402' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','404','val_404' -'','','','','404','val_404' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','407','val_407' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','41','val_41' -'','','','','411','val_411' -'','','','','413','val_413' -'','','','','413','val_413' -'','','','','414','val_414' -'','','','','414','val_414' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','418','val_418' -'','','','','419','val_419' -'','','','','42','val_42' -'','','','','42','val_42' -'','','','','421','val_421' -'','','','','424','val_424' -'','','','','424','val_424' -'','','','','427','val_427' -'','','','','429','val_429' -'','','','','429','val_429' -'','','','','43','val_43' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','432','val_432' -'','','','','435','val_435' -'','','','','436','val_436' -'','','','','437','val_437' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','439','val_439' -'','','','','439','val_439' -'','','','','44','val_44' -'','','','','443','val_443' -'','','','','444','val_444' -'','','','','446','val_446' -'','','','','448','val_448' -'','','','','449','val_449' -'','','','','452','val_452' -'','','','','453','val_453' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','455','val_455' -'','','','','457','val_457' -'','','','','458','val_458' -'','','','','458','val_458' -'','','','','459','val_459' -'','','','','459','val_459' -'','','','','460','val_460' -'','','','','462','val_462' -'','','','','462','val_462' -'','','','','463','val_463' -'','','','','463','val_463' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','467','val_467' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','47','val_47' -'','','','','470','val_470' -'','','','','472','val_472' -'','','','','475','val_475' -'','','','','477','val_477' -'','','','','478','val_478' -'','','','','478','val_478' -'','','','','479','val_479' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','481','val_481' -'','','','','482','val_482' -'','','','','483','val_483' -'','','','','484','val_484' -'','','','','485','val_485' -'','','','','487','val_487' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','490','val_490' -'','','','','491','val_491' -'','','','','492','val_492' -'','','','','492','val_492' -'','','','','493','val_493' -'','','','','494','val_494' -'','','','','495','val_495' -'','','','','496','val_496' -'','','','','497','val_497' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','5','val_5' -'','','','','5','val_5' -'','','','','5','val_5' -'','','','','51','val_51' -'','','','','51','val_51' -'','','','','53','val_53' -'','','','','54','val_54' -'','','','','57','val_57' -'','','','','58','val_58' -'','','','','58','val_58' -'','','','','64','val_64' -'','','','','65','val_65' -'','','','','66','val_66' -'','','','','67','val_67' -'','','','','67','val_67' -'','','','','69','val_69' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','72','val_72' -'','','','','72','val_72' -'','','','','74','val_74' -'','','','','76','val_76' -'','','','','76','val_76' -'','','','','77','val_77' -'','','','','78','val_78' -'','','','','8','val_8' -'','','','','80','val_80' -'','','','','82','val_82' -'','','','','83','val_83' -'','','','','83','val_83' -'','','','','84','val_84' -'','','','','84','val_84' -'','','','','85','val_85' -'','','','','86','val_86' -'','','','','87','val_87' -'','','','','9','val_9' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','92','val_92' -'','','','','95','val_95' -'','','','','95','val_95' -'','','','','96','val_96' -'','','','','97','val_97' -'','','','','97','val_97' -'','','','','98','val_98' -'','','','','98','val_98' -500 rows selected ->>> ->>> explain -SELECT * FROM src src1 LEFT OUTER JOIN src src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key > 10) JOIN src src3 ON (src2.key = src3.key AND src3.key < 10) SORT BY src1.key, src1.value, src2.key, src2.value, src3.key, src3.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2) (AND (AND (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)) (< (. (TOK_TABLE_OR_COL src1) key) 10)) (> (. (TOK_TABLE_OR_COL src2) key) 10))) (TOK_TABREF (TOK_TABNAME src) src3) (AND (= (. (TOK_TABLE_OR_COL src2) key) (. (TOK_TABLE_OR_COL src3) key)) (< (. (TOK_TABLE_OR_COL src3) key) 10)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-6 is a root stage , consists of Stage-7, Stage-1' -' Stage-7 has a backup stage: Stage-1' -' Stage-5 depends on stages: Stage-7' -' Stage-2 depends on stages: Stage-1, Stage-5' -' Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-6' -' Conditional Operator' -'' -' Stage: Stage-7' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src2 ' -' Fetch Operator' -' limit: -1' -' src3 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: ((key > 10) and (key < 10))' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 {(key < 10)}' -' 1 ' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 0' -' src3 ' -' TableScan' -' alias: src3' -' Filter Operator' -' predicate:' -' expr: ((key < 10) and (key > 10))' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 {(key < 10)}' -' 1 ' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 0' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Map Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' Inner Join 1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 {(key < 10)}' -' 1 ' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' sort order: ++++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: ((key > 10) and (key < 10))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src3 ' -' TableScan' -' alias: src3' -' Filter Operator' -' predicate:' -' expr: ((key < 10) and (key > 10))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 2' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' Inner Join 1 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' filter predicates:' -' 0 {(VALUE._col0 < 10)}' -' 1 ' -' 2 ' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -265 rows selected ->>> ->>> SELECT * FROM src src1 LEFT OUTER JOIN src src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key > 10) JOIN src src3 ON (src2.key = src3.key AND src3.key < 10) SORT BY src1.key, src1.value, src2.key, src2.value, src3.key, src3.value; -'key','value','key','value','key','value' -No rows selected ->>> ->>> explain -SELECT * FROM src src1 RIGHT OUTER JOIN src src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key > 10) JOIN src src3 ON (src2.key = src3.key AND src3.key < 10) SORT BY src1.key, src1.value, src2.key, src2.value, src3.key, src3.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_RIGHTOUTERJOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2) (AND (AND (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)) (< (. (TOK_TABLE_OR_COL src1) key) 10)) (> (. (TOK_TABLE_OR_COL src2) key) 10))) (TOK_TABREF (TOK_TABNAME src) src3) (AND (= (. (TOK_TABLE_OR_COL src2) key) (. (TOK_TABLE_OR_COL src3) key)) (< (. (TOK_TABLE_OR_COL src3) key) 10)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-7 is a root stage , consists of Stage-8, Stage-9, Stage-1' -' Stage-8 has a backup stage: Stage-1' -' Stage-5 depends on stages: Stage-8' -' Stage-2 depends on stages: Stage-1, Stage-5, Stage-6' -' Stage-9 has a backup stage: Stage-1' -' Stage-6 depends on stages: Stage-9' -' Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-8' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src1 ' -' Fetch Operator' -' limit: -1' -' src3 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: (key < 10)' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 ' -' 1 {(key > 10)}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 1' -' src3 ' -' TableScan' -' alias: src3' -' Filter Operator' -' predicate:' -' expr: (key < 10)' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 ' -' 1 {(key > 10)}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: (key < 10)' -' type: boolean' -' Map Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' Inner Join 1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 ' -' 1 {(key > 10)}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' sort order: ++++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-9' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src1 ' -' Fetch Operator' -' limit: -1' -' src2 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: (key < 10)' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 ' -' 1 {(key > 10)}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 2' -' src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: (key < 10)' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 ' -' 1 {(key > 10)}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 2' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src3 ' -' TableScan' -' alias: src3' -' Filter Operator' -' predicate:' -' expr: (key < 10)' -' type: boolean' -' Map Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' Inner Join 1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 ' -' 1 {(key > 10)}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: (key < 10)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: (key < 10)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src3 ' -' TableScan' -' alias: src3' -' Filter Operator' -' predicate:' -' expr: (key < 10)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 2' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' Inner Join 1 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' filter predicates:' -' 0 ' -' 1 {(VALUE._col0 > 10)}' -' 2 ' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -383 rows selected ->>> ->>> SELECT * FROM src src1 RIGHT OUTER JOIN src src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key > 10) JOIN src src3 ON (src2.key = src3.key AND src3.key < 10) SORT BY src1.key, src1.value, src2.key, src2.value, src3.key, src3.value; -'key','value','key','value','key','value' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','0','val_0','0','val_0' -'','','2','val_2','2','val_2' -'','','4','val_4','4','val_4' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','5','val_5','5','val_5' -'','','8','val_8','8','val_8' -'','','9','val_9','9','val_9' -58 rows selected ->>> ->>> explain -SELECT * FROM src src1 JOIN src src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key > 10) JOIN src src3 ON (src2.key = src3.key AND src3.key < 10) SORT BY src1.key, src1.value, src2.key, src2.value, src3.key, src3.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2) (AND (AND (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)) (< (. (TOK_TABLE_OR_COL src1) key) 10)) (> (. (TOK_TABLE_OR_COL src2) key) 10))) (TOK_TABREF (TOK_TABNAME src) src3) (AND (= (. (TOK_TABLE_OR_COL src2) key) (. (TOK_TABLE_OR_COL src3) key)) (< (. (TOK_TABLE_OR_COL src3) key) 10)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-8 is a root stage , consists of Stage-9, Stage-10, Stage-11, Stage-1' -' Stage-9 has a backup stage: Stage-1' -' Stage-5 depends on stages: Stage-9' -' Stage-2 depends on stages: Stage-1, Stage-5, Stage-6, Stage-7' -' Stage-10 has a backup stage: Stage-1' -' Stage-6 depends on stages: Stage-10' -' Stage-11 has a backup stage: Stage-1' -' Stage-7 depends on stages: Stage-11' -' Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-8' -' Conditional Operator' -'' -' Stage: Stage-9' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src2 ' -' Fetch Operator' -' limit: -1' -' src3 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: ((key > 10) and (key < 10))' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 0' -' src3 ' -' TableScan' -' alias: src3' -' Filter Operator' -' predicate:' -' expr: ((key < 10) and (key > 10))' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 0' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: ((key < 10) and (key > 10))' -' type: boolean' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' sort order: ++++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-10' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src1 ' -' Fetch Operator' -' limit: -1' -' src3 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: ((key < 10) and (key > 10))' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 1' -' src3 ' -' TableScan' -' alias: src3' -' Filter Operator' -' predicate:' -' expr: ((key < 10) and (key > 10))' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 1' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: ((key > 10) and (key < 10))' -' type: boolean' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-11' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src1 ' -' Fetch Operator' -' limit: -1' -' src2 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: ((key < 10) and (key > 10))' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 2' -' src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: ((key > 10) and (key < 10))' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 2' -'' -' Stage: Stage-7' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src3 ' -' TableScan' -' alias: src3' -' Filter Operator' -' predicate:' -' expr: ((key < 10) and (key > 10))' -' type: boolean' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: ((key < 10) and (key > 10))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: ((key > 10) and (key < 10))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src3 ' -' TableScan' -' alias: src3' -' Filter Operator' -' predicate:' -' expr: ((key < 10) and (key > 10))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 2' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 1 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -453 rows selected ->>> ->>> SELECT * FROM src src1 JOIN src src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key > 10) JOIN src src3 ON (src2.key = src3.key AND src3.key < 10) SORT BY src1.key, src1.value, src2.key, src2.value, src3.key, src3.value; -'key','value','key','value','key','value' -No rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/auto_join3.q.out ql/src/test/results/beelinepositive/auto_join3.q.out deleted file mode 100644 index 7c058bc..0000000 --- ql/src/test/results/beelinepositive/auto_join3.q.out +++ /dev/null @@ -1,391 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/auto_join3.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/auto_join3.q ->>> set hive.auto.convert.join = true; -No rows affected ->>> ->>> CREATE TABLE dest1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> explain -FROM src src1 JOIN src src2 ON (src1.key = src2.key) JOIN src src3 ON (src1.key = src3.key) -INSERT OVERWRITE TABLE dest1 SELECT src1.key, src3.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2) (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key))) (TOK_TABREF (TOK_TABNAME src) src3) (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src3) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src3) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-8 is a root stage , consists of Stage-9, Stage-10, Stage-11, Stage-1' -' Stage-9 has a backup stage: Stage-1' -' Stage-5 depends on stages: Stage-9' -' Stage-0 depends on stages: Stage-1, Stage-5, Stage-6, Stage-7' -' Stage-2 depends on stages: Stage-0' -' Stage-10 has a backup stage: Stage-1' -' Stage-6 depends on stages: Stage-10' -' Stage-11 has a backup stage: Stage-1' -' Stage-7 depends on stages: Stage-11' -' Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-8' -' Conditional Operator' -'' -' Stage: Stage-9' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src2 ' -' Fetch Operator' -' limit: -1' -' src3 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src2 ' -' TableScan' -' alias: src2' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key}' -' 1 ' -' 2 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 0' -' src3 ' -' TableScan' -' alias: src3' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key}' -' 1 ' -' 2 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 0' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 0 to 2' -' condition expressions:' -' 0 {key}' -' 1 ' -' 2 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col9' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: auto_join3.dest1' -' Local Work:' -' Map Reduce Local Work' -'' -' 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: auto_join3.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-10' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src1 ' -' Fetch Operator' -' limit: -1' -' src3 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key}' -' 1 ' -' 2 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 1' -' src3 ' -' TableScan' -' alias: src3' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key}' -' 1 ' -' 2 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 1' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src2 ' -' TableScan' -' alias: src2' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 0 to 2' -' condition expressions:' -' 0 {key}' -' 1 ' -' 2 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col9' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: auto_join3.dest1' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-11' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src1 ' -' Fetch Operator' -' limit: -1' -' src2 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key}' -' 1 ' -' 2 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 2' -' src2 ' -' TableScan' -' alias: src2' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key}' -' 1 ' -' 2 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 2' -'' -' Stage: Stage-7' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src3 ' -' TableScan' -' alias: src3' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 0 to 2' -' condition expressions:' -' 0 {key}' -' 1 ' -' 2 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col9' -' Position of Big Table: 2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: auto_join3.dest1' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' src3 ' -' TableScan' -' alias: src3' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 2' -' value expressions:' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 0 to 2' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 ' -' 2 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: auto_join3.dest1' -'' -'' -367 rows selected ->>> ->>> FROM src src1 JOIN src src2 ON (src1.key = src2.key) JOIN src src3 ON (src1.key = src3.key) -INSERT OVERWRITE TABLE dest1 SELECT src1.key, src3.value; -'_col0','_col1' -No rows selected ->>> ->>> SELECT sum(hash(dest1.key,dest1.value)) FROM dest1; -'_c0' -'344360994461' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/auto_join30.q.out ql/src/test/results/beelinepositive/auto_join30.q.out deleted file mode 100644 index 2f72962..0000000 --- ql/src/test/results/beelinepositive/auto_join30.q.out +++ /dev/null @@ -1,2657 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/auto_join30.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/auto_join30.q ->>> set hive.auto.convert.join = true; -No rows affected ->>> ->>> explain -FROM -(SELECT src.* FROM src sort by key) x -JOIN -(SELECT src.* FROM src sort by value) Y -ON (x.key = Y.key) -select sum(hash(Y.key,Y.value)); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key))))) x) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value))))) Y) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL Y) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION hash (. (TOK_TABLE_OR_COL Y) key) (. (TOK_TABLE_OR_COL Y) value)))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-7 depends on stages: Stage-1, Stage-4 , consists of Stage-8, Stage-9, Stage-2' -' Stage-8 has a backup stage: Stage-2' -' Stage-5 depends on stages: Stage-8' -' Stage-3 depends on stages: Stage-2, Stage-5, Stage-6' -' Stage-9 has a backup stage: Stage-2' -' Stage-6 depends on stages: Stage-9' -' Stage-2' -' Stage-4 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-8' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' $INTNAME1 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' $INTNAME1 ' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' Position of Big Table: 0' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' outputColumnNames: _col2, _col3' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col2, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col2,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-9' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' $INTNAME ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' $INTNAME ' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' Position of Big Table: 1' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME1 ' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' outputColumnNames: _col2, _col3' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col2, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col2,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' $INTNAME1 ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col2, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col2,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' y:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -288 rows selected ->>> ->>> FROM -(SELECT src.* FROM src sort by key) x -JOIN -(SELECT src.* FROM src sort by value) Y -ON (x.key = Y.key) -select sum(hash(Y.key,Y.value)); -'_c0' -'103231310608' -1 row selected ->>> ->>> explain -FROM -(SELECT src.* FROM src sort by key) x -LEFT OUTER JOIN -(SELECT src.* FROM src sort by value) Y -ON (x.key = Y.key) -select sum(hash(Y.key,Y.value)); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key))))) x) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value))))) Y) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL Y) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION hash (. (TOK_TABLE_OR_COL Y) key) (. (TOK_TABLE_OR_COL Y) value)))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-6 depends on stages: Stage-1, Stage-4 , consists of Stage-7, Stage-2' -' Stage-7 has a backup stage: Stage-2' -' Stage-5 depends on stages: Stage-7' -' Stage-3 depends on stages: Stage-2, Stage-5' -' Stage-2' -' Stage-4 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-6' -' Conditional Operator' -'' -' Stage: Stage-7' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' $INTNAME1 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' $INTNAME1 ' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' Position of Big Table: 0' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Map Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' outputColumnNames: _col2, _col3' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col2, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col2,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' $INTNAME1 ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 ' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col2, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col2,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' y:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -230 rows selected ->>> ->>> FROM -(SELECT src.* FROM src sort by key) x -LEFT OUTER JOIN -(SELECT src.* FROM src sort by value) Y -ON (x.key = Y.key) -select sum(hash(Y.key,Y.value)); -'_c0' -'103231310608' -1 row selected ->>> ->>> explain -FROM -(SELECT src.* FROM src sort by key) x -RIGHT OUTER JOIN -(SELECT src.* FROM src sort by value) Y -ON (x.key = Y.key) -select sum(hash(Y.key,Y.value)); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key))))) x) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value))))) Y) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL Y) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION hash (. (TOK_TABLE_OR_COL Y) key) (. (TOK_TABLE_OR_COL Y) value)))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-6 depends on stages: Stage-1, Stage-4 , consists of Stage-7, Stage-2' -' Stage-7 has a backup stage: Stage-2' -' Stage-5 depends on stages: Stage-7' -' Stage-3 depends on stages: Stage-2, Stage-5' -' Stage-2' -' Stage-4 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-6' -' Conditional Operator' -'' -' Stage: Stage-7' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' $INTNAME ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' $INTNAME ' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' Position of Big Table: 1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME1 ' -' Map Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' outputColumnNames: _col2, _col3' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col2, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col2,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' $INTNAME1 ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' condition expressions:' -' 0 ' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col2, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col2,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' y:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -230 rows selected ->>> ->>> FROM -(SELECT src.* FROM src sort by key) x -RIGHT OUTER JOIN -(SELECT src.* FROM src sort by value) Y -ON (x.key = Y.key) -select sum(hash(Y.key,Y.value)); -'_c0' -'103231310608' -1 row selected ->>> ->>> explain -FROM -(SELECT src.* FROM src sort by key) x -JOIN -(SELECT src.* FROM src sort by value) Y -ON (x.key = Y.key) -JOIN -(SELECT src.* FROM src sort by value) Z -ON (x.key = Z.key) -select sum(hash(Y.key,Y.value)); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key))))) x) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value))))) Y) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL Y) key))) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value))))) Z) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL Z) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION hash (. (TOK_TABLE_OR_COL Y) key) (. (TOK_TABLE_OR_COL Y) value)))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-9 depends on stages: Stage-1, Stage-4, Stage-5 , consists of Stage-10, Stage-11, Stage-12, Stage-2' -' Stage-10 has a backup stage: Stage-2' -' Stage-6 depends on stages: Stage-10' -' Stage-3 depends on stages: Stage-2, Stage-6, Stage-7, Stage-8' -' Stage-11 has a backup stage: Stage-2' -' Stage-7 depends on stages: Stage-11' -' Stage-12 has a backup stage: Stage-2' -' Stage-8 depends on stages: Stage-12' -' Stage-2' -' Stage-4 is a root stage' -' Stage-5 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' z:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-9' -' Conditional Operator' -'' -' Stage: Stage-10' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' $INTNAME ' -' Fetch Operator' -' limit: -1' -' $INTNAME2 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' $INTNAME ' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' Position of Big Table: 0' -' $INTNAME2 ' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' Position of Big Table: 0' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME1 ' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 0 to 2' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' outputColumnNames: _col2, _col3' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col2, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col2,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-11' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' $INTNAME ' -' Fetch Operator' -' limit: -1' -' $INTNAME1 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' $INTNAME ' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' Position of Big Table: 1' -' $INTNAME1 ' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' Position of Big Table: 1' -'' -' Stage: Stage-7' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME2 ' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 0 to 2' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' outputColumnNames: _col2, _col3' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col2, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col2,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-12' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' $INTNAME1 ' -' Fetch Operator' -' limit: -1' -' $INTNAME2 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' $INTNAME1 ' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' Position of Big Table: 2' -' $INTNAME2 ' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' Position of Big Table: 2' -'' -' Stage: Stage-8' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 0 to 2' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' outputColumnNames: _col2, _col3' -' Position of Big Table: 2' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col2, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col2,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 2' -' $INTNAME1 ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' $INTNAME2 ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 0 to 2' -' condition expressions:' -' 0 ' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 ' -' handleSkewJoin: false' -' outputColumnNames: _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col2, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col2,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' y:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -452 rows selected ->>> ->>> FROM -(SELECT src.* FROM src sort by key) x -JOIN -(SELECT src.* FROM src sort by value) Y -ON (x.key = Y.key) -JOIN -(SELECT src.* FROM src sort by value) Z -ON (x.key = Z.key) -select sum(hash(Y.key,Y.value)); -'_c0' -'348019368476' -1 row selected ->>> ->>> explain -FROM -(SELECT src.* FROM src sort by key) x -JOIN -(SELECT src.* FROM src sort by value) Y -ON (x.key = Y.key) -LEFT OUTER JOIN -(SELECT src.* FROM src sort by value) Z -ON (x.key = Z.key) -select sum(hash(Y.key,Y.value)); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key))))) x) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value))))) Y) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL Y) key))) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value))))) Z) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL Z) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION hash (. (TOK_TABLE_OR_COL Y) key) (. (TOK_TABLE_OR_COL Y) value)))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-8 depends on stages: Stage-1, Stage-4, Stage-5 , consists of Stage-9, Stage-10, Stage-2' -' Stage-9 has a backup stage: Stage-2' -' Stage-6 depends on stages: Stage-9' -' Stage-3 depends on stages: Stage-2, Stage-6, Stage-7' -' Stage-10 has a backup stage: Stage-2' -' Stage-7 depends on stages: Stage-10' -' Stage-2' -' Stage-4 is a root stage' -' Stage-5 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' z:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-8' -' Conditional Operator' -'' -' Stage: Stage-9' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' $INTNAME ' -' Fetch Operator' -' limit: -1' -' $INTNAME2 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' $INTNAME ' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' Position of Big Table: 0' -' $INTNAME2 ' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' Position of Big Table: 0' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME1 ' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Left Outer Join0 to 2' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' outputColumnNames: _col2, _col3' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col2, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col2,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-10' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' $INTNAME ' -' Fetch Operator' -' limit: -1' -' $INTNAME1 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' $INTNAME ' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' Position of Big Table: 1' -' $INTNAME1 ' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' Position of Big Table: 1' -'' -' Stage: Stage-7' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME2 ' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Left Outer Join0 to 2' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' outputColumnNames: _col2, _col3' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col2, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col2,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 2' -' $INTNAME1 ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' $INTNAME2 ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Left Outer Join0 to 2' -' condition expressions:' -' 0 ' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 ' -' handleSkewJoin: false' -' outputColumnNames: _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col2, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col2,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' y:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -374 rows selected ->>> ->>> FROM -(SELECT src.* FROM src sort by key) x -JOIN -(SELECT src.* FROM src sort by value) Y -ON (x.key = Y.key) -LEFT OUTER JOIN -(SELECT src.* FROM src sort by value) Z -ON (x.key = Z.key) -select sum(hash(Y.key,Y.value)); -'_c0' -'348019368476' -1 row selected ->>> ->>> explain -FROM -(SELECT src.* FROM src sort by key) x -LEFT OUTER JOIN -(SELECT src.* FROM src sort by value) Y -ON (x.key = Y.key) -LEFT OUTER JOIN -(SELECT src.* FROM src sort by value) Z -ON (x.key = Z.key) -select sum(hash(Y.key,Y.value)); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_LEFTOUTERJOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key))))) x) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value))))) Y) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL Y) key))) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value))))) Z) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL Z) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION hash (. (TOK_TABLE_OR_COL Y) key) (. (TOK_TABLE_OR_COL Y) value)))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-7 depends on stages: Stage-1, Stage-4, Stage-5 , consists of Stage-8, Stage-2' -' Stage-8 has a backup stage: Stage-2' -' Stage-6 depends on stages: Stage-8' -' Stage-3 depends on stages: Stage-2, Stage-6' -' Stage-2' -' Stage-4 is a root stage' -' Stage-5 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' z:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-8' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' $INTNAME ' -' Fetch Operator' -' limit: -1' -' $INTNAME2 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' $INTNAME ' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' Position of Big Table: 0' -' $INTNAME2 ' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' Position of Big Table: 0' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME1 ' -' Map Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' Left Outer Join0 to 2' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' outputColumnNames: _col2, _col3' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col2, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col2,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 2' -' $INTNAME1 ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' $INTNAME2 ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' Left Outer Join0 to 2' -' condition expressions:' -' 0 ' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 ' -' handleSkewJoin: false' -' outputColumnNames: _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col2, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col2,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' y:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -296 rows selected ->>> ->>> FROM -(SELECT src.* FROM src sort by key) x -LEFT OUTER JOIN -(SELECT src.* FROM src sort by value) Y -ON (x.key = Y.key) -LEFT OUTER JOIN -(SELECT src.* FROM src sort by value) Z -ON (x.key = Z.key) -select sum(hash(Y.key,Y.value)); -'_c0' -'348019368476' -1 row selected ->>> ->>> explain -FROM -(SELECT src.* FROM src sort by key) x -LEFT OUTER JOIN -(SELECT src.* FROM src sort by value) Y -ON (x.key = Y.key) -RIGHT OUTER JOIN -(SELECT src.* FROM src sort by value) Z -ON (x.key = Z.key) -select sum(hash(Y.key,Y.value)); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_LEFTOUTERJOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key))))) x) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value))))) Y) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL Y) key))) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value))))) Z) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL Z) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION hash (. (TOK_TABLE_OR_COL Y) key) (. (TOK_TABLE_OR_COL Y) value)))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-7 depends on stages: Stage-1, Stage-4, Stage-5 , consists of Stage-8, Stage-2' -' Stage-8 has a backup stage: Stage-2' -' Stage-6 depends on stages: Stage-8' -' Stage-3 depends on stages: Stage-2, Stage-6' -' Stage-2' -' Stage-4 is a root stage' -' Stage-5 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' z:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-8' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' $INTNAME1 ' -' Fetch Operator' -' limit: -1' -' $INTNAME2 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' $INTNAME1 ' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' Position of Big Table: 2' -' $INTNAME2 ' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' Position of Big Table: 2' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Map Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' Right Outer Join0 to 2' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' outputColumnNames: _col2, _col3' -' Position of Big Table: 2' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col2, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col2,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 2' -' $INTNAME1 ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' $INTNAME2 ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' Right Outer Join0 to 2' -' condition expressions:' -' 0 ' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 ' -' handleSkewJoin: false' -' outputColumnNames: _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col2, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col2,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' y:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -296 rows selected ->>> ->>> FROM -(SELECT src.* FROM src sort by key) x -LEFT OUTER JOIN -(SELECT src.* FROM src sort by value) Y -ON (x.key = Y.key) -RIGHT OUTER JOIN -(SELECT src.* FROM src sort by value) Z -ON (x.key = Z.key) -select sum(hash(Y.key,Y.value)); -'_c0' -'348019368476' -1 row selected ->>> ->>> explain -FROM -(SELECT src.* FROM src sort by key) x -RIGHT OUTER JOIN -(SELECT src.* FROM src sort by value) Y -ON (x.key = Y.key) -RIGHT OUTER JOIN -(SELECT src.* FROM src sort by value) Z -ON (x.key = Z.key) -select sum(hash(Y.key,Y.value)); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_RIGHTOUTERJOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key))))) x) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value))))) Y) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL Y) key))) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value))))) Z) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL Z) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION hash (. (TOK_TABLE_OR_COL Y) key) (. (TOK_TABLE_OR_COL Y) value)))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-7 depends on stages: Stage-1, Stage-4, Stage-5 , consists of Stage-8, Stage-2' -' Stage-8 has a backup stage: Stage-2' -' Stage-6 depends on stages: Stage-8' -' Stage-3 depends on stages: Stage-2, Stage-6' -' Stage-2' -' Stage-4 is a root stage' -' Stage-5 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' z:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-8' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' $INTNAME1 ' -' Fetch Operator' -' limit: -1' -' $INTNAME2 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' $INTNAME1 ' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' Position of Big Table: 2' -' $INTNAME2 ' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' Position of Big Table: 2' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Map Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' Right Outer Join0 to 2' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' outputColumnNames: _col2, _col3' -' Position of Big Table: 2' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col2, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col2,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 2' -' $INTNAME1 ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' $INTNAME2 ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' Right Outer Join0 to 2' -' condition expressions:' -' 0 ' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 ' -' handleSkewJoin: false' -' outputColumnNames: _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col2, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col2,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' y:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -296 rows selected ->>> ->>> FROM -(SELECT src.* FROM src sort by key) x -RIGHT OUTER JOIN -(SELECT src.* FROM src sort by value) Y -ON (x.key = Y.key) -RIGHT OUTER JOIN -(SELECT src.* FROM src sort by value) Z -ON (x.key = Z.key) -select sum(hash(Y.key,Y.value)); -'_c0' -'348019368476' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/auto_join31.q.out ql/src/test/results/beelinepositive/auto_join31.q.out deleted file mode 100644 index 3a481a3..0000000 --- ql/src/test/results/beelinepositive/auto_join31.q.out +++ /dev/null @@ -1,405 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/auto_join31.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/auto_join31.q ->>> set hive.auto.convert.join = true; -No rows affected ->>> ->>> explain -FROM -(SELECT src.* FROM src sort by key) x -RIGHT OUTER JOIN -(SELECT src.* FROM src sort by value) Y -ON (x.key = Y.key) -JOIN -(SELECT src.* FROM src sort by value) Z -ON (x.key = Z.key) -select sum(hash(Y.key,Y.value)); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_RIGHTOUTERJOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key))))) x) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value))))) Y) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL Y) key))) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value))))) Z) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL Z) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION hash (. (TOK_TABLE_OR_COL Y) key) (. (TOK_TABLE_OR_COL Y) value)))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-8 depends on stages: Stage-1, Stage-4, Stage-5 , consists of Stage-9, Stage-10, Stage-2' -' Stage-9 has a backup stage: Stage-2' -' Stage-6 depends on stages: Stage-9' -' Stage-3 depends on stages: Stage-2, Stage-6, Stage-7' -' Stage-10 has a backup stage: Stage-2' -' Stage-7 depends on stages: Stage-10' -' Stage-2' -' Stage-4 is a root stage' -' Stage-5 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' z:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-8' -' Conditional Operator' -'' -' Stage: Stage-9' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' $INTNAME ' -' Fetch Operator' -' limit: -1' -' $INTNAME1 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' $INTNAME ' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' Position of Big Table: 1' -' $INTNAME1 ' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' Position of Big Table: 1' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME2 ' -' Map Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' Inner Join 0 to 2' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' outputColumnNames: _col2, _col3' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col2, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col2,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-10' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' $INTNAME1 ' -' Fetch Operator' -' limit: -1' -' $INTNAME2 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' $INTNAME1 ' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' Position of Big Table: 2' -' $INTNAME2 ' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' Position of Big Table: 2' -'' -' Stage: Stage-7' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Map Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' Inner Join 0 to 2' -' condition expressions:' -' 0 ' -' 1 {_col0} {_col1}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' outputColumnNames: _col2, _col3' -' Position of Big Table: 2' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col2, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col2,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 2' -' $INTNAME1 ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' $INTNAME2 ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' Inner Join 0 to 2' -' condition expressions:' -' 0 ' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 ' -' handleSkewJoin: false' -' outputColumnNames: _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col2, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col2,_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' y:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -374 rows selected ->>> ->>> FROM -(SELECT src.* FROM src sort by key) x -RIGHT OUTER JOIN -(SELECT src.* FROM src sort by value) Y -ON (x.key = Y.key) -JOIN -(SELECT src.* FROM src sort by value) Z -ON (x.key = Z.key) -select sum(hash(Y.key,Y.value)); -'_c0' -'348019368476' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/auto_join4.q.out ql/src/test/results/beelinepositive/auto_join4.q.out deleted file mode 100644 index 9d2d4bf..0000000 --- ql/src/test/results/beelinepositive/auto_join4.q.out +++ /dev/null @@ -1,289 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/auto_join4.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/auto_join4.q ->>> set hive.auto.convert.join = true; -No rows affected ->>> ->>> CREATE TABLE dest1(c1 INT, c2 STRING, c3 INT, c4 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> explain -FROM ( -FROM -( -FROM src src1 SELECT src1.key AS c1, src1.value AS c2 WHERE src1.key > 10 and src1.key < 20 -) a -LEFT OUTER JOIN -( -FROM src src2 SELECT src2.key AS c3, src2.value AS c4 WHERE src2.key > 15 and src2.key < 25 -) b -ON (a.c1 = b.c3) -SELECT a.c1 AS c1, a.c2 AS c2, b.c3 AS c3, b.c4 AS c4 -) c -INSERT OVERWRITE TABLE dest1 SELECT c.c1, c.c2, c.c3, c.c4; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) src1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) value) c2)) (TOK_WHERE (and (> (. (TOK_TABLE_OR_COL src1) key) 10) (< (. (TOK_TABLE_OR_COL src1) key) 20))))) a) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) src2)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) key) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) value) c4)) (TOK_WHERE (and (> (. (TOK_TABLE_OR_COL src2) key) 15) (< (. (TOK_TABLE_OR_COL src2) key) 25))))) b) (= (. (TOK_TABLE_OR_COL a) c1) (. (TOK_TABLE_OR_COL b) c3)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) c1) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) c2) c2) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) c3) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) c4) c4)))) c)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c2)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c3)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c4)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-5 is a root stage , consists of Stage-6, Stage-1' -' Stage-6 has a backup stage: Stage-1' -' Stage-4 depends on stages: Stage-6' -' Stage-0 depends on stages: Stage-1, Stage-4' -' Stage-2 depends on stages: Stage-0' -' Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-5' -' Conditional Operator' -'' -' Stage: Stage-6' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' c:b:src2 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' c:b:src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: ((key > 15) and (key < 25))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col0} {_col1}' -' 1 {_col0} {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' Position of Big Table: 0' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' c:a:src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: ((key > 10) and (key < 20))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Map Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {_col0} {_col1}' -' 1 {_col0} {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: UDFToInteger(_col2)' -' type: int' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: auto_join4.dest1' -' Local Work:' -' Map Reduce Local Work' -'' -' 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: auto_join4.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' c:a:src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: ((key > 10) and (key < 20))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' c:b:src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: ((key > 15) and (key < 25))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: UDFToInteger(_col2)' -' type: int' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: auto_join4.dest1' -'' -'' -243 rows selected ->>> ->>> FROM ( -FROM -( -FROM src src1 SELECT src1.key AS c1, src1.value AS c2 WHERE src1.key > 10 and src1.key < 20 -) a -LEFT OUTER JOIN -( -FROM src src2 SELECT src2.key AS c3, src2.value AS c4 WHERE src2.key > 15 and src2.key < 25 -) b -ON (a.c1 = b.c3) -SELECT a.c1 AS c1, a.c2 AS c2, b.c3 AS c3, b.c4 AS c4 -) c -INSERT OVERWRITE TABLE dest1 SELECT c.c1, c.c2, c.c3, c.c4; -'_col0','_col1','_col2','_col3' -No rows selected ->>> ->>> SELECT sum(hash(dest1.c1,dest1.c2,dest1.c3,dest1.c4)) FROM dest1; -'_c0' -'5079148035' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/auto_join5.q.out ql/src/test/results/beelinepositive/auto_join5.q.out deleted file mode 100644 index 69882c1..0000000 --- ql/src/test/results/beelinepositive/auto_join5.q.out +++ /dev/null @@ -1,289 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/auto_join5.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/auto_join5.q ->>> set hive.auto.convert.join = true; -No rows affected ->>> ->>> CREATE TABLE dest1(c1 INT, c2 STRING, c3 INT, c4 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> explain -FROM ( -FROM -( -FROM src src1 SELECT src1.key AS c1, src1.value AS c2 WHERE src1.key > 10 and src1.key < 20 -) a -RIGHT OUTER JOIN -( -FROM src src2 SELECT src2.key AS c3, src2.value AS c4 WHERE src2.key > 15 and src2.key < 25 -) b -ON (a.c1 = b.c3) -SELECT a.c1 AS c1, a.c2 AS c2, b.c3 AS c3, b.c4 AS c4 -) c -INSERT OVERWRITE TABLE dest1 SELECT c.c1, c.c2, c.c3, c.c4; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) src1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) value) c2)) (TOK_WHERE (and (> (. (TOK_TABLE_OR_COL src1) key) 10) (< (. (TOK_TABLE_OR_COL src1) key) 20))))) a) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) src2)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) key) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) value) c4)) (TOK_WHERE (and (> (. (TOK_TABLE_OR_COL src2) key) 15) (< (. (TOK_TABLE_OR_COL src2) key) 25))))) b) (= (. (TOK_TABLE_OR_COL a) c1) (. (TOK_TABLE_OR_COL b) c3)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) c1) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) c2) c2) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) c3) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) c4) c4)))) c)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c2)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c3)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c4)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-5 is a root stage , consists of Stage-6, Stage-1' -' Stage-6 has a backup stage: Stage-1' -' Stage-4 depends on stages: Stage-6' -' Stage-0 depends on stages: Stage-1, Stage-4' -' Stage-2 depends on stages: Stage-0' -' Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-5' -' Conditional Operator' -'' -' Stage: Stage-6' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' c:a:src1 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' c:a:src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: ((key > 10) and (key < 20))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col0} {_col1}' -' 1 {_col0} {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' Position of Big Table: 1' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' c:b:src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: ((key > 15) and (key < 25))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Map Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' condition expressions:' -' 0 {_col0} {_col1}' -' 1 {_col0} {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: UDFToInteger(_col2)' -' type: int' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: auto_join5.dest1' -' Local Work:' -' Map Reduce Local Work' -'' -' 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: auto_join5.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' c:a:src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: ((key > 10) and (key < 20))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' c:b:src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: ((key > 15) and (key < 25))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: UDFToInteger(_col2)' -' type: int' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: auto_join5.dest1' -'' -'' -243 rows selected ->>> ->>> FROM ( -FROM -( -FROM src src1 SELECT src1.key AS c1, src1.value AS c2 WHERE src1.key > 10 and src1.key < 20 -) a -RIGHT OUTER JOIN -( -FROM src src2 SELECT src2.key AS c3, src2.value AS c4 WHERE src2.key > 15 and src2.key < 25 -) b -ON (a.c1 = b.c3) -SELECT a.c1 AS c1, a.c2 AS c2, b.c3 AS c3, b.c4 AS c4 -) c -INSERT OVERWRITE TABLE dest1 SELECT c.c1, c.c2, c.c3, c.c4; -'_col0','_col1','_col2','_col3' -No rows selected ->>> ->>> SELECT sum(hash(dest1.c1,dest1.c2,dest1.c3,dest1.c4)) FROM dest1; -'_c0' -'9766083196' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/auto_join6.q.out ql/src/test/results/beelinepositive/auto_join6.q.out deleted file mode 100644 index 77737e9..0000000 --- ql/src/test/results/beelinepositive/auto_join6.q.out +++ /dev/null @@ -1,180 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/auto_join6.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/auto_join6.q ->>> set hive.auto.convert.join = true; -No rows affected ->>> ->>> CREATE TABLE dest1(c1 INT, c2 STRING, c3 INT, c4 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> explain -FROM ( -FROM -( -FROM src src1 SELECT src1.key AS c1, src1.value AS c2 WHERE src1.key > 10 and src1.key < 20 -) a -FULL OUTER JOIN -( -FROM src src2 SELECT src2.key AS c3, src2.value AS c4 WHERE src2.key > 15 and src2.key < 25 -) b -ON (a.c1 = b.c3) -SELECT a.c1 AS c1, a.c2 AS c2, b.c3 AS c3, b.c4 AS c4 -) c -INSERT OVERWRITE TABLE dest1 SELECT c.c1, c.c2, c.c3, c.c4; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_FULLOUTERJOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) src1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) value) c2)) (TOK_WHERE (and (> (. (TOK_TABLE_OR_COL src1) key) 10) (< (. (TOK_TABLE_OR_COL src1) key) 20))))) a) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) src2)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) key) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) value) c4)) (TOK_WHERE (and (> (. (TOK_TABLE_OR_COL src2) key) 15) (< (. (TOK_TABLE_OR_COL src2) key) 25))))) b) (= (. (TOK_TABLE_OR_COL a) c1) (. (TOK_TABLE_OR_COL b) c3)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) c1) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) c2) c2) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) c3) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) c4) c4)))) c)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c2)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c3)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c4)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' c:a:src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: ((key > 10) and (key < 20))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' c:b:src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: ((key > 15) and (key < 25))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Outer Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: UDFToInteger(_col2)' -' type: int' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: auto_join6.dest1' -'' -' 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: auto_join6.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -133 rows selected ->>> ->>> FROM ( -FROM -( -FROM src src1 SELECT src1.key AS c1, src1.value AS c2 WHERE src1.key > 10 and src1.key < 20 -) a -FULL OUTER JOIN -( -FROM src src2 SELECT src2.key AS c3, src2.value AS c4 WHERE src2.key > 15 and src2.key < 25 -) b -ON (a.c1 = b.c3) -SELECT a.c1 AS c1, a.c2 AS c2, b.c3 AS c3, b.c4 AS c4 -) c -INSERT OVERWRITE TABLE dest1 SELECT c.c1, c.c2, c.c3, c.c4; -'_col0','_col1','_col2','_col3' -No rows selected ->>> ->>> ->>> SELECT sum(hash(dest1.c1,dest1.c2,dest1.c3,dest1.c4)) FROM dest1; -'_c0' -'2607643291' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/auto_join7.q.out ql/src/test/results/beelinepositive/auto_join7.q.out deleted file mode 100644 index 00844e2..0000000 --- ql/src/test/results/beelinepositive/auto_join7.q.out +++ /dev/null @@ -1,233 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/auto_join7.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/auto_join7.q ->>> set hive.auto.convert.join = true; -No rows affected ->>> ->>> CREATE TABLE dest1(c1 INT, c2 STRING, c3 INT, c4 STRING, c5 INT, c6 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> ->>> explain -FROM ( -FROM -( -FROM src src1 SELECT src1.key AS c1, src1.value AS c2 WHERE src1.key > 10 and src1.key < 20 -) a -FULL OUTER JOIN -( -FROM src src2 SELECT src2.key AS c3, src2.value AS c4 WHERE src2.key > 15 and src2.key < 25 -) b -ON (a.c1 = b.c3) -LEFT OUTER JOIN -( -FROM src src3 SELECT src3.key AS c5, src3.value AS c6 WHERE src3.key > 20 and src3.key < 25 -) c -ON (a.c1 = c.c5) -SELECT a.c1 AS c1, a.c2 AS c2, b.c3 AS c3, b.c4 AS c4, c.c5 AS c5, c.c6 AS c6 -) c -INSERT OVERWRITE TABLE dest1 SELECT c.c1, c.c2, c.c3, c.c4, c.c5, c.c6; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_FULLOUTERJOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) src1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) value) c2)) (TOK_WHERE (and (> (. (TOK_TABLE_OR_COL src1) key) 10) (< (. (TOK_TABLE_OR_COL src1) key) 20))))) a) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) src2)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) key) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) value) c4)) (TOK_WHERE (and (> (. (TOK_TABLE_OR_COL src2) key) 15) (< (. (TOK_TABLE_OR_COL src2) key) 25))))) b) (= (. (TOK_TABLE_OR_COL a) c1) (. (TOK_TABLE_OR_COL b) c3))) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) src3)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src3) key) c5) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src3) value) c6)) (TOK_WHERE (and (> (. (TOK_TABLE_OR_COL src3) key) 20) (< (. (TOK_TABLE_OR_COL src3) key) 25))))) c) (= (. (TOK_TABLE_OR_COL a) c1) (. (TOK_TABLE_OR_COL c) c5)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) c1) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) c2) c2) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) c3) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) c4) c4) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c5) c5) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c6) c6)))) c)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c2)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c3)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c4)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c5)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c6)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' c:a:src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: ((key > 10) and (key < 20))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' c:b:src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: ((key > 15) and (key < 25))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' c:c:src3 ' -' TableScan' -' alias: src3' -' Filter Operator' -' predicate:' -' expr: ((key > 20) and (key < 25))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 2' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Outer Join 0 to 1' -' Left Outer Join0 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: UDFToInteger(_col2)' -' type: int' -' expr: _col3' -' type: string' -' expr: UDFToInteger(_col4)' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: auto_join7.dest1' -'' -' 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: auto_join7.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -175 rows selected ->>> ->>> FROM ( -FROM -( -FROM src src1 SELECT src1.key AS c1, src1.value AS c2 WHERE src1.key > 10 and src1.key < 20 -) a -FULL OUTER JOIN -( -FROM src src2 SELECT src2.key AS c3, src2.value AS c4 WHERE src2.key > 15 and src2.key < 25 -) b -ON (a.c1 = b.c3) -LEFT OUTER JOIN -( -FROM src src3 SELECT src3.key AS c5, src3.value AS c6 WHERE src3.key > 20 and src3.key < 25 -) c -ON (a.c1 = c.c5) -SELECT a.c1 AS c1, a.c2 AS c2, b.c3 AS c3, b.c4 AS c4, c.c5 AS c5, c.c6 AS c6 -) c -INSERT OVERWRITE TABLE dest1 SELECT c.c1, c.c2, c.c3, c.c4, c.c5, c.c6; -'_col0','_col1','_col2','_col3','_col4','_col5' -No rows selected ->>> ->>> ->>> SELECT sum(hash(dest1.c1,dest1.c2,dest1.c3,dest1.c4,dest1.c5,dest1.c6)) FROM dest1; -'_c0' -'-5178357269' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/auto_join8.q.out ql/src/test/results/beelinepositive/auto_join8.q.out deleted file mode 100644 index c4a8ef6..0000000 --- ql/src/test/results/beelinepositive/auto_join8.q.out +++ /dev/null @@ -1,296 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/auto_join8.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/auto_join8.q ->>> set hive.auto.convert.join = true; -No rows affected ->>> ->>> CREATE TABLE dest1(c1 INT, c2 STRING, c3 INT, c4 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> explain -FROM ( -FROM -( -FROM src src1 SELECT src1.key AS c1, src1.value AS c2 WHERE src1.key > 10 and src1.key < 20 -) a -LEFT OUTER JOIN -( -FROM src src2 SELECT src2.key AS c3, src2.value AS c4 WHERE src2.key > 15 and src2.key < 25 -) b -ON (a.c1 = b.c3) -SELECT a.c1 AS c1, a.c2 AS c2, b.c3 AS c3, b.c4 AS c4 -) c -INSERT OVERWRITE TABLE dest1 SELECT c.c1, c.c2, c.c3, c.c4 where c.c3 IS NULL AND c.c1 IS NOT NULL; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) src1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) value) c2)) (TOK_WHERE (and (> (. (TOK_TABLE_OR_COL src1) key) 10) (< (. (TOK_TABLE_OR_COL src1) key) 20))))) a) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) src2)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) key) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) value) c4)) (TOK_WHERE (and (> (. (TOK_TABLE_OR_COL src2) key) 15) (< (. (TOK_TABLE_OR_COL src2) key) 25))))) b) (= (. (TOK_TABLE_OR_COL a) c1) (. (TOK_TABLE_OR_COL b) c3)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) c1) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) c2) c2) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) c3) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) c4) c4)))) c)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c2)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c3)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c4))) (TOK_WHERE (AND (TOK_FUNCTION TOK_ISNULL (. (TOK_TABLE_OR_COL c) c3)) (TOK_FUNCTION TOK_ISNOTNULL (. (TOK_TABLE_OR_COL c) c1))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-5 is a root stage , consists of Stage-6, Stage-1' -' Stage-6 has a backup stage: Stage-1' -' Stage-4 depends on stages: Stage-6' -' Stage-0 depends on stages: Stage-1, Stage-4' -' Stage-2 depends on stages: Stage-0' -' Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-5' -' Conditional Operator' -'' -' Stage: Stage-6' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' c:b:src2 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' c:b:src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: (((key > 15) and (key < 25)) and key is not null)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col0} {_col1}' -' 1 {_col0} {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' Position of Big Table: 0' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' c:a:src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: (((key > 10) and (key < 20)) and key is not null)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Map Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {_col0} {_col1}' -' 1 {_col0} {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Position of Big Table: 0' -' Filter Operator' -' predicate:' -' expr: _col2 is null' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: UDFToInteger(_col2)' -' type: int' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: auto_join8.dest1' -' Local Work:' -' Map Reduce Local Work' -'' -' 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: auto_join8.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' c:a:src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: (((key > 10) and (key < 20)) and key is not null)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' c:b:src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: (((key > 15) and (key < 25)) and key is not null)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Filter Operator' -' predicate:' -' expr: _col2 is null' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: UDFToInteger(_col2)' -' type: int' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: auto_join8.dest1' -'' -250 rows selected ->>> ->>> FROM ( -FROM -( -FROM src src1 SELECT src1.key AS c1, src1.value AS c2 WHERE src1.key > 10 and src1.key < 20 -) a -LEFT OUTER JOIN -( -FROM src src2 SELECT src2.key AS c3, src2.value AS c4 WHERE src2.key > 15 and src2.key < 25 -) b -ON (a.c1 = b.c3) -SELECT a.c1 AS c1, a.c2 AS c2, b.c3 AS c3, b.c4 AS c4 -) c -INSERT OVERWRITE TABLE dest1 SELECT c.c1, c.c2, c.c3, c.c4 where c.c3 IS NULL AND c.c1 IS NOT NULL; -'_col0','_col1','_col2','_col3' -No rows selected ->>> ->>> SELECT sum(hash(dest1.c1,dest1.c2,dest1.c3,dest1.c4)) FROM dest1; -'_c0' -'-7158439905' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/auto_join9.q.out ql/src/test/results/beelinepositive/auto_join9.q.out deleted file mode 100644 index e82ee86..0000000 --- ql/src/test/results/beelinepositive/auto_join9.q.out +++ /dev/null @@ -1,252 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/auto_join9.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/auto_join9.q ->>> set hive.auto.convert.join = true; -No rows affected ->>> ->>> CREATE TABLE dest1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> explain -FROM srcpart src1 JOIN src src2 ON (src1.key = src2.key) -INSERT OVERWRITE TABLE dest1 SELECT src1.key, src2.value where src1.ds = '2008-04-08' and src1.hr = '12'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcpart) src1) (TOK_TABREF (TOK_TABNAME src) src2) (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) value))) (TOK_WHERE (and (= (. (TOK_TABLE_OR_COL src1) ds) '2008-04-08') (= (. (TOK_TABLE_OR_COL src1) hr) '12')))))' -'' -'STAGE DEPENDENCIES:' -' Stage-6 is a root stage , consists of Stage-7, Stage-8, Stage-1' -' Stage-7 has a backup stage: Stage-1' -' Stage-4 depends on stages: Stage-7' -' Stage-0 depends on stages: Stage-1, Stage-4, Stage-5' -' Stage-2 depends on stages: Stage-0' -' Stage-8 has a backup stage: Stage-1' -' Stage-5 depends on stages: Stage-8' -' Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-6' -' Conditional Operator' -'' -' Stage: Stage-7' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src2 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src2 ' -' TableScan' -' alias: src2' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {ds} {hr}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {ds} {hr}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col2, _col3, _col7' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col7' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: auto_join9.dest1' -' Local Work:' -' Map Reduce Local Work' -'' -' 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: auto_join9.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-8' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src1 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {ds} {hr}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src2 ' -' TableScan' -' alias: src2' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {ds} {hr}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col2, _col3, _col7' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col7' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: auto_join9.dest1' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col2} {VALUE._col3}' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col2, _col3, _col7' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col7' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: auto_join9.dest1' -'' -'' -226 rows selected ->>> ->>> FROM srcpart src1 JOIN src src2 ON (src1.key = src2.key) -INSERT OVERWRITE TABLE dest1 SELECT src1.key, src2.value where src1.ds = '2008-04-08' and src1.hr = '12'; -'_col0','_col1' -No rows selected ->>> ->>> ->>> ->>> SELECT sum(hash(dest1.key,dest1.value)) FROM dest1; -'_c0' -'101861029915' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/auto_join_filters.q.out ql/src/test/results/beelinepositive/auto_join_filters.q.out deleted file mode 100644 index a1573c2..0000000 --- ql/src/test/results/beelinepositive/auto_join_filters.q.out +++ /dev/null @@ -1,254 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/auto_join_filters.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/auto_join_filters.q ->>> set hive.auto.convert.join = true; -No rows affected ->>> ->>> CREATE TABLE myinput1(key int, value int); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/in3.txt' INTO TABLE myinput1; -No rows affected ->>> ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a JOIN myinput1 b on a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'3078400' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a LEFT OUTER JOIN myinput1 b on a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'4937935' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a RIGHT OUTER JOIN myinput1 b on a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'3080335' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a FULL OUTER JOIN myinput1 b on a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'19749880' -1 row selected ->>> ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a JOIN myinput1 b ON a.key = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'3078400' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a JOIN myinput1 b ON a.key = b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'3078400' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a JOIN myinput1 b ON a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'3078400' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a JOIN myinput1 b ON a.value = b.value and a.key=b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'3078400' -1 row selected ->>> ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a LEFT OUTER JOIN myinput1 b ON a.key = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'4937935' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a LEFT OUTER JOIN myinput1 b ON a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'4937935' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a LEFT OUTER JOIN myinput1 b ON a.key = b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'4937935' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a LEFT OUTER JOIN myinput1 b ON a.key = b.key and a.value=b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'4937935' -1 row selected ->>> ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a RIGHT OUTER JOIN myinput1 b ON a.key = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'3080335' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a RIGHT OUTER JOIN myinput1 b ON a.key = b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'3080335' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a RIGHT OUTER JOIN myinput1 b ON a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'3080335' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a RIGHT OUTER JOIN myinput1 b ON a.key=b.key and a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'3080335' -1 row selected ->>> ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a FULL OUTER JOIN myinput1 b ON a.key = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'4939870' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a FULL OUTER JOIN myinput1 b ON a.key = b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'4939870' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a FULL OUTER JOIN myinput1 b ON a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'4939870' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a FULL OUTER JOIN myinput1 b ON a.value = b.value and a.key=b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'4939870' -1 row selected ->>> ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) from myinput1 a LEFT OUTER JOIN myinput1 b ON (a.value=b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value) RIGHT OUTER JOIN myinput1 c ON (b.value=c.value AND c.key > 40 AND c.value > 50 AND c.key = c.value AND b.key > 40 AND b.value > 50 AND b.key = b.value); -'_c0' -'3078400' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) from myinput1 a RIGHT OUTER JOIN myinput1 b ON (a.value=b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value) LEFT OUTER JOIN myinput1 c ON (b.value=c.value AND c.key > 40 AND c.value > 50 AND c.key = c.value AND b.key > 40 AND b.value > 50 AND b.key = b.value); -'_c0' -'3080335' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a LEFT OUTER JOIN myinput1 b RIGHT OUTER JOIN myinput1 c ON a.value = b.value and b.value = c.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value AND c.key > 40 AND c.value > 50 AND c.key = c.value; -'_c0' -'3078400' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) from myinput1 a LEFT OUTER JOIN myinput1 b ON (a.value=b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value) RIGHT OUTER JOIN myinput1 c ON (b.key=c.key AND c.key > 40 AND c.value > 50 AND c.key = c.value AND b.key > 40 AND b.value > 50 AND b.key = b.value); -'_c0' -'3078400' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) from myinput1 a RIGHT OUTER JOIN myinput1 b ON (a.value=b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value) LEFT OUTER JOIN myinput1 c ON (b.key=c.key AND c.key > 40 AND c.value > 50 AND c.key = c.value AND b.key > 40 AND b.value > 50 AND b.key = b.value); -'_c0' -'3080335' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a LEFT OUTER JOIN myinput1 b RIGHT OUTER JOIN myinput1 c ON a.value = b.value and b.key = c.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value AND c.key > 40 AND c.value > 50 AND c.key = c.value; -'_c0' -'3078400' -1 row selected ->>> ->>> ->>> CREATE TABLE smb_input1(key int, value int) CLUSTERED BY (key) SORTED BY (key) INTO 2 BUCKETS; -No rows affected ->>> CREATE TABLE smb_input2(key int, value int) CLUSTERED BY (value) SORTED BY (value) INTO 2 BUCKETS; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/in1.txt' into table smb_input1; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/in2.txt' into table smb_input1; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/in1.txt' into table smb_input2; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/in2.txt' into table smb_input2; -No rows affected ->>> ->>> SET hive.optimize.bucketmapjoin = true; -No rows affected ->>> SET hive.optimize.bucketmapjoin.sortedmerge = true; -No rows affected ->>> SET hive.input.format = org.apache.hadoop.hive.ql.io.BucketizedHiveInputFormat; -No rows affected ->>> ->>> SET hive.outerjoin.supports.filters = false; -No rows affected ->>> ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a JOIN myinput1 b on a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'3078400' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a LEFT OUTER JOIN myinput1 b on a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'3078400' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a RIGHT OUTER JOIN myinput1 b on a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'3078400' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a FULL OUTER JOIN myinput1 b on a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'3078400' -1 row selected ->>> ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a JOIN myinput1 b ON a.key = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'3078400' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a JOIN myinput1 b ON a.key = b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'3078400' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a JOIN myinput1 b ON a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'3078400' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a JOIN myinput1 b ON a.value = b.value and a.key=b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'3078400' -1 row selected ->>> ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a LEFT OUTER JOIN myinput1 b ON a.key = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'3078400' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a LEFT OUTER JOIN myinput1 b ON a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'3078400' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a LEFT OUTER JOIN myinput1 b ON a.key = b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'3078400' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a LEFT OUTER JOIN myinput1 b ON a.key = b.key and a.value=b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'3078400' -1 row selected ->>> ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a RIGHT OUTER JOIN myinput1 b ON a.key = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'3078400' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a RIGHT OUTER JOIN myinput1 b ON a.key = b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'3078400' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a RIGHT OUTER JOIN myinput1 b ON a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'3078400' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a RIGHT OUTER JOIN myinput1 b ON a.key=b.key and a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'3078400' -1 row selected ->>> ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a FULL OUTER JOIN myinput1 b ON a.key = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'3078400' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a FULL OUTER JOIN myinput1 b ON a.key = b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'3078400' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a FULL OUTER JOIN myinput1 b ON a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'3078400' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a FULL OUTER JOIN myinput1 b ON a.value = b.value and a.key=b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value; -'_c0' -'3078400' -1 row selected ->>> ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) from myinput1 a LEFT OUTER JOIN myinput1 b ON (a.value=b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value) RIGHT OUTER JOIN myinput1 c ON (b.value=c.value AND c.key > 40 AND c.value > 50 AND c.key = c.value AND b.key > 40 AND b.value > 50 AND b.key = b.value); -'_c0' -'3078400' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) from myinput1 a RIGHT OUTER JOIN myinput1 b ON (a.value=b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value) LEFT OUTER JOIN myinput1 c ON (b.value=c.value AND c.key > 40 AND c.value > 50 AND c.key = c.value AND b.key > 40 AND b.value > 50 AND b.key = b.value); -'_c0' -'3078400' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a LEFT OUTER JOIN myinput1 b RIGHT OUTER JOIN myinput1 c ON a.value = b.value and b.value = c.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value AND c.key > 40 AND c.value > 50 AND c.key = c.value; -'_c0' -'3078400' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) from myinput1 a LEFT OUTER JOIN myinput1 b ON (a.value=b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value) RIGHT OUTER JOIN myinput1 c ON (b.key=c.key AND c.key > 40 AND c.value > 50 AND c.key = c.value AND b.key > 40 AND b.value > 50 AND b.key = b.value); -'_c0' -'3078400' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) from myinput1 a RIGHT OUTER JOIN myinput1 b ON (a.value=b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value) LEFT OUTER JOIN myinput1 c ON (b.key=c.key AND c.key > 40 AND c.value > 50 AND c.key = c.value AND b.key > 40 AND b.value > 50 AND b.key = b.value); -'_c0' -'3078400' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a LEFT OUTER JOIN myinput1 b RIGHT OUTER JOIN myinput1 c ON a.value = b.value and b.key = c.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value AND c.key > 40 AND c.value > 50 AND c.key = c.value; -'_c0' -'3078400' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/auto_join_nulls.q.out ql/src/test/results/beelinepositive/auto_join_nulls.q.out deleted file mode 100644 index 822fe42..0000000 --- ql/src/test/results/beelinepositive/auto_join_nulls.q.out +++ /dev/null @@ -1,101 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/auto_join_nulls.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/auto_join_nulls.q ->>> set hive.auto.convert.join = true; -No rows affected ->>> ->>> CREATE TABLE myinput1(key int, value int); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/in1.txt' INTO TABLE myinput1; -No rows affected ->>> ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a JOIN myinput1 b; -'_c0' -'13630578' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a LEFT OUTER JOIN myinput1 b; -'_c0' -'13630578' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a RIGHT OUTER JOIN myinput1 b; -'_c0' -'13630578' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a JOIN myinput1 b ON a.key = b.value; -'_c0' -'3078400' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a JOIN myinput1 b ON a.key = b.key; -'_c0' -'4509856' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a JOIN myinput1 b ON a.value = b.value; -'_c0' -'3112070' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a JOIN myinput1 b ON a.value = b.value and a.key=b.key; -'_c0' -'3078400' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a LEFT OUTER JOIN myinput1 b ON a.key = b.value; -'_c0' -'4542003' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a LEFT OUTER JOIN myinput1 b ON a.value = b.value; -'_c0' -'4542038' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a LEFT OUTER JOIN myinput1 b ON a.key = b.key; -'_c0' -'4543491' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a LEFT OUTER JOIN myinput1 b ON a.key = b.key and a.value=b.value; -'_c0' -'4542003' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a RIGHT OUTER JOIN myinput1 b ON a.key = b.value; -'_c0' -'3079923' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a RIGHT OUTER JOIN myinput1 b ON a.key = b.key; -'_c0' -'4509891' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a RIGHT OUTER JOIN myinput1 b ON a.value = b.value; -'_c0' -'3113558' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a RIGHT OUTER JOIN myinput1 b ON a.key=b.key and a.value = b.value; -'_c0' -'3079923' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a FULL OUTER JOIN myinput1 b ON a.key = b.value; -'_c0' -'4543526' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a FULL OUTER JOIN myinput1 b ON a.key = b.key; -'_c0' -'4543526' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a FULL OUTER JOIN myinput1 b ON a.value = b.value; -'_c0' -'4543526' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a FULL OUTER JOIN myinput1 b ON a.value = b.value and a.key=b.key; -'_c0' -'4543526' -1 row selected ->>> ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) from myinput1 a LEFT OUTER JOIN myinput1 b ON (a.value=b.value) RIGHT OUTER JOIN myinput1 c ON (b.value=c.value); -'_c0' -'3112070' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) from myinput1 a RIGHT OUTER JOIN myinput1 b ON (a.value=b.value) LEFT OUTER JOIN myinput1 c ON (b.value=c.value); -'_c0' -'3113558' -1 row selected ->>> SELECT sum(hash(a.key,a.value,b.key,b.value)) FROM myinput1 a LEFT OUTER JOIN myinput1 b RIGHT OUTER JOIN myinput1 c ON a.value = b.value and b.value = c.value; -'_c0' -'3112070' -1 row selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/autogen_colalias.q.out ql/src/test/results/beelinepositive/autogen_colalias.q.out deleted file mode 100644 index 5c537bd..0000000 --- ql/src/test/results/beelinepositive/autogen_colalias.q.out +++ /dev/null @@ -1,70 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/autogen_colalias.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/autogen_colalias.q ->>> CREATE TEMPORARY FUNCTION test_max AS 'org.apache.hadoop.hive.ql.udf.UDAFTestMax'; -No rows affected ->>> ->>> create table dest_grouped_old1 as select 1+1, 2+2 as zz, src.key, test_max(length(src.value)), count(src.value), sin(count(src.value)), count(sin(src.value)), unix_timestamp(), CAST(SUM(IF(value > 10, value, 1)) AS INT), if(src.key > 1, -1, -0) -from src group by src.key; -'_c0','zz','key','_c3','_c4','_c5','_c6','_c7','_c8','_c9' -No rows selected ->>> describe dest_grouped_old1; -'col_name','data_type','comment' -'_c0','int','' -'zz','int','' -'key','string','' -'_c3','int','' -'_c4','bigint','' -'_c5','double','' -'_c6','bigint','' -'_c7','bigint','' -'_c8','int','' -'_c9','int','' -10 rows selected ->>> ->>> create table dest_grouped_old2 as select distinct src.key from src; -'key' -No rows selected ->>> describe dest_grouped_old2; -'col_name','data_type','comment' -'key','string','' -1 row selected ->>> ->>> set hive.autogen.columnalias.prefix.label=column_; -No rows affected ->>> set hive.autogen.columnalias.prefix.includefuncname=true; -No rows affected ->>> ->>> create table dest_grouped_new1 as select 1+1, 2+2 as zz, ((src.key % 2)+2)/2, test_max(length(src.value)), count(src.value), sin(count(src.value)), count(sin(src.value)), unix_timestamp(), CAST(SUM(IF(value > 10, value, 1)) AS INT), if(src.key > 10, -(src.key +5) % 2, -0) -from src group by src.key; -'column_0','zz','column_2','test_max_length_src__3','count_src_value_4','sin_count_src_value_5','count_sin_src_value_6','unix_timestamp_7','sum_if_value_10_valu_8','if_src_key_10_src_ke_9' -No rows selected ->>> describe dest_grouped_new1; -'col_name','data_type','comment' -'column_0','int','' -'zz','int','' -'column_2','double','' -'test_max_length_src__3','int','' -'count_src_value_4','bigint','' -'sin_count_src_value_5','double','' -'count_sin_src_value_6','bigint','' -'unix_timestamp_7','bigint','' -'sum_if_value_10_valu_8','int','' -'if_src_key_10_src_ke_9','double','' -10 rows selected ->>> ->>> create table dest_grouped_new2 as select distinct src.key from src; -'key' -No rows selected ->>> describe dest_grouped_new2; -'col_name','data_type','comment' -'key','string','' -1 row selected ->>> ->>> -- Drop the temporary function at the end till HIVE-3160 gets fixed ->>> DROP TEMPORARY FUNCTION test_max; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/avro_change_schema.q.out ql/src/test/results/beelinepositive/avro_change_schema.q.out deleted file mode 100644 index b89ba4a..0000000 --- ql/src/test/results/beelinepositive/avro_change_schema.q.out +++ /dev/null @@ -1,42 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/avro_change_schema.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/avro_change_schema.q ->>> -- verify that we can update the table properties ->>> CREATE TABLE avro2 -ROW FORMAT -SERDE 'org.apache.hadoop.hive.serde2.avro.AvroSerDe' -STORED AS -INPUTFORMAT 'org.apache.hadoop.hive.ql.io.avro.AvroContainerInputFormat' -OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.avro.AvroContainerOutputFormat' -TBLPROPERTIES ('avro.schema.literal'='{ "namespace": "org.apache.hive", -"name": "first_schema", -"type": "record", -"fields": [ -{ "name":"string1", "type":"string" }, -{ "name":"string2", "type":"string" } -] }'); -No rows affected ->>> ->>> DESCRIBE avro2; -'col_name','data_type','comment' -'string1','string','from deserializer' -'string2','string','from deserializer' -2 rows selected ->>> ->>> ALTER TABLE avro2 SET TBLPROPERTIES ('avro.schema.literal'='{ "namespace": "org.apache.hive", -"name": "second_schema", -"type": "record", -"fields": [ -{ "name":"int1", "type":"int" }, -{ "name":"float1", "type":"float" }, -{ "name":"double1", "type":"double" } -] }'); -No rows affected ->>> ->>> DESCRIBE avro2; -'col_name','data_type','comment' -'int1','int','from deserializer' -'float1','float','from deserializer' -'double1','double','from deserializer' -3 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/avro_evolved_schemas.q.out ql/src/test/results/beelinepositive/avro_evolved_schemas.q.out deleted file mode 100644 index bd17fa9..0000000 --- ql/src/test/results/beelinepositive/avro_evolved_schemas.q.out +++ /dev/null @@ -1,66 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/avro_evolved_schemas.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/avro_evolved_schemas.q ->>> -- verify that new fields in schema get propagated to table scans ->>> CREATE TABLE doctors_with_new_field -ROW FORMAT -SERDE 'org.apache.hadoop.hive.serde2.avro.AvroSerDe' -STORED AS -INPUTFORMAT 'org.apache.hadoop.hive.ql.io.avro.AvroContainerInputFormat' -OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.avro.AvroContainerOutputFormat' -TBLPROPERTIES ('avro.schema.literal'='{ -"namespace": "testing.hive.avro.serde", -"name": "doctors", -"type": "record", -"fields": [ -{ -"name":"number", -"type":"int", -"doc":"Order of playing the role" -}, -{ -"name":"first_name", -"type":"string", -"doc":"first name of actor playing role" -}, -{ -"name":"last_name", -"type":"string", -"doc":"last name of actor playing role" -}, -{ -"name":"extra_field", -"type":"string", -"doc:":"an extra field not in the original file", -"default":"fishfingers and custard" -} -] -}'); -No rows affected ->>> ->>> DESCRIBE doctors_with_new_field; -'col_name','data_type','comment' -'number','int','from deserializer' -'first_name','string','from deserializer' -'last_name','string','from deserializer' -'extra_field','string','from deserializer' -4 rows selected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/doctors.avro' INTO TABLE doctors_with_new_field; -No rows affected ->>> ->>> SELECT * FROM doctors_with_new_field ORDER BY first_name; -'number','first_name','last_name','extra_field' -'9','Christopher','Eccleston','fishfingers and custard' -'6','Colin','Baker','fishfingers and custard' -'10','David','Tennant','fishfingers and custard' -'3','Jon','Pertwee','fishfingers and custard' -'11','Matt','Smith','fishfingers and custard' -'2','Patrick','Troughton','fishfingers and custard' -'8','Paul','McGann','fishfingers and custard' -'5','Peter','Davison','fishfingers and custard' -'7','Sylvester','McCoy','fishfingers and custard' -'4','Tom','Baker','fishfingers and custard' -'1','William','Hartnell','fishfingers and custard' -11 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/avro_joins.q.out ql/src/test/results/beelinepositive/avro_joins.q.out deleted file mode 100644 index fdced96..0000000 --- ql/src/test/results/beelinepositive/avro_joins.q.out +++ /dev/null @@ -1,107 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/avro_joins.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/avro_joins.q ->>> -- verify that new joins bring in correct schemas (including evolved schemas) ->>> ->>> CREATE TABLE doctors4 -ROW FORMAT -SERDE 'org.apache.hadoop.hive.serde2.avro.AvroSerDe' -STORED AS -INPUTFORMAT 'org.apache.hadoop.hive.ql.io.avro.AvroContainerInputFormat' -OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.avro.AvroContainerOutputFormat' -TBLPROPERTIES ('avro.schema.literal'='{ -"namespace": "testing.hive.avro.serde", -"name": "doctors", -"type": "record", -"fields": [ -{ -"name":"number", -"type":"int", -"doc":"Order of playing the role" -}, -{ -"name":"first_name", -"type":"string", -"doc":"first name of actor playing role" -}, -{ -"name":"last_name", -"type":"string", -"doc":"last name of actor playing role" -}, -{ -"name":"extra_field", -"type":"string", -"doc:":"an extra field not in the original file", -"default":"fishfingers and custard" -} -] -}'); -No rows affected ->>> ->>> DESCRIBE doctors4; -'col_name','data_type','comment' -'number','int','from deserializer' -'first_name','string','from deserializer' -'last_name','string','from deserializer' -'extra_field','string','from deserializer' -4 rows selected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/doctors.avro' INTO TABLE doctors4; -No rows affected ->>> ->>> CREATE TABLE episodes -ROW FORMAT -SERDE 'org.apache.hadoop.hive.serde2.avro.AvroSerDe' -STORED AS -INPUTFORMAT 'org.apache.hadoop.hive.ql.io.avro.AvroContainerInputFormat' -OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.avro.AvroContainerOutputFormat' -TBLPROPERTIES ('avro.schema.literal'='{ -"namespace": "testing.hive.avro.serde", -"name": "episodes", -"type": "record", -"fields": [ -{ -"name":"title", -"type":"string", -"doc":"episode title" -}, -{ -"name":"air_date", -"type":"string", -"doc":"initial date" -}, -{ -"name":"doctor", -"type":"int", -"doc":"main actor playing the Doctor in episode" -} -] -}'); -No rows affected ->>> ->>> DESCRIBE episodes; -'col_name','data_type','comment' -'title','string','from deserializer' -'air_date','string','from deserializer' -'doctor','int','from deserializer' -3 rows selected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/episodes.avro' INTO TABLE episodes; -No rows affected ->>> ->>> SELECT e.title, e.air_date, d.first_name, d.last_name, d.extra_field, e.air_date -FROM doctors4 d JOIN episodes e ON (d.number=e.doctor) -ORDER BY d.last_name, e.title; -'title','air_date','first_name','last_name','extra_field','air_date' -'Horror of Fang Rock','3 September 1977','Tom','Baker','fishfingers and custard','3 September 1977' -'The Mysterious Planet','6 September 1986','Colin','Baker','fishfingers and custard','6 September 1986' -'Castrolava','4 January 1982','Peter','Davison','fishfingers and custard','4 January 1982' -'Rose','26 March 2005','Christopher','Eccleston','fishfingers and custard','26 March 2005' -'An Unearthly Child','23 November 1963','William','Hartnell','fishfingers and custard','23 November 1963' -'The Doctor's Wife','14 May 2011','Matt','Smith','fishfingers and custard','14 May 2011' -'The Eleventh Hour','3 April 2010','Matt','Smith','fishfingers and custard','3 April 2010' -'The Power of the Daleks','5 November 1966','Patrick','Troughton','fishfingers and custard','5 November 1966' -8 rows selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/avro_sanity_test.q.out ql/src/test/results/beelinepositive/avro_sanity_test.q.out deleted file mode 100644 index 2dd8d7b..0000000 --- ql/src/test/results/beelinepositive/avro_sanity_test.q.out +++ /dev/null @@ -1,59 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/avro_sanity_test.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/avro_sanity_test.q ->>> -- verify that we can actually read avro files ->>> CREATE TABLE doctors -ROW FORMAT -SERDE 'org.apache.hadoop.hive.serde2.avro.AvroSerDe' -STORED AS -INPUTFORMAT 'org.apache.hadoop.hive.ql.io.avro.AvroContainerInputFormat' -OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.avro.AvroContainerOutputFormat' -TBLPROPERTIES ('avro.schema.literal'='{ -"namespace": "testing.hive.avro.serde", -"name": "doctors", -"type": "record", -"fields": [ -{ -"name":"number", -"type":"int", -"doc":"Order of playing the role" -}, -{ -"name":"first_name", -"type":"string", -"doc":"first name of actor playing role" -}, -{ -"name":"last_name", -"type":"string", -"doc":"last name of actor playing role" -} -] -}'); -No rows affected ->>> ->>> DESCRIBE doctors; -'col_name','data_type','comment' -'number','int','from deserializer' -'first_name','string','from deserializer' -'last_name','string','from deserializer' -3 rows selected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/doctors.avro' INTO TABLE doctors; -No rows affected ->>> ->>> SELECT * FROM doctors ORDER BY number; -'number','first_name','last_name' -'1','William','Hartnell' -'2','Patrick','Troughton' -'3','Jon','Pertwee' -'4','Tom','Baker' -'5','Peter','Davison' -'6','Colin','Baker' -'7','Sylvester','McCoy' -'8','Paul','McGann' -'9','Christopher','Eccleston' -'10','David','Tennant' -'11','Matt','Smith' -11 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/avro_schema_literal.q.out ql/src/test/results/beelinepositive/avro_schema_literal.q.out deleted file mode 100644 index 45ae129..0000000 --- ql/src/test/results/beelinepositive/avro_schema_literal.q.out +++ /dev/null @@ -1,54 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/avro_schema_literal.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/avro_schema_literal.q ->>> CREATE TABLE avro1 -ROW FORMAT -SERDE 'org.apache.hadoop.hive.serde2.avro.AvroSerDe' -STORED AS -INPUTFORMAT 'org.apache.hadoop.hive.ql.io.avro.AvroContainerInputFormat' -OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.avro.AvroContainerOutputFormat' -TBLPROPERTIES ('avro.schema.literal'='{ -"namespace": "org.apache.hive", -"name": "big_old_schema", -"type": "record", -"fields": [ -{ "name":"string1", "type":"string" }, -{ "name":"int1", "type":"int" }, -{ "name":"tinyint1", "type":"int" }, -{ "name":"smallint1", "type":"int" }, -{ "name":"bigint1", "type":"long" }, -{ "name":"boolean1", "type":"boolean" }, -{ "name":"float1", "type":"float" }, -{ "name":"double1", "type":"double" }, -{ "name":"list1", "type":{"type":"array", "items":"string"} }, -{ "name":"map1", "type":{"type":"map", "values":"int"} }, -{ "name":"struct1", "type":{"type":"record", "name":"struct1_name", "fields": [ -{ "name":"sInt", "type":"int" }, { "name":"sBoolean", "type":"boolean" }, { "name":"sString", "type":"string" } ] } }, -{ "name":"union1", "type":["float", "boolean", "string"] }, -{ "name":"enum1", "type":{"type":"enum", "name":"enum1_values", "symbols":["BLUE","RED", "GREEN"]} }, -{ "name":"nullableint", "type":["int", "null"] }, -{ "name":"bytes1", "type":"bytes" }, -{ "name":"fixed1", "type":{"type":"fixed", "name":"threebytes", "size":3} } -] }'); -No rows affected ->>> ->>> DESCRIBE avro1; -'col_name','data_type','comment' -'string1','string','from deserializer' -'int1','int','from deserializer' -'tinyint1','int','from deserializer' -'smallint1','int','from deserializer' -'bigint1','bigint','from deserializer' -'boolean1','boolean','from deserializer' -'float1','float','from deserializer' -'double1','double','from deserializer' -'list1','array','from deserializer' -'map1','map','from deserializer' -'struct1','struct','from deserializer' -'union1','uniontype','from deserializer' -'enum1','string','from deserializer' -'nullableint','int','from deserializer' -'bytes1','array','from deserializer' -'fixed1','array','from deserializer' -16 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/ba_table_union.q.out ql/src/test/results/beelinepositive/ba_table_union.q.out deleted file mode 100644 index b8b9c6a..0000000 --- ql/src/test/results/beelinepositive/ba_table_union.q.out +++ /dev/null @@ -1,40 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/ba_table_union.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/ba_table_union.q ->>> drop table ba_test; -No rows affected ->>> ->>> -- this query tests ba_table1.q + nested queries with multiple operations on binary data types + union on binary types ->>> create table ba_test (ba_key binary, ba_val binary) ; -No rows affected ->>> ->>> describe extended ba_test; -'col_name','data_type','comment' -'ba_key','binary','' -'ba_val','binary','' -'','','' -'Detailed Table Information','Table(tableName:ba_test, dbName:ba_table_union, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:ba_key, type:binary, comment:null), FieldSchema(name:ba_val, type:binary, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/ba_table_union.db/ba_test, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -4 rows selected ->>> ->>> from src insert overwrite table ba_test select cast (src.key as binary), cast (src.value as binary); -'_c0','_c1' -No rows selected ->>> ->>> select * from ( select key from src where key < 50 union all select cast(ba_key as string) as key from ba_test limit 50) unioned order by key limit 10; -'key' -'0' -'0' -'0' -'10' -'11' -'12' -'12' -'128' -'145' -'146' -10 rows selected ->>> ->>> drop table ba_test; -No rows affected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/binary_constant.q.out ql/src/test/results/beelinepositive/binary_constant.q.out deleted file mode 100644 index 63b3046..0000000 --- ql/src/test/results/beelinepositive/binary_constant.q.out +++ /dev/null @@ -1,7 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/binary_constant.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/binary_constant.q ->>> select cast(cast('a' as binary) as string) from src limit 1; -'_c0' -'a' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/binary_output_format.q.out ql/src/test/results/beelinepositive/binary_output_format.q.out deleted file mode 100644 index 64257ca..0000000 --- ql/src/test/results/beelinepositive/binary_output_format.q.out +++ /dev/null @@ -1,859 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/binary_output_format.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/binary_output_format.q ->>> -- Create a table with binary output format ->>> CREATE TABLE dest1(mydata STRING) -ROW FORMAT SERDE -'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -WITH SERDEPROPERTIES ( -'serialization.last.column.takes.rest'='true' -) -STORED AS -INPUTFORMAT 'org.apache.hadoop.mapred.TextInputFormat' -OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveBinaryOutputFormat'; -No rows affected ->>> ->>> -- Insert into that table using transform ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE dest1 -SELECT TRANSFORM(*) -USING 'cat' -AS mydata STRING -ROW FORMAT SERDE -'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -WITH SERDEPROPERTIES ( -'serialization.last.column.takes.rest'='true' -) -RECORDREADER 'org.apache.hadoop.hive.ql.exec.BinaryRecordReader' -FROM src; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_TRANSFORM (TOK_EXPLIST TOK_ALLCOLREF) TOK_SERDE TOK_RECORDWRITER 'cat' (TOK_SERDE (TOK_SERDENAME 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' (TOK_TABLEPROPERTIES (TOK_TABLEPROPLIST (TOK_TABLEPROPERTY 'serialization.last.column.takes.rest' 'true'))))) (TOK_RECORDREADER 'org.apache.hadoop.hive.ql.exec.BinaryRecordReader') (TOK_TABCOLLIST (TOK_TABCOL mydata TOK_STRING)))))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Transform Operator' -' command: cat' -' output info:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types string' -' field.delim 9' -' serialization.format 9' -' serialization.last.column.takes.rest true' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveBinaryOutputFormat' -' properties:' -' bucket_count -1' -' columns mydata' -' columns.types string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveBinaryOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/binary_output_format.db/dest1' -' name binary_output_format.dest1' -' serialization.ddl struct dest1 { string mydata}' -' serialization.format 1' -' serialization.last.column.takes.rest true' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: binary_output_format.dest1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/binary_output_format.db/src [src]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/binary_output_format.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/binary_output_format.db/src' -' name binary_output_format.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/binary_output_format.db/src' -' name binary_output_format.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: binary_output_format.src' -' name: binary_output_format.src' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveBinaryOutputFormat' -' properties:' -' bucket_count -1' -' columns mydata' -' columns.types string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveBinaryOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/binary_output_format.db/dest1' -' name binary_output_format.dest1' -' serialization.ddl struct dest1 { string mydata}' -' serialization.format 1' -' serialization.last.column.takes.rest true' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: binary_output_format.dest1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveBinaryOutputFormat' -' properties:' -' bucket_count -1' -' columns mydata' -' columns.types string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveBinaryOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/binary_output_format.db/dest1' -' name binary_output_format.dest1' -' serialization.ddl struct dest1 { string mydata}' -' serialization.format 1' -' serialization.last.column.takes.rest true' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: binary_output_format.dest1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveBinaryOutputFormat' -' properties:' -' bucket_count -1' -' columns mydata' -' columns.types string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveBinaryOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/binary_output_format.db/dest1' -' name binary_output_format.dest1' -' serialization.ddl struct dest1 { string mydata}' -' serialization.format 1' -' serialization.last.column.takes.rest true' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveBinaryOutputFormat' -' properties:' -' bucket_count -1' -' columns mydata' -' columns.types string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveBinaryOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/binary_output_format.db/dest1' -' name binary_output_format.dest1' -' serialization.ddl struct dest1 { string mydata}' -' serialization.format 1' -' serialization.last.column.takes.rest true' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: binary_output_format.dest1' -' name: binary_output_format.dest1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveBinaryOutputFormat' -' properties:' -' bucket_count -1' -' columns mydata' -' columns.types string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveBinaryOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/binary_output_format.db/dest1' -' name binary_output_format.dest1' -' serialization.ddl struct dest1 { string mydata}' -' serialization.format 1' -' serialization.last.column.takes.rest true' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: binary_output_format.dest1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveBinaryOutputFormat' -' properties:' -' bucket_count -1' -' columns mydata' -' columns.types string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveBinaryOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/binary_output_format.db/dest1' -' name binary_output_format.dest1' -' serialization.ddl struct dest1 { string mydata}' -' serialization.format 1' -' serialization.last.column.takes.rest true' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveBinaryOutputFormat' -' properties:' -' bucket_count -1' -' columns mydata' -' columns.types string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveBinaryOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/binary_output_format.db/dest1' -' name binary_output_format.dest1' -' serialization.ddl struct dest1 { string mydata}' -' serialization.format 1' -' serialization.last.column.takes.rest true' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: binary_output_format.dest1' -' name: binary_output_format.dest1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -310 rows selected ->>> ->>> INSERT OVERWRITE TABLE dest1 -SELECT TRANSFORM(*) -USING 'cat' -AS mydata STRING -ROW FORMAT SERDE -'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -WITH SERDEPROPERTIES ( -'serialization.last.column.takes.rest'='true' -) -RECORDREADER 'org.apache.hadoop.hive.ql.exec.BinaryRecordReader' -FROM src; -'mydata' -No rows selected ->>> ->>> -- Test the result ->>> SELECT * FROM dest1; -'mydata' -'238 val_238' -'86 val_86' -'311 val_311' -'27 val_27' -'165 val_165' -'409 val_409' -'255 val_255' -'278 val_278' -'98 val_98' -'484 val_484' -'265 val_265' -'193 val_193' -'401 val_401' -'150 val_150' -'273 val_273' -'224 val_224' -'369 val_369' -'66 val_66' -'128 val_128' -'213 val_213' -'146 val_146' -'406 val_406' -'429 val_429' -'374 val_374' -'152 val_152' -'469 val_469' -'145 val_145' -'495 val_495' -'37 val_37' -'327 val_327' -'281 val_281' -'277 val_277' -'209 val_209' -'15 val_15' -'82 val_82' -'403 val_403' -'166 val_166' -'417 val_417' -'430 val_430' -'252 val_252' -'292 val_292' -'219 val_219' -'287 val_287' -'153 val_153' -'193 val_193' -'338 val_338' -'446 val_446' -'459 val_459' -'394 val_394' -'237 val_237' -'482 val_482' -'174 val_174' -'413 val_413' -'494 val_494' -'207 val_207' -'199 val_199' -'466 val_466' -'208 val_208' -'174 val_174' -'399 val_399' -'396 val_396' -'247 val_247' -'417 val_417' -'489 val_489' -'162 val_162' -'377 val_377' -'397 val_397' -'309 val_309' -'365 val_365' -'266 val_266' -'439 val_439' -'342 val_342' -'367 val_367' -'325 val_325' -'167 val_167' -'195 val_195' -'475 val_475' -'17 val_17' -'113 val_113' -'155 val_155' -'203 val_203' -'339 val_339' -'0 val_0' -'455 val_455' -'128 val_128' -'311 val_311' -'316 val_316' -'57 val_57' -'302 val_302' -'205 val_205' -'149 val_149' -'438 val_438' -'345 val_345' -'129 val_129' -'170 val_170' -'20 val_20' -'489 val_489' -'157 val_157' -'378 val_378' -'221 val_221' -'92 val_92' -'111 val_111' -'47 val_47' -'72 val_72' -'4 val_4' -'280 val_280' -'35 val_35' -'427 val_427' -'277 val_277' -'208 val_208' -'356 val_356' -'399 val_399' -'169 val_169' -'382 val_382' -'498 val_498' -'125 val_125' -'386 val_386' -'437 val_437' -'469 val_469' -'192 val_192' -'286 val_286' -'187 val_187' -'176 val_176' -'54 val_54' -'459 val_459' -'51 val_51' -'138 val_138' -'103 val_103' -'239 val_239' -'213 val_213' -'216 val_216' -'430 val_430' -'278 val_278' -'176 val_176' -'289 val_289' -'221 val_221' -'65 val_65' -'318 val_318' -'332 val_332' -'311 val_311' -'275 val_275' -'137 val_137' -'241 val_241' -'83 val_83' -'333 val_333' -'180 val_180' -'284 val_284' -'12 val_12' -'230 val_230' -'181 val_181' -'67 val_67' -'260 val_260' -'404 val_404' -'384 val_384' -'489 val_489' -'353 val_353' -'373 val_373' -'272 val_272' -'138 val_138' -'217 val_217' -'84 val_84' -'348 val_348' -'466 val_466' -'58 val_58' -'8 val_8' -'411 val_411' -'230 val_230' -'208 val_208' -'348 val_348' -'24 val_24' -'463 val_463' -'431 val_431' -'179 val_179' -'172 val_172' -'42 val_42' -'129 val_129' -'158 val_158' -'119 val_119' -'496 val_496' -'0 val_0' -'322 val_322' -'197 val_197' -'468 val_468' -'393 val_393' -'454 val_454' -'100 val_100' -'298 val_298' -'199 val_199' -'191 val_191' -'418 val_418' -'96 val_96' -'26 val_26' -'165 val_165' -'327 val_327' -'230 val_230' -'205 val_205' -'120 val_120' -'131 val_131' -'51 val_51' -'404 val_404' -'43 val_43' -'436 val_436' -'156 val_156' -'469 val_469' -'468 val_468' -'308 val_308' -'95 val_95' -'196 val_196' -'288 val_288' -'481 val_481' -'457 val_457' -'98 val_98' -'282 val_282' -'197 val_197' -'187 val_187' -'318 val_318' -'318 val_318' -'409 val_409' -'470 val_470' -'137 val_137' -'369 val_369' -'316 val_316' -'169 val_169' -'413 val_413' -'85 val_85' -'77 val_77' -'0 val_0' -'490 val_490' -'87 val_87' -'364 val_364' -'179 val_179' -'118 val_118' -'134 val_134' -'395 val_395' -'282 val_282' -'138 val_138' -'238 val_238' -'419 val_419' -'15 val_15' -'118 val_118' -'72 val_72' -'90 val_90' -'307 val_307' -'19 val_19' -'435 val_435' -'10 val_10' -'277 val_277' -'273 val_273' -'306 val_306' -'224 val_224' -'309 val_309' -'389 val_389' -'327 val_327' -'242 val_242' -'369 val_369' -'392 val_392' -'272 val_272' -'331 val_331' -'401 val_401' -'242 val_242' -'452 val_452' -'177 val_177' -'226 val_226' -'5 val_5' -'497 val_497' -'402 val_402' -'396 val_396' -'317 val_317' -'395 val_395' -'58 val_58' -'35 val_35' -'336 val_336' -'95 val_95' -'11 val_11' -'168 val_168' -'34 val_34' -'229 val_229' -'233 val_233' -'143 val_143' -'472 val_472' -'322 val_322' -'498 val_498' -'160 val_160' -'195 val_195' -'42 val_42' -'321 val_321' -'430 val_430' -'119 val_119' -'489 val_489' -'458 val_458' -'78 val_78' -'76 val_76' -'41 val_41' -'223 val_223' -'492 val_492' -'149 val_149' -'449 val_449' -'218 val_218' -'228 val_228' -'138 val_138' -'453 val_453' -'30 val_30' -'209 val_209' -'64 val_64' -'468 val_468' -'76 val_76' -'74 val_74' -'342 val_342' -'69 val_69' -'230 val_230' -'33 val_33' -'368 val_368' -'103 val_103' -'296 val_296' -'113 val_113' -'216 val_216' -'367 val_367' -'344 val_344' -'167 val_167' -'274 val_274' -'219 val_219' -'239 val_239' -'485 val_485' -'116 val_116' -'223 val_223' -'256 val_256' -'263 val_263' -'70 val_70' -'487 val_487' -'480 val_480' -'401 val_401' -'288 val_288' -'191 val_191' -'5 val_5' -'244 val_244' -'438 val_438' -'128 val_128' -'467 val_467' -'432 val_432' -'202 val_202' -'316 val_316' -'229 val_229' -'469 val_469' -'463 val_463' -'280 val_280' -'2 val_2' -'35 val_35' -'283 val_283' -'331 val_331' -'235 val_235' -'80 val_80' -'44 val_44' -'193 val_193' -'321 val_321' -'335 val_335' -'104 val_104' -'466 val_466' -'366 val_366' -'175 val_175' -'403 val_403' -'483 val_483' -'53 val_53' -'105 val_105' -'257 val_257' -'406 val_406' -'409 val_409' -'190 val_190' -'406 val_406' -'401 val_401' -'114 val_114' -'258 val_258' -'90 val_90' -'203 val_203' -'262 val_262' -'348 val_348' -'424 val_424' -'12 val_12' -'396 val_396' -'201 val_201' -'217 val_217' -'164 val_164' -'431 val_431' -'454 val_454' -'478 val_478' -'298 val_298' -'125 val_125' -'431 val_431' -'164 val_164' -'424 val_424' -'187 val_187' -'382 val_382' -'5 val_5' -'70 val_70' -'397 val_397' -'480 val_480' -'291 val_291' -'24 val_24' -'351 val_351' -'255 val_255' -'104 val_104' -'70 val_70' -'163 val_163' -'438 val_438' -'119 val_119' -'414 val_414' -'200 val_200' -'491 val_491' -'237 val_237' -'439 val_439' -'360 val_360' -'248 val_248' -'479 val_479' -'305 val_305' -'417 val_417' -'199 val_199' -'444 val_444' -'120 val_120' -'429 val_429' -'169 val_169' -'443 val_443' -'323 val_323' -'325 val_325' -'277 val_277' -'230 val_230' -'478 val_478' -'178 val_178' -'468 val_468' -'310 val_310' -'317 val_317' -'333 val_333' -'493 val_493' -'460 val_460' -'207 val_207' -'249 val_249' -'265 val_265' -'480 val_480' -'83 val_83' -'136 val_136' -'353 val_353' -'172 val_172' -'214 val_214' -'462 val_462' -'233 val_233' -'406 val_406' -'133 val_133' -'175 val_175' -'189 val_189' -'454 val_454' -'375 val_375' -'401 val_401' -'421 val_421' -'407 val_407' -'384 val_384' -'256 val_256' -'26 val_26' -'134 val_134' -'67 val_67' -'384 val_384' -'379 val_379' -'18 val_18' -'462 val_462' -'492 val_492' -'100 val_100' -'298 val_298' -'9 val_9' -'341 val_341' -'498 val_498' -'146 val_146' -'458 val_458' -'362 val_362' -'186 val_186' -'285 val_285' -'348 val_348' -'167 val_167' -'18 val_18' -'273 val_273' -'183 val_183' -'281 val_281' -'344 val_344' -'97 val_97' -'469 val_469' -'315 val_315' -'84 val_84' -'28 val_28' -'37 val_37' -'448 val_448' -'152 val_152' -'348 val_348' -'307 val_307' -'194 val_194' -'414 val_414' -'477 val_477' -'222 val_222' -'126 val_126' -'90 val_90' -'169 val_169' -'403 val_403' -'400 val_400' -'200 val_200' -'97 val_97' -500 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/binarysortable_1.q.out ql/src/test/results/beelinepositive/binarysortable_1.q.out deleted file mode 100644 index a08d35d..0000000 --- ql/src/test/results/beelinepositive/binarysortable_1.q.out +++ /dev/null @@ -1,118 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/binarysortable_1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/binarysortable_1.q ->>> CREATE TABLE mytable(key STRING, value STRING) -ROW FORMAT DELIMITED -FIELDS TERMINATED BY '9' -STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/string.txt' INTO TABLE mytable; -No rows affected ->>> ->>> EXPLAIN -SELECT REGEXP_REPLACE(REGEXP_REPLACE(REGEXP_REPLACE(key, '\001', '^A'), '\0', '^@'), '\002', '^B'), value -FROM ( -SELECT key, sum(value) as value -FROM mytable -GROUP BY key -) a; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME mytable))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_TABLE_OR_COL value)) value)) (TOK_GROUPBY (TOK_TABLE_OR_COL key)))) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION REGEXP_REPLACE (TOK_FUNCTION REGEXP_REPLACE (TOK_FUNCTION REGEXP_REPLACE (TOK_TABLE_OR_COL key) '\001' '^A') '\0' '^@') '\002' '^B')) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a:mytable ' -' TableScan' -' alias: mytable' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: sum(value)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: double' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: regexp_replace(regexp_replace(regexp_replace(_col0, '' -' type: string' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -78 rows selected ->>> ->>> SELECT REGEXP_REPLACE(REGEXP_REPLACE(REGEXP_REPLACE(key, '\001', '^A'), '\0', '^@'), '\002', '^B'), value -FROM ( -SELECT key, sum(value) as value -FROM mytable -GROUP BY key -) a; -'_c0','value' -'^@^@^@','7.0' -'^@^A^@','9.0' -'^@test^@','2.0' -'^A^@^A','10.0' -'^A^A^A','8.0' -'^Atest^A','3.0' -'a^@bc^A^B^A^@','1.0' -'test^@^@^A^Atest','6.0' -'test^@test','4.0' -'test^Atest','5.0' -10 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/bucket1.q.out ql/src/test/results/beelinepositive/bucket1.q.out deleted file mode 100644 index 295d786..0000000 --- ql/src/test/results/beelinepositive/bucket1.q.out +++ /dev/null @@ -1,675 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/bucket1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/bucket1.q ->>> set hive.enforce.bucketing = true; -No rows affected ->>> set hive.exec.reducers.max = 200; -No rows affected ->>> ->>> CREATE TABLE bucket1_1(key int, value string) CLUSTERED BY (key) INTO 100 BUCKETS; -No rows affected ->>> ->>> explain extended -insert overwrite table bucket1_1 -select * from src; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME bucket1_1))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' sort order: ' -' Map-reduce partition columns:' -' expr: UDFToInteger(_col0)' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucket1.db/src [src]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucket1.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucket1.db/src' -' name bucket1.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucket1.db/src' -' name bucket1.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucket1.src' -' name: bucket1.src' -' Reduce Operator Tree:' -' Extract' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 100' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucket1.db/bucket1_1' -' name bucket1.bucket1_1' -' serialization.ddl struct bucket1_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucket1.bucket1_1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 100' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucket1.db/bucket1_1' -' name bucket1.bucket1_1' -' serialization.ddl struct bucket1_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucket1.bucket1_1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -150 rows selected ->>> ->>> insert overwrite table bucket1_1 -select * from src; -'_col0','_col1' -No rows selected ->>> ->>> select * from bucket1_1 order by key; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'2','val_2' -'4','val_4' -'5','val_5' -'5','val_5' -'5','val_5' -'8','val_8' -'9','val_9' -'10','val_10' -'11','val_11' -'12','val_12' -'12','val_12' -'15','val_15' -'15','val_15' -'17','val_17' -'18','val_18' -'18','val_18' -'19','val_19' -'20','val_20' -'24','val_24' -'24','val_24' -'26','val_26' -'26','val_26' -'27','val_27' -'28','val_28' -'30','val_30' -'33','val_33' -'34','val_34' -'35','val_35' -'35','val_35' -'35','val_35' -'37','val_37' -'37','val_37' -'41','val_41' -'42','val_42' -'42','val_42' -'43','val_43' -'44','val_44' -'47','val_47' -'51','val_51' -'51','val_51' -'53','val_53' -'54','val_54' -'57','val_57' -'58','val_58' -'58','val_58' -'64','val_64' -'65','val_65' -'66','val_66' -'67','val_67' -'67','val_67' -'69','val_69' -'70','val_70' -'70','val_70' -'70','val_70' -'72','val_72' -'72','val_72' -'74','val_74' -'76','val_76' -'76','val_76' -'77','val_77' -'78','val_78' -'80','val_80' -'82','val_82' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'95','val_95' -'95','val_95' -'96','val_96' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -'100','val_100' -'100','val_100' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -'105','val_105' -'111','val_111' -'113','val_113' -'113','val_113' -'114','val_114' -'116','val_116' -'118','val_118' -'118','val_118' -'119','val_119' -'119','val_119' -'119','val_119' -'120','val_120' -'120','val_120' -'125','val_125' -'125','val_125' -'126','val_126' -'128','val_128' -'128','val_128' -'128','val_128' -'129','val_129' -'129','val_129' -'131','val_131' -'133','val_133' -'134','val_134' -'134','val_134' -'136','val_136' -'137','val_137' -'137','val_137' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'143','val_143' -'145','val_145' -'146','val_146' -'146','val_146' -'149','val_149' -'149','val_149' -'150','val_150' -'152','val_152' -'152','val_152' -'153','val_153' -'155','val_155' -'156','val_156' -'157','val_157' -'158','val_158' -'160','val_160' -'162','val_162' -'163','val_163' -'164','val_164' -'164','val_164' -'165','val_165' -'165','val_165' -'166','val_166' -'167','val_167' -'167','val_167' -'167','val_167' -'168','val_168' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'170','val_170' -'172','val_172' -'172','val_172' -'174','val_174' -'174','val_174' -'175','val_175' -'175','val_175' -'176','val_176' -'176','val_176' -'177','val_177' -'178','val_178' -'179','val_179' -'179','val_179' -'180','val_180' -'181','val_181' -'183','val_183' -'186','val_186' -'187','val_187' -'187','val_187' -'187','val_187' -'189','val_189' -'190','val_190' -'191','val_191' -'191','val_191' -'192','val_192' -'193','val_193' -'193','val_193' -'193','val_193' -'194','val_194' -'195','val_195' -'195','val_195' -'196','val_196' -'197','val_197' -'197','val_197' -'199','val_199' -'199','val_199' -'199','val_199' -'200','val_200' -'200','val_200' -'201','val_201' -'202','val_202' -'203','val_203' -'203','val_203' -'205','val_205' -'205','val_205' -'207','val_207' -'207','val_207' -'208','val_208' -'208','val_208' -'208','val_208' -'209','val_209' -'209','val_209' -'213','val_213' -'213','val_213' -'214','val_214' -'216','val_216' -'216','val_216' -'217','val_217' -'217','val_217' -'218','val_218' -'219','val_219' -'219','val_219' -'221','val_221' -'221','val_221' -'222','val_222' -'223','val_223' -'223','val_223' -'224','val_224' -'224','val_224' -'226','val_226' -'228','val_228' -'229','val_229' -'229','val_229' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'233','val_233' -'233','val_233' -'235','val_235' -'237','val_237' -'237','val_237' -'238','val_238' -'238','val_238' -'239','val_239' -'239','val_239' -'241','val_241' -'242','val_242' -'242','val_242' -'244','val_244' -'247','val_247' -'248','val_248' -'249','val_249' -'252','val_252' -'255','val_255' -'255','val_255' -'256','val_256' -'256','val_256' -'257','val_257' -'258','val_258' -'260','val_260' -'262','val_262' -'263','val_263' -'265','val_265' -'265','val_265' -'266','val_266' -'272','val_272' -'272','val_272' -'273','val_273' -'273','val_273' -'273','val_273' -'274','val_274' -'275','val_275' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'278','val_278' -'278','val_278' -'280','val_280' -'280','val_280' -'281','val_281' -'281','val_281' -'282','val_282' -'282','val_282' -'283','val_283' -'284','val_284' -'285','val_285' -'286','val_286' -'287','val_287' -'288','val_288' -'288','val_288' -'289','val_289' -'291','val_291' -'292','val_292' -'296','val_296' -'298','val_298' -'298','val_298' -'298','val_298' -'302','val_302' -'305','val_305' -'306','val_306' -'307','val_307' -'307','val_307' -'308','val_308' -'309','val_309' -'309','val_309' -'310','val_310' -'311','val_311' -'311','val_311' -'311','val_311' -'315','val_315' -'316','val_316' -'316','val_316' -'316','val_316' -'317','val_317' -'317','val_317' -'318','val_318' -'318','val_318' -'318','val_318' -'321','val_321' -'321','val_321' -'322','val_322' -'322','val_322' -'323','val_323' -'325','val_325' -'325','val_325' -'327','val_327' -'327','val_327' -'327','val_327' -'331','val_331' -'331','val_331' -'332','val_332' -'333','val_333' -'333','val_333' -'335','val_335' -'336','val_336' -'338','val_338' -'339','val_339' -'341','val_341' -'342','val_342' -'342','val_342' -'344','val_344' -'344','val_344' -'345','val_345' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'351','val_351' -'353','val_353' -'353','val_353' -'356','val_356' -'360','val_360' -'362','val_362' -'364','val_364' -'365','val_365' -'366','val_366' -'367','val_367' -'367','val_367' -'368','val_368' -'369','val_369' -'369','val_369' -'369','val_369' -'373','val_373' -'374','val_374' -'375','val_375' -'377','val_377' -'378','val_378' -'379','val_379' -'382','val_382' -'382','val_382' -'384','val_384' -'384','val_384' -'384','val_384' -'386','val_386' -'389','val_389' -'392','val_392' -'393','val_393' -'394','val_394' -'395','val_395' -'395','val_395' -'396','val_396' -'396','val_396' -'396','val_396' -'397','val_397' -'397','val_397' -'399','val_399' -'399','val_399' -'400','val_400' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'402','val_402' -'403','val_403' -'403','val_403' -'403','val_403' -'404','val_404' -'404','val_404' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'407','val_407' -'409','val_409' -'409','val_409' -'409','val_409' -'411','val_411' -'413','val_413' -'413','val_413' -'414','val_414' -'414','val_414' -'417','val_417' -'417','val_417' -'417','val_417' -'418','val_418' -'419','val_419' -'421','val_421' -'424','val_424' -'424','val_424' -'427','val_427' -'429','val_429' -'429','val_429' -'430','val_430' -'430','val_430' -'430','val_430' -'431','val_431' -'431','val_431' -'431','val_431' -'432','val_432' -'435','val_435' -'436','val_436' -'437','val_437' -'438','val_438' -'438','val_438' -'438','val_438' -'439','val_439' -'439','val_439' -'443','val_443' -'444','val_444' -'446','val_446' -'448','val_448' -'449','val_449' -'452','val_452' -'453','val_453' -'454','val_454' -'454','val_454' -'454','val_454' -'455','val_455' -'457','val_457' -'458','val_458' -'458','val_458' -'459','val_459' -'459','val_459' -'460','val_460' -'462','val_462' -'462','val_462' -'463','val_463' -'463','val_463' -'466','val_466' -'466','val_466' -'466','val_466' -'467','val_467' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'470','val_470' -'472','val_472' -'475','val_475' -'477','val_477' -'478','val_478' -'478','val_478' -'479','val_479' -'480','val_480' -'480','val_480' -'480','val_480' -'481','val_481' -'482','val_482' -'483','val_483' -'484','val_484' -'485','val_485' -'487','val_487' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'490','val_490' -'491','val_491' -'492','val_492' -'492','val_492' -'493','val_493' -'494','val_494' -'495','val_495' -'496','val_496' -'497','val_497' -'498','val_498' -'498','val_498' -'498','val_498' -500 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/bucket2.q.out ql/src/test/results/beelinepositive/bucket2.q.out deleted file mode 100644 index 4e1db53..0000000 --- ql/src/test/results/beelinepositive/bucket2.q.out +++ /dev/null @@ -1,477 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/bucket2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/bucket2.q ->>> set hive.enforce.bucketing = true; -No rows affected ->>> set hive.exec.reducers.max = 1; -No rows affected ->>> ->>> CREATE TABLE bucket2_1(key int, value string) CLUSTERED BY (key) INTO 2 BUCKETS; -No rows affected ->>> ->>> explain extended -insert overwrite table bucket2_1 -select * from src; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME bucket2_1))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' sort order: ' -' Map-reduce partition columns:' -' expr: UDFToInteger(_col0)' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucket2.db/src [src]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucket2.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucket2.db/src' -' name bucket2.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucket2.db/src' -' name bucket2.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucket2.src' -' name: bucket2.src' -' Reduce Operator Tree:' -' Extract' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 2' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucket2.db/bucket2_1' -' name bucket2.bucket2_1' -' serialization.ddl struct bucket2_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucket2.bucket2_1' -' TotalFiles: 2' -' GatherStats: true' -' MultiFileSpray: true' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucket2.db/bucket2_1' -' name bucket2.bucket2_1' -' serialization.ddl struct bucket2_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucket2.bucket2_1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -150 rows selected ->>> ->>> insert overwrite table bucket2_1 -select * from src; -'_col0','_col1' -No rows selected ->>> ->>> explain -select * from bucket2_1 tablesample (bucket 1 out of 2) s order by key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME bucket2_1) (TOK_TABLEBUCKETSAMPLE 1 2) s)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' s ' -' TableScan' -' alias: s' -' Filter Operator' -' predicate:' -' expr: (((hash(key) & 2147483647) % 2) = 0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -50 rows selected ->>> ->>> select * from bucket2_1 tablesample (bucket 1 out of 2) s order by key; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'2','val_2' -'4','val_4' -'8','val_8' -'10','val_10' -'12','val_12' -'12','val_12' -'18','val_18' -'18','val_18' -'20','val_20' -'24','val_24' -'24','val_24' -'26','val_26' -'26','val_26' -'28','val_28' -'30','val_30' -'34','val_34' -'42','val_42' -'42','val_42' -'44','val_44' -'54','val_54' -'58','val_58' -'58','val_58' -'64','val_64' -'66','val_66' -'70','val_70' -'70','val_70' -'70','val_70' -'72','val_72' -'72','val_72' -'74','val_74' -'76','val_76' -'76','val_76' -'78','val_78' -'80','val_80' -'82','val_82' -'84','val_84' -'84','val_84' -'86','val_86' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'96','val_96' -'98','val_98' -'98','val_98' -'100','val_100' -'100','val_100' -'104','val_104' -'104','val_104' -'114','val_114' -'116','val_116' -'118','val_118' -'118','val_118' -'120','val_120' -'120','val_120' -'126','val_126' -'128','val_128' -'128','val_128' -'128','val_128' -'134','val_134' -'134','val_134' -'136','val_136' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'146','val_146' -'146','val_146' -'150','val_150' -'152','val_152' -'152','val_152' -'156','val_156' -'158','val_158' -'160','val_160' -'162','val_162' -'164','val_164' -'164','val_164' -'166','val_166' -'168','val_168' -'170','val_170' -'172','val_172' -'172','val_172' -'174','val_174' -'174','val_174' -'176','val_176' -'176','val_176' -'178','val_178' -'180','val_180' -'186','val_186' -'190','val_190' -'192','val_192' -'194','val_194' -'196','val_196' -'200','val_200' -'200','val_200' -'202','val_202' -'208','val_208' -'208','val_208' -'208','val_208' -'214','val_214' -'216','val_216' -'216','val_216' -'218','val_218' -'222','val_222' -'224','val_224' -'224','val_224' -'226','val_226' -'228','val_228' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'238','val_238' -'238','val_238' -'242','val_242' -'242','val_242' -'244','val_244' -'248','val_248' -'252','val_252' -'256','val_256' -'256','val_256' -'258','val_258' -'260','val_260' -'262','val_262' -'266','val_266' -'272','val_272' -'272','val_272' -'274','val_274' -'278','val_278' -'278','val_278' -'280','val_280' -'280','val_280' -'282','val_282' -'282','val_282' -'284','val_284' -'286','val_286' -'288','val_288' -'288','val_288' -'292','val_292' -'296','val_296' -'298','val_298' -'298','val_298' -'298','val_298' -'302','val_302' -'306','val_306' -'308','val_308' -'310','val_310' -'316','val_316' -'316','val_316' -'316','val_316' -'318','val_318' -'318','val_318' -'318','val_318' -'322','val_322' -'322','val_322' -'332','val_332' -'336','val_336' -'338','val_338' -'342','val_342' -'342','val_342' -'344','val_344' -'344','val_344' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'356','val_356' -'360','val_360' -'362','val_362' -'364','val_364' -'366','val_366' -'368','val_368' -'374','val_374' -'378','val_378' -'382','val_382' -'382','val_382' -'384','val_384' -'384','val_384' -'384','val_384' -'386','val_386' -'392','val_392' -'394','val_394' -'396','val_396' -'396','val_396' -'396','val_396' -'400','val_400' -'402','val_402' -'404','val_404' -'404','val_404' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'414','val_414' -'414','val_414' -'418','val_418' -'424','val_424' -'424','val_424' -'430','val_430' -'430','val_430' -'430','val_430' -'432','val_432' -'436','val_436' -'438','val_438' -'438','val_438' -'438','val_438' -'444','val_444' -'446','val_446' -'448','val_448' -'452','val_452' -'454','val_454' -'454','val_454' -'454','val_454' -'458','val_458' -'458','val_458' -'460','val_460' -'462','val_462' -'462','val_462' -'466','val_466' -'466','val_466' -'466','val_466' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'470','val_470' -'472','val_472' -'478','val_478' -'478','val_478' -'480','val_480' -'480','val_480' -'480','val_480' -'482','val_482' -'484','val_484' -'490','val_490' -'492','val_492' -'492','val_492' -'494','val_494' -'496','val_496' -'498','val_498' -'498','val_498' -'498','val_498' -247 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/bucket3.q.out ql/src/test/results/beelinepositive/bucket3.q.out deleted file mode 100644 index 3bcc675..0000000 --- ql/src/test/results/beelinepositive/bucket3.q.out +++ /dev/null @@ -1,492 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/bucket3.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/bucket3.q ->>> set hive.enforce.bucketing = true; -No rows affected ->>> set hive.exec.reducers.max = 1; -No rows affected ->>> ->>> CREATE TABLE bucket3_1(key int, value string) partitioned by (ds string) CLUSTERED BY (key) INTO 2 BUCKETS; -No rows affected ->>> ->>> explain extended -insert overwrite table bucket3_1 partition (ds='1') -select * from src; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME bucket3_1) (TOK_PARTSPEC (TOK_PARTVAL ds '1')))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' sort order: ' -' Map-reduce partition columns:' -' expr: UDFToInteger(_col0)' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucket3.db/src [src]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucket3.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucket3.db/src' -' name bucket3.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucket3.db/src' -' name bucket3.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucket3.src' -' name: bucket3.src' -' Reduce Operator Tree:' -' Extract' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 2' -' Static Partition Specification: ds=1/' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucket3.db/bucket3_1' -' name bucket3.bucket3_1' -' partition_columns ds' -' serialization.ddl struct bucket3_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucket3.bucket3_1' -' TotalFiles: 2' -' GatherStats: true' -' MultiFileSpray: true' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' partition:' -' ds 1' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucket3.db/bucket3_1' -' name bucket3.bucket3_1' -' partition_columns ds' -' serialization.ddl struct bucket3_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucket3.bucket3_1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -156 rows selected ->>> ->>> insert overwrite table bucket3_1 partition (ds='1') -select * from src; -'_col0','_col1' -No rows selected ->>> ->>> insert overwrite table bucket3_1 partition (ds='2') -select * from src; -'_col0','_col1' -No rows selected ->>> ->>> explain -select * from bucket3_1 tablesample (bucket 1 out of 2) s where ds = '1' order by key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME bucket3_1) (TOK_TABLEBUCKETSAMPLE 1 2) s)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (= (TOK_TABLE_OR_COL ds) '1')) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' s ' -' TableScan' -' alias: s' -' Filter Operator' -' predicate:' -' expr: (((hash(key) & 2147483647) % 2) = 0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -54 rows selected ->>> ->>> select * from bucket3_1 tablesample (bucket 1 out of 2) s where ds = '1' order by key; -'key','value','ds' -'0','val_0','1' -'0','val_0','1' -'0','val_0','1' -'2','val_2','1' -'4','val_4','1' -'8','val_8','1' -'10','val_10','1' -'12','val_12','1' -'12','val_12','1' -'18','val_18','1' -'18','val_18','1' -'20','val_20','1' -'24','val_24','1' -'24','val_24','1' -'26','val_26','1' -'26','val_26','1' -'28','val_28','1' -'30','val_30','1' -'34','val_34','1' -'42','val_42','1' -'42','val_42','1' -'44','val_44','1' -'54','val_54','1' -'58','val_58','1' -'58','val_58','1' -'64','val_64','1' -'66','val_66','1' -'70','val_70','1' -'70','val_70','1' -'70','val_70','1' -'72','val_72','1' -'72','val_72','1' -'74','val_74','1' -'76','val_76','1' -'76','val_76','1' -'78','val_78','1' -'80','val_80','1' -'82','val_82','1' -'84','val_84','1' -'84','val_84','1' -'86','val_86','1' -'90','val_90','1' -'90','val_90','1' -'90','val_90','1' -'92','val_92','1' -'96','val_96','1' -'98','val_98','1' -'98','val_98','1' -'100','val_100','1' -'100','val_100','1' -'104','val_104','1' -'104','val_104','1' -'114','val_114','1' -'116','val_116','1' -'118','val_118','1' -'118','val_118','1' -'120','val_120','1' -'120','val_120','1' -'126','val_126','1' -'128','val_128','1' -'128','val_128','1' -'128','val_128','1' -'134','val_134','1' -'134','val_134','1' -'136','val_136','1' -'138','val_138','1' -'138','val_138','1' -'138','val_138','1' -'138','val_138','1' -'146','val_146','1' -'146','val_146','1' -'150','val_150','1' -'152','val_152','1' -'152','val_152','1' -'156','val_156','1' -'158','val_158','1' -'160','val_160','1' -'162','val_162','1' -'164','val_164','1' -'164','val_164','1' -'166','val_166','1' -'168','val_168','1' -'170','val_170','1' -'172','val_172','1' -'172','val_172','1' -'174','val_174','1' -'174','val_174','1' -'176','val_176','1' -'176','val_176','1' -'178','val_178','1' -'180','val_180','1' -'186','val_186','1' -'190','val_190','1' -'192','val_192','1' -'194','val_194','1' -'196','val_196','1' -'200','val_200','1' -'200','val_200','1' -'202','val_202','1' -'208','val_208','1' -'208','val_208','1' -'208','val_208','1' -'214','val_214','1' -'216','val_216','1' -'216','val_216','1' -'218','val_218','1' -'222','val_222','1' -'224','val_224','1' -'224','val_224','1' -'226','val_226','1' -'228','val_228','1' -'230','val_230','1' -'230','val_230','1' -'230','val_230','1' -'230','val_230','1' -'230','val_230','1' -'238','val_238','1' -'238','val_238','1' -'242','val_242','1' -'242','val_242','1' -'244','val_244','1' -'248','val_248','1' -'252','val_252','1' -'256','val_256','1' -'256','val_256','1' -'258','val_258','1' -'260','val_260','1' -'262','val_262','1' -'266','val_266','1' -'272','val_272','1' -'272','val_272','1' -'274','val_274','1' -'278','val_278','1' -'278','val_278','1' -'280','val_280','1' -'280','val_280','1' -'282','val_282','1' -'282','val_282','1' -'284','val_284','1' -'286','val_286','1' -'288','val_288','1' -'288','val_288','1' -'292','val_292','1' -'296','val_296','1' -'298','val_298','1' -'298','val_298','1' -'298','val_298','1' -'302','val_302','1' -'306','val_306','1' -'308','val_308','1' -'310','val_310','1' -'316','val_316','1' -'316','val_316','1' -'316','val_316','1' -'318','val_318','1' -'318','val_318','1' -'318','val_318','1' -'322','val_322','1' -'322','val_322','1' -'332','val_332','1' -'336','val_336','1' -'338','val_338','1' -'342','val_342','1' -'342','val_342','1' -'344','val_344','1' -'344','val_344','1' -'348','val_348','1' -'348','val_348','1' -'348','val_348','1' -'348','val_348','1' -'348','val_348','1' -'356','val_356','1' -'360','val_360','1' -'362','val_362','1' -'364','val_364','1' -'366','val_366','1' -'368','val_368','1' -'374','val_374','1' -'378','val_378','1' -'382','val_382','1' -'382','val_382','1' -'384','val_384','1' -'384','val_384','1' -'384','val_384','1' -'386','val_386','1' -'392','val_392','1' -'394','val_394','1' -'396','val_396','1' -'396','val_396','1' -'396','val_396','1' -'400','val_400','1' -'402','val_402','1' -'404','val_404','1' -'404','val_404','1' -'406','val_406','1' -'406','val_406','1' -'406','val_406','1' -'406','val_406','1' -'414','val_414','1' -'414','val_414','1' -'418','val_418','1' -'424','val_424','1' -'424','val_424','1' -'430','val_430','1' -'430','val_430','1' -'430','val_430','1' -'432','val_432','1' -'436','val_436','1' -'438','val_438','1' -'438','val_438','1' -'438','val_438','1' -'444','val_444','1' -'446','val_446','1' -'448','val_448','1' -'452','val_452','1' -'454','val_454','1' -'454','val_454','1' -'454','val_454','1' -'458','val_458','1' -'458','val_458','1' -'460','val_460','1' -'462','val_462','1' -'462','val_462','1' -'466','val_466','1' -'466','val_466','1' -'466','val_466','1' -'468','val_468','1' -'468','val_468','1' -'468','val_468','1' -'468','val_468','1' -'470','val_470','1' -'472','val_472','1' -'478','val_478','1' -'478','val_478','1' -'480','val_480','1' -'480','val_480','1' -'480','val_480','1' -'482','val_482','1' -'484','val_484','1' -'490','val_490','1' -'492','val_492','1' -'492','val_492','1' -'494','val_494','1' -'496','val_496','1' -'498','val_498','1' -'498','val_498','1' -'498','val_498','1' -247 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/bucket4.q.out ql/src/test/results/beelinepositive/bucket4.q.out deleted file mode 100644 index 83e664e..0000000 --- ql/src/test/results/beelinepositive/bucket4.q.out +++ /dev/null @@ -1,474 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/bucket4.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/bucket4.q ->>> set hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> set hive.enforce.bucketing = true; -No rows affected ->>> set hive.enforce.sorting = true; -No rows affected ->>> set hive.exec.reducers.max = 1; -No rows affected ->>> ->>> CREATE TABLE bucket4_1(key int, value string) CLUSTERED BY (key) SORTED BY (key) INTO 2 BUCKETS; -No rows affected ->>> ->>> explain extended -insert overwrite table bucket4_1 -select * from src; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME bucket4_1))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: UDFToInteger(_col0)' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucket4.db/src [src]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucket4.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucket4.db/src' -' name bucket4.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucket4.db/src' -' name bucket4.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucket4.src' -' name: bucket4.src' -' Reduce Operator Tree:' -' Extract' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 2' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucket4.db/bucket4_1' -' name bucket4.bucket4_1' -' serialization.ddl struct bucket4_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucket4.bucket4_1' -' TotalFiles: 2' -' GatherStats: true' -' MultiFileSpray: true' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucket4.db/bucket4_1' -' name bucket4.bucket4_1' -' serialization.ddl struct bucket4_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucket4.bucket4_1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -156 rows selected ->>> ->>> insert overwrite table bucket4_1 -select * from src; -'_col0','_col1' -No rows selected ->>> ->>> explain -select * from bucket4_1 tablesample (bucket 1 out of 2) s; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME bucket4_1) (TOK_TABLEBUCKETSAMPLE 1 2) s)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' s ' -' TableScan' -' alias: s' -' Filter Operator' -' predicate:' -' expr: (((hash(key) & 2147483647) % 2) = 0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -37 rows selected ->>> ->>> select * from bucket4_1 tablesample (bucket 1 out of 2) s; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'2','val_2' -'4','val_4' -'8','val_8' -'10','val_10' -'12','val_12' -'12','val_12' -'18','val_18' -'18','val_18' -'20','val_20' -'24','val_24' -'24','val_24' -'26','val_26' -'26','val_26' -'28','val_28' -'30','val_30' -'34','val_34' -'42','val_42' -'42','val_42' -'44','val_44' -'54','val_54' -'58','val_58' -'58','val_58' -'64','val_64' -'66','val_66' -'70','val_70' -'70','val_70' -'70','val_70' -'72','val_72' -'72','val_72' -'74','val_74' -'76','val_76' -'76','val_76' -'78','val_78' -'80','val_80' -'82','val_82' -'84','val_84' -'84','val_84' -'86','val_86' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'96','val_96' -'98','val_98' -'98','val_98' -'100','val_100' -'100','val_100' -'104','val_104' -'104','val_104' -'114','val_114' -'116','val_116' -'118','val_118' -'118','val_118' -'120','val_120' -'120','val_120' -'126','val_126' -'128','val_128' -'128','val_128' -'128','val_128' -'134','val_134' -'134','val_134' -'136','val_136' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'146','val_146' -'146','val_146' -'150','val_150' -'152','val_152' -'152','val_152' -'156','val_156' -'158','val_158' -'160','val_160' -'162','val_162' -'164','val_164' -'164','val_164' -'166','val_166' -'168','val_168' -'170','val_170' -'172','val_172' -'172','val_172' -'174','val_174' -'174','val_174' -'176','val_176' -'176','val_176' -'178','val_178' -'180','val_180' -'186','val_186' -'190','val_190' -'192','val_192' -'194','val_194' -'196','val_196' -'200','val_200' -'200','val_200' -'202','val_202' -'208','val_208' -'208','val_208' -'208','val_208' -'214','val_214' -'216','val_216' -'216','val_216' -'218','val_218' -'222','val_222' -'224','val_224' -'224','val_224' -'226','val_226' -'228','val_228' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'238','val_238' -'238','val_238' -'242','val_242' -'242','val_242' -'244','val_244' -'248','val_248' -'252','val_252' -'256','val_256' -'256','val_256' -'258','val_258' -'260','val_260' -'262','val_262' -'266','val_266' -'272','val_272' -'272','val_272' -'274','val_274' -'278','val_278' -'278','val_278' -'280','val_280' -'280','val_280' -'282','val_282' -'282','val_282' -'284','val_284' -'286','val_286' -'288','val_288' -'288','val_288' -'292','val_292' -'296','val_296' -'298','val_298' -'298','val_298' -'298','val_298' -'302','val_302' -'306','val_306' -'308','val_308' -'310','val_310' -'316','val_316' -'316','val_316' -'316','val_316' -'318','val_318' -'318','val_318' -'318','val_318' -'322','val_322' -'322','val_322' -'332','val_332' -'336','val_336' -'338','val_338' -'342','val_342' -'342','val_342' -'344','val_344' -'344','val_344' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'356','val_356' -'360','val_360' -'362','val_362' -'364','val_364' -'366','val_366' -'368','val_368' -'374','val_374' -'378','val_378' -'382','val_382' -'382','val_382' -'384','val_384' -'384','val_384' -'384','val_384' -'386','val_386' -'392','val_392' -'394','val_394' -'396','val_396' -'396','val_396' -'396','val_396' -'400','val_400' -'402','val_402' -'404','val_404' -'404','val_404' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'414','val_414' -'414','val_414' -'418','val_418' -'424','val_424' -'424','val_424' -'430','val_430' -'430','val_430' -'430','val_430' -'432','val_432' -'436','val_436' -'438','val_438' -'438','val_438' -'438','val_438' -'444','val_444' -'446','val_446' -'448','val_448' -'452','val_452' -'454','val_454' -'454','val_454' -'454','val_454' -'458','val_458' -'458','val_458' -'460','val_460' -'462','val_462' -'462','val_462' -'466','val_466' -'466','val_466' -'466','val_466' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'470','val_470' -'472','val_472' -'478','val_478' -'478','val_478' -'480','val_480' -'480','val_480' -'480','val_480' -'482','val_482' -'484','val_484' -'490','val_490' -'492','val_492' -'492','val_492' -'494','val_494' -'496','val_496' -'498','val_498' -'498','val_498' -'498','val_498' -247 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/bucket_groupby.q.out ql/src/test/results/beelinepositive/bucket_groupby.q.out deleted file mode 100644 index 534a0d1..0000000 --- ql/src/test/results/beelinepositive/bucket_groupby.q.out +++ /dev/null @@ -1,1526 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/bucket_groupby.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/bucket_groupby.q ->>> create table clustergroupby(key string, value string) partitioned by(ds string); -No rows affected ->>> describe extended clustergroupby; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'ds','string','' -'','','' -'Detailed Table Information','Table(tableName:clustergroupby, dbName:bucket_groupby, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/bucket_groupby.db/clustergroupby, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:ds, type:string, comment:null)], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -5 rows selected ->>> alter table clustergroupby clustered by (key) into 1 buckets; -No rows affected ->>> ->>> insert overwrite table clustergroupby partition (ds='100') select key, value from src sort by key; -'key','value' -No rows selected ->>> ->>> explain -select key, count(1) from clustergroupby where ds='100' group by key limit 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME clustergroupby))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_WHERE (= (TOK_TABLE_OR_COL ds) '100')) (TOK_GROUPBY (TOK_TABLE_OR_COL key)) (TOK_LIMIT 10)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' clustergroupby ' -' TableScan' -' alias: clustergroupby' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 10' -'' -'' -70 rows selected ->>> select key, count(1) from clustergroupby where ds='100' group by key limit 10; -'key','_c1' -'0','3' -'10','1' -'100','2' -'103','2' -'104','2' -'105','1' -'11','1' -'111','1' -'113','2' -'114','1' -10 rows selected ->>> ->>> describe extended clustergroupby; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'ds','string','' -'','','' -'Detailed Table Information','Table(tableName:clustergroupby, dbName:bucket_groupby, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/bucket_groupby.db/clustergroupby, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[key], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:ds, type:string, comment:null)], parameters:{numPartitions=1, numFiles=1, last_modified_by=!!ELIDED!!, last_modified_time=!!UNIXTIME!!, transient_lastDdlTime=!!UNIXTIME!!, numRows=500, totalSize=5812, rawDataSize=5312}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -5 rows selected ->>> insert overwrite table clustergroupby partition (ds='101') select key, value from src distribute by key; -'key','value' -No rows selected ->>> ->>> --normal-- ->>> explain -select key, count(1) from clustergroupby where ds='101' group by key limit 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME clustergroupby))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_WHERE (= (TOK_TABLE_OR_COL ds) '101')) (TOK_GROUPBY (TOK_TABLE_OR_COL key)) (TOK_LIMIT 10)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' clustergroupby ' -' TableScan' -' alias: clustergroupby' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 10' -'' -'' -70 rows selected ->>> select key, count(1) from clustergroupby where ds='101' group by key limit 10; -'key','_c1' -'0','3' -'10','1' -'100','2' -'103','2' -'104','2' -'105','1' -'11','1' -'111','1' -'113','2' -'114','1' -10 rows selected ->>> ->>> --function-- ->>> explain -select length(key), count(1) from clustergroupby where ds='101' group by length(key) limit 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME clustergroupby))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION length (TOK_TABLE_OR_COL key))) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_WHERE (= (TOK_TABLE_OR_COL ds) '101')) (TOK_GROUPBY (TOK_FUNCTION length (TOK_TABLE_OR_COL key))) (TOK_LIMIT 10)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' clustergroupby ' -' TableScan' -' alias: clustergroupby' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: length(key)' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 10' -'' -'' -70 rows selected ->>> select length(key), count(1) from clustergroupby where ds='101' group by length(key) limit 10; -'_c0','_c1' -'1','10' -'2','74' -'3','416' -3 rows selected ->>> explain -select abs(length(key)), count(1) from clustergroupby where ds='101' group by abs(length(key)) limit 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME clustergroupby))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION abs (TOK_FUNCTION length (TOK_TABLE_OR_COL key)))) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_WHERE (= (TOK_TABLE_OR_COL ds) '101')) (TOK_GROUPBY (TOK_FUNCTION abs (TOK_FUNCTION length (TOK_TABLE_OR_COL key)))) (TOK_LIMIT 10)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' clustergroupby ' -' TableScan' -' alias: clustergroupby' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: abs(length(key))' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 10' -'' -'' -70 rows selected ->>> select abs(length(key)), count(1) from clustergroupby where ds='101' group by abs(length(key)) limit 10; -'_c0','_c1' -'1','10' -'2','74' -'3','416' -3 rows selected ->>> ->>> --constant-- ->>> explain -select key, count(1) from clustergroupby where ds='101' group by key,3 limit 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME clustergroupby))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_WHERE (= (TOK_TABLE_OR_COL ds) '101')) (TOK_GROUPBY (TOK_TABLE_OR_COL key) 3) (TOK_LIMIT 10)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' clustergroupby ' -' TableScan' -' alias: clustergroupby' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' expr: 3' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: int' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 10' -'' -'' -78 rows selected ->>> select key, count(1) from clustergroupby where ds='101' group by key,3 limit 10; -'key','_c1' -'0','3' -'10','1' -'100','2' -'103','2' -'104','2' -'105','1' -'11','1' -'111','1' -'113','2' -'114','1' -10 rows selected ->>> ->>> --subquery-- ->>> explain -select key, count(1) from (select value as key, key as value from clustergroupby where ds='101')subq group by key limit 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME clustergroupby))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL value) key) (TOK_SELEXPR (TOK_TABLE_OR_COL key) value)) (TOK_WHERE (= (TOK_TABLE_OR_COL ds) '101')))) subq)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key)) (TOK_LIMIT 10)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subq:clustergroupby ' -' TableScan' -' alias: clustergroupby' -' Select Operator' -' expressions:' -' expr: value' -' type: string' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 10' -'' -'' -75 rows selected ->>> select key, count(1) from (select value as key, key as value from clustergroupby where ds='101')subq group by key limit 10; -'key','_c1' -'val_0','3' -'val_10','1' -'val_100','2' -'val_103','2' -'val_104','2' -'val_105','1' -'val_11','1' -'val_111','1' -'val_113','2' -'val_114','1' -10 rows selected ->>> ->>> explain -select key, count(1) from clustergroupby group by key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME clustergroupby))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' clustergroupby ' -' TableScan' -' alias: clustergroupby' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -69 rows selected ->>> select key, count(1) from clustergroupby group by key; -'key','_c1' -'0','6' -'10','2' -'100','4' -'103','4' -'104','4' -'105','2' -'11','2' -'111','2' -'113','4' -'114','2' -'116','2' -'118','4' -'119','6' -'12','4' -'120','4' -'125','4' -'126','2' -'128','6' -'129','4' -'131','2' -'133','2' -'134','4' -'136','2' -'137','4' -'138','8' -'143','2' -'145','2' -'146','4' -'149','4' -'15','4' -'150','2' -'152','4' -'153','2' -'155','2' -'156','2' -'157','2' -'158','2' -'160','2' -'162','2' -'163','2' -'164','4' -'165','4' -'166','2' -'167','6' -'168','2' -'169','8' -'17','2' -'170','2' -'172','4' -'174','4' -'175','4' -'176','4' -'177','2' -'178','2' -'179','4' -'18','4' -'180','2' -'181','2' -'183','2' -'186','2' -'187','6' -'189','2' -'19','2' -'190','2' -'191','4' -'192','2' -'193','6' -'194','2' -'195','4' -'196','2' -'197','4' -'199','6' -'2','2' -'20','2' -'200','4' -'201','2' -'202','2' -'203','4' -'205','4' -'207','4' -'208','6' -'209','4' -'213','4' -'214','2' -'216','4' -'217','4' -'218','2' -'219','4' -'221','4' -'222','2' -'223','4' -'224','4' -'226','2' -'228','2' -'229','4' -'230','10' -'233','4' -'235','2' -'237','4' -'238','4' -'239','4' -'24','4' -'241','2' -'242','4' -'244','2' -'247','2' -'248','2' -'249','2' -'252','2' -'255','4' -'256','4' -'257','2' -'258','2' -'26','4' -'260','2' -'262','2' -'263','2' -'265','4' -'266','2' -'27','2' -'272','4' -'273','6' -'274','2' -'275','2' -'277','8' -'278','4' -'28','2' -'280','4' -'281','4' -'282','4' -'283','2' -'284','2' -'285','2' -'286','2' -'287','2' -'288','4' -'289','2' -'291','2' -'292','2' -'296','2' -'298','6' -'30','2' -'302','2' -'305','2' -'306','2' -'307','4' -'308','2' -'309','4' -'310','2' -'311','6' -'315','2' -'316','6' -'317','4' -'318','6' -'321','4' -'322','4' -'323','2' -'325','4' -'327','6' -'33','2' -'331','4' -'332','2' -'333','4' -'335','2' -'336','2' -'338','2' -'339','2' -'34','2' -'341','2' -'342','4' -'344','4' -'345','2' -'348','10' -'35','6' -'351','2' -'353','4' -'356','2' -'360','2' -'362','2' -'364','2' -'365','2' -'366','2' -'367','4' -'368','2' -'369','6' -'37','4' -'373','2' -'374','2' -'375','2' -'377','2' -'378','2' -'379','2' -'382','4' -'384','6' -'386','2' -'389','2' -'392','2' -'393','2' -'394','2' -'395','4' -'396','6' -'397','4' -'399','4' -'4','2' -'400','2' -'401','10' -'402','2' -'403','6' -'404','4' -'406','8' -'407','2' -'409','6' -'41','2' -'411','2' -'413','4' -'414','4' -'417','6' -'418','2' -'419','2' -'42','4' -'421','2' -'424','4' -'427','2' -'429','4' -'43','2' -'430','6' -'431','6' -'432','2' -'435','2' -'436','2' -'437','2' -'438','6' -'439','4' -'44','2' -'443','2' -'444','2' -'446','2' -'448','2' -'449','2' -'452','2' -'453','2' -'454','6' -'455','2' -'457','2' -'458','4' -'459','4' -'460','2' -'462','4' -'463','4' -'466','6' -'467','2' -'468','8' -'469','10' -'47','2' -'470','2' -'472','2' -'475','2' -'477','2' -'478','4' -'479','2' -'480','6' -'481','2' -'482','2' -'483','2' -'484','2' -'485','2' -'487','2' -'489','8' -'490','2' -'491','2' -'492','4' -'493','2' -'494','2' -'495','2' -'496','2' -'497','2' -'498','6' -'5','6' -'51','4' -'53','2' -'54','2' -'57','2' -'58','4' -'64','2' -'65','2' -'66','2' -'67','4' -'69','2' -'70','6' -'72','4' -'74','2' -'76','4' -'77','2' -'78','2' -'8','2' -'80','2' -'82','2' -'83','4' -'84','4' -'85','2' -'86','2' -'87','2' -'9','2' -'90','6' -'92','2' -'95','4' -'96','2' -'97','4' -'98','4' -309 rows selected ->>> ->>> explain -select key, count(1) from clustergroupby group by key, 3; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME clustergroupby))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key) 3)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' clustergroupby ' -' TableScan' -' alias: clustergroupby' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' expr: 3' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: int' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -77 rows selected ->>> ->>> -- number of buckets cannot be changed, so drop the table ->>> drop table clustergroupby; -No rows affected ->>> create table clustergroupby(key string, value string) partitioned by(ds string); -No rows affected ->>> ->>> --sort columns-- ->>> alter table clustergroupby clustered by (value) sorted by (key, value) into 1 buckets; -No rows affected ->>> describe extended clustergroupby; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'ds','string','' -'','','' -'Detailed Table Information','Table(tableName:clustergroupby, dbName:bucket_groupby, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/bucket_groupby.db/clustergroupby, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[value], sortCols:[Order(col:key, order:1), Order(col:value, order:1)], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:ds, type:string, comment:null)], parameters:{last_modified_by=!!ELIDED!!, last_modified_time=!!UNIXTIME!!, transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -5 rows selected ->>> insert overwrite table clustergroupby partition (ds='102') select key, value from src distribute by value sort by key, value; -'key','value' -No rows selected ->>> ->>> explain -select key, count(1) from clustergroupby where ds='102' group by key limit 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME clustergroupby))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_WHERE (= (TOK_TABLE_OR_COL ds) '102')) (TOK_GROUPBY (TOK_TABLE_OR_COL key)) (TOK_LIMIT 10)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' clustergroupby ' -' TableScan' -' alias: clustergroupby' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: true' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 10' -'' -'' -70 rows selected ->>> select key, count(1) from clustergroupby where ds='102' group by key limit 10; -'key','_c1' -'0','3' -'10','1' -'100','2' -'103','2' -'104','2' -'105','1' -'11','1' -'111','1' -'113','2' -'114','1' -10 rows selected ->>> explain -select value, count(1) from clustergroupby where ds='102' group by value limit 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME clustergroupby))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_WHERE (= (TOK_TABLE_OR_COL ds) '102')) (TOK_GROUPBY (TOK_TABLE_OR_COL value)) (TOK_LIMIT 10)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' clustergroupby ' -' TableScan' -' alias: clustergroupby' -' Select Operator' -' expressions:' -' expr: value' -' type: string' -' outputColumnNames: value' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: value' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 10' -'' -'' -70 rows selected ->>> select value, count(1) from clustergroupby where ds='102' group by value limit 10; -'value','_c1' -'val_0','3' -'val_10','1' -'val_100','2' -'val_103','2' -'val_104','2' -'val_105','1' -'val_11','1' -'val_111','1' -'val_113','2' -'val_114','1' -10 rows selected ->>> explain -select key, count(1) from clustergroupby where ds='102' group by key, value limit 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME clustergroupby))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_WHERE (= (TOK_TABLE_OR_COL ds) '102')) (TOK_GROUPBY (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL value)) (TOK_LIMIT 10)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' clustergroupby ' -' TableScan' -' alias: clustergroupby' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: true' -' keys:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 10' -'' -'' -80 rows selected ->>> select key, count(1) from clustergroupby where ds='102' group by key, value limit 10; -'key','_c1' -'0','3' -'10','1' -'100','2' -'103','2' -'104','2' -'105','1' -'11','1' -'111','1' -'113','2' -'114','1' -10 rows selected ->>> ->>> -- number of buckets cannot be changed, so drop the table ->>> drop table clustergroupby; -No rows affected ->>> create table clustergroupby(key string, value string) partitioned by(ds string); -No rows affected ->>> ->>> alter table clustergroupby clustered by (value, key) sorted by (key) into 1 buckets; -No rows affected ->>> describe extended clustergroupby; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'ds','string','' -'','','' -'Detailed Table Information','Table(tableName:clustergroupby, dbName:bucket_groupby, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/bucket_groupby.db/clustergroupby, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[value, key], sortCols:[Order(col:key, order:1)], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:ds, type:string, comment:null)], parameters:{last_modified_by=!!ELIDED!!, last_modified_time=!!UNIXTIME!!, transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -5 rows selected ->>> insert overwrite table clustergroupby partition (ds='103') select key, value from src distribute by value, key sort by key; -'key','value' -No rows selected ->>> explain -select key, count(1) from clustergroupby where ds='103' group by key limit 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME clustergroupby))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_WHERE (= (TOK_TABLE_OR_COL ds) '103')) (TOK_GROUPBY (TOK_TABLE_OR_COL key)) (TOK_LIMIT 10)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' clustergroupby ' -' TableScan' -' alias: clustergroupby' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: true' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 10' -'' -'' -70 rows selected ->>> select key, count(1) from clustergroupby where ds='103' group by key limit 10; -'key','_c1' -'0','3' -'10','1' -'100','2' -'103','2' -'104','2' -'105','1' -'11','1' -'111','1' -'113','2' -'114','1' -10 rows selected ->>> explain -select key, count(1) from clustergroupby where ds='103' group by value, key limit 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME clustergroupby))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_WHERE (= (TOK_TABLE_OR_COL ds) '103')) (TOK_GROUPBY (TOK_TABLE_OR_COL value) (TOK_TABLE_OR_COL key)) (TOK_LIMIT 10)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' clustergroupby ' -' TableScan' -' alias: clustergroupby' -' Select Operator' -' expressions:' -' expr: value' -' type: string' -' expr: key' -' type: string' -' outputColumnNames: value, key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: value' -' type: string' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 10' -'' -'' -80 rows selected ->>> select key, count(1) from clustergroupby where ds='103' group by value, key limit 10; -'key','_c1' -'0','3' -'10','1' -'100','2' -'103','2' -'104','2' -'105','1' -'11','1' -'111','1' -'113','2' -'114','1' -10 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/bucket_map_join_1.q.out ql/src/test/results/beelinepositive/bucket_map_join_1.q.out deleted file mode 100644 index 8f1d261..0000000 --- ql/src/test/results/beelinepositive/bucket_map_join_1.q.out +++ /dev/null @@ -1,240 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/bucket_map_join_1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/bucket_map_join_1.q ->>> drop table table1; -No rows affected ->>> drop table table2; -No rows affected ->>> ->>> set hive.enforce.bucketing = true; -No rows affected ->>> set hive.enforce.sorting = true; -No rows affected ->>> ->>> create table table1(key string, value string) clustered by (key, value) -sorted by (key, value) into 1 BUCKETS stored as textfile; -No rows affected ->>> create table table2(key string, value string) clustered by (value, key) -sorted by (value, key) into 1 BUCKETS stored as textfile; -No rows affected ->>> ->>> load data local inpath '../data/files/SortCol1Col2.txt' overwrite into table table1; -No rows affected ->>> load data local inpath '../data/files/SortCol2Col1.txt' overwrite into table table2; -No rows affected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> set hive.optimize.bucketmapjoin.sortedmerge = true; -No rows affected ->>> set hive.input.format = org.apache.hadoop.hive.ql.io.BucketizedHiveInputFormat; -No rows affected ->>> ->>> -- The tables are bucketed in same columns in different order, ->>> -- but sorted in different column orders ->>> -- Neither bucketed map-join, nor sort-merge join should be performed ->>> ->>> explain extended -select /*+ mapjoin(b) */ count(*) from table1 a join table2 b on a.key=b.key and a.value=b.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME table1) a) (TOK_TABREF (TOK_TABNAME table2) b) (and (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL a) value) (. (TOK_TABLE_OR_COL b) value))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR (TOK_FUNCTIONSTAR count)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-4 is a root stage' -' Stage-1 depends on stages: Stage-4' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-4' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' b ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key], Column[value]]' -' 1 [Column[key], Column[value]]' -' Position of Big Table: 0' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key], Column[value]]' -' 1 [Column[key], Column[value]]' -' Position of Big Table: 0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucket_map_join_1.db/table1 [a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucket_map_join_1.db/table1 ' -' Partition' -' base file name: table1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 1' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucket_map_join_1.db/table1' -' name bucket_map_join_1.table1' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct table1 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 20' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 1' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucket_map_join_1.db/table1' -' name bucket_map_join_1.table1' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct table1 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 20' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucket_map_join_1.table1' -' name: bucket_map_join_1.table1' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -194 rows selected ->>> ->>> select /*+ mapjoin(b) */ count(*) from table1 a join table2 b on a.key=b.key and a.value=b.value; -'_c1' -'4' -1 row selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/bucket_map_join_2.q.out ql/src/test/results/beelinepositive/bucket_map_join_2.q.out deleted file mode 100644 index 1534c1e..0000000 --- ql/src/test/results/beelinepositive/bucket_map_join_2.q.out +++ /dev/null @@ -1,240 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/bucket_map_join_2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/bucket_map_join_2.q ->>> drop table table1; -No rows affected ->>> drop table table2; -No rows affected ->>> ->>> set hive.enforce.bucketing = true; -No rows affected ->>> set hive.enforce.sorting = true; -No rows affected ->>> ->>> create table table1(key string, value string) clustered by (key, value) -sorted by (key desc, value desc) into 1 BUCKETS stored as textfile; -No rows affected ->>> create table table2(key string, value string) clustered by (value, key) -sorted by (value desc, key desc) into 1 BUCKETS stored as textfile; -No rows affected ->>> ->>> load data local inpath '../data/files/SortCol1Col2.txt' overwrite into table table1; -No rows affected ->>> load data local inpath '../data/files/SortCol2Col1.txt' overwrite into table table2; -No rows affected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> set hive.optimize.bucketmapjoin.sortedmerge = true; -No rows affected ->>> set hive.input.format = org.apache.hadoop.hive.ql.io.BucketizedHiveInputFormat; -No rows affected ->>> ->>> -- The tables are bucketed in same columns in different order, ->>> -- but sorted in different column orders ->>> -- Neither bucketed map-join, nor sort-merge join should be performed ->>> ->>> explain extended -select /*+ mapjoin(b) */ count(*) from table1 a join table2 b on a.key=b.key and a.value=b.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME table1) a) (TOK_TABREF (TOK_TABNAME table2) b) (and (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL a) value) (. (TOK_TABLE_OR_COL b) value))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR (TOK_FUNCTIONSTAR count)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-4 is a root stage' -' Stage-1 depends on stages: Stage-4' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-4' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' b ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key], Column[value]]' -' 1 [Column[key], Column[value]]' -' Position of Big Table: 0' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key], Column[value]]' -' 1 [Column[key], Column[value]]' -' Position of Big Table: 0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucket_map_join_2.db/table1 [a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucket_map_join_2.db/table1 ' -' Partition' -' base file name: table1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 1' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucket_map_join_2.db/table1' -' name bucket_map_join_2.table1' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct table1 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 20' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 1' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucket_map_join_2.db/table1' -' name bucket_map_join_2.table1' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct table1 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 20' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucket_map_join_2.table1' -' name: bucket_map_join_2.table1' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -194 rows selected ->>> ->>> select /*+ mapjoin(b) */ count(*) from table1 a join table2 b on a.key=b.key and a.value=b.value; -'_c1' -'4' -1 row selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/bucketcontext_1.q.out ql/src/test/results/beelinepositive/bucketcontext_1.q.out deleted file mode 100644 index 732a946..0000000 --- ql/src/test/results/beelinepositive/bucketcontext_1.q.out +++ /dev/null @@ -1,546 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/bucketcontext_1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/bucketcontext_1.q ->>> -- small 1 part, 2 bucket & big 2 part, 4 bucket ->>> CREATE TABLE bucket_small (key string, value string) partitioned by (ds string) CLUSTERED BY (key) SORTED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> load data local inpath '../data/files/srcsortbucket1outof4.txt' INTO TABLE bucket_small partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket2outof4.txt' INTO TABLE bucket_small partition(ds='2008-04-08'); -No rows affected ->>> ->>> CREATE TABLE bucket_big (key string, value string) partitioned by (ds string) CLUSTERED BY (key) SORTED BY (key) INTO 4 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> load data local inpath '../data/files/srcsortbucket1outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket2outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket3outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket4outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-08'); -No rows affected ->>> ->>> load data local inpath '../data/files/srcsortbucket1outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-09'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket2outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-09'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket3outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-09'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket4outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-09'); -No rows affected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> explain extended select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME bucket_small) a) (TOK_TABREF (TOK_TABNAME bucket_big) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR (TOK_FUNCTIONSTAR count)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-4 is a root stage' -' Stage-1 depends on stages: Stage-4' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-4' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' a ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -' Bucket Mapjoin Context:' -' Alias Bucket Base File Name Mapping:' -' a {ds=2008-04-08/srcsortbucket1outof4.txt=[ds=2008-04-08/srcsortbucket1outof4.txt], ds=2008-04-08/srcsortbucket2outof4.txt=[ds=2008-04-08/srcsortbucket2outof4.txt], ds=2008-04-08/srcsortbucket3outof4.txt=[ds=2008-04-08/srcsortbucket1outof4.txt], ds=2008-04-08/srcsortbucket4outof4.txt=[ds=2008-04-08/srcsortbucket2outof4.txt], ds=2008-04-09/srcsortbucket1outof4.txt=[ds=2008-04-08/srcsortbucket1outof4.txt], ds=2008-04-09/srcsortbucket2outof4.txt=[ds=2008-04-08/srcsortbucket2outof4.txt], ds=2008-04-09/srcsortbucket3outof4.txt=[ds=2008-04-08/srcsortbucket1outof4.txt], ds=2008-04-09/srcsortbucket4outof4.txt=[ds=2008-04-08/srcsortbucket2outof4.txt]}' -' Alias Bucket File Name Mapping:' -' a {!!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_big/ds=2008-04-08/srcsortbucket1outof4.txt=[!!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_small/ds=2008-04-08/srcsortbucket1outof4.txt], !!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_big/ds=2008-04-08/srcsortbucket2outof4.txt=[!!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_small/ds=2008-04-08/srcsortbucket2outof4.txt], !!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_big/ds=2008-04-08/srcsortbucket3outof4.txt=[!!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_small/ds=2008-04-08/srcsortbucket1outof4.txt], !!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_big/ds=2008-04-08/srcsortbucket4outof4.txt=[!!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_small/ds=2008-04-08/srcsortbucket2outof4.txt], !!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_big/ds=2008-04-09/srcsortbucket1outof4.txt=[!!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_small/ds=2008-04-08/srcsortbucket1outof4.txt], !!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_big/ds=2008-04-09/srcsortbucket2outof4.txt=[!!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_small/ds=2008-04-08/srcsortbucket2outof4.txt], !!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_big/ds=2008-04-09/srcsortbucket3outof4.txt=[!!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_small/ds=2008-04-08/srcsortbucket1outof4.txt], !!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_big/ds=2008-04-09/srcsortbucket4outof4.txt=[!!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_small/ds=2008-04-08/srcsortbucket2outof4.txt]}' -' Alias Bucket Output File Name Mapping:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_big/ds=2008-04-08/srcsortbucket1outof4.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_big/ds=2008-04-08/srcsortbucket2outof4.txt 1' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_big/ds=2008-04-08/srcsortbucket3outof4.txt 2' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_big/ds=2008-04-08/srcsortbucket4outof4.txt 3' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_big/ds=2008-04-09/srcsortbucket1outof4.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_big/ds=2008-04-09/srcsortbucket2outof4.txt 1' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_big/ds=2008-04-09/srcsortbucket3outof4.txt 2' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_big/ds=2008-04-09/srcsortbucket4outof4.txt 3' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_big/ds=2008-04-08 [b]' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_big/ds=2008-04-09 [b]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_big/ds=2008-04-08 ' -' Partition' -' base file name: ds=2008-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_big/ds=2008-04-08' -' name bucketcontext_1.bucket_big' -' numFiles 4' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_big' -' name bucketcontext_1.bucket_big' -' numFiles 8' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11624' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketcontext_1.bucket_big' -' name: bucketcontext_1.bucket_big' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_big/ds=2008-04-09 ' -' Partition' -' base file name: ds=2008-04-09' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-09' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_big/ds=2008-04-09' -' name bucketcontext_1.bucket_big' -' numFiles 4' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_big' -' name bucketcontext_1.bucket_big' -' numFiles 8' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11624' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketcontext_1.bucket_big' -' name: bucketcontext_1.bucket_big' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -267 rows selected ->>> select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key; -'_c1' -'928' -1 row selected ->>> ->>> set hive.optimize.bucketmapjoin.sortedmerge = true; -No rows affected ->>> explain extended select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME bucket_small) a) (TOK_TABREF (TOK_TABNAME bucket_big) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR (TOK_FUNCTIONSTAR count)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_big/ds=2008-04-08 [b]' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_big/ds=2008-04-09 [b]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_big/ds=2008-04-08 ' -' Partition' -' base file name: ds=2008-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_big/ds=2008-04-08' -' name bucketcontext_1.bucket_big' -' numFiles 4' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_big' -' name bucketcontext_1.bucket_big' -' numFiles 8' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11624' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketcontext_1.bucket_big' -' name: bucketcontext_1.bucket_big' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_big/ds=2008-04-09 ' -' Partition' -' base file name: ds=2008-04-09' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-09' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_big/ds=2008-04-09' -' name bucketcontext_1.bucket_big' -' numFiles 4' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_1.db/bucket_big' -' name bucketcontext_1.bucket_big' -' numFiles 8' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11624' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketcontext_1.bucket_big' -' name: bucketcontext_1.bucket_big' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -229 rows selected ->>> select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key; -'_c1' -'928' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/bucketcontext_2.q.out ql/src/test/results/beelinepositive/bucketcontext_2.q.out deleted file mode 100644 index 6595627..0000000 --- ql/src/test/results/beelinepositive/bucketcontext_2.q.out +++ /dev/null @@ -1,538 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/bucketcontext_2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/bucketcontext_2.q ->>> -- small 1 part, 4 bucket & big 2 part, 2 bucket ->>> CREATE TABLE bucket_small (key string, value string) partitioned by (ds string) CLUSTERED BY (key) SORTED BY (key) INTO 4 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> load data local inpath '../data/files/srcsortbucket1outof4.txt' INTO TABLE bucket_small partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket2outof4.txt' INTO TABLE bucket_small partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket3outof4.txt' INTO TABLE bucket_small partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket4outof4.txt' INTO TABLE bucket_small partition(ds='2008-04-08'); -No rows affected ->>> ->>> CREATE TABLE bucket_big (key string, value string) partitioned by (ds string) CLUSTERED BY (key) SORTED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> load data local inpath '../data/files/srcsortbucket1outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket2outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-08'); -No rows affected ->>> ->>> load data local inpath '../data/files/srcsortbucket1outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-09'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket2outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-09'); -No rows affected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> explain extended select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME bucket_small) a) (TOK_TABREF (TOK_TABNAME bucket_big) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR (TOK_FUNCTIONSTAR count)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-4 is a root stage' -' Stage-1 depends on stages: Stage-4' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-4' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' a ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -' Bucket Mapjoin Context:' -' Alias Bucket Base File Name Mapping:' -' a {ds=2008-04-08/srcsortbucket1outof4.txt=[ds=2008-04-08/srcsortbucket1outof4.txt, ds=2008-04-08/srcsortbucket3outof4.txt], ds=2008-04-08/srcsortbucket2outof4.txt=[ds=2008-04-08/srcsortbucket2outof4.txt, ds=2008-04-08/srcsortbucket4outof4.txt], ds=2008-04-09/srcsortbucket1outof4.txt=[ds=2008-04-08/srcsortbucket1outof4.txt, ds=2008-04-08/srcsortbucket3outof4.txt], ds=2008-04-09/srcsortbucket2outof4.txt=[ds=2008-04-08/srcsortbucket2outof4.txt, ds=2008-04-08/srcsortbucket4outof4.txt]}' -' Alias Bucket File Name Mapping:' -' a {!!{hive.metastore.warehouse.dir}!!/bucketcontext_2.db/bucket_big/ds=2008-04-08/srcsortbucket1outof4.txt=[!!{hive.metastore.warehouse.dir}!!/bucketcontext_2.db/bucket_small/ds=2008-04-08/srcsortbucket1outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_2.db/bucket_small/ds=2008-04-08/srcsortbucket3outof4.txt], !!{hive.metastore.warehouse.dir}!!/bucketcontext_2.db/bucket_big/ds=2008-04-08/srcsortbucket2outof4.txt=[!!{hive.metastore.warehouse.dir}!!/bucketcontext_2.db/bucket_small/ds=2008-04-08/srcsortbucket2outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_2.db/bucket_small/ds=2008-04-08/srcsortbucket4outof4.txt], !!{hive.metastore.warehouse.dir}!!/bucketcontext_2.db/bucket_big/ds=2008-04-09/srcsortbucket1outof4.txt=[!!{hive.metastore.warehouse.dir}!!/bucketcontext_2.db/bucket_small/ds=2008-04-08/srcsortbucket1outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_2.db/bucket_small/ds=2008-04-08/srcsortbucket3outof4.txt], !!{hive.metastore.warehouse.dir}!!/bucketcontext_2.db/bucket_big/ds=2008-04-09/srcsortbucket2outof4.txt=[!!{hive.metastore.warehouse.dir}!!/bucketcontext_2.db/bucket_small/ds=2008-04-08/srcsortbucket2outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_2.db/bucket_small/ds=2008-04-08/srcsortbucket4outof4.txt]}' -' Alias Bucket Output File Name Mapping:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_2.db/bucket_big/ds=2008-04-08/srcsortbucket1outof4.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_2.db/bucket_big/ds=2008-04-08/srcsortbucket2outof4.txt 1' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_2.db/bucket_big/ds=2008-04-09/srcsortbucket1outof4.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_2.db/bucket_big/ds=2008-04-09/srcsortbucket2outof4.txt 1' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_2.db/bucket_big/ds=2008-04-08 [b]' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_2.db/bucket_big/ds=2008-04-09 [b]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_2.db/bucket_big/ds=2008-04-08 ' -' Partition' -' base file name: ds=2008-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_2.db/bucket_big/ds=2008-04-08' -' name bucketcontext_2.bucket_big' -' numFiles 2' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_2.db/bucket_big' -' name bucketcontext_2.bucket_big' -' numFiles 4' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5500' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketcontext_2.bucket_big' -' name: bucketcontext_2.bucket_big' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_2.db/bucket_big/ds=2008-04-09 ' -' Partition' -' base file name: ds=2008-04-09' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-09' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_2.db/bucket_big/ds=2008-04-09' -' name bucketcontext_2.bucket_big' -' numFiles 2' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_2.db/bucket_big' -' name bucketcontext_2.bucket_big' -' numFiles 4' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5500' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketcontext_2.bucket_big' -' name: bucketcontext_2.bucket_big' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -263 rows selected ->>> select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key; -'_c1' -'928' -1 row selected ->>> ->>> set hive.optimize.bucketmapjoin.sortedmerge = true; -No rows affected ->>> explain extended select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME bucket_small) a) (TOK_TABREF (TOK_TABNAME bucket_big) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR (TOK_FUNCTIONSTAR count)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_2.db/bucket_big/ds=2008-04-08 [b]' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_2.db/bucket_big/ds=2008-04-09 [b]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_2.db/bucket_big/ds=2008-04-08 ' -' Partition' -' base file name: ds=2008-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_2.db/bucket_big/ds=2008-04-08' -' name bucketcontext_2.bucket_big' -' numFiles 2' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_2.db/bucket_big' -' name bucketcontext_2.bucket_big' -' numFiles 4' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5500' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketcontext_2.bucket_big' -' name: bucketcontext_2.bucket_big' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_2.db/bucket_big/ds=2008-04-09 ' -' Partition' -' base file name: ds=2008-04-09' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-09' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_2.db/bucket_big/ds=2008-04-09' -' name bucketcontext_2.bucket_big' -' numFiles 2' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_2.db/bucket_big' -' name bucketcontext_2.bucket_big' -' numFiles 4' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5500' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketcontext_2.bucket_big' -' name: bucketcontext_2.bucket_big' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -229 rows selected ->>> select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key; -'_c1' -'928' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/bucketcontext_3.q.out ql/src/test/results/beelinepositive/bucketcontext_3.q.out deleted file mode 100644 index 630a2ef..0000000 --- ql/src/test/results/beelinepositive/bucketcontext_3.q.out +++ /dev/null @@ -1,428 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/bucketcontext_3.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/bucketcontext_3.q ->>> -- small 2 part, 2 bucket & big 1 part, 4 bucket ->>> CREATE TABLE bucket_small (key string, value string) partitioned by (ds string) CLUSTERED BY (key) SORTED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> load data local inpath '../data/files/srcsortbucket1outof4.txt' INTO TABLE bucket_small partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket2outof4.txt' INTO TABLE bucket_small partition(ds='2008-04-08'); -No rows affected ->>> ->>> load data local inpath '../data/files/srcsortbucket1outof4.txt' INTO TABLE bucket_small partition(ds='2008-04-09'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket2outof4.txt' INTO TABLE bucket_small partition(ds='2008-04-09'); -No rows affected ->>> ->>> CREATE TABLE bucket_big (key string, value string) partitioned by (ds string) CLUSTERED BY (key) SORTED BY (key) INTO 4 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> load data local inpath '../data/files/srcsortbucket1outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket2outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket3outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket4outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-08'); -No rows affected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> explain extended select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME bucket_small) a) (TOK_TABREF (TOK_TABNAME bucket_big) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR (TOK_FUNCTIONSTAR count)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-4 is a root stage' -' Stage-1 depends on stages: Stage-4' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-4' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' a ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -' Bucket Mapjoin Context:' -' Alias Bucket Base File Name Mapping:' -' a {ds=2008-04-08/srcsortbucket1outof4.txt=[ds=2008-04-08/srcsortbucket1outof4.txt, ds=2008-04-09/srcsortbucket1outof4.txt], ds=2008-04-08/srcsortbucket2outof4.txt=[ds=2008-04-08/srcsortbucket2outof4.txt, ds=2008-04-09/srcsortbucket2outof4.txt], ds=2008-04-08/srcsortbucket3outof4.txt=[ds=2008-04-08/srcsortbucket1outof4.txt, ds=2008-04-09/srcsortbucket1outof4.txt], ds=2008-04-08/srcsortbucket4outof4.txt=[ds=2008-04-08/srcsortbucket2outof4.txt, ds=2008-04-09/srcsortbucket2outof4.txt]}' -' Alias Bucket File Name Mapping:' -' a {!!{hive.metastore.warehouse.dir}!!/bucketcontext_3.db/bucket_big/ds=2008-04-08/srcsortbucket1outof4.txt=[!!{hive.metastore.warehouse.dir}!!/bucketcontext_3.db/bucket_small/ds=2008-04-08/srcsortbucket1outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_3.db/bucket_small/ds=2008-04-09/srcsortbucket1outof4.txt], !!{hive.metastore.warehouse.dir}!!/bucketcontext_3.db/bucket_big/ds=2008-04-08/srcsortbucket2outof4.txt=[!!{hive.metastore.warehouse.dir}!!/bucketcontext_3.db/bucket_small/ds=2008-04-08/srcsortbucket2outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_3.db/bucket_small/ds=2008-04-09/srcsortbucket2outof4.txt], !!{hive.metastore.warehouse.dir}!!/bucketcontext_3.db/bucket_big/ds=2008-04-08/srcsortbucket3outof4.txt=[!!{hive.metastore.warehouse.dir}!!/bucketcontext_3.db/bucket_small/ds=2008-04-08/srcsortbucket1outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_3.db/bucket_small/ds=2008-04-09/srcsortbucket1outof4.txt], !!{hive.metastore.warehouse.dir}!!/bucketcontext_3.db/bucket_big/ds=2008-04-08/srcsortbucket4outof4.txt=[!!{hive.metastore.warehouse.dir}!!/bucketcontext_3.db/bucket_small/ds=2008-04-08/srcsortbucket2outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_3.db/bucket_small/ds=2008-04-09/srcsortbucket2outof4.txt]}' -' Alias Bucket Output File Name Mapping:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_3.db/bucket_big/ds=2008-04-08/srcsortbucket1outof4.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_3.db/bucket_big/ds=2008-04-08/srcsortbucket2outof4.txt 1' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_3.db/bucket_big/ds=2008-04-08/srcsortbucket3outof4.txt 2' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_3.db/bucket_big/ds=2008-04-08/srcsortbucket4outof4.txt 3' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_3.db/bucket_big/ds=2008-04-08 [b]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_3.db/bucket_big/ds=2008-04-08 ' -' Partition' -' base file name: ds=2008-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_3.db/bucket_big/ds=2008-04-08' -' name bucketcontext_3.bucket_big' -' numFiles 4' -' numPartitions 1' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_3.db/bucket_big' -' name bucketcontext_3.bucket_big' -' numFiles 4' -' numPartitions 1' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketcontext_3.bucket_big' -' name: bucketcontext_3.bucket_big' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -208 rows selected ->>> select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key; -'_c1' -'928' -1 row selected ->>> ->>> set hive.optimize.bucketmapjoin.sortedmerge = true; -No rows affected ->>> explain extended select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME bucket_small) a) (TOK_TABREF (TOK_TABNAME bucket_big) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR (TOK_FUNCTIONSTAR count)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_3.db/bucket_big/ds=2008-04-08 [b]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_3.db/bucket_big/ds=2008-04-08 ' -' Partition' -' base file name: ds=2008-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_3.db/bucket_big/ds=2008-04-08' -' name bucketcontext_3.bucket_big' -' numFiles 4' -' numPartitions 1' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_3.db/bucket_big' -' name bucketcontext_3.bucket_big' -' numFiles 4' -' numPartitions 1' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketcontext_3.bucket_big' -' name: bucketcontext_3.bucket_big' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -174 rows selected ->>> select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key; -'_c1' -'928' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/bucketcontext_4.q.out ql/src/test/results/beelinepositive/bucketcontext_4.q.out deleted file mode 100644 index ae9ec20..0000000 --- ql/src/test/results/beelinepositive/bucketcontext_4.q.out +++ /dev/null @@ -1,430 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/bucketcontext_4.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/bucketcontext_4.q ->>> -- small 2 part, 4 bucket & big 1 part, 2 bucket ->>> CREATE TABLE bucket_small (key string, value string) partitioned by (ds string) CLUSTERED BY (key) SORTED BY (key) INTO 4 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> load data local inpath '../data/files/srcsortbucket1outof4.txt' INTO TABLE bucket_small partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket2outof4.txt' INTO TABLE bucket_small partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket3outof4.txt' INTO TABLE bucket_small partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket4outof4.txt' INTO TABLE bucket_small partition(ds='2008-04-08'); -No rows affected ->>> ->>> load data local inpath '../data/files/srcsortbucket1outof4.txt' INTO TABLE bucket_small partition(ds='2008-04-09'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket2outof4.txt' INTO TABLE bucket_small partition(ds='2008-04-09'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket3outof4.txt' INTO TABLE bucket_small partition(ds='2008-04-09'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket4outof4.txt' INTO TABLE bucket_small partition(ds='2008-04-09'); -No rows affected ->>> ->>> CREATE TABLE bucket_big (key string, value string) partitioned by (ds string) CLUSTERED BY (key) SORTED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> load data local inpath '../data/files/srcsortbucket1outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket2outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-08'); -No rows affected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> explain extended select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME bucket_small) a) (TOK_TABREF (TOK_TABNAME bucket_big) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR (TOK_FUNCTIONSTAR count)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-4 is a root stage' -' Stage-1 depends on stages: Stage-4' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-4' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' a ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -' Bucket Mapjoin Context:' -' Alias Bucket Base File Name Mapping:' -' a {ds=2008-04-08/srcsortbucket1outof4.txt=[ds=2008-04-08/srcsortbucket1outof4.txt, ds=2008-04-08/srcsortbucket3outof4.txt, ds=2008-04-09/srcsortbucket1outof4.txt, ds=2008-04-09/srcsortbucket3outof4.txt], ds=2008-04-08/srcsortbucket2outof4.txt=[ds=2008-04-08/srcsortbucket2outof4.txt, ds=2008-04-08/srcsortbucket4outof4.txt, ds=2008-04-09/srcsortbucket2outof4.txt, ds=2008-04-09/srcsortbucket4outof4.txt]}' -' Alias Bucket File Name Mapping:' -' a {!!{hive.metastore.warehouse.dir}!!/bucketcontext_4.db/bucket_big/ds=2008-04-08/srcsortbucket1outof4.txt=[!!{hive.metastore.warehouse.dir}!!/bucketcontext_4.db/bucket_small/ds=2008-04-08/srcsortbucket1outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_4.db/bucket_small/ds=2008-04-08/srcsortbucket3outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_4.db/bucket_small/ds=2008-04-09/srcsortbucket1outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_4.db/bucket_small/ds=2008-04-09/srcsortbucket3outof4.txt], !!{hive.metastore.warehouse.dir}!!/bucketcontext_4.db/bucket_big/ds=2008-04-08/srcsortbucket2outof4.txt=[!!{hive.metastore.warehouse.dir}!!/bucketcontext_4.db/bucket_small/ds=2008-04-08/srcsortbucket2outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_4.db/bucket_small/ds=2008-04-08/srcsortbucket4outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_4.db/bucket_small/ds=2008-04-09/srcsortbucket2outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_4.db/bucket_small/ds=2008-04-09/srcsortbucket4outof4.txt]}' -' Alias Bucket Output File Name Mapping:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_4.db/bucket_big/ds=2008-04-08/srcsortbucket1outof4.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_4.db/bucket_big/ds=2008-04-08/srcsortbucket2outof4.txt 1' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_4.db/bucket_big/ds=2008-04-08 [b]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_4.db/bucket_big/ds=2008-04-08 ' -' Partition' -' base file name: ds=2008-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_4.db/bucket_big/ds=2008-04-08' -' name bucketcontext_4.bucket_big' -' numFiles 2' -' numPartitions 1' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_4.db/bucket_big' -' name bucketcontext_4.bucket_big' -' numFiles 2' -' numPartitions 1' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketcontext_4.bucket_big' -' name: bucketcontext_4.bucket_big' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -206 rows selected ->>> select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key; -'_c1' -'928' -1 row selected ->>> ->>> set hive.optimize.bucketmapjoin.sortedmerge = true; -No rows affected ->>> explain extended select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME bucket_small) a) (TOK_TABREF (TOK_TABNAME bucket_big) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR (TOK_FUNCTIONSTAR count)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_4.db/bucket_big/ds=2008-04-08 [b]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_4.db/bucket_big/ds=2008-04-08 ' -' Partition' -' base file name: ds=2008-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_4.db/bucket_big/ds=2008-04-08' -' name bucketcontext_4.bucket_big' -' numFiles 2' -' numPartitions 1' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_4.db/bucket_big' -' name bucketcontext_4.bucket_big' -' numFiles 2' -' numPartitions 1' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketcontext_4.bucket_big' -' name: bucketcontext_4.bucket_big' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -174 rows selected ->>> select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key; -'_c1' -'928' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/bucketcontext_5.q.out ql/src/test/results/beelinepositive/bucketcontext_5.q.out deleted file mode 100644 index 843545f..0000000 --- ql/src/test/results/beelinepositive/bucketcontext_5.q.out +++ /dev/null @@ -1,413 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/bucketcontext_5.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/bucketcontext_5.q ->>> -- small no part, 4 bucket & big no part, 2 bucket ->>> CREATE TABLE bucket_small (key string, value string) CLUSTERED BY (key) SORTED BY (key) INTO 4 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> load data local inpath '../data/files/srcsortbucket1outof4.txt' INTO TABLE bucket_small; -No rows affected ->>> load data local inpath '../data/files/srcsortbucket2outof4.txt' INTO TABLE bucket_small; -No rows affected ->>> load data local inpath '../data/files/srcsortbucket3outof4.txt' INTO TABLE bucket_small; -No rows affected ->>> load data local inpath '../data/files/srcsortbucket4outof4.txt' INTO TABLE bucket_small; -No rows affected ->>> ->>> CREATE TABLE bucket_big (key string, value string) CLUSTERED BY (key) SORTED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> load data local inpath '../data/files/srcsortbucket1outof4.txt' INTO TABLE bucket_big; -No rows affected ->>> load data local inpath '../data/files/srcsortbucket2outof4.txt' INTO TABLE bucket_big; -No rows affected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> explain extended select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME bucket_small) a) (TOK_TABREF (TOK_TABNAME bucket_big) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR (TOK_FUNCTIONSTAR count)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-4 is a root stage' -' Stage-1 depends on stages: Stage-4' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-4' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' a ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -' Bucket Mapjoin Context:' -' Alias Bucket Base File Name Mapping:' -' a {srcsortbucket1outof4.txt=[srcsortbucket1outof4.txt, srcsortbucket3outof4.txt], srcsortbucket2outof4.txt=[srcsortbucket2outof4.txt, srcsortbucket4outof4.txt]}' -' Alias Bucket File Name Mapping:' -' a {!!{hive.metastore.warehouse.dir}!!/bucketcontext_5.db/bucket_big/srcsortbucket1outof4.txt=[!!{hive.metastore.warehouse.dir}!!/bucketcontext_5.db/bucket_small/srcsortbucket1outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_5.db/bucket_small/srcsortbucket3outof4.txt], !!{hive.metastore.warehouse.dir}!!/bucketcontext_5.db/bucket_big/srcsortbucket2outof4.txt=[!!{hive.metastore.warehouse.dir}!!/bucketcontext_5.db/bucket_small/srcsortbucket2outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_5.db/bucket_small/srcsortbucket4outof4.txt]}' -' Alias Bucket Output File Name Mapping:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_5.db/bucket_big/srcsortbucket1outof4.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_5.db/bucket_big/srcsortbucket2outof4.txt 1' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_5.db/bucket_big [b]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_5.db/bucket_big ' -' Partition' -' base file name: bucket_big' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_5.db/bucket_big' -' name bucketcontext_5.bucket_big' -' numFiles 2' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_5.db/bucket_big' -' name bucketcontext_5.bucket_big' -' numFiles 2' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketcontext_5.bucket_big' -' name: bucketcontext_5.bucket_big' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -202 rows selected ->>> select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key; -'_c1' -'464' -1 row selected ->>> ->>> set hive.optimize.bucketmapjoin.sortedmerge = true; -No rows affected ->>> explain extended select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME bucket_small) a) (TOK_TABREF (TOK_TABNAME bucket_big) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR (TOK_FUNCTIONSTAR count)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_5.db/bucket_big [b]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_5.db/bucket_big ' -' Partition' -' base file name: bucket_big' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_5.db/bucket_big' -' name bucketcontext_5.bucket_big' -' numFiles 2' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_5.db/bucket_big' -' name bucketcontext_5.bucket_big' -' numFiles 2' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketcontext_5.bucket_big' -' name: bucketcontext_5.bucket_big' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -170 rows selected ->>> select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key; -'_c1' -'464' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/bucketcontext_6.q.out ql/src/test/results/beelinepositive/bucketcontext_6.q.out deleted file mode 100644 index 7c6f09f..0000000 --- ql/src/test/results/beelinepositive/bucketcontext_6.q.out +++ /dev/null @@ -1,538 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/bucketcontext_6.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/bucketcontext_6.q ->>> -- small no part, 4 bucket & big 2 part, 2 bucket ->>> CREATE TABLE bucket_small (key string, value string) CLUSTERED BY (key) SORTED BY (key) INTO 4 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> load data local inpath '../data/files/srcsortbucket1outof4.txt' INTO TABLE bucket_small; -No rows affected ->>> load data local inpath '../data/files/srcsortbucket2outof4.txt' INTO TABLE bucket_small; -No rows affected ->>> load data local inpath '../data/files/srcsortbucket3outof4.txt' INTO TABLE bucket_small; -No rows affected ->>> load data local inpath '../data/files/srcsortbucket4outof4.txt' INTO TABLE bucket_small; -No rows affected ->>> ->>> CREATE TABLE bucket_big (key string, value string) partitioned by (ds string) CLUSTERED BY (key) SORTED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> load data local inpath '../data/files/srcsortbucket1outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket2outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-08'); -No rows affected ->>> ->>> load data local inpath '../data/files/srcsortbucket1outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-09'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket2outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-09'); -No rows affected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> explain extended select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME bucket_small) a) (TOK_TABREF (TOK_TABNAME bucket_big) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR (TOK_FUNCTIONSTAR count)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-4 is a root stage' -' Stage-1 depends on stages: Stage-4' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-4' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' a ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -' Bucket Mapjoin Context:' -' Alias Bucket Base File Name Mapping:' -' a {ds=2008-04-08/srcsortbucket1outof4.txt=[srcsortbucket1outof4.txt, srcsortbucket3outof4.txt], ds=2008-04-08/srcsortbucket2outof4.txt=[srcsortbucket2outof4.txt, srcsortbucket4outof4.txt], ds=2008-04-09/srcsortbucket1outof4.txt=[srcsortbucket1outof4.txt, srcsortbucket3outof4.txt], ds=2008-04-09/srcsortbucket2outof4.txt=[srcsortbucket2outof4.txt, srcsortbucket4outof4.txt]}' -' Alias Bucket File Name Mapping:' -' a {!!{hive.metastore.warehouse.dir}!!/bucketcontext_6.db/bucket_big/ds=2008-04-08/srcsortbucket1outof4.txt=[!!{hive.metastore.warehouse.dir}!!/bucketcontext_6.db/bucket_small/srcsortbucket1outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_6.db/bucket_small/srcsortbucket3outof4.txt], !!{hive.metastore.warehouse.dir}!!/bucketcontext_6.db/bucket_big/ds=2008-04-08/srcsortbucket2outof4.txt=[!!{hive.metastore.warehouse.dir}!!/bucketcontext_6.db/bucket_small/srcsortbucket2outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_6.db/bucket_small/srcsortbucket4outof4.txt], !!{hive.metastore.warehouse.dir}!!/bucketcontext_6.db/bucket_big/ds=2008-04-09/srcsortbucket1outof4.txt=[!!{hive.metastore.warehouse.dir}!!/bucketcontext_6.db/bucket_small/srcsortbucket1outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_6.db/bucket_small/srcsortbucket3outof4.txt], !!{hive.metastore.warehouse.dir}!!/bucketcontext_6.db/bucket_big/ds=2008-04-09/srcsortbucket2outof4.txt=[!!{hive.metastore.warehouse.dir}!!/bucketcontext_6.db/bucket_small/srcsortbucket2outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_6.db/bucket_small/srcsortbucket4outof4.txt]}' -' Alias Bucket Output File Name Mapping:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_6.db/bucket_big/ds=2008-04-08/srcsortbucket1outof4.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_6.db/bucket_big/ds=2008-04-08/srcsortbucket2outof4.txt 1' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_6.db/bucket_big/ds=2008-04-09/srcsortbucket1outof4.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_6.db/bucket_big/ds=2008-04-09/srcsortbucket2outof4.txt 1' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_6.db/bucket_big/ds=2008-04-08 [b]' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_6.db/bucket_big/ds=2008-04-09 [b]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_6.db/bucket_big/ds=2008-04-08 ' -' Partition' -' base file name: ds=2008-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_6.db/bucket_big/ds=2008-04-08' -' name bucketcontext_6.bucket_big' -' numFiles 2' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_6.db/bucket_big' -' name bucketcontext_6.bucket_big' -' numFiles 4' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5500' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketcontext_6.bucket_big' -' name: bucketcontext_6.bucket_big' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_6.db/bucket_big/ds=2008-04-09 ' -' Partition' -' base file name: ds=2008-04-09' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-09' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_6.db/bucket_big/ds=2008-04-09' -' name bucketcontext_6.bucket_big' -' numFiles 2' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_6.db/bucket_big' -' name bucketcontext_6.bucket_big' -' numFiles 4' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5500' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketcontext_6.bucket_big' -' name: bucketcontext_6.bucket_big' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -263 rows selected ->>> select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key; -'_c1' -'928' -1 row selected ->>> ->>> set hive.optimize.bucketmapjoin.sortedmerge = true; -No rows affected ->>> explain extended select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME bucket_small) a) (TOK_TABREF (TOK_TABNAME bucket_big) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR (TOK_FUNCTIONSTAR count)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_6.db/bucket_big/ds=2008-04-08 [b]' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_6.db/bucket_big/ds=2008-04-09 [b]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_6.db/bucket_big/ds=2008-04-08 ' -' Partition' -' base file name: ds=2008-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_6.db/bucket_big/ds=2008-04-08' -' name bucketcontext_6.bucket_big' -' numFiles 2' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_6.db/bucket_big' -' name bucketcontext_6.bucket_big' -' numFiles 4' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5500' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketcontext_6.bucket_big' -' name: bucketcontext_6.bucket_big' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_6.db/bucket_big/ds=2008-04-09 ' -' Partition' -' base file name: ds=2008-04-09' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-09' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_6.db/bucket_big/ds=2008-04-09' -' name bucketcontext_6.bucket_big' -' numFiles 2' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_6.db/bucket_big' -' name bucketcontext_6.bucket_big' -' numFiles 4' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5500' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketcontext_6.bucket_big' -' name: bucketcontext_6.bucket_big' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -229 rows selected ->>> select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key; -'_c1' -'928' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/bucketcontext_7.q.out ql/src/test/results/beelinepositive/bucketcontext_7.q.out deleted file mode 100644 index 4c4b10a..0000000 --- ql/src/test/results/beelinepositive/bucketcontext_7.q.out +++ /dev/null @@ -1,547 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/bucketcontext_7.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/bucketcontext_7.q ->>> -- small 2 part, 4 bucket & big 2 part, 2 bucket ->>> CREATE TABLE bucket_small (key string, value string) partitioned by (ds string) CLUSTERED BY (key) SORTED BY (key) INTO 4 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> load data local inpath '../data/files/srcsortbucket1outof4.txt' INTO TABLE bucket_small partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket2outof4.txt' INTO TABLE bucket_small partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket3outof4.txt' INTO TABLE bucket_small partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket4outof4.txt' INTO TABLE bucket_small partition(ds='2008-04-08'); -No rows affected ->>> ->>> load data local inpath '../data/files/srcsortbucket1outof4.txt' INTO TABLE bucket_small partition(ds='2008-04-09'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket2outof4.txt' INTO TABLE bucket_small partition(ds='2008-04-09'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket3outof4.txt' INTO TABLE bucket_small partition(ds='2008-04-09'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket4outof4.txt' INTO TABLE bucket_small partition(ds='2008-04-09'); -No rows affected ->>> ->>> CREATE TABLE bucket_big (key string, value string) partitioned by (ds string) CLUSTERED BY (key) SORTED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> load data local inpath '../data/files/srcsortbucket1outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket2outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-08'); -No rows affected ->>> ->>> load data local inpath '../data/files/srcsortbucket1outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-09'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket2outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-09'); -No rows affected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> explain extended select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME bucket_small) a) (TOK_TABREF (TOK_TABNAME bucket_big) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR (TOK_FUNCTIONSTAR count)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-4 is a root stage' -' Stage-1 depends on stages: Stage-4' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-4' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' a ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -' Bucket Mapjoin Context:' -' Alias Bucket Base File Name Mapping:' -' a {ds=2008-04-08/srcsortbucket1outof4.txt=[ds=2008-04-08/srcsortbucket1outof4.txt, ds=2008-04-08/srcsortbucket3outof4.txt, ds=2008-04-09/srcsortbucket1outof4.txt, ds=2008-04-09/srcsortbucket3outof4.txt], ds=2008-04-08/srcsortbucket2outof4.txt=[ds=2008-04-08/srcsortbucket2outof4.txt, ds=2008-04-08/srcsortbucket4outof4.txt, ds=2008-04-09/srcsortbucket2outof4.txt, ds=2008-04-09/srcsortbucket4outof4.txt], ds=2008-04-09/srcsortbucket1outof4.txt=[ds=2008-04-08/srcsortbucket1outof4.txt, ds=2008-04-08/srcsortbucket3outof4.txt, ds=2008-04-09/srcsortbucket1outof4.txt, ds=2008-04-09/srcsortbucket3outof4.txt], ds=2008-04-09/srcsortbucket2outof4.txt=[ds=2008-04-08/srcsortbucket2outof4.txt, ds=2008-04-08/srcsortbucket4outof4.txt, ds=2008-04-09/srcsortbucket2outof4.txt, ds=2008-04-09/srcsortbucket4outof4.txt]}' -' Alias Bucket File Name Mapping:' -' a {!!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_big/ds=2008-04-08/srcsortbucket1outof4.txt=[!!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_small/ds=2008-04-08/srcsortbucket1outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_small/ds=2008-04-08/srcsortbucket3outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_small/ds=2008-04-09/srcsortbucket1outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_small/ds=2008-04-09/srcsortbucket3outof4.txt], !!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_big/ds=2008-04-08/srcsortbucket2outof4.txt=[!!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_small/ds=2008-04-08/srcsortbucket2outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_small/ds=2008-04-08/srcsortbucket4outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_small/ds=2008-04-09/srcsortbucket2outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_small/ds=2008-04-09/srcsortbucket4outof4.txt], !!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_big/ds=2008-04-09/srcsortbucket1outof4.txt=[!!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_small/ds=2008-04-08/srcsortbucket1outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_small/ds=2008-04-08/srcsortbucket3outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_small/ds=2008-04-09/srcsortbucket1outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_small/ds=2008-04-09/srcsortbucket3outof4.txt], !!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_big/ds=2008-04-09/srcsortbucket2outof4.txt=[!!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_small/ds=2008-04-08/srcsortbucket2outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_small/ds=2008-04-08/srcsortbucket4outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_small/ds=2008-04-09/srcsortbucket2outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_small/ds=2008-04-09/srcsortbucket4outof4.txt]}' -' Alias Bucket Output File Name Mapping:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_big/ds=2008-04-08/srcsortbucket1outof4.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_big/ds=2008-04-08/srcsortbucket2outof4.txt 1' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_big/ds=2008-04-09/srcsortbucket1outof4.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_big/ds=2008-04-09/srcsortbucket2outof4.txt 1' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_big/ds=2008-04-08 [b]' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_big/ds=2008-04-09 [b]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_big/ds=2008-04-08 ' -' Partition' -' base file name: ds=2008-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_big/ds=2008-04-08' -' name bucketcontext_7.bucket_big' -' numFiles 2' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_big' -' name bucketcontext_7.bucket_big' -' numFiles 4' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5500' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketcontext_7.bucket_big' -' name: bucketcontext_7.bucket_big' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_big/ds=2008-04-09 ' -' Partition' -' base file name: ds=2008-04-09' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-09' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_big/ds=2008-04-09' -' name bucketcontext_7.bucket_big' -' numFiles 2' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_big' -' name bucketcontext_7.bucket_big' -' numFiles 4' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5500' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketcontext_7.bucket_big' -' name: bucketcontext_7.bucket_big' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -263 rows selected ->>> select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key; -'_c1' -'1856' -1 row selected ->>> ->>> set hive.optimize.bucketmapjoin.sortedmerge = true; -No rows affected ->>> explain extended select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME bucket_small) a) (TOK_TABREF (TOK_TABNAME bucket_big) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR (TOK_FUNCTIONSTAR count)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_big/ds=2008-04-08 [b]' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_big/ds=2008-04-09 [b]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_big/ds=2008-04-08 ' -' Partition' -' base file name: ds=2008-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_big/ds=2008-04-08' -' name bucketcontext_7.bucket_big' -' numFiles 2' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_big' -' name bucketcontext_7.bucket_big' -' numFiles 4' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5500' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketcontext_7.bucket_big' -' name: bucketcontext_7.bucket_big' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_big/ds=2008-04-09 ' -' Partition' -' base file name: ds=2008-04-09' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-09' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_big/ds=2008-04-09' -' name bucketcontext_7.bucket_big' -' numFiles 2' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_7.db/bucket_big' -' name bucketcontext_7.bucket_big' -' numFiles 4' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5500' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketcontext_7.bucket_big' -' name: bucketcontext_7.bucket_big' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -229 rows selected ->>> select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key; -'_c1' -'1856' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/bucketcontext_8.q.out ql/src/test/results/beelinepositive/bucketcontext_8.q.out deleted file mode 100644 index d1a933c..0000000 --- ql/src/test/results/beelinepositive/bucketcontext_8.q.out +++ /dev/null @@ -1,551 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/bucketcontext_8.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/bucketcontext_8.q ->>> -- small 2 part, 2 bucket & big 2 part, 4 bucket ->>> CREATE TABLE bucket_small (key string, value string) partitioned by (ds string) CLUSTERED BY (key) SORTED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> load data local inpath '../data/files/srcsortbucket1outof4.txt' INTO TABLE bucket_small partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket2outof4.txt' INTO TABLE bucket_small partition(ds='2008-04-08'); -No rows affected ->>> ->>> load data local inpath '../data/files/srcsortbucket1outof4.txt' INTO TABLE bucket_small partition(ds='2008-04-09'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket2outof4.txt' INTO TABLE bucket_small partition(ds='2008-04-09'); -No rows affected ->>> ->>> CREATE TABLE bucket_big (key string, value string) partitioned by (ds string) CLUSTERED BY (key) SORTED BY (key) INTO 4 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> load data local inpath '../data/files/srcsortbucket1outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket2outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket3outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket4outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-08'); -No rows affected ->>> ->>> load data local inpath '../data/files/srcsortbucket1outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-09'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket2outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-09'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket3outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-09'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket4outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-09'); -No rows affected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> explain extended select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME bucket_small) a) (TOK_TABREF (TOK_TABNAME bucket_big) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR (TOK_FUNCTIONSTAR count)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-4 is a root stage' -' Stage-1 depends on stages: Stage-4' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-4' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' a ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -' Bucket Mapjoin Context:' -' Alias Bucket Base File Name Mapping:' -' a {ds=2008-04-08/srcsortbucket1outof4.txt=[ds=2008-04-08/srcsortbucket1outof4.txt, ds=2008-04-09/srcsortbucket1outof4.txt], ds=2008-04-08/srcsortbucket2outof4.txt=[ds=2008-04-08/srcsortbucket2outof4.txt, ds=2008-04-09/srcsortbucket2outof4.txt], ds=2008-04-08/srcsortbucket3outof4.txt=[ds=2008-04-08/srcsortbucket1outof4.txt, ds=2008-04-09/srcsortbucket1outof4.txt], ds=2008-04-08/srcsortbucket4outof4.txt=[ds=2008-04-08/srcsortbucket2outof4.txt, ds=2008-04-09/srcsortbucket2outof4.txt], ds=2008-04-09/srcsortbucket1outof4.txt=[ds=2008-04-08/srcsortbucket1outof4.txt, ds=2008-04-09/srcsortbucket1outof4.txt], ds=2008-04-09/srcsortbucket2outof4.txt=[ds=2008-04-08/srcsortbucket2outof4.txt, ds=2008-04-09/srcsortbucket2outof4.txt], ds=2008-04-09/srcsortbucket3outof4.txt=[ds=2008-04-08/srcsortbucket1outof4.txt, ds=2008-04-09/srcsortbucket1outof4.txt], ds=2008-04-09/srcsortbucket4outof4.txt=[ds=2008-04-08/srcsortbucket2outof4.txt, ds=2008-04-09/srcsortbucket2outof4.txt]}' -' Alias Bucket File Name Mapping:' -' a {!!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_big/ds=2008-04-08/srcsortbucket1outof4.txt=[!!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_small/ds=2008-04-08/srcsortbucket1outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_small/ds=2008-04-09/srcsortbucket1outof4.txt], !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_big/ds=2008-04-08/srcsortbucket2outof4.txt=[!!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_small/ds=2008-04-08/srcsortbucket2outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_small/ds=2008-04-09/srcsortbucket2outof4.txt], !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_big/ds=2008-04-08/srcsortbucket3outof4.txt=[!!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_small/ds=2008-04-08/srcsortbucket1outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_small/ds=2008-04-09/srcsortbucket1outof4.txt], !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_big/ds=2008-04-08/srcsortbucket4outof4.txt=[!!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_small/ds=2008-04-08/srcsortbucket2outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_small/ds=2008-04-09/srcsortbucket2outof4.txt], !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_big/ds=2008-04-09/srcsortbucket1outof4.txt=[!!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_small/ds=2008-04-08/srcsortbucket1outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_small/ds=2008-04-09/srcsortbucket1outof4.txt], !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_big/ds=2008-04-09/srcsortbucket2outof4.txt=[!!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_small/ds=2008-04-08/srcsortbucket2outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_small/ds=2008-04-09/srcsortbucket2outof4.txt], !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_big/ds=2008-04-09/srcsortbucket3outof4.txt=[!!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_small/ds=2008-04-08/srcsortbucket1outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_small/ds=2008-04-09/srcsortbucket1outof4.txt], !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_big/ds=2008-04-09/srcsortbucket4outof4.txt=[!!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_small/ds=2008-04-08/srcsortbucket2outof4.txt, !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_small/ds=2008-04-09/srcsortbucket2outof4.txt]}' -' Alias Bucket Output File Name Mapping:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_big/ds=2008-04-08/srcsortbucket1outof4.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_big/ds=2008-04-08/srcsortbucket2outof4.txt 1' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_big/ds=2008-04-08/srcsortbucket3outof4.txt 2' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_big/ds=2008-04-08/srcsortbucket4outof4.txt 3' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_big/ds=2008-04-09/srcsortbucket1outof4.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_big/ds=2008-04-09/srcsortbucket2outof4.txt 1' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_big/ds=2008-04-09/srcsortbucket3outof4.txt 2' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_big/ds=2008-04-09/srcsortbucket4outof4.txt 3' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_big/ds=2008-04-08 [b]' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_big/ds=2008-04-09 [b]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_big/ds=2008-04-08 ' -' Partition' -' base file name: ds=2008-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_big/ds=2008-04-08' -' name bucketcontext_8.bucket_big' -' numFiles 4' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_big' -' name bucketcontext_8.bucket_big' -' numFiles 8' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11624' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketcontext_8.bucket_big' -' name: bucketcontext_8.bucket_big' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_big/ds=2008-04-09 ' -' Partition' -' base file name: ds=2008-04-09' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-09' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_big/ds=2008-04-09' -' name bucketcontext_8.bucket_big' -' numFiles 4' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_big' -' name bucketcontext_8.bucket_big' -' numFiles 8' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11624' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketcontext_8.bucket_big' -' name: bucketcontext_8.bucket_big' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -267 rows selected ->>> select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key; -'_c1' -'1856' -1 row selected ->>> ->>> set hive.optimize.bucketmapjoin.sortedmerge = true; -No rows affected ->>> explain extended select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME bucket_small) a) (TOK_TABREF (TOK_TABNAME bucket_big) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR (TOK_FUNCTIONSTAR count)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_big/ds=2008-04-08 [b]' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_big/ds=2008-04-09 [b]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_big/ds=2008-04-08 ' -' Partition' -' base file name: ds=2008-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_big/ds=2008-04-08' -' name bucketcontext_8.bucket_big' -' numFiles 4' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_big' -' name bucketcontext_8.bucket_big' -' numFiles 8' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11624' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketcontext_8.bucket_big' -' name: bucketcontext_8.bucket_big' -' !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_big/ds=2008-04-09 ' -' Partition' -' base file name: ds=2008-04-09' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-09' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_big/ds=2008-04-09' -' name bucketcontext_8.bucket_big' -' numFiles 4' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketcontext_8.db/bucket_big' -' name bucketcontext_8.bucket_big' -' numFiles 8' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct bucket_big { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11624' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketcontext_8.bucket_big' -' name: bucketcontext_8.bucket_big' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -229 rows selected ->>> select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key; -'_c1' -'1856' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/bucketizedhiveinputformat.q.out ql/src/test/results/beelinepositive/bucketizedhiveinputformat.q.out deleted file mode 100644 index b470fa9..0000000 --- ql/src/test/results/beelinepositive/bucketizedhiveinputformat.q.out +++ /dev/null @@ -1,320 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/bucketizedhiveinputformat.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/bucketizedhiveinputformat.q ->>> set hive.input.format=org.apache.hadoop.hive.ql.io.BucketizedHiveInputFormat; -No rows affected ->>> set mapred.min.split.size = 64; -No rows affected ->>> ->>> CREATE TABLE T1(name STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/kv1.txt' INTO TABLE T1; -No rows affected ->>> ->>> CREATE TABLE T2(name STRING) STORED AS SEQUENCEFILE; -No rows affected ->>> ->>> EXPLAIN INSERT OVERWRITE TABLE T2 SELECT * FROM ( -SELECT tmp1.name as name FROM ( -SELECT name, 'MMM' AS n FROM T1) tmp1 -JOIN (SELECT 'MMM' AS n FROM T1) tmp2 -JOIN (SELECT 'MMM' AS n FROM T1) tmp3 -ON tmp1.n = tmp2.n AND tmp1.n = tmp3.n) ttt LIMIT 5000000; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL name)) (TOK_SELEXPR 'MMM' n)))) tmp1) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 'MMM' n)))) tmp2)) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 'MMM' n)))) tmp3) (AND (= (. (TOK_TABLE_OR_COL tmp1) n) (. (TOK_TABLE_OR_COL tmp2) n)) (= (. (TOK_TABLE_OR_COL tmp1) n) (. (TOK_TABLE_OR_COL tmp3) n))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL tmp1) name) name)))) ttt)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME T2))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_LIMIT 5000000)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-3 depends on stages: Stage-2' -' Stage-0 depends on stages: Stage-3' -' Stage-4 depends on stages: Stage-0' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' ttt:tmp1:t1 ' -' TableScan' -' alias: t1' -' Select Operator' -' expressions:' -' expr: name' -' type: string' -' expr: 'MMM'' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' sort order: ' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' ttt:tmp2:t1 ' -' TableScan' -' alias: t1' -' Select Operator' -' expressions:' -' expr: 'MMM'' -' type: string' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2' -' Filter Operator' -' predicate:' -' expr: (_col1 = _col2)' -' type: boolean' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col1' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' ttt:tmp3:t1 ' -' TableScan' -' alias: t1' -' Select Operator' -' expressions:' -' expr: 'MMM'' -' type: string' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col1}' -' 1 ' -' handleSkewJoin: false' -' outputColumnNames: _col1' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketizedhiveinputformat.t2' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketizedhiveinputformat.t2' -'' -' Stage: Stage-4' -' Stats-Aggr Operator' -'' -'' -162 rows selected ->>> ->>> ->>> INSERT OVERWRITE TABLE T2 SELECT * FROM ( -SELECT tmp1.name as name FROM ( -SELECT name, 'MMM' AS n FROM T1) tmp1 -JOIN (SELECT 'MMM' AS n FROM T1) tmp2 -JOIN (SELECT 'MMM' AS n FROM T1) tmp3 -ON tmp1.n = tmp2.n AND tmp1.n = tmp3.n) ttt LIMIT 5000000; -'name' -No rows selected ->>> ->>> EXPLAIN SELECT COUNT(1) FROM T2; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T2))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION COUNT 1)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' t2 ' -' TableScan' -' alias: t2' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -50 rows selected ->>> SELECT COUNT(1) FROM T2; -'_c0' -'5000000' -1 row selected ->>> ->>> CREATE TABLE T3(name STRING) STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/kv1.txt' INTO TABLE T3; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/kv2.txt' INTO TABLE T3; -No rows affected ->>> ->>> EXPLAIN SELECT COUNT(1) FROM T3; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T3))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION COUNT 1)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' t3 ' -' TableScan' -' alias: t3' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -50 rows selected ->>> SELECT COUNT(1) FROM T3; -'_c0' -'1000' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/bucketizedhiveinputformat_auto.q.out ql/src/test/results/beelinepositive/bucketizedhiveinputformat_auto.q.out deleted file mode 100644 index 71d294d..0000000 --- ql/src/test/results/beelinepositive/bucketizedhiveinputformat_auto.q.out +++ /dev/null @@ -1,50 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/bucketizedhiveinputformat_auto.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/bucketizedhiveinputformat_auto.q ->>> CREATE TABLE bucket_small (key string, value string) partitioned by (ds string) CLUSTERED BY (key) SORTED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> load data local inpath '../data/files/srcsortbucket1outof4.txt' INTO TABLE bucket_small partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket2outof4.txt' INTO TABLE bucket_small partition(ds='2008-04-08'); -No rows affected ->>> ->>> CREATE TABLE bucket_big (key string, value string) partitioned by (ds string) CLUSTERED BY (key) SORTED BY (key) INTO 4 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> load data local inpath '../data/files/srcsortbucket1outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket2outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket3outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket4outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-08'); -No rows affected ->>> ->>> load data local inpath '../data/files/srcsortbucket1outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-09'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket2outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-09'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket3outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-09'); -No rows affected ->>> load data local inpath '../data/files/srcsortbucket4outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-09'); -No rows affected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key; -'_c1' -'928' -1 row selected ->>> ->>> set hive.optimize.bucketmapjoin.sortedmerge = true; -No rows affected ->>> select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key; -'_c1' -'928' -1 row selected ->>> ->>> set hive.input.format = org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key; -'_c1' -'928' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/bucketmapjoin1.q.out ql/src/test/results/beelinepositive/bucketmapjoin1.q.out deleted file mode 100644 index e7a798b..0000000 --- ql/src/test/results/beelinepositive/bucketmapjoin1.q.out +++ /dev/null @@ -1,1131 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/bucketmapjoin1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/bucketmapjoin1.q ->>> CREATE TABLE srcbucket_mapjoin(key int, value string) CLUSTERED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> ->>> CREATE TABLE srcbucket_mapjoin_part (key int, value string) partitioned by (ds string) CLUSTERED BY (key) INTO 4 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> ->>> CREATE TABLE srcbucket_mapjoin_part_2 (key int, value string) partitioned by (ds string) CLUSTERED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> ->>> -- empty partitions (HIVE-3205) ->>> explain extended -select /*+mapjoin(b)*/ a.key, a.value, b.value -from srcbucket_mapjoin_part a join srcbucket_mapjoin_part_2 b -on a.key=b.key where b.ds="2008-04-08"; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part) a) (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value))) (TOK_WHERE (= (. (TOK_TABLE_OR_COL b) ds) "2008-04-08"))))' -'' -'STAGE DEPENDENCIES:' -' Stage-3 is a root stage' -' Stage-1 depends on stages: Stage-3' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-3' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' b ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (ds = '2008-04-08')' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {value} {ds}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -' Bucket Mapjoin Context:' -' Alias Bucket Base File Name Mapping:' -' b {}' -' Alias Bucket File Name Mapping:' -' b {}' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {value} {ds}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col6, _col7' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col6' -' type: string' -' expr: _col7' -' type: string' -' outputColumnNames: _col0, _col1, _col6, _col7' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col6' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types int:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -105 rows selected ->>> ->>> select /*+mapjoin(b)*/ a.key, a.value, b.value -from srcbucket_mapjoin_part a join srcbucket_mapjoin_part_2 b -on a.key=b.key where b.ds="2008-04-08"; -'key','value','value' -No rows selected ->>> ->>> explain extended -select /*+mapjoin(a)*/ a.key, a.value, b.value -from srcbucket_mapjoin_part a join srcbucket_mapjoin_part_2 b -on a.key=b.key where b.ds="2008-04-08"; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part) a) (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value))) (TOK_WHERE (= (. (TOK_TABLE_OR_COL b) ds) "2008-04-08"))))' -'' -'STAGE DEPENDENCIES:' -' Stage-3 is a root stage' -' Stage-1 depends on stages: Stage-3' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-3' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' a ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {value} {ds}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -' Bucket Mapjoin Context:' -' Alias Bucket Base File Name Mapping:' -' a {}' -' Alias Bucket File Name Mapping:' -' a {}' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (ds = '2008-04-08')' -' type: boolean' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {value} {ds}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col6, _col7' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col6' -' type: string' -' expr: _col7' -' type: string' -' outputColumnNames: _col0, _col1, _col6, _col7' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col6' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types int:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -105 rows selected ->>> ->>> select /*+mapjoin(a)*/ a.key, a.value, b.value -from srcbucket_mapjoin_part a join srcbucket_mapjoin_part_2 b -on a.key=b.key where b.ds="2008-04-08"; -'key','value','value' -No rows selected ->>> ->>> load data local inpath '../data/files/srcbucket20.txt' INTO TABLE srcbucket_mapjoin; -No rows affected ->>> load data local inpath '../data/files/srcbucket21.txt' INTO TABLE srcbucket_mapjoin; -No rows affected ->>> ->>> load data local inpath '../data/files/srcbucket20.txt' INTO TABLE srcbucket_mapjoin_part partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcbucket21.txt' INTO TABLE srcbucket_mapjoin_part partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcbucket22.txt' INTO TABLE srcbucket_mapjoin_part partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcbucket23.txt' INTO TABLE srcbucket_mapjoin_part partition(ds='2008-04-08'); -No rows affected ->>> ->>> load data local inpath '../data/files/srcbucket22.txt' INTO TABLE srcbucket_mapjoin_part_2 partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcbucket23.txt' INTO TABLE srcbucket_mapjoin_part_2 partition(ds='2008-04-08'); -No rows affected ->>> ->>> create table bucketmapjoin_hash_result_1 (key bigint , value1 bigint, value2 bigint); -No rows affected ->>> create table bucketmapjoin_hash_result_2 (key bigint , value1 bigint, value2 bigint); -No rows affected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> create table bucketmapjoin_tmp_result (key string , value1 string, value2 string); -No rows affected ->>> ->>> explain extended -insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(b)*/ a.key, a.value, b.value -from srcbucket_mapjoin a join srcbucket_mapjoin_part b -on a.key=b.key where b.ds="2008-04-08"; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin) a) (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME bucketmapjoin_tmp_result))) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value))) (TOK_WHERE (= (. (TOK_TABLE_OR_COL b) ds) "2008-04-08"))))' -'' -'STAGE DEPENDENCIES:' -' Stage-9 is a root stage' -' Stage-1 depends on stages: Stage-9' -' 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-9' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' b ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {value} {ds}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -' Bucket Mapjoin Context:' -' Alias Bucket Base File Name Mapping:' -' b {srcbucket20.txt=[ds=2008-04-08/srcbucket20.txt, ds=2008-04-08/srcbucket22.txt], srcbucket21.txt=[ds=2008-04-08/srcbucket21.txt, ds=2008-04-08/srcbucket23.txt]}' -' Alias Bucket File Name Mapping:' -' b {!!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/srcbucket_mapjoin/srcbucket20.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket20.txt, !!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket22.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/srcbucket_mapjoin/srcbucket21.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket21.txt, !!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket23.txt]}' -' Alias Bucket Output File Name Mapping:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/srcbucket_mapjoin/srcbucket20.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/srcbucket_mapjoin/srcbucket21.txt 1' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {value} {ds}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col5, _col6' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col5' -' type: string' -' expr: _col6' -' type: string' -' outputColumnNames: _col0, _col1, _col5, _col6' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/bucketmapjoin_tmp_result' -' name bucketmapjoin1.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin1.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/srcbucket_mapjoin [a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/srcbucket_mapjoin ' -' Partition' -' base file name: srcbucket_mapjoin' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/srcbucket_mapjoin' -' name bucketmapjoin1.srcbucket_mapjoin' -' numFiles 2' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/srcbucket_mapjoin' -' name bucketmapjoin1.srcbucket_mapjoin' -' numFiles 2' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin1.srcbucket_mapjoin' -' name: bucketmapjoin1.srcbucket_mapjoin' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/bucketmapjoin_tmp_result' -' name bucketmapjoin1.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin1.bucketmapjoin_tmp_result' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/bucketmapjoin_tmp_result' -' name bucketmapjoin1.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin1.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/bucketmapjoin_tmp_result' -' name bucketmapjoin1.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/bucketmapjoin_tmp_result' -' name bucketmapjoin1.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin1.bucketmapjoin_tmp_result' -' name: bucketmapjoin1.bucketmapjoin_tmp_result' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/bucketmapjoin_tmp_result' -' name bucketmapjoin1.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin1.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/bucketmapjoin_tmp_result' -' name bucketmapjoin1.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/bucketmapjoin_tmp_result' -' name bucketmapjoin1.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin1.bucketmapjoin_tmp_result' -' name: bucketmapjoin1.bucketmapjoin_tmp_result' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -350 rows selected ->>> ->>> insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(b)*/ a.key, a.value, b.value -from srcbucket_mapjoin a join srcbucket_mapjoin_part b -on a.key=b.key where b.ds="2008-04-08"; -'key','value','value' -No rows selected ->>> ->>> select count(1) from bucketmapjoin_tmp_result; -'_c0' -'464' -1 row selected ->>> ->>> insert overwrite table bucketmapjoin_hash_result_1 -select sum(hash(key)), sum(hash(value1)), sum(hash(value2)) from bucketmapjoin_tmp_result; -'_c0','_c1','_c2' -No rows selected ->>> ->>> set hive.optimize.bucketmapjoin = false; -No rows affected ->>> insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(b)*/ a.key, a.value, b.value -from srcbucket_mapjoin a join srcbucket_mapjoin_part b -on a.key=b.key where b.ds="2008-04-08"; -'key','value','value' -No rows selected ->>> ->>> select count(1) from bucketmapjoin_tmp_result; -'_c0' -'464' -1 row selected ->>> insert overwrite table bucketmapjoin_hash_result_2 -select sum(hash(key)), sum(hash(value1)), sum(hash(value2)) from bucketmapjoin_tmp_result; -'_c0','_c1','_c2' -No rows selected ->>> ->>> ->>> select a.key-b.key, a.value1-b.value1, a.value2-b.value2 -from bucketmapjoin_hash_result_1 a left outer join bucketmapjoin_hash_result_2 b -on a.key = b.key; -'_c0','_c1','_c2' -'0','0','0' -1 row selected ->>> ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> explain extended -insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(a)*/ a.key, a.value, b.value -from srcbucket_mapjoin a join srcbucket_mapjoin_part b -on a.key=b.key where b.ds="2008-04-08"; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin) a) (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME bucketmapjoin_tmp_result))) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value))) (TOK_WHERE (= (. (TOK_TABLE_OR_COL b) ds) "2008-04-08"))))' -'' -'STAGE DEPENDENCIES:' -' Stage-9 is a root stage' -' Stage-1 depends on stages: Stage-9' -' 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-9' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' a ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {value} {ds}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -' Bucket Mapjoin Context:' -' Alias Bucket Base File Name Mapping:' -' a {ds=2008-04-08/srcbucket20.txt=[srcbucket20.txt], ds=2008-04-08/srcbucket21.txt=[srcbucket21.txt], ds=2008-04-08/srcbucket22.txt=[srcbucket20.txt], ds=2008-04-08/srcbucket23.txt=[srcbucket21.txt]}' -' Alias Bucket File Name Mapping:' -' a {!!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket20.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/srcbucket_mapjoin/srcbucket20.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket21.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/srcbucket_mapjoin/srcbucket21.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket22.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/srcbucket_mapjoin/srcbucket20.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket23.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/srcbucket_mapjoin/srcbucket21.txt]}' -' Alias Bucket Output File Name Mapping:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket20.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket21.txt 1' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket22.txt 2' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket23.txt 3' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {value} {ds}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col5, _col6' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col5' -' type: string' -' expr: _col6' -' type: string' -' outputColumnNames: _col0, _col1, _col5, _col6' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/bucketmapjoin_tmp_result' -' name bucketmapjoin1.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 464' -' rawDataSize 8519' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 8983' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin1.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/srcbucket_mapjoin_part/ds=2008-04-08 [b]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/srcbucket_mapjoin_part/ds=2008-04-08 ' -' Partition' -' base file name: ds=2008-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' properties:' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/srcbucket_mapjoin_part/ds=2008-04-08' -' name bucketmapjoin1.srcbucket_mapjoin_part' -' numFiles 4' -' numPartitions 1' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/srcbucket_mapjoin_part' -' name bucketmapjoin1.srcbucket_mapjoin_part' -' numFiles 4' -' numPartitions 1' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin1.srcbucket_mapjoin_part' -' name: bucketmapjoin1.srcbucket_mapjoin_part' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/bucketmapjoin_tmp_result' -' name bucketmapjoin1.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 464' -' rawDataSize 8519' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 8983' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin1.bucketmapjoin_tmp_result' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/bucketmapjoin_tmp_result' -' name bucketmapjoin1.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 464' -' rawDataSize 8519' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 8983' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin1.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/bucketmapjoin_tmp_result' -' name bucketmapjoin1.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 464' -' rawDataSize 8519' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 8983' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/bucketmapjoin_tmp_result' -' name bucketmapjoin1.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 464' -' rawDataSize 8519' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 8983' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin1.bucketmapjoin_tmp_result' -' name: bucketmapjoin1.bucketmapjoin_tmp_result' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/bucketmapjoin_tmp_result' -' name bucketmapjoin1.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 464' -' rawDataSize 8519' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 8983' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin1.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/bucketmapjoin_tmp_result' -' name bucketmapjoin1.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 464' -' rawDataSize 8519' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 8983' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin1.db/bucketmapjoin_tmp_result' -' name bucketmapjoin1.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 464' -' rawDataSize 8519' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 8983' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin1.bucketmapjoin_tmp_result' -' name: bucketmapjoin1.bucketmapjoin_tmp_result' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -396 rows selected ->>> ->>> insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(a)*/ a.key, a.value, b.value -from srcbucket_mapjoin a join srcbucket_mapjoin_part b -on a.key=b.key where b.ds="2008-04-08"; -'key','value','value' -No rows selected ->>> ->>> select count(1) from bucketmapjoin_tmp_result; -'_c0' -'464' -1 row selected ->>> ->>> ->>> insert overwrite table bucketmapjoin_hash_result_1 -select sum(hash(key)), sum(hash(value1)), sum(hash(value2)) from bucketmapjoin_tmp_result; -'_c0','_c1','_c2' -No rows selected ->>> ->>> set hive.optimize.bucketmapjoin = false; -No rows affected ->>> insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(a)*/ a.key, a.value, b.value -from srcbucket_mapjoin a join srcbucket_mapjoin_part b -on a.key=b.key where b.ds="2008-04-08"; -'key','value','value' -No rows selected ->>> ->>> select count(1) from bucketmapjoin_tmp_result; -'_c0' -'464' -1 row selected ->>> insert overwrite table bucketmapjoin_hash_result_2 -select sum(hash(key)), sum(hash(value1)), sum(hash(value2)) from bucketmapjoin_tmp_result; -'_c0','_c1','_c2' -No rows selected ->>> ->>> select a.key-b.key, a.value1-b.value1, a.value2-b.value2 -from bucketmapjoin_hash_result_1 a left outer join bucketmapjoin_hash_result_2 b -on a.key = b.key; -'_c0','_c1','_c2' -'0','0','0' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/bucketmapjoin10.q.out ql/src/test/results/beelinepositive/bucketmapjoin10.q.out deleted file mode 100644 index cc6dc9e..0000000 --- ql/src/test/results/beelinepositive/bucketmapjoin10.q.out +++ /dev/null @@ -1,318 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/bucketmapjoin10.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/bucketmapjoin10.q ->>> set hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> ->>> CREATE TABLE srcbucket_mapjoin_part_1 (key INT, value STRING) PARTITIONED BY (part STRING) -CLUSTERED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket20.txt' INTO TABLE srcbucket_mapjoin_part_1 PARTITION (part='1'); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket21.txt' INTO TABLE srcbucket_mapjoin_part_1 PARTITION (part='1'); -No rows affected ->>> ->>> ALTER TABLE srcbucket_mapjoin_part_1 CLUSTERED BY (key) INTO 3 BUCKETS; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket20.txt' INTO TABLE srcbucket_mapjoin_part_1 PARTITION (part='2'); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket21.txt' INTO TABLE srcbucket_mapjoin_part_1 PARTITION (part='2'); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket22.txt' INTO TABLE srcbucket_mapjoin_part_1 PARTITION (part='2'); -No rows affected ->>> ->>> CREATE TABLE srcbucket_mapjoin_part_2 (key INT, value STRING) PARTITIONED BY (part STRING) -CLUSTERED BY (key) INTO 3 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket20.txt' INTO TABLE srcbucket_mapjoin_part_2 PARTITION (part='1'); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket21.txt' INTO TABLE srcbucket_mapjoin_part_2 PARTITION (part='1'); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket22.txt' INTO TABLE srcbucket_mapjoin_part_2 PARTITION (part='1'); -No rows affected ->>> ->>> ALTER TABLE srcbucket_mapjoin_part_2 CLUSTERED BY (key) INTO 2 BUCKETS; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket20.txt' INTO TABLE srcbucket_mapjoin_part_2 PARTITION (part='2'); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket21.txt' INTO TABLE srcbucket_mapjoin_part_2 PARTITION (part='2'); -No rows affected ->>> ->>> ALTER TABLE srcbucket_mapjoin_part_2 CLUSTERED BY (key) INTO 3 BUCKETS; -No rows affected ->>> ->>> set hive.optimize.bucketmapjoin=true; -No rows affected ->>> ->>> -- The table bucketing metadata matches but the partition metadata does not, bucket map join should not be used ->>> ->>> EXPLAIN EXTENDED -SELECT /*+ MAPJOIN(b) */ count(*) -FROM srcbucket_mapjoin_part_1 a JOIN srcbucket_mapjoin_part_2 b -ON a.key = b.key AND a.part IS NOT NULL AND b.part IS NOT NULL; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part_1) a) (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part_2) b) (AND (AND (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (TOK_FUNCTION TOK_ISNOTNULL (. (TOK_TABLE_OR_COL a) part))) (TOK_FUNCTION TOK_ISNOTNULL (. (TOK_TABLE_OR_COL b) part))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR (TOK_FUNCTIONSTAR count)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-4 is a root stage' -' Stage-1 depends on stages: Stage-4' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-4' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' b ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin10.db/srcbucket_mapjoin_part_1/part=1 [a]' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin10.db/srcbucket_mapjoin_part_1/part=2 [a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin10.db/srcbucket_mapjoin_part_1/part=1 ' -' Partition' -' base file name: part=1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' part 1' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' last_modified_by !!{user.name}!!' -' last_modified_time !!UNIXTIME!!' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin10.db/srcbucket_mapjoin_part_1/part=1' -' name bucketmapjoin10.srcbucket_mapjoin_part_1' -' numFiles 2' -' numPartitions 2' -' numRows 0' -' partition_columns part' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 3' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' last_modified_by !!{user.name}!!' -' last_modified_time !!UNIXTIME!!' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin10.db/srcbucket_mapjoin_part_1' -' name bucketmapjoin10.srcbucket_mapjoin_part_1' -' numFiles 5' -' numPartitions 2' -' numRows 0' -' partition_columns part' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 6950' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin10.srcbucket_mapjoin_part_1' -' name: bucketmapjoin10.srcbucket_mapjoin_part_1' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin10.db/srcbucket_mapjoin_part_1/part=2 ' -' Partition' -' base file name: part=2' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' part 2' -' properties:' -' bucket_count 3' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' last_modified_by !!{user.name}!!' -' last_modified_time !!UNIXTIME!!' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin10.db/srcbucket_mapjoin_part_1/part=2' -' name bucketmapjoin10.srcbucket_mapjoin_part_1' -' numFiles 3' -' numPartitions 2' -' numRows 0' -' partition_columns part' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 4200' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 3' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' last_modified_by !!{user.name}!!' -' last_modified_time !!UNIXTIME!!' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin10.db/srcbucket_mapjoin_part_1' -' name bucketmapjoin10.srcbucket_mapjoin_part_1' -' numFiles 5' -' numPartitions 2' -' numRows 0' -' partition_columns part' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 6950' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin10.srcbucket_mapjoin_part_1' -' name: bucketmapjoin10.srcbucket_mapjoin_part_1' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -257 rows selected ->>> ->>> SELECT /*+ MAPJOIN(b) */ count(*) -FROM srcbucket_mapjoin_part_1 a JOIN srcbucket_mapjoin_part_2 b -ON a.key = b.key AND a.part IS NOT NULL AND b.part IS NOT NULL; -'_c1' -'2116' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/bucketmapjoin11.q.out ql/src/test/results/beelinepositive/bucketmapjoin11.q.out deleted file mode 100644 index 3e84c5b..0000000 --- ql/src/test/results/beelinepositive/bucketmapjoin11.q.out +++ /dev/null @@ -1,616 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/bucketmapjoin11.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/bucketmapjoin11.q ->>> set hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> ->>> CREATE TABLE srcbucket_mapjoin_part_1 (key INT, value STRING) PARTITIONED BY (part STRING) -CLUSTERED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket20.txt' INTO TABLE srcbucket_mapjoin_part_1 PARTITION (part='1'); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket21.txt' INTO TABLE srcbucket_mapjoin_part_1 PARTITION (part='1'); -No rows affected ->>> ->>> ALTER TABLE srcbucket_mapjoin_part_1 CLUSTERED BY (key) INTO 4 BUCKETS; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket20.txt' INTO TABLE srcbucket_mapjoin_part_1 PARTITION (part='2'); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket21.txt' INTO TABLE srcbucket_mapjoin_part_1 PARTITION (part='2'); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket22.txt' INTO TABLE srcbucket_mapjoin_part_1 PARTITION (part='2'); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket23.txt' INTO TABLE srcbucket_mapjoin_part_1 PARTITION (part='2'); -No rows affected ->>> ->>> CREATE TABLE srcbucket_mapjoin_part_2 (key INT, value STRING) PARTITIONED BY (part STRING) -CLUSTERED BY (key) INTO 4 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket20.txt' INTO TABLE srcbucket_mapjoin_part_2 PARTITION (part='1'); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket21.txt' INTO TABLE srcbucket_mapjoin_part_2 PARTITION (part='1'); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket22.txt' INTO TABLE srcbucket_mapjoin_part_2 PARTITION (part='1'); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket23.txt' INTO TABLE srcbucket_mapjoin_part_2 PARTITION (part='1'); -No rows affected ->>> ->>> ALTER TABLE srcbucket_mapjoin_part_2 CLUSTERED BY (key) INTO 2 BUCKETS; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket20.txt' INTO TABLE srcbucket_mapjoin_part_2 PARTITION (part='2'); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket21.txt' INTO TABLE srcbucket_mapjoin_part_2 PARTITION (part='2'); -No rows affected ->>> ->>> ->>> set hive.optimize.bucketmapjoin=true; -No rows affected ->>> ->>> -- The table and partition bucketing metadata doesn't match but the bucket numbers of all partitions is ->>> -- a power of 2 and the bucketing columns match so bucket map join should be used ->>> ->>> EXPLAIN EXTENDED -SELECT /*+ MAPJOIN(b) */ count(*) -FROM srcbucket_mapjoin_part_1 a JOIN srcbucket_mapjoin_part_2 b -ON a.key = b.key AND a.part IS NOT NULL AND b.part IS NOT NULL; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part_1) a) (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part_2) b) (AND (AND (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (TOK_FUNCTION TOK_ISNOTNULL (. (TOK_TABLE_OR_COL a) part))) (TOK_FUNCTION TOK_ISNOTNULL (. (TOK_TABLE_OR_COL b) part))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR (TOK_FUNCTIONSTAR count)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-4 is a root stage' -' Stage-1 depends on stages: Stage-4' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-4' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' b ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -' Bucket Mapjoin Context:' -' Alias Bucket Base File Name Mapping:' -' b {part=1/srcbucket20.txt=[part=1/srcbucket20.txt, part=1/srcbucket22.txt, part=2/srcbucket20.txt], part=1/srcbucket21.txt=[part=1/srcbucket21.txt, part=1/srcbucket23.txt, part=2/srcbucket21.txt], part=2/srcbucket20.txt=[part=1/srcbucket20.txt, part=2/srcbucket20.txt], part=2/srcbucket21.txt=[part=1/srcbucket21.txt, part=2/srcbucket21.txt], part=2/srcbucket22.txt=[part=1/srcbucket22.txt, part=2/srcbucket20.txt], part=2/srcbucket23.txt=[part=1/srcbucket23.txt, part=2/srcbucket21.txt]}' -' Alias Bucket File Name Mapping:' -' b {!!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1/part=1/srcbucket20.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_2/part=1/srcbucket20.txt, !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_2/part=1/srcbucket22.txt, !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_2/part=2/srcbucket20.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1/part=1/srcbucket21.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_2/part=1/srcbucket21.txt, !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_2/part=1/srcbucket23.txt, !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_2/part=2/srcbucket21.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1/part=2/srcbucket20.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_2/part=1/srcbucket20.txt, !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_2/part=2/srcbucket20.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1/part=2/srcbucket21.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_2/part=1/srcbucket21.txt, !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_2/part=2/srcbucket21.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1/part=2/srcbucket22.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_2/part=1/srcbucket22.txt, !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_2/part=2/srcbucket20.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1/part=2/srcbucket23.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_2/part=1/srcbucket23.txt, !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_2/part=2/srcbucket21.txt]}' -' Alias Bucket Output File Name Mapping:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1/part=1/srcbucket20.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1/part=1/srcbucket21.txt 1' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1/part=2/srcbucket20.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1/part=2/srcbucket21.txt 1' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1/part=2/srcbucket22.txt 2' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1/part=2/srcbucket23.txt 3' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1/part=1 [a]' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1/part=2 [a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1/part=1 ' -' Partition' -' base file name: part=1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' part 1' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' last_modified_by !!{user.name}!!' -' last_modified_time !!UNIXTIME!!' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1/part=1' -' name bucketmapjoin11.srcbucket_mapjoin_part_1' -' numFiles 2' -' numPartitions 2' -' numRows 0' -' partition_columns part' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' last_modified_by !!{user.name}!!' -' last_modified_time !!UNIXTIME!!' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1' -' name bucketmapjoin11.srcbucket_mapjoin_part_1' -' numFiles 6' -' numPartitions 2' -' numRows 0' -' partition_columns part' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 8562' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin11.srcbucket_mapjoin_part_1' -' name: bucketmapjoin11.srcbucket_mapjoin_part_1' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1/part=2 ' -' Partition' -' base file name: part=2' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' part 2' -' properties:' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' last_modified_by !!{user.name}!!' -' last_modified_time !!UNIXTIME!!' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1/part=2' -' name bucketmapjoin11.srcbucket_mapjoin_part_1' -' numFiles 4' -' numPartitions 2' -' numRows 0' -' partition_columns part' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' last_modified_by !!{user.name}!!' -' last_modified_time !!UNIXTIME!!' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1' -' name bucketmapjoin11.srcbucket_mapjoin_part_1' -' numFiles 6' -' numPartitions 2' -' numRows 0' -' partition_columns part' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 8562' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin11.srcbucket_mapjoin_part_1' -' name: bucketmapjoin11.srcbucket_mapjoin_part_1' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -269 rows selected ->>> ->>> SELECT /*+ MAPJOIN(b) */ count(*) -FROM srcbucket_mapjoin_part_1 a JOIN srcbucket_mapjoin_part_2 b -ON a.key = b.key AND a.part IS NOT NULL AND b.part IS NOT NULL; -'_c1' -'2420' -1 row selected ->>> ->>> EXPLAIN EXTENDED -SELECT /*+ MAPJOIN(b) */ count(*) -FROM srcbucket_mapjoin_part_1 a JOIN srcbucket_mapjoin_part_2 b -ON a.key = b.key AND a.part = b.part AND a.part IS NOT NULL AND b.part IS NOT NULL; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part_1) a) (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part_2) b) (AND (AND (AND (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL a) part) (. (TOK_TABLE_OR_COL b) part))) (TOK_FUNCTION TOK_ISNOTNULL (. (TOK_TABLE_OR_COL a) part))) (TOK_FUNCTION TOK_ISNOTNULL (. (TOK_TABLE_OR_COL b) part))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR (TOK_FUNCTIONSTAR count)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-4 is a root stage' -' Stage-1 depends on stages: Stage-4' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-4' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' b ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key], Column[part]]' -' 1 [Column[key], Column[part]]' -' Position of Big Table: 0' -' Bucket Mapjoin Context:' -' Alias Bucket Base File Name Mapping:' -' b {part=1/srcbucket20.txt=[part=1/srcbucket20.txt, part=1/srcbucket22.txt, part=2/srcbucket20.txt], part=1/srcbucket21.txt=[part=1/srcbucket21.txt, part=1/srcbucket23.txt, part=2/srcbucket21.txt], part=2/srcbucket20.txt=[part=1/srcbucket20.txt, part=2/srcbucket20.txt], part=2/srcbucket21.txt=[part=1/srcbucket21.txt, part=2/srcbucket21.txt], part=2/srcbucket22.txt=[part=1/srcbucket22.txt, part=2/srcbucket20.txt], part=2/srcbucket23.txt=[part=1/srcbucket23.txt, part=2/srcbucket21.txt]}' -' Alias Bucket File Name Mapping:' -' b {!!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1/part=1/srcbucket20.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_2/part=1/srcbucket20.txt, !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_2/part=1/srcbucket22.txt, !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_2/part=2/srcbucket20.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1/part=1/srcbucket21.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_2/part=1/srcbucket21.txt, !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_2/part=1/srcbucket23.txt, !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_2/part=2/srcbucket21.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1/part=2/srcbucket20.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_2/part=1/srcbucket20.txt, !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_2/part=2/srcbucket20.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1/part=2/srcbucket21.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_2/part=1/srcbucket21.txt, !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_2/part=2/srcbucket21.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1/part=2/srcbucket22.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_2/part=1/srcbucket22.txt, !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_2/part=2/srcbucket20.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1/part=2/srcbucket23.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_2/part=1/srcbucket23.txt, !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_2/part=2/srcbucket21.txt]}' -' Alias Bucket Output File Name Mapping:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1/part=1/srcbucket20.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1/part=1/srcbucket21.txt 1' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1/part=2/srcbucket20.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1/part=2/srcbucket21.txt 1' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1/part=2/srcbucket22.txt 2' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1/part=2/srcbucket23.txt 3' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key], Column[part]]' -' 1 [Column[key], Column[part]]' -' Position of Big Table: 0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1/part=1 [a]' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1/part=2 [a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1/part=1 ' -' Partition' -' base file name: part=1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' part 1' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' last_modified_by !!{user.name}!!' -' last_modified_time !!UNIXTIME!!' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1/part=1' -' name bucketmapjoin11.srcbucket_mapjoin_part_1' -' numFiles 2' -' numPartitions 2' -' numRows 0' -' partition_columns part' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' last_modified_by !!{user.name}!!' -' last_modified_time !!UNIXTIME!!' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1' -' name bucketmapjoin11.srcbucket_mapjoin_part_1' -' numFiles 6' -' numPartitions 2' -' numRows 0' -' partition_columns part' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 8562' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin11.srcbucket_mapjoin_part_1' -' name: bucketmapjoin11.srcbucket_mapjoin_part_1' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1/part=2 ' -' Partition' -' base file name: part=2' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' part 2' -' properties:' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' last_modified_by !!{user.name}!!' -' last_modified_time !!UNIXTIME!!' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1/part=2' -' name bucketmapjoin11.srcbucket_mapjoin_part_1' -' numFiles 4' -' numPartitions 2' -' numRows 0' -' partition_columns part' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' last_modified_by !!{user.name}!!' -' last_modified_time !!UNIXTIME!!' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin11.db/srcbucket_mapjoin_part_1' -' name bucketmapjoin11.srcbucket_mapjoin_part_1' -' numFiles 6' -' numPartitions 2' -' numRows 0' -' partition_columns part' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 8562' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin11.srcbucket_mapjoin_part_1' -' name: bucketmapjoin11.srcbucket_mapjoin_part_1' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -269 rows selected ->>> ->>> SELECT /*+ MAPJOIN(b) */ count(*) -FROM srcbucket_mapjoin_part_1 a JOIN srcbucket_mapjoin_part_2 b -ON a.key = b.key AND a.part = b.part AND a.part IS NOT NULL AND b.part IS NOT NULL; -'_c1' -'928' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/bucketmapjoin12.q.out ql/src/test/results/beelinepositive/bucketmapjoin12.q.out deleted file mode 100644 index f10eef2..0000000 --- ql/src/test/results/beelinepositive/bucketmapjoin12.q.out +++ /dev/null @@ -1,470 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/bucketmapjoin12.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/bucketmapjoin12.q ->>> set hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> ->>> CREATE TABLE srcbucket_mapjoin_part_1 (key INT, value STRING) PARTITIONED BY (part STRING) -CLUSTERED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket20.txt' INTO TABLE srcbucket_mapjoin_part_1 PARTITION (part='1'); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket21.txt' INTO TABLE srcbucket_mapjoin_part_1 PARTITION (part='1'); -No rows affected ->>> ->>> CREATE TABLE srcbucket_mapjoin_part_2 (key INT, value STRING) PARTITIONED BY (part STRING) -CLUSTERED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket20.txt' INTO TABLE srcbucket_mapjoin_part_2 PARTITION (part='1'); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket21.txt' INTO TABLE srcbucket_mapjoin_part_2 PARTITION (part='1'); -No rows affected ->>> ->>> ALTER TABLE srcbucket_mapjoin_part_2 NOT CLUSTERED; -No rows affected ->>> ->>> CREATE TABLE srcbucket_mapjoin_part_3 (key INT, value STRING) PARTITIONED BY (part STRING) -STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket20.txt' INTO TABLE srcbucket_mapjoin_part_3 PARTITION (part='1'); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket21.txt' INTO TABLE srcbucket_mapjoin_part_3 PARTITION (part='1'); -No rows affected ->>> ->>> ALTER TABLE srcbucket_mapjoin_part_3 CLUSTERED BY (key) INTO 2 BUCKETS; -No rows affected ->>> ->>> set hive.optimize.bucketmapjoin=true; -No rows affected ->>> ->>> -- The partition bucketing metadata match but one table is not bucketed, bucket map join should still be used ->>> ->>> EXPLAIN EXTENDED -SELECT /*+ MAPJOIN(b) */ count(*) -FROM srcbucket_mapjoin_part_1 a JOIN srcbucket_mapjoin_part_2 b -ON a.key = b.key AND a.part = '1' and b.part = '1'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part_1) a) (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part_2) b) (and (AND (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL a) part) '1')) (= (. (TOK_TABLE_OR_COL b) part) '1')))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR (TOK_FUNCTIONSTAR count)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-4 is a root stage' -' Stage-1 depends on stages: Stage-4' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-4' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' b ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -' Bucket Mapjoin Context:' -' Alias Bucket Base File Name Mapping:' -' b {part=1/srcbucket20.txt=[part=1/srcbucket20.txt], part=1/srcbucket21.txt=[part=1/srcbucket21.txt]}' -' Alias Bucket File Name Mapping:' -' b {!!{hive.metastore.warehouse.dir}!!/bucketmapjoin12.db/srcbucket_mapjoin_part_1/part=1/srcbucket20.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin12.db/srcbucket_mapjoin_part_2/part=1/srcbucket20.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin12.db/srcbucket_mapjoin_part_1/part=1/srcbucket21.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin12.db/srcbucket_mapjoin_part_2/part=1/srcbucket21.txt]}' -' Alias Bucket Output File Name Mapping:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin12.db/srcbucket_mapjoin_part_1/part=1/srcbucket20.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin12.db/srcbucket_mapjoin_part_1/part=1/srcbucket21.txt 1' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin12.db/srcbucket_mapjoin_part_1/part=1 [a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin12.db/srcbucket_mapjoin_part_1/part=1 ' -' Partition' -' base file name: part=1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' part 1' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin12.db/srcbucket_mapjoin_part_1/part=1' -' name bucketmapjoin12.srcbucket_mapjoin_part_1' -' numFiles 2' -' numPartitions 1' -' numRows 0' -' partition_columns part' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin12.db/srcbucket_mapjoin_part_1' -' name bucketmapjoin12.srcbucket_mapjoin_part_1' -' numFiles 2' -' numPartitions 1' -' numRows 0' -' partition_columns part' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin12.srcbucket_mapjoin_part_1' -' name: bucketmapjoin12.srcbucket_mapjoin_part_1' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -204 rows selected ->>> ->>> SELECT /*+ MAPJOIN(b) */ count(*) -FROM srcbucket_mapjoin_part_1 a JOIN srcbucket_mapjoin_part_2 b -ON a.key = b.key AND a.part = '1' and b.part = '1'; -'_c1' -'464' -1 row selected ->>> ->>> -- The table bucketing metadata match but one partition is not bucketed, bucket map join should not be used ->>> ->>> EXPLAIN EXTENDED -SELECT /*+ MAPJOIN(b) */ count(*) -FROM srcbucket_mapjoin_part_1 a JOIN srcbucket_mapjoin_part_3 b -ON a.key = b.key AND a.part = '1' and b.part = '1'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part_1) a) (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part_3) b) (and (AND (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL a) part) '1')) (= (. (TOK_TABLE_OR_COL b) part) '1')))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR (TOK_FUNCTIONSTAR count)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-4 is a root stage' -' Stage-1 depends on stages: Stage-4' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-4' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' b ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin12.db/srcbucket_mapjoin_part_1/part=1 [a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin12.db/srcbucket_mapjoin_part_1/part=1 ' -' Partition' -' base file name: part=1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' part 1' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin12.db/srcbucket_mapjoin_part_1/part=1' -' name bucketmapjoin12.srcbucket_mapjoin_part_1' -' numFiles 2' -' numPartitions 1' -' numRows 0' -' partition_columns part' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin12.db/srcbucket_mapjoin_part_1' -' name bucketmapjoin12.srcbucket_mapjoin_part_1' -' numFiles 2' -' numPartitions 1' -' numRows 0' -' partition_columns part' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin12.srcbucket_mapjoin_part_1' -' name: bucketmapjoin12.srcbucket_mapjoin_part_1' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -196 rows selected ->>> ->>> SELECT /*+ MAPJOIN(b) */ count(*) -FROM srcbucket_mapjoin_part_1 a JOIN srcbucket_mapjoin_part_3 b -ON a.key = b.key AND a.part = '1' and b.part = '1'; -'_c1' -'464' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/bucketmapjoin2.q.out ql/src/test/results/beelinepositive/bucketmapjoin2.q.out deleted file mode 100644 index 69b9751..0000000 --- ql/src/test/results/beelinepositive/bucketmapjoin2.q.out +++ /dev/null @@ -1,1331 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/bucketmapjoin2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/bucketmapjoin2.q ->>> CREATE TABLE srcbucket_mapjoin_part (key int, value string) partitioned by (ds string) CLUSTERED BY (key) INTO 4 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> load data local inpath '../data/files/srcbucket20.txt' INTO TABLE srcbucket_mapjoin_part partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcbucket21.txt' INTO TABLE srcbucket_mapjoin_part partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcbucket22.txt' INTO TABLE srcbucket_mapjoin_part partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcbucket23.txt' INTO TABLE srcbucket_mapjoin_part partition(ds='2008-04-08'); -No rows affected ->>> ->>> CREATE TABLE srcbucket_mapjoin_part_2 (key int, value string) partitioned by (ds string) CLUSTERED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> load data local inpath '../data/files/srcbucket22.txt' INTO TABLE srcbucket_mapjoin_part_2 partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcbucket23.txt' INTO TABLE srcbucket_mapjoin_part_2 partition(ds='2008-04-08'); -No rows affected ->>> ->>> create table bucketmapjoin_hash_result_1 (key bigint , value1 bigint, value2 bigint); -No rows affected ->>> create table bucketmapjoin_hash_result_2 (key bigint , value1 bigint, value2 bigint); -No rows affected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> create table bucketmapjoin_tmp_result (key string , value1 string, value2 string); -No rows affected ->>> ->>> explain extended -insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(b)*/ a.key, a.value, b.value -from srcbucket_mapjoin_part a join srcbucket_mapjoin_part_2 b -on a.key=b.key and b.ds="2008-04-08"; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part) a) (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part_2) b) (and (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL b) ds) "2008-04-08")))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME bucketmapjoin_tmp_result))) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-9 is a root stage' -' Stage-1 depends on stages: Stage-9' -' 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-9' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' b ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -' Bucket Mapjoin Context:' -' Alias Bucket Base File Name Mapping:' -' b {ds=2008-04-08/srcbucket20.txt=[ds=2008-04-08/srcbucket22.txt], ds=2008-04-08/srcbucket21.txt=[ds=2008-04-08/srcbucket23.txt], ds=2008-04-08/srcbucket22.txt=[ds=2008-04-08/srcbucket22.txt], ds=2008-04-08/srcbucket23.txt=[ds=2008-04-08/srcbucket23.txt]}' -' Alias Bucket File Name Mapping:' -' b {!!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket20.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part_2/ds=2008-04-08/srcbucket22.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket21.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part_2/ds=2008-04-08/srcbucket23.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket22.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part_2/ds=2008-04-08/srcbucket22.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket23.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part_2/ds=2008-04-08/srcbucket23.txt]}' -' Alias Bucket Output File Name Mapping:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket20.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket21.txt 1' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket22.txt 2' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket23.txt 3' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col6' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col6' -' type: string' -' outputColumnNames: _col0, _col1, _col6' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col6' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/bucketmapjoin_tmp_result' -' name bucketmapjoin2.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin2.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part/ds=2008-04-08 [a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part/ds=2008-04-08 ' -' Partition' -' base file name: ds=2008-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' properties:' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part/ds=2008-04-08' -' name bucketmapjoin2.srcbucket_mapjoin_part' -' numFiles 4' -' numPartitions 1' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part' -' name bucketmapjoin2.srcbucket_mapjoin_part' -' numFiles 4' -' numPartitions 1' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin2.srcbucket_mapjoin_part' -' name: bucketmapjoin2.srcbucket_mapjoin_part' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/bucketmapjoin_tmp_result' -' name bucketmapjoin2.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin2.bucketmapjoin_tmp_result' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/bucketmapjoin_tmp_result' -' name bucketmapjoin2.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin2.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/bucketmapjoin_tmp_result' -' name bucketmapjoin2.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/bucketmapjoin_tmp_result' -' name bucketmapjoin2.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin2.bucketmapjoin_tmp_result' -' name: bucketmapjoin2.bucketmapjoin_tmp_result' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/bucketmapjoin_tmp_result' -' name bucketmapjoin2.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin2.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/bucketmapjoin_tmp_result' -' name bucketmapjoin2.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/bucketmapjoin_tmp_result' -' name bucketmapjoin2.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin2.bucketmapjoin_tmp_result' -' name: bucketmapjoin2.bucketmapjoin_tmp_result' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -354 rows selected ->>> ->>> insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(b)*/ a.key, a.value, b.value -from srcbucket_mapjoin_part a join srcbucket_mapjoin_part_2 b -on a.key=b.key and b.ds="2008-04-08"; -'key','value','value' -No rows selected ->>> ->>> select count(1) from bucketmapjoin_tmp_result; -'_c0' -'564' -1 row selected ->>> insert overwrite table bucketmapjoin_hash_result_1 -select sum(hash(key)), sum(hash(value1)), sum(hash(value2)) from bucketmapjoin_tmp_result; -'_c0','_c1','_c2' -No rows selected ->>> ->>> ->>> set hive.optimize.bucketmapjoin = false; -No rows affected ->>> insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(b)*/ a.key, a.value, b.value -from srcbucket_mapjoin_part a join srcbucket_mapjoin_part_2 b -on a.key=b.key and b.ds="2008-04-08"; -'key','value','value' -No rows selected ->>> ->>> select count(1) from bucketmapjoin_tmp_result; -'_c0' -'564' -1 row selected ->>> insert overwrite table bucketmapjoin_hash_result_2 -select sum(hash(key)), sum(hash(value1)), sum(hash(value2)) from bucketmapjoin_tmp_result; -'_c0','_c1','_c2' -No rows selected ->>> ->>> select a.key-b.key, a.value1-b.value1, a.value2-b.value2 -from bucketmapjoin_hash_result_1 a left outer join bucketmapjoin_hash_result_2 b -on a.key = b.key; -'_c0','_c1','_c2' -'0','0','0' -1 row selected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> explain extended -insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(a)*/ a.key, a.value, b.value -from srcbucket_mapjoin_part a join srcbucket_mapjoin_part_2 b -on a.key=b.key and b.ds="2008-04-08"; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part) a) (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part_2) b) (and (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL b) ds) "2008-04-08")))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME bucketmapjoin_tmp_result))) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-9 is a root stage' -' Stage-1 depends on stages: Stage-9' -' 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-9' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' a ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -' Bucket Mapjoin Context:' -' Alias Bucket Base File Name Mapping:' -' a {ds=2008-04-08/srcbucket22.txt=[ds=2008-04-08/srcbucket20.txt, ds=2008-04-08/srcbucket22.txt], ds=2008-04-08/srcbucket23.txt=[ds=2008-04-08/srcbucket21.txt, ds=2008-04-08/srcbucket23.txt]}' -' Alias Bucket File Name Mapping:' -' a {!!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part_2/ds=2008-04-08/srcbucket22.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket20.txt, !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket22.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part_2/ds=2008-04-08/srcbucket23.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket21.txt, !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket23.txt]}' -' Alias Bucket Output File Name Mapping:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part_2/ds=2008-04-08/srcbucket22.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part_2/ds=2008-04-08/srcbucket23.txt 1' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col6' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col6' -' type: string' -' outputColumnNames: _col0, _col1, _col6' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col6' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/bucketmapjoin_tmp_result' -' name bucketmapjoin2.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 564' -' rawDataSize 10503' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11067' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin2.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part_2/ds=2008-04-08 [b]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part_2/ds=2008-04-08 ' -' Partition' -' base file name: ds=2008-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part_2/ds=2008-04-08' -' name bucketmapjoin2.srcbucket_mapjoin_part_2' -' numFiles 2' -' numPartitions 1' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part_2 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 3062' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part_2' -' name bucketmapjoin2.srcbucket_mapjoin_part_2' -' numFiles 2' -' numPartitions 1' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part_2 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 3062' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin2.srcbucket_mapjoin_part_2' -' name: bucketmapjoin2.srcbucket_mapjoin_part_2' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/bucketmapjoin_tmp_result' -' name bucketmapjoin2.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 564' -' rawDataSize 10503' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11067' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin2.bucketmapjoin_tmp_result' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/bucketmapjoin_tmp_result' -' name bucketmapjoin2.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 564' -' rawDataSize 10503' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11067' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin2.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/bucketmapjoin_tmp_result' -' name bucketmapjoin2.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 564' -' rawDataSize 10503' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11067' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/bucketmapjoin_tmp_result' -' name bucketmapjoin2.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 564' -' rawDataSize 10503' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11067' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin2.bucketmapjoin_tmp_result' -' name: bucketmapjoin2.bucketmapjoin_tmp_result' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/bucketmapjoin_tmp_result' -' name bucketmapjoin2.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 564' -' rawDataSize 10503' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11067' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin2.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/bucketmapjoin_tmp_result' -' name bucketmapjoin2.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 564' -' rawDataSize 10503' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11067' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/bucketmapjoin_tmp_result' -' name bucketmapjoin2.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 564' -' rawDataSize 10503' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11067' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin2.bucketmapjoin_tmp_result' -' name: bucketmapjoin2.bucketmapjoin_tmp_result' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -392 rows selected ->>> ->>> insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(a)*/ a.key, a.value, b.value -from srcbucket_mapjoin_part a join srcbucket_mapjoin_part_2 b -on a.key=b.key and b.ds="2008-04-08"; -'key','value','value' -No rows selected ->>> ->>> select count(1) from bucketmapjoin_tmp_result; -'_c0' -'564' -1 row selected ->>> insert overwrite table bucketmapjoin_hash_result_1 -select sum(hash(key)), sum(hash(value1)), sum(hash(value2)) from bucketmapjoin_tmp_result; -'_c0','_c1','_c2' -No rows selected ->>> ->>> ->>> set hive.optimize.bucketmapjoin = false; -No rows affected ->>> insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(a)*/ a.key, a.value, b.value -from srcbucket_mapjoin_part a join srcbucket_mapjoin_part_2 b -on a.key=b.key and b.ds="2008-04-08"; -'key','value','value' -No rows selected ->>> ->>> select count(1) from bucketmapjoin_tmp_result; -'_c0' -'564' -1 row selected ->>> insert overwrite table bucketmapjoin_hash_result_2 -select sum(hash(key)), sum(hash(value1)), sum(hash(value2)) from bucketmapjoin_tmp_result; -'_c0','_c1','_c2' -No rows selected ->>> ->>> select a.key-b.key, a.value1-b.value1, a.value2-b.value2 -from bucketmapjoin_hash_result_1 a left outer join bucketmapjoin_hash_result_2 b -on a.key = b.key; -'_c0','_c1','_c2' -'0','0','0' -1 row selected ->>> ->>> -- HIVE-3210 ->>> load data local inpath '../data/files/srcbucket22.txt' INTO TABLE srcbucket_mapjoin_part_2 partition(ds='2008-04-09'); -No rows affected ->>> load data local inpath '../data/files/srcbucket23.txt' INTO TABLE srcbucket_mapjoin_part_2 partition(ds='2008-04-09'); -No rows affected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> ->>> explain extended -insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(b)*/ a.key, a.value, b.value -from srcbucket_mapjoin_part a join srcbucket_mapjoin_part_2 b -on a.key=b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part) a) (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME bucketmapjoin_tmp_result))) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-9 is a root stage' -' Stage-1 depends on stages: Stage-9' -' 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-9' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' b ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -' Bucket Mapjoin Context:' -' Alias Bucket Base File Name Mapping:' -' b {ds=2008-04-08/srcbucket20.txt=[ds=2008-04-08/srcbucket22.txt, ds=2008-04-09/srcbucket22.txt], ds=2008-04-08/srcbucket21.txt=[ds=2008-04-08/srcbucket23.txt, ds=2008-04-09/srcbucket23.txt], ds=2008-04-08/srcbucket22.txt=[ds=2008-04-08/srcbucket22.txt, ds=2008-04-09/srcbucket22.txt], ds=2008-04-08/srcbucket23.txt=[ds=2008-04-08/srcbucket23.txt, ds=2008-04-09/srcbucket23.txt]}' -' Alias Bucket File Name Mapping:' -' b {!!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket20.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part_2/ds=2008-04-08/srcbucket22.txt, !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part_2/ds=2008-04-09/srcbucket22.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket21.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part_2/ds=2008-04-08/srcbucket23.txt, !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part_2/ds=2008-04-09/srcbucket23.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket22.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part_2/ds=2008-04-08/srcbucket22.txt, !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part_2/ds=2008-04-09/srcbucket22.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket23.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part_2/ds=2008-04-08/srcbucket23.txt, !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part_2/ds=2008-04-09/srcbucket23.txt]}' -' Alias Bucket Output File Name Mapping:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket20.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket21.txt 1' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket22.txt 2' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket23.txt 3' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col6' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col6' -' type: string' -' outputColumnNames: _col0, _col1, _col6' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col6' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/bucketmapjoin_tmp_result' -' name bucketmapjoin2.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 564' -' rawDataSize 10503' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11067' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin2.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part/ds=2008-04-08 [a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part/ds=2008-04-08 ' -' Partition' -' base file name: ds=2008-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' properties:' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part/ds=2008-04-08' -' name bucketmapjoin2.srcbucket_mapjoin_part' -' numFiles 4' -' numPartitions 1' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/srcbucket_mapjoin_part' -' name bucketmapjoin2.srcbucket_mapjoin_part' -' numFiles 4' -' numPartitions 1' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin2.srcbucket_mapjoin_part' -' name: bucketmapjoin2.srcbucket_mapjoin_part' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/bucketmapjoin_tmp_result' -' name bucketmapjoin2.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 564' -' rawDataSize 10503' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11067' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin2.bucketmapjoin_tmp_result' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/bucketmapjoin_tmp_result' -' name bucketmapjoin2.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 564' -' rawDataSize 10503' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11067' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin2.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/bucketmapjoin_tmp_result' -' name bucketmapjoin2.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 564' -' rawDataSize 10503' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11067' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/bucketmapjoin_tmp_result' -' name bucketmapjoin2.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 564' -' rawDataSize 10503' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11067' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin2.bucketmapjoin_tmp_result' -' name: bucketmapjoin2.bucketmapjoin_tmp_result' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/bucketmapjoin_tmp_result' -' name bucketmapjoin2.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 564' -' rawDataSize 10503' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11067' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin2.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/bucketmapjoin_tmp_result' -' name bucketmapjoin2.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 564' -' rawDataSize 10503' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11067' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin2.db/bucketmapjoin_tmp_result' -' name bucketmapjoin2.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 564' -' rawDataSize 10503' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11067' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin2.bucketmapjoin_tmp_result' -' name: bucketmapjoin2.bucketmapjoin_tmp_result' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -394 rows selected ->>> ->>> insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(b)*/ a.key, a.value, b.value -from srcbucket_mapjoin_part a join srcbucket_mapjoin_part_2 b -on a.key=b.key; -'key','value','value' -No rows selected ->>> ->>> select count(1) from bucketmapjoin_tmp_result; -'_c0' -'1128' -1 row selected ->>> insert overwrite table bucketmapjoin_hash_result_1 -select sum(hash(key)), sum(hash(value1)), sum(hash(value2)) from bucketmapjoin_tmp_result; -'_c0','_c1','_c2' -No rows selected ->>> ->>> set hive.optimize.bucketmapjoin = false; -No rows affected ->>> ->>> insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(b)*/ a.key, a.value, b.value -from srcbucket_mapjoin_part a join srcbucket_mapjoin_part_2 b -on a.key=b.key; -'key','value','value' -No rows selected ->>> ->>> select count(1) from bucketmapjoin_tmp_result; -'_c0' -'1128' -1 row selected ->>> insert overwrite table bucketmapjoin_hash_result_2 -select sum(hash(key)), sum(hash(value1)), sum(hash(value2)) from bucketmapjoin_tmp_result; -'_c0','_c1','_c2' -No rows selected ->>> ->>> select a.key-b.key, a.value1-b.value1, a.value2-b.value2 -from bucketmapjoin_hash_result_1 a left outer join bucketmapjoin_hash_result_2 b -on a.key = b.key; -'_c0','_c1','_c2' -'0','0','0' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/bucketmapjoin3.q.out ql/src/test/results/beelinepositive/bucketmapjoin3.q.out deleted file mode 100644 index 7efb109..0000000 --- ql/src/test/results/beelinepositive/bucketmapjoin3.q.out +++ /dev/null @@ -1,883 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/bucketmapjoin3.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/bucketmapjoin3.q ->>> CREATE TABLE srcbucket_mapjoin(key int, value string) CLUSTERED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> load data local inpath '../data/files/srcbucket20.txt' INTO TABLE srcbucket_mapjoin; -No rows affected ->>> load data local inpath '../data/files/srcbucket21.txt' INTO TABLE srcbucket_mapjoin; -No rows affected ->>> ->>> CREATE TABLE srcbucket_mapjoin_part (key int, value string) partitioned by (ds string) CLUSTERED BY (key) INTO 4 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> load data local inpath '../data/files/srcbucket20.txt' INTO TABLE srcbucket_mapjoin_part partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcbucket21.txt' INTO TABLE srcbucket_mapjoin_part partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcbucket22.txt' INTO TABLE srcbucket_mapjoin_part partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcbucket23.txt' INTO TABLE srcbucket_mapjoin_part partition(ds='2008-04-08'); -No rows affected ->>> ->>> CREATE TABLE srcbucket_mapjoin_part_2 (key int, value string) partitioned by (ds string) CLUSTERED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> load data local inpath '../data/files/srcbucket22.txt' INTO TABLE srcbucket_mapjoin_part_2 partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcbucket23.txt' INTO TABLE srcbucket_mapjoin_part_2 partition(ds='2008-04-08'); -No rows affected ->>> ->>> create table bucketmapjoin_hash_result_1 (key bigint , value1 bigint, value2 bigint); -No rows affected ->>> create table bucketmapjoin_hash_result_2 (key bigint , value1 bigint, value2 bigint); -No rows affected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> create table bucketmapjoin_tmp_result (key string , value1 string, value2 string); -No rows affected ->>> ->>> explain extended -insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(b)*/ a.key, a.value, b.value -from srcbucket_mapjoin_part_2 a join srcbucket_mapjoin_part b -on a.key=b.key and b.ds="2008-04-08" and a.ds="2008-04-08"; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part_2) a) (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part) b) (and (and (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL b) ds) "2008-04-08")) (= (. (TOK_TABLE_OR_COL a) ds) "2008-04-08")))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME bucketmapjoin_tmp_result))) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-9 is a root stage' -' Stage-1 depends on stages: Stage-9' -' 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-9' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' b ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -' Bucket Mapjoin Context:' -' Alias Bucket Base File Name Mapping:' -' b {ds=2008-04-08/srcbucket22.txt=[ds=2008-04-08/srcbucket20.txt, ds=2008-04-08/srcbucket22.txt], ds=2008-04-08/srcbucket23.txt=[ds=2008-04-08/srcbucket21.txt, ds=2008-04-08/srcbucket23.txt]}' -' Alias Bucket File Name Mapping:' -' b {!!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/srcbucket_mapjoin_part_2/ds=2008-04-08/srcbucket22.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket20.txt, !!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket22.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/srcbucket_mapjoin_part_2/ds=2008-04-08/srcbucket23.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket21.txt, !!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket23.txt]}' -' Alias Bucket Output File Name Mapping:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/srcbucket_mapjoin_part_2/ds=2008-04-08/srcbucket22.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/srcbucket_mapjoin_part_2/ds=2008-04-08/srcbucket23.txt 1' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col6' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col6' -' type: string' -' outputColumnNames: _col0, _col1, _col6' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col6' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/bucketmapjoin_tmp_result' -' name bucketmapjoin3.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin3.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/srcbucket_mapjoin_part_2/ds=2008-04-08 [a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/srcbucket_mapjoin_part_2/ds=2008-04-08 ' -' Partition' -' base file name: ds=2008-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/srcbucket_mapjoin_part_2/ds=2008-04-08' -' name bucketmapjoin3.srcbucket_mapjoin_part_2' -' numFiles 2' -' numPartitions 1' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part_2 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 3062' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/srcbucket_mapjoin_part_2' -' name bucketmapjoin3.srcbucket_mapjoin_part_2' -' numFiles 2' -' numPartitions 1' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part_2 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 3062' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin3.srcbucket_mapjoin_part_2' -' name: bucketmapjoin3.srcbucket_mapjoin_part_2' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/bucketmapjoin_tmp_result' -' name bucketmapjoin3.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin3.bucketmapjoin_tmp_result' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/bucketmapjoin_tmp_result' -' name bucketmapjoin3.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin3.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/bucketmapjoin_tmp_result' -' name bucketmapjoin3.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/bucketmapjoin_tmp_result' -' name bucketmapjoin3.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin3.bucketmapjoin_tmp_result' -' name: bucketmapjoin3.bucketmapjoin_tmp_result' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/bucketmapjoin_tmp_result' -' name bucketmapjoin3.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin3.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/bucketmapjoin_tmp_result' -' name bucketmapjoin3.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/bucketmapjoin_tmp_result' -' name bucketmapjoin3.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin3.bucketmapjoin_tmp_result' -' name: bucketmapjoin3.bucketmapjoin_tmp_result' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -352 rows selected ->>> ->>> insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(b)*/ a.key, a.value, b.value -from srcbucket_mapjoin_part_2 a join srcbucket_mapjoin_part b -on a.key=b.key and b.ds="2008-04-08" and a.ds="2008-04-08"; -'key','value','value' -No rows selected ->>> ->>> select count(1) from bucketmapjoin_tmp_result; -'_c0' -'564' -1 row selected ->>> insert overwrite table bucketmapjoin_hash_result_1 -select sum(hash(key)), sum(hash(value1)), sum(hash(value2)) from bucketmapjoin_tmp_result; -'_c0','_c1','_c2' -No rows selected ->>> ->>> set hive.optimize.bucketmapjoin = false; -No rows affected ->>> insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(b)*/ a.key, a.value, b.value -from srcbucket_mapjoin_part_2 a join srcbucket_mapjoin_part b -on a.key=b.key and b.ds="2008-04-08" and a.ds="2008-04-08"; -'key','value','value' -No rows selected ->>> ->>> select count(1) from bucketmapjoin_tmp_result; -'_c0' -'564' -1 row selected ->>> insert overwrite table bucketmapjoin_hash_result_2 -select sum(hash(key)), sum(hash(value1)), sum(hash(value2)) from bucketmapjoin_tmp_result; -'_c0','_c1','_c2' -No rows selected ->>> ->>> select a.key-b.key, a.value1-b.value1, a.value2-b.value2 -from bucketmapjoin_hash_result_1 a left outer join bucketmapjoin_hash_result_2 b -on a.key = b.key; -'_c0','_c1','_c2' -'0','0','0' -1 row selected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> explain extended -insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(a)*/ a.key, a.value, b.value -from srcbucket_mapjoin_part_2 a join srcbucket_mapjoin_part b -on a.key=b.key and b.ds="2008-04-08" and a.ds="2008-04-08"; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part_2) a) (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part) b) (and (and (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL b) ds) "2008-04-08")) (= (. (TOK_TABLE_OR_COL a) ds) "2008-04-08")))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME bucketmapjoin_tmp_result))) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-9 is a root stage' -' Stage-1 depends on stages: Stage-9' -' 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-9' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' a ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -' Bucket Mapjoin Context:' -' Alias Bucket Base File Name Mapping:' -' a {ds=2008-04-08/srcbucket20.txt=[ds=2008-04-08/srcbucket22.txt], ds=2008-04-08/srcbucket21.txt=[ds=2008-04-08/srcbucket23.txt], ds=2008-04-08/srcbucket22.txt=[ds=2008-04-08/srcbucket22.txt], ds=2008-04-08/srcbucket23.txt=[ds=2008-04-08/srcbucket23.txt]}' -' Alias Bucket File Name Mapping:' -' a {!!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket20.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/srcbucket_mapjoin_part_2/ds=2008-04-08/srcbucket22.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket21.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/srcbucket_mapjoin_part_2/ds=2008-04-08/srcbucket23.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket22.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/srcbucket_mapjoin_part_2/ds=2008-04-08/srcbucket22.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket23.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/srcbucket_mapjoin_part_2/ds=2008-04-08/srcbucket23.txt]}' -' Alias Bucket Output File Name Mapping:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket20.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket21.txt 1' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket22.txt 2' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket23.txt 3' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col6' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col6' -' type: string' -' outputColumnNames: _col0, _col1, _col6' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col6' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/bucketmapjoin_tmp_result' -' name bucketmapjoin3.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 564' -' rawDataSize 10503' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11067' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin3.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/srcbucket_mapjoin_part/ds=2008-04-08 [b]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/srcbucket_mapjoin_part/ds=2008-04-08 ' -' Partition' -' base file name: ds=2008-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' properties:' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/srcbucket_mapjoin_part/ds=2008-04-08' -' name bucketmapjoin3.srcbucket_mapjoin_part' -' numFiles 4' -' numPartitions 1' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/srcbucket_mapjoin_part' -' name bucketmapjoin3.srcbucket_mapjoin_part' -' numFiles 4' -' numPartitions 1' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin3.srcbucket_mapjoin_part' -' name: bucketmapjoin3.srcbucket_mapjoin_part' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/bucketmapjoin_tmp_result' -' name bucketmapjoin3.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 564' -' rawDataSize 10503' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11067' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin3.bucketmapjoin_tmp_result' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/bucketmapjoin_tmp_result' -' name bucketmapjoin3.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 564' -' rawDataSize 10503' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11067' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin3.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/bucketmapjoin_tmp_result' -' name bucketmapjoin3.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 564' -' rawDataSize 10503' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11067' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/bucketmapjoin_tmp_result' -' name bucketmapjoin3.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 564' -' rawDataSize 10503' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11067' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin3.bucketmapjoin_tmp_result' -' name: bucketmapjoin3.bucketmapjoin_tmp_result' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/bucketmapjoin_tmp_result' -' name bucketmapjoin3.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 564' -' rawDataSize 10503' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11067' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin3.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/bucketmapjoin_tmp_result' -' name bucketmapjoin3.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 564' -' rawDataSize 10503' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11067' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin3.db/bucketmapjoin_tmp_result' -' name bucketmapjoin3.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 564' -' rawDataSize 10503' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11067' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin3.bucketmapjoin_tmp_result' -' name: bucketmapjoin3.bucketmapjoin_tmp_result' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -394 rows selected ->>> ->>> insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(a)*/ a.key, a.value, b.value -from srcbucket_mapjoin_part_2 a join srcbucket_mapjoin_part b -on a.key=b.key and b.ds="2008-04-08" and a.ds="2008-04-08"; -'key','value','value' -No rows selected ->>> ->>> select count(1) from bucketmapjoin_tmp_result; -'_c0' -'564' -1 row selected ->>> insert overwrite table bucketmapjoin_hash_result_2 -select sum(hash(key)), sum(hash(value1)), sum(hash(value2)) from bucketmapjoin_tmp_result; -'_c0','_c1','_c2' -No rows selected ->>> ->>> set hive.optimize.bucketmapjoin = false; -No rows affected ->>> insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(a)*/ a.key, a.value, b.value -from srcbucket_mapjoin_part_2 a join srcbucket_mapjoin_part b -on a.key=b.key and b.ds="2008-04-08" and a.ds="2008-04-08"; -'key','value','value' -No rows selected ->>> ->>> select count(1) from bucketmapjoin_tmp_result; -'_c0' -'564' -1 row selected ->>> insert overwrite table bucketmapjoin_hash_result_2 -select sum(hash(key)), sum(hash(value1)), sum(hash(value2)) from bucketmapjoin_tmp_result; -'_c0','_c1','_c2' -No rows selected ->>> ->>> select a.key-b.key, a.value1-b.value1, a.value2-b.value2 -from bucketmapjoin_hash_result_1 a left outer join bucketmapjoin_hash_result_2 b -on a.key = b.key; -'_c0','_c1','_c2' -'0','0','0' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/bucketmapjoin4.q.out ql/src/test/results/beelinepositive/bucketmapjoin4.q.out deleted file mode 100644 index 5ea2399..0000000 --- ql/src/test/results/beelinepositive/bucketmapjoin4.q.out +++ /dev/null @@ -1,876 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/bucketmapjoin4.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/bucketmapjoin4.q ->>> set hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> CREATE TABLE srcbucket_mapjoin(key int, value string) CLUSTERED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> load data local inpath '../data/files/srcbucket20.txt' INTO TABLE srcbucket_mapjoin; -No rows affected ->>> load data local inpath '../data/files/srcbucket21.txt' INTO TABLE srcbucket_mapjoin; -No rows affected ->>> ->>> CREATE TABLE srcbucket_mapjoin_part (key int, value string) partitioned by (ds string) CLUSTERED BY (key) INTO 4 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> load data local inpath '../data/files/srcbucket20.txt' INTO TABLE srcbucket_mapjoin_part partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcbucket21.txt' INTO TABLE srcbucket_mapjoin_part partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcbucket22.txt' INTO TABLE srcbucket_mapjoin_part partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcbucket23.txt' INTO TABLE srcbucket_mapjoin_part partition(ds='2008-04-08'); -No rows affected ->>> ->>> CREATE TABLE srcbucket_mapjoin_part_2 (key int, value string) partitioned by (ds string) CLUSTERED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> load data local inpath '../data/files/srcbucket22.txt' INTO TABLE srcbucket_mapjoin_part_2 partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcbucket23.txt' INTO TABLE srcbucket_mapjoin_part_2 partition(ds='2008-04-08'); -No rows affected ->>> ->>> create table bucketmapjoin_hash_result_1 (key bigint , value1 bigint, value2 bigint); -No rows affected ->>> create table bucketmapjoin_hash_result_2 (key bigint , value1 bigint, value2 bigint); -No rows affected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> create table bucketmapjoin_tmp_result (key string , value1 string, value2 string); -No rows affected ->>> ->>> explain extended -insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(b)*/ a.key, a.value, b.value -from srcbucket_mapjoin a join srcbucket_mapjoin b -on a.key=b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin) a) (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME bucketmapjoin_tmp_result))) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-9 is a root stage' -' Stage-1 depends on stages: Stage-9' -' 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-9' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' b ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -' Bucket Mapjoin Context:' -' Alias Bucket Base File Name Mapping:' -' b {srcbucket20.txt=[srcbucket20.txt], srcbucket21.txt=[srcbucket21.txt]}' -' Alias Bucket File Name Mapping:' -' b {!!{hive.metastore.warehouse.dir}!!/bucketmapjoin4.db/srcbucket_mapjoin/srcbucket20.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin4.db/srcbucket_mapjoin/srcbucket20.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin4.db/srcbucket_mapjoin/srcbucket21.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin4.db/srcbucket_mapjoin/srcbucket21.txt]}' -' Alias Bucket Output File Name Mapping:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin4.db/srcbucket_mapjoin/srcbucket20.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin4.db/srcbucket_mapjoin/srcbucket21.txt 1' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin4.db/bucketmapjoin_tmp_result' -' name bucketmapjoin4.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin4.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin4.db/srcbucket_mapjoin [a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin4.db/srcbucket_mapjoin ' -' Partition' -' base file name: srcbucket_mapjoin' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin4.db/srcbucket_mapjoin' -' name bucketmapjoin4.srcbucket_mapjoin' -' numFiles 2' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin4.db/srcbucket_mapjoin' -' name bucketmapjoin4.srcbucket_mapjoin' -' numFiles 2' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin4.srcbucket_mapjoin' -' name: bucketmapjoin4.srcbucket_mapjoin' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin4.db/bucketmapjoin_tmp_result' -' name bucketmapjoin4.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin4.bucketmapjoin_tmp_result' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin4.db/bucketmapjoin_tmp_result' -' name bucketmapjoin4.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin4.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin4.db/bucketmapjoin_tmp_result' -' name bucketmapjoin4.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin4.db/bucketmapjoin_tmp_result' -' name bucketmapjoin4.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin4.bucketmapjoin_tmp_result' -' name: bucketmapjoin4.bucketmapjoin_tmp_result' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin4.db/bucketmapjoin_tmp_result' -' name bucketmapjoin4.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin4.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin4.db/bucketmapjoin_tmp_result' -' name bucketmapjoin4.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin4.db/bucketmapjoin_tmp_result' -' name bucketmapjoin4.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin4.bucketmapjoin_tmp_result' -' name: bucketmapjoin4.bucketmapjoin_tmp_result' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -348 rows selected ->>> ->>> insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(b)*/ a.key, a.value, b.value -from srcbucket_mapjoin a join srcbucket_mapjoin b -on a.key=b.key; -'key','value','value' -No rows selected ->>> ->>> select count(1) from bucketmapjoin_tmp_result; -'_c0' -'464' -1 row selected ->>> insert overwrite table bucketmapjoin_hash_result_1 -select sum(hash(key)), sum(hash(value1)), sum(hash(value2)) from bucketmapjoin_tmp_result; -'_c0','_c1','_c2' -No rows selected ->>> ->>> set hive.optimize.bucketmapjoin = false; -No rows affected ->>> insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(b)*/ a.key, a.value, b.value -from srcbucket_mapjoin a join srcbucket_mapjoin b -on a.key=b.key; -'key','value','value' -No rows selected ->>> ->>> select count(1) from bucketmapjoin_tmp_result; -'_c0' -'464' -1 row selected ->>> insert overwrite table bucketmapjoin_hash_result_2 -select sum(hash(key)), sum(hash(value1)), sum(hash(value2)) from bucketmapjoin_tmp_result; -'_c0','_c1','_c2' -No rows selected ->>> ->>> select a.key-b.key, a.value1-b.value1, a.value2-b.value2 -from bucketmapjoin_hash_result_1 a left outer join bucketmapjoin_hash_result_2 b -on a.key = b.key; -'_c0','_c1','_c2' -'0','0','0' -1 row selected ->>> ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> explain extended -insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(a)*/ a.key, a.value, b.value -from srcbucket_mapjoin a join srcbucket_mapjoin b -on a.key=b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin) a) (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME bucketmapjoin_tmp_result))) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-9 is a root stage' -' Stage-1 depends on stages: Stage-9' -' 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-9' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' a ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -' Bucket Mapjoin Context:' -' Alias Bucket Base File Name Mapping:' -' a {srcbucket20.txt=[srcbucket20.txt], srcbucket21.txt=[srcbucket21.txt]}' -' Alias Bucket File Name Mapping:' -' a {!!{hive.metastore.warehouse.dir}!!/bucketmapjoin4.db/srcbucket_mapjoin/srcbucket20.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin4.db/srcbucket_mapjoin/srcbucket20.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin4.db/srcbucket_mapjoin/srcbucket21.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin4.db/srcbucket_mapjoin/srcbucket21.txt]}' -' Alias Bucket Output File Name Mapping:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin4.db/srcbucket_mapjoin/srcbucket20.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin4.db/srcbucket_mapjoin/srcbucket21.txt 1' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col5' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin4.db/bucketmapjoin_tmp_result' -' name bucketmapjoin4.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 464' -' rawDataSize 8519' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 8983' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin4.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin4.db/srcbucket_mapjoin [b]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin4.db/srcbucket_mapjoin ' -' Partition' -' base file name: srcbucket_mapjoin' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin4.db/srcbucket_mapjoin' -' name bucketmapjoin4.srcbucket_mapjoin' -' numFiles 2' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin4.db/srcbucket_mapjoin' -' name bucketmapjoin4.srcbucket_mapjoin' -' numFiles 2' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin4.srcbucket_mapjoin' -' name: bucketmapjoin4.srcbucket_mapjoin' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin4.db/bucketmapjoin_tmp_result' -' name bucketmapjoin4.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 464' -' rawDataSize 8519' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 8983' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin4.bucketmapjoin_tmp_result' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin4.db/bucketmapjoin_tmp_result' -' name bucketmapjoin4.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 464' -' rawDataSize 8519' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 8983' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin4.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin4.db/bucketmapjoin_tmp_result' -' name bucketmapjoin4.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 464' -' rawDataSize 8519' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 8983' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin4.db/bucketmapjoin_tmp_result' -' name bucketmapjoin4.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 464' -' rawDataSize 8519' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 8983' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin4.bucketmapjoin_tmp_result' -' name: bucketmapjoin4.bucketmapjoin_tmp_result' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin4.db/bucketmapjoin_tmp_result' -' name bucketmapjoin4.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 464' -' rawDataSize 8519' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 8983' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin4.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin4.db/bucketmapjoin_tmp_result' -' name bucketmapjoin4.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 464' -' rawDataSize 8519' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 8983' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin4.db/bucketmapjoin_tmp_result' -' name bucketmapjoin4.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 464' -' rawDataSize 8519' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 8983' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin4.bucketmapjoin_tmp_result' -' name: bucketmapjoin4.bucketmapjoin_tmp_result' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -388 rows selected ->>> ->>> insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(a)*/ a.key, a.value, b.value -from srcbucket_mapjoin a join srcbucket_mapjoin b -on a.key=b.key; -'key','value','value' -No rows selected ->>> ->>> select count(1) from bucketmapjoin_tmp_result; -'_c0' -'464' -1 row selected ->>> insert overwrite table bucketmapjoin_hash_result_1 -select sum(hash(key)), sum(hash(value1)), sum(hash(value2)) from bucketmapjoin_tmp_result; -'_c0','_c1','_c2' -No rows selected ->>> ->>> set hive.optimize.bucketmapjoin = false; -No rows affected ->>> insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(a)*/ a.key, a.value, b.value -from srcbucket_mapjoin a join srcbucket_mapjoin b -on a.key=b.key; -'key','value','value' -No rows selected ->>> ->>> select count(1) from bucketmapjoin_tmp_result; -'_c0' -'464' -1 row selected ->>> insert overwrite table bucketmapjoin_hash_result_2 -select sum(hash(key)), sum(hash(value1)), sum(hash(value2)) from bucketmapjoin_tmp_result; -'_c0','_c1','_c2' -No rows selected ->>> ->>> select a.key-b.key, a.value1-b.value1, a.value2-b.value2 -from bucketmapjoin_hash_result_1 a left outer join bucketmapjoin_hash_result_2 b -on a.key = b.key; -'_c0','_c1','_c2' -'0','0','0' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/bucketmapjoin5.q.out ql/src/test/results/beelinepositive/bucketmapjoin5.q.out deleted file mode 100644 index 04ae695..0000000 --- ql/src/test/results/beelinepositive/bucketmapjoin5.q.out +++ /dev/null @@ -1,1008 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/bucketmapjoin5.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/bucketmapjoin5.q ->>> CREATE TABLE srcbucket_mapjoin(key int, value string) CLUSTERED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> load data local inpath '../data/files/srcbucket20.txt' INTO TABLE srcbucket_mapjoin; -No rows affected ->>> load data local inpath '../data/files/srcbucket21.txt' INTO TABLE srcbucket_mapjoin; -No rows affected ->>> ->>> CREATE TABLE srcbucket_mapjoin_part (key int, value string) partitioned by (ds string) CLUSTERED BY (key) INTO 4 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> load data local inpath '../data/files/srcbucket20.txt' INTO TABLE srcbucket_mapjoin_part partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcbucket21.txt' INTO TABLE srcbucket_mapjoin_part partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcbucket22.txt' INTO TABLE srcbucket_mapjoin_part partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcbucket23.txt' INTO TABLE srcbucket_mapjoin_part partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcbucket20.txt' INTO TABLE srcbucket_mapjoin_part partition(ds='2008-04-09'); -No rows affected ->>> load data local inpath '../data/files/srcbucket21.txt' INTO TABLE srcbucket_mapjoin_part partition(ds='2008-04-09'); -No rows affected ->>> load data local inpath '../data/files/srcbucket22.txt' INTO TABLE srcbucket_mapjoin_part partition(ds='2008-04-09'); -No rows affected ->>> load data local inpath '../data/files/srcbucket23.txt' INTO TABLE srcbucket_mapjoin_part partition(ds='2008-04-09'); -No rows affected ->>> ->>> CREATE TABLE srcbucket_mapjoin_part_2 (key int, value string) partitioned by (ds string) CLUSTERED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> load data local inpath '../data/files/srcbucket22.txt' INTO TABLE srcbucket_mapjoin_part_2 partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcbucket23.txt' INTO TABLE srcbucket_mapjoin_part_2 partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcbucket22.txt' INTO TABLE srcbucket_mapjoin_part_2 partition(ds='2008-04-09'); -No rows affected ->>> load data local inpath '../data/files/srcbucket23.txt' INTO TABLE srcbucket_mapjoin_part_2 partition(ds='2008-04-09'); -No rows affected ->>> ->>> create table bucketmapjoin_hash_result_1 (key bigint , value1 bigint, value2 bigint); -No rows affected ->>> create table bucketmapjoin_hash_result_2 (key bigint , value1 bigint, value2 bigint); -No rows affected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> create table bucketmapjoin_tmp_result (key string , value1 string, value2 string); -No rows affected ->>> ->>> explain extended -insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(a)*/ a.key, a.value, b.value -from srcbucket_mapjoin a join srcbucket_mapjoin_part b -on a.key=b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin) a) (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME bucketmapjoin_tmp_result))) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-9 is a root stage' -' Stage-1 depends on stages: Stage-9' -' 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-9' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' a ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -' Bucket Mapjoin Context:' -' Alias Bucket Base File Name Mapping:' -' a {ds=2008-04-08/srcbucket20.txt=[srcbucket20.txt], ds=2008-04-08/srcbucket21.txt=[srcbucket21.txt], ds=2008-04-08/srcbucket22.txt=[srcbucket20.txt], ds=2008-04-08/srcbucket23.txt=[srcbucket21.txt], ds=2008-04-09/srcbucket20.txt=[srcbucket20.txt], ds=2008-04-09/srcbucket21.txt=[srcbucket21.txt], ds=2008-04-09/srcbucket22.txt=[srcbucket20.txt], ds=2008-04-09/srcbucket23.txt=[srcbucket21.txt]}' -' Alias Bucket File Name Mapping:' -' a {!!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket20.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin/srcbucket20.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket21.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin/srcbucket21.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket22.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin/srcbucket20.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket23.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin/srcbucket21.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part/ds=2008-04-09/srcbucket20.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin/srcbucket20.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part/ds=2008-04-09/srcbucket21.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin/srcbucket21.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part/ds=2008-04-09/srcbucket22.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin/srcbucket20.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part/ds=2008-04-09/srcbucket23.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin/srcbucket21.txt]}' -' Alias Bucket Output File Name Mapping:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket20.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket21.txt 1' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket22.txt 2' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket23.txt 3' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part/ds=2008-04-09/srcbucket20.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part/ds=2008-04-09/srcbucket21.txt 1' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part/ds=2008-04-09/srcbucket22.txt 2' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part/ds=2008-04-09/srcbucket23.txt 3' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col5' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/bucketmapjoin_tmp_result' -' name bucketmapjoin5.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin5.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part/ds=2008-04-08 [b]' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part/ds=2008-04-09 [b]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part/ds=2008-04-08 ' -' Partition' -' base file name: ds=2008-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' properties:' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part/ds=2008-04-08' -' name bucketmapjoin5.srcbucket_mapjoin_part' -' numFiles 4' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part' -' name bucketmapjoin5.srcbucket_mapjoin_part' -' numFiles 8' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11624' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin5.srcbucket_mapjoin_part' -' name: bucketmapjoin5.srcbucket_mapjoin_part' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part/ds=2008-04-09 ' -' Partition' -' base file name: ds=2008-04-09' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-09' -' properties:' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part/ds=2008-04-09' -' name bucketmapjoin5.srcbucket_mapjoin_part' -' numFiles 4' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part' -' name bucketmapjoin5.srcbucket_mapjoin_part' -' numFiles 8' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11624' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin5.srcbucket_mapjoin_part' -' name: bucketmapjoin5.srcbucket_mapjoin_part' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/bucketmapjoin_tmp_result' -' name bucketmapjoin5.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin5.bucketmapjoin_tmp_result' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/bucketmapjoin_tmp_result' -' name bucketmapjoin5.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin5.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/bucketmapjoin_tmp_result' -' name bucketmapjoin5.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/bucketmapjoin_tmp_result' -' name bucketmapjoin5.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin5.bucketmapjoin_tmp_result' -' name: bucketmapjoin5.bucketmapjoin_tmp_result' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/bucketmapjoin_tmp_result' -' name bucketmapjoin5.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin5.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/bucketmapjoin_tmp_result' -' name bucketmapjoin5.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/bucketmapjoin_tmp_result' -' name bucketmapjoin5.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin5.bucketmapjoin_tmp_result' -' name: bucketmapjoin5.bucketmapjoin_tmp_result' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -411 rows selected ->>> ->>> insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(a)*/ a.key, a.value, b.value -from srcbucket_mapjoin a join srcbucket_mapjoin_part b -on a.key=b.key; -'key','value','value' -No rows selected ->>> ->>> select count(1) from bucketmapjoin_tmp_result; -'_c0' -'928' -1 row selected ->>> insert overwrite table bucketmapjoin_hash_result_1 -select sum(hash(key)), sum(hash(value1)), sum(hash(value2)) from bucketmapjoin_tmp_result; -'_c0','_c1','_c2' -No rows selected ->>> ->>> set hive.optimize.bucketmapjoin = false; -No rows affected ->>> insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(a)*/ a.key, a.value, b.value -from srcbucket_mapjoin a join srcbucket_mapjoin_part b -on a.key=b.key; -'key','value','value' -No rows selected ->>> ->>> select count(1) from bucketmapjoin_tmp_result; -'_c0' -'928' -1 row selected ->>> insert overwrite table bucketmapjoin_hash_result_2 -select sum(hash(key)), sum(hash(value1)), sum(hash(value2)) from bucketmapjoin_tmp_result; -'_c0','_c1','_c2' -No rows selected ->>> ->>> select a.key-b.key, a.value1-b.value1, a.value2-b.value2 -from bucketmapjoin_hash_result_1 a left outer join bucketmapjoin_hash_result_2 b -on a.key = b.key; -'_c0','_c1','_c2' -'0','0','0' -1 row selected ->>> ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> explain extended -insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(a)*/ a.key, a.value, b.value -from srcbucket_mapjoin a join srcbucket_mapjoin_part_2 b -on a.key=b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin) a) (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME bucketmapjoin_tmp_result))) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-9 is a root stage' -' Stage-1 depends on stages: Stage-9' -' 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-9' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' a ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -' Bucket Mapjoin Context:' -' Alias Bucket Base File Name Mapping:' -' a {ds=2008-04-08/srcbucket22.txt=[srcbucket20.txt], ds=2008-04-08/srcbucket23.txt=[srcbucket21.txt], ds=2008-04-09/srcbucket22.txt=[srcbucket20.txt], ds=2008-04-09/srcbucket23.txt=[srcbucket21.txt]}' -' Alias Bucket File Name Mapping:' -' a {!!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part_2/ds=2008-04-08/srcbucket22.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin/srcbucket20.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part_2/ds=2008-04-08/srcbucket23.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin/srcbucket21.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part_2/ds=2008-04-09/srcbucket22.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin/srcbucket20.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part_2/ds=2008-04-09/srcbucket23.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin/srcbucket21.txt]}' -' Alias Bucket Output File Name Mapping:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part_2/ds=2008-04-08/srcbucket22.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part_2/ds=2008-04-08/srcbucket23.txt 1' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part_2/ds=2008-04-09/srcbucket22.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part_2/ds=2008-04-09/srcbucket23.txt 1' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col5' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/bucketmapjoin_tmp_result' -' name bucketmapjoin5.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 928' -' rawDataSize 17038' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 17966' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin5.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part_2/ds=2008-04-08 [b]' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part_2/ds=2008-04-09 [b]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part_2/ds=2008-04-08 ' -' Partition' -' base file name: ds=2008-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part_2/ds=2008-04-08' -' name bucketmapjoin5.srcbucket_mapjoin_part_2' -' numFiles 2' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part_2 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 3062' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part_2' -' name bucketmapjoin5.srcbucket_mapjoin_part_2' -' numFiles 4' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part_2 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 6124' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin5.srcbucket_mapjoin_part_2' -' name: bucketmapjoin5.srcbucket_mapjoin_part_2' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part_2/ds=2008-04-09 ' -' Partition' -' base file name: ds=2008-04-09' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-09' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part_2/ds=2008-04-09' -' name bucketmapjoin5.srcbucket_mapjoin_part_2' -' numFiles 2' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part_2 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 3062' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/srcbucket_mapjoin_part_2' -' name bucketmapjoin5.srcbucket_mapjoin_part_2' -' numFiles 4' -' numPartitions 2' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part_2 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 6124' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin5.srcbucket_mapjoin_part_2' -' name: bucketmapjoin5.srcbucket_mapjoin_part_2' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/bucketmapjoin_tmp_result' -' name bucketmapjoin5.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 928' -' rawDataSize 17038' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 17966' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin5.bucketmapjoin_tmp_result' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/bucketmapjoin_tmp_result' -' name bucketmapjoin5.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 928' -' rawDataSize 17038' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 17966' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin5.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/bucketmapjoin_tmp_result' -' name bucketmapjoin5.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 928' -' rawDataSize 17038' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 17966' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/bucketmapjoin_tmp_result' -' name bucketmapjoin5.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 928' -' rawDataSize 17038' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 17966' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin5.bucketmapjoin_tmp_result' -' name: bucketmapjoin5.bucketmapjoin_tmp_result' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/bucketmapjoin_tmp_result' -' name bucketmapjoin5.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 928' -' rawDataSize 17038' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 17966' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin5.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/bucketmapjoin_tmp_result' -' name bucketmapjoin5.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 928' -' rawDataSize 17038' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 17966' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin5.db/bucketmapjoin_tmp_result' -' name bucketmapjoin5.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 928' -' rawDataSize 17038' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 17966' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin5.bucketmapjoin_tmp_result' -' name: bucketmapjoin5.bucketmapjoin_tmp_result' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -447 rows selected ->>> ->>> insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(a)*/ a.key, a.value, b.value -from srcbucket_mapjoin a join srcbucket_mapjoin_part_2 b -on a.key=b.key; -'key','value','value' -No rows selected ->>> ->>> select count(1) from bucketmapjoin_tmp_result; -'_c0' -'0' -1 row selected ->>> insert overwrite table bucketmapjoin_hash_result_1 -select sum(hash(key)), sum(hash(value1)), sum(hash(value2)) from bucketmapjoin_tmp_result; -'_c0','_c1','_c2' -No rows selected ->>> ->>> set hive.optimize.bucketmapjoin = false; -No rows affected ->>> insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(a)*/ a.key, a.value, b.value -from srcbucket_mapjoin a join srcbucket_mapjoin_part_2 b -on a.key=b.key; -'key','value','value' -No rows selected ->>> ->>> select count(1) from bucketmapjoin_tmp_result; -'_c0' -'0' -1 row selected ->>> insert overwrite table bucketmapjoin_hash_result_2 -select sum(hash(key)), sum(hash(value1)), sum(hash(value2)) from bucketmapjoin_tmp_result; -'_c0','_c1','_c2' -No rows selected ->>> ->>> select a.key-b.key, a.value1-b.value1, a.value2-b.value2 -from bucketmapjoin_hash_result_1 a left outer join bucketmapjoin_hash_result_2 b -on a.key = b.key; -'_c0','_c1','_c2' -'','','' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/bucketmapjoin6.q.out ql/src/test/results/beelinepositive/bucketmapjoin6.q.out deleted file mode 100644 index 9a97a9f..0000000 --- ql/src/test/results/beelinepositive/bucketmapjoin6.q.out +++ /dev/null @@ -1,122 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/bucketmapjoin6.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/bucketmapjoin6.q ->>> set hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> create table tmp1 (a string, b string) clustered by (a) sorted by (a) into 10 buckets; -No rows affected ->>> ->>> create table tmp2 (a string, b string) clustered by (a) sorted by (a) into 10 buckets; -No rows affected ->>> ->>> ->>> set hive.enforce.bucketing = true; -No rows affected ->>> set hive.enforce.sorting = true; -No rows affected ->>> set hive.exec.reducers.max=1; -No rows affected ->>> ->>> ->>> insert overwrite table tmp1 select * from src where key < 50; -'key','value' -No rows selected ->>> insert overwrite table tmp2 select * from src where key < 50; -'key','value' -No rows selected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> set hive.optimize.bucketmapjoin.sortedmerge = true; -No rows affected ->>> set hive.merge.mapfiles=false; -No rows affected ->>> set hive.input.format=org.apache.hadoop.hive.ql.io.BucketizedHiveInputFormat; -No rows affected ->>> ->>> create table tmp3 (a string, b string, c string) clustered by (a) sorted by (a) into 10 buckets; -No rows affected ->>> ->>> ->>> insert overwrite table tmp3 -select /*+ MAPJOIN(l) */ i.a, i.b, l.b -from tmp1 i join tmp2 l ON i.a = l.a; -'a','b','b' -No rows selected ->>> ->>> select * from tmp3 order by a, b, c; -'a','b','c' -'0','val_0','val_0' -'0','val_0','val_0' -'0','val_0','val_0' -'0','val_0','val_0' -'0','val_0','val_0' -'0','val_0','val_0' -'0','val_0','val_0' -'0','val_0','val_0' -'0','val_0','val_0' -'10','val_10','val_10' -'11','val_11','val_11' -'12','val_12','val_12' -'12','val_12','val_12' -'12','val_12','val_12' -'12','val_12','val_12' -'15','val_15','val_15' -'15','val_15','val_15' -'15','val_15','val_15' -'15','val_15','val_15' -'17','val_17','val_17' -'18','val_18','val_18' -'18','val_18','val_18' -'18','val_18','val_18' -'18','val_18','val_18' -'19','val_19','val_19' -'2','val_2','val_2' -'20','val_20','val_20' -'24','val_24','val_24' -'24','val_24','val_24' -'24','val_24','val_24' -'24','val_24','val_24' -'26','val_26','val_26' -'26','val_26','val_26' -'26','val_26','val_26' -'26','val_26','val_26' -'27','val_27','val_27' -'28','val_28','val_28' -'30','val_30','val_30' -'33','val_33','val_33' -'34','val_34','val_34' -'35','val_35','val_35' -'35','val_35','val_35' -'35','val_35','val_35' -'35','val_35','val_35' -'35','val_35','val_35' -'35','val_35','val_35' -'35','val_35','val_35' -'35','val_35','val_35' -'35','val_35','val_35' -'37','val_37','val_37' -'37','val_37','val_37' -'37','val_37','val_37' -'37','val_37','val_37' -'4','val_4','val_4' -'41','val_41','val_41' -'42','val_42','val_42' -'42','val_42','val_42' -'42','val_42','val_42' -'42','val_42','val_42' -'43','val_43','val_43' -'44','val_44','val_44' -'47','val_47','val_47' -'5','val_5','val_5' -'5','val_5','val_5' -'5','val_5','val_5' -'5','val_5','val_5' -'5','val_5','val_5' -'5','val_5','val_5' -'5','val_5','val_5' -'5','val_5','val_5' -'5','val_5','val_5' -'8','val_8','val_8' -'9','val_9','val_9' -73 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/bucketmapjoin7.q.out ql/src/test/results/beelinepositive/bucketmapjoin7.q.out deleted file mode 100644 index c54838d..0000000 --- ql/src/test/results/beelinepositive/bucketmapjoin7.q.out +++ /dev/null @@ -1,194 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/bucketmapjoin7.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/bucketmapjoin7.q ->>> set hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> ->>> CREATE TABLE srcbucket_mapjoin_part_1 (key INT, value STRING) PARTITIONED BY (ds STRING, hr STRING) -CLUSTERED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket20.txt' INTO TABLE srcbucket_mapjoin_part_1 PARTITION (ds='2008-04-08', hr='0'); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket21.txt' INTO TABLE srcbucket_mapjoin_part_1 PARTITION (ds='2008-04-08', hr='0'); -No rows affected ->>> ->>> CREATE TABLE srcbucket_mapjoin_part_2 (key INT, value STRING) PARTITIONED BY (ds STRING, hr STRING) -CLUSTERED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket20.txt' INTO TABLE srcbucket_mapjoin_part_2 PARTITION (ds='2008-04-08', hr='0'); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket21.txt' INTO TABLE srcbucket_mapjoin_part_2 PARTITION (ds='2008-04-08', hr='0'); -No rows affected ->>> ->>> set hive.optimize.bucketmapjoin=true; -No rows affected ->>> ->>> -- Tests that bucket map join works with a table with more than one level of partitioning ->>> ->>> EXPLAIN EXTENDED -SELECT /*+ MAPJOIN(b) */ a.key, b.value -FROM srcbucket_mapjoin_part_1 a JOIN srcbucket_mapjoin_part_2 b -ON a.key = b.key AND a.ds = '2008-04-08' AND b.ds = '2008-04-08' LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part_1) a) (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part_2) b) (AND (AND (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL a) ds) '2008-04-08')) (= (. (TOK_TABLE_OR_COL b) ds) '2008-04-08')))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value))) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-3 is a root stage' -' Stage-1 depends on stages: Stage-3' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-3' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' b ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -' Bucket Mapjoin Context:' -' Alias Bucket Base File Name Mapping:' -' b {ds=2008-04-08/hr=0/srcbucket20.txt=[ds=2008-04-08/hr=0/srcbucket20.txt], ds=2008-04-08/hr=0/srcbucket21.txt=[ds=2008-04-08/hr=0/srcbucket21.txt]}' -' Alias Bucket File Name Mapping:' -' b {!!{hive.metastore.warehouse.dir}!!/bucketmapjoin7.db/srcbucket_mapjoin_part_1/ds=2008-04-08/hr=0/srcbucket20.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin7.db/srcbucket_mapjoin_part_2/ds=2008-04-08/hr=0/srcbucket20.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin7.db/srcbucket_mapjoin_part_1/ds=2008-04-08/hr=0/srcbucket21.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin7.db/srcbucket_mapjoin_part_2/ds=2008-04-08/hr=0/srcbucket21.txt]}' -' Alias Bucket Output File Name Mapping:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin7.db/srcbucket_mapjoin_part_1/ds=2008-04-08/hr=0/srcbucket20.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin7.db/srcbucket_mapjoin_part_1/ds=2008-04-08/hr=0/srcbucket21.txt 1' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col7' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col7' -' type: string' -' outputColumnNames: _col0, _col7' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col7' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types int:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin7.db/srcbucket_mapjoin_part_1/ds=2008-04-08/hr=0 [a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin7.db/srcbucket_mapjoin_part_1/ds=2008-04-08/hr=0 ' -' Partition' -' base file name: hr=0' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 0' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin7.db/srcbucket_mapjoin_part_1/ds=2008-04-08/hr=0' -' name bucketmapjoin7.srcbucket_mapjoin_part_1' -' numFiles 2' -' numPartitions 1' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin7.db/srcbucket_mapjoin_part_1' -' name bucketmapjoin7.srcbucket_mapjoin_part_1' -' numFiles 2' -' numPartitions 1' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin7.srcbucket_mapjoin_part_1' -' name: bucketmapjoin7.srcbucket_mapjoin_part_1' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -154 rows selected ->>> ->>> SELECT /*+ MAPJOIN(b) */ a.key, b.value -FROM srcbucket_mapjoin_part_1 a JOIN srcbucket_mapjoin_part_2 b -ON a.key = b.key AND a.ds = '2008-04-08' AND b.ds = '2008-04-08' LIMIT 1; -'key','value' -'165','val_165' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/bucketmapjoin8.q.out ql/src/test/results/beelinepositive/bucketmapjoin8.q.out deleted file mode 100644 index e4f105e..0000000 --- ql/src/test/results/beelinepositive/bucketmapjoin8.q.out +++ /dev/null @@ -1,470 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/bucketmapjoin8.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/bucketmapjoin8.q ->>> set hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> ->>> CREATE TABLE srcbucket_mapjoin_part_1 (key INT, value STRING) PARTITIONED BY (part STRING) -CLUSTERED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket20.txt' INTO TABLE srcbucket_mapjoin_part_1 PARTITION (part='1'); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket21.txt' INTO TABLE srcbucket_mapjoin_part_1 PARTITION (part='1'); -No rows affected ->>> ->>> CREATE TABLE srcbucket_mapjoin_part_2 (key INT, value STRING) PARTITIONED BY (part STRING) -CLUSTERED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket20.txt' INTO TABLE srcbucket_mapjoin_part_2 PARTITION (part='1'); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket21.txt' INTO TABLE srcbucket_mapjoin_part_2 PARTITION (part='1'); -No rows affected ->>> ->>> ALTER TABLE srcbucket_mapjoin_part_2 CLUSTERED BY (key) INTO 3 BUCKETS; -No rows affected ->>> ->>> set hive.optimize.bucketmapjoin=true; -No rows affected ->>> ->>> -- The partition bucketing metadata match but the tables have different numbers of buckets, bucket map join should still be used ->>> ->>> EXPLAIN EXTENDED -SELECT /*+ MAPJOIN(b) */ count(*) -FROM srcbucket_mapjoin_part_1 a JOIN srcbucket_mapjoin_part_2 b -ON a.key = b.key AND a.part = '1' and b.part = '1'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part_1) a) (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part_2) b) (and (AND (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL a) part) '1')) (= (. (TOK_TABLE_OR_COL b) part) '1')))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR (TOK_FUNCTIONSTAR count)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-4 is a root stage' -' Stage-1 depends on stages: Stage-4' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-4' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' b ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -' Bucket Mapjoin Context:' -' Alias Bucket Base File Name Mapping:' -' b {part=1/srcbucket20.txt=[part=1/srcbucket20.txt], part=1/srcbucket21.txt=[part=1/srcbucket21.txt]}' -' Alias Bucket File Name Mapping:' -' b {!!{hive.metastore.warehouse.dir}!!/bucketmapjoin8.db/srcbucket_mapjoin_part_1/part=1/srcbucket20.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin8.db/srcbucket_mapjoin_part_2/part=1/srcbucket20.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin8.db/srcbucket_mapjoin_part_1/part=1/srcbucket21.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin8.db/srcbucket_mapjoin_part_2/part=1/srcbucket21.txt]}' -' Alias Bucket Output File Name Mapping:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin8.db/srcbucket_mapjoin_part_1/part=1/srcbucket20.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin8.db/srcbucket_mapjoin_part_1/part=1/srcbucket21.txt 1' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin8.db/srcbucket_mapjoin_part_1/part=1 [a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin8.db/srcbucket_mapjoin_part_1/part=1 ' -' Partition' -' base file name: part=1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' part 1' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin8.db/srcbucket_mapjoin_part_1/part=1' -' name bucketmapjoin8.srcbucket_mapjoin_part_1' -' numFiles 2' -' numPartitions 1' -' numRows 0' -' partition_columns part' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin8.db/srcbucket_mapjoin_part_1' -' name bucketmapjoin8.srcbucket_mapjoin_part_1' -' numFiles 2' -' numPartitions 1' -' numRows 0' -' partition_columns part' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin8.srcbucket_mapjoin_part_1' -' name: bucketmapjoin8.srcbucket_mapjoin_part_1' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -204 rows selected ->>> ->>> SELECT /*+ MAPJOIN(b) */ count(*) -FROM srcbucket_mapjoin_part_1 a JOIN srcbucket_mapjoin_part_2 b -ON a.key = b.key AND a.part = '1' and b.part = '1'; -'_c1' -'464' -1 row selected ->>> ->>> ALTER TABLE srcbucket_mapjoin_part_2 CLUSTERED BY (value) INTO 2 BUCKETS; -No rows affected ->>> ->>> -- The partition bucketing metadata match but the tables are bucketed on different columns, bucket map join should still be used ->>> ->>> EXPLAIN EXTENDED -SELECT /*+ MAPJOIN(b) */ count(*) -FROM srcbucket_mapjoin_part_1 a JOIN srcbucket_mapjoin_part_2 b -ON a.key = b.key AND a.part = '1' and b.part = '1'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part_1) a) (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part_2) b) (and (AND (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL a) part) '1')) (= (. (TOK_TABLE_OR_COL b) part) '1')))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR (TOK_FUNCTIONSTAR count)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-4 is a root stage' -' Stage-1 depends on stages: Stage-4' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-4' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' b ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -' Bucket Mapjoin Context:' -' Alias Bucket Base File Name Mapping:' -' b {part=1/srcbucket20.txt=[part=1/srcbucket20.txt], part=1/srcbucket21.txt=[part=1/srcbucket21.txt]}' -' Alias Bucket File Name Mapping:' -' b {!!{hive.metastore.warehouse.dir}!!/bucketmapjoin8.db/srcbucket_mapjoin_part_1/part=1/srcbucket20.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin8.db/srcbucket_mapjoin_part_2/part=1/srcbucket20.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin8.db/srcbucket_mapjoin_part_1/part=1/srcbucket21.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin8.db/srcbucket_mapjoin_part_2/part=1/srcbucket21.txt]}' -' Alias Bucket Output File Name Mapping:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin8.db/srcbucket_mapjoin_part_1/part=1/srcbucket20.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin8.db/srcbucket_mapjoin_part_1/part=1/srcbucket21.txt 1' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin8.db/srcbucket_mapjoin_part_1/part=1 [a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin8.db/srcbucket_mapjoin_part_1/part=1 ' -' Partition' -' base file name: part=1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' part 1' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin8.db/srcbucket_mapjoin_part_1/part=1' -' name bucketmapjoin8.srcbucket_mapjoin_part_1' -' numFiles 2' -' numPartitions 1' -' numRows 0' -' partition_columns part' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin8.db/srcbucket_mapjoin_part_1' -' name bucketmapjoin8.srcbucket_mapjoin_part_1' -' numFiles 2' -' numPartitions 1' -' numRows 0' -' partition_columns part' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin8.srcbucket_mapjoin_part_1' -' name: bucketmapjoin8.srcbucket_mapjoin_part_1' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -204 rows selected ->>> ->>> SELECT /*+ MAPJOIN(b) */ count(*) -FROM srcbucket_mapjoin_part_1 a JOIN srcbucket_mapjoin_part_2 b -ON a.key = b.key AND a.part = '1' and b.part = '1'; -'_c1' -'464' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/bucketmapjoin9.q.out ql/src/test/results/beelinepositive/bucketmapjoin9.q.out deleted file mode 100644 index 5203c40..0000000 --- ql/src/test/results/beelinepositive/bucketmapjoin9.q.out +++ /dev/null @@ -1,465 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/bucketmapjoin9.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/bucketmapjoin9.q ->>> set hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> ->>> CREATE TABLE srcbucket_mapjoin_part_1 (key INT, value STRING) PARTITIONED BY (part STRING) -CLUSTERED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket20.txt' INTO TABLE srcbucket_mapjoin_part_1 PARTITION (part='1'); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket21.txt' INTO TABLE srcbucket_mapjoin_part_1 PARTITION (part='1'); -No rows affected ->>> ->>> CREATE TABLE srcbucket_mapjoin_part_2 (key INT, value STRING) PARTITIONED BY (part STRING) -CLUSTERED BY (key) INTO 3 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket20.txt' INTO TABLE srcbucket_mapjoin_part_2 PARTITION (part='1'); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket21.txt' INTO TABLE srcbucket_mapjoin_part_2 PARTITION (part='1'); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket22.txt' INTO TABLE srcbucket_mapjoin_part_2 PARTITION (part='1'); -No rows affected ->>> ->>> ALTER TABLE srcbucket_mapjoin_part_2 CLUSTERED BY (key) INTO 2 BUCKETS; -No rows affected ->>> ->>> set hive.optimize.bucketmapjoin=true; -No rows affected ->>> ->>> -- The table bucketing metadata matches but the partitions have different numbers of buckets, bucket map join should not be used ->>> ->>> EXPLAIN EXTENDED -SELECT /*+ MAPJOIN(b) */ count(*) -FROM srcbucket_mapjoin_part_1 a JOIN srcbucket_mapjoin_part_2 b -ON a.key = b.key AND a.part = '1' and b.part = '1'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part_1) a) (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part_2) b) (and (AND (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL a) part) '1')) (= (. (TOK_TABLE_OR_COL b) part) '1')))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR (TOK_FUNCTIONSTAR count)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-4 is a root stage' -' Stage-1 depends on stages: Stage-4' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-4' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' b ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin9.db/srcbucket_mapjoin_part_1/part=1 [a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin9.db/srcbucket_mapjoin_part_1/part=1 ' -' Partition' -' base file name: part=1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' part 1' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin9.db/srcbucket_mapjoin_part_1/part=1' -' name bucketmapjoin9.srcbucket_mapjoin_part_1' -' numFiles 2' -' numPartitions 1' -' numRows 0' -' partition_columns part' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin9.db/srcbucket_mapjoin_part_1' -' name bucketmapjoin9.srcbucket_mapjoin_part_1' -' numFiles 2' -' numPartitions 1' -' numRows 0' -' partition_columns part' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin9.srcbucket_mapjoin_part_1' -' name: bucketmapjoin9.srcbucket_mapjoin_part_1' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -196 rows selected ->>> ->>> SELECT /*+ MAPJOIN(b) */ count(*) -FROM srcbucket_mapjoin_part_1 a JOIN srcbucket_mapjoin_part_2 b -ON a.key = b.key AND a.part = '1' and b.part = '1'; -'_c1' -'464' -1 row selected ->>> ->>> ALTER TABLE srcbucket_mapjoin_part_2 DROP PARTITION (part='1'); -No rows affected ->>> ALTER TABLE srcbucket_mapjoin_part_2 CLUSTERED BY (value) INTO 2 BUCKETS; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket20.txt' INTO TABLE srcbucket_mapjoin_part_2 PARTITION (part='1'); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/srcbucket21.txt' INTO TABLE srcbucket_mapjoin_part_2 PARTITION (part='1'); -No rows affected ->>> ->>> ALTER TABLE srcbucket_mapjoin_part_2 CLUSTERED BY (key) INTO 2 BUCKETS; -No rows affected ->>> ->>> -- The table bucketing metadata matches but the partitions are bucketed on different columns, bucket map join should not be used ->>> ->>> EXPLAIN EXTENDED -SELECT /*+ MAPJOIN(b) */ count(*) -FROM srcbucket_mapjoin_part_1 a JOIN srcbucket_mapjoin_part_2 b -ON a.key = b.key AND a.part = '1' AND b.part = '1'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part_1) a) (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part_2) b) (AND (AND (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL a) part) '1')) (= (. (TOK_TABLE_OR_COL b) part) '1')))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR (TOK_FUNCTIONSTAR count)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-4 is a root stage' -' Stage-1 depends on stages: Stage-4' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-4' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' b ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin9.db/srcbucket_mapjoin_part_1/part=1 [a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin9.db/srcbucket_mapjoin_part_1/part=1 ' -' Partition' -' base file name: part=1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' part 1' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin9.db/srcbucket_mapjoin_part_1/part=1' -' name bucketmapjoin9.srcbucket_mapjoin_part_1' -' numFiles 2' -' numPartitions 1' -' numRows 0' -' partition_columns part' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin9.db/srcbucket_mapjoin_part_1' -' name bucketmapjoin9.srcbucket_mapjoin_part_1' -' numFiles 2' -' numPartitions 1' -' numRows 0' -' partition_columns part' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin9.srcbucket_mapjoin_part_1' -' name: bucketmapjoin9.srcbucket_mapjoin_part_1' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -196 rows selected ->>> ->>> SELECT /*+ MAPJOIN(b) */ count(*) -FROM srcbucket_mapjoin_part_1 a JOIN srcbucket_mapjoin_part_2 b -ON a.key = b.key AND a.part = '1' AND b.part = '1'; -'_c1' -'464' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/bucketmapjoin_negative.q.out ql/src/test/results/beelinepositive/bucketmapjoin_negative.q.out deleted file mode 100644 index 60c6b63..0000000 --- ql/src/test/results/beelinepositive/bucketmapjoin_negative.q.out +++ /dev/null @@ -1,383 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/bucketmapjoin_negative.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/bucketmapjoin_negative.q ->>> ->>> ->>> ->>> ->>> CREATE TABLE srcbucket_mapjoin(key int, value string) CLUSTERED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> load data local inpath '../data/files/srcbucket20.txt' INTO TABLE srcbucket_mapjoin; -No rows affected ->>> load data local inpath '../data/files/srcbucket21.txt' INTO TABLE srcbucket_mapjoin; -No rows affected ->>> ->>> CREATE TABLE srcbucket_mapjoin_part (key int, value string) partitioned by (ds string) CLUSTERED BY (key) INTO 3 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> load data local inpath '../data/files/srcbucket20.txt' INTO TABLE srcbucket_mapjoin_part partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcbucket21.txt' INTO TABLE srcbucket_mapjoin_part partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcbucket22.txt' INTO TABLE srcbucket_mapjoin_part partition(ds='2008-04-08'); -No rows affected ->>> ->>> ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> create table bucketmapjoin_tmp_result (key string , value1 string, value2 string); -No rows affected ->>> ->>> explain extended -insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(b)*/ a.key, a.value, b.value -from srcbucket_mapjoin a join srcbucket_mapjoin_part b -on a.key=b.key where b.ds="2008-04-08"; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin) a) (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME bucketmapjoin_tmp_result))) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value))) (TOK_WHERE (= (. (TOK_TABLE_OR_COL b) ds) "2008-04-08"))))' -'' -'STAGE DEPENDENCIES:' -' Stage-9 is a root stage' -' Stage-1 depends on stages: Stage-9' -' 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-9' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' b ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {value} {ds}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {value} {ds}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col5, _col6' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col5' -' type: string' -' expr: _col6' -' type: string' -' outputColumnNames: _col0, _col1, _col5, _col6' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative.db/bucketmapjoin_tmp_result' -' name bucketmapjoin_negative.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin_negative.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative.db/srcbucket_mapjoin [a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative.db/srcbucket_mapjoin ' -' Partition' -' base file name: srcbucket_mapjoin' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative.db/srcbucket_mapjoin' -' name bucketmapjoin_negative.srcbucket_mapjoin' -' numFiles 2' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative.db/srcbucket_mapjoin' -' name bucketmapjoin_negative.srcbucket_mapjoin' -' numFiles 2' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin_negative.srcbucket_mapjoin' -' name: bucketmapjoin_negative.srcbucket_mapjoin' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative.db/bucketmapjoin_tmp_result' -' name bucketmapjoin_negative.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin_negative.bucketmapjoin_tmp_result' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative.db/bucketmapjoin_tmp_result' -' name bucketmapjoin_negative.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin_negative.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative.db/bucketmapjoin_tmp_result' -' name bucketmapjoin_negative.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative.db/bucketmapjoin_tmp_result' -' name bucketmapjoin_negative.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin_negative.bucketmapjoin_tmp_result' -' name: bucketmapjoin_negative.bucketmapjoin_tmp_result' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative.db/bucketmapjoin_tmp_result' -' name bucketmapjoin_negative.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin_negative.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative.db/bucketmapjoin_tmp_result' -' name bucketmapjoin_negative.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative.db/bucketmapjoin_tmp_result' -' name bucketmapjoin_negative.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin_negative.bucketmapjoin_tmp_result' -' name: bucketmapjoin_negative.bucketmapjoin_tmp_result' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -342 rows selected ->>> ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/bucketmapjoin_negative2.q.out ql/src/test/results/beelinepositive/bucketmapjoin_negative2.q.out deleted file mode 100644 index fc6e76e..0000000 --- ql/src/test/results/beelinepositive/bucketmapjoin_negative2.q.out +++ /dev/null @@ -1,381 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/bucketmapjoin_negative2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/bucketmapjoin_negative2.q ->>> CREATE TABLE srcbucket_mapjoin(key int, value string) CLUSTERED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> load data local inpath '../data/files/srcbucket20.txt' INTO TABLE srcbucket_mapjoin; -No rows affected ->>> load data local inpath '../data/files/srcbucket21.txt' INTO TABLE srcbucket_mapjoin; -No rows affected ->>> ->>> CREATE TABLE srcbucket_mapjoin_part_2 (key int, value string) partitioned by (ds string) CLUSTERED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> load data local inpath '../data/files/srcbucket22.txt' INTO TABLE srcbucket_mapjoin_part_2 partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcbucket23.txt' INTO TABLE srcbucket_mapjoin_part_2 partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcbucket22.txt' INTO TABLE srcbucket_mapjoin_part_2 partition(ds='2008-04-09'); -No rows affected ->>> load data local inpath '../data/files/srcbucket23.txt' INTO TABLE srcbucket_mapjoin_part_2 partition(ds='2008-04-09'); -No rows affected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> create table bucketmapjoin_tmp_result (key string , value1 string, value2 string); -No rows affected ->>> ->>> explain extended -insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(b)*/ a.key, a.value, b.value -from srcbucket_mapjoin a join srcbucket_mapjoin_part_2 b -on a.key=b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin) a) (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME bucketmapjoin_tmp_result))) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-9 is a root stage' -' Stage-1 depends on stages: Stage-9' -' 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-9' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' b ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -' Bucket Mapjoin Context:' -' Alias Bucket Base File Name Mapping:' -' b {srcbucket20.txt=[ds=2008-04-08/srcbucket22.txt, ds=2008-04-09/srcbucket22.txt], srcbucket21.txt=[ds=2008-04-08/srcbucket23.txt, ds=2008-04-09/srcbucket23.txt]}' -' Alias Bucket File Name Mapping:' -' b {!!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative2.db/srcbucket_mapjoin/srcbucket20.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative2.db/srcbucket_mapjoin_part_2/ds=2008-04-08/srcbucket22.txt, !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative2.db/srcbucket_mapjoin_part_2/ds=2008-04-09/srcbucket22.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative2.db/srcbucket_mapjoin/srcbucket21.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative2.db/srcbucket_mapjoin_part_2/ds=2008-04-08/srcbucket23.txt, !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative2.db/srcbucket_mapjoin_part_2/ds=2008-04-09/srcbucket23.txt]}' -' Alias Bucket Output File Name Mapping:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative2.db/srcbucket_mapjoin/srcbucket20.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative2.db/srcbucket_mapjoin/srcbucket21.txt 1' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative2.db/bucketmapjoin_tmp_result' -' name bucketmapjoin_negative2.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin_negative2.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative2.db/srcbucket_mapjoin [a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative2.db/srcbucket_mapjoin ' -' Partition' -' base file name: srcbucket_mapjoin' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative2.db/srcbucket_mapjoin' -' name bucketmapjoin_negative2.srcbucket_mapjoin' -' numFiles 2' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative2.db/srcbucket_mapjoin' -' name bucketmapjoin_negative2.srcbucket_mapjoin' -' numFiles 2' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin_negative2.srcbucket_mapjoin' -' name: bucketmapjoin_negative2.srcbucket_mapjoin' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative2.db/bucketmapjoin_tmp_result' -' name bucketmapjoin_negative2.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin_negative2.bucketmapjoin_tmp_result' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative2.db/bucketmapjoin_tmp_result' -' name bucketmapjoin_negative2.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin_negative2.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative2.db/bucketmapjoin_tmp_result' -' name bucketmapjoin_negative2.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative2.db/bucketmapjoin_tmp_result' -' name bucketmapjoin_negative2.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin_negative2.bucketmapjoin_tmp_result' -' name: bucketmapjoin_negative2.bucketmapjoin_tmp_result' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative2.db/bucketmapjoin_tmp_result' -' name bucketmapjoin_negative2.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin_negative2.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative2.db/bucketmapjoin_tmp_result' -' name bucketmapjoin_negative2.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative2.db/bucketmapjoin_tmp_result' -' name bucketmapjoin_negative2.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin_negative2.bucketmapjoin_tmp_result' -' name: bucketmapjoin_negative2.bucketmapjoin_tmp_result' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -348 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/bucketmapjoin_negative3.q.out ql/src/test/results/beelinepositive/bucketmapjoin_negative3.q.out deleted file mode 100644 index 868c101..0000000 --- ql/src/test/results/beelinepositive/bucketmapjoin_negative3.q.out +++ /dev/null @@ -1,1449 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/bucketmapjoin_negative3.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/bucketmapjoin_negative3.q ->>> drop table test1; -No rows affected ->>> drop table test2; -No rows affected ->>> drop table test3; -No rows affected ->>> drop table test4; -No rows affected ->>> ->>> create table test1 (key string, value string) clustered by (key) sorted by (key) into 3 buckets; -No rows affected ->>> create table test2 (key string, value string) clustered by (value) sorted by (value) into 3 buckets; -No rows affected ->>> create table test3 (key string, value string) clustered by (key, value) sorted by (key, value) into 3 buckets; -No rows affected ->>> create table test4 (key string, value string) clustered by (value, key) sorted by (value, key) into 3 buckets; -No rows affected ->>> ->>> load data local inpath '../data/files/srcbucket20.txt' INTO TABLE test1; -No rows affected ->>> load data local inpath '../data/files/srcbucket21.txt' INTO TABLE test1; -No rows affected ->>> load data local inpath '../data/files/srcbucket22.txt' INTO TABLE test1; -No rows affected ->>> ->>> load data local inpath '../data/files/srcbucket20.txt' INTO TABLE test2; -No rows affected ->>> load data local inpath '../data/files/srcbucket21.txt' INTO TABLE test2; -No rows affected ->>> load data local inpath '../data/files/srcbucket22.txt' INTO TABLE test2; -No rows affected ->>> ->>> load data local inpath '../data/files/srcbucket20.txt' INTO TABLE test3; -No rows affected ->>> load data local inpath '../data/files/srcbucket21.txt' INTO TABLE test3; -No rows affected ->>> load data local inpath '../data/files/srcbucket22.txt' INTO TABLE test3; -No rows affected ->>> ->>> load data local inpath '../data/files/srcbucket20.txt' INTO TABLE test4; -No rows affected ->>> load data local inpath '../data/files/srcbucket21.txt' INTO TABLE test4; -No rows affected ->>> load data local inpath '../data/files/srcbucket22.txt' INTO TABLE test4; -No rows affected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> -- should be allowed ->>> explain extended select /* + MAPJOIN(R) */ * from test1 L join test1 R on L.key=R.key AND L.value=R.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME test1) L) (TOK_TABREF (TOK_TABNAME test1) R) (AND (= (. (TOK_TABLE_OR_COL L) key) (. (TOK_TABLE_OR_COL R) key)) (= (. (TOK_TABLE_OR_COL L) value) (. (TOK_TABLE_OR_COL R) value))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST R))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-3 is a root stage' -' Stage-1 depends on stages: Stage-3' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-3' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' r ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' r ' -' TableScan' -' alias: r' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key], Column[value]]' -' 1 [Column[key], Column[value]]' -' Position of Big Table: 0' -' Bucket Mapjoin Context:' -' Alias Bucket Base File Name Mapping:' -' r {srcbucket20.txt=[srcbucket20.txt], srcbucket21.txt=[srcbucket21.txt], srcbucket22.txt=[srcbucket22.txt]}' -' Alias Bucket File Name Mapping:' -' r {!!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test1/srcbucket20.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test1/srcbucket20.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test1/srcbucket21.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test1/srcbucket21.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test1/srcbucket22.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test1/srcbucket22.txt]}' -' Alias Bucket Output File Name Mapping:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test1/srcbucket20.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test1/srcbucket21.txt 1' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test1/srcbucket22.txt 2' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' l ' -' TableScan' -' alias: l' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key], Column[value]]' -' 1 [Column[key], Column[value]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string:string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test1 [l]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test1 ' -' Partition' -' base file name: test1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 3' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test1' -' name bucketmapjoin_negative3.test1' -' numFiles 3' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct test1 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 4200' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 3' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test1' -' name bucketmapjoin_negative3.test1' -' numFiles 3' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct test1 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 4200' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin_negative3.test1' -' name: bucketmapjoin_negative3.test1' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -159 rows selected ->>> explain extended select /* + MAPJOIN(R) */ * from test2 L join test2 R on L.key=R.key AND L.value=R.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME test2) L) (TOK_TABREF (TOK_TABNAME test2) R) (AND (= (. (TOK_TABLE_OR_COL L) key) (. (TOK_TABLE_OR_COL R) key)) (= (. (TOK_TABLE_OR_COL L) value) (. (TOK_TABLE_OR_COL R) value))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST R))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-3 is a root stage' -' Stage-1 depends on stages: Stage-3' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-3' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' r ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' r ' -' TableScan' -' alias: r' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key], Column[value]]' -' 1 [Column[key], Column[value]]' -' Position of Big Table: 0' -' Bucket Mapjoin Context:' -' Alias Bucket Base File Name Mapping:' -' r {srcbucket20.txt=[srcbucket20.txt], srcbucket21.txt=[srcbucket21.txt], srcbucket22.txt=[srcbucket22.txt]}' -' Alias Bucket File Name Mapping:' -' r {!!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test2/srcbucket20.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test2/srcbucket20.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test2/srcbucket21.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test2/srcbucket21.txt], !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test2/srcbucket22.txt=[!!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test2/srcbucket22.txt]}' -' Alias Bucket Output File Name Mapping:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test2/srcbucket20.txt 0' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test2/srcbucket21.txt 1' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test2/srcbucket22.txt 2' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' l ' -' TableScan' -' alias: l' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key], Column[value]]' -' 1 [Column[key], Column[value]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string:string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test2 [l]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test2 ' -' Partition' -' base file name: test2' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 3' -' bucket_field_name value' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test2' -' name bucketmapjoin_negative3.test2' -' numFiles 3' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct test2 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 4200' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 3' -' bucket_field_name value' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test2' -' name bucketmapjoin_negative3.test2' -' numFiles 3' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct test2 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 4200' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin_negative3.test2' -' name: bucketmapjoin_negative3.test2' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -159 rows selected ->>> ->>> -- should not apply bucket mapjoin ->>> explain extended select /* + MAPJOIN(R) */ * from test1 L join test1 R on L.key+L.key=R.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME test1) L) (TOK_TABREF (TOK_TABNAME test1) R) (= (+ (. (TOK_TABLE_OR_COL L) key) (. (TOK_TABLE_OR_COL L) key)) (. (TOK_TABLE_OR_COL R) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST R))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-3 is a root stage' -' Stage-1 depends on stages: Stage-3' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-3' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' r ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' r ' -' TableScan' -' alias: r' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [class org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge(Column[key], Column[key]()]' -' 1 [class org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge(Column[key]()]' -' Position of Big Table: 0' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' l ' -' TableScan' -' alias: l' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [class org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge(Column[key], Column[key]()]' -' 1 [class org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge(Column[key]()]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string:string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test1 [l]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test1 ' -' Partition' -' base file name: test1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 3' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test1' -' name bucketmapjoin_negative3.test1' -' numFiles 3' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct test1 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 4200' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 3' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test1' -' name bucketmapjoin_negative3.test1' -' numFiles 3' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct test1 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 4200' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin_negative3.test1' -' name: bucketmapjoin_negative3.test1' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -150 rows selected ->>> explain extended select /* + MAPJOIN(R) */ * from test1 L join test2 R on L.key=R.key AND L.value=R.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME test1) L) (TOK_TABREF (TOK_TABNAME test2) R) (AND (= (. (TOK_TABLE_OR_COL L) key) (. (TOK_TABLE_OR_COL R) key)) (= (. (TOK_TABLE_OR_COL L) value) (. (TOK_TABLE_OR_COL R) value))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST R))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-3 is a root stage' -' Stage-1 depends on stages: Stage-3' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-3' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' r ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' r ' -' TableScan' -' alias: r' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key], Column[value]]' -' 1 [Column[key], Column[value]]' -' Position of Big Table: 0' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' l ' -' TableScan' -' alias: l' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key], Column[value]]' -' 1 [Column[key], Column[value]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string:string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test1 [l]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test1 ' -' Partition' -' base file name: test1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 3' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test1' -' name bucketmapjoin_negative3.test1' -' numFiles 3' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct test1 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 4200' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 3' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test1' -' name bucketmapjoin_negative3.test1' -' numFiles 3' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct test1 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 4200' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin_negative3.test1' -' name: bucketmapjoin_negative3.test1' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -150 rows selected ->>> explain extended select /* + MAPJOIN(R) */ * from test1 L join test3 R on L.key=R.key AND L.value=R.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME test1) L) (TOK_TABREF (TOK_TABNAME test3) R) (AND (= (. (TOK_TABLE_OR_COL L) key) (. (TOK_TABLE_OR_COL R) key)) (= (. (TOK_TABLE_OR_COL L) value) (. (TOK_TABLE_OR_COL R) value))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST R))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-3 is a root stage' -' Stage-1 depends on stages: Stage-3' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-3' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' r ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' r ' -' TableScan' -' alias: r' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key], Column[value]]' -' 1 [Column[key], Column[value]]' -' Position of Big Table: 0' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' l ' -' TableScan' -' alias: l' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key], Column[value]]' -' 1 [Column[key], Column[value]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string:string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test1 [l]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test1 ' -' Partition' -' base file name: test1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 3' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test1' -' name bucketmapjoin_negative3.test1' -' numFiles 3' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct test1 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 4200' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 3' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test1' -' name bucketmapjoin_negative3.test1' -' numFiles 3' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct test1 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 4200' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin_negative3.test1' -' name: bucketmapjoin_negative3.test1' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -150 rows selected ->>> explain extended select /* + MAPJOIN(R) */ * from test1 L join test4 R on L.key=R.key AND L.value=R.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME test1) L) (TOK_TABREF (TOK_TABNAME test4) R) (AND (= (. (TOK_TABLE_OR_COL L) key) (. (TOK_TABLE_OR_COL R) key)) (= (. (TOK_TABLE_OR_COL L) value) (. (TOK_TABLE_OR_COL R) value))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST R))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-3 is a root stage' -' Stage-1 depends on stages: Stage-3' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-3' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' r ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' r ' -' TableScan' -' alias: r' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key], Column[value]]' -' 1 [Column[key], Column[value]]' -' Position of Big Table: 0' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' l ' -' TableScan' -' alias: l' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key], Column[value]]' -' 1 [Column[key], Column[value]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string:string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test1 [l]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test1 ' -' Partition' -' base file name: test1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 3' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test1' -' name bucketmapjoin_negative3.test1' -' numFiles 3' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct test1 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 4200' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 3' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test1' -' name bucketmapjoin_negative3.test1' -' numFiles 3' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct test1 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 4200' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin_negative3.test1' -' name: bucketmapjoin_negative3.test1' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -150 rows selected ->>> explain extended select /* + MAPJOIN(R) */ * from test2 L join test3 R on L.key=R.key AND L.value=R.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME test2) L) (TOK_TABREF (TOK_TABNAME test3) R) (AND (= (. (TOK_TABLE_OR_COL L) key) (. (TOK_TABLE_OR_COL R) key)) (= (. (TOK_TABLE_OR_COL L) value) (. (TOK_TABLE_OR_COL R) value))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST R))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-3 is a root stage' -' Stage-1 depends on stages: Stage-3' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-3' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' r ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' r ' -' TableScan' -' alias: r' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key], Column[value]]' -' 1 [Column[key], Column[value]]' -' Position of Big Table: 0' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' l ' -' TableScan' -' alias: l' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key], Column[value]]' -' 1 [Column[key], Column[value]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string:string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test2 [l]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test2 ' -' Partition' -' base file name: test2' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 3' -' bucket_field_name value' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test2' -' name bucketmapjoin_negative3.test2' -' numFiles 3' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct test2 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 4200' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 3' -' bucket_field_name value' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test2' -' name bucketmapjoin_negative3.test2' -' numFiles 3' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct test2 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 4200' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin_negative3.test2' -' name: bucketmapjoin_negative3.test2' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -150 rows selected ->>> explain extended select /* + MAPJOIN(R) */ * from test2 L join test4 R on L.key=R.key AND L.value=R.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME test2) L) (TOK_TABREF (TOK_TABNAME test4) R) (AND (= (. (TOK_TABLE_OR_COL L) key) (. (TOK_TABLE_OR_COL R) key)) (= (. (TOK_TABLE_OR_COL L) value) (. (TOK_TABLE_OR_COL R) value))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST R))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-3 is a root stage' -' Stage-1 depends on stages: Stage-3' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-3' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' r ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' r ' -' TableScan' -' alias: r' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key], Column[value]]' -' 1 [Column[key], Column[value]]' -' Position of Big Table: 0' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' l ' -' TableScan' -' alias: l' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key], Column[value]]' -' 1 [Column[key], Column[value]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string:string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test2 [l]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test2 ' -' Partition' -' base file name: test2' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 3' -' bucket_field_name value' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test2' -' name bucketmapjoin_negative3.test2' -' numFiles 3' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct test2 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 4200' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 3' -' bucket_field_name value' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test2' -' name bucketmapjoin_negative3.test2' -' numFiles 3' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct test2 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 4200' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin_negative3.test2' -' name: bucketmapjoin_negative3.test2' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -150 rows selected ->>> explain extended select /* + MAPJOIN(R) */ * from test3 L join test4 R on L.key=R.key AND L.value=R.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME test3) L) (TOK_TABREF (TOK_TABNAME test4) R) (AND (= (. (TOK_TABLE_OR_COL L) key) (. (TOK_TABLE_OR_COL R) key)) (= (. (TOK_TABLE_OR_COL L) value) (. (TOK_TABLE_OR_COL R) value))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST R))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-3 is a root stage' -' Stage-1 depends on stages: Stage-3' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-3' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' r ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' r ' -' TableScan' -' alias: r' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key], Column[value]]' -' 1 [Column[key], Column[value]]' -' Position of Big Table: 0' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' l ' -' TableScan' -' alias: l' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key], Column[value]]' -' 1 [Column[key], Column[value]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string:string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test3 [l]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test3 ' -' Partition' -' base file name: test3' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 3' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test3' -' name bucketmapjoin_negative3.test3' -' numFiles 3' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct test3 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 4200' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 3' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/bucketmapjoin_negative3.db/test3' -' name bucketmapjoin_negative3.test3' -' numFiles 3' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct test3 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 4200' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: bucketmapjoin_negative3.test3' -' name: bucketmapjoin_negative3.test3' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -150 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/case_sensitivity.q.out ql/src/test/results/beelinepositive/case_sensitivity.q.out deleted file mode 100644 index 4653e97..0000000 --- ql/src/test/results/beelinepositive/case_sensitivity.q.out +++ /dev/null @@ -1,124 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/case_sensitivity.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/case_sensitivity.q ->>> CREATE TABLE DEST1(Key INT, VALUE STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM SRC_THRIFT -INSERT OVERWRITE TABLE dest1 SELECT src_Thrift.LINT[1], src_thrift.lintstring[0].MYSTRING where src_thrift.liNT[0] > 0; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME SRC_THRIFT))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR ([ (. (TOK_TABLE_OR_COL src_Thrift) LINT) 1)) (TOK_SELEXPR (. ([ (. (TOK_TABLE_OR_COL src_thrift) lintstring) 0) MYSTRING))) (TOK_WHERE (> ([ (. (TOK_TABLE_OR_COL src_thrift) liNT) 0) 0))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src_thrift ' -' TableScan' -' alias: src_thrift' -' Filter Operator' -' predicate:' -' expr: (lint[0] > 0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: lint[1]' -' type: int' -' expr: lintstring[0].MYSTRING' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: case_sensitivity.dest1' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: case_sensitivity.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: case_sensitivity.dest1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: case_sensitivity.dest1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -95 rows selected ->>> ->>> FROM SRC_THRIFT -INSERT OVERWRITE TABLE dest1 SELECT src_Thrift.LINT[1], src_thrift.lintstring[0].MYSTRING where src_thrift.liNT[0] > 0; -'_c0','mystring' -No rows selected ->>> ->>> SELECT DEST1.* FROM Dest1; -'key','value' -'2','1' -'4','8' -'6','27' -'8','64' -'10','125' -'12','216' -'14','343' -'16','512' -'18','729' -9 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/cast1.q.out ql/src/test/results/beelinepositive/cast1.q.out deleted file mode 100644 index 2892f65..0000000 --- ql/src/test/results/beelinepositive/cast1.q.out +++ /dev/null @@ -1,125 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/cast1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/cast1.q ->>> CREATE TABLE dest1(c1 INT, c2 DOUBLE, c3 DOUBLE, c4 DOUBLE, c5 INT, c6 STRING, c7 INT) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src INSERT OVERWRITE TABLE dest1 SELECT 3 + 2, 3.0 + 2, 3 + 2.0, 3.0 + 2.0, 3 + CAST(2.0 AS INT) + CAST(CAST(0 AS SMALLINT) AS INT), CAST(1 AS BOOLEAN), CAST(TRUE AS INT) WHERE src.key = 86; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (+ 3 2)) (TOK_SELEXPR (+ 3.0 2)) (TOK_SELEXPR (+ 3 2.0)) (TOK_SELEXPR (+ 3.0 2.0)) (TOK_SELEXPR (+ (+ 3 (TOK_FUNCTION TOK_INT 2.0)) (TOK_FUNCTION TOK_INT (TOK_FUNCTION TOK_SMALLINT 0)))) (TOK_SELEXPR (TOK_FUNCTION TOK_BOOLEAN 1)) (TOK_SELEXPR (TOK_FUNCTION TOK_INT TRUE))) (TOK_WHERE (= (. (TOK_TABLE_OR_COL src) key) 86))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key = 86.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: (3 + 2)' -' type: int' -' expr: (3.0 + 2)' -' type: double' -' expr: (3 + 2.0)' -' type: double' -' expr: (3.0 + 2.0)' -' type: double' -' expr: ((3 + UDFToInteger(2.0)) + UDFToInteger(UDFToShort(0)))' -' type: int' -' expr: UDFToBoolean(1)' -' type: boolean' -' expr: UDFToInteger(true)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: cast1.dest1' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: cast1.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: cast1.dest1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: cast1.dest1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -105 rows selected ->>> ->>> FROM src INSERT OVERWRITE TABLE dest1 SELECT 3 + 2, 3.0 + 2, 3 + 2.0, 3.0 + 2.0, 3 + CAST(2.0 AS INT) + CAST(CAST(0 AS SMALLINT) AS INT), CAST(1 AS BOOLEAN), CAST(TRUE AS INT) WHERE src.key = 86; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6' -No rows selected ->>> ->>> select dest1.* FROM dest1; -'c1','c2','c3','c4','c5','c6','c7' -'5','5.0','5.0','5.0','5','true','1' -1 row selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/combine1.q.out ql/src/test/results/beelinepositive/combine1.q.out deleted file mode 100644 index ff2444f..0000000 --- ql/src/test/results/beelinepositive/combine1.q.out +++ /dev/null @@ -1,532 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/combine1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/combine1.q ->>> set hive.exec.compress.output = true; -No rows affected ->>> set hive.input.format=org.apache.hadoop.hive.ql.io.CombineHiveInputFormat; -No rows affected ->>> set mapred.min.split.size=256; -No rows affected ->>> set mapred.min.split.size.per.node=256; -No rows affected ->>> set mapred.min.split.size.per.rack=256; -No rows affected ->>> set mapred.max.split.size=256; -No rows affected ->>> ->>> set mapred.output.compression.codec=org.apache.hadoop.io.compress.GzipCodec; -No rows affected ->>> ->>> create table combine1_1(key string, value string) stored as textfile; -No rows affected ->>> ->>> insert overwrite table combine1_1 -select * from src; -'key','value' -No rows selected ->>> ->>> ->>> select key, value from combine1_1 ORDER BY key ASC, value ASC; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'10','val_10' -'100','val_100' -'100','val_100' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -'105','val_105' -'11','val_11' -'111','val_111' -'113','val_113' -'113','val_113' -'114','val_114' -'116','val_116' -'118','val_118' -'118','val_118' -'119','val_119' -'119','val_119' -'119','val_119' -'12','val_12' -'12','val_12' -'120','val_120' -'120','val_120' -'125','val_125' -'125','val_125' -'126','val_126' -'128','val_128' -'128','val_128' -'128','val_128' -'129','val_129' -'129','val_129' -'131','val_131' -'133','val_133' -'134','val_134' -'134','val_134' -'136','val_136' -'137','val_137' -'137','val_137' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'143','val_143' -'145','val_145' -'146','val_146' -'146','val_146' -'149','val_149' -'149','val_149' -'15','val_15' -'15','val_15' -'150','val_150' -'152','val_152' -'152','val_152' -'153','val_153' -'155','val_155' -'156','val_156' -'157','val_157' -'158','val_158' -'160','val_160' -'162','val_162' -'163','val_163' -'164','val_164' -'164','val_164' -'165','val_165' -'165','val_165' -'166','val_166' -'167','val_167' -'167','val_167' -'167','val_167' -'168','val_168' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'17','val_17' -'170','val_170' -'172','val_172' -'172','val_172' -'174','val_174' -'174','val_174' -'175','val_175' -'175','val_175' -'176','val_176' -'176','val_176' -'177','val_177' -'178','val_178' -'179','val_179' -'179','val_179' -'18','val_18' -'18','val_18' -'180','val_180' -'181','val_181' -'183','val_183' -'186','val_186' -'187','val_187' -'187','val_187' -'187','val_187' -'189','val_189' -'19','val_19' -'190','val_190' -'191','val_191' -'191','val_191' -'192','val_192' -'193','val_193' -'193','val_193' -'193','val_193' -'194','val_194' -'195','val_195' -'195','val_195' -'196','val_196' -'197','val_197' -'197','val_197' -'199','val_199' -'199','val_199' -'199','val_199' -'2','val_2' -'20','val_20' -'200','val_200' -'200','val_200' -'201','val_201' -'202','val_202' -'203','val_203' -'203','val_203' -'205','val_205' -'205','val_205' -'207','val_207' -'207','val_207' -'208','val_208' -'208','val_208' -'208','val_208' -'209','val_209' -'209','val_209' -'213','val_213' -'213','val_213' -'214','val_214' -'216','val_216' -'216','val_216' -'217','val_217' -'217','val_217' -'218','val_218' -'219','val_219' -'219','val_219' -'221','val_221' -'221','val_221' -'222','val_222' -'223','val_223' -'223','val_223' -'224','val_224' -'224','val_224' -'226','val_226' -'228','val_228' -'229','val_229' -'229','val_229' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'233','val_233' -'233','val_233' -'235','val_235' -'237','val_237' -'237','val_237' -'238','val_238' -'238','val_238' -'239','val_239' -'239','val_239' -'24','val_24' -'24','val_24' -'241','val_241' -'242','val_242' -'242','val_242' -'244','val_244' -'247','val_247' -'248','val_248' -'249','val_249' -'252','val_252' -'255','val_255' -'255','val_255' -'256','val_256' -'256','val_256' -'257','val_257' -'258','val_258' -'26','val_26' -'26','val_26' -'260','val_260' -'262','val_262' -'263','val_263' -'265','val_265' -'265','val_265' -'266','val_266' -'27','val_27' -'272','val_272' -'272','val_272' -'273','val_273' -'273','val_273' -'273','val_273' -'274','val_274' -'275','val_275' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'278','val_278' -'278','val_278' -'28','val_28' -'280','val_280' -'280','val_280' -'281','val_281' -'281','val_281' -'282','val_282' -'282','val_282' -'283','val_283' -'284','val_284' -'285','val_285' -'286','val_286' -'287','val_287' -'288','val_288' -'288','val_288' -'289','val_289' -'291','val_291' -'292','val_292' -'296','val_296' -'298','val_298' -'298','val_298' -'298','val_298' -'30','val_30' -'302','val_302' -'305','val_305' -'306','val_306' -'307','val_307' -'307','val_307' -'308','val_308' -'309','val_309' -'309','val_309' -'310','val_310' -'311','val_311' -'311','val_311' -'311','val_311' -'315','val_315' -'316','val_316' -'316','val_316' -'316','val_316' -'317','val_317' -'317','val_317' -'318','val_318' -'318','val_318' -'318','val_318' -'321','val_321' -'321','val_321' -'322','val_322' -'322','val_322' -'323','val_323' -'325','val_325' -'325','val_325' -'327','val_327' -'327','val_327' -'327','val_327' -'33','val_33' -'331','val_331' -'331','val_331' -'332','val_332' -'333','val_333' -'333','val_333' -'335','val_335' -'336','val_336' -'338','val_338' -'339','val_339' -'34','val_34' -'341','val_341' -'342','val_342' -'342','val_342' -'344','val_344' -'344','val_344' -'345','val_345' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'35','val_35' -'35','val_35' -'35','val_35' -'351','val_351' -'353','val_353' -'353','val_353' -'356','val_356' -'360','val_360' -'362','val_362' -'364','val_364' -'365','val_365' -'366','val_366' -'367','val_367' -'367','val_367' -'368','val_368' -'369','val_369' -'369','val_369' -'369','val_369' -'37','val_37' -'37','val_37' -'373','val_373' -'374','val_374' -'375','val_375' -'377','val_377' -'378','val_378' -'379','val_379' -'382','val_382' -'382','val_382' -'384','val_384' -'384','val_384' -'384','val_384' -'386','val_386' -'389','val_389' -'392','val_392' -'393','val_393' -'394','val_394' -'395','val_395' -'395','val_395' -'396','val_396' -'396','val_396' -'396','val_396' -'397','val_397' -'397','val_397' -'399','val_399' -'399','val_399' -'4','val_4' -'400','val_400' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'402','val_402' -'403','val_403' -'403','val_403' -'403','val_403' -'404','val_404' -'404','val_404' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'407','val_407' -'409','val_409' -'409','val_409' -'409','val_409' -'41','val_41' -'411','val_411' -'413','val_413' -'413','val_413' -'414','val_414' -'414','val_414' -'417','val_417' -'417','val_417' -'417','val_417' -'418','val_418' -'419','val_419' -'42','val_42' -'42','val_42' -'421','val_421' -'424','val_424' -'424','val_424' -'427','val_427' -'429','val_429' -'429','val_429' -'43','val_43' -'430','val_430' -'430','val_430' -'430','val_430' -'431','val_431' -'431','val_431' -'431','val_431' -'432','val_432' -'435','val_435' -'436','val_436' -'437','val_437' -'438','val_438' -'438','val_438' -'438','val_438' -'439','val_439' -'439','val_439' -'44','val_44' -'443','val_443' -'444','val_444' -'446','val_446' -'448','val_448' -'449','val_449' -'452','val_452' -'453','val_453' -'454','val_454' -'454','val_454' -'454','val_454' -'455','val_455' -'457','val_457' -'458','val_458' -'458','val_458' -'459','val_459' -'459','val_459' -'460','val_460' -'462','val_462' -'462','val_462' -'463','val_463' -'463','val_463' -'466','val_466' -'466','val_466' -'466','val_466' -'467','val_467' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'47','val_47' -'470','val_470' -'472','val_472' -'475','val_475' -'477','val_477' -'478','val_478' -'478','val_478' -'479','val_479' -'480','val_480' -'480','val_480' -'480','val_480' -'481','val_481' -'482','val_482' -'483','val_483' -'484','val_484' -'485','val_485' -'487','val_487' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'490','val_490' -'491','val_491' -'492','val_492' -'492','val_492' -'493','val_493' -'494','val_494' -'495','val_495' -'496','val_496' -'497','val_497' -'498','val_498' -'498','val_498' -'498','val_498' -'5','val_5' -'5','val_5' -'5','val_5' -'51','val_51' -'51','val_51' -'53','val_53' -'54','val_54' -'57','val_57' -'58','val_58' -'58','val_58' -'64','val_64' -'65','val_65' -'66','val_66' -'67','val_67' -'67','val_67' -'69','val_69' -'70','val_70' -'70','val_70' -'70','val_70' -'72','val_72' -'72','val_72' -'74','val_74' -'76','val_76' -'76','val_76' -'77','val_77' -'78','val_78' -'8','val_8' -'80','val_80' -'82','val_82' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'9','val_9' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'95','val_95' -'95','val_95' -'96','val_96' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -500 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/combine3.q.out ql/src/test/results/beelinepositive/combine3.q.out deleted file mode 100644 index 82d91ad..0000000 --- ql/src/test/results/beelinepositive/combine3.q.out +++ /dev/null @@ -1,148 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/combine3.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/combine3.q ->>> set hive.exec.compress.output = true; -No rows affected ->>> set hive.input.format=org.apache.hadoop.hive.ql.io.CombineHiveInputFormat; -No rows affected ->>> set mapred.min.split.size=256; -No rows affected ->>> set mapred.min.split.size.per.node=256; -No rows affected ->>> set mapred.min.split.size.per.rack=256; -No rows affected ->>> set mapred.max.split.size=256; -No rows affected ->>> ->>> ->>> drop table combine_3_srcpart_seq_rc; -No rows affected ->>> ->>> create table combine_3_srcpart_seq_rc (key int , value string) partitioned by (ds string, hr string) stored as sequencefile; -No rows affected ->>> ->>> insert overwrite table combine_3_srcpart_seq_rc partition (ds="2010-08-03", hr="00") select * from src; -'_col0','_col1' -No rows selected ->>> ->>> alter table combine_3_srcpart_seq_rc set fileformat rcfile; -No rows affected ->>> insert overwrite table combine_3_srcpart_seq_rc partition (ds="2010-08-03", hr="001") select * from src; -'_col0','_col1' -No rows selected ->>> ->>> desc extended combine_3_srcpart_seq_rc partition(ds="2010-08-03", hr="00"); -'col_name','data_type','comment' -'key','int','' -'value','string','' -'ds','string','' -'hr','string','' -'','','' -'Detailed Partition Information','Partition(values:[2010-08-03, 00], dbName:combine3, tableName:combine_3_srcpart_seq_rc, createTime:!!UNIXTIME!!, lastAccessTime: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), FieldSchema(name:hr, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/combine3.db/combine_3_srcpart_seq_rc/ds=2010-08-03/hr=00, inputFormat:org.apache.hadoop.mapred.SequenceFileInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), parameters:{numFiles=1, transient_lastDdlTime=!!UNIXTIME!!, numRows=500, totalSize=15250, rawDataSize=5312})','' -6 rows selected ->>> desc extended combine_3_srcpart_seq_rc partition(ds="2010-08-03", hr="001"); -'col_name','data_type','comment' -'key','int','' -'value','string','' -'ds','string','' -'hr','string','' -'','','' -'Detailed Partition Information','Partition(values:[2010-08-03, 001], dbName:combine3, tableName:combine_3_srcpart_seq_rc, createTime:!!UNIXTIME!!, lastAccessTime: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), FieldSchema(name:hr, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/combine3.db/combine_3_srcpart_seq_rc/ds=2010-08-03/hr=001, 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:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), parameters:{numFiles=1, transient_lastDdlTime=!!UNIXTIME!!, numRows=500, totalSize=1981, rawDataSize=4812})','' -6 rows selected ->>> ->>> select key, value, ds, hr from combine_3_srcpart_seq_rc where ds="2010-08-03" order by key, hr limit 30; -'key','value','ds','hr' -'0','val_0','2010-08-03','00' -'0','val_0','2010-08-03','00' -'0','val_0','2010-08-03','00' -'0','val_0','2010-08-03','001' -'0','val_0','2010-08-03','001' -'0','val_0','2010-08-03','001' -'2','val_2','2010-08-03','00' -'2','val_2','2010-08-03','001' -'4','val_4','2010-08-03','00' -'4','val_4','2010-08-03','001' -'5','val_5','2010-08-03','00' -'5','val_5','2010-08-03','00' -'5','val_5','2010-08-03','00' -'5','val_5','2010-08-03','001' -'5','val_5','2010-08-03','001' -'5','val_5','2010-08-03','001' -'8','val_8','2010-08-03','00' -'8','val_8','2010-08-03','001' -'9','val_9','2010-08-03','00' -'9','val_9','2010-08-03','001' -'10','val_10','2010-08-03','00' -'10','val_10','2010-08-03','001' -'11','val_11','2010-08-03','00' -'11','val_11','2010-08-03','001' -'12','val_12','2010-08-03','00' -'12','val_12','2010-08-03','00' -'12','val_12','2010-08-03','001' -'12','val_12','2010-08-03','001' -'15','val_15','2010-08-03','00' -'15','val_15','2010-08-03','00' -30 rows selected ->>> ->>> set hive.enforce.bucketing = true; -No rows affected ->>> set hive.exec.reducers.max = 1; -No rows affected ->>> ->>> drop table bucket3_1; -No rows affected ->>> CREATE TABLE combine_3_srcpart_seq_rc_bucket(key int, value string) partitioned by (ds string) CLUSTERED BY (key) INTO 2 BUCKETS stored as sequencefile; -No rows affected ->>> ->>> insert overwrite table combine_3_srcpart_seq_rc_bucket partition (ds='1') -select * from src; -'_col0','_col1' -No rows selected ->>> ->>> alter table combine_3_srcpart_seq_rc_bucket set fileformat rcfile; -No rows affected ->>> ->>> insert overwrite table combine_3_srcpart_seq_rc_bucket partition (ds='11') -select * from src; -'_col0','_col1' -No rows selected ->>> ->>> select key, ds from combine_3_srcpart_seq_rc_bucket tablesample (bucket 1 out of 2) s where ds = '1' or ds= '11' order by key, ds limit 30; -'key','ds' -'0','1' -'0','1' -'0','1' -'0','11' -'0','11' -'0','11' -'2','1' -'2','11' -'4','1' -'4','11' -'8','1' -'8','11' -'10','1' -'10','11' -'12','1' -'12','1' -'12','11' -'12','11' -'18','1' -'18','1' -'18','11' -'18','11' -'20','1' -'20','11' -'24','1' -'24','1' -'24','11' -'24','11' -'26','1' -'26','1' -30 rows selected ->>> ->>> drop table combine_3_srcpart_seq_rc_bucket; -No rows affected ->>> ->>> drop table combine_3_srcpart_seq_rc; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/concatenate_inherit_table_location.q.out ql/src/test/results/beelinepositive/concatenate_inherit_table_location.q.out deleted file mode 100644 index ba2201d..0000000 --- ql/src/test/results/beelinepositive/concatenate_inherit_table_location.q.out +++ /dev/null @@ -1,37 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/concatenate_inherit_table_location.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/concatenate_inherit_table_location.q ->>> CREATE TABLE citl_table (key STRING, value STRING) PARTITIONED BY (part STRING) -STORED AS RCFILE -LOCATION 'pfile:${system:test.tmp.dir}/citl_table'; -No rows affected ->>> ->>> SET hive.exec.post.hooks=org.apache.hadoop.hive.ql.hooks.VerifyPartitionIsSubdirectoryOfTableHook; -No rows affected ->>> ->>> INSERT OVERWRITE TABLE citl_table PARTITION (part = '1') SELECT * FROM src; -'key','value' -No rows selected ->>> ->>> SET hive.exec.post.hooks=; -No rows affected ->>> ->>> ALTER TABLE citl_table SET LOCATION 'file:${system:test.tmp.dir}/citl_table'; -No rows affected ->>> ->>> ALTER TABLE citl_table PARTITION (part = '1') CONCATENATE; -No rows affected ->>> ->>> SET hive.exec.post.hooks=org.apache.hadoop.hive.ql.hooks.VerifyPartitionIsSubdirectoryOfTableHook; -No rows affected ->>> ->>> SELECT count(*) FROM citl_table where part = '1'; -'_c0' -'500' -1 row selected ->>> ->>> SET hive.exec.post.hooks=; -No rows affected ->>> ->>> DROP TABLE citl_table; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/convert_enum_to_string.q.out ql/src/test/results/beelinepositive/convert_enum_to_string.q.out deleted file mode 100644 index b576c73..0000000 --- ql/src/test/results/beelinepositive/convert_enum_to_string.q.out +++ /dev/null @@ -1,37 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/convert_enum_to_string.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/convert_enum_to_string.q ->>> -- Ensure Enum fields are converted to strings (instead of struct) ->>> ->>> create table convert_enum_to_string -partitioned by (b string) -row format serde "org.apache.hadoop.hive.serde2.thrift.ThriftDeserializer" -with serdeproperties ( -"serialization.class"="org.apache.hadoop.hive.serde2.thrift.test.MegaStruct", -"serialization.format"="org.apache.thrift.protocol.TBinaryProtocol"); -No rows affected ->>> ->>> describe convert_enum_to_string; -'col_name','data_type','comment' -'my_bool','boolean','from deserializer' -'my_byte','tinyint','from deserializer' -'my_16bit_int','smallint','from deserializer' -'my_32bit_int','int','from deserializer' -'my_64bit_int','bigint','from deserializer' -'my_double','double','from deserializer' -'my_string','string','from deserializer' -'my_binary','struct','from deserializer' -'my_string_string_map','map','from deserializer' -'my_string_enum_map','map','from deserializer' -'my_enum_string_map','map','from deserializer' -'my_enum_struct_map','map>','from deserializer' -'my_enum_stringlist_map','map>','from deserializer' -'my_enum_structlist_map','map>>','from deserializer' -'my_stringlist','array','from deserializer' -'my_structlist','array>','from deserializer' -'my_enumlist','array','from deserializer' -'my_stringset','array','from deserializer' -'my_enumset','array','from deserializer' -'my_structset','array>','from deserializer' -'b','string','' -21 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/count.q.out ql/src/test/results/beelinepositive/count.q.out deleted file mode 100644 index 3f29d85..0000000 --- ql/src/test/results/beelinepositive/count.q.out +++ /dev/null @@ -1,553 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/count.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/count.q ->>> create table abcd (a int, b int, c int, d int); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/in4.txt' INTO TABLE abcd; -No rows affected ->>> ->>> select * from abcd; -'a','b','c','d' -'','35','23','6' -'10','1000','50','1' -'100','100','10','3' -'12','','80','2' -'10','100','','5' -'10','100','45','4' -'12','100','75','7' -7 rows selected ->>> set hive.map.aggr=true; -No rows affected ->>> explain select a, count(distinct b), count(distinct c), sum(d) from abcd group by a; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME abcd))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL a)) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL b))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL c))) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_TABLE_OR_COL d)))) (TOK_GROUPBY (TOK_TABLE_OR_COL a))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' abcd ' -' TableScan' -' alias: abcd' -' Select Operator' -' expressions:' -' expr: a' -' type: int' -' expr: b' -' type: int' -' expr: c' -' type: int' -' expr: d' -' type: int' -' outputColumnNames: a, b, c, d' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT b)' -' expr: count(DISTINCT c)' -' expr: sum(d)' -' bucketGroup: false' -' keys:' -' expr: a' -' type: int' -' expr: b' -' type: int' -' expr: c' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: int' -' sort order: +++' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col3' -' type: bigint' -' expr: _col4' -' type: bigint' -' expr: _col5' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col1:0._col0)' -' expr: count(DISTINCT KEY._col1:1._col0)' -' expr: sum(VALUE._col2)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: bigint' -' expr: _col3' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -95 rows selected ->>> select a, count(distinct b), count(distinct c), sum(d) from abcd group by a; -'a','_c1','_c2','_c3' -'','1','1','6' -'10','2','2','10' -'12','1','2','9' -'100','1','1','3' -4 rows selected ->>> ->>> explain select count(1), count(*), count(a), count(b), count(c), count(d), count(distinct a), count(distinct b), count(distinct c), count(distinct d), count(distinct a,b), count(distinct b,c), count(distinct c,d), count(distinct a,d), count(distinct a,c), count(distinct b,d), count(distinct a,b,c), count(distinct b,c,d), count(distinct a,c,d), count(distinct a,b,d), count(distinct a,b,c,d) from abcd; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME abcd))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1)) (TOK_SELEXPR (TOK_FUNCTIONSTAR count)) (TOK_SELEXPR (TOK_FUNCTION count (TOK_TABLE_OR_COL a))) (TOK_SELEXPR (TOK_FUNCTION count (TOK_TABLE_OR_COL b))) (TOK_SELEXPR (TOK_FUNCTION count (TOK_TABLE_OR_COL c))) (TOK_SELEXPR (TOK_FUNCTION count (TOK_TABLE_OR_COL d))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL a))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL b))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL c))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL d))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL a) (TOK_TABLE_OR_COL b))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL b) (TOK_TABLE_OR_COL c))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL c) (TOK_TABLE_OR_COL d))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL a) (TOK_TABLE_OR_COL d))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL a) (TOK_TABLE_OR_COL c))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL b) (TOK_TABLE_OR_COL d))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL a) (TOK_TABLE_OR_COL b) (TOK_TABLE_OR_COL c))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL b) (TOK_TABLE_OR_COL c) (TOK_TABLE_OR_COL d))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL a) (TOK_TABLE_OR_COL c) (TOK_TABLE_OR_COL d))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL a) (TOK_TABLE_OR_COL b) (TOK_TABLE_OR_COL d))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL a) (TOK_TABLE_OR_COL b) (TOK_TABLE_OR_COL c) (TOK_TABLE_OR_COL d))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' abcd ' -' TableScan' -' alias: abcd' -' Select Operator' -' expressions:' -' expr: a' -' type: int' -' expr: b' -' type: int' -' expr: c' -' type: int' -' expr: d' -' type: int' -' outputColumnNames: a, b, c, d' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' expr: count()' -' expr: count(a)' -' expr: count(b)' -' expr: count(c)' -' expr: count(d)' -' expr: count(DISTINCT a)' -' expr: count(DISTINCT b)' -' expr: count(DISTINCT c)' -' expr: count(DISTINCT d)' -' expr: count(DISTINCT a, b)' -' expr: count(DISTINCT b, c)' -' expr: count(DISTINCT c, d)' -' expr: count(DISTINCT a, d)' -' expr: count(DISTINCT a, c)' -' expr: count(DISTINCT b, d)' -' expr: count(DISTINCT a, b, c)' -' expr: count(DISTINCT b, c, d)' -' expr: count(DISTINCT a, c, d)' -' expr: count(DISTINCT a, b, d)' -' expr: count(DISTINCT a, b, c, d)' -' bucketGroup: false' -' keys:' -' expr: a' -' type: int' -' expr: b' -' type: int' -' expr: c' -' type: int' -' expr: d' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, _col16, _col17, _col18, _col19, _col20, _col21, _col22, _col23, _col24' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: int' -' expr: _col3' -' type: int' -' sort order: ++++' -' tag: -1' -' value expressions:' -' expr: _col4' -' type: bigint' -' expr: _col5' -' type: bigint' -' expr: _col6' -' type: bigint' -' expr: _col7' -' type: bigint' -' expr: _col8' -' type: bigint' -' expr: _col9' -' type: bigint' -' expr: _col10' -' type: bigint' -' expr: _col11' -' type: bigint' -' expr: _col12' -' type: bigint' -' expr: _col13' -' type: bigint' -' expr: _col14' -' type: bigint' -' expr: _col15' -' type: bigint' -' expr: _col16' -' type: bigint' -' expr: _col17' -' type: bigint' -' expr: _col18' -' type: bigint' -' expr: _col19' -' type: bigint' -' expr: _col20' -' type: bigint' -' expr: _col21' -' type: bigint' -' expr: _col22' -' type: bigint' -' expr: _col23' -' type: bigint' -' expr: _col24' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' expr: count(VALUE._col1)' -' expr: count(VALUE._col2)' -' expr: count(VALUE._col3)' -' expr: count(VALUE._col4)' -' expr: count(VALUE._col5)' -' expr: count(DISTINCT KEY._col0:0._col0)' -' expr: count(DISTINCT KEY._col0:1._col0)' -' expr: count(DISTINCT KEY._col0:2._col0)' -' expr: count(DISTINCT KEY._col0:3._col0)' -' expr: count(DISTINCT KEY._col0:4._col0, KEY._col0:4._col1)' -' expr: count(DISTINCT KEY._col0:5._col0, KEY._col0:5._col1)' -' expr: count(DISTINCT KEY._col0:6._col0, KEY._col0:6._col1)' -' expr: count(DISTINCT KEY._col0:7._col0, KEY._col0:7._col1)' -' expr: count(DISTINCT KEY._col0:8._col0, KEY._col0:8._col1)' -' expr: count(DISTINCT KEY._col0:9._col0, KEY._col0:9._col1)' -' expr: count(DISTINCT KEY._col0:10._col0, KEY._col0:10._col1, KEY._col0:10._col2)' -' expr: count(DISTINCT KEY._col0:11._col0, KEY._col0:11._col1, KEY._col0:11._col2)' -' expr: count(DISTINCT KEY._col0:12._col0, KEY._col0:12._col1, KEY._col0:12._col2)' -' expr: count(DISTINCT KEY._col0:13._col0, KEY._col0:13._col1, KEY._col0:13._col2)' -' expr: count(DISTINCT KEY._col0:14._col0, KEY._col0:14._col1, KEY._col0:14._col2, KEY._col0:14._col3)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, _col16, _col17, _col18, _col19, _col20' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: bigint' -' expr: _col3' -' type: bigint' -' expr: _col4' -' type: bigint' -' expr: _col5' -' type: bigint' -' expr: _col6' -' type: bigint' -' expr: _col7' -' type: bigint' -' expr: _col8' -' type: bigint' -' expr: _col9' -' type: bigint' -' expr: _col10' -' type: bigint' -' expr: _col11' -' type: bigint' -' expr: _col12' -' type: bigint' -' expr: _col13' -' type: bigint' -' expr: _col14' -' type: bigint' -' expr: _col15' -' type: bigint' -' expr: _col16' -' type: bigint' -' expr: _col17' -' type: bigint' -' expr: _col18' -' type: bigint' -' expr: _col19' -' type: bigint' -' expr: _col20' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, _col16, _col17, _col18, _col19, _col20' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -199 rows selected ->>> select count(1), count(*), count(a), count(b), count(c), count(d), count(distinct a), count(distinct b), count(distinct c), count(distinct d), count(distinct a,b), count(distinct b,c), count(distinct c,d), count(distinct a,d), count(distinct a,c), count(distinct b,d), count(distinct a,b,c), count(distinct b,c,d), count(distinct a,c,d), count(distinct a,b,d), count(distinct a,b,c,d) from abcd; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6','_c7','_c8','_c9','_c10','_c11','_c12','_c13','_c14','_c15','_c16','_c17','_c18','_c19','_c20' -'7','7','6','6','6','7','3','3','6','7','4','5','6','6','5','6','4','5','5','5','4' -1 row selected ->>> ->>> set hive.map.aggr=false; -No rows affected ->>> explain select a, count(distinct b), count(distinct c), sum(d) from abcd group by a; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME abcd))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL a)) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL b))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL c))) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_TABLE_OR_COL d)))) (TOK_GROUPBY (TOK_TABLE_OR_COL a))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' abcd ' -' TableScan' -' alias: abcd' -' Select Operator' -' expressions:' -' expr: a' -' type: int' -' expr: b' -' type: int' -' expr: c' -' type: int' -' expr: d' -' type: int' -' outputColumnNames: a, b, c, d' -' Reduce Output Operator' -' key expressions:' -' expr: a' -' type: int' -' expr: b' -' type: int' -' expr: c' -' type: int' -' sort order: +++' -' Map-reduce partition columns:' -' expr: a' -' type: int' -' tag: -1' -' value expressions:' -' expr: d' -' type: int' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col1:0._col0)' -' expr: count(DISTINCT KEY._col1:1._col0)' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' mode: complete' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: bigint' -' expr: _col3' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -76 rows selected ->>> select a, count(distinct b), count(distinct c), sum(d) from abcd group by a; -'a','_c1','_c2','_c3' -'','1','1','6' -'10','2','2','10' -'12','1','2','9' -'100','1','1','3' -4 rows selected ->>> ->>> explain select count(1), count(*), count(a), count(b), count(c), count(d), count(distinct a), count(distinct b), count(distinct c), count(distinct d), count(distinct a,b), count(distinct b,c), count(distinct c,d), count(distinct a,d), count(distinct a,c), count(distinct b,d), count(distinct a,b,c), count(distinct b,c,d), count(distinct a,c,d), count(distinct a,b,d), count(distinct a,b,c,d) from abcd; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME abcd))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1)) (TOK_SELEXPR (TOK_FUNCTIONSTAR count)) (TOK_SELEXPR (TOK_FUNCTION count (TOK_TABLE_OR_COL a))) (TOK_SELEXPR (TOK_FUNCTION count (TOK_TABLE_OR_COL b))) (TOK_SELEXPR (TOK_FUNCTION count (TOK_TABLE_OR_COL c))) (TOK_SELEXPR (TOK_FUNCTION count (TOK_TABLE_OR_COL d))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL a))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL b))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL c))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL d))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL a) (TOK_TABLE_OR_COL b))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL b) (TOK_TABLE_OR_COL c))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL c) (TOK_TABLE_OR_COL d))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL a) (TOK_TABLE_OR_COL d))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL a) (TOK_TABLE_OR_COL c))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL b) (TOK_TABLE_OR_COL d))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL a) (TOK_TABLE_OR_COL b) (TOK_TABLE_OR_COL c))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL b) (TOK_TABLE_OR_COL c) (TOK_TABLE_OR_COL d))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL a) (TOK_TABLE_OR_COL c) (TOK_TABLE_OR_COL d))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL a) (TOK_TABLE_OR_COL b) (TOK_TABLE_OR_COL d))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL a) (TOK_TABLE_OR_COL b) (TOK_TABLE_OR_COL c) (TOK_TABLE_OR_COL d))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' abcd ' -' TableScan' -' alias: abcd' -' Select Operator' -' expressions:' -' expr: a' -' type: int' -' expr: b' -' type: int' -' expr: c' -' type: int' -' expr: d' -' type: int' -' outputColumnNames: a, b, c, d' -' Reduce Output Operator' -' key expressions:' -' expr: a' -' type: int' -' expr: b' -' type: int' -' expr: c' -' type: int' -' expr: d' -' type: int' -' sort order: ++++' -' tag: -1' -' value expressions:' -' expr: 1' -' type: int' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' expr: count()' -' expr: count(KEY._col0:14._col0)' -' expr: count(KEY._col0:14._col1)' -' expr: count(KEY._col0:14._col2)' -' expr: count(KEY._col0:14._col3)' -' expr: count(DISTINCT KEY._col0:0._col0)' -' expr: count(DISTINCT KEY._col0:1._col0)' -' expr: count(DISTINCT KEY._col0:2._col0)' -' expr: count(DISTINCT KEY._col0:3._col0)' -' expr: count(DISTINCT KEY._col0:4._col0, KEY._col0:4._col1)' -' expr: count(DISTINCT KEY._col0:5._col0, KEY._col0:5._col1)' -' expr: count(DISTINCT KEY._col0:6._col0, KEY._col0:6._col1)' -' expr: count(DISTINCT KEY._col0:7._col0, KEY._col0:7._col1)' -' expr: count(DISTINCT KEY._col0:8._col0, KEY._col0:8._col1)' -' expr: count(DISTINCT KEY._col0:9._col0, KEY._col0:9._col1)' -' expr: count(DISTINCT KEY._col0:10._col0, KEY._col0:10._col1, KEY._col0:10._col2)' -' expr: count(DISTINCT KEY._col0:11._col0, KEY._col0:11._col1, KEY._col0:11._col2)' -' expr: count(DISTINCT KEY._col0:12._col0, KEY._col0:12._col1, KEY._col0:12._col2)' -' expr: count(DISTINCT KEY._col0:13._col0, KEY._col0:13._col1, KEY._col0:13._col2)' -' expr: count(DISTINCT KEY._col0:14._col0, KEY._col0:14._col1, KEY._col0:14._col2, KEY._col0:14._col3)' -' bucketGroup: false' -' mode: complete' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, _col16, _col17, _col18, _col19, _col20' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: bigint' -' expr: _col3' -' type: bigint' -' expr: _col4' -' type: bigint' -' expr: _col5' -' type: bigint' -' expr: _col6' -' type: bigint' -' expr: _col7' -' type: bigint' -' expr: _col8' -' type: bigint' -' expr: _col9' -' type: bigint' -' expr: _col10' -' type: bigint' -' expr: _col11' -' type: bigint' -' expr: _col12' -' type: bigint' -' expr: _col13' -' type: bigint' -' expr: _col14' -' type: bigint' -' expr: _col15' -' type: bigint' -' expr: _col16' -' type: bigint' -' expr: _col17' -' type: bigint' -' expr: _col18' -' type: bigint' -' expr: _col19' -' type: bigint' -' expr: _col20' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, _col16, _col17, _col18, _col19, _col20' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -124 rows selected ->>> select count(1), count(*), count(a), count(b), count(c), count(d), count(distinct a), count(distinct b), count(distinct c), count(distinct d), count(distinct a,b), count(distinct b,c), count(distinct c,d), count(distinct a,d), count(distinct a,c), count(distinct b,d), count(distinct a,b,c), count(distinct b,c,d), count(distinct a,c,d), count(distinct a,b,d), count(distinct a,b,c,d) from abcd; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6','_c7','_c8','_c9','_c10','_c11','_c12','_c13','_c14','_c15','_c16','_c17','_c18','_c19','_c20' -'7','7','6','6','6','7','3','3','6','7','4','5','6','6','5','6','4','5','5','5','4' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/cp_mj_rc.q.out ql/src/test/results/beelinepositive/cp_mj_rc.q.out deleted file mode 100644 index 02038f8..0000000 --- ql/src/test/results/beelinepositive/cp_mj_rc.q.out +++ /dev/null @@ -1,20 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/cp_mj_rc.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/cp_mj_rc.q ->>> create table src_six_columns (k1 string, v1 string, k2 string, v2 string, k3 string, v3 string) stored as rcfile; -No rows affected ->>> insert overwrite table src_six_columns select value, value, key, value, value, value from src; -'value','value','key','value','value','value' -No rows selected ->>> create table src_two_columns (k1 string, v1 string) stored as rcfile; -No rows affected ->>> insert overwrite table src_two_columns select key, value from src; -'key','value' -No rows selected ->>> SELECT /*+ MAPJOIN(six) */ six.*, two.k1 from src_six_columns six join src_two_columns two on (six.k3=two.k1); -'k1','v1','k2','v2','k3','v3','k1' -No rows selected ->>> ->>> SELECT /*+ MAPJOIN(two) */ two.*, six.k3 from src_six_columns six join src_two_columns two on (six.k3=two.k1); -'k1','v1','k3' -No rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/create_1.q.out ql/src/test/results/beelinepositive/create_1.q.out deleted file mode 100644 index 9e35cbf..0000000 --- ql/src/test/results/beelinepositive/create_1.q.out +++ /dev/null @@ -1,89 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/create_1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/create_1.q ->>> set fs.default.name=invalidscheme:///; -No rows affected ->>> ->>> CREATE TABLE table1 (a STRING, b STRING) STORED AS TEXTFILE; -No rows affected ->>> DESCRIBE table1; -'col_name','data_type','comment' -'a','string','' -'b','string','' -2 rows selected ->>> DESCRIBE EXTENDED table1; -'col_name','data_type','comment' -'a','string','' -'b','string','' -'','','' -'Detailed Table Information','Table(tableName:table1, dbName:create_1, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:a, type:string, comment:null), FieldSchema(name:b, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/create_1.db/table1, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -4 rows selected ->>> ->>> CREATE TABLE IF NOT EXISTS table1 (a STRING, b STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> CREATE TABLE IF NOT EXISTS table2 (a STRING, b INT) STORED AS TEXTFILE; -No rows affected ->>> DESCRIBE table2; -'col_name','data_type','comment' -'a','string','' -'b','int','' -2 rows selected ->>> DESCRIBE EXTENDED table2; -'col_name','data_type','comment' -'a','string','' -'b','int','' -'','','' -'Detailed Table Information','Table(tableName:table2, dbName:create_1, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:a, type:string, comment:null), FieldSchema(name:b, type:int, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/create_1.db/table2, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -4 rows selected ->>> ->>> CREATE TABLE table3 (a STRING, b STRING) -ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t' -STORED AS TEXTFILE; -No rows affected ->>> DESCRIBE table3; -'col_name','data_type','comment' -'a','string','' -'b','string','' -2 rows selected ->>> DESCRIBE EXTENDED table3; -'col_name','data_type','comment' -'a','string','' -'b','string','' -'','','' -'Detailed Table Information','Table(tableName:table3, dbName:create_1, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:a, type:string, comment:null), FieldSchema(name:b, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/create_1.db/table3, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=',', field.delim=' -4 rows selected ->>> ->>> CREATE TABLE table4 (a STRING, b STRING) -ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t' -STORED AS SEQUENCEFILE; -No rows affected ->>> DESCRIBE table4; -'col_name','data_type','comment' -'a','string','' -'b','string','' -2 rows selected ->>> DESCRIBE EXTENDED table4; -'col_name','data_type','comment' -'a','string','' -'b','string','' -'','','' -'Detailed Table Information','Table(tableName:table4, dbName:create_1, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:a, type:string, comment:null), FieldSchema(name:b, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/create_1.db/table4, inputFormat:org.apache.hadoop.mapred.SequenceFileInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=',', field.delim=' -4 rows selected ->>> ->>> CREATE TABLE table5 (a STRING, b STRING) -ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t' -STORED AS RCFILE; -No rows affected ->>> DESCRIBE table5; -'col_name','data_type','comment' -'a','string','' -'b','string','' -2 rows selected ->>> DESCRIBE EXTENDED table5; -'col_name','data_type','comment' -'a','string','' -'b','string','' -'','','' -'Detailed Table Information','Table(tableName:table5, dbName:create_1, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:a, type:string, comment:null), FieldSchema(name:b, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/create_1.db/table5, 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=',', field.delim=' -4 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/create_big_view.q.out ql/src/test/results/beelinepositive/create_big_view.q.out deleted file mode 100644 index 7c1c3c8..0000000 --- ql/src/test/results/beelinepositive/create_big_view.q.out +++ /dev/null @@ -1,256 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/create_big_view.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/create_big_view.q ->>> DROP VIEW big_view; -No rows affected ->>> ->>> -- Define a view with long SQL text to test metastore and other limits. ->>> ->>> CREATE VIEW big_view AS SELECT -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' AS a, -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' -FROM src; -'a','_c1','_c2','_c3','_c4','_c5','_c6','_c7','_c8','_c9','_c10','_c11','_c12','_c13','_c14','_c15','_c16','_c17','_c18','_c19','_c20','_c21','_c22','_c23','_c24','_c25','_c26','_c27','_c28','_c29','_c30','_c31','_c32','_c33','_c34','_c35','_c36','_c37','_c38','_c39','_c40','_c41','_c42','_c43','_c44','_c45','_c46','_c47','_c48','_c49','_c50','_c51','_c52','_c53','_c54','_c55','_c56','_c57','_c58','_c59','_c60','_c61','_c62','_c63','_c64','_c65','_c66','_c67','_c68','_c69','_c70','_c71','_c72','_c73','_c74','_c75','_c76','_c77','_c78','_c79','_c80','_c81','_c82','_c83','_c84','_c85','_c86','_c87','_c88','_c89','_c90','_c91','_c92','_c93','_c94','_c95','_c96','_c97','_c98','_c99','_c100','_c101','_c102','_c103','_c104','_c105','_c106','_c107','_c108','_c109','_c110','_c111','_c112','_c113','_c114','_c115','_c116','_c117','_c118','_c119','_c120','_c121','_c122','_c123','_c124','_c125','_c126','_c127','_c128','_c129','_c130','_c131','_c132','_c133','_c134','_c135','_c136','_c137','_c138','_c139','_c140','_c141','_c142','_c143','_c144','_c145','_c146','_c147','_c148','_c149','_c150','_c151','_c152','_c153','_c154','_c155','_c156','_c157','_c158','_c159','_c160','_c161','_c162','_c163','_c164','_c165','_c166','_c167','_c168','_c169','_c170','_c171','_c172','_c173','_c174','_c175','_c176','_c177','_c178','_c179','_c180','_c181','_c182','_c183','_c184','_c185','_c186','_c187','_c188','_c189','_c190','_c191','_c192','_c193','_c194','_c195','_c196','_c197','_c198','_c199','_c200','_c201','_c202','_c203','_c204','_c205','_c206','_c207','_c208','_c209','_c210','_c211','_c212','_c213','_c214','_c215','_c216','_c217','_c218','_c219','_c220','_c221','_c222','_c223','_c224','_c225','_c226','_c227','_c228','_c229','_c230','_c231','_c232','_c233','_c234' -No rows selected ->>> ->>> SELECT a FROM big_view -LIMIT 1; -'a' -'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' -1 row selected ->>> ->>> DROP VIEW big_view; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/create_default_prop.q.out ql/src/test/results/beelinepositive/create_default_prop.q.out deleted file mode 100644 index 715c728..0000000 --- ql/src/test/results/beelinepositive/create_default_prop.q.out +++ /dev/null @@ -1,34 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/create_default_prop.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/create_default_prop.q ->>> set hive.table.parameters.default=p1=v1,P2=v21=v22=v23; -No rows affected ->>> CREATE TABLE table_p1 (a STRING); -No rows affected ->>> DESC EXTENDED table_p1; -'col_name','data_type','comment' -'a','string','' -'','','' -'Detailed Table Information','Table(tableName:table_p1, dbName:create_default_prop, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:a, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/create_default_prop.db/table_p1, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{p1=v1, transient_lastDdlTime=!!UNIXTIME!!, P2=v21=v22=v23}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -3 rows selected ->>> ->>> set hive.table.parameters.default=p3=v3; -No rows affected ->>> CREATE TABLE table_p2 LIKE table_p1; -No rows affected ->>> DESC EXTENDED table_p2; -'col_name','data_type','comment' -'a','string','' -'','','' -'Detailed Table Information','Table(tableName:table_p2, dbName:create_default_prop, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:a, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/create_default_prop.db/table_p2, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -3 rows selected ->>> ->>> CREATE TABLE table_p3 AS SELECT * FROM table_p1; -'a' -No rows selected ->>> DESC EXTENDED table_p3; -'col_name','data_type','comment' -'a','string','' -'','','' -'Detailed Table Information','Table(tableName:table_p3, dbName:create_default_prop, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:a, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/create_default_prop.db/table_p3, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{numPartitions=0, numFiles=1, p3=v3, transient_lastDdlTime=!!UNIXTIME!!, numRows=0, totalSize=0, rawDataSize=0}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -3 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/create_escape.q.out ql/src/test/results/beelinepositive/create_escape.q.out deleted file mode 100644 index 5f86ea7..0000000 --- ql/src/test/results/beelinepositive/create_escape.q.out +++ /dev/null @@ -1,29 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/create_escape.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/create_escape.q ->>> CREATE TABLE table1 (a STRING, b STRING) -ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t' ESCAPED BY '\\' -STORED AS TEXTFILE; -No rows affected ->>> ->>> DESCRIBE table1; -'col_name','data_type','comment' -'a','string','' -'b','string','' -2 rows selected ->>> DESCRIBE EXTENDED table1; -'col_name','data_type','comment' -'a','string','' -'b','string','' -'','','' -'Detailed Table Information','Table(tableName:table1, dbName:create_escape, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:a, type:string, comment:null), FieldSchema(name:b, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/create_escape.db/table1, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{escape.delim=\, serialization.format=',', field.delim=' -4 rows selected ->>> ->>> INSERT OVERWRITE TABLE table1 SELECT key, '\\\t\\' FROM src WHERE key = 86; -'key','_c1' -No rows selected ->>> ->>> SELECT * FROM table1; -'a','b' -'86','\ \' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/create_genericudaf.q.out ql/src/test/results/beelinepositive/create_genericudaf.q.out deleted file mode 100644 index 3d9ba7c..0000000 --- ql/src/test/results/beelinepositive/create_genericudaf.q.out +++ /dev/null @@ -1,100 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/create_genericudaf.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/create_genericudaf.q ->>> EXPLAIN -CREATE TEMPORARY FUNCTION test_avg AS 'org.apache.hadoop.hive.ql.udf.generic.GenericUDAFAverage'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_CREATEFUNCTION test_avg 'org.apache.hadoop.hive.ql.udf.generic.GenericUDAFAverage')' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -'' -'' -10 rows selected ->>> ->>> CREATE TEMPORARY FUNCTION test_avg AS 'org.apache.hadoop.hive.ql.udf.generic.GenericUDAFAverage'; -No rows affected ->>> ->>> EXPLAIN -SELECT -test_avg(1), -test_avg(substr(value,5)) -FROM src; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION test_avg 1)) (TOK_SELEXPR (TOK_FUNCTION test_avg (TOK_FUNCTION substr (TOK_TABLE_OR_COL value) 5))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: value' -' type: string' -' outputColumnNames: value' -' Group By Operator' -' aggregations:' -' expr: test_avg(1)' -' expr: test_avg(substr(value, 5))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: struct' -' expr: _col1' -' type: struct' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: test_avg(VALUE._col0)' -' expr: test_avg(VALUE._col1)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: double' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -61 rows selected ->>> ->>> SELECT -test_avg(1), -test_avg(substr(value,5)) -FROM src; -'_c0','_c1' -'1.0','260.182' -1 row selected ->>> ->>> DROP TEMPORARY FUNCTIOn test_avg; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/create_genericudf.q.out ql/src/test/results/beelinepositive/create_genericudf.q.out deleted file mode 100644 index 1f19ec2..0000000 --- ql/src/test/results/beelinepositive/create_genericudf.q.out +++ /dev/null @@ -1,44 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/create_genericudf.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/create_genericudf.q ->>> EXPLAIN -CREATE TEMPORARY FUNCTION test_translate AS 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFTestTranslate'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_CREATEFUNCTION test_translate 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFTestTranslate')' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -'' -'' -10 rows selected ->>> ->>> CREATE TEMPORARY FUNCTION test_translate AS 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFTestTranslate'; -No rows affected ->>> ->>> CREATE TABLE dest1(c1 STRING, c2 STRING, c3 STRING, c4 STRING, c5 STRING, c6 STRING, c7 STRING); -No rows affected ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 -SELECT -test_translate('abc', 'a', 'b'), -test_translate('abc', 'ab', 'bc'), -test_translate(NULL, 'a', 'b'), -test_translate('a', NULL, 'b'), -test_translate('a', 'a', NULL), -test_translate('abc', 'ab', 'b'), -test_translate('abc', 'a', 'ab'); -'_c0','_c1','_c2','_c3','_c4','_c5','_c6' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1 LIMIT 1; -'c1','c2','c3','c4','c5','c6','c7' -'bbc','bcc','','','','bc','abc' -1 row selected ->>> ->>> DROP TEMPORARY FUNCTION test_translate; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/create_insert_outputformat.q.out ql/src/test/results/beelinepositive/create_insert_outputformat.q.out deleted file mode 100644 index f1fd92c..0000000 --- ql/src/test/results/beelinepositive/create_insert_outputformat.q.out +++ /dev/null @@ -1,54 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/create_insert_outputformat.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/create_insert_outputformat.q ->>> ->>> ->>> CREATE TABLE table_test_output_format(key INT, value STRING) STORED AS -INPUTFORMAT 'org.apache.hadoop.mapred.TextInputFormat' -OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.IgnoreKeyTextOutputFormat'; -No rows affected ->>> ->>> FROM src -INSERT OVERWRITE TABLE table_test_output_format SELECT src.key, src.value LIMIT 10; -'_col0','_col1' -No rows selected ->>> describe table_test_output_format; -'col_name','data_type','comment' -'key','int','' -'value','string','' -2 rows selected ->>> ->>> ->>> ->>> CREATE TABLE table_test_output_format_sequencefile(key INT, value STRING) STORED AS -INPUTFORMAT 'org.apache.hadoop.mapred.SequenceFileInputFormat' -OUTPUTFORMAT 'org.apache.hadoop.mapred.SequenceFileOutputFormat'; -No rows affected ->>> ->>> FROM src -INSERT OVERWRITE TABLE table_test_output_format_sequencefile SELECT src.key, src.value LIMIT 10; -'_col0','_col1' -No rows selected ->>> describe table_test_output_format_sequencefile; -'col_name','data_type','comment' -'key','int','' -'value','string','' -2 rows selected ->>> ->>> ->>> ->>> CREATE TABLE table_test_output_format_hivesequencefile(key INT, value STRING) STORED AS -INPUTFORMAT 'org.apache.hadoop.mapred.SequenceFileInputFormat' -OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat'; -No rows affected ->>> ->>> FROM src -INSERT OVERWRITE TABLE table_test_output_format_hivesequencefile SELECT src.key, src.value LIMIT 10; -'_col0','_col1' -No rows selected ->>> describe table_test_output_format_hivesequencefile; -'col_name','data_type','comment' -'key','int','' -'value','string','' -2 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/create_like.q.out ql/src/test/results/beelinepositive/create_like.q.out deleted file mode 100644 index df1ccc3..0000000 --- ql/src/test/results/beelinepositive/create_like.q.out +++ /dev/null @@ -1,176 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/create_like.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/create_like.q ->>> ->>> ->>> ->>> ->>> CREATE TABLE table1 (a STRING, b STRING) STORED AS TEXTFILE; -No rows affected ->>> DESCRIBE FORMATTED table1; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'a ','string ','None ' -'b ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','create_like ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/create_like.db/table1','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -27 rows selected ->>> ->>> CREATE TABLE table2 LIKE table1; -No rows affected ->>> DESCRIBE FORMATTED table2; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'a ','string ','None ' -'b ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','create_like ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/create_like.db/table2','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -27 rows selected ->>> ->>> CREATE TABLE IF NOT EXISTS table2 LIKE table1; -No rows affected ->>> ->>> CREATE EXTERNAL TABLE IF NOT EXISTS table2 LIKE table1; -No rows affected ->>> ->>> CREATE EXTERNAL TABLE IF NOT EXISTS table3 LIKE table1; -No rows affected ->>> DESCRIBE FORMATTED table3; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'a ','string ','None ' -'b ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','create_like ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/create_like.db/table3','' -'Table Type: ','EXTERNAL_TABLE ','' -'Table Parameters:','','' -'','EXTERNAL ','TRUE ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -28 rows selected ->>> ->>> INSERT OVERWRITE TABLE table1 SELECT key, value FROM src WHERE key = 86; -'key','value' -No rows selected ->>> INSERT OVERWRITE TABLE table2 SELECT key, value FROM src WHERE key = 100; -'key','value' -No rows selected ->>> ->>> SELECT * FROM table1; -'a','b' -'86','val_86' -1 row selected ->>> SELECT * FROM table2; -'a','b' -'100','val_100' -'100','val_100' -2 rows selected ->>> ->>> CREATE EXTERNAL TABLE table4 (a INT) LOCATION '${system:test.src.data.dir}/files/ext_test'; -No rows affected ->>> CREATE EXTERNAL TABLE table5 LIKE table4 LOCATION '${system:test.src.data.dir}/files/ext_test'; -No rows affected ->>> ->>> SELECT * FROM table4; -'a' -'1' -'2' -'3' -'4' -'5' -'6' -6 rows selected ->>> SELECT * FROM table5; -'a' -'1' -'2' -'3' -'4' -'5' -'6' -6 rows selected ->>> ->>> DROP TABLE table5; -No rows affected ->>> SELECT * FROM table4; -'a' -'1' -'2' -'3' -'4' -'5' -'6' -6 rows selected ->>> DROP TABLE table4; -No rows affected ->>> ->>> CREATE EXTERNAL TABLE table4 (a INT) LOCATION '${system:test.src.data.dir}/files/ext_test'; -No rows affected ->>> SELECT * FROM table4; -'a' -'1' -'2' -'3' -'4' -'5' -'6' -6 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/create_like2.q.out ql/src/test/results/beelinepositive/create_like2.q.out deleted file mode 100644 index ca6c69a..0000000 --- ql/src/test/results/beelinepositive/create_like2.q.out +++ /dev/null @@ -1,46 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/create_like2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/create_like2.q ->>> -- Tests the copying over of Table Parameters according to a HiveConf setting ->>> -- when doing a CREATE TABLE LIKE. ->>> ->>> CREATE TABLE table1(a INT, b STRING); -No rows affected ->>> ALTER TABLE table1 SET TBLPROPERTIES ('a'='1', 'b'='2', 'c'='3', 'd' = '4'); -No rows affected ->>> ->>> SET hive.ddl.createtablelike.properties.whitelist=a,c,D; -No rows affected ->>> CREATE TABLE table2 LIKE table1; -No rows affected ->>> DESC FORMATTED table2; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'a ','int ','None ' -'b ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','create_like2 ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/create_like2.db/table2','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','a ','1 ' -'','c ','3 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -29 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/create_like_view.q.out ql/src/test/results/beelinepositive/create_like_view.q.out deleted file mode 100644 index 4d5ede1..0000000 --- ql/src/test/results/beelinepositive/create_like_view.q.out +++ /dev/null @@ -1,203 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/create_like_view.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/create_like_view.q ->>> DROP TABLE IF EXISTS table1; -No rows affected ->>> DROP TABLE IF EXISTS table2; -No rows affected ->>> DROP TABLE IF EXISTS table3; -No rows affected ->>> DROP VIEW IF EXISTS view1; -No rows affected ->>> ->>> CREATE TABLE table1 (a STRING, b STRING) STORED AS TEXTFILE; -No rows affected ->>> DESCRIBE table1; -'col_name','data_type','comment' -'a','string','' -'b','string','' -2 rows selected ->>> DESCRIBE FORMATTED table1; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'a ','string ','None ' -'b ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','create_like_view ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/create_like_view.db/table1','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -27 rows selected ->>> ->>> CREATE VIEW view1 AS SELECT * FROM table1; -'a','b' -No rows selected ->>> ->>> CREATE TABLE table2 LIKE view1; -No rows affected ->>> DESCRIBE table2; -'col_name','data_type','comment' -'a','string','' -'b','string','' -2 rows selected ->>> DESCRIBE FORMATTED table2; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'a ','string ','None ' -'b ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','create_like_view ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/create_like_view.db/table2','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -27 rows selected ->>> ->>> CREATE TABLE IF NOT EXISTS table2 LIKE view1; -No rows affected ->>> ->>> CREATE EXTERNAL TABLE IF NOT EXISTS table2 LIKE view1; -No rows affected ->>> ->>> CREATE EXTERNAL TABLE IF NOT EXISTS table3 LIKE view1; -No rows affected ->>> DESCRIBE table3; -'col_name','data_type','comment' -'a','string','' -'b','string','' -2 rows selected ->>> DESCRIBE FORMATTED table3; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'a ','string ','None ' -'b ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','create_like_view ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/create_like_view.db/table3','' -'Table Type: ','EXTERNAL_TABLE ','' -'Table Parameters:','','' -'','EXTERNAL ','TRUE ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -28 rows selected ->>> ->>> INSERT OVERWRITE TABLE table1 SELECT key, value FROM src WHERE key = 86; -'key','value' -No rows selected ->>> INSERT OVERWRITE TABLE table2 SELECT key, value FROM src WHERE key = 100; -'key','value' -No rows selected ->>> ->>> SELECT * FROM table1 order by a, b; -'a','b' -'86','val_86' -1 row selected ->>> SELECT * FROM table2 order by a, b; -'a','b' -'100','val_100' -'100','val_100' -2 rows selected ->>> ->>> DROP TABLE table1; -No rows affected ->>> DROP TABLE table2; -No rows affected ->>> DROP VIEW view1; -No rows affected ->>> ->>> -- check partitions ->>> create view view1 partitioned on (ds, hr) as select * from srcpart; -'key','value','ds','hr' -No rows selected ->>> create table table1 like view1; -No rows affected ->>> describe formatted table1; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','create_like_view ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/create_like_view.db/table1','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -33 rows selected ->>> DROP TABLE table1; -No rows affected ->>> DROP VIEW view1; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/create_merge_compressed.q.out ql/src/test/results/beelinepositive/create_merge_compressed.q.out deleted file mode 100644 index 43e648e..0000000 --- ql/src/test/results/beelinepositive/create_merge_compressed.q.out +++ /dev/null @@ -1,84 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/create_merge_compressed.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/create_merge_compressed.q ->>> create table src_rc_merge_test(key int, value string) stored as rcfile; -No rows affected ->>> ->>> load data local inpath '../data/files/smbbucket_1.rc' into table src_rc_merge_test; -No rows affected ->>> ->>> set hive.exec.compress.output = true; -No rows affected ->>> ->>> create table tgt_rc_merge_test(key int, value string) stored as rcfile; -No rows affected ->>> insert into table tgt_rc_merge_test select * from src_rc_merge_test; -'key','value' -No rows selected ->>> insert into table tgt_rc_merge_test select * from src_rc_merge_test; -'key','value' -No rows selected ->>> ->>> show table extended like `tgt_rc_merge_test`; -'tab_name' -'tableName:tgt_rc_merge_test' -'owner:!!{user.name}!!' -'location:!!{hive.metastore.warehouse.dir}!!/create_merge_compressed.db/tgt_rc_merge_test' -'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:171' -'maxFileSize:171' -'minFileSize:171' -'lastAccessTime:0' -'lastUpdateTime:!!UNIXTIMEMILLIS!!' -'' -15 rows selected ->>> ->>> select count(1) from tgt_rc_merge_test; -'_c0' -'5' -1 row selected ->>> select sum(hash(key)), sum(hash(value)) from tgt_rc_merge_test; -'_c0','_c1' -'23','-375947694' -1 row selected ->>> ->>> alter table tgt_rc_merge_test concatenate; -No rows affected ->>> ->>> show table extended like `tgt_rc_merge_test`; -'tab_name' -'tableName:tgt_rc_merge_test' -'owner:!!{user.name}!!' -'location:!!{hive.metastore.warehouse.dir}!!/create_merge_compressed.db/tgt_rc_merge_test' -'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:171' -'maxFileSize:171' -'minFileSize:171' -'lastAccessTime:0' -'lastUpdateTime:!!UNIXTIMEMILLIS!!' -'' -15 rows selected ->>> ->>> select count(1) from tgt_rc_merge_test; -'_c0' -'5' -1 row selected ->>> select sum(hash(key)), sum(hash(value)) from tgt_rc_merge_test; -'_c0','_c1' -'23','-375947694' -1 row selected ->>> ->>> drop table src_rc_merge_test; -No rows affected ->>> drop table tgt_rc_merge_test; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/create_skewed_table1.q.out ql/src/test/results/beelinepositive/create_skewed_table1.q.out deleted file mode 100644 index c887e28..0000000 --- ql/src/test/results/beelinepositive/create_skewed_table1.q.out +++ /dev/null @@ -1,111 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/create_skewed_table1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/create_skewed_table1.q ->>> set hive.internal.ddl.list.bucketing.enable=true; -No rows affected ->>> CREATE TABLE list_bucket_single (key STRING, value STRING) SKEWED BY (key) ON ('1','5','6'); -No rows affected ->>> CREATE TABLE list_bucket_single_2 (key STRING, value STRING) SKEWED BY (key) ON ((1),(5),(6)); -No rows affected ->>> CREATE TABLE list_bucket_multiple (col1 STRING, col2 int, col3 STRING) SKEWED BY (col1, col2) ON (('s1',1), ('s3',3), ('s13',13), ('s78',78)); -No rows affected ->>> describe formatted list_bucket_single_2; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','create_skewed_table1','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/create_skewed_table1.db/list_bucket_single_2','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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: ','[] ','' -'Skewed Columns: ','[key] ','' -'Skewed Values: ','[[1], [5], [6]] ','' -'Storage Desc Params:','','' -'','serialization.format','1 ' -29 rows selected ->>> describe formatted list_bucket_single; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','create_skewed_table1','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/create_skewed_table1.db/list_bucket_single','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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: ','[] ','' -'Skewed Columns: ','[key] ','' -'Skewed Values: ','[[1], [5], [6]] ','' -'Storage Desc Params:','','' -'','serialization.format','1 ' -29 rows selected ->>> describe formatted list_bucket_multiple; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'col1 ','string ','None ' -'col2 ','int ','None ' -'col3 ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','create_skewed_table1','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/create_skewed_table1.db/list_bucket_multiple','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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: ','[] ','' -'Skewed Columns: ','[col1, col2] ','' -'Skewed Values: ','[[s1, 1], [s3, 3], [s13, 13], [s78, 78]]','' -'Storage Desc Params:','','' -'','serialization.format','1 ' -30 rows selected ->>> drop table list_bucket_single; -No rows affected ->>> drop table list_bucket_multiple; -No rows affected ->>> drop table list_bucket_single_2; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/create_udaf.q.out ql/src/test/results/beelinepositive/create_udaf.q.out deleted file mode 100644 index f73919c..0000000 --- ql/src/test/results/beelinepositive/create_udaf.q.out +++ /dev/null @@ -1,35 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/create_udaf.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/create_udaf.q ->>> EXPLAIN -CREATE TEMPORARY FUNCTION test_max AS 'org.apache.hadoop.hive.ql.udf.UDAFTestMax'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_CREATEFUNCTION test_max 'org.apache.hadoop.hive.ql.udf.UDAFTestMax')' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -'' -'' -10 rows selected ->>> ->>> CREATE TEMPORARY FUNCTION test_max AS 'org.apache.hadoop.hive.ql.udf.UDAFTestMax'; -No rows affected ->>> ->>> CREATE TABLE dest1(col INT); -No rows affected ->>> ->>> FROM src INSERT OVERWRITE TABLE dest1 SELECT test_max(length(src.value)); -'_c0' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'col' -'7' -1 row selected ->>> ->>> DROP TEMPORARY FUNCTION test_max; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/create_view.q.out ql/src/test/results/beelinepositive/create_view.q.out deleted file mode 100644 index 2ae4e08..0000000 --- ql/src/test/results/beelinepositive/create_view.q.out +++ /dev/null @@ -1,1164 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/create_view.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/create_view.q ->>> DROP VIEW view1; -No rows affected ->>> DROP VIEW view2; -No rows affected ->>> DROP VIEW view3; -No rows affected ->>> DROP VIEW view4; -No rows affected ->>> DROP VIEW view5; -No rows affected ->>> DROP VIEW view6; -No rows affected ->>> DROP VIEW view7; -No rows affected ->>> DROP VIEW view8; -No rows affected ->>> DROP VIEW view9; -No rows affected ->>> DROP VIEW view10; -No rows affected ->>> DROP VIEW view11; -No rows affected ->>> DROP VIEW view12; -No rows affected ->>> DROP VIEW view13; -No rows affected ->>> DROP VIEW view14; -No rows affected ->>> DROP VIEW view15; -No rows affected ->>> DROP VIEW view16; -No rows affected ->>> DROP TEMPORARY FUNCTION test_translate; -No rows affected ->>> DROP TEMPORARY FUNCTION test_max; -No rows affected ->>> DROP TEMPORARY FUNCTION test_explode; -No rows affected ->>> ->>> ->>> SELECT * FROM src WHERE key=86; -'key','value' -'86','val_86' -1 row selected ->>> CREATE VIEW view1 AS SELECT value FROM src WHERE key=86; -'value' -No rows selected ->>> CREATE VIEW view2 AS SELECT * FROM src; -'key','value' -No rows selected ->>> CREATE VIEW view3(valoo) -TBLPROPERTIES ("fear" = "factor") -AS SELECT upper(value) FROM src WHERE key=86; -'_c0' -No rows selected ->>> SELECT * from view1; -'value' -'val_86' -1 row selected ->>> SELECT * from view2 where key=18; -'key','value' -'18','val_18' -'18','val_18' -2 rows selected ->>> SELECT * from view3; -'valoo' -'VAL_86' -1 row selected ->>> ->>> -- test EXPLAIN output for CREATE VIEW ->>> EXPLAIN -CREATE VIEW view0(valoo) AS SELECT upper(value) FROM src WHERE key=86; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_CREATEVIEW (TOK_TABNAME view0) (TOK_TABCOLNAME (TOK_TABCOL valoo TOK_NULL)) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION upper (TOK_TABLE_OR_COL value)))) (TOK_WHERE (= (TOK_TABLE_OR_COL key) 86)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Create View Operator:' -' Create View' -' if not exists: false' -' or replace: false' -' columns: valoo string' -' expanded text: SELECT `_c0` AS `valoo` FROM (SELECT upper(`src`.`value`) FROM `create_view`.`src` WHERE `src`.`key`=86) `view0`' -' name: view0' -' original text: SELECT upper(value) FROM src WHERE key=86' -'' -'' -18 rows selected ->>> ->>> -- make sure EXPLAIN works with a query which references a view ->>> EXPLAIN -SELECT * from view2 where key=18; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME view2))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (= (TOK_TABLE_OR_COL key) 18))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' view2:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key = 18)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -44 rows selected ->>> ->>> SHOW TABLES 'view.*'; -'tab_name' -'view1' -'view2' -'view3' -3 rows selected ->>> DESCRIBE view1; -'col_name','data_type','comment' -'value','string','' -1 row selected ->>> DESCRIBE EXTENDED view1; -'col_name','data_type','comment' -'value','string','' -'','','' -'Detailed Table Information','Table(tableName:view1, dbName:create_view, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:value, type:string, comment:null)], location:null, inputFormat:org.apache.hadoop.mapred.SequenceFileInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:null, parameters:{}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:SELECT value FROM src WHERE key=86, viewExpandedText:SELECT `src`.`value` FROM `create_view`.`src` WHERE `src`.`key`=86, tableType:VIRTUAL_VIEW)','' -3 rows selected ->>> DESCRIBE FORMATTED view1; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'value ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','create_view ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Table Type: ','VIRTUAL_VIEW ','' -'Table Parameters:','','' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# Storage Information','','' -'SerDe Library: ','null ','' -'InputFormat: ','org.apache.hadoop.mapred.SequenceFileInputFormat','' -'OutputFormat: ','org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat','' -'Compressed: ','No ','' -'Num Buckets: ','-1 ','' -'Bucket Columns: ','[] ','' -'Sort Columns: ','[] ','' -'','','' -'# View Information','','' -'View Original Text: ','SELECT value FROM src WHERE key=86','' -'View Expanded Text: ','SELECT `src`.`value` FROM `create_view`.`src` WHERE `src`.`key`=86','' -27 rows selected ->>> DESCRIBE view2; -'col_name','data_type','comment' -'key','string','' -'value','string','' -2 rows selected ->>> DESCRIBE EXTENDED view2; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'','','' -'Detailed Table Information','Table(tableName:view2, dbName:create_view, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null)], location:null, inputFormat:org.apache.hadoop.mapred.SequenceFileInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:null, parameters:{}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:SELECT * FROM src, viewExpandedText:SELECT `src`.`key`, `src`.`value` FROM `create_view`.`src`, tableType:VIRTUAL_VIEW)','' -4 rows selected ->>> DESCRIBE FORMATTED view2; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','create_view ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Table Type: ','VIRTUAL_VIEW ','' -'Table Parameters:','','' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# Storage Information','','' -'SerDe Library: ','null ','' -'InputFormat: ','org.apache.hadoop.mapred.SequenceFileInputFormat','' -'OutputFormat: ','org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat','' -'Compressed: ','No ','' -'Num Buckets: ','-1 ','' -'Bucket Columns: ','[] ','' -'Sort Columns: ','[] ','' -'','','' -'# View Information','','' -'View Original Text: ','SELECT * FROM src ','' -'View Expanded Text: ','SELECT `src`.`key`, `src`.`value` FROM `create_view`.`src`','' -28 rows selected ->>> DESCRIBE view3; -'col_name','data_type','comment' -'valoo','string','' -1 row selected ->>> DESCRIBE EXTENDED view3; -'col_name','data_type','comment' -'valoo','string','' -'','','' -'Detailed Table Information','Table(tableName:view3, dbName:create_view, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:valoo, type:string, comment:null)], location:null, inputFormat:org.apache.hadoop.mapred.SequenceFileInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:null, parameters:{}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{transient_lastDdlTime=!!UNIXTIME!!, fear=factor}, viewOriginalText:SELECT upper(value) FROM src WHERE key=86, viewExpandedText:SELECT `_c0` AS `valoo` FROM (SELECT upper(`src`.`value`) FROM `create_view`.`src` WHERE `src`.`key`=86) `view3`, tableType:VIRTUAL_VIEW)','' -3 rows selected ->>> DESCRIBE FORMATTED view3; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'valoo ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','create_view ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Table Type: ','VIRTUAL_VIEW ','' -'Table Parameters:','','' -'','fear ','factor ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# Storage Information','','' -'SerDe Library: ','null ','' -'InputFormat: ','org.apache.hadoop.mapred.SequenceFileInputFormat','' -'OutputFormat: ','org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat','' -'Compressed: ','No ','' -'Num Buckets: ','-1 ','' -'Bucket Columns: ','[] ','' -'Sort Columns: ','[] ','' -'','','' -'# View Information','','' -'View Original Text: ','SELECT upper(value) FROM src WHERE key=86','' -'View Expanded Text: ','SELECT `_c0` AS `valoo` FROM (SELECT upper(`src`.`value`) FROM `create_view`.`src` WHERE `src`.`key`=86) `view3`','' -28 rows selected ->>> ->>> ALTER VIEW view3 SET TBLPROPERTIES ("biggest" = "loser"); -No rows affected ->>> DESCRIBE EXTENDED view3; -'col_name','data_type','comment' -'valoo','string','' -'','','' -'Detailed Table Information','Table(tableName:view3, dbName:create_view, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:valoo, type:string, comment:null)], location:null, inputFormat:org.apache.hadoop.mapred.SequenceFileInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:null, parameters:{}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{last_modified_by=!!ELIDED!!, last_modified_time=!!UNIXTIME!!, biggest=loser, transient_lastDdlTime=!!UNIXTIME!!, fear=factor}, viewOriginalText:SELECT upper(value) FROM src WHERE key=86, viewExpandedText:SELECT `_c0` AS `valoo` FROM (SELECT upper(`src`.`value`) FROM `create_view`.`src` WHERE `src`.`key`=86) `view3`, tableType:VIRTUAL_VIEW)','' -3 rows selected ->>> DESCRIBE FORMATTED view3; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'valoo ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','create_view ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Table Type: ','VIRTUAL_VIEW ','' -'Table Parameters:','','' -'','biggest ','loser ' -'','fear ','factor ' -'','last_modified_by ','!!{user.name}!! ' -'','last_modified_time ','!!UNIXTIME!! ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# Storage Information','','' -'SerDe Library: ','null ','' -'InputFormat: ','org.apache.hadoop.mapred.SequenceFileInputFormat','' -'OutputFormat: ','org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat','' -'Compressed: ','No ','' -'Num Buckets: ','-1 ','' -'Bucket Columns: ','[] ','' -'Sort Columns: ','[] ','' -'','','' -'# View Information','','' -'View Original Text: ','SELECT upper(value) FROM src WHERE key=86','' -'View Expanded Text: ','SELECT `_c0` AS `valoo` FROM (SELECT upper(`src`.`value`) FROM `create_view`.`src` WHERE `src`.`key`=86) `view3`','' -31 rows selected ->>> ->>> CREATE TABLE table1 (key int); -No rows affected ->>> ->>> -- use DESCRIBE EXTENDED on a base table and an external table as points ->>> -- of comparison for view descriptions ->>> DESCRIBE EXTENDED table1; -'col_name','data_type','comment' -'key','int','' -'','','' -'Detailed Table Information','Table(tableName:table1, dbName:create_view, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:int, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/create_view.db/table1, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -3 rows selected ->>> DESCRIBE EXTENDED src1; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'','','' -'Detailed Table Information','Table(tableName:src1, dbName:create_view, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/create_view.db/src1, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{numPartitions=0, numFiles=1, transient_lastDdlTime=!!UNIXTIME!!, totalSize=216, numRows=0, rawDataSize=0}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -4 rows selected ->>> ->>> -- use DESCRIBE EXTENDED on a base table as a point of comparison for ->>> -- view descriptions ->>> DESCRIBE EXTENDED table1; -'col_name','data_type','comment' -'key','int','' -'','','' -'Detailed Table Information','Table(tableName:table1, dbName:create_view, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:int, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/create_view.db/table1, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -3 rows selected ->>> ->>> ->>> INSERT OVERWRITE TABLE table1 SELECT key FROM src WHERE key = 86; -'_col0' -No rows selected ->>> ->>> SELECT * FROM table1; -'key' -'86' -1 row selected ->>> CREATE VIEW view4 AS SELECT * FROM table1; -'key' -No rows selected ->>> SELECT * FROM view4; -'key' -'86' -1 row selected ->>> DESCRIBE view4; -'col_name','data_type','comment' -'key','int','' -1 row selected ->>> ALTER TABLE table1 ADD COLUMNS (value STRING); -No rows affected ->>> SELECT * FROM table1; -'key','value' -'86','' -1 row selected ->>> SELECT * FROM view4; -'key' -'86' -1 row selected ->>> DESCRIBE table1; -'col_name','data_type','comment' -'key','int','' -'value','string','' -2 rows selected ->>> DESCRIBE view4; -'col_name','data_type','comment' -'key','int','' -1 row selected ->>> ->>> CREATE VIEW view5 AS SELECT v1.key as key1, v2.key as key2 -FROM view4 v1 join view4 v2; -'key1','key2' -No rows selected ->>> SELECT * FROM view5; -'key1','key2' -'86','86' -1 row selected ->>> DESCRIBE view5; -'col_name','data_type','comment' -'key1','int','' -'key2','int','' -2 rows selected ->>> ->>> -- verify that column name and comment in DDL portion ->>> -- overrides column alias in SELECT ->>> CREATE VIEW view6(valoo COMMENT 'I cannot spell') AS -SELECT upper(value) as blarg FROM src WHERE key=86; -'blarg' -No rows selected ->>> DESCRIBE view6; -'col_name','data_type','comment' -'valoo','string','I cannot spell' -1 row selected ->>> ->>> -- verify that ORDER BY and LIMIT are both supported in view def ->>> CREATE VIEW view7 AS -SELECT * FROM src -WHERE key > 80 AND key < 100 -ORDER BY key, value -LIMIT 10; -'key','value' -No rows selected ->>> ->>> SELECT * FROM view7; -'key','value' -'82','val_82' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'90','val_90' -'90','val_90' -10 rows selected ->>> ->>> -- top-level ORDER BY should override the one inside the view ->>> -- (however, the inside ORDER BY should still influence the evaluation ->>> -- of the limit) ->>> SELECT * FROM view7 ORDER BY key DESC, value; -'key','value' -'90','val_90' -'90','val_90' -'87','val_87' -'86','val_86' -'85','val_85' -'84','val_84' -'84','val_84' -'83','val_83' -'83','val_83' -'82','val_82' -10 rows selected ->>> ->>> -- top-level LIMIT should override if lower ->>> SELECT * FROM view7 LIMIT 5; -'key','value' -'82','val_82' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -5 rows selected ->>> ->>> -- but not if higher ->>> SELECT * FROM view7 LIMIT 20; -'key','value' -'82','val_82' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'90','val_90' -'90','val_90' -10 rows selected ->>> ->>> -- test usage of a function within a view ->>> CREATE TEMPORARY FUNCTION test_translate AS -'org.apache.hadoop.hive.ql.udf.generic.GenericUDFTestTranslate'; -No rows affected ->>> CREATE VIEW view8(c) AS -SELECT test_translate('abc', 'a', 'b') -FROM table1; -'_c0' -No rows selected ->>> DESCRIBE EXTENDED view8; -'col_name','data_type','comment' -'c','string','' -'','','' -'Detailed Table Information','Table(tableName:view8, dbName:create_view, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:c, type:string, comment:null)], location:null, inputFormat:org.apache.hadoop.mapred.SequenceFileInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:null, parameters:{}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:SELECT test_translate('abc', 'a', 'b') ','' -'FROM table1, viewExpandedText:SELECT `_c0` AS `c` FROM (SELECT `test_translate`('abc', 'a', 'b') ','','' -'FROM `create_view`.`table1`) `view8`, tableType:VIRTUAL_VIEW)','','' -5 rows selected ->>> DESCRIBE FORMATTED view8; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'c ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','create_view ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Table Type: ','VIRTUAL_VIEW ','' -'Table Parameters:','','' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# Storage Information','','' -'SerDe Library: ','null ','' -'InputFormat: ','org.apache.hadoop.mapred.SequenceFileInputFormat','' -'OutputFormat: ','org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat','' -'Compressed: ','No ','' -'Num Buckets: ','-1 ','' -'Bucket Columns: ','[] ','' -'Sort Columns: ','[] ','' -'','','' -'# View Information','','' -'View Original Text: ','SELECT test_translate('abc', 'a', 'b') ','' -'FROM table1','','' -'View Expanded Text: ','SELECT `_c0` AS `c` FROM (SELECT `test_translate`('abc', 'a', 'b') ','' -'FROM `create_view`.`table1`) `view8`','','' -29 rows selected ->>> SELECT * FROM view8; -'c' -'bbc' -1 row selected ->>> ->>> -- test usage of a UDAF within a view ->>> CREATE TEMPORARY FUNCTION test_max AS -'org.apache.hadoop.hive.ql.udf.UDAFTestMax'; -No rows affected ->>> set hive.map.aggr=false; -No rows affected ->>> -- disable map-side aggregation ->>> CREATE VIEW view9(m) AS -SELECT test_max(length(value)) -FROM src; -'_c0' -No rows selected ->>> DESCRIBE EXTENDED view9; -'col_name','data_type','comment' -'m','int','' -'','','' -'Detailed Table Information','Table(tableName:view9, dbName:create_view, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:m, type:int, comment:null)], location:null, inputFormat:org.apache.hadoop.mapred.SequenceFileInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:null, parameters:{}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:SELECT test_max(length(value)) ','' -'FROM src, viewExpandedText:SELECT `_c0` AS `m` FROM (SELECT `test_max`(length(`src`.`value`)) ','','' -'FROM `create_view`.`src`) `view9`, tableType:VIRTUAL_VIEW)','','' -5 rows selected ->>> DESCRIBE FORMATTED view9; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'m ','int ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','create_view ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Table Type: ','VIRTUAL_VIEW ','' -'Table Parameters:','','' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# Storage Information','','' -'SerDe Library: ','null ','' -'InputFormat: ','org.apache.hadoop.mapred.SequenceFileInputFormat','' -'OutputFormat: ','org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat','' -'Compressed: ','No ','' -'Num Buckets: ','-1 ','' -'Bucket Columns: ','[] ','' -'Sort Columns: ','[] ','' -'','','' -'# View Information','','' -'View Original Text: ','SELECT test_max(length(value)) ','' -'FROM src','','' -'View Expanded Text: ','SELECT `_c0` AS `m` FROM (SELECT `test_max`(length(`src`.`value`)) ','' -'FROM `create_view`.`src`) `view9`','','' -29 rows selected ->>> SELECT * FROM view9; -'m' -'7' -1 row selected ->>> DROP VIEW view9; -No rows affected ->>> set hive.map.aggr=true; -No rows affected ->>> -- enable map-side aggregation ->>> CREATE VIEW view9(m) AS -SELECT test_max(length(value)) -FROM src; -'_c0' -No rows selected ->>> DESCRIBE EXTENDED view9; -'col_name','data_type','comment' -'m','int','' -'','','' -'Detailed Table Information','Table(tableName:view9, dbName:create_view, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:m, type:int, comment:null)], location:null, inputFormat:org.apache.hadoop.mapred.SequenceFileInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:null, parameters:{}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:SELECT test_max(length(value)) ','' -'FROM src, viewExpandedText:SELECT `_c0` AS `m` FROM (SELECT `test_max`(length(`src`.`value`)) ','','' -'FROM `create_view`.`src`) `view9`, tableType:VIRTUAL_VIEW)','','' -5 rows selected ->>> DESCRIBE FORMATTED view9; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'m ','int ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','create_view ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Table Type: ','VIRTUAL_VIEW ','' -'Table Parameters:','','' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# Storage Information','','' -'SerDe Library: ','null ','' -'InputFormat: ','org.apache.hadoop.mapred.SequenceFileInputFormat','' -'OutputFormat: ','org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat','' -'Compressed: ','No ','' -'Num Buckets: ','-1 ','' -'Bucket Columns: ','[] ','' -'Sort Columns: ','[] ','' -'','','' -'# View Information','','' -'View Original Text: ','SELECT test_max(length(value)) ','' -'FROM src','','' -'View Expanded Text: ','SELECT `_c0` AS `m` FROM (SELECT `test_max`(length(`src`.`value`)) ','' -'FROM `create_view`.`src`) `view9`','','' -29 rows selected ->>> SELECT * FROM view9; -'m' -'7' -1 row selected ->>> ->>> -- test usage of a subselect within a view ->>> CREATE VIEW view10 AS -SELECT slurp.* FROM (SELECT * FROM src WHERE key=86) slurp; -'key','value' -No rows selected ->>> DESCRIBE EXTENDED view10; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'','','' -'Detailed Table Information','Table(tableName:view10, dbName:create_view, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null)], location:null, inputFormat:org.apache.hadoop.mapred.SequenceFileInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:null, parameters:{}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:SELECT slurp.* FROM (SELECT * FROM src WHERE key=86) slurp, viewExpandedText:SELECT `slurp`.`key`, `slurp`.`value` FROM (SELECT `src`.`key`, `src`.`value` FROM `create_view`.`src` WHERE `src`.`key`=86) `slurp`, tableType:VIRTUAL_VIEW)','' -4 rows selected ->>> DESCRIBE FORMATTED view10; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','create_view ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Table Type: ','VIRTUAL_VIEW ','' -'Table Parameters:','','' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# Storage Information','','' -'SerDe Library: ','null ','' -'InputFormat: ','org.apache.hadoop.mapred.SequenceFileInputFormat','' -'OutputFormat: ','org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat','' -'Compressed: ','No ','' -'Num Buckets: ','-1 ','' -'Bucket Columns: ','[] ','' -'Sort Columns: ','[] ','' -'','','' -'# View Information','','' -'View Original Text: ','SELECT slurp.* FROM (SELECT * FROM src WHERE key=86) slurp','' -'View Expanded Text: ','SELECT `slurp`.`key`, `slurp`.`value` FROM (SELECT `src`.`key`, `src`.`value` FROM `create_view`.`src` WHERE `src`.`key`=86) `slurp`','' -28 rows selected ->>> SELECT * FROM view10; -'key','value' -'86','val_86' -1 row selected ->>> ->>> -- test usage of a UDTF within a view ->>> CREATE TEMPORARY FUNCTION test_explode AS -'org.apache.hadoop.hive.ql.udf.generic.GenericUDTFExplode'; -No rows affected ->>> CREATE VIEW view11 AS -SELECT test_explode(array(1,2,3)) AS (boom) -FROM table1; -'boom' -No rows selected ->>> DESCRIBE EXTENDED view11; -'col_name','data_type','comment' -'boom','int','' -'','','' -'Detailed Table Information','Table(tableName:view11, dbName:create_view, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:boom, type:int, comment:null)], location:null, inputFormat:org.apache.hadoop.mapred.SequenceFileInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:null, parameters:{}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:SELECT test_explode(array(1,2,3)) AS (boom) ','' -'FROM table1, viewExpandedText:SELECT `test_explode`(array(1,2,3)) AS (`boom`) ','','' -'FROM `create_view`.`table1`, tableType:VIRTUAL_VIEW)','','' -5 rows selected ->>> DESCRIBE FORMATTED view11; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'boom ','int ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','create_view ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Table Type: ','VIRTUAL_VIEW ','' -'Table Parameters:','','' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# Storage Information','','' -'SerDe Library: ','null ','' -'InputFormat: ','org.apache.hadoop.mapred.SequenceFileInputFormat','' -'OutputFormat: ','org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat','' -'Compressed: ','No ','' -'Num Buckets: ','-1 ','' -'Bucket Columns: ','[] ','' -'Sort Columns: ','[] ','' -'','','' -'# View Information','','' -'View Original Text: ','SELECT test_explode(array(1,2,3)) AS (boom) ','' -'FROM table1','','' -'View Expanded Text: ','SELECT `test_explode`(array(1,2,3)) AS (`boom`) ','' -'FROM `create_view`.`table1`','','' -29 rows selected ->>> SELECT * FROM view11; -'boom' -'1' -'2' -'3' -3 rows selected ->>> ->>> -- test usage of LATERAL within a view ->>> CREATE VIEW view12 AS -SELECT * FROM src LATERAL VIEW explode(array(1,2,3)) myTable AS myCol; -'key','value','mycol' -No rows selected ->>> DESCRIBE EXTENDED view12; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'mycol','int','' -'','','' -'Detailed Table Information','Table(tableName:view12, dbName:create_view, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null), FieldSchema(name:mycol, type:int, comment:null)], location:null, inputFormat:org.apache.hadoop.mapred.SequenceFileInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:null, parameters:{}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:SELECT * FROM src LATERAL VIEW explode(array(1,2,3)) myTable AS myCol, viewExpandedText:SELECT `src`.`key`, `src`.`value`, `mytable`.`mycol` FROM `create_view`.`src` LATERAL VIEW explode(array(1,2,3)) `myTable` AS `myCol`, tableType:VIRTUAL_VIEW)','' -5 rows selected ->>> DESCRIBE FORMATTED view12; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'mycol ','int ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','create_view ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Table Type: ','VIRTUAL_VIEW ','' -'Table Parameters:','','' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# Storage Information','','' -'SerDe Library: ','null ','' -'InputFormat: ','org.apache.hadoop.mapred.SequenceFileInputFormat','' -'OutputFormat: ','org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat','' -'Compressed: ','No ','' -'Num Buckets: ','-1 ','' -'Bucket Columns: ','[] ','' -'Sort Columns: ','[] ','' -'','','' -'# View Information','','' -'View Original Text: ','SELECT * FROM src LATERAL VIEW explode(array(1,2,3)) myTable AS myCol','' -'View Expanded Text: ','SELECT `src`.`key`, `src`.`value`, `mytable`.`mycol` FROM `create_view`.`src` LATERAL VIEW explode(array(1,2,3)) `myTable` AS `myCol`','' -29 rows selected ->>> SELECT * FROM view12 -ORDER BY key ASC, myCol ASC LIMIT 1; -'key','value','mycol' -'0','val_0','1' -1 row selected ->>> ->>> -- test usage of LATERAL with a view as the LHS ->>> SELECT * FROM view2 LATERAL VIEW explode(array(1,2,3)) myTable AS myCol -ORDER BY key ASC, myCol ASC LIMIT 1; -'key','value','mycol' -'0','val_0','1' -1 row selected ->>> ->>> -- test usage of TABLESAMPLE within a view ->>> CREATE VIEW view13 AS -SELECT s.key -FROM srcbucket TABLESAMPLE (BUCKET 1 OUT OF 5 ON key) s; -'key' -No rows selected ->>> DESCRIBE EXTENDED view13; -'col_name','data_type','comment' -'key','int','' -'','','' -'Detailed Table Information','Table(tableName:view13, dbName:create_view, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:int, comment:null)], location:null, inputFormat:org.apache.hadoop.mapred.SequenceFileInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:null, parameters:{}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:SELECT s.key ','' -'FROM srcbucket TABLESAMPLE (BUCKET 1 OUT OF 5 ON key) s, viewExpandedText:SELECT `s`.`key` ','','' -'FROM `create_view`.`srcbucket` TABLESAMPLE (BUCKET 1 OUT OF 5 ON `key`) `s`, tableType:VIRTUAL_VIEW)','','' -5 rows selected ->>> DESCRIBE FORMATTED view13; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','int ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','create_view ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Table Type: ','VIRTUAL_VIEW ','' -'Table Parameters:','','' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# Storage Information','','' -'SerDe Library: ','null ','' -'InputFormat: ','org.apache.hadoop.mapred.SequenceFileInputFormat','' -'OutputFormat: ','org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat','' -'Compressed: ','No ','' -'Num Buckets: ','-1 ','' -'Bucket Columns: ','[] ','' -'Sort Columns: ','[] ','' -'','','' -'# View Information','','' -'View Original Text: ','SELECT s.key ','' -'FROM srcbucket TABLESAMPLE (BUCKET 1 OUT OF 5 ON key) s','','' -'View Expanded Text: ','SELECT `s`.`key` ','' -'FROM `create_view`.`srcbucket` TABLESAMPLE (BUCKET 1 OUT OF 5 ON `key`) `s`','','' -29 rows selected ->>> SELECT * FROM view13 -ORDER BY key LIMIT 12; -'key' -'0' -'0' -'0' -'0' -'0' -'5' -'5' -'5' -'5' -'10' -'10' -'15' -12 rows selected ->>> ->>> -- test usage of JOIN+UNION+AGG all within same view ->>> CREATE VIEW view14 AS -SELECT unionsrc1.key as k1, unionsrc1.value as v1, -unionsrc2.key as k2, unionsrc2.value as v2 -FROM (select 'tst1' as key, cast(count(1) as string) as value from src s1 -UNION ALL -select s2.key as key, s2.value as value from src s2 where s2.key < 10) unionsrc1 -JOIN -(select 'tst1' as key, cast(count(1) as string) as value from src s3 -UNION ALL -select s4.key as key, s4.value as value from src s4 where s4.key < 10) unionsrc2 -ON (unionsrc1.key = unionsrc2.key); -'k1','v1','k2','v2' -No rows selected ->>> DESCRIBE EXTENDED view14; -'col_name','data_type','comment' -'k1','string','' -'v1','string','' -'k2','string','' -'v2','string','' -'','','' -'Detailed Table Information','Table(tableName:view14, dbName:create_view, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:k1, type:string, comment:null), FieldSchema(name:v1, type:string, comment:null), FieldSchema(name:k2, type:string, comment:null), FieldSchema(name:v2, type:string, comment:null)], location:null, inputFormat:org.apache.hadoop.mapred.SequenceFileInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:null, parameters:{}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:SELECT unionsrc1.key as k1, unionsrc1.value as v1, ','' -'unionsrc2.key as k2, unionsrc2.value as v2 ','','' -'FROM (select 'tst1' as key, cast(count(1) as string) as value from src s1 ','','' -'UNION ALL ','','' -'select s2.key as key, s2.value as value from src s2 where s2.key < 10) unionsrc1 ','','' -'JOIN ','','' -'(select 'tst1' as key, cast(count(1) as string) as value from src s3 ','','' -'UNION ALL ','','' -'select s4.key as key, s4.value as value from src s4 where s4.key < 10) unionsrc2 ','','' -'ON (unionsrc1.key = unionsrc2.key), viewExpandedText:SELECT `unionsrc1`.`key` as `k1`, `unionsrc1`.`value` as `v1`, ','','' -'`unionsrc2`.`key` as `k2`, `unionsrc2`.`value` as `v2` ','','' -'FROM (select 'tst1' as `key`, cast(count(1) as string) as `value` from `create_view`.`src` `s1` ','','' -'UNION ALL ','','' -'select `s2`.`key` as `key`, `s2`.`value` as `value` from `create_view`.`src` `s2` where `s2`.`key` < 10) `unionsrc1` ','','' -'JOIN ','','' -'(select 'tst1' as `key`, cast(count(1) as string) as `value` from `create_view`.`src` `s3` ','','' -'UNION ALL ','','' -'select `s4`.`key` as `key`, `s4`.`value` as `value` from `create_view`.`src` `s4` where `s4`.`key` < 10) `unionsrc2` ','','' -'ON (`unionsrc1`.`key` = `unionsrc2`.`key`), tableType:VIRTUAL_VIEW)','','' -24 rows selected ->>> DESCRIBE FORMATTED view14; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'k1 ','string ','None ' -'v1 ','string ','None ' -'k2 ','string ','None ' -'v2 ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','create_view ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Table Type: ','VIRTUAL_VIEW ','' -'Table Parameters:','','' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# Storage Information','','' -'SerDe Library: ','null ','' -'InputFormat: ','org.apache.hadoop.mapred.SequenceFileInputFormat','' -'OutputFormat: ','org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat','' -'Compressed: ','No ','' -'Num Buckets: ','-1 ','' -'Bucket Columns: ','[] ','' -'Sort Columns: ','[] ','' -'','','' -'# View Information','','' -'View Original Text: ','SELECT unionsrc1.key as k1, unionsrc1.value as v1, ','' -'unionsrc2.key as k2, unionsrc2.value as v2 ','','' -'FROM (select 'tst1' as key, cast(count(1) as string) as value from src s1 ','','' -'UNION ALL ','','' -'select s2.key as key, s2.value as value from src s2 where s2.key < 10) unionsrc1 ','','' -'JOIN ','','' -'(select 'tst1' as key, cast(count(1) as string) as value from src s3 ','','' -'UNION ALL ','','' -'select s4.key as key, s4.value as value from src s4 where s4.key < 10) unionsrc2 ','','' -'ON (unionsrc1.key = unionsrc2.key)','','' -'View Expanded Text: ','SELECT `unionsrc1`.`key` as `k1`, `unionsrc1`.`value` as `v1`, ','' -'`unionsrc2`.`key` as `k2`, `unionsrc2`.`value` as `v2` ','','' -'FROM (select 'tst1' as `key`, cast(count(1) as string) as `value` from `create_view`.`src` `s1` ','','' -'UNION ALL ','','' -'select `s2`.`key` as `key`, `s2`.`value` as `value` from `create_view`.`src` `s2` where `s2`.`key` < 10) `unionsrc1` ','','' -'JOIN ','','' -'(select 'tst1' as `key`, cast(count(1) as string) as `value` from `create_view`.`src` `s3` ','','' -'UNION ALL ','','' -'select `s4`.`key` as `key`, `s4`.`value` as `value` from `create_view`.`src` `s4` where `s4`.`key` < 10) `unionsrc2` ','','' -'ON (`unionsrc1`.`key` = `unionsrc2`.`key`)','','' -48 rows selected ->>> SELECT * FROM view14 -ORDER BY k1; -'k1','v1','k2','v2' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'2','val_2','2','val_2' -'4','val_4','4','val_4' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'8','val_8','8','val_8' -'9','val_9','9','val_9' -'tst1','500','tst1','500' -23 rows selected ->>> ->>> -- test usage of GROUP BY within view ->>> CREATE VIEW view15 AS -SELECT key,COUNT(value) AS value_count -FROM src -GROUP BY key; -'key','value_count' -No rows selected ->>> DESCRIBE EXTENDED view15; -'col_name','data_type','comment' -'key','string','' -'value_count','bigint','' -'','','' -'Detailed Table Information','Table(tableName:view15, dbName:create_view, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value_count, type:bigint, comment:null)], location:null, inputFormat:org.apache.hadoop.mapred.SequenceFileInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:null, parameters:{}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:SELECT key,COUNT(value) AS value_count ','' -'FROM src ','','' -'GROUP BY key, viewExpandedText:SELECT `src`.`key`,COUNT(`src`.`value`) AS `value_count` ','','' -'FROM `create_view`.`src` ','','' -'GROUP BY `src`.`key`, tableType:VIRTUAL_VIEW)','','' -8 rows selected ->>> DESCRIBE FORMATTED view15; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value_count ','bigint ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','create_view ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Table Type: ','VIRTUAL_VIEW ','' -'Table Parameters:','','' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# Storage Information','','' -'SerDe Library: ','null ','' -'InputFormat: ','org.apache.hadoop.mapred.SequenceFileInputFormat','' -'OutputFormat: ','org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat','' -'Compressed: ','No ','' -'Num Buckets: ','-1 ','' -'Bucket Columns: ','[] ','' -'Sort Columns: ','[] ','' -'','','' -'# View Information','','' -'View Original Text: ','SELECT key,COUNT(value) AS value_count ','' -'FROM src ','','' -'GROUP BY key','','' -'View Expanded Text: ','SELECT `src`.`key`,COUNT(`src`.`value`) AS `value_count` ','' -'FROM `create_view`.`src` ','','' -'GROUP BY `src`.`key`','','' -32 rows selected ->>> SELECT * FROM view15 -ORDER BY value_count DESC, key -LIMIT 10; -'key','value_count' -'230','5' -'348','5' -'401','5' -'469','5' -'138','4' -'169','4' -'277','4' -'406','4' -'468','4' -'489','4' -10 rows selected ->>> ->>> -- test usage of DISTINCT within view ->>> CREATE VIEW view16 AS -SELECT DISTINCT value -FROM src; -'value' -No rows selected ->>> DESCRIBE EXTENDED view16; -'col_name','data_type','comment' -'value','string','' -'','','' -'Detailed Table Information','Table(tableName:view16, dbName:create_view, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:value, type:string, comment:null)], location:null, inputFormat:org.apache.hadoop.mapred.SequenceFileInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:null, parameters:{}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:SELECT DISTINCT value ','' -'FROM src, viewExpandedText:SELECT DISTINCT `src`.`value` ','','' -'FROM `create_view`.`src`, tableType:VIRTUAL_VIEW)','','' -5 rows selected ->>> DESCRIBE FORMATTED view16; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'value ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','create_view ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Table Type: ','VIRTUAL_VIEW ','' -'Table Parameters:','','' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# Storage Information','','' -'SerDe Library: ','null ','' -'InputFormat: ','org.apache.hadoop.mapred.SequenceFileInputFormat','' -'OutputFormat: ','org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat','' -'Compressed: ','No ','' -'Num Buckets: ','-1 ','' -'Bucket Columns: ','[] ','' -'Sort Columns: ','[] ','' -'','','' -'# View Information','','' -'View Original Text: ','SELECT DISTINCT value ','' -'FROM src','','' -'View Expanded Text: ','SELECT DISTINCT `src`.`value` ','' -'FROM `create_view`.`src`','','' -29 rows selected ->>> SELECT * FROM view16 -ORDER BY value -LIMIT 10; -'value' -'val_0' -'val_10' -'val_100' -'val_103' -'val_104' -'val_105' -'val_11' -'val_111' -'val_113' -'val_114' -10 rows selected ->>> ->>> -- HIVE-2133: DROP TABLE IF EXISTS should ignore a matching view name ->>> DROP TABLE IF EXISTS view16; -No rows affected ->>> DESCRIBE view16; -'col_name','data_type','comment' -'value','string','' -1 row selected ->>> ->>> -- Likewise, DROP VIEW IF EXISTS should ignore a matching table name ->>> DROP VIEW IF EXISTS table1; -No rows affected ->>> DESCRIBE table1; -'col_name','data_type','comment' -'key','int','' -'value','string','' -2 rows selected ->>> ->>> -- this should work since currently we don't track view->table ->>> -- dependencies for implementing RESTRICT ->>> ->>> ->>> DROP VIEW view1; -No rows affected ->>> DROP VIEW view2; -No rows affected ->>> DROP VIEW view3; -No rows affected ->>> DROP VIEW view4; -No rows affected ->>> DROP VIEW view5; -No rows affected ->>> DROP VIEW view6; -No rows affected ->>> DROP VIEW view7; -No rows affected ->>> DROP VIEW view8; -No rows affected ->>> DROP VIEW view9; -No rows affected ->>> DROP VIEW view10; -No rows affected ->>> DROP VIEW view11; -No rows affected ->>> DROP VIEW view12; -No rows affected ->>> DROP VIEW view13; -No rows affected ->>> DROP VIEW view14; -No rows affected ->>> DROP VIEW view15; -No rows affected ->>> DROP VIEW view16; -No rows affected ->>> DROP TEMPORARY FUNCTION test_translate; -No rows affected ->>> DROP TEMPORARY FUNCTION test_max; -No rows affected ->>> DROP TEMPORARY FUNCTION test_explode; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/create_view_partitioned.q.out ql/src/test/results/beelinepositive/create_view_partitioned.q.out deleted file mode 100644 index 9460960..0000000 --- ql/src/test/results/beelinepositive/create_view_partitioned.q.out +++ /dev/null @@ -1,292 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/create_view_partitioned.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/create_view_partitioned.q ->>> DROP VIEW vp1; -No rows affected ->>> DROP VIEW vp2; -No rows affected ->>> DROP VIEW vp3; -No rows affected ->>> ->>> -- test partitioned view definition ->>> -- (underlying table is not actually partitioned) ->>> CREATE VIEW vp1 -PARTITIONED ON (value) -AS -SELECT key, value -FROM src -WHERE key=86; -'key','value' -No rows selected ->>> DESCRIBE EXTENDED vp1; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'','','' -'Detailed Table Information','Table(tableName:vp1, dbName:create_view_partitioned, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null)], location:null, inputFormat:org.apache.hadoop.mapred.SequenceFileInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:null, parameters:{}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:value, type:string, comment:null)], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:SELECT key, value ','' -'FROM src ','','' -'WHERE key=86, viewExpandedText:SELECT `src`.`key`, `src`.`value` ','','' -'FROM `create_view_partitioned`.`src` ','','' -'WHERE `src`.`key`=86, tableType:VIRTUAL_VIEW)','','' -8 rows selected ->>> DESCRIBE FORMATTED vp1; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'value ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','create_view_partitioned','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Table Type: ','VIRTUAL_VIEW ','' -'Table Parameters:','','' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# Storage Information','','' -'SerDe Library: ','null ','' -'InputFormat: ','org.apache.hadoop.mapred.SequenceFileInputFormat','' -'OutputFormat: ','org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat','' -'Compressed: ','No ','' -'Num Buckets: ','-1 ','' -'Bucket Columns: ','[] ','' -'Sort Columns: ','[] ','' -'','','' -'# View Information','','' -'View Original Text: ','SELECT key, value ','' -'FROM src ','','' -'WHERE key=86','','' -'View Expanded Text: ','SELECT `src`.`key`, `src`.`value` ','' -'FROM `create_view_partitioned`.`src` ','','' -'WHERE `src`.`key`=86','','' -36 rows selected ->>> ->>> SELECT * FROM vp1; -'key','value' -'86','val_86' -1 row selected ->>> ->>> SELECT key FROM vp1; -'key' -'86' -1 row selected ->>> ->>> SELECT value FROM vp1; -'value' -'val_86' -1 row selected ->>> ->>> ALTER VIEW vp1 -ADD PARTITION (value='val_86') PARTITION (value='val_xyz'); -No rows affected ->>> ->>> -- should work since we use IF NOT EXISTS ->>> ALTER VIEW vp1 -ADD IF NOT EXISTS PARTITION (value='val_xyz'); -No rows affected ->>> ->>> SHOW PARTITIONS vp1; -'partition' -'value=val_86' -'value=val_xyz' -2 rows selected ->>> ->>> SHOW PARTITIONS vp1 PARTITION(value='val_86'); -'partition' -'value=val_86' -1 row selected ->>> ->>> SHOW TABLE EXTENDED LIKE vp1; -'tab_name' -'tableName:vp1' -'owner:!!{user.name}!!' -'location:null' -'inputformat:org.apache.hadoop.mapred.SequenceFileInputFormat' -'outputformat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'columns:struct columns { string key}' -'partitioned:true' -'partitionColumns:struct partition_columns { string value}' -'' -9 rows selected ->>> ->>> SHOW TABLE EXTENDED LIKE vp1 PARTITION(value='val_86'); -'tab_name' -'tableName:vp1' -'owner:!!{user.name}!!' -'location:null' -'inputformat:org.apache.hadoop.mapred.SequenceFileInputFormat' -'outputformat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'columns:struct columns { string key}' -'partitioned:true' -'partitionColumns:struct partition_columns { string value}' -'' -9 rows selected ->>> ->>> ALTER VIEW vp1 -DROP PARTITION (value='val_xyz'); -No rows affected ->>> ->>> SET hive.exec.drop.ignorenonexistent=false; -No rows affected ->>> ->>> -- should work since we use IF EXISTS ->>> ALTER VIEW vp1 -DROP IF EXISTS PARTITION (value='val_xyz'); -No rows affected ->>> ->>> SHOW PARTITIONS vp1; -'partition' -'value=val_86' -1 row selected ->>> ->>> SET hive.mapred.mode=strict; -No rows affected ->>> ->>> -- Even though no partition predicate is specified in the next query, ->>> -- the WHERE clause inside of the view should satisfy strict mode. ->>> -- In other words, strict only applies to underlying tables ->>> -- (regardless of whether or not the view is partitioned). ->>> SELECT * FROM vp1; -'key','value' -'86','val_86' -1 row selected ->>> ->>> SET hive.mapred.mode=nonstrict; -No rows affected ->>> ->>> -- test a partitioned view on top of an underlying partitioned table, ->>> -- but with only a suffix of the partitioning columns ->>> CREATE VIEW vp2 -PARTITIONED ON (hr) -AS SELECT * FROM srcpart WHERE key < 10; -'key','value','ds','hr' -No rows selected ->>> DESCRIBE FORMATTED vp2; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'ds ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'hr ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','create_view_partitioned','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Table Type: ','VIRTUAL_VIEW ','' -'Table Parameters:','','' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# Storage Information','','' -'SerDe Library: ','null ','' -'InputFormat: ','org.apache.hadoop.mapred.SequenceFileInputFormat','' -'OutputFormat: ','org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat','' -'Compressed: ','No ','' -'Num Buckets: ','-1 ','' -'Bucket Columns: ','[] ','' -'Sort Columns: ','[] ','' -'','','' -'# View Information','','' -'View Original Text: ','SELECT * FROM srcpart WHERE key < 10','' -'View Expanded Text: ','SELECT `srcpart`.`key`, `srcpart`.`value`, `srcpart`.`ds`, `srcpart`.`hr` FROM `create_view_partitioned`.`srcpart` WHERE `srcpart`.`key` < 10','' -34 rows selected ->>> ->>> ALTER VIEW vp2 ADD PARTITION (hr='11') PARTITION (hr='12'); -No rows affected ->>> SELECT key FROM vp2 WHERE hr='12' ORDER BY key; -'key' -'0' -'0' -'0' -'0' -'0' -'0' -'2' -'2' -'4' -'4' -'5' -'5' -'5' -'5' -'5' -'5' -'8' -'8' -'9' -'9' -20 rows selected ->>> ->>> -- test a partitioned view where the PARTITIONED ON clause references ->>> -- an imposed column name ->>> CREATE VIEW vp3(k,v) -PARTITIONED ON (v) -AS -SELECT key, value -FROM src -WHERE key=86; -'key','value' -No rows selected ->>> DESCRIBE FORMATTED vp3; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'k ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'v ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','create_view_partitioned','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Table Type: ','VIRTUAL_VIEW ','' -'Table Parameters:','','' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# Storage Information','','' -'SerDe Library: ','null ','' -'InputFormat: ','org.apache.hadoop.mapred.SequenceFileInputFormat','' -'OutputFormat: ','org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat','' -'Compressed: ','No ','' -'Num Buckets: ','-1 ','' -'Bucket Columns: ','[] ','' -'Sort Columns: ','[] ','' -'','','' -'# View Information','','' -'View Original Text: ','SELECT key, value ','' -'FROM src ','','' -'WHERE key=86','','' -'View Expanded Text: ','SELECT `key` AS `k`, `value` AS `v` FROM (SELECT `src`.`key`, `src`.`value` ','' -'FROM `create_view_partitioned`.`src` ','','' -'WHERE `src`.`key`=86) `vp3`','','' -36 rows selected ->>> ->>> ALTER VIEW vp3 -ADD PARTITION (v='val_86'); -No rows affected ->>> ->>> DROP VIEW vp1; -No rows affected ->>> DROP VIEW vp2; -No rows affected ->>> DROP VIEW vp3; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/cross_join.q.out ql/src/test/results/beelinepositive/cross_join.q.out deleted file mode 100644 index 125241f..0000000 --- ql/src/test/results/beelinepositive/cross_join.q.out +++ /dev/null @@ -1,183 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/cross_join.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/cross_join.q ->>> -- current ->>> explain select src.key from src join src src2; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src)) (TOK_TABREF (TOK_TABNAME src) src2))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Reduce Output Operator' -' sort order: ' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Reduce Output Operator' -' sort order: ' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 ' -' handleSkewJoin: false' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -52 rows selected ->>> -- ansi cross join ->>> explain select src.key from src cross join src src2; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_CROSSJOIN (TOK_TABREF (TOK_TABNAME src)) (TOK_TABREF (TOK_TABNAME src) src2))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Reduce Output Operator' -' sort order: ' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Reduce Output Operator' -' sort order: ' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 ' -' handleSkewJoin: false' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -52 rows selected ->>> -- appending condition is allowed ->>> explain select src.key from src cross join src src2 on src.key=src2.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_CROSSJOIN (TOK_TABREF (TOK_TABNAME src)) (TOK_TABREF (TOK_TABNAME src) src2) (= (. (TOK_TABLE_OR_COL src) key) (. (TOK_TABLE_OR_COL src2) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 ' -' handleSkewJoin: false' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -64 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/ct_case_insensitive.q.out ql/src/test/results/beelinepositive/ct_case_insensitive.q.out deleted file mode 100644 index ed739c3..0000000 --- ql/src/test/results/beelinepositive/ct_case_insensitive.q.out +++ /dev/null @@ -1,9 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/ct_case_insensitive.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/ct_case_insensitive.q ->>> CREATE TABLE tmp_pyang_bucket3 (userId INT) CLUSTERED BY (userid) INTO 32 BUCKETS; -No rows affected ->>> DROP TABLE tmp_pyang_bucket3; -No rows affected ->>> CREATE TABLE tmp_pyang_bucket3 (userId INT) CLUSTERED BY (userid) SORTED BY (USERID) INTO 32 BUCKETS; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/ctas.q.out ql/src/test/results/beelinepositive/ctas.q.out deleted file mode 100644 index 15e3355..0000000 --- ql/src/test/results/beelinepositive/ctas.q.out +++ /dev/null @@ -1,924 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/ctas.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/ctas.q ->>> ->>> ->>> ->>> ->>> ->>> ->>> ->>> ->>> create table nzhang_Tmp(a int, b string); -No rows affected ->>> select * from nzhang_Tmp; -'a','b' -No rows selected ->>> ->>> explain create table nzhang_CTAS1 as select key k, value from src sort by k, value limit 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_CREATETABLE (TOK_TABNAME nzhang_CTAS1) TOK_LIKETABLE (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key) k) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL k)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value))) (TOK_LIMIT 10))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 depends on stages: Stage-2' -' Stage-4 depends on stages: Stage-0' -' Stage-3 depends on stages: Stage-4' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' name: ctas.nzhang_CTAS1' -'' -' Stage: Stage-0' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: !!{hive.metastore.warehouse.dir}!!/ctas.db/nzhang_ctas1' -'' -' Stage: Stage-4' -' Create Table Operator:' -' Create Table' -' columns: k string, value string' -' if not exists: false' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' # buckets: -1' -' output format: org.apache.hadoop.hive.ql.io.IgnoreKeyTextOutputFormat' -' name: nzhang_CTAS1' -' isExternal: false' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -'' -96 rows selected ->>> ->>> create table nzhang_CTAS1 as select key k, value from src sort by k, value limit 10; -'k','value' -No rows selected ->>> ->>> select * from nzhang_CTAS1; -'k','value' -'0','val_0' -'0','val_0' -'0','val_0' -'10','val_10' -'100','val_100' -'100','val_100' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -10 rows selected ->>> ->>> describe formatted nzhang_CTAS1; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'k ','string ','None ' -'value ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','ctas ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/ctas.db/nzhang_ctas1','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','numFiles ','1 ' -'','numPartitions ','0 ' -'','numRows ','10 ' -'','rawDataSize ','96 ' -'','totalSize ','106 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -32 rows selected ->>> ->>> ->>> explain create table nzhang_ctas2 as select * from src sort by key, value limit 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_CREATETABLE (TOK_TABNAME nzhang_ctas2) TOK_LIKETABLE (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value))) (TOK_LIMIT 10))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 depends on stages: Stage-2' -' Stage-4 depends on stages: Stage-0' -' Stage-3 depends on stages: Stage-4' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' name: ctas.nzhang_ctas2' -'' -' Stage: Stage-0' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: !!{hive.metastore.warehouse.dir}!!/ctas.db/nzhang_ctas2' -'' -' Stage: Stage-4' -' Create Table Operator:' -' Create Table' -' columns: key string, value string' -' if not exists: false' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' # buckets: -1' -' output format: org.apache.hadoop.hive.ql.io.IgnoreKeyTextOutputFormat' -' name: nzhang_ctas2' -' isExternal: false' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -'' -96 rows selected ->>> ->>> create table nzhang_ctas2 as select * from src sort by key, value limit 10; -'key','value' -No rows selected ->>> ->>> select * from nzhang_ctas2; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'10','val_10' -'100','val_100' -'100','val_100' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -10 rows selected ->>> ->>> describe formatted nzhang_CTAS2; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','ctas ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/ctas.db/nzhang_ctas2','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','numFiles ','1 ' -'','numPartitions ','0 ' -'','numRows ','10 ' -'','rawDataSize ','96 ' -'','totalSize ','106 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -32 rows selected ->>> ->>> ->>> explain create table nzhang_ctas3 row format serde "org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe" stored as RCFile as select key/2 half_key, concat(value, "_con") conb from src sort by half_key, conb limit 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_CREATETABLE (TOK_TABNAME nzhang_ctas3) TOK_LIKETABLE (TOK_TABLESERIALIZER (TOK_SERDENAME "org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe")) TOK_TBLRCFILE (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (/ (TOK_TABLE_OR_COL key) 2) half_key) (TOK_SELEXPR (TOK_FUNCTION concat (TOK_TABLE_OR_COL value) "_con") conb)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL half_key)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL conb))) (TOK_LIMIT 10))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 depends on stages: Stage-2' -' Stage-4 depends on stages: Stage-0' -' Stage-3 depends on stages: Stage-4' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: (key / 2)' -' type: double' -' expr: concat(value, '_con')' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: double' -' expr: _col1' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: double' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: double' -' expr: _col1' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: double' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.hive.ql.io.RCFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -' name: ctas.nzhang_ctas3' -'' -' Stage: Stage-0' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: !!{hive.metastore.warehouse.dir}!!/ctas.db/nzhang_ctas3' -'' -' Stage: Stage-4' -' Create Table Operator:' -' Create Table' -' columns: half_key double, conb string' -' if not exists: false' -' input format: org.apache.hadoop.hive.ql.io.RCFileInputFormat' -' # buckets: -1' -' output format: org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -' serde name: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -' name: nzhang_ctas3' -' isExternal: false' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -'' -97 rows selected ->>> ->>> create table nzhang_ctas3 row format serde "org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe" stored as RCFile as select key/2 half_key, concat(value, "_con") conb from src sort by half_key, conb limit 10; -'half_key','conb' -No rows selected ->>> ->>> select * from nzhang_ctas3; -'half_key','conb' -'0.0','val_0_con' -'0.0','val_0_con' -'0.0','val_0_con' -'1.0','val_2_con' -'2.0','val_4_con' -'2.5','val_5_con' -'2.5','val_5_con' -'2.5','val_5_con' -'4.0','val_8_con' -'4.5','val_9_con' -10 rows selected ->>> ->>> describe formatted nzhang_CTAS3; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'half_key ','double ','None ' -'conb ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','ctas ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/ctas.db/nzhang_ctas3','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','numFiles ','1 ' -'','numPartitions ','0 ' -'','numRows ','10 ' -'','rawDataSize ','120 ' -'','totalSize ','199 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# Storage Information','','' -'SerDe Library: ','org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe','' -'InputFormat: ','org.apache.hadoop.hive.ql.io.RCFileInputFormat','' -'OutputFormat: ','org.apache.hadoop.hive.ql.io.RCFileOutputFormat','' -'Compressed: ','No ','' -'Num Buckets: ','-1 ','' -'Bucket Columns: ','[] ','' -'Sort Columns: ','[] ','' -'Storage Desc Params:','','' -'','serialization.format','1 ' -32 rows selected ->>> ->>> ->>> explain create table if not exists nzhang_ctas3 as select key, value from src sort by key, value limit 2; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_CREATETABLE (TOK_TABNAME nzhang_ctas3) TOK_IFNOTEXISTS TOK_LIKETABLE (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value))) (TOK_LIMIT 2))))' -'' -'STAGE DEPENDENCIES:' -'' -'STAGE PLANS:' -'STAGE PLANS:' -7 rows selected ->>> ->>> create table if not exists nzhang_ctas3 as select key, value from src sort by key, value limit 2; -No rows affected ->>> ->>> select * from nzhang_ctas3; -'half_key','conb' -'0.0','val_0_con' -'0.0','val_0_con' -'0.0','val_0_con' -'1.0','val_2_con' -'2.0','val_4_con' -'2.5','val_5_con' -'2.5','val_5_con' -'2.5','val_5_con' -'4.0','val_8_con' -'4.5','val_9_con' -10 rows selected ->>> ->>> describe formatted nzhang_CTAS3; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'half_key ','double ','None ' -'conb ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','ctas ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/ctas.db/nzhang_ctas3','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','numFiles ','1 ' -'','numPartitions ','0 ' -'','numRows ','10 ' -'','rawDataSize ','120 ' -'','totalSize ','199 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# Storage Information','','' -'SerDe Library: ','org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe','' -'InputFormat: ','org.apache.hadoop.hive.ql.io.RCFileInputFormat','' -'OutputFormat: ','org.apache.hadoop.hive.ql.io.RCFileOutputFormat','' -'Compressed: ','No ','' -'Num Buckets: ','-1 ','' -'Bucket Columns: ','[] ','' -'Sort Columns: ','[] ','' -'Storage Desc Params:','','' -'','serialization.format','1 ' -32 rows selected ->>> ->>> ->>> explain create table nzhang_ctas4 row format delimited fields terminated by ',' stored as textfile as select key, value from src sort by key, value limit 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_CREATETABLE (TOK_TABNAME nzhang_ctas4) TOK_LIKETABLE (TOK_TABLEROWFORMAT (TOK_SERDEPROPS (TOK_TABLEROWFORMATFIELD ','))) TOK_TBLTEXTFILE (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value))) (TOK_LIMIT 10))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 depends on stages: Stage-2' -' Stage-4 depends on stages: Stage-0' -' Stage-3 depends on stages: Stage-4' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' name: ctas.nzhang_ctas4' -'' -' Stage: Stage-0' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: !!{hive.metastore.warehouse.dir}!!/ctas.db/nzhang_ctas4' -'' -' Stage: Stage-4' -' Create Table Operator:' -' Create Table' -' columns: key string, value string' -' field delimiter: ,' -' if not exists: false' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' # buckets: -1' -' output format: org.apache.hadoop.hive.ql.io.IgnoreKeyTextOutputFormat' -' name: nzhang_ctas4' -' isExternal: false' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -'' -97 rows selected ->>> ->>> create table nzhang_ctas4 row format delimited fields terminated by ',' stored as textfile as select key, value from src sort by key, value limit 10; -'key','value' -No rows selected ->>> ->>> select * from nzhang_ctas4; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'10','val_10' -'100','val_100' -'100','val_100' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -10 rows selected ->>> ->>> describe formatted nzhang_CTAS4; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','ctas ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/ctas.db/nzhang_ctas4','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','numFiles ','1 ' -'','numPartitions ','0 ' -'','numRows ','10 ' -'','rawDataSize ','96 ' -'','totalSize ','106 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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:','','' -'','field.delim ',', ' -'','serialization.format',', ' -33 rows selected ->>> ->>> explain extended create table nzhang_ctas5 row format delimited fields terminated by ',' lines terminated by '\012' stored as textfile as select key, value from src sort by key, value limit 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_CREATETABLE (TOK_TABNAME nzhang_ctas5) TOK_LIKETABLE (TOK_TABLEROWFORMAT (TOK_SERDEPROPS (TOK_TABLEROWFORMATFIELD ',') (TOK_TABLEROWFORMATLINES '\012'))) TOK_TBLTEXTFILE (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value))) (TOK_LIMIT 10))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 depends on stages: Stage-2' -' Stage-4 depends on stages: Stage-0' -' Stage-3 depends on stages: Stage-4' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/ctas.db/src [src]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/ctas.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/ctas.db/src' -' name ctas.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/ctas.db/src' -' name ctas.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: ctas.src' -' name: ctas.src' -' Reduce Operator Tree:' -' Extract' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string,string' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string,string' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string,string' -' escape.delim \' -' Reduce Operator Tree:' -' Extract' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string:string' -' field.delim ,' -' line.delim ' -'' -' name ctas.nzhang_ctas5' -' serialization.format ,' -' name: ctas.nzhang_ctas5' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: !!{hive.metastore.warehouse.dir}!!/ctas.db/nzhang_ctas5' -'' -' Stage: Stage-4' -' Create Table Operator:' -' Create Table' -' columns: key string, value string' -' field delimiter: ,' -' if not exists: false' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' line delimiter: ' -'' -' # buckets: -1' -' output format: org.apache.hadoop.hive.ql.io.IgnoreKeyTextOutputFormat' -' name: nzhang_ctas5' -' isExternal: false' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -195 rows selected ->>> ->>> set mapred.job.tracker=does.notexist.com:666; -No rows affected ->>> set hive.exec.mode.local.auto=true; -No rows affected ->>> ->>> create table nzhang_ctas5 row format delimited fields terminated by ',' lines terminated by '\012' stored as textfile as select key, value from src sort by key, value limit 10; -'key','value' -No rows selected ->>> ->>> create table nzhang_ctas6 (key string, `to` string); -No rows affected ->>> insert overwrite table nzhang_ctas6 select key, value from src limit 10; -'key','value' -No rows selected ->>> create table nzhang_ctas7 as select key, `to` from nzhang_ctas6; -'key','to' -No rows selected ->>> ->>> ->>> ->>> ->>> ->>> ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/default_partition_name.q.out ql/src/test/results/beelinepositive/default_partition_name.q.out deleted file mode 100644 index ce5f504..0000000 --- ql/src/test/results/beelinepositive/default_partition_name.q.out +++ /dev/null @@ -1,16 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/default_partition_name.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/default_partition_name.q ->>> create table default_partition_name (key int, value string) partitioned by (ds string); -No rows affected ->>> ->>> set hive.exec.default.partition.name='some_other_default_partition_name'; -No rows affected ->>> ->>> alter table default_partition_name add partition(ds='__HIVE_DEFAULT_PARTITION__'); -No rows affected ->>> ->>> show partitions default_partition_name; -'partition' -'ds=__HIVE_DEFAULT_PARTITION__' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/delimiter.q.out ql/src/test/results/beelinepositive/delimiter.q.out deleted file mode 100644 index b0cd333..0000000 --- ql/src/test/results/beelinepositive/delimiter.q.out +++ /dev/null @@ -1,28 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/delimiter.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/delimiter.q ->>> create table impressions (imp string, msg string) -row format delimited -fields terminated by '\t' -lines terminated by '\n' -stored as textfile; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/in7.txt' INTO TABLE impressions; -No rows affected ->>> ->>> select * from impressions; -'imp','msg' -'','35' -'48','' -'100','100' -3 rows selected ->>> ->>> select imp,msg from impressions; -'imp','msg' -'','35' -'48','' -'100','100' -3 rows selected ->>> ->>> drop table impressions; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/desc_non_existent_tbl.q.out ql/src/test/results/beelinepositive/desc_non_existent_tbl.q.out deleted file mode 100644 index a81b3db..0000000 --- ql/src/test/results/beelinepositive/desc_non_existent_tbl.q.out +++ /dev/null @@ -1,3 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/desc_non_existent_tbl.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/desc_non_existent_tbl.q ->>> !record diff --git ql/src/test/results/beelinepositive/describe_formatted_view_partitioned.q.out ql/src/test/results/beelinepositive/describe_formatted_view_partitioned.q.out deleted file mode 100644 index f393f58..0000000 --- ql/src/test/results/beelinepositive/describe_formatted_view_partitioned.q.out +++ /dev/null @@ -1,43 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/describe_formatted_view_partitioned.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/describe_formatted_view_partitioned.q ->>> DROP VIEW view_partitioned; -No rows affected ->>> ->>> CREATE VIEW view_partitioned -PARTITIONED ON (value) -AS -SELECT key, value -FROM src -WHERE key=86; -'key','value' -No rows selected ->>> ->>> ALTER VIEW view_partitioned -ADD PARTITION (value='val_86'); -No rows affected ->>> ->>> DESCRIBE FORMATTED view_partitioned PARTITION (value='val_86'); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'value ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[val_86] ','' -'Database: ','describe_formatted_view_partitioned','' -'Table: ','view_partitioned ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','null ','' -'Partition Parameters:','','' -'','transient_lastDdlTime','!!UNIXTIME!! ' -19 rows selected ->>> ->>> DROP VIEW view_partitioned; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/describe_formatted_view_partitioned_json.q.out ql/src/test/results/beelinepositive/describe_formatted_view_partitioned_json.q.out deleted file mode 100644 index 4686a5f..0000000 --- ql/src/test/results/beelinepositive/describe_formatted_view_partitioned_json.q.out +++ /dev/null @@ -1,29 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/describe_formatted_view_partitioned_json.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/describe_formatted_view_partitioned_json.q ->>> set hive.ddl.output.format=json; -No rows affected ->>> ->>> DROP VIEW view_partitioned; -No rows affected ->>> ->>> CREATE VIEW view_partitioned -PARTITIONED ON (value) -AS -SELECT key, value -FROM src -WHERE key=86; -'key','value' -No rows selected ->>> ->>> ALTER VIEW view_partitioned -ADD PARTITION (value='val_86'); -No rows affected ->>> ->>> DESCRIBE FORMATTED view_partitioned PARTITION (value='val_86'); -'col_name','data_type','comment' -'{"columns":[{"name":"key","type":"string"}]}','','' -1 row selected ->>> ->>> DROP VIEW view_partitioned; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/describe_table.q.out ql/src/test/results/beelinepositive/describe_table.q.out deleted file mode 100644 index 1ad5134..0000000 --- ql/src/test/results/beelinepositive/describe_table.q.out +++ /dev/null @@ -1,183 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/describe_table.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/describe_table.q ->>> describe srcpart; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'ds','string','' -'hr','string','' -4 rows selected ->>> describe srcpart.key; -'col_name','data_type','comment' -'key','string','from deserializer' -1 row selected ->>> describe srcpart PARTITION(ds='2008-04-08', hr='12'); -'col_name','data_type','comment' -'key','string','' -'value','string','' -'ds','string','' -'hr','string','' -4 rows selected ->>> ->>> describe extended srcpart; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'ds','string','' -'hr','string','' -'','','' -'Detailed Table Information','Table(tableName:srcpart, dbName:describe_table, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:hr, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/describe_table.db/srcpart, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:hr, type:string, comment:null)], parameters:{numPartitions=4, numFiles=4, transient_lastDdlTime=!!UNIXTIME!!, totalSize=23248, numRows=0, rawDataSize=0}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -6 rows selected ->>> describe extended srcpart.key; -'col_name','data_type','comment' -'key','string','from deserializer' -1 row selected ->>> describe extended srcpart PARTITION(ds='2008-04-08', hr='12'); -'col_name','data_type','comment' -'key','string','' -'value','string','' -'ds','string','' -'hr','string','' -'','','' -'Detailed Partition Information','Partition(values:[2008-04-08, 12], dbName:describe_table, tableName:srcpart, createTime:!!UNIXTIME!!, lastAccessTime:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:hr, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/describe_table.db/srcpart/ds=2008-04-08/hr=12, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), parameters:{numFiles=1, transient_lastDdlTime=!!UNIXTIME!!, totalSize=5812, numRows=0, rawDataSize=0})','' -6 rows selected ->>> ->>> describe formatted srcpart; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','describe_table ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/describe_table.db/srcpart','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','numFiles ','4 ' -'','numPartitions ','4 ' -'','numRows ','0 ' -'','rawDataSize ','0 ' -'','totalSize ','23248 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -38 rows selected ->>> describe formatted srcpart.key; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','from deserializer ' -3 rows selected ->>> describe formatted srcpart PARTITION(ds='2008-04-08', hr='12'); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2008-04-08, 12] ','' -'Database: ','describe_table ','' -'Table: ','srcpart ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/describe_table.db/srcpart/ds=2008-04-08/hr=12','' -'Partition Parameters:','','' -'','numFiles ','1 ' -'','numRows ','0 ' -'','rawDataSize ','0 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -36 rows selected ->>> ->>> create table srcpart_serdeprops like srcpart; -No rows affected ->>> alter table srcpart_serdeprops set serdeproperties('xyz'='0'); -No rows affected ->>> alter table srcpart_serdeprops set serdeproperties('pqrs'='1'); -No rows affected ->>> alter table srcpart_serdeprops set serdeproperties('abcd'='2'); -No rows affected ->>> alter table srcpart_serdeprops set serdeproperties('A1234'='3'); -No rows affected ->>> describe formatted srcpart_serdeprops; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','describe_table ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/describe_table.db/srcpart_serdeprops','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','last_modified_by ','!!{user.name}!! ' -'','last_modified_time ','!!UNIXTIME!! ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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:','','' -'','A1234 ','3 ' -'','abcd ','2 ' -'','pqrs ','1 ' -'','serialization.format','1 ' -'','xyz ','0 ' -39 rows selected ->>> drop table srcpart_serdeprops; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/describe_table_json.q.out ql/src/test/results/beelinepositive/describe_table_json.q.out deleted file mode 100644 index 836b936..0000000 --- ql/src/test/results/beelinepositive/describe_table_json.q.out +++ /dev/null @@ -1,42 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/describe_table_json.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/describe_table_json.q ->>> set hive.ddl.output.format=json; -No rows affected ->>> ->>> CREATE TABLE IF NOT EXISTS jsontable (key INT, value STRING) COMMENT 'json table' STORED AS TEXTFILE; -No rows affected ->>> ->>> SHOW TABLES; -'tab_name' -'{"tables":["jsontable","primitives","src","src1","src_json","src_sequencefile","src_thrift","srcbucket","srcbucket2","srcpart"]}' -1 row selected ->>> ->>> SHOW TABLES LIKE 'json*'; -'tab_name' -'{"tables":["jsontable"]}' -1 row selected ->>> ->>> SHOW TABLE EXTENDED LIKE 'json*'; -'tab_name' -'{"tables":[]}' -1 row selected ->>> ->>> ALTER TABLE jsontable SET TBLPROPERTIES ('id' = 'jsontable'); -No rows affected ->>> ->>> DESCRIBE jsontable; -'col_name','data_type','comment' -'{"columns":[{"name":"key","type":"int"},{"name":"value","type":"string"}]}','','' -1 row selected ->>> ->>> DESCRIBE extended jsontable; -'col_name','data_type','comment' -'{"columns":[{"name":"key","type":"int"},{"name":"value","type":"string"}],"tableInfo":{"owner":"!!{user.name}!!","parameters":{"id":"jsontable","last_modified_by":"!!{user.name}!!","last_modified_time":"!!UNIXTIME!!","transient_lastDdlTime":"!!UNIXTIME!!","comment":"json table"},"tableName":"jsontable","dbName":"describe_table_json","tableType":"MANAGED_TABLE","sd":{"location":"!!{hive.metastore.warehouse.dir}!!/describe_table_json.db/jsontable","parameters":{},"inputFormat":"org.apache.hadoop.mapred.TextInputFormat","outputFormat":"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat","cols":[{"name":"key","type":"int","comment":null,"setName":true,"setType":true,"setComment":false},{"name":"value","type":"string","comment":null,"setName":true,"setType":true,"setComment":false}],"skewedInfo":{"skewedColNames":[],"skewedColValues":[],"skewedColValueLocationMaps":{},"skewedColNamesSize":0,"skewedColNamesIterator":[],"setSkewedColNames":true,"skewedColValuesSize":0,"skewedColValuesIterator":[],"setSkewedColValues":true,"skewedColValueLocationMapsSize":0,"setSkewedColValueLocationMaps":true},"serdeInfo":{"name":null,"parameters":{"serialization.format":"1"},"serializationLib":"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe","setName":false,"parametersSize":1,"setParameters":true,"setSerializationLib":true},"numBuckets":-1,"bucketCols":[],"compressed":false,"sortCols":[],"parametersSize":0,"setParameters":true,"colsSize":2,"colsIterator":[{"name":"key","type":"int","comment":null,"setName":true,"setType":true,"setComment":false},{"name":"value","type":"string","comment":null,"setName":true,"setType":true,"setComment":false}],"setCols":true,"setLocation":true,"setInputFormat":true,"setOutputFormat":true,"setCompressed":true,"setNumBuckets":true,"setSerdeInfo":true,"bucketColsSize":0,"bucketColsIterator":[],"setBucketCols":true,"sortColsSize":0,"sortColsIterator":[],"setSortCols":true,"setSkewedInfo":true},"partitionKeys":[],"createTime":!!UNIXTIME!!,"privileges":null,"viewOriginalText":null,"lastAccessTime":0,"retention":0,"viewExpandedText":null,"partitionKeysSize":0,"setDbName":true,"setCreateTime":true,"setLastAccessTime":true,"setSd":true,"parametersSize":5,"setParameters":true,"setTableName":true,"setOwner":true,"setRetention":true,"partitionKeysIterator":[],"setPartitionKeys":true,"setViewOriginalText":false,"setViewExpandedText":false,"setTableType":true,"setPrivileges":false}}','','' -1 row selected ->>> ->>> DROP TABLE jsontable; -No rows affected ->>> ->>> set hive.ddl.output.format=text; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/describe_xpath.q.out ql/src/test/results/beelinepositive/describe_xpath.q.out deleted file mode 100644 index a55635e..0000000 --- ql/src/test/results/beelinepositive/describe_xpath.q.out +++ /dev/null @@ -1,40 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/describe_xpath.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/describe_xpath.q ->>> -- Describe a list structure in a thrift table ->>> describe src_thrift.lint; -'col_name','data_type','comment' -'lint','array','from deserializer' -1 row selected ->>> ->>> -- Describe the element of a list ->>> describe src_thrift.lint.$elem$; -'col_name','data_type','comment' -'$elem$','int','from deserializer' -1 row selected ->>> ->>> -- Describe the key of a map ->>> describe src_thrift.mStringString.$key$; -'col_name','data_type','comment' -'$key$','string','from deserializer' -1 row selected ->>> ->>> -- Describe the value of a map ->>> describe src_thrift.mStringString.$value$; -'col_name','data_type','comment' -'$value$','string','from deserializer' -1 row selected ->>> ->>> -- Describe a complex element of a list ->>> describe src_thrift.lintString.$elem$; -'col_name','data_type','comment' -'myint','int','from deserializer' -'mystring','string','from deserializer' -'underscore_int','int','from deserializer' -3 rows selected ->>> ->>> -- Describe a member of an element of a list ->>> describe src_thrift.lintString.$elem$.myint; -'col_name','data_type','comment' -'myint','int','from deserializer' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/diff_part_input_formats.q.out ql/src/test/results/beelinepositive/diff_part_input_formats.q.out deleted file mode 100644 index 3f9bb3e..0000000 --- ql/src/test/results/beelinepositive/diff_part_input_formats.q.out +++ /dev/null @@ -1,19 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/diff_part_input_formats.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/diff_part_input_formats.q ->>> -- Tests the case where a table is changed from sequence file to a RC file, ->>> -- resulting in partitions in both file formats. If no valid partitions are ->>> -- selected, then it should still use RC file for reading the dummy partition. ->>> CREATE TABLE part_test (key STRING, value STRING) PARTITIONED BY (ds STRING) STORED AS SEQUENCEFILE; -No rows affected ->>> ALTER TABLE part_test ADD PARTITION(ds='1'); -No rows affected ->>> ALTER TABLE part_test SET FILEFORMAT RCFILE; -No rows affected ->>> ALTER TABLE part_test ADD PARTITION(ds='2'); -No rows affected ->>> SELECT count(1) FROM part_test WHERE ds='3'; -'_c0' -'0' -1 row selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/disable_file_format_check.q.out ql/src/test/results/beelinepositive/disable_file_format_check.q.out deleted file mode 100644 index a9faddc..0000000 --- ql/src/test/results/beelinepositive/disable_file_format_check.q.out +++ /dev/null @@ -1,17 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/disable_file_format_check.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/disable_file_format_check.q ->>> set hive.fileformat.check = false; -No rows affected ->>> create table kv_fileformat_check_txt (key string, value string) stored as textfile; -No rows affected ->>> load data local inpath '../data/files/kv1.seq' overwrite into table kv_fileformat_check_txt; -No rows affected ->>> ->>> create table kv_fileformat_check_seq (key string, value string) stored as sequencefile; -No rows affected ->>> load data local inpath '../data/files/kv1.txt' overwrite into table kv_fileformat_check_seq; -No rows affected ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/disable_merge_for_bucketing.q.out ql/src/test/results/beelinepositive/disable_merge_for_bucketing.q.out deleted file mode 100644 index 90dda6d..0000000 --- ql/src/test/results/beelinepositive/disable_merge_for_bucketing.q.out +++ /dev/null @@ -1,484 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/disable_merge_for_bucketing.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/disable_merge_for_bucketing.q ->>> set hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> set hive.enforce.bucketing = true; -No rows affected ->>> set hive.exec.reducers.max = 1; -No rows affected ->>> set hive.merge.mapredfiles=true; -No rows affected ->>> ->>> ->>> CREATE TABLE bucket2_1(key int, value string) CLUSTERED BY (key) INTO 2 BUCKETS; -No rows affected ->>> ->>> explain extended -insert overwrite table bucket2_1 -select * from src; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME bucket2_1))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' sort order: ' -' Map-reduce partition columns:' -' expr: UDFToInteger(_col0)' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/disable_merge_for_bucketing.db/src [src]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/disable_merge_for_bucketing.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/disable_merge_for_bucketing.db/src' -' name disable_merge_for_bucketing.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/disable_merge_for_bucketing.db/src' -' name disable_merge_for_bucketing.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: disable_merge_for_bucketing.src' -' name: disable_merge_for_bucketing.src' -' Reduce Operator Tree:' -' Extract' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 2' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/disable_merge_for_bucketing.db/bucket2_1' -' name disable_merge_for_bucketing.bucket2_1' -' serialization.ddl struct bucket2_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: disable_merge_for_bucketing.bucket2_1' -' TotalFiles: 2' -' GatherStats: true' -' MultiFileSpray: true' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/disable_merge_for_bucketing.db/bucket2_1' -' name disable_merge_for_bucketing.bucket2_1' -' serialization.ddl struct bucket2_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: disable_merge_for_bucketing.bucket2_1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -150 rows selected ->>> ->>> insert overwrite table bucket2_1 -select * from src; -'_col0','_col1' -No rows selected ->>> ->>> explain -select * from bucket2_1 tablesample (bucket 1 out of 2) s order by key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME bucket2_1) (TOK_TABLEBUCKETSAMPLE 1 2) s)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' s ' -' TableScan' -' alias: s' -' Filter Operator' -' predicate:' -' expr: (((hash(key) & 2147483647) % 2) = 0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -50 rows selected ->>> ->>> select * from bucket2_1 tablesample (bucket 1 out of 2) s order by key; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'2','val_2' -'4','val_4' -'8','val_8' -'10','val_10' -'12','val_12' -'12','val_12' -'18','val_18' -'18','val_18' -'20','val_20' -'24','val_24' -'24','val_24' -'26','val_26' -'26','val_26' -'28','val_28' -'30','val_30' -'34','val_34' -'42','val_42' -'42','val_42' -'44','val_44' -'54','val_54' -'58','val_58' -'58','val_58' -'64','val_64' -'66','val_66' -'70','val_70' -'70','val_70' -'70','val_70' -'72','val_72' -'72','val_72' -'74','val_74' -'76','val_76' -'76','val_76' -'78','val_78' -'80','val_80' -'82','val_82' -'84','val_84' -'84','val_84' -'86','val_86' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'96','val_96' -'98','val_98' -'98','val_98' -'100','val_100' -'100','val_100' -'104','val_104' -'104','val_104' -'114','val_114' -'116','val_116' -'118','val_118' -'118','val_118' -'120','val_120' -'120','val_120' -'126','val_126' -'128','val_128' -'128','val_128' -'128','val_128' -'134','val_134' -'134','val_134' -'136','val_136' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'146','val_146' -'146','val_146' -'150','val_150' -'152','val_152' -'152','val_152' -'156','val_156' -'158','val_158' -'160','val_160' -'162','val_162' -'164','val_164' -'164','val_164' -'166','val_166' -'168','val_168' -'170','val_170' -'172','val_172' -'172','val_172' -'174','val_174' -'174','val_174' -'176','val_176' -'176','val_176' -'178','val_178' -'180','val_180' -'186','val_186' -'190','val_190' -'192','val_192' -'194','val_194' -'196','val_196' -'200','val_200' -'200','val_200' -'202','val_202' -'208','val_208' -'208','val_208' -'208','val_208' -'214','val_214' -'216','val_216' -'216','val_216' -'218','val_218' -'222','val_222' -'224','val_224' -'224','val_224' -'226','val_226' -'228','val_228' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'238','val_238' -'238','val_238' -'242','val_242' -'242','val_242' -'244','val_244' -'248','val_248' -'252','val_252' -'256','val_256' -'256','val_256' -'258','val_258' -'260','val_260' -'262','val_262' -'266','val_266' -'272','val_272' -'272','val_272' -'274','val_274' -'278','val_278' -'278','val_278' -'280','val_280' -'280','val_280' -'282','val_282' -'282','val_282' -'284','val_284' -'286','val_286' -'288','val_288' -'288','val_288' -'292','val_292' -'296','val_296' -'298','val_298' -'298','val_298' -'298','val_298' -'302','val_302' -'306','val_306' -'308','val_308' -'310','val_310' -'316','val_316' -'316','val_316' -'316','val_316' -'318','val_318' -'318','val_318' -'318','val_318' -'322','val_322' -'322','val_322' -'332','val_332' -'336','val_336' -'338','val_338' -'342','val_342' -'342','val_342' -'344','val_344' -'344','val_344' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'356','val_356' -'360','val_360' -'362','val_362' -'364','val_364' -'366','val_366' -'368','val_368' -'374','val_374' -'378','val_378' -'382','val_382' -'382','val_382' -'384','val_384' -'384','val_384' -'384','val_384' -'386','val_386' -'392','val_392' -'394','val_394' -'396','val_396' -'396','val_396' -'396','val_396' -'400','val_400' -'402','val_402' -'404','val_404' -'404','val_404' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'414','val_414' -'414','val_414' -'418','val_418' -'424','val_424' -'424','val_424' -'430','val_430' -'430','val_430' -'430','val_430' -'432','val_432' -'436','val_436' -'438','val_438' -'438','val_438' -'438','val_438' -'444','val_444' -'446','val_446' -'448','val_448' -'452','val_452' -'454','val_454' -'454','val_454' -'454','val_454' -'458','val_458' -'458','val_458' -'460','val_460' -'462','val_462' -'462','val_462' -'466','val_466' -'466','val_466' -'466','val_466' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'470','val_470' -'472','val_472' -'478','val_478' -'478','val_478' -'480','val_480' -'480','val_480' -'480','val_480' -'482','val_482' -'484','val_484' -'490','val_490' -'492','val_492' -'492','val_492' -'494','val_494' -'496','val_496' -'498','val_498' -'498','val_498' -'498','val_498' -247 rows selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/driverhook.q.out ql/src/test/results/beelinepositive/driverhook.q.out deleted file mode 100644 index 6319195..0000000 --- ql/src/test/results/beelinepositive/driverhook.q.out +++ /dev/null @@ -1,13 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/driverhook.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/driverhook.q ->>> SET hive.exec.driver.run.hooks=org.apache.hadoop.hive.ql.hooks.DriverTestHook; -No rows affected ->>> ->>> -- This query should appear in the Hive CLI output. ->>> -- We test DriverTestHook, which does exactly that. ->>> -- This should not break. ->>> SELECT * FROM src LIMIT 1; -'key','value' -'238','val_238' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/drop_function.q.out ql/src/test/results/beelinepositive/drop_function.q.out deleted file mode 100644 index a097306..0000000 --- ql/src/test/results/beelinepositive/drop_function.q.out +++ /dev/null @@ -1,7 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/drop_function.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/drop_function.q ->>> SET hive.exec.drop.ignorenonexistent=false; -No rows affected ->>> DROP TEMPORARY FUNCTION IF EXISTS UnknownFunction; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/drop_index.q.out ql/src/test/results/beelinepositive/drop_index.q.out deleted file mode 100644 index 00048ab..0000000 --- ql/src/test/results/beelinepositive/drop_index.q.out +++ /dev/null @@ -1,7 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/drop_index.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/drop_index.q ->>> SET hive.exec.drop.ignorenonexistent=false; -No rows affected ->>> DROP INDEX IF EXISTS UnknownIndex ON src; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/drop_index_removes_partition_dirs.q.out ql/src/test/results/beelinepositive/drop_index_removes_partition_dirs.q.out deleted file mode 100644 index 389794f..0000000 --- ql/src/test/results/beelinepositive/drop_index_removes_partition_dirs.q.out +++ /dev/null @@ -1,32 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/drop_index_removes_partition_dirs.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/drop_index_removes_partition_dirs.q ->>> -- This test verifies that if a partition exists outside an index table's current location when the ->>> -- index is dropped the partition's location is dropped as well. ->>> ->>> CREATE TABLE test_table (key STRING, value STRING) -PARTITIONED BY (part STRING) -STORED AS RCFILE -LOCATION 'file:${system:test.tmp.dir}/drop_database_removes_partition_dirs_table'; -No rows affected ->>> ->>> CREATE INDEX test_index ON -TABLE test_table(key) AS 'compact' WITH DEFERRED REBUILD -IN TABLE test_index_table; -No rows affected ->>> ->>> ALTER TABLE test_index_table ADD PARTITION (part = '1') -LOCATION 'file:${system:test.tmp.dir}/drop_index_removes_partition_dirs_index_table2/part=1'; -No rows affected ->>> ->>> dfs -ls ${system:test.tmp.dir}/drop_index_removes_partition_dirs_index_table2; -No rows affected ->>> ->>> DROP INDEX test_index ON test_table; -No rows affected ->>> ->>> dfs -ls ${system:test.tmp.dir}/drop_index_removes_partition_dirs_index_table2; -No rows affected ->>> ->>> dfs -rmr ${system:test.tmp.dir}/drop_index_removes_partition_dirs_index_table2; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/drop_multi_partitions.q.out ql/src/test/results/beelinepositive/drop_multi_partitions.q.out deleted file mode 100644 index d8d9b2e..0000000 --- ql/src/test/results/beelinepositive/drop_multi_partitions.q.out +++ /dev/null @@ -1,53 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/drop_multi_partitions.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/drop_multi_partitions.q ->>> create table mp (a string) partitioned by (b string, c string); -No rows affected ->>> ->>> alter table mp add partition (b='1', c='1'); -No rows affected ->>> alter table mp add partition (b='1', c='2'); -No rows affected ->>> alter table mp add partition (b='2', c='2'); -No rows affected ->>> ->>> show partitions mp; -'partition' -'b=1/c=1' -'b=1/c=2' -'b=2/c=2' -3 rows selected ->>> ->>> explain extended alter table mp drop partition (b='1'); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_ALTERTABLE_DROPPARTS mp (TOK_PARTSPEC (TOK_PARTVAL b = '1')))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Drop Table Operator:' -' Drop Table' -' table: mp' -'' -'' -13 rows selected ->>> alter table mp drop partition (b='1'); -No rows affected ->>> ->>> show partitions mp; -'partition' -'b=2/c=2' -1 row selected ->>> ->>> set hive.exec.drop.ignorenonexistent=false; -No rows affected ->>> alter table mp drop if exists partition (b='3'); -No rows affected ->>> ->>> show partitions mp; -'partition' -'b=2/c=2' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/drop_partitions_filter.q.out ql/src/test/results/beelinepositive/drop_partitions_filter.q.out deleted file mode 100644 index f584bbd..0000000 --- ql/src/test/results/beelinepositive/drop_partitions_filter.q.out +++ /dev/null @@ -1,111 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/drop_partitions_filter.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/drop_partitions_filter.q ->>> create table ptestfilter (a string, b int) partitioned by (c string, d string); -No rows affected ->>> describe ptestfilter; -'col_name','data_type','comment' -'a','string','' -'b','int','' -'c','string','' -'d','string','' -4 rows selected ->>> ->>> alter table ptestfilter add partition (c='US', d=1); -No rows affected ->>> alter table ptestfilter add partition (c='US', d=2); -No rows affected ->>> alter table ptestFilter add partition (c='Uganda', d=2); -No rows affected ->>> alter table ptestfilter add partition (c='Germany', d=2); -No rows affected ->>> alter table ptestfilter add partition (c='Canada', d=3); -No rows affected ->>> alter table ptestfilter add partition (c='Russia', d=3); -No rows affected ->>> alter table ptestfilter add partition (c='Greece', d=2); -No rows affected ->>> alter table ptestfilter add partition (c='India', d=3); -No rows affected ->>> alter table ptestfilter add partition (c='France', d=4); -No rows affected ->>> show partitions ptestfilter; -'partition' -'c=Canada/d=3' -'c=France/d=4' -'c=Germany/d=2' -'c=Greece/d=2' -'c=India/d=3' -'c=Russia/d=3' -'c=US/d=1' -'c=US/d=2' -'c=Uganda/d=2' -9 rows selected ->>> ->>> alter table ptestfilter drop partition (c='US', d<'2'); -No rows affected ->>> show partitions ptestfilter; -'partition' -'c=Canada/d=3' -'c=France/d=4' -'c=Germany/d=2' -'c=Greece/d=2' -'c=India/d=3' -'c=Russia/d=3' -'c=US/d=2' -'c=Uganda/d=2' -8 rows selected ->>> ->>> alter table ptestfilter drop partition (c>='US', d<='2'); -No rows affected ->>> show partitions ptestfilter; -'partition' -'c=Canada/d=3' -'c=France/d=4' -'c=Germany/d=2' -'c=Greece/d=2' -'c=India/d=3' -'c=Russia/d=3' -6 rows selected ->>> ->>> alter table ptestfilter drop partition (c >'India'); -No rows affected ->>> show partitions ptestfilter; -'partition' -'c=Canada/d=3' -'c=France/d=4' -'c=Germany/d=2' -'c=Greece/d=2' -'c=India/d=3' -5 rows selected ->>> ->>> alter table ptestfilter drop partition (c >='India'), -partition (c='Greece', d='2'); -No rows affected ->>> show partitions ptestfilter; -'partition' -'c=Canada/d=3' -'c=France/d=4' -'c=Germany/d=2' -3 rows selected ->>> ->>> alter table ptestfilter drop partition (c != 'France'); -No rows affected ->>> show partitions ptestfilter; -'partition' -'c=France/d=4' -1 row selected ->>> ->>> set hive.exec.drop.ignorenonexistent=false; -No rows affected ->>> alter table ptestfilter drop if exists partition (c='US'); -No rows affected ->>> show partitions ptestfilter; -'partition' -'c=France/d=4' -1 row selected ->>> ->>> drop table ptestfilter; -No rows affected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/drop_partitions_filter2.q.out ql/src/test/results/beelinepositive/drop_partitions_filter2.q.out deleted file mode 100644 index 9d31d69..0000000 --- ql/src/test/results/beelinepositive/drop_partitions_filter2.q.out +++ /dev/null @@ -1,59 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/drop_partitions_filter2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/drop_partitions_filter2.q ->>> create table ptestfilter (a string, b int) partitioned by (c int, d int); -No rows affected ->>> describe ptestfilter; -'col_name','data_type','comment' -'a','string','' -'b','int','' -'c','int','' -'d','int','' -4 rows selected ->>> ->>> alter table ptestfilter add partition (c=1, d=1); -No rows affected ->>> alter table ptestfilter add partition (c=1, d=2); -No rows affected ->>> alter table ptestFilter add partition (c=2, d=1); -No rows affected ->>> alter table ptestfilter add partition (c=2, d=2); -No rows affected ->>> alter table ptestfilter add partition (c=3, d=1); -No rows affected ->>> alter table ptestfilter add partition (c=3, d=2); -No rows affected ->>> show partitions ptestfilter; -'partition' -'c=1/d=1' -'c=1/d=2' -'c=2/d=1' -'c=2/d=2' -'c=3/d=1' -'c=3/d=2' -6 rows selected ->>> ->>> alter table ptestfilter drop partition (c=1, d=1); -No rows affected ->>> show partitions ptestfilter; -'partition' -'c=1/d=2' -'c=2/d=1' -'c=2/d=2' -'c=3/d=1' -'c=3/d=2' -5 rows selected ->>> ->>> alter table ptestfilter drop partition (c=2); -No rows affected ->>> show partitions ptestfilter; -'partition' -'c=1/d=2' -'c=3/d=1' -'c=3/d=2' -3 rows selected ->>> ->>> drop table ptestfilter; -No rows affected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/drop_partitions_filter3.q.out ql/src/test/results/beelinepositive/drop_partitions_filter3.q.out deleted file mode 100644 index 58b9dfe..0000000 --- ql/src/test/results/beelinepositive/drop_partitions_filter3.q.out +++ /dev/null @@ -1,59 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/drop_partitions_filter3.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/drop_partitions_filter3.q ->>> create table ptestfilter (a string, b int) partitioned by (c string, d int); -No rows affected ->>> describe ptestfilter; -'col_name','data_type','comment' -'a','string','' -'b','int','' -'c','string','' -'d','int','' -4 rows selected ->>> ->>> alter table ptestfilter add partition (c='1', d=1); -No rows affected ->>> alter table ptestfilter add partition (c='1', d=2); -No rows affected ->>> alter table ptestFilter add partition (c='2', d=1); -No rows affected ->>> alter table ptestfilter add partition (c='2', d=2); -No rows affected ->>> alter table ptestfilter add partition (c='3', d=1); -No rows affected ->>> alter table ptestfilter add partition (c='3', d=2); -No rows affected ->>> show partitions ptestfilter; -'partition' -'c=1/d=1' -'c=1/d=2' -'c=2/d=1' -'c=2/d=2' -'c=3/d=1' -'c=3/d=2' -6 rows selected ->>> ->>> alter table ptestfilter drop partition (c='1', d=1); -No rows affected ->>> show partitions ptestfilter; -'partition' -'c=1/d=2' -'c=2/d=1' -'c=2/d=2' -'c=3/d=1' -'c=3/d=2' -5 rows selected ->>> ->>> alter table ptestfilter drop partition (c='2'); -No rows affected ->>> show partitions ptestfilter; -'partition' -'c=1/d=2' -'c=3/d=1' -'c=3/d=2' -3 rows selected ->>> ->>> drop table ptestfilter; -No rows affected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/drop_table.q.out ql/src/test/results/beelinepositive/drop_table.q.out deleted file mode 100644 index e487f33..0000000 --- ql/src/test/results/beelinepositive/drop_table.q.out +++ /dev/null @@ -1,7 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/drop_table.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/drop_table.q ->>> SET hive.exec.drop.ignorenonexistent=false; -No rows affected ->>> DROP TABLE IF EXISTS UnknownTable; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/drop_table2.q.out ql/src/test/results/beelinepositive/drop_table2.q.out deleted file mode 100644 index 430411e..0000000 --- ql/src/test/results/beelinepositive/drop_table2.q.out +++ /dev/null @@ -1,33 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/drop_table2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/drop_table2.q ->>> SET hive.metastore.batch.retrieve.max=1; -No rows affected ->>> create table if not exists temp(col STRING) partitioned by (p STRING); -No rows affected ->>> alter table temp add if not exists partition (p ='p1'); -No rows affected ->>> alter table temp add if not exists partition (p ='p2'); -No rows affected ->>> alter table temp add if not exists partition (p ='p3'); -No rows affected ->>> ->>> show partitions temp; -'partition' -'p=p1' -'p=p2' -'p=p3' -3 rows selected ->>> ->>> drop table temp; -No rows affected ->>> ->>> create table if not exists temp(col STRING) partitioned by (p STRING); -No rows affected ->>> ->>> show partitions temp; -'partition' -No rows selected ->>> ->>> drop table temp; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/drop_table_removes_partition_dirs.q.out ql/src/test/results/beelinepositive/drop_table_removes_partition_dirs.q.out deleted file mode 100644 index 276ee7c..0000000 --- ql/src/test/results/beelinepositive/drop_table_removes_partition_dirs.q.out +++ /dev/null @@ -1,32 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/drop_table_removes_partition_dirs.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/drop_table_removes_partition_dirs.q ->>> -- This test verifies that if a partition exists outside the table's current location when the ->>> -- table is dropped the partition's location is dropped as well. ->>> ->>> CREATE TABLE test_table (key STRING, value STRING) -PARTITIONED BY (part STRING) -STORED AS RCFILE -LOCATION 'file:${system:test.tmp.dir}/drop_table_removes_partition_dirs_table'; -No rows affected ->>> ->>> ALTER TABLE test_table ADD PARTITION (part = '1') -LOCATION 'file:${system:test.tmp.dir}/drop_table_removes_partition_dirs_table2/part=1'; -No rows affected ->>> ->>> INSERT OVERWRITE TABLE test_table PARTITION (part = '1') -SELECT * FROM src; -'key','value' -No rows selected ->>> ->>> dfs -ls ${system:test.tmp.dir}/drop_table_removes_partition_dirs_table2; -No rows affected ->>> ->>> DROP TABLE test_table; -No rows affected ->>> ->>> dfs -ls ${system:test.tmp.dir}/drop_table_removes_partition_dirs_table2; -No rows affected ->>> ->>> dfs -rmr ${system:test.tmp.dir}/drop_table_removes_partition_dirs_table2; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/drop_udf.q.out ql/src/test/results/beelinepositive/drop_udf.q.out deleted file mode 100644 index 67ed784..0000000 --- ql/src/test/results/beelinepositive/drop_udf.q.out +++ /dev/null @@ -1,23 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/drop_udf.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/drop_udf.q ->>> CREATE TEMPORARY FUNCTION test_translate AS 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFTestTranslate'; -No rows affected ->>> ->>> EXPLAIN -DROP TEMPORARY FUNCTION test_translate; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_DROPFUNCTION test_translate)' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -'' -'' -10 rows selected ->>> ->>> DROP TEMPORARY FUNCTION test_translate; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/drop_view.q.out ql/src/test/results/beelinepositive/drop_view.q.out deleted file mode 100644 index 6e14e96..0000000 --- ql/src/test/results/beelinepositive/drop_view.q.out +++ /dev/null @@ -1,7 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/drop_view.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/drop_view.q ->>> SET hive.exec.drop.ignorenonexistent=false; -No rows affected ->>> DROP VIEW IF EXISTS UnknownView; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/enforce_order.q.out ql/src/test/results/beelinepositive/enforce_order.q.out deleted file mode 100644 index 15258a8..0000000 --- ql/src/test/results/beelinepositive/enforce_order.q.out +++ /dev/null @@ -1,49 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/enforce_order.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/enforce_order.q ->>> drop table table_asc; -No rows affected ->>> drop table table_desc; -No rows affected ->>> ->>> set hive.enforce.sorting = true; -No rows affected ->>> ->>> create table table_asc(key string, value string) clustered by (key) sorted by (key ASC) into 1 BUCKETS; -No rows affected ->>> create table table_desc(key string, value string) clustered by (key) sorted by (key DESC) into 1 BUCKETS; -No rows affected ->>> ->>> insert overwrite table table_asc select key, value from src; -'key','value' -No rows selected ->>> insert overwrite table table_desc select key, value from src; -'key','value' -No rows selected ->>> ->>> select * from table_asc limit 10; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'10','val_10' -'100','val_100' -'100','val_100' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -10 rows selected ->>> select * from table_desc limit 10; -'key','value' -'98','val_98' -'98','val_98' -'97','val_97' -'97','val_97' -'96','val_96' -'95','val_95' -'95','val_95' -'92','val_92' -'90','val_90' -'90','val_90' -10 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/escape_clusterby1.q.out ql/src/test/results/beelinepositive/escape_clusterby1.q.out deleted file mode 100644 index d351533..0000000 --- ql/src/test/results/beelinepositive/escape_clusterby1.q.out +++ /dev/null @@ -1,119 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/escape_clusterby1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/escape_clusterby1.q ->>> -- escaped column names in cluster by are not working jira 3267 ->>> explain -select key, value from src cluster by key, value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_CLUSTERBY (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL value))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -53 rows selected ->>> ->>> explain -select `key`, value from src cluster by `key`, value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL `key`)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_CLUSTERBY (TOK_TABLE_OR_COL `key`) (TOK_TABLE_OR_COL value))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -53 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/escape_distributeby1.q.out ql/src/test/results/beelinepositive/escape_distributeby1.q.out deleted file mode 100644 index 8969611..0000000 --- ql/src/test/results/beelinepositive/escape_distributeby1.q.out +++ /dev/null @@ -1,109 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/escape_distributeby1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/escape_distributeby1.q ->>> -- escaped column names in distribute by by are not working jira 3267 ->>> explain -select key, value from src distribute by key, value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_DISTRIBUTEBY (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL value))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' sort order: ' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -48 rows selected ->>> ->>> explain -select `key`, value from src distribute by `key`, value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL `key`)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_DISTRIBUTEBY (TOK_TABLE_OR_COL `key`) (TOK_TABLE_OR_COL value))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' sort order: ' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -48 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/escape_orderby1.q.out ql/src/test/results/beelinepositive/escape_orderby1.q.out deleted file mode 100644 index 4117c5d..0000000 --- ql/src/test/results/beelinepositive/escape_orderby1.q.out +++ /dev/null @@ -1,109 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/escape_orderby1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/escape_orderby1.q ->>> -- escaped column names in order by are not working jira 3267 ->>> explain -select key, value from src order by key, value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -48 rows selected ->>> ->>> explain -select `key`, value from src order by `key`, value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL `key`)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL `key`)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -48 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/escape_sortby1.q.out ql/src/test/results/beelinepositive/escape_sortby1.q.out deleted file mode 100644 index a90ba4e..0000000 --- ql/src/test/results/beelinepositive/escape_sortby1.q.out +++ /dev/null @@ -1,109 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/escape_sortby1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/escape_sortby1.q ->>> -- escaped column names in sort by are not working jira 3267 ->>> explain -select key, value from src sort by key, value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -48 rows selected ->>> ->>> explain -select `key`, value from src sort by `key`, value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL `key`)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL `key`)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -48 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/explode_null.q.out ql/src/test/results/beelinepositive/explode_null.q.out deleted file mode 100644 index 17ca437..0000000 --- ql/src/test/results/beelinepositive/explode_null.q.out +++ /dev/null @@ -1,23 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/explode_null.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/explode_null.q ->>> SELECT explode(col) AS myCol FROM -(SELECT array(1,2,3) AS col FROM src LIMIT 1 -UNION ALL -SELECT IF(false, array(1,2,3), NULL) AS col FROM src LIMIT 1) a; -'mycol' -'1' -'2' -'3' -3 rows selected ->>> ->>> SELECT explode(col) AS (myCol1,myCol2) FROM -(SELECT map(1,'one',2,'two',3,'three') AS col FROM src LIMIT 1 -UNION ALL -SELECT IF(false, map(1,'one',2,'two',3,'three'), NULL) AS col FROM src LIMIT 1) a; -'mycol1','mycol2' -'1','one' -'2','two' -'3','three' -3 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/fileformat_mix.q.out ql/src/test/results/beelinepositive/fileformat_mix.q.out deleted file mode 100644 index 98963ce..0000000 --- ql/src/test/results/beelinepositive/fileformat_mix.q.out +++ /dev/null @@ -1,530 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/fileformat_mix.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/fileformat_mix.q ->>> ->>> ->>> create table fileformat_mix_test (src int, value string) partitioned by (ds string); -No rows affected ->>> alter table fileformat_mix_test set fileformat Sequencefile; -No rows affected ->>> ->>> insert overwrite table fileformat_mix_test partition (ds='1') -select key, value from src; -'_col0','_col1' -No rows selected ->>> ->>> alter table fileformat_mix_test add partition (ds='2'); -No rows affected ->>> ->>> alter table fileformat_mix_test set fileformat rcfile; -No rows affected ->>> ->>> select count(1) from fileformat_mix_test; -'_c0' -'500' -1 row selected ->>> ->>> select src from fileformat_mix_test; -'src' -'238' -'86' -'311' -'27' -'165' -'409' -'255' -'278' -'98' -'484' -'265' -'193' -'401' -'150' -'273' -'224' -'369' -'66' -'128' -'213' -'146' -'406' -'429' -'374' -'152' -'469' -'145' -'495' -'37' -'327' -'281' -'277' -'209' -'15' -'82' -'403' -'166' -'417' -'430' -'252' -'292' -'219' -'287' -'153' -'193' -'338' -'446' -'459' -'394' -'237' -'482' -'174' -'413' -'494' -'207' -'199' -'466' -'208' -'174' -'399' -'396' -'247' -'417' -'489' -'162' -'377' -'397' -'309' -'365' -'266' -'439' -'342' -'367' -'325' -'167' -'195' -'475' -'17' -'113' -'155' -'203' -'339' -'0' -'455' -'128' -'311' -'316' -'57' -'302' -'205' -'149' -'438' -'345' -'129' -'170' -'20' -'489' -'157' -'378' -'221' -'92' -'111' -'47' -'72' -'4' -'280' -'35' -'427' -'277' -'208' -'356' -'399' -'169' -'382' -'498' -'125' -'386' -'437' -'469' -'192' -'286' -'187' -'176' -'54' -'459' -'51' -'138' -'103' -'239' -'213' -'216' -'430' -'278' -'176' -'289' -'221' -'65' -'318' -'332' -'311' -'275' -'137' -'241' -'83' -'333' -'180' -'284' -'12' -'230' -'181' -'67' -'260' -'404' -'384' -'489' -'353' -'373' -'272' -'138' -'217' -'84' -'348' -'466' -'58' -'8' -'411' -'230' -'208' -'348' -'24' -'463' -'431' -'179' -'172' -'42' -'129' -'158' -'119' -'496' -'0' -'322' -'197' -'468' -'393' -'454' -'100' -'298' -'199' -'191' -'418' -'96' -'26' -'165' -'327' -'230' -'205' -'120' -'131' -'51' -'404' -'43' -'436' -'156' -'469' -'468' -'308' -'95' -'196' -'288' -'481' -'457' -'98' -'282' -'197' -'187' -'318' -'318' -'409' -'470' -'137' -'369' -'316' -'169' -'413' -'85' -'77' -'0' -'490' -'87' -'364' -'179' -'118' -'134' -'395' -'282' -'138' -'238' -'419' -'15' -'118' -'72' -'90' -'307' -'19' -'435' -'10' -'277' -'273' -'306' -'224' -'309' -'389' -'327' -'242' -'369' -'392' -'272' -'331' -'401' -'242' -'452' -'177' -'226' -'5' -'497' -'402' -'396' -'317' -'395' -'58' -'35' -'336' -'95' -'11' -'168' -'34' -'229' -'233' -'143' -'472' -'322' -'498' -'160' -'195' -'42' -'321' -'430' -'119' -'489' -'458' -'78' -'76' -'41' -'223' -'492' -'149' -'449' -'218' -'228' -'138' -'453' -'30' -'209' -'64' -'468' -'76' -'74' -'342' -'69' -'230' -'33' -'368' -'103' -'296' -'113' -'216' -'367' -'344' -'167' -'274' -'219' -'239' -'485' -'116' -'223' -'256' -'263' -'70' -'487' -'480' -'401' -'288' -'191' -'5' -'244' -'438' -'128' -'467' -'432' -'202' -'316' -'229' -'469' -'463' -'280' -'2' -'35' -'283' -'331' -'235' -'80' -'44' -'193' -'321' -'335' -'104' -'466' -'366' -'175' -'403' -'483' -'53' -'105' -'257' -'406' -'409' -'190' -'406' -'401' -'114' -'258' -'90' -'203' -'262' -'348' -'424' -'12' -'396' -'201' -'217' -'164' -'431' -'454' -'478' -'298' -'125' -'431' -'164' -'424' -'187' -'382' -'5' -'70' -'397' -'480' -'291' -'24' -'351' -'255' -'104' -'70' -'163' -'438' -'119' -'414' -'200' -'491' -'237' -'439' -'360' -'248' -'479' -'305' -'417' -'199' -'444' -'120' -'429' -'169' -'443' -'323' -'325' -'277' -'230' -'478' -'178' -'468' -'310' -'317' -'333' -'493' -'460' -'207' -'249' -'265' -'480' -'83' -'136' -'353' -'172' -'214' -'462' -'233' -'406' -'133' -'175' -'189' -'454' -'375' -'401' -'421' -'407' -'384' -'256' -'26' -'134' -'67' -'384' -'379' -'18' -'462' -'492' -'100' -'298' -'9' -'341' -'498' -'146' -'458' -'362' -'186' -'285' -'348' -'167' -'18' -'273' -'183' -'281' -'344' -'97' -'469' -'315' -'84' -'28' -'37' -'448' -'152' -'348' -'307' -'194' -'414' -'477' -'222' -'126' -'90' -'169' -'403' -'400' -'200' -'97' -500 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/fileformat_sequencefile.q.out ql/src/test/results/beelinepositive/fileformat_sequencefile.q.out deleted file mode 100644 index 0005811..0000000 --- ql/src/test/results/beelinepositive/fileformat_sequencefile.q.out +++ /dev/null @@ -1,62 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/fileformat_sequencefile.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/fileformat_sequencefile.q ->>> EXPLAIN -CREATE TABLE dest1(key INT, value STRING) STORED AS -INPUTFORMAT 'org.apache.hadoop.mapred.SequenceFileInputFormat' -OUTPUTFORMAT 'org.apache.hadoop.mapred.SequenceFileOutputFormat'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_CREATETABLE (TOK_TABNAME dest1) TOK_LIKETABLE (TOK_TABCOLLIST (TOK_TABCOL key TOK_INT) (TOK_TABCOL value TOK_STRING)) (TOK_TABLEFILEFORMAT 'org.apache.hadoop.mapred.SequenceFileInputFormat' 'org.apache.hadoop.mapred.SequenceFileOutputFormat'))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Create Table Operator:' -' Create Table' -' columns: key int, value string' -' if not exists: false' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' # buckets: -1' -' output format: org.apache.hadoop.mapred.SequenceFileOutputFormat' -' name: dest1' -' isExternal: false' -'' -'' -19 rows selected ->>> ->>> CREATE TABLE dest1(key INT, value STRING) STORED AS -INPUTFORMAT 'org.apache.hadoop.mapred.SequenceFileInputFormat' -OUTPUTFORMAT 'org.apache.hadoop.mapred.SequenceFileOutputFormat'; -No rows affected ->>> ->>> DESCRIBE EXTENDED dest1; -'col_name','data_type','comment' -'key','int','' -'value','string','' -'','','' -'Detailed Table Information','Table(tableName:dest1, dbName:fileformat_sequencefile, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:int, comment:null), FieldSchema(name:value, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/fileformat_sequencefile.db/dest1, inputFormat:org.apache.hadoop.mapred.SequenceFileInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -4 rows selected ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 SELECT src.key, src.value WHERE src.key < 10; -'_col0','_col1' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','value' -'0','val_0' -'4','val_4' -'8','val_8' -'0','val_0' -'0','val_0' -'5','val_5' -'5','val_5' -'2','val_2' -'5','val_5' -'9','val_9' -10 rows selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/fileformat_text.q.out ql/src/test/results/beelinepositive/fileformat_text.q.out deleted file mode 100644 index 3cb1698..0000000 --- ql/src/test/results/beelinepositive/fileformat_text.q.out +++ /dev/null @@ -1,62 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/fileformat_text.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/fileformat_text.q ->>> EXPLAIN -CREATE TABLE dest1(key INT, value STRING) STORED AS -INPUTFORMAT 'org.apache.hadoop.mapred.TextInputFormat' -OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.IgnoreKeyTextOutputFormat'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_CREATETABLE (TOK_TABNAME dest1) TOK_LIKETABLE (TOK_TABCOLLIST (TOK_TABCOL key TOK_INT) (TOK_TABCOL value TOK_STRING)) (TOK_TABLEFILEFORMAT 'org.apache.hadoop.mapred.TextInputFormat' 'org.apache.hadoop.hive.ql.io.IgnoreKeyTextOutputFormat'))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Create Table Operator:' -' Create Table' -' columns: key int, value string' -' if not exists: false' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' # buckets: -1' -' output format: org.apache.hadoop.hive.ql.io.IgnoreKeyTextOutputFormat' -' name: dest1' -' isExternal: false' -'' -'' -19 rows selected ->>> ->>> CREATE TABLE dest1(key INT, value STRING) STORED AS -INPUTFORMAT 'org.apache.hadoop.mapred.TextInputFormat' -OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.IgnoreKeyTextOutputFormat'; -No rows affected ->>> ->>> DESCRIBE EXTENDED dest1; -'col_name','data_type','comment' -'key','int','' -'value','string','' -'','','' -'Detailed Table Information','Table(tableName:dest1, dbName:fileformat_text, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:int, comment:null), FieldSchema(name:value, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/fileformat_text.db/dest1, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -4 rows selected ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 SELECT src.key, src.value WHERE src.key < 10; -'_col0','_col1' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','value' -'0','val_0' -'4','val_4' -'8','val_8' -'0','val_0' -'0','val_0' -'5','val_5' -'5','val_5' -'2','val_2' -'5','val_5' -'9','val_9' -10 rows selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/filter_join_breaktask.q.out ql/src/test/results/beelinepositive/filter_join_breaktask.q.out deleted file mode 100644 index f12e5d1..0000000 --- ql/src/test/results/beelinepositive/filter_join_breaktask.q.out +++ /dev/null @@ -1,320 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/filter_join_breaktask.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/filter_join_breaktask.q ->>> ->>> CREATE TABLE filter_join_breaktask(key int, value string) partitioned by (ds string); -No rows affected ->>> ->>> INSERT OVERWRITE TABLE filter_join_breaktask PARTITION(ds='2008-04-08') -SELECT key, value from src1; -'_col0','_col1' -No rows selected ->>> ->>> ->>> EXPLAIN EXTENDED -SELECT f.key, g.value -FROM filter_join_breaktask f JOIN filter_join_breaktask m ON( f.key = m.key AND f.ds='2008-04-08' AND m.ds='2008-04-08' AND f.key is not null) -JOIN filter_join_breaktask g ON(g.value = m.value AND g.ds='2008-04-08' AND m.ds='2008-04-08' AND m.value is not null AND m.value !=''); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME filter_join_breaktask) f) (TOK_TABREF (TOK_TABNAME filter_join_breaktask) m) (AND (AND (AND (= (. (TOK_TABLE_OR_COL f) key) (. (TOK_TABLE_OR_COL m) key)) (= (. (TOK_TABLE_OR_COL f) ds) '2008-04-08')) (= (. (TOK_TABLE_OR_COL m) ds) '2008-04-08')) (TOK_FUNCTION TOK_ISNOTNULL (. (TOK_TABLE_OR_COL f) key)))) (TOK_TABREF (TOK_TABNAME filter_join_breaktask) g) (AND (AND (AND (AND (= (. (TOK_TABLE_OR_COL g) value) (. (TOK_TABLE_OR_COL m) value)) (= (. (TOK_TABLE_OR_COL g) ds) '2008-04-08')) (= (. (TOK_TABLE_OR_COL m) ds) '2008-04-08')) (TOK_FUNCTION TOK_ISNOTNULL (. (TOK_TABLE_OR_COL m) value))) (!= (. (TOK_TABLE_OR_COL m) value) '')))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL f) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL g) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' f ' -' TableScan' -' alias: f' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: key is not null' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' value expressions:' -' expr: key' -' type: int' -' m ' -' TableScan' -' alias: m' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((key is not null and value is not null) and (value <> ''))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 1' -' value expressions:' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' Needs Tagging: true' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/filter_join_breaktask.db/filter_join_breaktask/ds=2008-04-08 [f, m]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/filter_join_breaktask.db/filter_join_breaktask/ds=2008-04-08 ' -' Partition' -' base file name: ds=2008-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/filter_join_breaktask.db/filter_join_breaktask/ds=2008-04-08' -' name filter_join_breaktask.filter_join_breaktask' -' numFiles 1' -' numPartitions 1' -' numRows 25' -' partition_columns ds' -' rawDataSize 211' -' serialization.ddl struct filter_join_breaktask { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 236' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/filter_join_breaktask.db/filter_join_breaktask' -' name filter_join_breaktask.filter_join_breaktask' -' numFiles 1' -' numPartitions 1' -' numRows 25' -' partition_columns ds' -' rawDataSize 211' -' serialization.ddl struct filter_join_breaktask { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 236' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: filter_join_breaktask.filter_join_breaktask' -' name: filter_join_breaktask.filter_join_breaktask' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col1} {VALUE._col2}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col6, _col7' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col6,_col7' -' columns.types int,string,string' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col6' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col6' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: int' -' g ' -' TableScan' -' alias: g' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (value <> '')' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: value' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: value' -' type: string' -' tag: 1' -' value expressions:' -' expr: value' -' type: string' -' Needs Tagging: true' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [$INTNAME]' -' !!{hive.metastore.warehouse.dir}!!/filter_join_breaktask.db/filter_join_breaktask/ds=2008-04-08 [g]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col6,_col7' -' columns.types int,string,string' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col6,_col7' -' columns.types int,string,string' -' escape.delim \' -' !!{hive.metastore.warehouse.dir}!!/filter_join_breaktask.db/filter_join_breaktask/ds=2008-04-08 ' -' Partition' -' base file name: ds=2008-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/filter_join_breaktask.db/filter_join_breaktask/ds=2008-04-08' -' name filter_join_breaktask.filter_join_breaktask' -' numFiles 1' -' numPartitions 1' -' numRows 25' -' partition_columns ds' -' rawDataSize 211' -' serialization.ddl struct filter_join_breaktask { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 236' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/filter_join_breaktask.db/filter_join_breaktask' -' name filter_join_breaktask.filter_join_breaktask' -' numFiles 1' -' numPartitions 1' -' numRows 25' -' partition_columns ds' -' rawDataSize 211' -' serialization.ddl struct filter_join_breaktask { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 236' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: filter_join_breaktask.filter_join_breaktask' -' name: filter_join_breaktask.filter_join_breaktask' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col11' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col11' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types int:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -282 rows selected ->>> ->>> SELECT f.key, g.value -FROM filter_join_breaktask f JOIN filter_join_breaktask m ON( f.key = m.key AND f.ds='2008-04-08' AND m.ds='2008-04-08' AND f.key is not null) -JOIN filter_join_breaktask g ON(g.value = m.value AND g.ds='2008-04-08' AND m.ds='2008-04-08' AND m.value is not null AND m.value !=''); -'key','value' -'146','val_146' -'150','val_150' -'213','val_213' -'238','val_238' -'255','val_255' -'273','val_273' -'278','val_278' -'311','val_311' -'401','val_401' -'406','val_406' -'66','val_66' -'98','val_98' -12 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/groupby1.q.out ql/src/test/results/beelinepositive/groupby1.q.out deleted file mode 100644 index 915ee8a..0000000 --- ql/src/test/results/beelinepositive/groupby1.q.out +++ /dev/null @@ -1,453 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby1.q ->>> set hive.map.aggr=false; -No rows affected ->>> set hive.groupby.skewindata=true; -No rows affected ->>> ->>> CREATE TABLE dest_g1(key INT, value DOUBLE) STORED AS TEXTFILE; -No rows affected ->>> ->>> set fs.default.name=invalidscheme:///; -No rows affected ->>> ->>> EXPLAIN -FROM src INSERT OVERWRITE TABLE dest_g1 SELECT src.key, sum(substr(src.value,5)) GROUP BY src.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_g1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key)) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL src) key))))' -'' -'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' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: rand()' -' type: double' -' tag: -1' -' value expressions:' -' expr: substr(value, 5)' -' type: string' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: partial1' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: double' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby1.dest_g1' -'' -' 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: groupby1.dest_g1' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -'' -115 rows selected ->>> ->>> set fs.default.name=file:///; -No rows affected ->>> ->>> FROM src INSERT OVERWRITE TABLE dest_g1 SELECT src.key, sum(substr(src.value,5)) GROUP BY src.key; -'_col0','_col1' -No rows selected ->>> ->>> SELECT dest_g1.* FROM dest_g1; -'key','value' -'0','0.0' -'10','10.0' -'100','200.0' -'103','206.0' -'104','208.0' -'105','105.0' -'11','11.0' -'111','111.0' -'113','226.0' -'114','114.0' -'116','116.0' -'118','236.0' -'119','357.0' -'12','24.0' -'120','240.0' -'125','250.0' -'126','126.0' -'128','384.0' -'129','258.0' -'131','131.0' -'133','133.0' -'134','268.0' -'136','136.0' -'137','274.0' -'138','552.0' -'143','143.0' -'145','145.0' -'146','292.0' -'149','298.0' -'15','30.0' -'150','150.0' -'152','304.0' -'153','153.0' -'155','155.0' -'156','156.0' -'157','157.0' -'158','158.0' -'160','160.0' -'162','162.0' -'163','163.0' -'164','328.0' -'165','330.0' -'166','166.0' -'167','501.0' -'168','168.0' -'169','676.0' -'17','17.0' -'170','170.0' -'172','344.0' -'174','348.0' -'175','350.0' -'176','352.0' -'177','177.0' -'178','178.0' -'179','358.0' -'18','36.0' -'180','180.0' -'181','181.0' -'183','183.0' -'186','186.0' -'187','561.0' -'189','189.0' -'19','19.0' -'190','190.0' -'191','382.0' -'192','192.0' -'193','579.0' -'194','194.0' -'195','390.0' -'196','196.0' -'197','394.0' -'199','597.0' -'2','2.0' -'20','20.0' -'200','400.0' -'201','201.0' -'202','202.0' -'203','406.0' -'205','410.0' -'207','414.0' -'208','624.0' -'209','418.0' -'213','426.0' -'214','214.0' -'216','432.0' -'217','434.0' -'218','218.0' -'219','438.0' -'221','442.0' -'222','222.0' -'223','446.0' -'224','448.0' -'226','226.0' -'228','228.0' -'229','458.0' -'230','1150.0' -'233','466.0' -'235','235.0' -'237','474.0' -'238','476.0' -'239','478.0' -'24','48.0' -'241','241.0' -'242','484.0' -'244','244.0' -'247','247.0' -'248','248.0' -'249','249.0' -'252','252.0' -'255','510.0' -'256','512.0' -'257','257.0' -'258','258.0' -'26','52.0' -'260','260.0' -'262','262.0' -'263','263.0' -'265','530.0' -'266','266.0' -'27','27.0' -'272','544.0' -'273','819.0' -'274','274.0' -'275','275.0' -'277','1108.0' -'278','556.0' -'28','28.0' -'280','560.0' -'281','562.0' -'282','564.0' -'283','283.0' -'284','284.0' -'285','285.0' -'286','286.0' -'287','287.0' -'288','576.0' -'289','289.0' -'291','291.0' -'292','292.0' -'296','296.0' -'298','894.0' -'30','30.0' -'302','302.0' -'305','305.0' -'306','306.0' -'307','614.0' -'308','308.0' -'309','618.0' -'310','310.0' -'311','933.0' -'315','315.0' -'316','948.0' -'317','634.0' -'318','954.0' -'321','642.0' -'322','644.0' -'323','323.0' -'325','650.0' -'327','981.0' -'33','33.0' -'331','662.0' -'332','332.0' -'333','666.0' -'335','335.0' -'336','336.0' -'338','338.0' -'339','339.0' -'34','34.0' -'341','341.0' -'342','684.0' -'344','688.0' -'345','345.0' -'348','1740.0' -'35','105.0' -'351','351.0' -'353','706.0' -'356','356.0' -'360','360.0' -'362','362.0' -'364','364.0' -'365','365.0' -'366','366.0' -'367','734.0' -'368','368.0' -'369','1107.0' -'37','74.0' -'373','373.0' -'374','374.0' -'375','375.0' -'377','377.0' -'378','378.0' -'379','379.0' -'382','764.0' -'384','1152.0' -'386','386.0' -'389','389.0' -'392','392.0' -'393','393.0' -'394','394.0' -'395','790.0' -'396','1188.0' -'397','794.0' -'399','798.0' -'4','4.0' -'400','400.0' -'401','2005.0' -'402','402.0' -'403','1209.0' -'404','808.0' -'406','1624.0' -'407','407.0' -'409','1227.0' -'41','41.0' -'411','411.0' -'413','826.0' -'414','828.0' -'417','1251.0' -'418','418.0' -'419','419.0' -'42','84.0' -'421','421.0' -'424','848.0' -'427','427.0' -'429','858.0' -'43','43.0' -'430','1290.0' -'431','1293.0' -'432','432.0' -'435','435.0' -'436','436.0' -'437','437.0' -'438','1314.0' -'439','878.0' -'44','44.0' -'443','443.0' -'444','444.0' -'446','446.0' -'448','448.0' -'449','449.0' -'452','452.0' -'453','453.0' -'454','1362.0' -'455','455.0' -'457','457.0' -'458','916.0' -'459','918.0' -'460','460.0' -'462','924.0' -'463','926.0' -'466','1398.0' -'467','467.0' -'468','1872.0' -'469','2345.0' -'47','47.0' -'470','470.0' -'472','472.0' -'475','475.0' -'477','477.0' -'478','956.0' -'479','479.0' -'480','1440.0' -'481','481.0' -'482','482.0' -'483','483.0' -'484','484.0' -'485','485.0' -'487','487.0' -'489','1956.0' -'490','490.0' -'491','491.0' -'492','984.0' -'493','493.0' -'494','494.0' -'495','495.0' -'496','496.0' -'497','497.0' -'498','1494.0' -'5','15.0' -'51','102.0' -'53','53.0' -'54','54.0' -'57','57.0' -'58','116.0' -'64','64.0' -'65','65.0' -'66','66.0' -'67','134.0' -'69','69.0' -'70','210.0' -'72','144.0' -'74','74.0' -'76','152.0' -'77','77.0' -'78','78.0' -'8','8.0' -'80','80.0' -'82','82.0' -'83','166.0' -'84','168.0' -'85','85.0' -'86','86.0' -'87','87.0' -'9','9.0' -'90','270.0' -'92','92.0' -'95','190.0' -'96','96.0' -'97','194.0' -'98','196.0' -309 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/groupby10.q.out ql/src/test/results/beelinepositive/groupby10.q.out deleted file mode 100644 index 45c2434..0000000 --- ql/src/test/results/beelinepositive/groupby10.q.out +++ /dev/null @@ -1,552 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby10.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby10.q ->>> set hive.map.aggr=false; -No rows affected ->>> set hive.multigroupby.singlereducer=false; -No rows affected ->>> set hive.groupby.skewindata=true; -No rows affected ->>> ->>> CREATE TABLE dest1(key INT, val1 INT, val2 INT); -No rows affected ->>> CREATE TABLE dest2(key INT, val1 INT, val2 INT); -No rows affected ->>> ->>> CREATE TABLE INPUT(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/kv5.txt' INTO TABLE INPUT; -No rows affected ->>> ->>> EXPLAIN -FROM INPUT -INSERT OVERWRITE TABLE dest1 SELECT INPUT.key, count(substr(INPUT.value,5)), count(distinct substr(INPUT.value,5)) GROUP BY INPUT.key -INSERT OVERWRITE TABLE dest2 SELECT INPUT.key, sum(substr(INPUT.value,5)), sum(distinct substr(INPUT.value,5)) GROUP BY INPUT.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME INPUT))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL INPUT) key)) (TOK_SELEXPR (TOK_FUNCTION count (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL INPUT) value) 5))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL INPUT) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL INPUT) key))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest2))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL INPUT) key)) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL INPUT) value) 5))) (TOK_SELEXPR (TOK_FUNCTIONDI sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL INPUT) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL INPUT) key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-3 depends on stages: Stage-2' -' Stage-0 depends on stages: Stage-3' -' Stage-4 depends on stages: Stage-0' -' Stage-5 depends on stages: Stage-2' -' Stage-1 depends on stages: Stage-5' -' Stage-6 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' input ' -' TableScan' -' alias: input' -' Reduce Output Operator' -' key expressions:' -' expr: substr(value, 5)' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: substr(value, 5)' -' type: string' -' tag: -1' -' value expressions:' -' expr: key' -' type: int' -' Reduce Operator Tree:' -' Forward' -' Group By Operator' -' aggregations:' -' expr: count(KEY._col0)' -' expr: count(DISTINCT KEY._col0)' -' bucketGroup: false' -' keys:' -' expr: VALUE._col0' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Group By Operator' -' aggregations:' -' expr: sum(KEY._col0)' -' expr: sum(DISTINCT KEY._col0)' -' bucketGroup: false' -' keys:' -' expr: VALUE._col0' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' expr: count(VALUE._col1)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' mode: final' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: UDFToInteger(_col2)' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby10.dest1' -'' -' 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: groupby10.dest1' -'' -' Stage: Stage-4' -' Stats-Aggr Operator' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: double' -' expr: _col2' -' type: double' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' expr: sum(VALUE._col1)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' mode: final' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: double' -' expr: _col2' -' type: double' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: UDFToInteger(_col2)' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: groupby10.dest2' -'' -' Stage: Stage-1' -' 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: groupby10.dest2' -'' -' Stage: Stage-6' -' Stats-Aggr Operator' -'' -'' -205 rows selected ->>> ->>> FROM INPUT -INSERT OVERWRITE TABLE dest1 SELECT INPUT.key, count(substr(INPUT.value,5)), count(distinct substr(INPUT.value,5)) GROUP BY INPUT.key -INSERT OVERWRITE TABLE dest2 SELECT INPUT.key, sum(substr(INPUT.value,5)), sum(distinct substr(INPUT.value,5)) GROUP BY INPUT.key; -'_col0','_col1','_col2' -No rows selected ->>> ->>> SELECT * from dest1; -'key','val1','val2' -'27','1','1' -'66','1','1' -'86','1','1' -'98','1','1' -'128','1','1' -'150','1','1' -'165','1','1' -'193','1','1' -'213','3','2' -'224','1','1' -'238','3','3' -'255','1','1' -'265','1','1' -'273','1','1' -'278','1','1' -'311','1','1' -'369','1','1' -'401','1','1' -'409','1','1' -'484','1','1' -20 rows selected ->>> SELECT * from dest2; -'key','val1','val2' -'27','27','27' -'66','66','66' -'86','86','86' -'98','98','98' -'128','128','128' -'150','150','150' -'165','165','165' -'193','193','193' -'213','640','427' -'224','224','224' -'238','717','717' -'255','255','255' -'265','265','265' -'273','273','273' -'278','278','278' -'311','311','311' -'369','369','369' -'401','401','401' -'409','409','409' -'484','484','484' -20 rows selected ->>> ->>> set hive.multigroupby.singlereducer=true; -No rows affected ->>> ->>> EXPLAIN -FROM INPUT -INSERT OVERWRITE TABLE dest1 SELECT INPUT.key, count(substr(INPUT.value,5)), count(distinct substr(INPUT.value,5)) GROUP BY INPUT.key -INSERT OVERWRITE TABLE dest2 SELECT INPUT.key, sum(substr(INPUT.value,5)), sum(distinct substr(INPUT.value,5)) GROUP BY INPUT.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME INPUT))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL INPUT) key)) (TOK_SELEXPR (TOK_FUNCTION count (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL INPUT) value) 5))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL INPUT) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL INPUT) key))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest2))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL INPUT) key)) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL INPUT) value) 5))) (TOK_SELEXPR (TOK_FUNCTIONDI sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL INPUT) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL INPUT) key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-3 depends on stages: Stage-2' -' Stage-0 depends on stages: Stage-3' -' Stage-4 depends on stages: Stage-0' -' Stage-5 depends on stages: Stage-2' -' Stage-1 depends on stages: Stage-5' -' Stage-6 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' input ' -' TableScan' -' alias: input' -' Reduce Output Operator' -' key expressions:' -' expr: substr(value, 5)' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: substr(value, 5)' -' type: string' -' tag: -1' -' value expressions:' -' expr: key' -' type: int' -' Reduce Operator Tree:' -' Forward' -' Group By Operator' -' aggregations:' -' expr: count(KEY._col0)' -' expr: count(DISTINCT KEY._col0)' -' bucketGroup: false' -' keys:' -' expr: VALUE._col0' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Group By Operator' -' aggregations:' -' expr: sum(KEY._col0)' -' expr: sum(DISTINCT KEY._col0)' -' bucketGroup: false' -' keys:' -' expr: VALUE._col0' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' expr: count(VALUE._col1)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' mode: final' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: UDFToInteger(_col2)' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby10.dest1' -'' -' 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: groupby10.dest1' -'' -' Stage: Stage-4' -' Stats-Aggr Operator' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: double' -' expr: _col2' -' type: double' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' expr: sum(VALUE._col1)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' mode: final' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: double' -' expr: _col2' -' type: double' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: UDFToInteger(_col2)' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: groupby10.dest2' -'' -' Stage: Stage-1' -' 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: groupby10.dest2' -'' -' Stage: Stage-6' -' Stats-Aggr Operator' -'' -'' -205 rows selected ->>> ->>> FROM INPUT -INSERT OVERWRITE TABLE dest1 SELECT INPUT.key, count(substr(INPUT.value,5)), count(distinct substr(INPUT.value,5)) GROUP BY INPUT.key -INSERT OVERWRITE TABLE dest2 SELECT INPUT.key, sum(substr(INPUT.value,5)), sum(distinct substr(INPUT.value,5)) GROUP BY INPUT.key; -'_col0','_col1','_col2' -No rows selected ->>> ->>> SELECT * from dest1; -'key','val1','val2' -'27','1','1' -'66','1','1' -'86','1','1' -'98','1','1' -'128','1','1' -'150','1','1' -'165','1','1' -'193','1','1' -'213','3','2' -'224','1','1' -'238','3','3' -'255','1','1' -'265','1','1' -'273','1','1' -'278','1','1' -'311','1','1' -'369','1','1' -'401','1','1' -'409','1','1' -'484','1','1' -20 rows selected ->>> SELECT * from dest2; -'key','val1','val2' -'27','27','27' -'66','66','66' -'86','86','86' -'98','98','98' -'128','128','128' -'150','150','150' -'165','165','165' -'193','193','193' -'213','640','427' -'224','224','224' -'238','717','717' -'255','255','255' -'265','265','265' -'273','273','273' -'278','278','278' -'311','311','311' -'369','369','369' -'401','401','401' -'409','409','409' -'484','484','484' -20 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/groupby11.q.out ql/src/test/results/beelinepositive/groupby11.q.out deleted file mode 100644 index 8de2017..0000000 --- ql/src/test/results/beelinepositive/groupby11.q.out +++ /dev/null @@ -1,871 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby11.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby11.q ->>> set hive.map.aggr=false; -No rows affected ->>> set hive.groupby.skewindata=true; -No rows affected ->>> ->>> ->>> ->>> ->>> CREATE TABLE dest1(key STRING, val1 INT, val2 INT) partitioned by (ds string); -No rows affected ->>> CREATE TABLE dest2(key STRING, val1 INT, val2 INT) partitioned by (ds string); -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest1 partition(ds='111') -SELECT src.value, count(src.key), count(distinct src.key) GROUP BY src.value -INSERT OVERWRITE TABLE dest2 partition(ds='111') -SELECT substr(src.value, 5), count(src.key), count(distinct src.key) GROUP BY substr(src.value, 5); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1) (TOK_PARTSPEC (TOK_PARTVAL ds '111')))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value)) (TOK_SELEXPR (TOK_FUNCTION count (. (TOK_TABLE_OR_COL src) key))) (TOK_SELEXPR (TOK_FUNCTIONDI count (. (TOK_TABLE_OR_COL src) key)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL src) value))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest2) (TOK_PARTSPEC (TOK_PARTVAL ds '111')))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5)) (TOK_SELEXPR (TOK_FUNCTION count (. (TOK_TABLE_OR_COL src) key))) (TOK_SELEXPR (TOK_FUNCTIONDI count (. (TOK_TABLE_OR_COL src) key)))) (TOK_GROUPBY (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-3 depends on stages: Stage-2' -' Stage-0 depends on stages: Stage-3' -' Stage-4 depends on stages: Stage-0' -' Stage-5 depends on stages: Stage-2' -' Stage-1 depends on stages: Stage-5' -' Stage-6 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: -1' -' value expressions:' -' expr: value' -' type: string' -' expr: substr(value, 5)' -' type: string' -' Reduce Operator Tree:' -' Forward' -' Group By Operator' -' aggregations:' -' expr: count(KEY._col0)' -' expr: count(DISTINCT KEY._col0)' -' bucketGroup: false' -' keys:' -' expr: VALUE._col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Group By Operator' -' aggregations:' -' expr: count(KEY._col0)' -' expr: count(DISTINCT KEY._col0)' -' bucketGroup: false' -' keys:' -' expr: VALUE._col1' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' expr: count(VALUE._col1)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: UDFToInteger(_col2)' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby11.dest1' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' partition:' -' ds 111' -' 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: groupby11.dest1' -'' -' Stage: Stage-4' -' Stats-Aggr Operator' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' expr: count(VALUE._col1)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: UDFToInteger(_col2)' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: groupby11.dest2' -'' -' Stage: Stage-1' -' Move Operator' -' tables:' -' partition:' -' ds 111' -' 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: groupby11.dest2' -'' -' Stage: Stage-6' -' Stats-Aggr Operator' -'' -'' -211 rows selected ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 partition(ds='111') -SELECT src.value, count(src.key), count(distinct src.key) GROUP BY src.value -INSERT OVERWRITE TABLE dest2 partition(ds='111') -SELECT substr(src.value, 5), count(src.key), count(distinct src.key) GROUP BY substr(src.value, 5); -'_col0','_col1','_col2' -No rows selected ->>> ->>> SELECT * from dest1; -'key','val1','val2','ds' -'val_0','3','1','111' -'val_10','1','1','111' -'val_100','2','1','111' -'val_103','2','1','111' -'val_104','2','1','111' -'val_105','1','1','111' -'val_11','1','1','111' -'val_111','1','1','111' -'val_113','2','1','111' -'val_114','1','1','111' -'val_116','1','1','111' -'val_118','2','1','111' -'val_119','3','1','111' -'val_12','2','1','111' -'val_120','2','1','111' -'val_125','2','1','111' -'val_126','1','1','111' -'val_128','3','1','111' -'val_129','2','1','111' -'val_131','1','1','111' -'val_133','1','1','111' -'val_134','2','1','111' -'val_136','1','1','111' -'val_137','2','1','111' -'val_138','4','1','111' -'val_143','1','1','111' -'val_145','1','1','111' -'val_146','2','1','111' -'val_149','2','1','111' -'val_15','2','1','111' -'val_150','1','1','111' -'val_152','2','1','111' -'val_153','1','1','111' -'val_155','1','1','111' -'val_156','1','1','111' -'val_157','1','1','111' -'val_158','1','1','111' -'val_160','1','1','111' -'val_162','1','1','111' -'val_163','1','1','111' -'val_164','2','1','111' -'val_165','2','1','111' -'val_166','1','1','111' -'val_167','3','1','111' -'val_168','1','1','111' -'val_169','4','1','111' -'val_17','1','1','111' -'val_170','1','1','111' -'val_172','2','1','111' -'val_174','2','1','111' -'val_175','2','1','111' -'val_176','2','1','111' -'val_177','1','1','111' -'val_178','1','1','111' -'val_179','2','1','111' -'val_18','2','1','111' -'val_180','1','1','111' -'val_181','1','1','111' -'val_183','1','1','111' -'val_186','1','1','111' -'val_187','3','1','111' -'val_189','1','1','111' -'val_19','1','1','111' -'val_190','1','1','111' -'val_191','2','1','111' -'val_192','1','1','111' -'val_193','3','1','111' -'val_194','1','1','111' -'val_195','2','1','111' -'val_196','1','1','111' -'val_197','2','1','111' -'val_199','3','1','111' -'val_2','1','1','111' -'val_20','1','1','111' -'val_200','2','1','111' -'val_201','1','1','111' -'val_202','1','1','111' -'val_203','2','1','111' -'val_205','2','1','111' -'val_207','2','1','111' -'val_208','3','1','111' -'val_209','2','1','111' -'val_213','2','1','111' -'val_214','1','1','111' -'val_216','2','1','111' -'val_217','2','1','111' -'val_218','1','1','111' -'val_219','2','1','111' -'val_221','2','1','111' -'val_222','1','1','111' -'val_223','2','1','111' -'val_224','2','1','111' -'val_226','1','1','111' -'val_228','1','1','111' -'val_229','2','1','111' -'val_230','5','1','111' -'val_233','2','1','111' -'val_235','1','1','111' -'val_237','2','1','111' -'val_238','2','1','111' -'val_239','2','1','111' -'val_24','2','1','111' -'val_241','1','1','111' -'val_242','2','1','111' -'val_244','1','1','111' -'val_247','1','1','111' -'val_248','1','1','111' -'val_249','1','1','111' -'val_252','1','1','111' -'val_255','2','1','111' -'val_256','2','1','111' -'val_257','1','1','111' -'val_258','1','1','111' -'val_26','2','1','111' -'val_260','1','1','111' -'val_262','1','1','111' -'val_263','1','1','111' -'val_265','2','1','111' -'val_266','1','1','111' -'val_27','1','1','111' -'val_272','2','1','111' -'val_273','3','1','111' -'val_274','1','1','111' -'val_275','1','1','111' -'val_277','4','1','111' -'val_278','2','1','111' -'val_28','1','1','111' -'val_280','2','1','111' -'val_281','2','1','111' -'val_282','2','1','111' -'val_283','1','1','111' -'val_284','1','1','111' -'val_285','1','1','111' -'val_286','1','1','111' -'val_287','1','1','111' -'val_288','2','1','111' -'val_289','1','1','111' -'val_291','1','1','111' -'val_292','1','1','111' -'val_296','1','1','111' -'val_298','3','1','111' -'val_30','1','1','111' -'val_302','1','1','111' -'val_305','1','1','111' -'val_306','1','1','111' -'val_307','2','1','111' -'val_308','1','1','111' -'val_309','2','1','111' -'val_310','1','1','111' -'val_311','3','1','111' -'val_315','1','1','111' -'val_316','3','1','111' -'val_317','2','1','111' -'val_318','3','1','111' -'val_321','2','1','111' -'val_322','2','1','111' -'val_323','1','1','111' -'val_325','2','1','111' -'val_327','3','1','111' -'val_33','1','1','111' -'val_331','2','1','111' -'val_332','1','1','111' -'val_333','2','1','111' -'val_335','1','1','111' -'val_336','1','1','111' -'val_338','1','1','111' -'val_339','1','1','111' -'val_34','1','1','111' -'val_341','1','1','111' -'val_342','2','1','111' -'val_344','2','1','111' -'val_345','1','1','111' -'val_348','5','1','111' -'val_35','3','1','111' -'val_351','1','1','111' -'val_353','2','1','111' -'val_356','1','1','111' -'val_360','1','1','111' -'val_362','1','1','111' -'val_364','1','1','111' -'val_365','1','1','111' -'val_366','1','1','111' -'val_367','2','1','111' -'val_368','1','1','111' -'val_369','3','1','111' -'val_37','2','1','111' -'val_373','1','1','111' -'val_374','1','1','111' -'val_375','1','1','111' -'val_377','1','1','111' -'val_378','1','1','111' -'val_379','1','1','111' -'val_382','2','1','111' -'val_384','3','1','111' -'val_386','1','1','111' -'val_389','1','1','111' -'val_392','1','1','111' -'val_393','1','1','111' -'val_394','1','1','111' -'val_395','2','1','111' -'val_396','3','1','111' -'val_397','2','1','111' -'val_399','2','1','111' -'val_4','1','1','111' -'val_400','1','1','111' -'val_401','5','1','111' -'val_402','1','1','111' -'val_403','3','1','111' -'val_404','2','1','111' -'val_406','4','1','111' -'val_407','1','1','111' -'val_409','3','1','111' -'val_41','1','1','111' -'val_411','1','1','111' -'val_413','2','1','111' -'val_414','2','1','111' -'val_417','3','1','111' -'val_418','1','1','111' -'val_419','1','1','111' -'val_42','2','1','111' -'val_421','1','1','111' -'val_424','2','1','111' -'val_427','1','1','111' -'val_429','2','1','111' -'val_43','1','1','111' -'val_430','3','1','111' -'val_431','3','1','111' -'val_432','1','1','111' -'val_435','1','1','111' -'val_436','1','1','111' -'val_437','1','1','111' -'val_438','3','1','111' -'val_439','2','1','111' -'val_44','1','1','111' -'val_443','1','1','111' -'val_444','1','1','111' -'val_446','1','1','111' -'val_448','1','1','111' -'val_449','1','1','111' -'val_452','1','1','111' -'val_453','1','1','111' -'val_454','3','1','111' -'val_455','1','1','111' -'val_457','1','1','111' -'val_458','2','1','111' -'val_459','2','1','111' -'val_460','1','1','111' -'val_462','2','1','111' -'val_463','2','1','111' -'val_466','3','1','111' -'val_467','1','1','111' -'val_468','4','1','111' -'val_469','5','1','111' -'val_47','1','1','111' -'val_470','1','1','111' -'val_472','1','1','111' -'val_475','1','1','111' -'val_477','1','1','111' -'val_478','2','1','111' -'val_479','1','1','111' -'val_480','3','1','111' -'val_481','1','1','111' -'val_482','1','1','111' -'val_483','1','1','111' -'val_484','1','1','111' -'val_485','1','1','111' -'val_487','1','1','111' -'val_489','4','1','111' -'val_490','1','1','111' -'val_491','1','1','111' -'val_492','2','1','111' -'val_493','1','1','111' -'val_494','1','1','111' -'val_495','1','1','111' -'val_496','1','1','111' -'val_497','1','1','111' -'val_498','3','1','111' -'val_5','3','1','111' -'val_51','2','1','111' -'val_53','1','1','111' -'val_54','1','1','111' -'val_57','1','1','111' -'val_58','2','1','111' -'val_64','1','1','111' -'val_65','1','1','111' -'val_66','1','1','111' -'val_67','2','1','111' -'val_69','1','1','111' -'val_70','3','1','111' -'val_72','2','1','111' -'val_74','1','1','111' -'val_76','2','1','111' -'val_77','1','1','111' -'val_78','1','1','111' -'val_8','1','1','111' -'val_80','1','1','111' -'val_82','1','1','111' -'val_83','2','1','111' -'val_84','2','1','111' -'val_85','1','1','111' -'val_86','1','1','111' -'val_87','1','1','111' -'val_9','1','1','111' -'val_90','3','1','111' -'val_92','1','1','111' -'val_95','2','1','111' -'val_96','1','1','111' -'val_97','2','1','111' -'val_98','2','1','111' -309 rows selected ->>> SELECT * from dest2; -'key','val1','val2','ds' -'0','3','1','111' -'10','1','1','111' -'100','2','1','111' -'103','2','1','111' -'104','2','1','111' -'105','1','1','111' -'11','1','1','111' -'111','1','1','111' -'113','2','1','111' -'114','1','1','111' -'116','1','1','111' -'118','2','1','111' -'119','3','1','111' -'12','2','1','111' -'120','2','1','111' -'125','2','1','111' -'126','1','1','111' -'128','3','1','111' -'129','2','1','111' -'131','1','1','111' -'133','1','1','111' -'134','2','1','111' -'136','1','1','111' -'137','2','1','111' -'138','4','1','111' -'143','1','1','111' -'145','1','1','111' -'146','2','1','111' -'149','2','1','111' -'15','2','1','111' -'150','1','1','111' -'152','2','1','111' -'153','1','1','111' -'155','1','1','111' -'156','1','1','111' -'157','1','1','111' -'158','1','1','111' -'160','1','1','111' -'162','1','1','111' -'163','1','1','111' -'164','2','1','111' -'165','2','1','111' -'166','1','1','111' -'167','3','1','111' -'168','1','1','111' -'169','4','1','111' -'17','1','1','111' -'170','1','1','111' -'172','2','1','111' -'174','2','1','111' -'175','2','1','111' -'176','2','1','111' -'177','1','1','111' -'178','1','1','111' -'179','2','1','111' -'18','2','1','111' -'180','1','1','111' -'181','1','1','111' -'183','1','1','111' -'186','1','1','111' -'187','3','1','111' -'189','1','1','111' -'19','1','1','111' -'190','1','1','111' -'191','2','1','111' -'192','1','1','111' -'193','3','1','111' -'194','1','1','111' -'195','2','1','111' -'196','1','1','111' -'197','2','1','111' -'199','3','1','111' -'2','1','1','111' -'20','1','1','111' -'200','2','1','111' -'201','1','1','111' -'202','1','1','111' -'203','2','1','111' -'205','2','1','111' -'207','2','1','111' -'208','3','1','111' -'209','2','1','111' -'213','2','1','111' -'214','1','1','111' -'216','2','1','111' -'217','2','1','111' -'218','1','1','111' -'219','2','1','111' -'221','2','1','111' -'222','1','1','111' -'223','2','1','111' -'224','2','1','111' -'226','1','1','111' -'228','1','1','111' -'229','2','1','111' -'230','5','1','111' -'233','2','1','111' -'235','1','1','111' -'237','2','1','111' -'238','2','1','111' -'239','2','1','111' -'24','2','1','111' -'241','1','1','111' -'242','2','1','111' -'244','1','1','111' -'247','1','1','111' -'248','1','1','111' -'249','1','1','111' -'252','1','1','111' -'255','2','1','111' -'256','2','1','111' -'257','1','1','111' -'258','1','1','111' -'26','2','1','111' -'260','1','1','111' -'262','1','1','111' -'263','1','1','111' -'265','2','1','111' -'266','1','1','111' -'27','1','1','111' -'272','2','1','111' -'273','3','1','111' -'274','1','1','111' -'275','1','1','111' -'277','4','1','111' -'278','2','1','111' -'28','1','1','111' -'280','2','1','111' -'281','2','1','111' -'282','2','1','111' -'283','1','1','111' -'284','1','1','111' -'285','1','1','111' -'286','1','1','111' -'287','1','1','111' -'288','2','1','111' -'289','1','1','111' -'291','1','1','111' -'292','1','1','111' -'296','1','1','111' -'298','3','1','111' -'30','1','1','111' -'302','1','1','111' -'305','1','1','111' -'306','1','1','111' -'307','2','1','111' -'308','1','1','111' -'309','2','1','111' -'310','1','1','111' -'311','3','1','111' -'315','1','1','111' -'316','3','1','111' -'317','2','1','111' -'318','3','1','111' -'321','2','1','111' -'322','2','1','111' -'323','1','1','111' -'325','2','1','111' -'327','3','1','111' -'33','1','1','111' -'331','2','1','111' -'332','1','1','111' -'333','2','1','111' -'335','1','1','111' -'336','1','1','111' -'338','1','1','111' -'339','1','1','111' -'34','1','1','111' -'341','1','1','111' -'342','2','1','111' -'344','2','1','111' -'345','1','1','111' -'348','5','1','111' -'35','3','1','111' -'351','1','1','111' -'353','2','1','111' -'356','1','1','111' -'360','1','1','111' -'362','1','1','111' -'364','1','1','111' -'365','1','1','111' -'366','1','1','111' -'367','2','1','111' -'368','1','1','111' -'369','3','1','111' -'37','2','1','111' -'373','1','1','111' -'374','1','1','111' -'375','1','1','111' -'377','1','1','111' -'378','1','1','111' -'379','1','1','111' -'382','2','1','111' -'384','3','1','111' -'386','1','1','111' -'389','1','1','111' -'392','1','1','111' -'393','1','1','111' -'394','1','1','111' -'395','2','1','111' -'396','3','1','111' -'397','2','1','111' -'399','2','1','111' -'4','1','1','111' -'400','1','1','111' -'401','5','1','111' -'402','1','1','111' -'403','3','1','111' -'404','2','1','111' -'406','4','1','111' -'407','1','1','111' -'409','3','1','111' -'41','1','1','111' -'411','1','1','111' -'413','2','1','111' -'414','2','1','111' -'417','3','1','111' -'418','1','1','111' -'419','1','1','111' -'42','2','1','111' -'421','1','1','111' -'424','2','1','111' -'427','1','1','111' -'429','2','1','111' -'43','1','1','111' -'430','3','1','111' -'431','3','1','111' -'432','1','1','111' -'435','1','1','111' -'436','1','1','111' -'437','1','1','111' -'438','3','1','111' -'439','2','1','111' -'44','1','1','111' -'443','1','1','111' -'444','1','1','111' -'446','1','1','111' -'448','1','1','111' -'449','1','1','111' -'452','1','1','111' -'453','1','1','111' -'454','3','1','111' -'455','1','1','111' -'457','1','1','111' -'458','2','1','111' -'459','2','1','111' -'460','1','1','111' -'462','2','1','111' -'463','2','1','111' -'466','3','1','111' -'467','1','1','111' -'468','4','1','111' -'469','5','1','111' -'47','1','1','111' -'470','1','1','111' -'472','1','1','111' -'475','1','1','111' -'477','1','1','111' -'478','2','1','111' -'479','1','1','111' -'480','3','1','111' -'481','1','1','111' -'482','1','1','111' -'483','1','1','111' -'484','1','1','111' -'485','1','1','111' -'487','1','1','111' -'489','4','1','111' -'490','1','1','111' -'491','1','1','111' -'492','2','1','111' -'493','1','1','111' -'494','1','1','111' -'495','1','1','111' -'496','1','1','111' -'497','1','1','111' -'498','3','1','111' -'5','3','1','111' -'51','2','1','111' -'53','1','1','111' -'54','1','1','111' -'57','1','1','111' -'58','2','1','111' -'64','1','1','111' -'65','1','1','111' -'66','1','1','111' -'67','2','1','111' -'69','1','1','111' -'70','3','1','111' -'72','2','1','111' -'74','1','1','111' -'76','2','1','111' -'77','1','1','111' -'78','1','1','111' -'8','1','1','111' -'80','1','1','111' -'82','1','1','111' -'83','2','1','111' -'84','2','1','111' -'85','1','1','111' -'86','1','1','111' -'87','1','1','111' -'9','1','1','111' -'90','3','1','111' -'92','1','1','111' -'95','2','1','111' -'96','1','1','111' -'97','2','1','111' -'98','2','1','111' -309 rows selected ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/groupby1_limit.q.out ql/src/test/results/beelinepositive/groupby1_limit.q.out deleted file mode 100644 index 62adf91..0000000 --- ql/src/test/results/beelinepositive/groupby1_limit.q.out +++ /dev/null @@ -1,140 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby1_limit.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby1_limit.q ->>> set mapred.reduce.tasks=31; -No rows affected ->>> ->>> CREATE TABLE dest1(key INT, value DOUBLE) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src INSERT OVERWRITE TABLE dest1 SELECT src.key, sum(substr(src.value,5)) GROUP BY src.key LIMIT 5; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key)) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL src) key)) (TOK_LIMIT 5)))' -'' -'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' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: sum(substr(value, 5))' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: double' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: double' -' Reduce Operator Tree:' -' Extract' -' Limit' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby1_limit.dest1' -'' -' 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: groupby1_limit.dest1' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -'' -114 rows selected ->>> ->>> FROM src INSERT OVERWRITE TABLE dest1 SELECT src.key, sum(substr(src.value,5)) GROUP BY src.key LIMIT 5; -'_col0','_col1' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1 ORDER BY dest1.key ASC , dest1.value ASC; -'key','value' -'0','0.0' -'10','10.0' -'100','200.0' -'103','206.0' -'104','208.0' -5 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/groupby1_map.q.out ql/src/test/results/beelinepositive/groupby1_map.q.out deleted file mode 100644 index 02ad100..0000000 --- ql/src/test/results/beelinepositive/groupby1_map.q.out +++ /dev/null @@ -1,424 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby1_map.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby1_map.q ->>> set hive.map.aggr=true; -No rows affected ->>> set hive.groupby.skewindata=false; -No rows affected ->>> set mapred.reduce.tasks=31; -No rows affected ->>> ->>> CREATE TABLE dest1(key INT, value DOUBLE) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src INSERT OVERWRITE TABLE dest1 SELECT src.key, sum(substr(src.value,5)) GROUP BY src.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key)) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL src) key))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: sum(substr(value, 5))' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: double' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby1_map.dest1' -'' -' 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: groupby1_map.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -90 rows selected ->>> ->>> FROM src INSERT OVERWRITE TABLE dest1 SELECT src.key, sum(substr(src.value,5)) GROUP BY src.key; -'_col0','_col1' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','value' -'0','0.0' -'10','10.0' -'100','200.0' -'103','206.0' -'104','208.0' -'105','105.0' -'11','11.0' -'111','111.0' -'113','226.0' -'114','114.0' -'116','116.0' -'118','236.0' -'119','357.0' -'12','24.0' -'120','240.0' -'125','250.0' -'126','126.0' -'128','384.0' -'129','258.0' -'131','131.0' -'133','133.0' -'134','268.0' -'136','136.0' -'137','274.0' -'138','552.0' -'143','143.0' -'145','145.0' -'146','292.0' -'149','298.0' -'15','30.0' -'150','150.0' -'152','304.0' -'153','153.0' -'155','155.0' -'156','156.0' -'157','157.0' -'158','158.0' -'160','160.0' -'162','162.0' -'163','163.0' -'164','328.0' -'165','330.0' -'166','166.0' -'167','501.0' -'168','168.0' -'169','676.0' -'17','17.0' -'170','170.0' -'172','344.0' -'174','348.0' -'175','350.0' -'176','352.0' -'177','177.0' -'178','178.0' -'179','358.0' -'18','36.0' -'180','180.0' -'181','181.0' -'183','183.0' -'186','186.0' -'187','561.0' -'189','189.0' -'19','19.0' -'190','190.0' -'191','382.0' -'192','192.0' -'193','579.0' -'194','194.0' -'195','390.0' -'196','196.0' -'197','394.0' -'199','597.0' -'2','2.0' -'20','20.0' -'200','400.0' -'201','201.0' -'202','202.0' -'203','406.0' -'205','410.0' -'207','414.0' -'208','624.0' -'209','418.0' -'213','426.0' -'214','214.0' -'216','432.0' -'217','434.0' -'218','218.0' -'219','438.0' -'221','442.0' -'222','222.0' -'223','446.0' -'224','448.0' -'226','226.0' -'228','228.0' -'229','458.0' -'230','1150.0' -'233','466.0' -'235','235.0' -'237','474.0' -'238','476.0' -'239','478.0' -'24','48.0' -'241','241.0' -'242','484.0' -'244','244.0' -'247','247.0' -'248','248.0' -'249','249.0' -'252','252.0' -'255','510.0' -'256','512.0' -'257','257.0' -'258','258.0' -'26','52.0' -'260','260.0' -'262','262.0' -'263','263.0' -'265','530.0' -'266','266.0' -'27','27.0' -'272','544.0' -'273','819.0' -'274','274.0' -'275','275.0' -'277','1108.0' -'278','556.0' -'28','28.0' -'280','560.0' -'281','562.0' -'282','564.0' -'283','283.0' -'284','284.0' -'285','285.0' -'286','286.0' -'287','287.0' -'288','576.0' -'289','289.0' -'291','291.0' -'292','292.0' -'296','296.0' -'298','894.0' -'30','30.0' -'302','302.0' -'305','305.0' -'306','306.0' -'307','614.0' -'308','308.0' -'309','618.0' -'310','310.0' -'311','933.0' -'315','315.0' -'316','948.0' -'317','634.0' -'318','954.0' -'321','642.0' -'322','644.0' -'323','323.0' -'325','650.0' -'327','981.0' -'33','33.0' -'331','662.0' -'332','332.0' -'333','666.0' -'335','335.0' -'336','336.0' -'338','338.0' -'339','339.0' -'34','34.0' -'341','341.0' -'342','684.0' -'344','688.0' -'345','345.0' -'348','1740.0' -'35','105.0' -'351','351.0' -'353','706.0' -'356','356.0' -'360','360.0' -'362','362.0' -'364','364.0' -'365','365.0' -'366','366.0' -'367','734.0' -'368','368.0' -'369','1107.0' -'37','74.0' -'373','373.0' -'374','374.0' -'375','375.0' -'377','377.0' -'378','378.0' -'379','379.0' -'382','764.0' -'384','1152.0' -'386','386.0' -'389','389.0' -'392','392.0' -'393','393.0' -'394','394.0' -'395','790.0' -'396','1188.0' -'397','794.0' -'399','798.0' -'4','4.0' -'400','400.0' -'401','2005.0' -'402','402.0' -'403','1209.0' -'404','808.0' -'406','1624.0' -'407','407.0' -'409','1227.0' -'41','41.0' -'411','411.0' -'413','826.0' -'414','828.0' -'417','1251.0' -'418','418.0' -'419','419.0' -'42','84.0' -'421','421.0' -'424','848.0' -'427','427.0' -'429','858.0' -'43','43.0' -'430','1290.0' -'431','1293.0' -'432','432.0' -'435','435.0' -'436','436.0' -'437','437.0' -'438','1314.0' -'439','878.0' -'44','44.0' -'443','443.0' -'444','444.0' -'446','446.0' -'448','448.0' -'449','449.0' -'452','452.0' -'453','453.0' -'454','1362.0' -'455','455.0' -'457','457.0' -'458','916.0' -'459','918.0' -'460','460.0' -'462','924.0' -'463','926.0' -'466','1398.0' -'467','467.0' -'468','1872.0' -'469','2345.0' -'47','47.0' -'470','470.0' -'472','472.0' -'475','475.0' -'477','477.0' -'478','956.0' -'479','479.0' -'480','1440.0' -'481','481.0' -'482','482.0' -'483','483.0' -'484','484.0' -'485','485.0' -'487','487.0' -'489','1956.0' -'490','490.0' -'491','491.0' -'492','984.0' -'493','493.0' -'494','494.0' -'495','495.0' -'496','496.0' -'497','497.0' -'498','1494.0' -'5','15.0' -'51','102.0' -'53','53.0' -'54','54.0' -'57','57.0' -'58','116.0' -'64','64.0' -'65','65.0' -'66','66.0' -'67','134.0' -'69','69.0' -'70','210.0' -'72','144.0' -'74','74.0' -'76','152.0' -'77','77.0' -'78','78.0' -'8','8.0' -'80','80.0' -'82','82.0' -'83','166.0' -'84','168.0' -'85','85.0' -'86','86.0' -'87','87.0' -'9','9.0' -'90','270.0' -'92','92.0' -'95','190.0' -'96','96.0' -'97','194.0' -'98','196.0' -309 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/groupby1_map_nomap.q.out ql/src/test/results/beelinepositive/groupby1_map_nomap.q.out deleted file mode 100644 index 41ed88d..0000000 --- ql/src/test/results/beelinepositive/groupby1_map_nomap.q.out +++ /dev/null @@ -1,424 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby1_map_nomap.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby1_map_nomap.q ->>> set hive.map.aggr=true; -No rows affected ->>> set hive.groupby.skewindata=false; -No rows affected ->>> set hive.groupby.mapaggr.checkinterval=20; -No rows affected ->>> ->>> CREATE TABLE dest1(key INT, value DOUBLE) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src INSERT OVERWRITE TABLE dest1 SELECT src.key, sum(substr(src.value,5)) GROUP BY src.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key)) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL src) key))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: sum(substr(value, 5))' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: double' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby1_map_nomap.dest1' -'' -' 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: groupby1_map_nomap.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -90 rows selected ->>> ->>> FROM src INSERT OVERWRITE TABLE dest1 SELECT src.key, sum(substr(src.value,5)) GROUP BY src.key; -'_col0','_col1' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','value' -'0','0.0' -'10','10.0' -'100','200.0' -'103','206.0' -'104','208.0' -'105','105.0' -'11','11.0' -'111','111.0' -'113','226.0' -'114','114.0' -'116','116.0' -'118','236.0' -'119','357.0' -'12','24.0' -'120','240.0' -'125','250.0' -'126','126.0' -'128','384.0' -'129','258.0' -'131','131.0' -'133','133.0' -'134','268.0' -'136','136.0' -'137','274.0' -'138','552.0' -'143','143.0' -'145','145.0' -'146','292.0' -'149','298.0' -'15','30.0' -'150','150.0' -'152','304.0' -'153','153.0' -'155','155.0' -'156','156.0' -'157','157.0' -'158','158.0' -'160','160.0' -'162','162.0' -'163','163.0' -'164','328.0' -'165','330.0' -'166','166.0' -'167','501.0' -'168','168.0' -'169','676.0' -'17','17.0' -'170','170.0' -'172','344.0' -'174','348.0' -'175','350.0' -'176','352.0' -'177','177.0' -'178','178.0' -'179','358.0' -'18','36.0' -'180','180.0' -'181','181.0' -'183','183.0' -'186','186.0' -'187','561.0' -'189','189.0' -'19','19.0' -'190','190.0' -'191','382.0' -'192','192.0' -'193','579.0' -'194','194.0' -'195','390.0' -'196','196.0' -'197','394.0' -'199','597.0' -'2','2.0' -'20','20.0' -'200','400.0' -'201','201.0' -'202','202.0' -'203','406.0' -'205','410.0' -'207','414.0' -'208','624.0' -'209','418.0' -'213','426.0' -'214','214.0' -'216','432.0' -'217','434.0' -'218','218.0' -'219','438.0' -'221','442.0' -'222','222.0' -'223','446.0' -'224','448.0' -'226','226.0' -'228','228.0' -'229','458.0' -'230','1150.0' -'233','466.0' -'235','235.0' -'237','474.0' -'238','476.0' -'239','478.0' -'24','48.0' -'241','241.0' -'242','484.0' -'244','244.0' -'247','247.0' -'248','248.0' -'249','249.0' -'252','252.0' -'255','510.0' -'256','512.0' -'257','257.0' -'258','258.0' -'26','52.0' -'260','260.0' -'262','262.0' -'263','263.0' -'265','530.0' -'266','266.0' -'27','27.0' -'272','544.0' -'273','819.0' -'274','274.0' -'275','275.0' -'277','1108.0' -'278','556.0' -'28','28.0' -'280','560.0' -'281','562.0' -'282','564.0' -'283','283.0' -'284','284.0' -'285','285.0' -'286','286.0' -'287','287.0' -'288','576.0' -'289','289.0' -'291','291.0' -'292','292.0' -'296','296.0' -'298','894.0' -'30','30.0' -'302','302.0' -'305','305.0' -'306','306.0' -'307','614.0' -'308','308.0' -'309','618.0' -'310','310.0' -'311','933.0' -'315','315.0' -'316','948.0' -'317','634.0' -'318','954.0' -'321','642.0' -'322','644.0' -'323','323.0' -'325','650.0' -'327','981.0' -'33','33.0' -'331','662.0' -'332','332.0' -'333','666.0' -'335','335.0' -'336','336.0' -'338','338.0' -'339','339.0' -'34','34.0' -'341','341.0' -'342','684.0' -'344','688.0' -'345','345.0' -'348','1740.0' -'35','105.0' -'351','351.0' -'353','706.0' -'356','356.0' -'360','360.0' -'362','362.0' -'364','364.0' -'365','365.0' -'366','366.0' -'367','734.0' -'368','368.0' -'369','1107.0' -'37','74.0' -'373','373.0' -'374','374.0' -'375','375.0' -'377','377.0' -'378','378.0' -'379','379.0' -'382','764.0' -'384','1152.0' -'386','386.0' -'389','389.0' -'392','392.0' -'393','393.0' -'394','394.0' -'395','790.0' -'396','1188.0' -'397','794.0' -'399','798.0' -'4','4.0' -'400','400.0' -'401','2005.0' -'402','402.0' -'403','1209.0' -'404','808.0' -'406','1624.0' -'407','407.0' -'409','1227.0' -'41','41.0' -'411','411.0' -'413','826.0' -'414','828.0' -'417','1251.0' -'418','418.0' -'419','419.0' -'42','84.0' -'421','421.0' -'424','848.0' -'427','427.0' -'429','858.0' -'43','43.0' -'430','1290.0' -'431','1293.0' -'432','432.0' -'435','435.0' -'436','436.0' -'437','437.0' -'438','1314.0' -'439','878.0' -'44','44.0' -'443','443.0' -'444','444.0' -'446','446.0' -'448','448.0' -'449','449.0' -'452','452.0' -'453','453.0' -'454','1362.0' -'455','455.0' -'457','457.0' -'458','916.0' -'459','918.0' -'460','460.0' -'462','924.0' -'463','926.0' -'466','1398.0' -'467','467.0' -'468','1872.0' -'469','2345.0' -'47','47.0' -'470','470.0' -'472','472.0' -'475','475.0' -'477','477.0' -'478','956.0' -'479','479.0' -'480','1440.0' -'481','481.0' -'482','482.0' -'483','483.0' -'484','484.0' -'485','485.0' -'487','487.0' -'489','1956.0' -'490','490.0' -'491','491.0' -'492','984.0' -'493','493.0' -'494','494.0' -'495','495.0' -'496','496.0' -'497','497.0' -'498','1494.0' -'5','15.0' -'51','102.0' -'53','53.0' -'54','54.0' -'57','57.0' -'58','116.0' -'64','64.0' -'65','65.0' -'66','66.0' -'67','134.0' -'69','69.0' -'70','210.0' -'72','144.0' -'74','74.0' -'76','152.0' -'77','77.0' -'78','78.0' -'8','8.0' -'80','80.0' -'82','82.0' -'83','166.0' -'84','168.0' -'85','85.0' -'86','86.0' -'87','87.0' -'9','9.0' -'90','270.0' -'92','92.0' -'95','190.0' -'96','96.0' -'97','194.0' -'98','196.0' -309 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/groupby1_map_skew.q.out ql/src/test/results/beelinepositive/groupby1_map_skew.q.out deleted file mode 100644 index 33fde44..0000000 --- ql/src/test/results/beelinepositive/groupby1_map_skew.q.out +++ /dev/null @@ -1,458 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby1_map_skew.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby1_map_skew.q ->>> set hive.map.aggr=true; -No rows affected ->>> set hive.groupby.skewindata=true; -No rows affected ->>> set mapred.reduce.tasks=31; -No rows affected ->>> ->>> CREATE TABLE dest1(key INT, value DOUBLE) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src INSERT OVERWRITE TABLE dest1 SELECT src.key, sum(substr(src.value,5)) GROUP BY src.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key)) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL src) key))))' -'' -'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' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: sum(substr(value, 5))' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: rand()' -' type: double' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: double' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: partials' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: double' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby1_map_skew.dest1' -'' -' 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: groupby1_map_skew.dest1' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -'' -124 rows selected ->>> ->>> FROM src INSERT OVERWRITE TABLE dest1 SELECT src.key, sum(substr(src.value,5)) GROUP BY src.key; -'_col0','_col1' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','value' -'0','0.0' -'10','10.0' -'100','200.0' -'103','206.0' -'104','208.0' -'105','105.0' -'11','11.0' -'111','111.0' -'113','226.0' -'114','114.0' -'116','116.0' -'118','236.0' -'119','357.0' -'12','24.0' -'120','240.0' -'125','250.0' -'126','126.0' -'128','384.0' -'129','258.0' -'131','131.0' -'133','133.0' -'134','268.0' -'136','136.0' -'137','274.0' -'138','552.0' -'143','143.0' -'145','145.0' -'146','292.0' -'149','298.0' -'15','30.0' -'150','150.0' -'152','304.0' -'153','153.0' -'155','155.0' -'156','156.0' -'157','157.0' -'158','158.0' -'160','160.0' -'162','162.0' -'163','163.0' -'164','328.0' -'165','330.0' -'166','166.0' -'167','501.0' -'168','168.0' -'169','676.0' -'17','17.0' -'170','170.0' -'172','344.0' -'174','348.0' -'175','350.0' -'176','352.0' -'177','177.0' -'178','178.0' -'179','358.0' -'18','36.0' -'180','180.0' -'181','181.0' -'183','183.0' -'186','186.0' -'187','561.0' -'189','189.0' -'19','19.0' -'190','190.0' -'191','382.0' -'192','192.0' -'193','579.0' -'194','194.0' -'195','390.0' -'196','196.0' -'197','394.0' -'199','597.0' -'2','2.0' -'20','20.0' -'200','400.0' -'201','201.0' -'202','202.0' -'203','406.0' -'205','410.0' -'207','414.0' -'208','624.0' -'209','418.0' -'213','426.0' -'214','214.0' -'216','432.0' -'217','434.0' -'218','218.0' -'219','438.0' -'221','442.0' -'222','222.0' -'223','446.0' -'224','448.0' -'226','226.0' -'228','228.0' -'229','458.0' -'230','1150.0' -'233','466.0' -'235','235.0' -'237','474.0' -'238','476.0' -'239','478.0' -'24','48.0' -'241','241.0' -'242','484.0' -'244','244.0' -'247','247.0' -'248','248.0' -'249','249.0' -'252','252.0' -'255','510.0' -'256','512.0' -'257','257.0' -'258','258.0' -'26','52.0' -'260','260.0' -'262','262.0' -'263','263.0' -'265','530.0' -'266','266.0' -'27','27.0' -'272','544.0' -'273','819.0' -'274','274.0' -'275','275.0' -'277','1108.0' -'278','556.0' -'28','28.0' -'280','560.0' -'281','562.0' -'282','564.0' -'283','283.0' -'284','284.0' -'285','285.0' -'286','286.0' -'287','287.0' -'288','576.0' -'289','289.0' -'291','291.0' -'292','292.0' -'296','296.0' -'298','894.0' -'30','30.0' -'302','302.0' -'305','305.0' -'306','306.0' -'307','614.0' -'308','308.0' -'309','618.0' -'310','310.0' -'311','933.0' -'315','315.0' -'316','948.0' -'317','634.0' -'318','954.0' -'321','642.0' -'322','644.0' -'323','323.0' -'325','650.0' -'327','981.0' -'33','33.0' -'331','662.0' -'332','332.0' -'333','666.0' -'335','335.0' -'336','336.0' -'338','338.0' -'339','339.0' -'34','34.0' -'341','341.0' -'342','684.0' -'344','688.0' -'345','345.0' -'348','1740.0' -'35','105.0' -'351','351.0' -'353','706.0' -'356','356.0' -'360','360.0' -'362','362.0' -'364','364.0' -'365','365.0' -'366','366.0' -'367','734.0' -'368','368.0' -'369','1107.0' -'37','74.0' -'373','373.0' -'374','374.0' -'375','375.0' -'377','377.0' -'378','378.0' -'379','379.0' -'382','764.0' -'384','1152.0' -'386','386.0' -'389','389.0' -'392','392.0' -'393','393.0' -'394','394.0' -'395','790.0' -'396','1188.0' -'397','794.0' -'399','798.0' -'4','4.0' -'400','400.0' -'401','2005.0' -'402','402.0' -'403','1209.0' -'404','808.0' -'406','1624.0' -'407','407.0' -'409','1227.0' -'41','41.0' -'411','411.0' -'413','826.0' -'414','828.0' -'417','1251.0' -'418','418.0' -'419','419.0' -'42','84.0' -'421','421.0' -'424','848.0' -'427','427.0' -'429','858.0' -'43','43.0' -'430','1290.0' -'431','1293.0' -'432','432.0' -'435','435.0' -'436','436.0' -'437','437.0' -'438','1314.0' -'439','878.0' -'44','44.0' -'443','443.0' -'444','444.0' -'446','446.0' -'448','448.0' -'449','449.0' -'452','452.0' -'453','453.0' -'454','1362.0' -'455','455.0' -'457','457.0' -'458','916.0' -'459','918.0' -'460','460.0' -'462','924.0' -'463','926.0' -'466','1398.0' -'467','467.0' -'468','1872.0' -'469','2345.0' -'47','47.0' -'470','470.0' -'472','472.0' -'475','475.0' -'477','477.0' -'478','956.0' -'479','479.0' -'480','1440.0' -'481','481.0' -'482','482.0' -'483','483.0' -'484','484.0' -'485','485.0' -'487','487.0' -'489','1956.0' -'490','490.0' -'491','491.0' -'492','984.0' -'493','493.0' -'494','494.0' -'495','495.0' -'496','496.0' -'497','497.0' -'498','1494.0' -'5','15.0' -'51','102.0' -'53','53.0' -'54','54.0' -'57','57.0' -'58','116.0' -'64','64.0' -'65','65.0' -'66','66.0' -'67','134.0' -'69','69.0' -'70','210.0' -'72','144.0' -'74','74.0' -'76','152.0' -'77','77.0' -'78','78.0' -'8','8.0' -'80','80.0' -'82','82.0' -'83','166.0' -'84','168.0' -'85','85.0' -'86','86.0' -'87','87.0' -'9','9.0' -'90','270.0' -'92','92.0' -'95','190.0' -'96','96.0' -'97','194.0' -'98','196.0' -309 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/groupby1_noskew.q.out ql/src/test/results/beelinepositive/groupby1_noskew.q.out deleted file mode 100644 index 63c5899..0000000 --- ql/src/test/results/beelinepositive/groupby1_noskew.q.out +++ /dev/null @@ -1,415 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby1_noskew.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby1_noskew.q ->>> set hive.map.aggr=false; -No rows affected ->>> set hive.groupby.skewindata=false; -No rows affected ->>> set mapred.reduce.tasks=31; -No rows affected ->>> ->>> CREATE TABLE dest_g1(key INT, value DOUBLE) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src INSERT OVERWRITE TABLE dest_g1 SELECT src.key, sum(substr(src.value,5)) GROUP BY src.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_g1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key)) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL src) key))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: -1' -' value expressions:' -' expr: substr(value, 5)' -' type: string' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: complete' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby1_noskew.dest_g1' -'' -' 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: groupby1_noskew.dest_g1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -81 rows selected ->>> ->>> FROM src INSERT OVERWRITE TABLE dest_g1 SELECT src.key, sum(substr(src.value,5)) GROUP BY src.key; -'_col0','_col1' -No rows selected ->>> ->>> SELECT dest_g1.* FROM dest_g1; -'key','value' -'0','0.0' -'10','10.0' -'100','200.0' -'103','206.0' -'104','208.0' -'105','105.0' -'11','11.0' -'111','111.0' -'113','226.0' -'114','114.0' -'116','116.0' -'118','236.0' -'119','357.0' -'12','24.0' -'120','240.0' -'125','250.0' -'126','126.0' -'128','384.0' -'129','258.0' -'131','131.0' -'133','133.0' -'134','268.0' -'136','136.0' -'137','274.0' -'138','552.0' -'143','143.0' -'145','145.0' -'146','292.0' -'149','298.0' -'15','30.0' -'150','150.0' -'152','304.0' -'153','153.0' -'155','155.0' -'156','156.0' -'157','157.0' -'158','158.0' -'160','160.0' -'162','162.0' -'163','163.0' -'164','328.0' -'165','330.0' -'166','166.0' -'167','501.0' -'168','168.0' -'169','676.0' -'17','17.0' -'170','170.0' -'172','344.0' -'174','348.0' -'175','350.0' -'176','352.0' -'177','177.0' -'178','178.0' -'179','358.0' -'18','36.0' -'180','180.0' -'181','181.0' -'183','183.0' -'186','186.0' -'187','561.0' -'189','189.0' -'19','19.0' -'190','190.0' -'191','382.0' -'192','192.0' -'193','579.0' -'194','194.0' -'195','390.0' -'196','196.0' -'197','394.0' -'199','597.0' -'2','2.0' -'20','20.0' -'200','400.0' -'201','201.0' -'202','202.0' -'203','406.0' -'205','410.0' -'207','414.0' -'208','624.0' -'209','418.0' -'213','426.0' -'214','214.0' -'216','432.0' -'217','434.0' -'218','218.0' -'219','438.0' -'221','442.0' -'222','222.0' -'223','446.0' -'224','448.0' -'226','226.0' -'228','228.0' -'229','458.0' -'230','1150.0' -'233','466.0' -'235','235.0' -'237','474.0' -'238','476.0' -'239','478.0' -'24','48.0' -'241','241.0' -'242','484.0' -'244','244.0' -'247','247.0' -'248','248.0' -'249','249.0' -'252','252.0' -'255','510.0' -'256','512.0' -'257','257.0' -'258','258.0' -'26','52.0' -'260','260.0' -'262','262.0' -'263','263.0' -'265','530.0' -'266','266.0' -'27','27.0' -'272','544.0' -'273','819.0' -'274','274.0' -'275','275.0' -'277','1108.0' -'278','556.0' -'28','28.0' -'280','560.0' -'281','562.0' -'282','564.0' -'283','283.0' -'284','284.0' -'285','285.0' -'286','286.0' -'287','287.0' -'288','576.0' -'289','289.0' -'291','291.0' -'292','292.0' -'296','296.0' -'298','894.0' -'30','30.0' -'302','302.0' -'305','305.0' -'306','306.0' -'307','614.0' -'308','308.0' -'309','618.0' -'310','310.0' -'311','933.0' -'315','315.0' -'316','948.0' -'317','634.0' -'318','954.0' -'321','642.0' -'322','644.0' -'323','323.0' -'325','650.0' -'327','981.0' -'33','33.0' -'331','662.0' -'332','332.0' -'333','666.0' -'335','335.0' -'336','336.0' -'338','338.0' -'339','339.0' -'34','34.0' -'341','341.0' -'342','684.0' -'344','688.0' -'345','345.0' -'348','1740.0' -'35','105.0' -'351','351.0' -'353','706.0' -'356','356.0' -'360','360.0' -'362','362.0' -'364','364.0' -'365','365.0' -'366','366.0' -'367','734.0' -'368','368.0' -'369','1107.0' -'37','74.0' -'373','373.0' -'374','374.0' -'375','375.0' -'377','377.0' -'378','378.0' -'379','379.0' -'382','764.0' -'384','1152.0' -'386','386.0' -'389','389.0' -'392','392.0' -'393','393.0' -'394','394.0' -'395','790.0' -'396','1188.0' -'397','794.0' -'399','798.0' -'4','4.0' -'400','400.0' -'401','2005.0' -'402','402.0' -'403','1209.0' -'404','808.0' -'406','1624.0' -'407','407.0' -'409','1227.0' -'41','41.0' -'411','411.0' -'413','826.0' -'414','828.0' -'417','1251.0' -'418','418.0' -'419','419.0' -'42','84.0' -'421','421.0' -'424','848.0' -'427','427.0' -'429','858.0' -'43','43.0' -'430','1290.0' -'431','1293.0' -'432','432.0' -'435','435.0' -'436','436.0' -'437','437.0' -'438','1314.0' -'439','878.0' -'44','44.0' -'443','443.0' -'444','444.0' -'446','446.0' -'448','448.0' -'449','449.0' -'452','452.0' -'453','453.0' -'454','1362.0' -'455','455.0' -'457','457.0' -'458','916.0' -'459','918.0' -'460','460.0' -'462','924.0' -'463','926.0' -'466','1398.0' -'467','467.0' -'468','1872.0' -'469','2345.0' -'47','47.0' -'470','470.0' -'472','472.0' -'475','475.0' -'477','477.0' -'478','956.0' -'479','479.0' -'480','1440.0' -'481','481.0' -'482','482.0' -'483','483.0' -'484','484.0' -'485','485.0' -'487','487.0' -'489','1956.0' -'490','490.0' -'491','491.0' -'492','984.0' -'493','493.0' -'494','494.0' -'495','495.0' -'496','496.0' -'497','497.0' -'498','1494.0' -'5','15.0' -'51','102.0' -'53','53.0' -'54','54.0' -'57','57.0' -'58','116.0' -'64','64.0' -'65','65.0' -'66','66.0' -'67','134.0' -'69','69.0' -'70','210.0' -'72','144.0' -'74','74.0' -'76','152.0' -'77','77.0' -'78','78.0' -'8','8.0' -'80','80.0' -'82','82.0' -'83','166.0' -'84','168.0' -'85','85.0' -'86','86.0' -'87','87.0' -'9','9.0' -'90','270.0' -'92','92.0' -'95','190.0' -'96','96.0' -'97','194.0' -'98','196.0' -309 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/groupby2.q.out ql/src/test/results/beelinepositive/groupby2.q.out deleted file mode 100644 index d9cc3bd..0000000 --- ql/src/test/results/beelinepositive/groupby2.q.out +++ /dev/null @@ -1,161 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby2.q ->>> set hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> set hive.map.aggr=false; -No rows affected ->>> set hive.groupby.skewindata=true; -No rows affected ->>> ->>> CREATE TABLE dest_g2(key STRING, c1 INT, c2 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest_g2 SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))) GROUP BY substr(src.key,1,1); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_g2))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1)) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION concat (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1) (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))))) (TOK_GROUPBY (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1))))' -'' -'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' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Reduce Output Operator' -' key expressions:' -' expr: substr(key, 1, 1)' -' type: string' -' expr: substr(value, 5)' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: substr(key, 1, 1)' -' type: string' -' expr: substr(value, 5)' -' type: string' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col1:0._col0)' -' expr: sum(KEY._col1:0._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: partial1' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: double' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' expr: sum(VALUE._col1)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' expr: concat(_col0, _col2)' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby2.dest_g2' -'' -' 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: groupby2.dest_g2' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -'' -124 rows selected ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest_g2 SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))) GROUP BY substr(src.key,1,1); -'_col0','_col1','_col2' -No rows selected ->>> ->>> SELECT dest_g2.* FROM dest_g2; -'key','c1','c2' -'0','1','00.0' -'1','71','116414.0' -'2','69','225571.0' -'3','62','332004.0' -'4','74','452763.0' -'5','6','5397.0' -'6','5','6398.0' -'7','6','7735.0' -'8','8','8762.0' -'9','7','91047.0' -10 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/groupby2_limit.q.out ql/src/test/results/beelinepositive/groupby2_limit.q.out deleted file mode 100644 index 10d928a..0000000 --- ql/src/test/results/beelinepositive/groupby2_limit.q.out +++ /dev/null @@ -1,92 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby2_limit.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby2_limit.q ->>> set mapred.reduce.tasks=31; -No rows affected ->>> ->>> EXPLAIN -SELECT src.key, sum(substr(src.value,5)) FROM src GROUP BY src.key LIMIT 5; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key)) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL src) key)) (TOK_LIMIT 5)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: sum(substr(value, 5))' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: double' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 5' -'' -'' -72 rows selected ->>> ->>> SELECT src.key, sum(substr(src.value,5)) FROM src GROUP BY src.key LIMIT 5; -'key','_c1' -'0','0.0' -'10','10.0' -'100','200.0' -'103','206.0' -'104','208.0' -5 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/groupby2_map.q.out ql/src/test/results/beelinepositive/groupby2_map.q.out deleted file mode 100644 index 0a61980..0000000 --- ql/src/test/results/beelinepositive/groupby2_map.q.out +++ /dev/null @@ -1,139 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby2_map.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby2_map.q ->>> set hive.map.aggr=true; -No rows affected ->>> set hive.groupby.skewindata=false; -No rows affected ->>> set mapred.reduce.tasks=31; -No rows affected ->>> ->>> CREATE TABLE dest1(key STRING, c1 INT, c2 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest1 SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))) GROUP BY substr(src.key,1,1); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1)) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION concat (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1) (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))))) (TOK_GROUPBY (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT substr(value, 5))' -' expr: sum(substr(value, 5))' -' bucketGroup: false' -' keys:' -' expr: substr(key, 1, 1)' -' type: string' -' expr: substr(value, 5)' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' expr: _col3' -' type: double' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col1:0._col0)' -' expr: sum(VALUE._col1)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' expr: concat(_col0, _col2)' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby2_map.dest1' -'' -' 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: groupby2_map.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -102 rows selected ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))) GROUP BY substr(src.key,1,1); -'_col0','_col1','_col2' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','c1','c2' -'0','1','00.0' -'1','71','116414.0' -'2','69','225571.0' -'3','62','332004.0' -'4','74','452763.0' -'5','6','5397.0' -'6','5','6398.0' -'7','6','7735.0' -'8','8','8762.0' -'9','7','91047.0' -10 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/groupby2_map_multi_distinct.q.out ql/src/test/results/beelinepositive/groupby2_map_multi_distinct.q.out deleted file mode 100644 index 6727a35..0000000 --- ql/src/test/results/beelinepositive/groupby2_map_multi_distinct.q.out +++ /dev/null @@ -1,155 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby2_map_multi_distinct.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby2_map_multi_distinct.q ->>> set hive.map.aggr=true; -No rows affected ->>> set hive.groupby.skewindata=false; -No rows affected ->>> set mapred.reduce.tasks=31; -No rows affected ->>> ->>> CREATE TABLE dest1(key STRING, c1 INT, c2 STRING, c3 INT, c4 INT) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest1 SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))), sum(DISTINCT substr(src.value, 5)), count(src.value) GROUP BY substr(src.key,1,1); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1)) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION concat (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1) (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5)))) (TOK_SELEXPR (TOK_FUNCTIONDI sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION count (. (TOK_TABLE_OR_COL src) value)))) (TOK_GROUPBY (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT substr(value, 5))' -' expr: sum(substr(value, 5))' -' expr: sum(DISTINCT substr(value, 5))' -' expr: count(value)' -' bucketGroup: false' -' keys:' -' expr: substr(key, 1, 1)' -' type: string' -' expr: substr(value, 5)' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' expr: _col3' -' type: double' -' expr: _col4' -' type: double' -' expr: _col5' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col1:0._col0)' -' expr: sum(VALUE._col1)' -' expr: sum(DISTINCT KEY._col1:1._col0)' -' expr: count(VALUE._col3)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' expr: concat(_col0, _col2)' -' type: string' -' expr: _col3' -' type: double' -' expr: _col4' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: _col2' -' type: string' -' expr: UDFToInteger(_col3)' -' type: int' -' expr: UDFToInteger(_col4)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby2_map_multi_distinct.dest1' -'' -' 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: groupby2_map_multi_distinct.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -118 rows selected ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))), sum(DISTINCT substr(src.value, 5)), count(src.value) GROUP BY substr(src.key,1,1); -'_col0','_col1','_col2','_col3','_col4' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','c1','c2','c3','c4' -'0','1','00.0','0','3' -'1','71','116414.0','10044','115' -'2','69','225571.0','15780','111' -'3','62','332004.0','20119','99' -'4','74','452763.0','30965','124' -'5','6','5397.0','278','10' -'6','5','6398.0','331','6' -'7','6','7735.0','447','10' -'8','8','8762.0','595','10' -'9','7','91047.0','577','12' -10 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/groupby2_map_skew.q.out ql/src/test/results/beelinepositive/groupby2_map_skew.q.out deleted file mode 100644 index e338e47..0000000 --- ql/src/test/results/beelinepositive/groupby2_map_skew.q.out +++ /dev/null @@ -1,178 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby2_map_skew.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby2_map_skew.q ->>> set hive.map.aggr=true; -No rows affected ->>> set hive.groupby.skewindata=true; -No rows affected ->>> set mapred.reduce.tasks=31; -No rows affected ->>> ->>> CREATE TABLE dest1(key STRING, c1 INT, c2 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest1 SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))) GROUP BY substr(src.key,1,1); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1)) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION concat (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1) (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))))) (TOK_GROUPBY (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1))))' -'' -'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' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT substr(value, 5))' -' expr: sum(substr(value, 5))' -' bucketGroup: false' -' keys:' -' expr: substr(key, 1, 1)' -' type: string' -' expr: substr(value, 5)' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' expr: _col3' -' type: double' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col1:0._col0)' -' expr: sum(VALUE._col1)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: partials' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: double' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' expr: sum(VALUE._col1)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' expr: concat(_col0, _col2)' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby2_map_skew.dest1' -'' -' 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: groupby2_map_skew.dest1' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -'' -141 rows selected ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))) GROUP BY substr(src.key,1,1); -'_col0','_col1','_col2' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','c1','c2' -'0','1','00.0' -'1','71','116414.0' -'2','69','225571.0' -'3','62','332004.0' -'4','74','452763.0' -'5','6','5397.0' -'6','5','6398.0' -'7','6','7735.0' -'8','8','8762.0' -'9','7','91047.0' -10 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/groupby2_noskew.q.out ql/src/test/results/beelinepositive/groupby2_noskew.q.out deleted file mode 100644 index 89cb1a5..0000000 --- ql/src/test/results/beelinepositive/groupby2_noskew.q.out +++ /dev/null @@ -1,122 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby2_noskew.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby2_noskew.q ->>> set hive.map.aggr=false; -No rows affected ->>> set hive.groupby.skewindata=false; -No rows affected ->>> set mapred.reduce.tasks=31; -No rows affected ->>> ->>> CREATE TABLE dest_g2(key STRING, c1 INT, c2 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest_g2 SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))) GROUP BY substr(src.key,1,1); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_g2))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1)) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION concat (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1) (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))))) (TOK_GROUPBY (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Reduce Output Operator' -' key expressions:' -' expr: substr(key, 1, 1)' -' type: string' -' expr: substr(value, 5)' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: substr(key, 1, 1)' -' type: string' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col1:0._col0)' -' expr: sum(KEY._col1:0._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: complete' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' expr: concat(_col0, _col2)' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby2_noskew.dest_g2' -'' -' 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: groupby2_noskew.dest_g2' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -85 rows selected ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest_g2 SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))) GROUP BY substr(src.key,1,1); -'_col0','_col1','_col2' -No rows selected ->>> ->>> SELECT dest_g2.* FROM dest_g2; -'key','c1','c2' -'0','1','00.0' -'1','71','116414.0' -'2','69','225571.0' -'3','62','332004.0' -'4','74','452763.0' -'5','6','5397.0' -'6','5','6398.0' -'7','6','7735.0' -'8','8','8762.0' -'9','7','91047.0' -10 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/groupby2_noskew_multi_distinct.q.out ql/src/test/results/beelinepositive/groupby2_noskew_multi_distinct.q.out deleted file mode 100644 index d604e1e..0000000 --- ql/src/test/results/beelinepositive/groupby2_noskew_multi_distinct.q.out +++ /dev/null @@ -1,135 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby2_noskew_multi_distinct.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby2_noskew_multi_distinct.q ->>> set hive.map.aggr=false; -No rows affected ->>> set hive.groupby.skewindata=false; -No rows affected ->>> set mapred.reduce.tasks=31; -No rows affected ->>> ->>> CREATE TABLE dest_g2(key STRING, c1 INT, c2 STRING, c3 INT, c4 INT) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest_g2 SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))), sum(DISTINCT substr(src.value, 5)), count(src.value) GROUP BY substr(src.key,1,1); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_g2))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1)) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION concat (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1) (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5)))) (TOK_SELEXPR (TOK_FUNCTIONDI sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION count (. (TOK_TABLE_OR_COL src) value)))) (TOK_GROUPBY (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Reduce Output Operator' -' key expressions:' -' expr: substr(key, 1, 1)' -' type: string' -' expr: substr(value, 5)' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: substr(key, 1, 1)' -' type: string' -' tag: -1' -' value expressions:' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col1:0._col0)' -' expr: sum(KEY._col1:1._col0)' -' expr: sum(DISTINCT KEY._col1:1._col0)' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: complete' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' expr: concat(_col0, _col2)' -' type: string' -' expr: _col3' -' type: double' -' expr: _col4' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: _col2' -' type: string' -' expr: UDFToInteger(_col3)' -' type: int' -' expr: UDFToInteger(_col4)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby2_noskew_multi_distinct.dest_g2' -'' -' 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: groupby2_noskew_multi_distinct.dest_g2' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -98 rows selected ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest_g2 SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))), sum(DISTINCT substr(src.value, 5)), count(src.value) GROUP BY substr(src.key,1,1); -'_col0','_col1','_col2','_col3','_col4' -No rows selected ->>> ->>> SELECT dest_g2.* FROM dest_g2; -'key','c1','c2','c3','c4' -'0','1','00.0','0','3' -'1','71','116414.0','10044','115' -'2','69','225571.0','15780','111' -'3','62','332004.0','20119','99' -'4','74','452763.0','30965','124' -'5','6','5397.0','278','10' -'6','5','6398.0','331','6' -'7','6','7735.0','447','10' -'8','8','8762.0','595','10' -'9','7','91047.0','577','12' -10 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/groupby3.q.out ql/src/test/results/beelinepositive/groupby3.q.out deleted file mode 100644 index 96c0a1f..0000000 --- ql/src/test/results/beelinepositive/groupby3.q.out +++ /dev/null @@ -1,204 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby3.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby3.q ->>> set hive.map.aggr=false; -No rows affected ->>> set hive.groupby.skewindata=true; -No rows affected ->>> ->>> CREATE TABLE dest1(c1 DOUBLE, c2 DOUBLE, c3 DOUBLE, c4 DOUBLE, c5 DOUBLE, c6 DOUBLE, c7 DOUBLE, c8 DOUBLE, c9 DOUBLE) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest1 SELECT -sum(substr(src.value,5)), -avg(substr(src.value,5)), -avg(DISTINCT substr(src.value,5)), -max(substr(src.value,5)), -min(substr(src.value,5)), -std(substr(src.value,5)), -stddev_samp(substr(src.value,5)), -variance(substr(src.value,5)), -var_samp(substr(src.value,5)); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION avg (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTIONDI avg (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION max (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION min (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION std (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION stddev_samp (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION variance (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION var_samp (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))))))' -'' -'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' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: value' -' type: string' -' outputColumnNames: value' -' Reduce Output Operator' -' key expressions:' -' expr: substr(value, 5)' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: substr(value, 5)' -' type: string' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(KEY._col0:0._col0)' -' expr: avg(KEY._col0:0._col0)' -' expr: avg(DISTINCT KEY._col0:0._col0)' -' expr: max(KEY._col0:0._col0)' -' expr: min(KEY._col0:0._col0)' -' expr: std(KEY._col0:0._col0)' -' expr: stddev_samp(KEY._col0:0._col0)' -' expr: variance(KEY._col0:0._col0)' -' expr: var_samp(KEY._col0:0._col0)' -' bucketGroup: false' -' mode: partial1' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: double' -' expr: _col1' -' type: struct' -' expr: _col2' -' type: struct' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: struct' -' expr: _col6' -' type: struct' -' expr: _col7' -' type: struct' -' expr: _col8' -' type: struct' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' expr: avg(VALUE._col1)' -' expr: avg(VALUE._col2)' -' expr: max(VALUE._col3)' -' expr: min(VALUE._col4)' -' expr: std(VALUE._col5)' -' expr: stddev_samp(VALUE._col6)' -' expr: variance(VALUE._col7)' -' expr: var_samp(VALUE._col8)' -' bucketGroup: false' -' mode: final' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8' -' Select Operator' -' expressions:' -' expr: _col0' -' type: double' -' expr: _col1' -' type: double' -' expr: _col2' -' type: double' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: double' -' expr: _col6' -' type: double' -' expr: _col7' -' type: double' -' expr: _col8' -' type: double' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8' -' Select Operator' -' expressions:' -' expr: _col0' -' type: double' -' expr: _col1' -' type: double' -' expr: _col2' -' type: double' -' expr: UDFToDouble(_col3)' -' type: double' -' expr: UDFToDouble(_col4)' -' type: double' -' expr: _col5' -' type: double' -' expr: _col6' -' type: double' -' expr: _col7' -' type: double' -' expr: _col8' -' type: double' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby3.dest1' -'' -' 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: groupby3.dest1' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -'' -158 rows selected ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 SELECT -sum(substr(src.value,5)), -avg(substr(src.value,5)), -avg(DISTINCT substr(src.value,5)), -max(substr(src.value,5)), -min(substr(src.value,5)), -std(substr(src.value,5)), -stddev_samp(substr(src.value,5)), -variance(substr(src.value,5)), -var_samp(substr(src.value,5)); -'_col0','_col1','_col2','_col3','_col4','_col5','_col6','_col7','_col8' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'c1','c2','c3','c4','c5','c6','c7','c8','c9' -'130091.0','260.182','256.10355987055016','98.0','0.0','142.92680950752379','143.06995106518903','20428.07287599999','20469.010897795582' -1 row selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/groupby3_map.q.out ql/src/test/results/beelinepositive/groupby3_map.q.out deleted file mode 100644 index d8df16a..0000000 --- ql/src/test/results/beelinepositive/groupby3_map.q.out +++ /dev/null @@ -1,190 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby3_map.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby3_map.q ->>> set hive.map.aggr=true; -No rows affected ->>> set hive.groupby.skewindata=false; -No rows affected ->>> set mapred.reduce.tasks=31; -No rows affected ->>> ->>> CREATE TABLE dest1(c1 DOUBLE, c2 DOUBLE, c3 DOUBLE, c4 DOUBLE, c5 DOUBLE, c6 DOUBLE, c7 DOUBLE, c8 DOUBLE, c9 DOUBLE) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest1 SELECT -sum(substr(src.value,5)), -avg(substr(src.value,5)), -avg(DISTINCT substr(src.value,5)), -max(substr(src.value,5)), -min(substr(src.value,5)), -std(substr(src.value,5)), -stddev_samp(substr(src.value,5)), -variance(substr(src.value,5)), -var_samp(substr(src.value,5)); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION avg (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTIONDI avg (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION max (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION min (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION std (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION stddev_samp (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION variance (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION var_samp (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: value' -' type: string' -' outputColumnNames: value' -' Group By Operator' -' aggregations:' -' expr: sum(substr(value, 5))' -' expr: avg(substr(value, 5))' -' expr: avg(DISTINCT substr(value, 5))' -' expr: max(substr(value, 5))' -' expr: min(substr(value, 5))' -' expr: std(substr(value, 5))' -' expr: stddev_samp(substr(value, 5))' -' expr: variance(substr(value, 5))' -' expr: var_samp(substr(value, 5))' -' bucketGroup: false' -' keys:' -' expr: substr(value, 5)' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: double' -' expr: _col2' -' type: struct' -' expr: _col3' -' type: struct' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col6' -' type: struct' -' expr: _col7' -' type: struct' -' expr: _col8' -' type: struct' -' expr: _col9' -' type: struct' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' expr: avg(VALUE._col1)' -' expr: avg(DISTINCT KEY._col0:0._col0)' -' expr: max(VALUE._col3)' -' expr: min(VALUE._col4)' -' expr: std(VALUE._col5)' -' expr: stddev_samp(VALUE._col6)' -' expr: variance(VALUE._col7)' -' expr: var_samp(VALUE._col8)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8' -' Select Operator' -' expressions:' -' expr: _col0' -' type: double' -' expr: _col1' -' type: double' -' expr: _col2' -' type: double' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: double' -' expr: _col6' -' type: double' -' expr: _col7' -' type: double' -' expr: _col8' -' type: double' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8' -' Select Operator' -' expressions:' -' expr: _col0' -' type: double' -' expr: _col1' -' type: double' -' expr: _col2' -' type: double' -' expr: UDFToDouble(_col3)' -' type: double' -' expr: UDFToDouble(_col4)' -' type: double' -' expr: _col5' -' type: double' -' expr: _col6' -' type: double' -' expr: _col7' -' type: double' -' expr: _col8' -' type: double' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby3_map.dest1' -'' -' 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: groupby3_map.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -142 rows selected ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 SELECT -sum(substr(src.value,5)), -avg(substr(src.value,5)), -avg(DISTINCT substr(src.value,5)), -max(substr(src.value,5)), -min(substr(src.value,5)), -std(substr(src.value,5)), -stddev_samp(substr(src.value,5)), -variance(substr(src.value,5)), -var_samp(substr(src.value,5)); -'_col0','_col1','_col2','_col3','_col4','_col5','_col6','_col7','_col8' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'c1','c2','c3','c4','c5','c6','c7','c8','c9' -'130091.0','260.182','256.10355987055016','98.0','0.0','142.9268095075238','143.06995106518906','20428.072876','20469.01089779559' -1 row selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/groupby3_map_multi_distinct.q.out ql/src/test/results/beelinepositive/groupby3_map_multi_distinct.q.out deleted file mode 100644 index 8b9c85e..0000000 --- ql/src/test/results/beelinepositive/groupby3_map_multi_distinct.q.out +++ /dev/null @@ -1,208 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby3_map_multi_distinct.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby3_map_multi_distinct.q ->>> set hive.map.aggr=true; -No rows affected ->>> set hive.groupby.skewindata=false; -No rows affected ->>> set mapred.reduce.tasks=31; -No rows affected ->>> ->>> CREATE TABLE dest1(c1 DOUBLE, c2 DOUBLE, c3 DOUBLE, c4 DOUBLE, c5 DOUBLE, c6 DOUBLE, c7 DOUBLE, c8 DOUBLE, c9 DOUBLE, c10 DOUBLE, c11 DOUBLE) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest1 SELECT -sum(substr(src.value,5)), -avg(substr(src.value,5)), -avg(DISTINCT substr(src.value,5)), -max(substr(src.value,5)), -min(substr(src.value,5)), -std(substr(src.value,5)), -stddev_samp(substr(src.value,5)), -variance(substr(src.value,5)), -var_samp(substr(src.value,5)), -sum(DISTINCT substr(src.value, 5)), -count(DISTINCT substr(src.value, 5)); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION avg (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTIONDI avg (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION max (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION min (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION std (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION stddev_samp (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION variance (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION var_samp (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTIONDI sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: value' -' type: string' -' outputColumnNames: value' -' Group By Operator' -' aggregations:' -' expr: sum(substr(value, 5))' -' expr: avg(substr(value, 5))' -' expr: avg(DISTINCT substr(value, 5))' -' expr: max(substr(value, 5))' -' expr: min(substr(value, 5))' -' expr: std(substr(value, 5))' -' expr: stddev_samp(substr(value, 5))' -' expr: variance(substr(value, 5))' -' expr: var_samp(substr(value, 5))' -' expr: sum(DISTINCT substr(value, 5))' -' expr: count(DISTINCT substr(value, 5))' -' bucketGroup: false' -' keys:' -' expr: substr(value, 5)' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: double' -' expr: _col2' -' type: struct' -' expr: _col3' -' type: struct' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col6' -' type: struct' -' expr: _col7' -' type: struct' -' expr: _col8' -' type: struct' -' expr: _col9' -' type: struct' -' expr: _col10' -' type: double' -' expr: _col11' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' expr: avg(VALUE._col1)' -' expr: avg(DISTINCT KEY._col0:0._col0)' -' expr: max(VALUE._col3)' -' expr: min(VALUE._col4)' -' expr: std(VALUE._col5)' -' expr: stddev_samp(VALUE._col6)' -' expr: variance(VALUE._col7)' -' expr: var_samp(VALUE._col8)' -' expr: sum(DISTINCT KEY._col0:1._col0)' -' expr: count(DISTINCT KEY._col0:2._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10' -' Select Operator' -' expressions:' -' expr: _col0' -' type: double' -' expr: _col1' -' type: double' -' expr: _col2' -' type: double' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: double' -' expr: _col6' -' type: double' -' expr: _col7' -' type: double' -' expr: _col8' -' type: double' -' expr: _col9' -' type: double' -' expr: _col10' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10' -' Select Operator' -' expressions:' -' expr: _col0' -' type: double' -' expr: _col1' -' type: double' -' expr: _col2' -' type: double' -' expr: UDFToDouble(_col3)' -' type: double' -' expr: UDFToDouble(_col4)' -' type: double' -' expr: _col5' -' type: double' -' expr: _col6' -' type: double' -' expr: _col7' -' type: double' -' expr: _col8' -' type: double' -' expr: _col9' -' type: double' -' expr: UDFToDouble(_col10)' -' type: double' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby3_map_multi_distinct.dest1' -'' -' 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: groupby3_map_multi_distinct.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -158 rows selected ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 SELECT -sum(substr(src.value,5)), -avg(substr(src.value,5)), -avg(DISTINCT substr(src.value,5)), -max(substr(src.value,5)), -min(substr(src.value,5)), -std(substr(src.value,5)), -stddev_samp(substr(src.value,5)), -variance(substr(src.value,5)), -var_samp(substr(src.value,5)), -sum(DISTINCT substr(src.value, 5)), -count(DISTINCT substr(src.value, 5)); -'_col0','_col1','_col2','_col3','_col4','_col5','_col6','_col7','_col8','_col9','_col10' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'c1','c2','c3','c4','c5','c6','c7','c8','c9','c10','c11' -'130091.0','260.182','256.10355987055016','98.0','0.0','142.9268095075238','143.06995106518906','20428.072876','20469.01089779559','79136.0','309.0' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/groupby3_map_skew.q.out ql/src/test/results/beelinepositive/groupby3_map_skew.q.out deleted file mode 100644 index 249ba88..0000000 --- ql/src/test/results/beelinepositive/groupby3_map_skew.q.out +++ /dev/null @@ -1,242 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby3_map_skew.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby3_map_skew.q ->>> set hive.map.aggr=true; -No rows affected ->>> set hive.groupby.skewindata=true; -No rows affected ->>> set mapred.reduce.tasks=31; -No rows affected ->>> ->>> CREATE TABLE dest1(c1 DOUBLE, c2 DOUBLE, c3 DOUBLE, c4 DOUBLE, c5 DOUBLE, c6 DOUBLE, c7 DOUBLE, c8 DOUBLE, c9 DOUBLE) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest1 SELECT -sum(substr(src.value,5)), -avg(substr(src.value,5)), -avg(DISTINCT substr(src.value,5)), -max(substr(src.value,5)), -min(substr(src.value,5)), -std(substr(src.value,5)), -stddev_samp(substr(src.value,5)), -variance(substr(src.value,5)), -var_samp(substr(src.value,5)); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION avg (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTIONDI avg (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION max (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION min (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION std (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION stddev_samp (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION variance (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION var_samp (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))))))' -'' -'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' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: value' -' type: string' -' outputColumnNames: value' -' Group By Operator' -' aggregations:' -' expr: sum(substr(value, 5))' -' expr: avg(substr(value, 5))' -' expr: avg(DISTINCT substr(value, 5))' -' expr: max(substr(value, 5))' -' expr: min(substr(value, 5))' -' expr: std(substr(value, 5))' -' expr: stddev_samp(substr(value, 5))' -' expr: variance(substr(value, 5))' -' expr: var_samp(substr(value, 5))' -' bucketGroup: false' -' keys:' -' expr: substr(value, 5)' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: double' -' expr: _col2' -' type: struct' -' expr: _col3' -' type: struct' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col6' -' type: struct' -' expr: _col7' -' type: struct' -' expr: _col8' -' type: struct' -' expr: _col9' -' type: struct' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' expr: avg(VALUE._col1)' -' expr: avg(DISTINCT KEY._col0:0._col0)' -' expr: max(VALUE._col3)' -' expr: min(VALUE._col4)' -' expr: std(VALUE._col5)' -' expr: stddev_samp(VALUE._col6)' -' expr: variance(VALUE._col7)' -' expr: var_samp(VALUE._col8)' -' bucketGroup: false' -' mode: partials' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: double' -' expr: _col1' -' type: struct' -' expr: _col2' -' type: struct' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: struct' -' expr: _col6' -' type: struct' -' expr: _col7' -' type: struct' -' expr: _col8' -' type: struct' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' expr: avg(VALUE._col1)' -' expr: avg(VALUE._col2)' -' expr: max(VALUE._col3)' -' expr: min(VALUE._col4)' -' expr: std(VALUE._col5)' -' expr: stddev_samp(VALUE._col6)' -' expr: variance(VALUE._col7)' -' expr: var_samp(VALUE._col8)' -' bucketGroup: false' -' mode: final' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8' -' Select Operator' -' expressions:' -' expr: _col0' -' type: double' -' expr: _col1' -' type: double' -' expr: _col2' -' type: double' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: double' -' expr: _col6' -' type: double' -' expr: _col7' -' type: double' -' expr: _col8' -' type: double' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8' -' Select Operator' -' expressions:' -' expr: _col0' -' type: double' -' expr: _col1' -' type: double' -' expr: _col2' -' type: double' -' expr: UDFToDouble(_col3)' -' type: double' -' expr: UDFToDouble(_col4)' -' type: double' -' expr: _col5' -' type: double' -' expr: _col6' -' type: double' -' expr: _col7' -' type: double' -' expr: _col8' -' type: double' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby3_map_skew.dest1' -'' -' 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: groupby3_map_skew.dest1' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -'' -194 rows selected ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 SELECT -sum(substr(src.value,5)), -avg(substr(src.value,5)), -avg(DISTINCT substr(src.value,5)), -max(substr(src.value,5)), -min(substr(src.value,5)), -std(substr(src.value,5)), -stddev_samp(substr(src.value,5)), -variance(substr(src.value,5)), -var_samp(substr(src.value,5)); -'_col0','_col1','_col2','_col3','_col4','_col5','_col6','_col7','_col8' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'c1','c2','c3','c4','c5','c6','c7','c8','c9' -'130091.0','260.182','256.10355987055016','98.0','0.0','142.9268095075238','143.06995106518906','20428.072876','20469.01089779559' -1 row selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/groupby3_noskew.q.out ql/src/test/results/beelinepositive/groupby3_noskew.q.out deleted file mode 100644 index 24e60ec..0000000 --- ql/src/test/results/beelinepositive/groupby3_noskew.q.out +++ /dev/null @@ -1,156 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby3_noskew.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby3_noskew.q ->>> set hive.map.aggr=false; -No rows affected ->>> ->>> set hive.groupby.skewindata=false; -No rows affected ->>> set mapred.reduce.tasks=31; -No rows affected ->>> ->>> CREATE TABLE dest1(c1 DOUBLE, c2 DOUBLE, c3 DOUBLE, c4 DOUBLE, c5 DOUBLE, c6 DOUBLE, c7 DOUBLE, c8 DOUBLE, c9 DOUBLE) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest1 SELECT -sum(substr(src.value,5)), -avg(substr(src.value,5)), -avg(DISTINCT substr(src.value,5)), -max(substr(src.value,5)), -min(substr(src.value,5)), -std(substr(src.value,5)), -stddev_samp(substr(src.value,5)), -variance(substr(src.value,5)), -var_samp(substr(src.value,5)); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION avg (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTIONDI avg (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION max (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION min (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION std (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION stddev_samp (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION variance (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION var_samp (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: value' -' type: string' -' outputColumnNames: value' -' Reduce Output Operator' -' key expressions:' -' expr: substr(value, 5)' -' type: string' -' sort order: +' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(KEY._col0:0._col0)' -' expr: avg(KEY._col0:0._col0)' -' expr: avg(DISTINCT KEY._col0:0._col0)' -' expr: max(KEY._col0:0._col0)' -' expr: min(KEY._col0:0._col0)' -' expr: std(KEY._col0:0._col0)' -' expr: stddev_samp(KEY._col0:0._col0)' -' expr: variance(KEY._col0:0._col0)' -' expr: var_samp(KEY._col0:0._col0)' -' bucketGroup: false' -' mode: complete' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8' -' Select Operator' -' expressions:' -' expr: _col0' -' type: double' -' expr: _col1' -' type: double' -' expr: _col2' -' type: double' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: double' -' expr: _col6' -' type: double' -' expr: _col7' -' type: double' -' expr: _col8' -' type: double' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8' -' Select Operator' -' expressions:' -' expr: _col0' -' type: double' -' expr: _col1' -' type: double' -' expr: _col2' -' type: double' -' expr: UDFToDouble(_col3)' -' type: double' -' expr: UDFToDouble(_col4)' -' type: double' -' expr: _col5' -' type: double' -' expr: _col6' -' type: double' -' expr: _col7' -' type: double' -' expr: _col8' -' type: double' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby3_noskew.dest1' -'' -' 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: groupby3_noskew.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -106 rows selected ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 SELECT -sum(substr(src.value,5)), -avg(substr(src.value,5)), -avg(DISTINCT substr(src.value,5)), -max(substr(src.value,5)), -min(substr(src.value,5)), -std(substr(src.value,5)), -stddev_samp(substr(src.value,5)), -variance(substr(src.value,5)), -var_samp(substr(src.value,5)); -'_col0','_col1','_col2','_col3','_col4','_col5','_col6','_col7','_col8' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'c1','c2','c3','c4','c5','c6','c7','c8','c9' -'130091.0','260.182','256.10355987055016','98.0','0.0','142.92680950752379','143.06995106518903','20428.07287599999','20469.010897795582' -1 row selected ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/groupby3_noskew_multi_distinct.q.out ql/src/test/results/beelinepositive/groupby3_noskew_multi_distinct.q.out deleted file mode 100644 index 411f7c1..0000000 --- ql/src/test/results/beelinepositive/groupby3_noskew_multi_distinct.q.out +++ /dev/null @@ -1,168 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby3_noskew_multi_distinct.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby3_noskew_multi_distinct.q ->>> set hive.map.aggr=false; -No rows affected ->>> ->>> set hive.groupby.skewindata=false; -No rows affected ->>> set mapred.reduce.tasks=31; -No rows affected ->>> ->>> CREATE TABLE dest1(c1 DOUBLE, c2 DOUBLE, c3 DOUBLE, c4 DOUBLE, c5 DOUBLE, c6 DOUBLE, c7 DOUBLE, c8 DOUBLE, c9 DOUBLE, c10 DOUBLE, c11 DOUBLE) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest1 SELECT -sum(substr(src.value,5)), -avg(substr(src.value,5)), -avg(DISTINCT substr(src.value,5)), -max(substr(src.value,5)), -min(substr(src.value,5)), -std(substr(src.value,5)), -stddev_samp(substr(src.value,5)), -variance(substr(src.value,5)), -var_samp(substr(src.value,5)), -sum(DISTINCT substr(src.value, 5)), -count(DISTINCT substr(src.value, 5)); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION avg (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTIONDI avg (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION max (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION min (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION std (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION stddev_samp (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION variance (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION var_samp (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTIONDI sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: value' -' type: string' -' outputColumnNames: value' -' Reduce Output Operator' -' key expressions:' -' expr: substr(value, 5)' -' type: string' -' sort order: +' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(KEY._col0:2._col0)' -' expr: avg(KEY._col0:2._col0)' -' expr: avg(DISTINCT KEY._col0:0._col0)' -' expr: max(KEY._col0:2._col0)' -' expr: min(KEY._col0:2._col0)' -' expr: std(KEY._col0:2._col0)' -' expr: stddev_samp(KEY._col0:2._col0)' -' expr: variance(KEY._col0:2._col0)' -' expr: var_samp(KEY._col0:2._col0)' -' expr: sum(DISTINCT KEY._col0:1._col0)' -' expr: count(DISTINCT KEY._col0:2._col0)' -' bucketGroup: false' -' mode: complete' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10' -' Select Operator' -' expressions:' -' expr: _col0' -' type: double' -' expr: _col1' -' type: double' -' expr: _col2' -' type: double' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: double' -' expr: _col6' -' type: double' -' expr: _col7' -' type: double' -' expr: _col8' -' type: double' -' expr: _col9' -' type: double' -' expr: _col10' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10' -' Select Operator' -' expressions:' -' expr: _col0' -' type: double' -' expr: _col1' -' type: double' -' expr: _col2' -' type: double' -' expr: UDFToDouble(_col3)' -' type: double' -' expr: UDFToDouble(_col4)' -' type: double' -' expr: _col5' -' type: double' -' expr: _col6' -' type: double' -' expr: _col7' -' type: double' -' expr: _col8' -' type: double' -' expr: _col9' -' type: double' -' expr: UDFToDouble(_col10)' -' type: double' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby3_noskew_multi_distinct.dest1' -'' -' 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: groupby3_noskew_multi_distinct.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -116 rows selected ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 SELECT -sum(substr(src.value,5)), -avg(substr(src.value,5)), -avg(DISTINCT substr(src.value,5)), -max(substr(src.value,5)), -min(substr(src.value,5)), -std(substr(src.value,5)), -stddev_samp(substr(src.value,5)), -variance(substr(src.value,5)), -var_samp(substr(src.value,5)), -sum(DISTINCT substr(src.value, 5)), -count(DISTINCT substr(src.value, 5)); -'_col0','_col1','_col2','_col3','_col4','_col5','_col6','_col7','_col8','_col9','_col10' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'c1','c2','c3','c4','c5','c6','c7','c8','c9','c10','c11' -'130091.0','260.182','256.10355987055016','98.0','0.0','142.92680950752379','143.06995106518903','20428.07287599999','20469.010897795582','79136.0','309.0' -1 row selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/groupby4.q.out ql/src/test/results/beelinepositive/groupby4.q.out deleted file mode 100644 index 857dfb8..0000000 --- ql/src/test/results/beelinepositive/groupby4.q.out +++ /dev/null @@ -1,130 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby4.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby4.q ->>> set hive.map.aggr=false; -No rows affected ->>> set hive.groupby.skewindata=true; -No rows affected ->>> ->>> CREATE TABLE dest1(c1 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest1 SELECT substr(src.key,1,1) GROUP BY substr(src.key,1,1); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1))) (TOK_GROUPBY (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1))))' -'' -'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' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Reduce Output Operator' -' key expressions:' -' expr: substr(key, 1, 1)' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: rand()' -' type: double' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: partial1' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: final' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby4.dest1' -'' -' 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: groupby4.dest1' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -'' -94 rows selected ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 SELECT substr(src.key,1,1) GROUP BY substr(src.key,1,1); -'_c0' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'c1' -'0' -'1' -'2' -'3' -'4' -'5' -'6' -'7' -'8' -'9' -10 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/groupby4_map.q.out ql/src/test/results/beelinepositive/groupby4_map.q.out deleted file mode 100644 index 7b4fb3b..0000000 --- ql/src/test/results/beelinepositive/groupby4_map.q.out +++ /dev/null @@ -1,94 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby4_map.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby4_map.q ->>> set hive.map.aggr=true; -No rows affected ->>> set hive.groupby.skewindata=false; -No rows affected ->>> set mapred.reduce.tasks=31; -No rows affected ->>> ->>> CREATE TABLE dest1(key INT) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src INSERT OVERWRITE TABLE dest1 SELECT count(1); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby4_map.dest1' -'' -' 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: groupby4_map.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -68 rows selected ->>> ->>> FROM src INSERT OVERWRITE TABLE dest1 SELECT count(1); -'_col0' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key' -'500' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/groupby4_map_skew.q.out ql/src/test/results/beelinepositive/groupby4_map_skew.q.out deleted file mode 100644 index d927833..0000000 --- ql/src/test/results/beelinepositive/groupby4_map_skew.q.out +++ /dev/null @@ -1,94 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby4_map_skew.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby4_map_skew.q ->>> set hive.map.aggr=true; -No rows affected ->>> set hive.groupby.skewindata=true; -No rows affected ->>> set mapred.reduce.tasks=31; -No rows affected ->>> ->>> CREATE TABLE dest1(key INT) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src INSERT OVERWRITE TABLE dest1 SELECT count(1); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: final' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby4_map_skew.dest1' -'' -' 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: groupby4_map_skew.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -68 rows selected ->>> ->>> FROM src INSERT OVERWRITE TABLE dest1 SELECT count(1); -'_col0' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key' -'500' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/groupby4_noskew.q.out ql/src/test/results/beelinepositive/groupby4_noskew.q.out deleted file mode 100644 index 9ee3626..0000000 --- ql/src/test/results/beelinepositive/groupby4_noskew.q.out +++ /dev/null @@ -1,104 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby4_noskew.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby4_noskew.q ->>> set hive.map.aggr=false; -No rows affected ->>> ->>> set hive.groupby.skewindata=false; -No rows affected ->>> set mapred.reduce.tasks=31; -No rows affected ->>> ->>> CREATE TABLE dest1(c1 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest1 SELECT substr(src.key,1,1) GROUP BY substr(src.key,1,1); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1))) (TOK_GROUPBY (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Reduce Output Operator' -' key expressions:' -' expr: substr(key, 1, 1)' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: substr(key, 1, 1)' -' type: string' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: complete' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby4_noskew.dest1' -'' -' 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: groupby4_noskew.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -65 rows selected ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 SELECT substr(src.key,1,1) GROUP BY substr(src.key,1,1); -'_c0' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'c1' -'0' -'1' -'2' -'3' -'4' -'5' -'6' -'7' -'8' -'9' -10 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/groupby5.q.out ql/src/test/results/beelinepositive/groupby5.q.out deleted file mode 100644 index 2d30a0c..0000000 --- ql/src/test/results/beelinepositive/groupby5.q.out +++ /dev/null @@ -1,454 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby5.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby5.q ->>> set hive.map.aggr=false; -No rows affected ->>> set hive.groupby.skewindata=true; -No rows affected ->>> ->>> CREATE TABLE dest1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -INSERT OVERWRITE TABLE dest1 -SELECT src.key, sum(substr(src.value,5)) -FROM src -GROUP BY src.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key)) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL src) key))))' -'' -'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' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: rand()' -' type: double' -' tag: -1' -' value expressions:' -' expr: substr(value, 5)' -' type: string' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: partial1' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: double' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby5.dest1' -'' -' 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: groupby5.dest1' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -'' -115 rows selected ->>> ->>> INSERT OVERWRITE TABLE dest1 -SELECT src.key, sum(substr(src.value,5)) -FROM src -GROUP BY src.key; -'_col0','_col1' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','value' -'0','0.0' -'10','10.0' -'100','200.0' -'103','206.0' -'104','208.0' -'105','105.0' -'11','11.0' -'111','111.0' -'113','226.0' -'114','114.0' -'116','116.0' -'118','236.0' -'119','357.0' -'12','24.0' -'120','240.0' -'125','250.0' -'126','126.0' -'128','384.0' -'129','258.0' -'131','131.0' -'133','133.0' -'134','268.0' -'136','136.0' -'137','274.0' -'138','552.0' -'143','143.0' -'145','145.0' -'146','292.0' -'149','298.0' -'15','30.0' -'150','150.0' -'152','304.0' -'153','153.0' -'155','155.0' -'156','156.0' -'157','157.0' -'158','158.0' -'160','160.0' -'162','162.0' -'163','163.0' -'164','328.0' -'165','330.0' -'166','166.0' -'167','501.0' -'168','168.0' -'169','676.0' -'17','17.0' -'170','170.0' -'172','344.0' -'174','348.0' -'175','350.0' -'176','352.0' -'177','177.0' -'178','178.0' -'179','358.0' -'18','36.0' -'180','180.0' -'181','181.0' -'183','183.0' -'186','186.0' -'187','561.0' -'189','189.0' -'19','19.0' -'190','190.0' -'191','382.0' -'192','192.0' -'193','579.0' -'194','194.0' -'195','390.0' -'196','196.0' -'197','394.0' -'199','597.0' -'2','2.0' -'20','20.0' -'200','400.0' -'201','201.0' -'202','202.0' -'203','406.0' -'205','410.0' -'207','414.0' -'208','624.0' -'209','418.0' -'213','426.0' -'214','214.0' -'216','432.0' -'217','434.0' -'218','218.0' -'219','438.0' -'221','442.0' -'222','222.0' -'223','446.0' -'224','448.0' -'226','226.0' -'228','228.0' -'229','458.0' -'230','1150.0' -'233','466.0' -'235','235.0' -'237','474.0' -'238','476.0' -'239','478.0' -'24','48.0' -'241','241.0' -'242','484.0' -'244','244.0' -'247','247.0' -'248','248.0' -'249','249.0' -'252','252.0' -'255','510.0' -'256','512.0' -'257','257.0' -'258','258.0' -'26','52.0' -'260','260.0' -'262','262.0' -'263','263.0' -'265','530.0' -'266','266.0' -'27','27.0' -'272','544.0' -'273','819.0' -'274','274.0' -'275','275.0' -'277','1108.0' -'278','556.0' -'28','28.0' -'280','560.0' -'281','562.0' -'282','564.0' -'283','283.0' -'284','284.0' -'285','285.0' -'286','286.0' -'287','287.0' -'288','576.0' -'289','289.0' -'291','291.0' -'292','292.0' -'296','296.0' -'298','894.0' -'30','30.0' -'302','302.0' -'305','305.0' -'306','306.0' -'307','614.0' -'308','308.0' -'309','618.0' -'310','310.0' -'311','933.0' -'315','315.0' -'316','948.0' -'317','634.0' -'318','954.0' -'321','642.0' -'322','644.0' -'323','323.0' -'325','650.0' -'327','981.0' -'33','33.0' -'331','662.0' -'332','332.0' -'333','666.0' -'335','335.0' -'336','336.0' -'338','338.0' -'339','339.0' -'34','34.0' -'341','341.0' -'342','684.0' -'344','688.0' -'345','345.0' -'348','1740.0' -'35','105.0' -'351','351.0' -'353','706.0' -'356','356.0' -'360','360.0' -'362','362.0' -'364','364.0' -'365','365.0' -'366','366.0' -'367','734.0' -'368','368.0' -'369','1107.0' -'37','74.0' -'373','373.0' -'374','374.0' -'375','375.0' -'377','377.0' -'378','378.0' -'379','379.0' -'382','764.0' -'384','1152.0' -'386','386.0' -'389','389.0' -'392','392.0' -'393','393.0' -'394','394.0' -'395','790.0' -'396','1188.0' -'397','794.0' -'399','798.0' -'4','4.0' -'400','400.0' -'401','2005.0' -'402','402.0' -'403','1209.0' -'404','808.0' -'406','1624.0' -'407','407.0' -'409','1227.0' -'41','41.0' -'411','411.0' -'413','826.0' -'414','828.0' -'417','1251.0' -'418','418.0' -'419','419.0' -'42','84.0' -'421','421.0' -'424','848.0' -'427','427.0' -'429','858.0' -'43','43.0' -'430','1290.0' -'431','1293.0' -'432','432.0' -'435','435.0' -'436','436.0' -'437','437.0' -'438','1314.0' -'439','878.0' -'44','44.0' -'443','443.0' -'444','444.0' -'446','446.0' -'448','448.0' -'449','449.0' -'452','452.0' -'453','453.0' -'454','1362.0' -'455','455.0' -'457','457.0' -'458','916.0' -'459','918.0' -'460','460.0' -'462','924.0' -'463','926.0' -'466','1398.0' -'467','467.0' -'468','1872.0' -'469','2345.0' -'47','47.0' -'470','470.0' -'472','472.0' -'475','475.0' -'477','477.0' -'478','956.0' -'479','479.0' -'480','1440.0' -'481','481.0' -'482','482.0' -'483','483.0' -'484','484.0' -'485','485.0' -'487','487.0' -'489','1956.0' -'490','490.0' -'491','491.0' -'492','984.0' -'493','493.0' -'494','494.0' -'495','495.0' -'496','496.0' -'497','497.0' -'498','1494.0' -'5','15.0' -'51','102.0' -'53','53.0' -'54','54.0' -'57','57.0' -'58','116.0' -'64','64.0' -'65','65.0' -'66','66.0' -'67','134.0' -'69','69.0' -'70','210.0' -'72','144.0' -'74','74.0' -'76','152.0' -'77','77.0' -'78','78.0' -'8','8.0' -'80','80.0' -'82','82.0' -'83','166.0' -'84','168.0' -'85','85.0' -'86','86.0' -'87','87.0' -'9','9.0' -'90','270.0' -'92','92.0' -'95','190.0' -'96','96.0' -'97','194.0' -'98','196.0' -309 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/groupby5_map.q.out ql/src/test/results/beelinepositive/groupby5_map.q.out deleted file mode 100644 index 45fa77e..0000000 --- ql/src/test/results/beelinepositive/groupby5_map.q.out +++ /dev/null @@ -1,98 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby5_map.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby5_map.q ->>> set hive.map.aggr=true; -No rows affected ->>> set hive.groupby.skewindata=false; -No rows affected ->>> set mapred.reduce.tasks=31; -No rows affected ->>> ->>> CREATE TABLE dest1(key INT) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src INSERT OVERWRITE TABLE dest1 SELECT sum(src.key); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION sum (. (TOK_TABLE_OR_COL src) key))))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: sum(key)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: double' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: double' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby5_map.dest1' -'' -' 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: groupby5_map.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -72 rows selected ->>> ->>> FROM src INSERT OVERWRITE TABLE dest1 SELECT sum(src.key); -'_col0' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key' -'130091' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/groupby5_map_skew.q.out ql/src/test/results/beelinepositive/groupby5_map_skew.q.out deleted file mode 100644 index c0d9f9e..0000000 --- ql/src/test/results/beelinepositive/groupby5_map_skew.q.out +++ /dev/null @@ -1,98 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby5_map_skew.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby5_map_skew.q ->>> set hive.map.aggr=true; -No rows affected ->>> set hive.groupby.skewindata=true; -No rows affected ->>> set mapred.reduce.tasks=31; -No rows affected ->>> ->>> CREATE TABLE dest1(key INT) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src INSERT OVERWRITE TABLE dest1 SELECT sum(src.key); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION sum (. (TOK_TABLE_OR_COL src) key))))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: sum(key)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: double' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' mode: final' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: double' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby5_map_skew.dest1' -'' -' 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: groupby5_map_skew.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -72 rows selected ->>> ->>> FROM src INSERT OVERWRITE TABLE dest1 SELECT sum(src.key); -'_col0' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key' -'130091' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/groupby5_noskew.q.out ql/src/test/results/beelinepositive/groupby5_noskew.q.out deleted file mode 100644 index d689cb3..0000000 --- ql/src/test/results/beelinepositive/groupby5_noskew.q.out +++ /dev/null @@ -1,423 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby5_noskew.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby5_noskew.q ->>> set hive.map.aggr=false; -No rows affected ->>> ->>> set hive.groupby.skewindata=false; -No rows affected ->>> set mapred.reduce.tasks=31; -No rows affected ->>> ->>> CREATE TABLE dest1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -INSERT OVERWRITE TABLE dest1 -SELECT src.key, sum(substr(src.value,5)) -FROM src -GROUP BY src.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key)) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL src) key))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: -1' -' value expressions:' -' expr: substr(value, 5)' -' type: string' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: complete' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby5_noskew.dest1' -'' -' 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: groupby5_noskew.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -81 rows selected ->>> ->>> INSERT OVERWRITE TABLE dest1 -SELECT src.key, sum(substr(src.value,5)) -FROM src -GROUP BY src.key; -'_col0','_col1' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','value' -'0','0.0' -'10','10.0' -'100','200.0' -'103','206.0' -'104','208.0' -'105','105.0' -'11','11.0' -'111','111.0' -'113','226.0' -'114','114.0' -'116','116.0' -'118','236.0' -'119','357.0' -'12','24.0' -'120','240.0' -'125','250.0' -'126','126.0' -'128','384.0' -'129','258.0' -'131','131.0' -'133','133.0' -'134','268.0' -'136','136.0' -'137','274.0' -'138','552.0' -'143','143.0' -'145','145.0' -'146','292.0' -'149','298.0' -'15','30.0' -'150','150.0' -'152','304.0' -'153','153.0' -'155','155.0' -'156','156.0' -'157','157.0' -'158','158.0' -'160','160.0' -'162','162.0' -'163','163.0' -'164','328.0' -'165','330.0' -'166','166.0' -'167','501.0' -'168','168.0' -'169','676.0' -'17','17.0' -'170','170.0' -'172','344.0' -'174','348.0' -'175','350.0' -'176','352.0' -'177','177.0' -'178','178.0' -'179','358.0' -'18','36.0' -'180','180.0' -'181','181.0' -'183','183.0' -'186','186.0' -'187','561.0' -'189','189.0' -'19','19.0' -'190','190.0' -'191','382.0' -'192','192.0' -'193','579.0' -'194','194.0' -'195','390.0' -'196','196.0' -'197','394.0' -'199','597.0' -'2','2.0' -'20','20.0' -'200','400.0' -'201','201.0' -'202','202.0' -'203','406.0' -'205','410.0' -'207','414.0' -'208','624.0' -'209','418.0' -'213','426.0' -'214','214.0' -'216','432.0' -'217','434.0' -'218','218.0' -'219','438.0' -'221','442.0' -'222','222.0' -'223','446.0' -'224','448.0' -'226','226.0' -'228','228.0' -'229','458.0' -'230','1150.0' -'233','466.0' -'235','235.0' -'237','474.0' -'238','476.0' -'239','478.0' -'24','48.0' -'241','241.0' -'242','484.0' -'244','244.0' -'247','247.0' -'248','248.0' -'249','249.0' -'252','252.0' -'255','510.0' -'256','512.0' -'257','257.0' -'258','258.0' -'26','52.0' -'260','260.0' -'262','262.0' -'263','263.0' -'265','530.0' -'266','266.0' -'27','27.0' -'272','544.0' -'273','819.0' -'274','274.0' -'275','275.0' -'277','1108.0' -'278','556.0' -'28','28.0' -'280','560.0' -'281','562.0' -'282','564.0' -'283','283.0' -'284','284.0' -'285','285.0' -'286','286.0' -'287','287.0' -'288','576.0' -'289','289.0' -'291','291.0' -'292','292.0' -'296','296.0' -'298','894.0' -'30','30.0' -'302','302.0' -'305','305.0' -'306','306.0' -'307','614.0' -'308','308.0' -'309','618.0' -'310','310.0' -'311','933.0' -'315','315.0' -'316','948.0' -'317','634.0' -'318','954.0' -'321','642.0' -'322','644.0' -'323','323.0' -'325','650.0' -'327','981.0' -'33','33.0' -'331','662.0' -'332','332.0' -'333','666.0' -'335','335.0' -'336','336.0' -'338','338.0' -'339','339.0' -'34','34.0' -'341','341.0' -'342','684.0' -'344','688.0' -'345','345.0' -'348','1740.0' -'35','105.0' -'351','351.0' -'353','706.0' -'356','356.0' -'360','360.0' -'362','362.0' -'364','364.0' -'365','365.0' -'366','366.0' -'367','734.0' -'368','368.0' -'369','1107.0' -'37','74.0' -'373','373.0' -'374','374.0' -'375','375.0' -'377','377.0' -'378','378.0' -'379','379.0' -'382','764.0' -'384','1152.0' -'386','386.0' -'389','389.0' -'392','392.0' -'393','393.0' -'394','394.0' -'395','790.0' -'396','1188.0' -'397','794.0' -'399','798.0' -'4','4.0' -'400','400.0' -'401','2005.0' -'402','402.0' -'403','1209.0' -'404','808.0' -'406','1624.0' -'407','407.0' -'409','1227.0' -'41','41.0' -'411','411.0' -'413','826.0' -'414','828.0' -'417','1251.0' -'418','418.0' -'419','419.0' -'42','84.0' -'421','421.0' -'424','848.0' -'427','427.0' -'429','858.0' -'43','43.0' -'430','1290.0' -'431','1293.0' -'432','432.0' -'435','435.0' -'436','436.0' -'437','437.0' -'438','1314.0' -'439','878.0' -'44','44.0' -'443','443.0' -'444','444.0' -'446','446.0' -'448','448.0' -'449','449.0' -'452','452.0' -'453','453.0' -'454','1362.0' -'455','455.0' -'457','457.0' -'458','916.0' -'459','918.0' -'460','460.0' -'462','924.0' -'463','926.0' -'466','1398.0' -'467','467.0' -'468','1872.0' -'469','2345.0' -'47','47.0' -'470','470.0' -'472','472.0' -'475','475.0' -'477','477.0' -'478','956.0' -'479','479.0' -'480','1440.0' -'481','481.0' -'482','482.0' -'483','483.0' -'484','484.0' -'485','485.0' -'487','487.0' -'489','1956.0' -'490','490.0' -'491','491.0' -'492','984.0' -'493','493.0' -'494','494.0' -'495','495.0' -'496','496.0' -'497','497.0' -'498','1494.0' -'5','15.0' -'51','102.0' -'53','53.0' -'54','54.0' -'57','57.0' -'58','116.0' -'64','64.0' -'65','65.0' -'66','66.0' -'67','134.0' -'69','69.0' -'70','210.0' -'72','144.0' -'74','74.0' -'76','152.0' -'77','77.0' -'78','78.0' -'8','8.0' -'80','80.0' -'82','82.0' -'83','166.0' -'84','168.0' -'85','85.0' -'86','86.0' -'87','87.0' -'9','9.0' -'90','270.0' -'92','92.0' -'95','190.0' -'96','96.0' -'97','194.0' -'98','196.0' -309 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/groupby6.q.out ql/src/test/results/beelinepositive/groupby6.q.out deleted file mode 100644 index 1084108..0000000 --- ql/src/test/results/beelinepositive/groupby6.q.out +++ /dev/null @@ -1,131 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby6.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby6.q ->>> set hive.map.aggr=false; -No rows affected ->>> set hive.groupby.skewindata=true; -No rows affected ->>> ->>> CREATE TABLE dest1(c1 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest1 SELECT DISTINCT substr(src.value,5,1); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECTDI (TOK_SELEXPR (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5 1)))))' -'' -'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' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: value' -' type: string' -' outputColumnNames: value' -' Reduce Output Operator' -' key expressions:' -' expr: substr(value, 5, 1)' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: rand()' -' type: double' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: partial1' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: final' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby6.dest1' -'' -' 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: groupby6.dest1' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -'' -94 rows selected ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 SELECT DISTINCT substr(src.value,5,1); -'_c0' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'c1' -'0' -'1' -'2' -'3' -'4' -'5' -'6' -'7' -'8' -'9' -10 rows selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/groupby6_map.q.out ql/src/test/results/beelinepositive/groupby6_map.q.out deleted file mode 100644 index e473e1b..0000000 --- ql/src/test/results/beelinepositive/groupby6_map.q.out +++ /dev/null @@ -1,111 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby6_map.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby6_map.q ->>> set hive.map.aggr=true; -No rows affected ->>> set hive.groupby.skewindata=false; -No rows affected ->>> set mapred.reduce.tasks=31; -No rows affected ->>> ->>> CREATE TABLE dest1(c1 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest1 SELECT DISTINCT substr(src.value,5,1); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECTDI (TOK_SELEXPR (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5 1)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: value' -' type: string' -' outputColumnNames: value' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: substr(value, 5, 1)' -' type: string' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby6_map.dest1' -'' -' 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: groupby6_map.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -72 rows selected ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 SELECT DISTINCT substr(src.value,5,1); -'_c0' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'c1' -'0' -'1' -'2' -'3' -'4' -'5' -'6' -'7' -'8' -'9' -10 rows selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/groupby6_map_skew.q.out ql/src/test/results/beelinepositive/groupby6_map_skew.q.out deleted file mode 100644 index bce484d..0000000 --- ql/src/test/results/beelinepositive/groupby6_map_skew.q.out +++ /dev/null @@ -1,139 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby6_map_skew.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby6_map_skew.q ->>> set hive.map.aggr=true; -No rows affected ->>> set hive.groupby.skewindata=true; -No rows affected ->>> set mapred.reduce.tasks=31; -No rows affected ->>> ->>> CREATE TABLE dest1(c1 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest1 SELECT DISTINCT substr(src.value,5,1); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECTDI (TOK_SELEXPR (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5 1)))))' -'' -'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' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: value' -' type: string' -' outputColumnNames: value' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: substr(value, 5, 1)' -' type: string' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: rand()' -' type: double' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: partials' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: final' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby6_map_skew.dest1' -'' -' 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: groupby6_map_skew.dest1' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -100 rows selected ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 SELECT DISTINCT substr(src.value,5,1); -'_c0' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'c1' -'0' -'1' -'2' -'3' -'4' -'5' -'6' -'7' -'8' -'9' -10 rows selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/groupby6_noskew.q.out ql/src/test/results/beelinepositive/groupby6_noskew.q.out deleted file mode 100644 index b6bd5a4..0000000 --- ql/src/test/results/beelinepositive/groupby6_noskew.q.out +++ /dev/null @@ -1,105 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby6_noskew.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby6_noskew.q ->>> set hive.map.aggr=false; -No rows affected ->>> ->>> set hive.groupby.skewindata=false; -No rows affected ->>> set mapred.reduce.tasks=31; -No rows affected ->>> ->>> CREATE TABLE dest1(c1 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest1 SELECT DISTINCT substr(src.value,5,1); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECTDI (TOK_SELEXPR (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5 1)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: value' -' type: string' -' outputColumnNames: value' -' Reduce Output Operator' -' key expressions:' -' expr: substr(value, 5, 1)' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: substr(value, 5, 1)' -' type: string' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: complete' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby6_noskew.dest1' -'' -' 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: groupby6_noskew.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -65 rows selected ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 SELECT DISTINCT substr(src.value,5,1); -'_c0' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'c1' -'0' -'1' -'2' -'3' -'4' -'5' -'6' -'7' -'8' -'9' -10 rows selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/groupby7.q.out ql/src/test/results/beelinepositive/groupby7.q.out deleted file mode 100644 index 23e2be3..0000000 --- ql/src/test/results/beelinepositive/groupby7.q.out +++ /dev/null @@ -1,648 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby7.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby7.q ->>> set hive.map.aggr=false; -No rows affected ->>> set hive.groupby.skewindata=true; -No rows affected ->>> ->>> CREATE TABLE DEST1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE DEST2(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> SET hive.exec.compress.intermediate=true; -No rows affected ->>> SET hive.exec.compress.output=true; -No rows affected ->>> ->>> FROM SRC -INSERT OVERWRITE TABLE DEST1 SELECT SRC.key, sum(SUBSTR(SRC.value,5)) GROUP BY SRC.key -INSERT OVERWRITE TABLE DEST2 SELECT SRC.key, sum(SUBSTR(SRC.value,5)) GROUP BY SRC.key; -'_col0','_col1' -No rows selected ->>> ->>> SELECT DEST1.* FROM DEST1; -'key','value' -'0','0.0' -'10','10.0' -'100','200.0' -'103','206.0' -'104','208.0' -'105','105.0' -'11','11.0' -'111','111.0' -'113','226.0' -'114','114.0' -'116','116.0' -'118','236.0' -'119','357.0' -'12','24.0' -'120','240.0' -'125','250.0' -'126','126.0' -'128','384.0' -'129','258.0' -'131','131.0' -'133','133.0' -'134','268.0' -'136','136.0' -'137','274.0' -'138','552.0' -'143','143.0' -'145','145.0' -'146','292.0' -'149','298.0' -'15','30.0' -'150','150.0' -'152','304.0' -'153','153.0' -'155','155.0' -'156','156.0' -'157','157.0' -'158','158.0' -'160','160.0' -'162','162.0' -'163','163.0' -'164','328.0' -'165','330.0' -'166','166.0' -'167','501.0' -'168','168.0' -'169','676.0' -'17','17.0' -'170','170.0' -'172','344.0' -'174','348.0' -'175','350.0' -'176','352.0' -'177','177.0' -'178','178.0' -'179','358.0' -'18','36.0' -'180','180.0' -'181','181.0' -'183','183.0' -'186','186.0' -'187','561.0' -'189','189.0' -'19','19.0' -'190','190.0' -'191','382.0' -'192','192.0' -'193','579.0' -'194','194.0' -'195','390.0' -'196','196.0' -'197','394.0' -'199','597.0' -'2','2.0' -'20','20.0' -'200','400.0' -'201','201.0' -'202','202.0' -'203','406.0' -'205','410.0' -'207','414.0' -'208','624.0' -'209','418.0' -'213','426.0' -'214','214.0' -'216','432.0' -'217','434.0' -'218','218.0' -'219','438.0' -'221','442.0' -'222','222.0' -'223','446.0' -'224','448.0' -'226','226.0' -'228','228.0' -'229','458.0' -'230','1150.0' -'233','466.0' -'235','235.0' -'237','474.0' -'238','476.0' -'239','478.0' -'24','48.0' -'241','241.0' -'242','484.0' -'244','244.0' -'247','247.0' -'248','248.0' -'249','249.0' -'252','252.0' -'255','510.0' -'256','512.0' -'257','257.0' -'258','258.0' -'26','52.0' -'260','260.0' -'262','262.0' -'263','263.0' -'265','530.0' -'266','266.0' -'27','27.0' -'272','544.0' -'273','819.0' -'274','274.0' -'275','275.0' -'277','1108.0' -'278','556.0' -'28','28.0' -'280','560.0' -'281','562.0' -'282','564.0' -'283','283.0' -'284','284.0' -'285','285.0' -'286','286.0' -'287','287.0' -'288','576.0' -'289','289.0' -'291','291.0' -'292','292.0' -'296','296.0' -'298','894.0' -'30','30.0' -'302','302.0' -'305','305.0' -'306','306.0' -'307','614.0' -'308','308.0' -'309','618.0' -'310','310.0' -'311','933.0' -'315','315.0' -'316','948.0' -'317','634.0' -'318','954.0' -'321','642.0' -'322','644.0' -'323','323.0' -'325','650.0' -'327','981.0' -'33','33.0' -'331','662.0' -'332','332.0' -'333','666.0' -'335','335.0' -'336','336.0' -'338','338.0' -'339','339.0' -'34','34.0' -'341','341.0' -'342','684.0' -'344','688.0' -'345','345.0' -'348','1740.0' -'35','105.0' -'351','351.0' -'353','706.0' -'356','356.0' -'360','360.0' -'362','362.0' -'364','364.0' -'365','365.0' -'366','366.0' -'367','734.0' -'368','368.0' -'369','1107.0' -'37','74.0' -'373','373.0' -'374','374.0' -'375','375.0' -'377','377.0' -'378','378.0' -'379','379.0' -'382','764.0' -'384','1152.0' -'386','386.0' -'389','389.0' -'392','392.0' -'393','393.0' -'394','394.0' -'395','790.0' -'396','1188.0' -'397','794.0' -'399','798.0' -'4','4.0' -'400','400.0' -'401','2005.0' -'402','402.0' -'403','1209.0' -'404','808.0' -'406','1624.0' -'407','407.0' -'409','1227.0' -'41','41.0' -'411','411.0' -'413','826.0' -'414','828.0' -'417','1251.0' -'418','418.0' -'419','419.0' -'42','84.0' -'421','421.0' -'424','848.0' -'427','427.0' -'429','858.0' -'43','43.0' -'430','1290.0' -'431','1293.0' -'432','432.0' -'435','435.0' -'436','436.0' -'437','437.0' -'438','1314.0' -'439','878.0' -'44','44.0' -'443','443.0' -'444','444.0' -'446','446.0' -'448','448.0' -'449','449.0' -'452','452.0' -'453','453.0' -'454','1362.0' -'455','455.0' -'457','457.0' -'458','916.0' -'459','918.0' -'460','460.0' -'462','924.0' -'463','926.0' -'466','1398.0' -'467','467.0' -'468','1872.0' -'469','2345.0' -'47','47.0' -'470','470.0' -'472','472.0' -'475','475.0' -'477','477.0' -'478','956.0' -'479','479.0' -'480','1440.0' -'481','481.0' -'482','482.0' -'483','483.0' -'484','484.0' -'485','485.0' -'487','487.0' -'489','1956.0' -'490','490.0' -'491','491.0' -'492','984.0' -'493','493.0' -'494','494.0' -'495','495.0' -'496','496.0' -'497','497.0' -'498','1494.0' -'5','15.0' -'51','102.0' -'53','53.0' -'54','54.0' -'57','57.0' -'58','116.0' -'64','64.0' -'65','65.0' -'66','66.0' -'67','134.0' -'69','69.0' -'70','210.0' -'72','144.0' -'74','74.0' -'76','152.0' -'77','77.0' -'78','78.0' -'8','8.0' -'80','80.0' -'82','82.0' -'83','166.0' -'84','168.0' -'85','85.0' -'86','86.0' -'87','87.0' -'9','9.0' -'90','270.0' -'92','92.0' -'95','190.0' -'96','96.0' -'97','194.0' -'98','196.0' -309 rows selected ->>> SELECT DEST2.* FROM DEST2; -'key','value' -'0','0.0' -'10','10.0' -'100','200.0' -'103','206.0' -'104','208.0' -'105','105.0' -'11','11.0' -'111','111.0' -'113','226.0' -'114','114.0' -'116','116.0' -'118','236.0' -'119','357.0' -'12','24.0' -'120','240.0' -'125','250.0' -'126','126.0' -'128','384.0' -'129','258.0' -'131','131.0' -'133','133.0' -'134','268.0' -'136','136.0' -'137','274.0' -'138','552.0' -'143','143.0' -'145','145.0' -'146','292.0' -'149','298.0' -'15','30.0' -'150','150.0' -'152','304.0' -'153','153.0' -'155','155.0' -'156','156.0' -'157','157.0' -'158','158.0' -'160','160.0' -'162','162.0' -'163','163.0' -'164','328.0' -'165','330.0' -'166','166.0' -'167','501.0' -'168','168.0' -'169','676.0' -'17','17.0' -'170','170.0' -'172','344.0' -'174','348.0' -'175','350.0' -'176','352.0' -'177','177.0' -'178','178.0' -'179','358.0' -'18','36.0' -'180','180.0' -'181','181.0' -'183','183.0' -'186','186.0' -'187','561.0' -'189','189.0' -'19','19.0' -'190','190.0' -'191','382.0' -'192','192.0' -'193','579.0' -'194','194.0' -'195','390.0' -'196','196.0' -'197','394.0' -'199','597.0' -'2','2.0' -'20','20.0' -'200','400.0' -'201','201.0' -'202','202.0' -'203','406.0' -'205','410.0' -'207','414.0' -'208','624.0' -'209','418.0' -'213','426.0' -'214','214.0' -'216','432.0' -'217','434.0' -'218','218.0' -'219','438.0' -'221','442.0' -'222','222.0' -'223','446.0' -'224','448.0' -'226','226.0' -'228','228.0' -'229','458.0' -'230','1150.0' -'233','466.0' -'235','235.0' -'237','474.0' -'238','476.0' -'239','478.0' -'24','48.0' -'241','241.0' -'242','484.0' -'244','244.0' -'247','247.0' -'248','248.0' -'249','249.0' -'252','252.0' -'255','510.0' -'256','512.0' -'257','257.0' -'258','258.0' -'26','52.0' -'260','260.0' -'262','262.0' -'263','263.0' -'265','530.0' -'266','266.0' -'27','27.0' -'272','544.0' -'273','819.0' -'274','274.0' -'275','275.0' -'277','1108.0' -'278','556.0' -'28','28.0' -'280','560.0' -'281','562.0' -'282','564.0' -'283','283.0' -'284','284.0' -'285','285.0' -'286','286.0' -'287','287.0' -'288','576.0' -'289','289.0' -'291','291.0' -'292','292.0' -'296','296.0' -'298','894.0' -'30','30.0' -'302','302.0' -'305','305.0' -'306','306.0' -'307','614.0' -'308','308.0' -'309','618.0' -'310','310.0' -'311','933.0' -'315','315.0' -'316','948.0' -'317','634.0' -'318','954.0' -'321','642.0' -'322','644.0' -'323','323.0' -'325','650.0' -'327','981.0' -'33','33.0' -'331','662.0' -'332','332.0' -'333','666.0' -'335','335.0' -'336','336.0' -'338','338.0' -'339','339.0' -'34','34.0' -'341','341.0' -'342','684.0' -'344','688.0' -'345','345.0' -'348','1740.0' -'35','105.0' -'351','351.0' -'353','706.0' -'356','356.0' -'360','360.0' -'362','362.0' -'364','364.0' -'365','365.0' -'366','366.0' -'367','734.0' -'368','368.0' -'369','1107.0' -'37','74.0' -'373','373.0' -'374','374.0' -'375','375.0' -'377','377.0' -'378','378.0' -'379','379.0' -'382','764.0' -'384','1152.0' -'386','386.0' -'389','389.0' -'392','392.0' -'393','393.0' -'394','394.0' -'395','790.0' -'396','1188.0' -'397','794.0' -'399','798.0' -'4','4.0' -'400','400.0' -'401','2005.0' -'402','402.0' -'403','1209.0' -'404','808.0' -'406','1624.0' -'407','407.0' -'409','1227.0' -'41','41.0' -'411','411.0' -'413','826.0' -'414','828.0' -'417','1251.0' -'418','418.0' -'419','419.0' -'42','84.0' -'421','421.0' -'424','848.0' -'427','427.0' -'429','858.0' -'43','43.0' -'430','1290.0' -'431','1293.0' -'432','432.0' -'435','435.0' -'436','436.0' -'437','437.0' -'438','1314.0' -'439','878.0' -'44','44.0' -'443','443.0' -'444','444.0' -'446','446.0' -'448','448.0' -'449','449.0' -'452','452.0' -'453','453.0' -'454','1362.0' -'455','455.0' -'457','457.0' -'458','916.0' -'459','918.0' -'460','460.0' -'462','924.0' -'463','926.0' -'466','1398.0' -'467','467.0' -'468','1872.0' -'469','2345.0' -'47','47.0' -'470','470.0' -'472','472.0' -'475','475.0' -'477','477.0' -'478','956.0' -'479','479.0' -'480','1440.0' -'481','481.0' -'482','482.0' -'483','483.0' -'484','484.0' -'485','485.0' -'487','487.0' -'489','1956.0' -'490','490.0' -'491','491.0' -'492','984.0' -'493','493.0' -'494','494.0' -'495','495.0' -'496','496.0' -'497','497.0' -'498','1494.0' -'5','15.0' -'51','102.0' -'53','53.0' -'54','54.0' -'57','57.0' -'58','116.0' -'64','64.0' -'65','65.0' -'66','66.0' -'67','134.0' -'69','69.0' -'70','210.0' -'72','144.0' -'74','74.0' -'76','152.0' -'77','77.0' -'78','78.0' -'8','8.0' -'80','80.0' -'82','82.0' -'83','166.0' -'84','168.0' -'85','85.0' -'86','86.0' -'87','87.0' -'9','9.0' -'90','270.0' -'92','92.0' -'95','190.0' -'96','96.0' -'97','194.0' -'98','196.0' -309 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/groupby7_map.q.out ql/src/test/results/beelinepositive/groupby7_map.q.out deleted file mode 100644 index 7674cc4..0000000 --- ql/src/test/results/beelinepositive/groupby7_map.q.out +++ /dev/null @@ -1,836 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby7_map.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby7_map.q ->>> set hive.map.aggr=true; -No rows affected ->>> set hive.multigroupby.singlereducer=false; -No rows affected ->>> set hive.groupby.skewindata=false; -No rows affected ->>> set mapred.reduce.tasks=31; -No rows affected ->>> ->>> CREATE TABLE DEST1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE DEST2(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> SET hive.exec.compress.intermediate=true; -No rows affected ->>> SET hive.exec.compress.output=true; -No rows affected ->>> ->>> EXPLAIN -FROM SRC -INSERT OVERWRITE TABLE DEST1 SELECT SRC.key, sum(SUBSTR(SRC.value,5)) GROUP BY SRC.key -INSERT OVERWRITE TABLE DEST2 SELECT SRC.key, sum(SUBSTR(SRC.value,5)) GROUP BY SRC.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME SRC))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL SRC) key)) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION SUBSTR (. (TOK_TABLE_OR_COL SRC) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL SRC) key))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST2))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL SRC) key)) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION SUBSTR (. (TOK_TABLE_OR_COL SRC) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL SRC) key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-0 depends on stages: Stage-2' -' Stage-3 depends on stages: Stage-0' -' Stage-4 depends on stages: Stage-2' -' Stage-1 depends on stages: Stage-4' -' Stage-5 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: sum(substr(value, 5))' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: double' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: sum(substr(value, 5))' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: true' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: true' -' GlobalTableId: 1' -' 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: groupby7_map.dest1' -'' -' 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: groupby7_map.dest1' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: double' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: true' -' GlobalTableId: 2' -' 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: groupby7_map.dest2' -'' -' Stage: Stage-1' -' 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: groupby7_map.dest2' -'' -' Stage: Stage-5' -' Stats-Aggr Operator' -'' -'' -177 rows selected ->>> ->>> FROM SRC -INSERT OVERWRITE TABLE DEST1 SELECT SRC.key, sum(SUBSTR(SRC.value,5)) GROUP BY SRC.key -INSERT OVERWRITE TABLE DEST2 SELECT SRC.key, sum(SUBSTR(SRC.value,5)) GROUP BY SRC.key; -'_col0','_col1' -No rows selected ->>> ->>> SELECT DEST1.* FROM DEST1; -'key','value' -'0','0.0' -'10','10.0' -'100','200.0' -'103','206.0' -'104','208.0' -'105','105.0' -'11','11.0' -'111','111.0' -'113','226.0' -'114','114.0' -'116','116.0' -'118','236.0' -'119','357.0' -'12','24.0' -'120','240.0' -'125','250.0' -'126','126.0' -'128','384.0' -'129','258.0' -'131','131.0' -'133','133.0' -'134','268.0' -'136','136.0' -'137','274.0' -'138','552.0' -'143','143.0' -'145','145.0' -'146','292.0' -'149','298.0' -'15','30.0' -'150','150.0' -'152','304.0' -'153','153.0' -'155','155.0' -'156','156.0' -'157','157.0' -'158','158.0' -'160','160.0' -'162','162.0' -'163','163.0' -'164','328.0' -'165','330.0' -'166','166.0' -'167','501.0' -'168','168.0' -'169','676.0' -'17','17.0' -'170','170.0' -'172','344.0' -'174','348.0' -'175','350.0' -'176','352.0' -'177','177.0' -'178','178.0' -'179','358.0' -'18','36.0' -'180','180.0' -'181','181.0' -'183','183.0' -'186','186.0' -'187','561.0' -'189','189.0' -'19','19.0' -'190','190.0' -'191','382.0' -'192','192.0' -'193','579.0' -'194','194.0' -'195','390.0' -'196','196.0' -'197','394.0' -'199','597.0' -'2','2.0' -'20','20.0' -'200','400.0' -'201','201.0' -'202','202.0' -'203','406.0' -'205','410.0' -'207','414.0' -'208','624.0' -'209','418.0' -'213','426.0' -'214','214.0' -'216','432.0' -'217','434.0' -'218','218.0' -'219','438.0' -'221','442.0' -'222','222.0' -'223','446.0' -'224','448.0' -'226','226.0' -'228','228.0' -'229','458.0' -'230','1150.0' -'233','466.0' -'235','235.0' -'237','474.0' -'238','476.0' -'239','478.0' -'24','48.0' -'241','241.0' -'242','484.0' -'244','244.0' -'247','247.0' -'248','248.0' -'249','249.0' -'252','252.0' -'255','510.0' -'256','512.0' -'257','257.0' -'258','258.0' -'26','52.0' -'260','260.0' -'262','262.0' -'263','263.0' -'265','530.0' -'266','266.0' -'27','27.0' -'272','544.0' -'273','819.0' -'274','274.0' -'275','275.0' -'277','1108.0' -'278','556.0' -'28','28.0' -'280','560.0' -'281','562.0' -'282','564.0' -'283','283.0' -'284','284.0' -'285','285.0' -'286','286.0' -'287','287.0' -'288','576.0' -'289','289.0' -'291','291.0' -'292','292.0' -'296','296.0' -'298','894.0' -'30','30.0' -'302','302.0' -'305','305.0' -'306','306.0' -'307','614.0' -'308','308.0' -'309','618.0' -'310','310.0' -'311','933.0' -'315','315.0' -'316','948.0' -'317','634.0' -'318','954.0' -'321','642.0' -'322','644.0' -'323','323.0' -'325','650.0' -'327','981.0' -'33','33.0' -'331','662.0' -'332','332.0' -'333','666.0' -'335','335.0' -'336','336.0' -'338','338.0' -'339','339.0' -'34','34.0' -'341','341.0' -'342','684.0' -'344','688.0' -'345','345.0' -'348','1740.0' -'35','105.0' -'351','351.0' -'353','706.0' -'356','356.0' -'360','360.0' -'362','362.0' -'364','364.0' -'365','365.0' -'366','366.0' -'367','734.0' -'368','368.0' -'369','1107.0' -'37','74.0' -'373','373.0' -'374','374.0' -'375','375.0' -'377','377.0' -'378','378.0' -'379','379.0' -'382','764.0' -'384','1152.0' -'386','386.0' -'389','389.0' -'392','392.0' -'393','393.0' -'394','394.0' -'395','790.0' -'396','1188.0' -'397','794.0' -'399','798.0' -'4','4.0' -'400','400.0' -'401','2005.0' -'402','402.0' -'403','1209.0' -'404','808.0' -'406','1624.0' -'407','407.0' -'409','1227.0' -'41','41.0' -'411','411.0' -'413','826.0' -'414','828.0' -'417','1251.0' -'418','418.0' -'419','419.0' -'42','84.0' -'421','421.0' -'424','848.0' -'427','427.0' -'429','858.0' -'43','43.0' -'430','1290.0' -'431','1293.0' -'432','432.0' -'435','435.0' -'436','436.0' -'437','437.0' -'438','1314.0' -'439','878.0' -'44','44.0' -'443','443.0' -'444','444.0' -'446','446.0' -'448','448.0' -'449','449.0' -'452','452.0' -'453','453.0' -'454','1362.0' -'455','455.0' -'457','457.0' -'458','916.0' -'459','918.0' -'460','460.0' -'462','924.0' -'463','926.0' -'466','1398.0' -'467','467.0' -'468','1872.0' -'469','2345.0' -'47','47.0' -'470','470.0' -'472','472.0' -'475','475.0' -'477','477.0' -'478','956.0' -'479','479.0' -'480','1440.0' -'481','481.0' -'482','482.0' -'483','483.0' -'484','484.0' -'485','485.0' -'487','487.0' -'489','1956.0' -'490','490.0' -'491','491.0' -'492','984.0' -'493','493.0' -'494','494.0' -'495','495.0' -'496','496.0' -'497','497.0' -'498','1494.0' -'5','15.0' -'51','102.0' -'53','53.0' -'54','54.0' -'57','57.0' -'58','116.0' -'64','64.0' -'65','65.0' -'66','66.0' -'67','134.0' -'69','69.0' -'70','210.0' -'72','144.0' -'74','74.0' -'76','152.0' -'77','77.0' -'78','78.0' -'8','8.0' -'80','80.0' -'82','82.0' -'83','166.0' -'84','168.0' -'85','85.0' -'86','86.0' -'87','87.0' -'9','9.0' -'90','270.0' -'92','92.0' -'95','190.0' -'96','96.0' -'97','194.0' -'98','196.0' -309 rows selected ->>> SELECT DEST2.* FROM DEST2; -'key','value' -'0','0.0' -'10','10.0' -'100','200.0' -'103','206.0' -'104','208.0' -'105','105.0' -'11','11.0' -'111','111.0' -'113','226.0' -'114','114.0' -'116','116.0' -'118','236.0' -'119','357.0' -'12','24.0' -'120','240.0' -'125','250.0' -'126','126.0' -'128','384.0' -'129','258.0' -'131','131.0' -'133','133.0' -'134','268.0' -'136','136.0' -'137','274.0' -'138','552.0' -'143','143.0' -'145','145.0' -'146','292.0' -'149','298.0' -'15','30.0' -'150','150.0' -'152','304.0' -'153','153.0' -'155','155.0' -'156','156.0' -'157','157.0' -'158','158.0' -'160','160.0' -'162','162.0' -'163','163.0' -'164','328.0' -'165','330.0' -'166','166.0' -'167','501.0' -'168','168.0' -'169','676.0' -'17','17.0' -'170','170.0' -'172','344.0' -'174','348.0' -'175','350.0' -'176','352.0' -'177','177.0' -'178','178.0' -'179','358.0' -'18','36.0' -'180','180.0' -'181','181.0' -'183','183.0' -'186','186.0' -'187','561.0' -'189','189.0' -'19','19.0' -'190','190.0' -'191','382.0' -'192','192.0' -'193','579.0' -'194','194.0' -'195','390.0' -'196','196.0' -'197','394.0' -'199','597.0' -'2','2.0' -'20','20.0' -'200','400.0' -'201','201.0' -'202','202.0' -'203','406.0' -'205','410.0' -'207','414.0' -'208','624.0' -'209','418.0' -'213','426.0' -'214','214.0' -'216','432.0' -'217','434.0' -'218','218.0' -'219','438.0' -'221','442.0' -'222','222.0' -'223','446.0' -'224','448.0' -'226','226.0' -'228','228.0' -'229','458.0' -'230','1150.0' -'233','466.0' -'235','235.0' -'237','474.0' -'238','476.0' -'239','478.0' -'24','48.0' -'241','241.0' -'242','484.0' -'244','244.0' -'247','247.0' -'248','248.0' -'249','249.0' -'252','252.0' -'255','510.0' -'256','512.0' -'257','257.0' -'258','258.0' -'26','52.0' -'260','260.0' -'262','262.0' -'263','263.0' -'265','530.0' -'266','266.0' -'27','27.0' -'272','544.0' -'273','819.0' -'274','274.0' -'275','275.0' -'277','1108.0' -'278','556.0' -'28','28.0' -'280','560.0' -'281','562.0' -'282','564.0' -'283','283.0' -'284','284.0' -'285','285.0' -'286','286.0' -'287','287.0' -'288','576.0' -'289','289.0' -'291','291.0' -'292','292.0' -'296','296.0' -'298','894.0' -'30','30.0' -'302','302.0' -'305','305.0' -'306','306.0' -'307','614.0' -'308','308.0' -'309','618.0' -'310','310.0' -'311','933.0' -'315','315.0' -'316','948.0' -'317','634.0' -'318','954.0' -'321','642.0' -'322','644.0' -'323','323.0' -'325','650.0' -'327','981.0' -'33','33.0' -'331','662.0' -'332','332.0' -'333','666.0' -'335','335.0' -'336','336.0' -'338','338.0' -'339','339.0' -'34','34.0' -'341','341.0' -'342','684.0' -'344','688.0' -'345','345.0' -'348','1740.0' -'35','105.0' -'351','351.0' -'353','706.0' -'356','356.0' -'360','360.0' -'362','362.0' -'364','364.0' -'365','365.0' -'366','366.0' -'367','734.0' -'368','368.0' -'369','1107.0' -'37','74.0' -'373','373.0' -'374','374.0' -'375','375.0' -'377','377.0' -'378','378.0' -'379','379.0' -'382','764.0' -'384','1152.0' -'386','386.0' -'389','389.0' -'392','392.0' -'393','393.0' -'394','394.0' -'395','790.0' -'396','1188.0' -'397','794.0' -'399','798.0' -'4','4.0' -'400','400.0' -'401','2005.0' -'402','402.0' -'403','1209.0' -'404','808.0' -'406','1624.0' -'407','407.0' -'409','1227.0' -'41','41.0' -'411','411.0' -'413','826.0' -'414','828.0' -'417','1251.0' -'418','418.0' -'419','419.0' -'42','84.0' -'421','421.0' -'424','848.0' -'427','427.0' -'429','858.0' -'43','43.0' -'430','1290.0' -'431','1293.0' -'432','432.0' -'435','435.0' -'436','436.0' -'437','437.0' -'438','1314.0' -'439','878.0' -'44','44.0' -'443','443.0' -'444','444.0' -'446','446.0' -'448','448.0' -'449','449.0' -'452','452.0' -'453','453.0' -'454','1362.0' -'455','455.0' -'457','457.0' -'458','916.0' -'459','918.0' -'460','460.0' -'462','924.0' -'463','926.0' -'466','1398.0' -'467','467.0' -'468','1872.0' -'469','2345.0' -'47','47.0' -'470','470.0' -'472','472.0' -'475','475.0' -'477','477.0' -'478','956.0' -'479','479.0' -'480','1440.0' -'481','481.0' -'482','482.0' -'483','483.0' -'484','484.0' -'485','485.0' -'487','487.0' -'489','1956.0' -'490','490.0' -'491','491.0' -'492','984.0' -'493','493.0' -'494','494.0' -'495','495.0' -'496','496.0' -'497','497.0' -'498','1494.0' -'5','15.0' -'51','102.0' -'53','53.0' -'54','54.0' -'57','57.0' -'58','116.0' -'64','64.0' -'65','65.0' -'66','66.0' -'67','134.0' -'69','69.0' -'70','210.0' -'72','144.0' -'74','74.0' -'76','152.0' -'77','77.0' -'78','78.0' -'8','8.0' -'80','80.0' -'82','82.0' -'83','166.0' -'84','168.0' -'85','85.0' -'86','86.0' -'87','87.0' -'9','9.0' -'90','270.0' -'92','92.0' -'95','190.0' -'96','96.0' -'97','194.0' -'98','196.0' -309 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/groupby7_map_multi_single_reducer.q.out ql/src/test/results/beelinepositive/groupby7_map_multi_single_reducer.q.out deleted file mode 100644 index 61f0f77..0000000 --- ql/src/test/results/beelinepositive/groupby7_map_multi_single_reducer.q.out +++ /dev/null @@ -1,785 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby7_map_multi_single_reducer.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby7_map_multi_single_reducer.q ->>> set hive.map.aggr=true; -No rows affected ->>> set hive.groupby.skewindata=false; -No rows affected ->>> set mapred.reduce.tasks=31; -No rows affected ->>> ->>> CREATE TABLE DEST1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE DEST2(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> SET hive.exec.compress.intermediate=true; -No rows affected ->>> SET hive.exec.compress.output=true; -No rows affected ->>> ->>> EXPLAIN -FROM SRC -INSERT OVERWRITE TABLE DEST1 SELECT SRC.key, sum(SUBSTR(SRC.value,5)) GROUP BY SRC.key -INSERT OVERWRITE TABLE DEST2 SELECT SRC.key, sum(SUBSTR(SRC.value,5)) GROUP BY SRC.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME SRC))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL SRC) key)) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION SUBSTR (. (TOK_TABLE_OR_COL SRC) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL SRC) key))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST2))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL SRC) key)) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION SUBSTR (. (TOK_TABLE_OR_COL SRC) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL SRC) key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-0 depends on stages: Stage-2' -' Stage-3 depends on stages: Stage-0' -' Stage-1 depends on stages: Stage-2' -' Stage-4 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: -1' -' value expressions:' -' expr: substr(value, 5)' -' type: string' -' Reduce Operator Tree:' -' Forward' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: complete' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: true' -' GlobalTableId: 1' -' 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: groupby7_map_multi_single_reducer.dest1' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: complete' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: true' -' GlobalTableId: 2' -' 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: groupby7_map_multi_single_reducer.dest2' -'' -' 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: groupby7_map_multi_single_reducer.dest1' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -' Stage: Stage-1' -' 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: groupby7_map_multi_single_reducer.dest2' -'' -' Stage: Stage-4' -' Stats-Aggr Operator' -'' -'' -128 rows selected ->>> ->>> FROM SRC -INSERT OVERWRITE TABLE DEST1 SELECT SRC.key, sum(SUBSTR(SRC.value,5)) GROUP BY SRC.key -INSERT OVERWRITE TABLE DEST2 SELECT SRC.key, sum(SUBSTR(SRC.value,5)) GROUP BY SRC.key; -'_col0','_col1' -No rows selected ->>> ->>> SELECT DEST1.* FROM DEST1; -'key','value' -'0','0.0' -'10','10.0' -'100','200.0' -'103','206.0' -'104','208.0' -'105','105.0' -'11','11.0' -'111','111.0' -'113','226.0' -'114','114.0' -'116','116.0' -'118','236.0' -'119','357.0' -'12','24.0' -'120','240.0' -'125','250.0' -'126','126.0' -'128','384.0' -'129','258.0' -'131','131.0' -'133','133.0' -'134','268.0' -'136','136.0' -'137','274.0' -'138','552.0' -'143','143.0' -'145','145.0' -'146','292.0' -'149','298.0' -'15','30.0' -'150','150.0' -'152','304.0' -'153','153.0' -'155','155.0' -'156','156.0' -'157','157.0' -'158','158.0' -'160','160.0' -'162','162.0' -'163','163.0' -'164','328.0' -'165','330.0' -'166','166.0' -'167','501.0' -'168','168.0' -'169','676.0' -'17','17.0' -'170','170.0' -'172','344.0' -'174','348.0' -'175','350.0' -'176','352.0' -'177','177.0' -'178','178.0' -'179','358.0' -'18','36.0' -'180','180.0' -'181','181.0' -'183','183.0' -'186','186.0' -'187','561.0' -'189','189.0' -'19','19.0' -'190','190.0' -'191','382.0' -'192','192.0' -'193','579.0' -'194','194.0' -'195','390.0' -'196','196.0' -'197','394.0' -'199','597.0' -'2','2.0' -'20','20.0' -'200','400.0' -'201','201.0' -'202','202.0' -'203','406.0' -'205','410.0' -'207','414.0' -'208','624.0' -'209','418.0' -'213','426.0' -'214','214.0' -'216','432.0' -'217','434.0' -'218','218.0' -'219','438.0' -'221','442.0' -'222','222.0' -'223','446.0' -'224','448.0' -'226','226.0' -'228','228.0' -'229','458.0' -'230','1150.0' -'233','466.0' -'235','235.0' -'237','474.0' -'238','476.0' -'239','478.0' -'24','48.0' -'241','241.0' -'242','484.0' -'244','244.0' -'247','247.0' -'248','248.0' -'249','249.0' -'252','252.0' -'255','510.0' -'256','512.0' -'257','257.0' -'258','258.0' -'26','52.0' -'260','260.0' -'262','262.0' -'263','263.0' -'265','530.0' -'266','266.0' -'27','27.0' -'272','544.0' -'273','819.0' -'274','274.0' -'275','275.0' -'277','1108.0' -'278','556.0' -'28','28.0' -'280','560.0' -'281','562.0' -'282','564.0' -'283','283.0' -'284','284.0' -'285','285.0' -'286','286.0' -'287','287.0' -'288','576.0' -'289','289.0' -'291','291.0' -'292','292.0' -'296','296.0' -'298','894.0' -'30','30.0' -'302','302.0' -'305','305.0' -'306','306.0' -'307','614.0' -'308','308.0' -'309','618.0' -'310','310.0' -'311','933.0' -'315','315.0' -'316','948.0' -'317','634.0' -'318','954.0' -'321','642.0' -'322','644.0' -'323','323.0' -'325','650.0' -'327','981.0' -'33','33.0' -'331','662.0' -'332','332.0' -'333','666.0' -'335','335.0' -'336','336.0' -'338','338.0' -'339','339.0' -'34','34.0' -'341','341.0' -'342','684.0' -'344','688.0' -'345','345.0' -'348','1740.0' -'35','105.0' -'351','351.0' -'353','706.0' -'356','356.0' -'360','360.0' -'362','362.0' -'364','364.0' -'365','365.0' -'366','366.0' -'367','734.0' -'368','368.0' -'369','1107.0' -'37','74.0' -'373','373.0' -'374','374.0' -'375','375.0' -'377','377.0' -'378','378.0' -'379','379.0' -'382','764.0' -'384','1152.0' -'386','386.0' -'389','389.0' -'392','392.0' -'393','393.0' -'394','394.0' -'395','790.0' -'396','1188.0' -'397','794.0' -'399','798.0' -'4','4.0' -'400','400.0' -'401','2005.0' -'402','402.0' -'403','1209.0' -'404','808.0' -'406','1624.0' -'407','407.0' -'409','1227.0' -'41','41.0' -'411','411.0' -'413','826.0' -'414','828.0' -'417','1251.0' -'418','418.0' -'419','419.0' -'42','84.0' -'421','421.0' -'424','848.0' -'427','427.0' -'429','858.0' -'43','43.0' -'430','1290.0' -'431','1293.0' -'432','432.0' -'435','435.0' -'436','436.0' -'437','437.0' -'438','1314.0' -'439','878.0' -'44','44.0' -'443','443.0' -'444','444.0' -'446','446.0' -'448','448.0' -'449','449.0' -'452','452.0' -'453','453.0' -'454','1362.0' -'455','455.0' -'457','457.0' -'458','916.0' -'459','918.0' -'460','460.0' -'462','924.0' -'463','926.0' -'466','1398.0' -'467','467.0' -'468','1872.0' -'469','2345.0' -'47','47.0' -'470','470.0' -'472','472.0' -'475','475.0' -'477','477.0' -'478','956.0' -'479','479.0' -'480','1440.0' -'481','481.0' -'482','482.0' -'483','483.0' -'484','484.0' -'485','485.0' -'487','487.0' -'489','1956.0' -'490','490.0' -'491','491.0' -'492','984.0' -'493','493.0' -'494','494.0' -'495','495.0' -'496','496.0' -'497','497.0' -'498','1494.0' -'5','15.0' -'51','102.0' -'53','53.0' -'54','54.0' -'57','57.0' -'58','116.0' -'64','64.0' -'65','65.0' -'66','66.0' -'67','134.0' -'69','69.0' -'70','210.0' -'72','144.0' -'74','74.0' -'76','152.0' -'77','77.0' -'78','78.0' -'8','8.0' -'80','80.0' -'82','82.0' -'83','166.0' -'84','168.0' -'85','85.0' -'86','86.0' -'87','87.0' -'9','9.0' -'90','270.0' -'92','92.0' -'95','190.0' -'96','96.0' -'97','194.0' -'98','196.0' -309 rows selected ->>> SELECT DEST2.* FROM DEST2; -'key','value' -'0','0.0' -'10','10.0' -'100','200.0' -'103','206.0' -'104','208.0' -'105','105.0' -'11','11.0' -'111','111.0' -'113','226.0' -'114','114.0' -'116','116.0' -'118','236.0' -'119','357.0' -'12','24.0' -'120','240.0' -'125','250.0' -'126','126.0' -'128','384.0' -'129','258.0' -'131','131.0' -'133','133.0' -'134','268.0' -'136','136.0' -'137','274.0' -'138','552.0' -'143','143.0' -'145','145.0' -'146','292.0' -'149','298.0' -'15','30.0' -'150','150.0' -'152','304.0' -'153','153.0' -'155','155.0' -'156','156.0' -'157','157.0' -'158','158.0' -'160','160.0' -'162','162.0' -'163','163.0' -'164','328.0' -'165','330.0' -'166','166.0' -'167','501.0' -'168','168.0' -'169','676.0' -'17','17.0' -'170','170.0' -'172','344.0' -'174','348.0' -'175','350.0' -'176','352.0' -'177','177.0' -'178','178.0' -'179','358.0' -'18','36.0' -'180','180.0' -'181','181.0' -'183','183.0' -'186','186.0' -'187','561.0' -'189','189.0' -'19','19.0' -'190','190.0' -'191','382.0' -'192','192.0' -'193','579.0' -'194','194.0' -'195','390.0' -'196','196.0' -'197','394.0' -'199','597.0' -'2','2.0' -'20','20.0' -'200','400.0' -'201','201.0' -'202','202.0' -'203','406.0' -'205','410.0' -'207','414.0' -'208','624.0' -'209','418.0' -'213','426.0' -'214','214.0' -'216','432.0' -'217','434.0' -'218','218.0' -'219','438.0' -'221','442.0' -'222','222.0' -'223','446.0' -'224','448.0' -'226','226.0' -'228','228.0' -'229','458.0' -'230','1150.0' -'233','466.0' -'235','235.0' -'237','474.0' -'238','476.0' -'239','478.0' -'24','48.0' -'241','241.0' -'242','484.0' -'244','244.0' -'247','247.0' -'248','248.0' -'249','249.0' -'252','252.0' -'255','510.0' -'256','512.0' -'257','257.0' -'258','258.0' -'26','52.0' -'260','260.0' -'262','262.0' -'263','263.0' -'265','530.0' -'266','266.0' -'27','27.0' -'272','544.0' -'273','819.0' -'274','274.0' -'275','275.0' -'277','1108.0' -'278','556.0' -'28','28.0' -'280','560.0' -'281','562.0' -'282','564.0' -'283','283.0' -'284','284.0' -'285','285.0' -'286','286.0' -'287','287.0' -'288','576.0' -'289','289.0' -'291','291.0' -'292','292.0' -'296','296.0' -'298','894.0' -'30','30.0' -'302','302.0' -'305','305.0' -'306','306.0' -'307','614.0' -'308','308.0' -'309','618.0' -'310','310.0' -'311','933.0' -'315','315.0' -'316','948.0' -'317','634.0' -'318','954.0' -'321','642.0' -'322','644.0' -'323','323.0' -'325','650.0' -'327','981.0' -'33','33.0' -'331','662.0' -'332','332.0' -'333','666.0' -'335','335.0' -'336','336.0' -'338','338.0' -'339','339.0' -'34','34.0' -'341','341.0' -'342','684.0' -'344','688.0' -'345','345.0' -'348','1740.0' -'35','105.0' -'351','351.0' -'353','706.0' -'356','356.0' -'360','360.0' -'362','362.0' -'364','364.0' -'365','365.0' -'366','366.0' -'367','734.0' -'368','368.0' -'369','1107.0' -'37','74.0' -'373','373.0' -'374','374.0' -'375','375.0' -'377','377.0' -'378','378.0' -'379','379.0' -'382','764.0' -'384','1152.0' -'386','386.0' -'389','389.0' -'392','392.0' -'393','393.0' -'394','394.0' -'395','790.0' -'396','1188.0' -'397','794.0' -'399','798.0' -'4','4.0' -'400','400.0' -'401','2005.0' -'402','402.0' -'403','1209.0' -'404','808.0' -'406','1624.0' -'407','407.0' -'409','1227.0' -'41','41.0' -'411','411.0' -'413','826.0' -'414','828.0' -'417','1251.0' -'418','418.0' -'419','419.0' -'42','84.0' -'421','421.0' -'424','848.0' -'427','427.0' -'429','858.0' -'43','43.0' -'430','1290.0' -'431','1293.0' -'432','432.0' -'435','435.0' -'436','436.0' -'437','437.0' -'438','1314.0' -'439','878.0' -'44','44.0' -'443','443.0' -'444','444.0' -'446','446.0' -'448','448.0' -'449','449.0' -'452','452.0' -'453','453.0' -'454','1362.0' -'455','455.0' -'457','457.0' -'458','916.0' -'459','918.0' -'460','460.0' -'462','924.0' -'463','926.0' -'466','1398.0' -'467','467.0' -'468','1872.0' -'469','2345.0' -'47','47.0' -'470','470.0' -'472','472.0' -'475','475.0' -'477','477.0' -'478','956.0' -'479','479.0' -'480','1440.0' -'481','481.0' -'482','482.0' -'483','483.0' -'484','484.0' -'485','485.0' -'487','487.0' -'489','1956.0' -'490','490.0' -'491','491.0' -'492','984.0' -'493','493.0' -'494','494.0' -'495','495.0' -'496','496.0' -'497','497.0' -'498','1494.0' -'5','15.0' -'51','102.0' -'53','53.0' -'54','54.0' -'57','57.0' -'58','116.0' -'64','64.0' -'65','65.0' -'66','66.0' -'67','134.0' -'69','69.0' -'70','210.0' -'72','144.0' -'74','74.0' -'76','152.0' -'77','77.0' -'78','78.0' -'8','8.0' -'80','80.0' -'82','82.0' -'83','166.0' -'84','168.0' -'85','85.0' -'86','86.0' -'87','87.0' -'9','9.0' -'90','270.0' -'92','92.0' -'95','190.0' -'96','96.0' -'97','194.0' -'98','196.0' -309 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/groupby7_map_skew.q.out ql/src/test/results/beelinepositive/groupby7_map_skew.q.out deleted file mode 100644 index e38c715..0000000 --- ql/src/test/results/beelinepositive/groupby7_map_skew.q.out +++ /dev/null @@ -1,902 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby7_map_skew.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby7_map_skew.q ->>> set hive.map.aggr=true; -No rows affected ->>> set hive.groupby.skewindata=true; -No rows affected ->>> set mapred.reduce.tasks=31; -No rows affected ->>> ->>> CREATE TABLE DEST1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE DEST2(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> SET hive.exec.compress.intermediate=true; -No rows affected ->>> SET hive.exec.compress.output=true; -No rows affected ->>> ->>> EXPLAIN -FROM SRC -INSERT OVERWRITE TABLE DEST1 SELECT SRC.key, sum(SUBSTR(SRC.value,5)) GROUP BY SRC.key -INSERT OVERWRITE TABLE DEST2 SELECT SRC.key, sum(SUBSTR(SRC.value,5)) GROUP BY SRC.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME SRC))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL SRC) key)) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION SUBSTR (. (TOK_TABLE_OR_COL SRC) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL SRC) key))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST2))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL SRC) key)) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION SUBSTR (. (TOK_TABLE_OR_COL SRC) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL SRC) key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-3 depends on stages: Stage-2' -' Stage-0 depends on stages: Stage-3' -' Stage-4 depends on stages: Stage-0' -' Stage-5 depends on stages: Stage-2' -' Stage-6 depends on stages: Stage-5' -' Stage-1 depends on stages: Stage-6' -' Stage-7 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: sum(substr(value, 5))' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: rand()' -' type: double' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: double' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: sum(substr(value, 5))' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: true' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: partials' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: true' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: double' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: true' -' GlobalTableId: 1' -' 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: groupby7_map_skew.dest1' -'' -' 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: groupby7_map_skew.dest1' -'' -' Stage: Stage-4' -' Stats-Aggr Operator' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: rand()' -' type: double' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: double' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: partials' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: true' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: double' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: true' -' GlobalTableId: 2' -' 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: groupby7_map_skew.dest2' -'' -' Stage: Stage-1' -' 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: groupby7_map_skew.dest2' -'' -' Stage: Stage-7' -' Stats-Aggr Operator' -'' -'' -245 rows selected ->>> ->>> FROM SRC -INSERT OVERWRITE TABLE DEST1 SELECT SRC.key, sum(SUBSTR(SRC.value,5)) GROUP BY SRC.key -INSERT OVERWRITE TABLE DEST2 SELECT SRC.key, sum(SUBSTR(SRC.value,5)) GROUP BY SRC.key; -'_col0','_col1' -No rows selected ->>> ->>> SELECT DEST1.* FROM DEST1; -'key','value' -'0','0.0' -'10','10.0' -'100','200.0' -'103','206.0' -'104','208.0' -'105','105.0' -'11','11.0' -'111','111.0' -'113','226.0' -'114','114.0' -'116','116.0' -'118','236.0' -'119','357.0' -'12','24.0' -'120','240.0' -'125','250.0' -'126','126.0' -'128','384.0' -'129','258.0' -'131','131.0' -'133','133.0' -'134','268.0' -'136','136.0' -'137','274.0' -'138','552.0' -'143','143.0' -'145','145.0' -'146','292.0' -'149','298.0' -'15','30.0' -'150','150.0' -'152','304.0' -'153','153.0' -'155','155.0' -'156','156.0' -'157','157.0' -'158','158.0' -'160','160.0' -'162','162.0' -'163','163.0' -'164','328.0' -'165','330.0' -'166','166.0' -'167','501.0' -'168','168.0' -'169','676.0' -'17','17.0' -'170','170.0' -'172','344.0' -'174','348.0' -'175','350.0' -'176','352.0' -'177','177.0' -'178','178.0' -'179','358.0' -'18','36.0' -'180','180.0' -'181','181.0' -'183','183.0' -'186','186.0' -'187','561.0' -'189','189.0' -'19','19.0' -'190','190.0' -'191','382.0' -'192','192.0' -'193','579.0' -'194','194.0' -'195','390.0' -'196','196.0' -'197','394.0' -'199','597.0' -'2','2.0' -'20','20.0' -'200','400.0' -'201','201.0' -'202','202.0' -'203','406.0' -'205','410.0' -'207','414.0' -'208','624.0' -'209','418.0' -'213','426.0' -'214','214.0' -'216','432.0' -'217','434.0' -'218','218.0' -'219','438.0' -'221','442.0' -'222','222.0' -'223','446.0' -'224','448.0' -'226','226.0' -'228','228.0' -'229','458.0' -'230','1150.0' -'233','466.0' -'235','235.0' -'237','474.0' -'238','476.0' -'239','478.0' -'24','48.0' -'241','241.0' -'242','484.0' -'244','244.0' -'247','247.0' -'248','248.0' -'249','249.0' -'252','252.0' -'255','510.0' -'256','512.0' -'257','257.0' -'258','258.0' -'26','52.0' -'260','260.0' -'262','262.0' -'263','263.0' -'265','530.0' -'266','266.0' -'27','27.0' -'272','544.0' -'273','819.0' -'274','274.0' -'275','275.0' -'277','1108.0' -'278','556.0' -'28','28.0' -'280','560.0' -'281','562.0' -'282','564.0' -'283','283.0' -'284','284.0' -'285','285.0' -'286','286.0' -'287','287.0' -'288','576.0' -'289','289.0' -'291','291.0' -'292','292.0' -'296','296.0' -'298','894.0' -'30','30.0' -'302','302.0' -'305','305.0' -'306','306.0' -'307','614.0' -'308','308.0' -'309','618.0' -'310','310.0' -'311','933.0' -'315','315.0' -'316','948.0' -'317','634.0' -'318','954.0' -'321','642.0' -'322','644.0' -'323','323.0' -'325','650.0' -'327','981.0' -'33','33.0' -'331','662.0' -'332','332.0' -'333','666.0' -'335','335.0' -'336','336.0' -'338','338.0' -'339','339.0' -'34','34.0' -'341','341.0' -'342','684.0' -'344','688.0' -'345','345.0' -'348','1740.0' -'35','105.0' -'351','351.0' -'353','706.0' -'356','356.0' -'360','360.0' -'362','362.0' -'364','364.0' -'365','365.0' -'366','366.0' -'367','734.0' -'368','368.0' -'369','1107.0' -'37','74.0' -'373','373.0' -'374','374.0' -'375','375.0' -'377','377.0' -'378','378.0' -'379','379.0' -'382','764.0' -'384','1152.0' -'386','386.0' -'389','389.0' -'392','392.0' -'393','393.0' -'394','394.0' -'395','790.0' -'396','1188.0' -'397','794.0' -'399','798.0' -'4','4.0' -'400','400.0' -'401','2005.0' -'402','402.0' -'403','1209.0' -'404','808.0' -'406','1624.0' -'407','407.0' -'409','1227.0' -'41','41.0' -'411','411.0' -'413','826.0' -'414','828.0' -'417','1251.0' -'418','418.0' -'419','419.0' -'42','84.0' -'421','421.0' -'424','848.0' -'427','427.0' -'429','858.0' -'43','43.0' -'430','1290.0' -'431','1293.0' -'432','432.0' -'435','435.0' -'436','436.0' -'437','437.0' -'438','1314.0' -'439','878.0' -'44','44.0' -'443','443.0' -'444','444.0' -'446','446.0' -'448','448.0' -'449','449.0' -'452','452.0' -'453','453.0' -'454','1362.0' -'455','455.0' -'457','457.0' -'458','916.0' -'459','918.0' -'460','460.0' -'462','924.0' -'463','926.0' -'466','1398.0' -'467','467.0' -'468','1872.0' -'469','2345.0' -'47','47.0' -'470','470.0' -'472','472.0' -'475','475.0' -'477','477.0' -'478','956.0' -'479','479.0' -'480','1440.0' -'481','481.0' -'482','482.0' -'483','483.0' -'484','484.0' -'485','485.0' -'487','487.0' -'489','1956.0' -'490','490.0' -'491','491.0' -'492','984.0' -'493','493.0' -'494','494.0' -'495','495.0' -'496','496.0' -'497','497.0' -'498','1494.0' -'5','15.0' -'51','102.0' -'53','53.0' -'54','54.0' -'57','57.0' -'58','116.0' -'64','64.0' -'65','65.0' -'66','66.0' -'67','134.0' -'69','69.0' -'70','210.0' -'72','144.0' -'74','74.0' -'76','152.0' -'77','77.0' -'78','78.0' -'8','8.0' -'80','80.0' -'82','82.0' -'83','166.0' -'84','168.0' -'85','85.0' -'86','86.0' -'87','87.0' -'9','9.0' -'90','270.0' -'92','92.0' -'95','190.0' -'96','96.0' -'97','194.0' -'98','196.0' -309 rows selected ->>> SELECT DEST2.* FROM DEST2; -'key','value' -'0','0.0' -'10','10.0' -'100','200.0' -'103','206.0' -'104','208.0' -'105','105.0' -'11','11.0' -'111','111.0' -'113','226.0' -'114','114.0' -'116','116.0' -'118','236.0' -'119','357.0' -'12','24.0' -'120','240.0' -'125','250.0' -'126','126.0' -'128','384.0' -'129','258.0' -'131','131.0' -'133','133.0' -'134','268.0' -'136','136.0' -'137','274.0' -'138','552.0' -'143','143.0' -'145','145.0' -'146','292.0' -'149','298.0' -'15','30.0' -'150','150.0' -'152','304.0' -'153','153.0' -'155','155.0' -'156','156.0' -'157','157.0' -'158','158.0' -'160','160.0' -'162','162.0' -'163','163.0' -'164','328.0' -'165','330.0' -'166','166.0' -'167','501.0' -'168','168.0' -'169','676.0' -'17','17.0' -'170','170.0' -'172','344.0' -'174','348.0' -'175','350.0' -'176','352.0' -'177','177.0' -'178','178.0' -'179','358.0' -'18','36.0' -'180','180.0' -'181','181.0' -'183','183.0' -'186','186.0' -'187','561.0' -'189','189.0' -'19','19.0' -'190','190.0' -'191','382.0' -'192','192.0' -'193','579.0' -'194','194.0' -'195','390.0' -'196','196.0' -'197','394.0' -'199','597.0' -'2','2.0' -'20','20.0' -'200','400.0' -'201','201.0' -'202','202.0' -'203','406.0' -'205','410.0' -'207','414.0' -'208','624.0' -'209','418.0' -'213','426.0' -'214','214.0' -'216','432.0' -'217','434.0' -'218','218.0' -'219','438.0' -'221','442.0' -'222','222.0' -'223','446.0' -'224','448.0' -'226','226.0' -'228','228.0' -'229','458.0' -'230','1150.0' -'233','466.0' -'235','235.0' -'237','474.0' -'238','476.0' -'239','478.0' -'24','48.0' -'241','241.0' -'242','484.0' -'244','244.0' -'247','247.0' -'248','248.0' -'249','249.0' -'252','252.0' -'255','510.0' -'256','512.0' -'257','257.0' -'258','258.0' -'26','52.0' -'260','260.0' -'262','262.0' -'263','263.0' -'265','530.0' -'266','266.0' -'27','27.0' -'272','544.0' -'273','819.0' -'274','274.0' -'275','275.0' -'277','1108.0' -'278','556.0' -'28','28.0' -'280','560.0' -'281','562.0' -'282','564.0' -'283','283.0' -'284','284.0' -'285','285.0' -'286','286.0' -'287','287.0' -'288','576.0' -'289','289.0' -'291','291.0' -'292','292.0' -'296','296.0' -'298','894.0' -'30','30.0' -'302','302.0' -'305','305.0' -'306','306.0' -'307','614.0' -'308','308.0' -'309','618.0' -'310','310.0' -'311','933.0' -'315','315.0' -'316','948.0' -'317','634.0' -'318','954.0' -'321','642.0' -'322','644.0' -'323','323.0' -'325','650.0' -'327','981.0' -'33','33.0' -'331','662.0' -'332','332.0' -'333','666.0' -'335','335.0' -'336','336.0' -'338','338.0' -'339','339.0' -'34','34.0' -'341','341.0' -'342','684.0' -'344','688.0' -'345','345.0' -'348','1740.0' -'35','105.0' -'351','351.0' -'353','706.0' -'356','356.0' -'360','360.0' -'362','362.0' -'364','364.0' -'365','365.0' -'366','366.0' -'367','734.0' -'368','368.0' -'369','1107.0' -'37','74.0' -'373','373.0' -'374','374.0' -'375','375.0' -'377','377.0' -'378','378.0' -'379','379.0' -'382','764.0' -'384','1152.0' -'386','386.0' -'389','389.0' -'392','392.0' -'393','393.0' -'394','394.0' -'395','790.0' -'396','1188.0' -'397','794.0' -'399','798.0' -'4','4.0' -'400','400.0' -'401','2005.0' -'402','402.0' -'403','1209.0' -'404','808.0' -'406','1624.0' -'407','407.0' -'409','1227.0' -'41','41.0' -'411','411.0' -'413','826.0' -'414','828.0' -'417','1251.0' -'418','418.0' -'419','419.0' -'42','84.0' -'421','421.0' -'424','848.0' -'427','427.0' -'429','858.0' -'43','43.0' -'430','1290.0' -'431','1293.0' -'432','432.0' -'435','435.0' -'436','436.0' -'437','437.0' -'438','1314.0' -'439','878.0' -'44','44.0' -'443','443.0' -'444','444.0' -'446','446.0' -'448','448.0' -'449','449.0' -'452','452.0' -'453','453.0' -'454','1362.0' -'455','455.0' -'457','457.0' -'458','916.0' -'459','918.0' -'460','460.0' -'462','924.0' -'463','926.0' -'466','1398.0' -'467','467.0' -'468','1872.0' -'469','2345.0' -'47','47.0' -'470','470.0' -'472','472.0' -'475','475.0' -'477','477.0' -'478','956.0' -'479','479.0' -'480','1440.0' -'481','481.0' -'482','482.0' -'483','483.0' -'484','484.0' -'485','485.0' -'487','487.0' -'489','1956.0' -'490','490.0' -'491','491.0' -'492','984.0' -'493','493.0' -'494','494.0' -'495','495.0' -'496','496.0' -'497','497.0' -'498','1494.0' -'5','15.0' -'51','102.0' -'53','53.0' -'54','54.0' -'57','57.0' -'58','116.0' -'64','64.0' -'65','65.0' -'66','66.0' -'67','134.0' -'69','69.0' -'70','210.0' -'72','144.0' -'74','74.0' -'76','152.0' -'77','77.0' -'78','78.0' -'8','8.0' -'80','80.0' -'82','82.0' -'83','166.0' -'84','168.0' -'85','85.0' -'86','86.0' -'87','87.0' -'9','9.0' -'90','270.0' -'92','92.0' -'95','190.0' -'96','96.0' -'97','194.0' -'98','196.0' -309 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/groupby7_noskew.q.out ql/src/test/results/beelinepositive/groupby7_noskew.q.out deleted file mode 100644 index e17eb99..0000000 --- ql/src/test/results/beelinepositive/groupby7_noskew.q.out +++ /dev/null @@ -1,818 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby7_noskew.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby7_noskew.q ->>> set hive.map.aggr=false; -No rows affected ->>> set hive.multigroupby.singlereducer=false; -No rows affected ->>> set hive.groupby.skewindata=false; -No rows affected ->>> set mapred.reduce.tasks=31; -No rows affected ->>> ->>> CREATE TABLE DEST1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE DEST2(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> SET hive.exec.compress.intermediate=true; -No rows affected ->>> SET hive.exec.compress.output=true; -No rows affected ->>> ->>> EXPLAIN -FROM SRC -INSERT OVERWRITE TABLE DEST1 SELECT SRC.key, sum(SUBSTR(SRC.value,5)) GROUP BY SRC.key -INSERT OVERWRITE TABLE DEST2 SELECT SRC.key, sum(SUBSTR(SRC.value,5)) GROUP BY SRC.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME SRC))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL SRC) key)) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION SUBSTR (. (TOK_TABLE_OR_COL SRC) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL SRC) key))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST2))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL SRC) key)) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION SUBSTR (. (TOK_TABLE_OR_COL SRC) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL SRC) key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-0 depends on stages: Stage-2' -' Stage-3 depends on stages: Stage-0' -' Stage-4 depends on stages: Stage-2' -' Stage-1 depends on stages: Stage-4' -' Stage-5 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: -1' -' value expressions:' -' expr: substr(value, 5)' -' type: string' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' File Output Operator' -' compressed: true' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: complete' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: true' -' GlobalTableId: 1' -' 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: groupby7_noskew.dest1' -'' -' 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: groupby7_noskew.dest1' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: -1' -' value expressions:' -' expr: substr(value, 5)' -' type: string' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: complete' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: true' -' GlobalTableId: 2' -' 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: groupby7_noskew.dest2' -'' -' Stage: Stage-1' -' 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: groupby7_noskew.dest2' -'' -' Stage: Stage-5' -' Stats-Aggr Operator' -'' -'' -159 rows selected ->>> ->>> FROM SRC -INSERT OVERWRITE TABLE DEST1 SELECT SRC.key, sum(SUBSTR(SRC.value,5)) GROUP BY SRC.key -INSERT OVERWRITE TABLE DEST2 SELECT SRC.key, sum(SUBSTR(SRC.value,5)) GROUP BY SRC.key; -'_col0','_col1' -No rows selected ->>> ->>> SELECT DEST1.* FROM DEST1; -'key','value' -'0','0.0' -'10','10.0' -'100','200.0' -'103','206.0' -'104','208.0' -'105','105.0' -'11','11.0' -'111','111.0' -'113','226.0' -'114','114.0' -'116','116.0' -'118','236.0' -'119','357.0' -'12','24.0' -'120','240.0' -'125','250.0' -'126','126.0' -'128','384.0' -'129','258.0' -'131','131.0' -'133','133.0' -'134','268.0' -'136','136.0' -'137','274.0' -'138','552.0' -'143','143.0' -'145','145.0' -'146','292.0' -'149','298.0' -'15','30.0' -'150','150.0' -'152','304.0' -'153','153.0' -'155','155.0' -'156','156.0' -'157','157.0' -'158','158.0' -'160','160.0' -'162','162.0' -'163','163.0' -'164','328.0' -'165','330.0' -'166','166.0' -'167','501.0' -'168','168.0' -'169','676.0' -'17','17.0' -'170','170.0' -'172','344.0' -'174','348.0' -'175','350.0' -'176','352.0' -'177','177.0' -'178','178.0' -'179','358.0' -'18','36.0' -'180','180.0' -'181','181.0' -'183','183.0' -'186','186.0' -'187','561.0' -'189','189.0' -'19','19.0' -'190','190.0' -'191','382.0' -'192','192.0' -'193','579.0' -'194','194.0' -'195','390.0' -'196','196.0' -'197','394.0' -'199','597.0' -'2','2.0' -'20','20.0' -'200','400.0' -'201','201.0' -'202','202.0' -'203','406.0' -'205','410.0' -'207','414.0' -'208','624.0' -'209','418.0' -'213','426.0' -'214','214.0' -'216','432.0' -'217','434.0' -'218','218.0' -'219','438.0' -'221','442.0' -'222','222.0' -'223','446.0' -'224','448.0' -'226','226.0' -'228','228.0' -'229','458.0' -'230','1150.0' -'233','466.0' -'235','235.0' -'237','474.0' -'238','476.0' -'239','478.0' -'24','48.0' -'241','241.0' -'242','484.0' -'244','244.0' -'247','247.0' -'248','248.0' -'249','249.0' -'252','252.0' -'255','510.0' -'256','512.0' -'257','257.0' -'258','258.0' -'26','52.0' -'260','260.0' -'262','262.0' -'263','263.0' -'265','530.0' -'266','266.0' -'27','27.0' -'272','544.0' -'273','819.0' -'274','274.0' -'275','275.0' -'277','1108.0' -'278','556.0' -'28','28.0' -'280','560.0' -'281','562.0' -'282','564.0' -'283','283.0' -'284','284.0' -'285','285.0' -'286','286.0' -'287','287.0' -'288','576.0' -'289','289.0' -'291','291.0' -'292','292.0' -'296','296.0' -'298','894.0' -'30','30.0' -'302','302.0' -'305','305.0' -'306','306.0' -'307','614.0' -'308','308.0' -'309','618.0' -'310','310.0' -'311','933.0' -'315','315.0' -'316','948.0' -'317','634.0' -'318','954.0' -'321','642.0' -'322','644.0' -'323','323.0' -'325','650.0' -'327','981.0' -'33','33.0' -'331','662.0' -'332','332.0' -'333','666.0' -'335','335.0' -'336','336.0' -'338','338.0' -'339','339.0' -'34','34.0' -'341','341.0' -'342','684.0' -'344','688.0' -'345','345.0' -'348','1740.0' -'35','105.0' -'351','351.0' -'353','706.0' -'356','356.0' -'360','360.0' -'362','362.0' -'364','364.0' -'365','365.0' -'366','366.0' -'367','734.0' -'368','368.0' -'369','1107.0' -'37','74.0' -'373','373.0' -'374','374.0' -'375','375.0' -'377','377.0' -'378','378.0' -'379','379.0' -'382','764.0' -'384','1152.0' -'386','386.0' -'389','389.0' -'392','392.0' -'393','393.0' -'394','394.0' -'395','790.0' -'396','1188.0' -'397','794.0' -'399','798.0' -'4','4.0' -'400','400.0' -'401','2005.0' -'402','402.0' -'403','1209.0' -'404','808.0' -'406','1624.0' -'407','407.0' -'409','1227.0' -'41','41.0' -'411','411.0' -'413','826.0' -'414','828.0' -'417','1251.0' -'418','418.0' -'419','419.0' -'42','84.0' -'421','421.0' -'424','848.0' -'427','427.0' -'429','858.0' -'43','43.0' -'430','1290.0' -'431','1293.0' -'432','432.0' -'435','435.0' -'436','436.0' -'437','437.0' -'438','1314.0' -'439','878.0' -'44','44.0' -'443','443.0' -'444','444.0' -'446','446.0' -'448','448.0' -'449','449.0' -'452','452.0' -'453','453.0' -'454','1362.0' -'455','455.0' -'457','457.0' -'458','916.0' -'459','918.0' -'460','460.0' -'462','924.0' -'463','926.0' -'466','1398.0' -'467','467.0' -'468','1872.0' -'469','2345.0' -'47','47.0' -'470','470.0' -'472','472.0' -'475','475.0' -'477','477.0' -'478','956.0' -'479','479.0' -'480','1440.0' -'481','481.0' -'482','482.0' -'483','483.0' -'484','484.0' -'485','485.0' -'487','487.0' -'489','1956.0' -'490','490.0' -'491','491.0' -'492','984.0' -'493','493.0' -'494','494.0' -'495','495.0' -'496','496.0' -'497','497.0' -'498','1494.0' -'5','15.0' -'51','102.0' -'53','53.0' -'54','54.0' -'57','57.0' -'58','116.0' -'64','64.0' -'65','65.0' -'66','66.0' -'67','134.0' -'69','69.0' -'70','210.0' -'72','144.0' -'74','74.0' -'76','152.0' -'77','77.0' -'78','78.0' -'8','8.0' -'80','80.0' -'82','82.0' -'83','166.0' -'84','168.0' -'85','85.0' -'86','86.0' -'87','87.0' -'9','9.0' -'90','270.0' -'92','92.0' -'95','190.0' -'96','96.0' -'97','194.0' -'98','196.0' -309 rows selected ->>> SELECT DEST2.* FROM DEST2; -'key','value' -'0','0.0' -'10','10.0' -'100','200.0' -'103','206.0' -'104','208.0' -'105','105.0' -'11','11.0' -'111','111.0' -'113','226.0' -'114','114.0' -'116','116.0' -'118','236.0' -'119','357.0' -'12','24.0' -'120','240.0' -'125','250.0' -'126','126.0' -'128','384.0' -'129','258.0' -'131','131.0' -'133','133.0' -'134','268.0' -'136','136.0' -'137','274.0' -'138','552.0' -'143','143.0' -'145','145.0' -'146','292.0' -'149','298.0' -'15','30.0' -'150','150.0' -'152','304.0' -'153','153.0' -'155','155.0' -'156','156.0' -'157','157.0' -'158','158.0' -'160','160.0' -'162','162.0' -'163','163.0' -'164','328.0' -'165','330.0' -'166','166.0' -'167','501.0' -'168','168.0' -'169','676.0' -'17','17.0' -'170','170.0' -'172','344.0' -'174','348.0' -'175','350.0' -'176','352.0' -'177','177.0' -'178','178.0' -'179','358.0' -'18','36.0' -'180','180.0' -'181','181.0' -'183','183.0' -'186','186.0' -'187','561.0' -'189','189.0' -'19','19.0' -'190','190.0' -'191','382.0' -'192','192.0' -'193','579.0' -'194','194.0' -'195','390.0' -'196','196.0' -'197','394.0' -'199','597.0' -'2','2.0' -'20','20.0' -'200','400.0' -'201','201.0' -'202','202.0' -'203','406.0' -'205','410.0' -'207','414.0' -'208','624.0' -'209','418.0' -'213','426.0' -'214','214.0' -'216','432.0' -'217','434.0' -'218','218.0' -'219','438.0' -'221','442.0' -'222','222.0' -'223','446.0' -'224','448.0' -'226','226.0' -'228','228.0' -'229','458.0' -'230','1150.0' -'233','466.0' -'235','235.0' -'237','474.0' -'238','476.0' -'239','478.0' -'24','48.0' -'241','241.0' -'242','484.0' -'244','244.0' -'247','247.0' -'248','248.0' -'249','249.0' -'252','252.0' -'255','510.0' -'256','512.0' -'257','257.0' -'258','258.0' -'26','52.0' -'260','260.0' -'262','262.0' -'263','263.0' -'265','530.0' -'266','266.0' -'27','27.0' -'272','544.0' -'273','819.0' -'274','274.0' -'275','275.0' -'277','1108.0' -'278','556.0' -'28','28.0' -'280','560.0' -'281','562.0' -'282','564.0' -'283','283.0' -'284','284.0' -'285','285.0' -'286','286.0' -'287','287.0' -'288','576.0' -'289','289.0' -'291','291.0' -'292','292.0' -'296','296.0' -'298','894.0' -'30','30.0' -'302','302.0' -'305','305.0' -'306','306.0' -'307','614.0' -'308','308.0' -'309','618.0' -'310','310.0' -'311','933.0' -'315','315.0' -'316','948.0' -'317','634.0' -'318','954.0' -'321','642.0' -'322','644.0' -'323','323.0' -'325','650.0' -'327','981.0' -'33','33.0' -'331','662.0' -'332','332.0' -'333','666.0' -'335','335.0' -'336','336.0' -'338','338.0' -'339','339.0' -'34','34.0' -'341','341.0' -'342','684.0' -'344','688.0' -'345','345.0' -'348','1740.0' -'35','105.0' -'351','351.0' -'353','706.0' -'356','356.0' -'360','360.0' -'362','362.0' -'364','364.0' -'365','365.0' -'366','366.0' -'367','734.0' -'368','368.0' -'369','1107.0' -'37','74.0' -'373','373.0' -'374','374.0' -'375','375.0' -'377','377.0' -'378','378.0' -'379','379.0' -'382','764.0' -'384','1152.0' -'386','386.0' -'389','389.0' -'392','392.0' -'393','393.0' -'394','394.0' -'395','790.0' -'396','1188.0' -'397','794.0' -'399','798.0' -'4','4.0' -'400','400.0' -'401','2005.0' -'402','402.0' -'403','1209.0' -'404','808.0' -'406','1624.0' -'407','407.0' -'409','1227.0' -'41','41.0' -'411','411.0' -'413','826.0' -'414','828.0' -'417','1251.0' -'418','418.0' -'419','419.0' -'42','84.0' -'421','421.0' -'424','848.0' -'427','427.0' -'429','858.0' -'43','43.0' -'430','1290.0' -'431','1293.0' -'432','432.0' -'435','435.0' -'436','436.0' -'437','437.0' -'438','1314.0' -'439','878.0' -'44','44.0' -'443','443.0' -'444','444.0' -'446','446.0' -'448','448.0' -'449','449.0' -'452','452.0' -'453','453.0' -'454','1362.0' -'455','455.0' -'457','457.0' -'458','916.0' -'459','918.0' -'460','460.0' -'462','924.0' -'463','926.0' -'466','1398.0' -'467','467.0' -'468','1872.0' -'469','2345.0' -'47','47.0' -'470','470.0' -'472','472.0' -'475','475.0' -'477','477.0' -'478','956.0' -'479','479.0' -'480','1440.0' -'481','481.0' -'482','482.0' -'483','483.0' -'484','484.0' -'485','485.0' -'487','487.0' -'489','1956.0' -'490','490.0' -'491','491.0' -'492','984.0' -'493','493.0' -'494','494.0' -'495','495.0' -'496','496.0' -'497','497.0' -'498','1494.0' -'5','15.0' -'51','102.0' -'53','53.0' -'54','54.0' -'57','57.0' -'58','116.0' -'64','64.0' -'65','65.0' -'66','66.0' -'67','134.0' -'69','69.0' -'70','210.0' -'72','144.0' -'74','74.0' -'76','152.0' -'77','77.0' -'78','78.0' -'8','8.0' -'80','80.0' -'82','82.0' -'83','166.0' -'84','168.0' -'85','85.0' -'86','86.0' -'87','87.0' -'9','9.0' -'90','270.0' -'92','92.0' -'95','190.0' -'96','96.0' -'97','194.0' -'98','196.0' -309 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/groupby7_noskew_multi_single_reducer.q.out ql/src/test/results/beelinepositive/groupby7_noskew_multi_single_reducer.q.out deleted file mode 100644 index 0f6a0dc..0000000 --- ql/src/test/results/beelinepositive/groupby7_noskew_multi_single_reducer.q.out +++ /dev/null @@ -1,235 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby7_noskew_multi_single_reducer.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby7_noskew_multi_single_reducer.q ->>> set hive.map.aggr=false; -No rows affected ->>> set hive.groupby.skewindata=false; -No rows affected ->>> set mapred.reduce.tasks=31; -No rows affected ->>> ->>> CREATE TABLE DEST1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE DEST2(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> SET hive.exec.compress.intermediate=true; -No rows affected ->>> SET hive.exec.compress.output=true; -No rows affected ->>> ->>> EXPLAIN -FROM SRC -INSERT OVERWRITE TABLE DEST1 SELECT SRC.key, sum(SUBSTR(SRC.value,5)) GROUP BY SRC.key limit 10 -INSERT OVERWRITE TABLE DEST2 SELECT SRC.key, sum(SUBSTR(SRC.value,5)) GROUP BY SRC.key limit 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME SRC))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL SRC) key)) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION SUBSTR (. (TOK_TABLE_OR_COL SRC) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL SRC) key)) (TOK_LIMIT 10)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST2))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL SRC) key)) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION SUBSTR (. (TOK_TABLE_OR_COL SRC) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL SRC) key)) (TOK_LIMIT 10)))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-3 depends on stages: Stage-2' -' Stage-0 depends on stages: Stage-3' -' Stage-4 depends on stages: Stage-0' -' Stage-5 depends on stages: Stage-2' -' Stage-1 depends on stages: Stage-5' -' Stage-6 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: -1' -' value expressions:' -' expr: substr(value, 5)' -' type: string' -' Reduce Operator Tree:' -' Forward' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: complete' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' Limit' -' File Output Operator' -' compressed: true' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: complete' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' Limit' -' File Output Operator' -' compressed: true' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: double' -' Reduce Operator Tree:' -' Extract' -' Limit' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: true' -' GlobalTableId: 1' -' 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: groupby7_noskew_multi_single_reducer.dest1' -'' -' 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: groupby7_noskew_multi_single_reducer.dest1' -'' -' Stage: Stage-4' -' Stats-Aggr Operator' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: double' -' Reduce Operator Tree:' -' Extract' -' Limit' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: true' -' GlobalTableId: 2' -' 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: groupby7_noskew_multi_single_reducer.dest2' -'' -' Stage: Stage-1' -' 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: groupby7_noskew_multi_single_reducer.dest2' -'' -' Stage: Stage-6' -' Stats-Aggr Operator' -'' -'' -176 rows selected ->>> ->>> FROM SRC -INSERT OVERWRITE TABLE DEST1 SELECT SRC.key, sum(SUBSTR(SRC.value,5)) GROUP BY SRC.key limit 10 -INSERT OVERWRITE TABLE DEST2 SELECT SRC.key, sum(SUBSTR(SRC.value,5)) GROUP BY SRC.key limit 10; -'_col0','_col1' -No rows selected ->>> ->>> SELECT DEST1.* FROM DEST1 ORDER BY key ASC, value ASC; -'key','value' -'0','0.0' -'10','10.0' -'11','11.0' -'100','200.0' -'103','206.0' -'104','208.0' -'105','105.0' -'111','111.0' -'113','226.0' -'114','114.0' -10 rows selected ->>> SELECT DEST2.* FROM DEST2 ORDER BY key ASC, value ASC; -'key','value' -'0','0.0' -'10','10.0' -'11','11.0' -'100','200.0' -'103','206.0' -'104','208.0' -'105','105.0' -'111','111.0' -'113','226.0' -'114','114.0' -10 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/groupby8.q.out ql/src/test/results/beelinepositive/groupby8.q.out deleted file mode 100644 index 9e09e8e..0000000 --- ql/src/test/results/beelinepositive/groupby8.q.out +++ /dev/null @@ -1,1669 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby8.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby8.q ->>> set hive.map.aggr=false; -No rows affected ->>> set hive.groupby.skewindata=true; -No rows affected ->>> ->>> CREATE TABLE DEST1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE DEST2(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM SRC -INSERT OVERWRITE TABLE DEST1 SELECT SRC.key, COUNT(DISTINCT SUBSTR(SRC.value,5)) GROUP BY SRC.key -INSERT OVERWRITE TABLE DEST2 SELECT SRC.key, COUNT(DISTINCT SUBSTR(SRC.value,5)) GROUP BY SRC.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME SRC))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL SRC) key)) (TOK_SELEXPR (TOK_FUNCTIONDI COUNT (TOK_FUNCTION SUBSTR (. (TOK_TABLE_OR_COL SRC) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL SRC) key))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST2))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL SRC) key)) (TOK_SELEXPR (TOK_FUNCTIONDI COUNT (TOK_FUNCTION SUBSTR (. (TOK_TABLE_OR_COL SRC) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL SRC) key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-3 depends on stages: Stage-2' -' Stage-0 depends on stages: Stage-3' -' Stage-4 depends on stages: Stage-0' -' Stage-5 depends on stages: Stage-2' -' Stage-1 depends on stages: Stage-5' -' Stage-6 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Reduce Output Operator' -' key expressions:' -' expr: substr(value, 5)' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: substr(value, 5)' -' type: string' -' tag: -1' -' value expressions:' -' expr: key' -' type: string' -' Reduce Operator Tree:' -' Forward' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col0)' -' bucketGroup: false' -' keys:' -' expr: VALUE._col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col0)' -' bucketGroup: false' -' keys:' -' expr: VALUE._col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby8.dest1' -'' -' 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: groupby8.dest1' -'' -' Stage: Stage-4' -' Stats-Aggr Operator' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: groupby8.dest2' -'' -' Stage: Stage-1' -' 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: groupby8.dest2' -'' -' Stage: Stage-6' -' Stats-Aggr Operator' -'' -'' -189 rows selected ->>> ->>> FROM SRC -INSERT OVERWRITE TABLE DEST1 SELECT SRC.key, COUNT(DISTINCT SUBSTR(SRC.value,5)) GROUP BY SRC.key -INSERT OVERWRITE TABLE DEST2 SELECT SRC.key, COUNT(DISTINCT SUBSTR(SRC.value,5)) GROUP BY SRC.key; -'_col0','_col1' -No rows selected ->>> ->>> SELECT DEST1.* FROM DEST1; -'key','value' -'0','1' -'10','1' -'100','1' -'103','1' -'104','1' -'105','1' -'11','1' -'111','1' -'113','1' -'114','1' -'116','1' -'118','1' -'119','1' -'12','1' -'120','1' -'125','1' -'126','1' -'128','1' -'129','1' -'131','1' -'133','1' -'134','1' -'136','1' -'137','1' -'138','1' -'143','1' -'145','1' -'146','1' -'149','1' -'15','1' -'150','1' -'152','1' -'153','1' -'155','1' -'156','1' -'157','1' -'158','1' -'160','1' -'162','1' -'163','1' -'164','1' -'165','1' -'166','1' -'167','1' -'168','1' -'169','1' -'17','1' -'170','1' -'172','1' -'174','1' -'175','1' -'176','1' -'177','1' -'178','1' -'179','1' -'18','1' -'180','1' -'181','1' -'183','1' -'186','1' -'187','1' -'189','1' -'19','1' -'190','1' -'191','1' -'192','1' -'193','1' -'194','1' -'195','1' -'196','1' -'197','1' -'199','1' -'2','1' -'20','1' -'200','1' -'201','1' -'202','1' -'203','1' -'205','1' -'207','1' -'208','1' -'209','1' -'213','1' -'214','1' -'216','1' -'217','1' -'218','1' -'219','1' -'221','1' -'222','1' -'223','1' -'224','1' -'226','1' -'228','1' -'229','1' -'230','1' -'233','1' -'235','1' -'237','1' -'238','1' -'239','1' -'24','1' -'241','1' -'242','1' -'244','1' -'247','1' -'248','1' -'249','1' -'252','1' -'255','1' -'256','1' -'257','1' -'258','1' -'26','1' -'260','1' -'262','1' -'263','1' -'265','1' -'266','1' -'27','1' -'272','1' -'273','1' -'274','1' -'275','1' -'277','1' -'278','1' -'28','1' -'280','1' -'281','1' -'282','1' -'283','1' -'284','1' -'285','1' -'286','1' -'287','1' -'288','1' -'289','1' -'291','1' -'292','1' -'296','1' -'298','1' -'30','1' -'302','1' -'305','1' -'306','1' -'307','1' -'308','1' -'309','1' -'310','1' -'311','1' -'315','1' -'316','1' -'317','1' -'318','1' -'321','1' -'322','1' -'323','1' -'325','1' -'327','1' -'33','1' -'331','1' -'332','1' -'333','1' -'335','1' -'336','1' -'338','1' -'339','1' -'34','1' -'341','1' -'342','1' -'344','1' -'345','1' -'348','1' -'35','1' -'351','1' -'353','1' -'356','1' -'360','1' -'362','1' -'364','1' -'365','1' -'366','1' -'367','1' -'368','1' -'369','1' -'37','1' -'373','1' -'374','1' -'375','1' -'377','1' -'378','1' -'379','1' -'382','1' -'384','1' -'386','1' -'389','1' -'392','1' -'393','1' -'394','1' -'395','1' -'396','1' -'397','1' -'399','1' -'4','1' -'400','1' -'401','1' -'402','1' -'403','1' -'404','1' -'406','1' -'407','1' -'409','1' -'41','1' -'411','1' -'413','1' -'414','1' -'417','1' -'418','1' -'419','1' -'42','1' -'421','1' -'424','1' -'427','1' -'429','1' -'43','1' -'430','1' -'431','1' -'432','1' -'435','1' -'436','1' -'437','1' -'438','1' -'439','1' -'44','1' -'443','1' -'444','1' -'446','1' -'448','1' -'449','1' -'452','1' -'453','1' -'454','1' -'455','1' -'457','1' -'458','1' -'459','1' -'460','1' -'462','1' -'463','1' -'466','1' -'467','1' -'468','1' -'469','1' -'47','1' -'470','1' -'472','1' -'475','1' -'477','1' -'478','1' -'479','1' -'480','1' -'481','1' -'482','1' -'483','1' -'484','1' -'485','1' -'487','1' -'489','1' -'490','1' -'491','1' -'492','1' -'493','1' -'494','1' -'495','1' -'496','1' -'497','1' -'498','1' -'5','1' -'51','1' -'53','1' -'54','1' -'57','1' -'58','1' -'64','1' -'65','1' -'66','1' -'67','1' -'69','1' -'70','1' -'72','1' -'74','1' -'76','1' -'77','1' -'78','1' -'8','1' -'80','1' -'82','1' -'83','1' -'84','1' -'85','1' -'86','1' -'87','1' -'9','1' -'90','1' -'92','1' -'95','1' -'96','1' -'97','1' -'98','1' -309 rows selected ->>> SELECT DEST2.* FROM DEST2; -'key','value' -'0','1' -'10','1' -'100','1' -'103','1' -'104','1' -'105','1' -'11','1' -'111','1' -'113','1' -'114','1' -'116','1' -'118','1' -'119','1' -'12','1' -'120','1' -'125','1' -'126','1' -'128','1' -'129','1' -'131','1' -'133','1' -'134','1' -'136','1' -'137','1' -'138','1' -'143','1' -'145','1' -'146','1' -'149','1' -'15','1' -'150','1' -'152','1' -'153','1' -'155','1' -'156','1' -'157','1' -'158','1' -'160','1' -'162','1' -'163','1' -'164','1' -'165','1' -'166','1' -'167','1' -'168','1' -'169','1' -'17','1' -'170','1' -'172','1' -'174','1' -'175','1' -'176','1' -'177','1' -'178','1' -'179','1' -'18','1' -'180','1' -'181','1' -'183','1' -'186','1' -'187','1' -'189','1' -'19','1' -'190','1' -'191','1' -'192','1' -'193','1' -'194','1' -'195','1' -'196','1' -'197','1' -'199','1' -'2','1' -'20','1' -'200','1' -'201','1' -'202','1' -'203','1' -'205','1' -'207','1' -'208','1' -'209','1' -'213','1' -'214','1' -'216','1' -'217','1' -'218','1' -'219','1' -'221','1' -'222','1' -'223','1' -'224','1' -'226','1' -'228','1' -'229','1' -'230','1' -'233','1' -'235','1' -'237','1' -'238','1' -'239','1' -'24','1' -'241','1' -'242','1' -'244','1' -'247','1' -'248','1' -'249','1' -'252','1' -'255','1' -'256','1' -'257','1' -'258','1' -'26','1' -'260','1' -'262','1' -'263','1' -'265','1' -'266','1' -'27','1' -'272','1' -'273','1' -'274','1' -'275','1' -'277','1' -'278','1' -'28','1' -'280','1' -'281','1' -'282','1' -'283','1' -'284','1' -'285','1' -'286','1' -'287','1' -'288','1' -'289','1' -'291','1' -'292','1' -'296','1' -'298','1' -'30','1' -'302','1' -'305','1' -'306','1' -'307','1' -'308','1' -'309','1' -'310','1' -'311','1' -'315','1' -'316','1' -'317','1' -'318','1' -'321','1' -'322','1' -'323','1' -'325','1' -'327','1' -'33','1' -'331','1' -'332','1' -'333','1' -'335','1' -'336','1' -'338','1' -'339','1' -'34','1' -'341','1' -'342','1' -'344','1' -'345','1' -'348','1' -'35','1' -'351','1' -'353','1' -'356','1' -'360','1' -'362','1' -'364','1' -'365','1' -'366','1' -'367','1' -'368','1' -'369','1' -'37','1' -'373','1' -'374','1' -'375','1' -'377','1' -'378','1' -'379','1' -'382','1' -'384','1' -'386','1' -'389','1' -'392','1' -'393','1' -'394','1' -'395','1' -'396','1' -'397','1' -'399','1' -'4','1' -'400','1' -'401','1' -'402','1' -'403','1' -'404','1' -'406','1' -'407','1' -'409','1' -'41','1' -'411','1' -'413','1' -'414','1' -'417','1' -'418','1' -'419','1' -'42','1' -'421','1' -'424','1' -'427','1' -'429','1' -'43','1' -'430','1' -'431','1' -'432','1' -'435','1' -'436','1' -'437','1' -'438','1' -'439','1' -'44','1' -'443','1' -'444','1' -'446','1' -'448','1' -'449','1' -'452','1' -'453','1' -'454','1' -'455','1' -'457','1' -'458','1' -'459','1' -'460','1' -'462','1' -'463','1' -'466','1' -'467','1' -'468','1' -'469','1' -'47','1' -'470','1' -'472','1' -'475','1' -'477','1' -'478','1' -'479','1' -'480','1' -'481','1' -'482','1' -'483','1' -'484','1' -'485','1' -'487','1' -'489','1' -'490','1' -'491','1' -'492','1' -'493','1' -'494','1' -'495','1' -'496','1' -'497','1' -'498','1' -'5','1' -'51','1' -'53','1' -'54','1' -'57','1' -'58','1' -'64','1' -'65','1' -'66','1' -'67','1' -'69','1' -'70','1' -'72','1' -'74','1' -'76','1' -'77','1' -'78','1' -'8','1' -'80','1' -'82','1' -'83','1' -'84','1' -'85','1' -'86','1' -'87','1' -'9','1' -'90','1' -'92','1' -'95','1' -'96','1' -'97','1' -'98','1' -309 rows selected ->>> ->>> set hive.multigroupby.singlereducer=false; -No rows affected ->>> ->>> EXPLAIN -FROM SRC -INSERT OVERWRITE TABLE DEST1 SELECT SRC.key, COUNT(DISTINCT SUBSTR(SRC.value,5)) GROUP BY SRC.key -INSERT OVERWRITE TABLE DEST2 SELECT SRC.key, COUNT(DISTINCT SUBSTR(SRC.value,5)) GROUP BY SRC.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME SRC))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL SRC) key)) (TOK_SELEXPR (TOK_FUNCTIONDI COUNT (TOK_FUNCTION SUBSTR (. (TOK_TABLE_OR_COL SRC) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL SRC) key))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST2))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL SRC) key)) (TOK_SELEXPR (TOK_FUNCTIONDI COUNT (TOK_FUNCTION SUBSTR (. (TOK_TABLE_OR_COL SRC) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL SRC) key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-3 depends on stages: Stage-2' -' Stage-0 depends on stages: Stage-3' -' Stage-4 depends on stages: Stage-0' -' Stage-5 depends on stages: Stage-2' -' Stage-1 depends on stages: Stage-5' -' Stage-6 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Reduce Output Operator' -' key expressions:' -' expr: substr(value, 5)' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: substr(value, 5)' -' type: string' -' tag: -1' -' value expressions:' -' expr: key' -' type: string' -' Reduce Operator Tree:' -' Forward' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col0)' -' bucketGroup: false' -' keys:' -' expr: VALUE._col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col0)' -' bucketGroup: false' -' keys:' -' expr: VALUE._col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby8.dest1' -'' -' 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: groupby8.dest1' -'' -' Stage: Stage-4' -' Stats-Aggr Operator' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: groupby8.dest2' -'' -' Stage: Stage-1' -' 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: groupby8.dest2' -'' -' Stage: Stage-6' -' Stats-Aggr Operator' -'' -'' -189 rows selected ->>> ->>> FROM SRC -INSERT OVERWRITE TABLE DEST1 SELECT SRC.key, COUNT(DISTINCT SUBSTR(SRC.value,5)) GROUP BY SRC.key -INSERT OVERWRITE TABLE DEST2 SELECT SRC.key, COUNT(DISTINCT SUBSTR(SRC.value,5)) GROUP BY SRC.key; -'_col0','_col1' -No rows selected ->>> ->>> SELECT DEST1.* FROM DEST1; -'key','value' -'0','1' -'10','1' -'100','1' -'103','1' -'104','1' -'105','1' -'11','1' -'111','1' -'113','1' -'114','1' -'116','1' -'118','1' -'119','1' -'12','1' -'120','1' -'125','1' -'126','1' -'128','1' -'129','1' -'131','1' -'133','1' -'134','1' -'136','1' -'137','1' -'138','1' -'143','1' -'145','1' -'146','1' -'149','1' -'15','1' -'150','1' -'152','1' -'153','1' -'155','1' -'156','1' -'157','1' -'158','1' -'160','1' -'162','1' -'163','1' -'164','1' -'165','1' -'166','1' -'167','1' -'168','1' -'169','1' -'17','1' -'170','1' -'172','1' -'174','1' -'175','1' -'176','1' -'177','1' -'178','1' -'179','1' -'18','1' -'180','1' -'181','1' -'183','1' -'186','1' -'187','1' -'189','1' -'19','1' -'190','1' -'191','1' -'192','1' -'193','1' -'194','1' -'195','1' -'196','1' -'197','1' -'199','1' -'2','1' -'20','1' -'200','1' -'201','1' -'202','1' -'203','1' -'205','1' -'207','1' -'208','1' -'209','1' -'213','1' -'214','1' -'216','1' -'217','1' -'218','1' -'219','1' -'221','1' -'222','1' -'223','1' -'224','1' -'226','1' -'228','1' -'229','1' -'230','1' -'233','1' -'235','1' -'237','1' -'238','1' -'239','1' -'24','1' -'241','1' -'242','1' -'244','1' -'247','1' -'248','1' -'249','1' -'252','1' -'255','1' -'256','1' -'257','1' -'258','1' -'26','1' -'260','1' -'262','1' -'263','1' -'265','1' -'266','1' -'27','1' -'272','1' -'273','1' -'274','1' -'275','1' -'277','1' -'278','1' -'28','1' -'280','1' -'281','1' -'282','1' -'283','1' -'284','1' -'285','1' -'286','1' -'287','1' -'288','1' -'289','1' -'291','1' -'292','1' -'296','1' -'298','1' -'30','1' -'302','1' -'305','1' -'306','1' -'307','1' -'308','1' -'309','1' -'310','1' -'311','1' -'315','1' -'316','1' -'317','1' -'318','1' -'321','1' -'322','1' -'323','1' -'325','1' -'327','1' -'33','1' -'331','1' -'332','1' -'333','1' -'335','1' -'336','1' -'338','1' -'339','1' -'34','1' -'341','1' -'342','1' -'344','1' -'345','1' -'348','1' -'35','1' -'351','1' -'353','1' -'356','1' -'360','1' -'362','1' -'364','1' -'365','1' -'366','1' -'367','1' -'368','1' -'369','1' -'37','1' -'373','1' -'374','1' -'375','1' -'377','1' -'378','1' -'379','1' -'382','1' -'384','1' -'386','1' -'389','1' -'392','1' -'393','1' -'394','1' -'395','1' -'396','1' -'397','1' -'399','1' -'4','1' -'400','1' -'401','1' -'402','1' -'403','1' -'404','1' -'406','1' -'407','1' -'409','1' -'41','1' -'411','1' -'413','1' -'414','1' -'417','1' -'418','1' -'419','1' -'42','1' -'421','1' -'424','1' -'427','1' -'429','1' -'43','1' -'430','1' -'431','1' -'432','1' -'435','1' -'436','1' -'437','1' -'438','1' -'439','1' -'44','1' -'443','1' -'444','1' -'446','1' -'448','1' -'449','1' -'452','1' -'453','1' -'454','1' -'455','1' -'457','1' -'458','1' -'459','1' -'460','1' -'462','1' -'463','1' -'466','1' -'467','1' -'468','1' -'469','1' -'47','1' -'470','1' -'472','1' -'475','1' -'477','1' -'478','1' -'479','1' -'480','1' -'481','1' -'482','1' -'483','1' -'484','1' -'485','1' -'487','1' -'489','1' -'490','1' -'491','1' -'492','1' -'493','1' -'494','1' -'495','1' -'496','1' -'497','1' -'498','1' -'5','1' -'51','1' -'53','1' -'54','1' -'57','1' -'58','1' -'64','1' -'65','1' -'66','1' -'67','1' -'69','1' -'70','1' -'72','1' -'74','1' -'76','1' -'77','1' -'78','1' -'8','1' -'80','1' -'82','1' -'83','1' -'84','1' -'85','1' -'86','1' -'87','1' -'9','1' -'90','1' -'92','1' -'95','1' -'96','1' -'97','1' -'98','1' -309 rows selected ->>> SELECT DEST2.* FROM DEST2; -'key','value' -'0','1' -'10','1' -'100','1' -'103','1' -'104','1' -'105','1' -'11','1' -'111','1' -'113','1' -'114','1' -'116','1' -'118','1' -'119','1' -'12','1' -'120','1' -'125','1' -'126','1' -'128','1' -'129','1' -'131','1' -'133','1' -'134','1' -'136','1' -'137','1' -'138','1' -'143','1' -'145','1' -'146','1' -'149','1' -'15','1' -'150','1' -'152','1' -'153','1' -'155','1' -'156','1' -'157','1' -'158','1' -'160','1' -'162','1' -'163','1' -'164','1' -'165','1' -'166','1' -'167','1' -'168','1' -'169','1' -'17','1' -'170','1' -'172','1' -'174','1' -'175','1' -'176','1' -'177','1' -'178','1' -'179','1' -'18','1' -'180','1' -'181','1' -'183','1' -'186','1' -'187','1' -'189','1' -'19','1' -'190','1' -'191','1' -'192','1' -'193','1' -'194','1' -'195','1' -'196','1' -'197','1' -'199','1' -'2','1' -'20','1' -'200','1' -'201','1' -'202','1' -'203','1' -'205','1' -'207','1' -'208','1' -'209','1' -'213','1' -'214','1' -'216','1' -'217','1' -'218','1' -'219','1' -'221','1' -'222','1' -'223','1' -'224','1' -'226','1' -'228','1' -'229','1' -'230','1' -'233','1' -'235','1' -'237','1' -'238','1' -'239','1' -'24','1' -'241','1' -'242','1' -'244','1' -'247','1' -'248','1' -'249','1' -'252','1' -'255','1' -'256','1' -'257','1' -'258','1' -'26','1' -'260','1' -'262','1' -'263','1' -'265','1' -'266','1' -'27','1' -'272','1' -'273','1' -'274','1' -'275','1' -'277','1' -'278','1' -'28','1' -'280','1' -'281','1' -'282','1' -'283','1' -'284','1' -'285','1' -'286','1' -'287','1' -'288','1' -'289','1' -'291','1' -'292','1' -'296','1' -'298','1' -'30','1' -'302','1' -'305','1' -'306','1' -'307','1' -'308','1' -'309','1' -'310','1' -'311','1' -'315','1' -'316','1' -'317','1' -'318','1' -'321','1' -'322','1' -'323','1' -'325','1' -'327','1' -'33','1' -'331','1' -'332','1' -'333','1' -'335','1' -'336','1' -'338','1' -'339','1' -'34','1' -'341','1' -'342','1' -'344','1' -'345','1' -'348','1' -'35','1' -'351','1' -'353','1' -'356','1' -'360','1' -'362','1' -'364','1' -'365','1' -'366','1' -'367','1' -'368','1' -'369','1' -'37','1' -'373','1' -'374','1' -'375','1' -'377','1' -'378','1' -'379','1' -'382','1' -'384','1' -'386','1' -'389','1' -'392','1' -'393','1' -'394','1' -'395','1' -'396','1' -'397','1' -'399','1' -'4','1' -'400','1' -'401','1' -'402','1' -'403','1' -'404','1' -'406','1' -'407','1' -'409','1' -'41','1' -'411','1' -'413','1' -'414','1' -'417','1' -'418','1' -'419','1' -'42','1' -'421','1' -'424','1' -'427','1' -'429','1' -'43','1' -'430','1' -'431','1' -'432','1' -'435','1' -'436','1' -'437','1' -'438','1' -'439','1' -'44','1' -'443','1' -'444','1' -'446','1' -'448','1' -'449','1' -'452','1' -'453','1' -'454','1' -'455','1' -'457','1' -'458','1' -'459','1' -'460','1' -'462','1' -'463','1' -'466','1' -'467','1' -'468','1' -'469','1' -'47','1' -'470','1' -'472','1' -'475','1' -'477','1' -'478','1' -'479','1' -'480','1' -'481','1' -'482','1' -'483','1' -'484','1' -'485','1' -'487','1' -'489','1' -'490','1' -'491','1' -'492','1' -'493','1' -'494','1' -'495','1' -'496','1' -'497','1' -'498','1' -'5','1' -'51','1' -'53','1' -'54','1' -'57','1' -'58','1' -'64','1' -'65','1' -'66','1' -'67','1' -'69','1' -'70','1' -'72','1' -'74','1' -'76','1' -'77','1' -'78','1' -'8','1' -'80','1' -'82','1' -'83','1' -'84','1' -'85','1' -'86','1' -'87','1' -'9','1' -'90','1' -'92','1' -'95','1' -'96','1' -'97','1' -'98','1' -309 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/groupby8_map.q.out ql/src/test/results/beelinepositive/groupby8_map.q.out deleted file mode 100644 index 189a437..0000000 --- ql/src/test/results/beelinepositive/groupby8_map.q.out +++ /dev/null @@ -1,842 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby8_map.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby8_map.q ->>> set hive.map.aggr=true; -No rows affected ->>> set hive.groupby.skewindata=false; -No rows affected ->>> set mapred.reduce.tasks=31; -No rows affected ->>> ->>> CREATE TABLE DEST1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE DEST2(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM SRC -INSERT OVERWRITE TABLE DEST1 SELECT SRC.key, COUNT(DISTINCT SUBSTR(SRC.value,5)) GROUP BY SRC.key -INSERT OVERWRITE TABLE DEST2 SELECT SRC.key, COUNT(DISTINCT SUBSTR(SRC.value,5)) GROUP BY SRC.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME SRC))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL SRC) key)) (TOK_SELEXPR (TOK_FUNCTIONDI COUNT (TOK_FUNCTION SUBSTR (. (TOK_TABLE_OR_COL SRC) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL SRC) key))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST2))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL SRC) key)) (TOK_SELEXPR (TOK_FUNCTIONDI COUNT (TOK_FUNCTION SUBSTR (. (TOK_TABLE_OR_COL SRC) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL SRC) key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-3 depends on stages: Stage-2' -' Stage-0 depends on stages: Stage-3' -' Stage-4 depends on stages: Stage-0' -' Stage-5 depends on stages: Stage-2' -' Stage-1 depends on stages: Stage-5' -' Stage-6 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Reduce Output Operator' -' key expressions:' -' expr: substr(value, 5)' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: substr(value, 5)' -' type: string' -' tag: -1' -' value expressions:' -' expr: key' -' type: string' -' Reduce Operator Tree:' -' Forward' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col0)' -' bucketGroup: false' -' keys:' -' expr: VALUE._col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col0)' -' bucketGroup: false' -' keys:' -' expr: VALUE._col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby8_map.dest1' -'' -' 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: groupby8_map.dest1' -'' -' Stage: Stage-4' -' Stats-Aggr Operator' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: groupby8_map.dest2' -'' -' Stage: Stage-1' -' 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: groupby8_map.dest2' -'' -' Stage: Stage-6' -' Stats-Aggr Operator' -'' -'' -189 rows selected ->>> ->>> FROM SRC -INSERT OVERWRITE TABLE DEST1 SELECT SRC.key, COUNT(DISTINCT SUBSTR(SRC.value,5)) GROUP BY SRC.key -INSERT OVERWRITE TABLE DEST2 SELECT SRC.key, COUNT(DISTINCT SUBSTR(SRC.value,5)) GROUP BY SRC.key; -'_col0','_col1' -No rows selected ->>> ->>> SELECT DEST1.* FROM DEST1; -'key','value' -'0','1' -'10','1' -'100','1' -'103','1' -'104','1' -'105','1' -'11','1' -'111','1' -'113','1' -'114','1' -'116','1' -'118','1' -'119','1' -'12','1' -'120','1' -'125','1' -'126','1' -'128','1' -'129','1' -'131','1' -'133','1' -'134','1' -'136','1' -'137','1' -'138','1' -'143','1' -'145','1' -'146','1' -'149','1' -'15','1' -'150','1' -'152','1' -'153','1' -'155','1' -'156','1' -'157','1' -'158','1' -'160','1' -'162','1' -'163','1' -'164','1' -'165','1' -'166','1' -'167','1' -'168','1' -'169','1' -'17','1' -'170','1' -'172','1' -'174','1' -'175','1' -'176','1' -'177','1' -'178','1' -'179','1' -'18','1' -'180','1' -'181','1' -'183','1' -'186','1' -'187','1' -'189','1' -'19','1' -'190','1' -'191','1' -'192','1' -'193','1' -'194','1' -'195','1' -'196','1' -'197','1' -'199','1' -'2','1' -'20','1' -'200','1' -'201','1' -'202','1' -'203','1' -'205','1' -'207','1' -'208','1' -'209','1' -'213','1' -'214','1' -'216','1' -'217','1' -'218','1' -'219','1' -'221','1' -'222','1' -'223','1' -'224','1' -'226','1' -'228','1' -'229','1' -'230','1' -'233','1' -'235','1' -'237','1' -'238','1' -'239','1' -'24','1' -'241','1' -'242','1' -'244','1' -'247','1' -'248','1' -'249','1' -'252','1' -'255','1' -'256','1' -'257','1' -'258','1' -'26','1' -'260','1' -'262','1' -'263','1' -'265','1' -'266','1' -'27','1' -'272','1' -'273','1' -'274','1' -'275','1' -'277','1' -'278','1' -'28','1' -'280','1' -'281','1' -'282','1' -'283','1' -'284','1' -'285','1' -'286','1' -'287','1' -'288','1' -'289','1' -'291','1' -'292','1' -'296','1' -'298','1' -'30','1' -'302','1' -'305','1' -'306','1' -'307','1' -'308','1' -'309','1' -'310','1' -'311','1' -'315','1' -'316','1' -'317','1' -'318','1' -'321','1' -'322','1' -'323','1' -'325','1' -'327','1' -'33','1' -'331','1' -'332','1' -'333','1' -'335','1' -'336','1' -'338','1' -'339','1' -'34','1' -'341','1' -'342','1' -'344','1' -'345','1' -'348','1' -'35','1' -'351','1' -'353','1' -'356','1' -'360','1' -'362','1' -'364','1' -'365','1' -'366','1' -'367','1' -'368','1' -'369','1' -'37','1' -'373','1' -'374','1' -'375','1' -'377','1' -'378','1' -'379','1' -'382','1' -'384','1' -'386','1' -'389','1' -'392','1' -'393','1' -'394','1' -'395','1' -'396','1' -'397','1' -'399','1' -'4','1' -'400','1' -'401','1' -'402','1' -'403','1' -'404','1' -'406','1' -'407','1' -'409','1' -'41','1' -'411','1' -'413','1' -'414','1' -'417','1' -'418','1' -'419','1' -'42','1' -'421','1' -'424','1' -'427','1' -'429','1' -'43','1' -'430','1' -'431','1' -'432','1' -'435','1' -'436','1' -'437','1' -'438','1' -'439','1' -'44','1' -'443','1' -'444','1' -'446','1' -'448','1' -'449','1' -'452','1' -'453','1' -'454','1' -'455','1' -'457','1' -'458','1' -'459','1' -'460','1' -'462','1' -'463','1' -'466','1' -'467','1' -'468','1' -'469','1' -'47','1' -'470','1' -'472','1' -'475','1' -'477','1' -'478','1' -'479','1' -'480','1' -'481','1' -'482','1' -'483','1' -'484','1' -'485','1' -'487','1' -'489','1' -'490','1' -'491','1' -'492','1' -'493','1' -'494','1' -'495','1' -'496','1' -'497','1' -'498','1' -'5','1' -'51','1' -'53','1' -'54','1' -'57','1' -'58','1' -'64','1' -'65','1' -'66','1' -'67','1' -'69','1' -'70','1' -'72','1' -'74','1' -'76','1' -'77','1' -'78','1' -'8','1' -'80','1' -'82','1' -'83','1' -'84','1' -'85','1' -'86','1' -'87','1' -'9','1' -'90','1' -'92','1' -'95','1' -'96','1' -'97','1' -'98','1' -309 rows selected ->>> SELECT DEST2.* FROM DEST2; -'key','value' -'0','1' -'10','1' -'100','1' -'103','1' -'104','1' -'105','1' -'11','1' -'111','1' -'113','1' -'114','1' -'116','1' -'118','1' -'119','1' -'12','1' -'120','1' -'125','1' -'126','1' -'128','1' -'129','1' -'131','1' -'133','1' -'134','1' -'136','1' -'137','1' -'138','1' -'143','1' -'145','1' -'146','1' -'149','1' -'15','1' -'150','1' -'152','1' -'153','1' -'155','1' -'156','1' -'157','1' -'158','1' -'160','1' -'162','1' -'163','1' -'164','1' -'165','1' -'166','1' -'167','1' -'168','1' -'169','1' -'17','1' -'170','1' -'172','1' -'174','1' -'175','1' -'176','1' -'177','1' -'178','1' -'179','1' -'18','1' -'180','1' -'181','1' -'183','1' -'186','1' -'187','1' -'189','1' -'19','1' -'190','1' -'191','1' -'192','1' -'193','1' -'194','1' -'195','1' -'196','1' -'197','1' -'199','1' -'2','1' -'20','1' -'200','1' -'201','1' -'202','1' -'203','1' -'205','1' -'207','1' -'208','1' -'209','1' -'213','1' -'214','1' -'216','1' -'217','1' -'218','1' -'219','1' -'221','1' -'222','1' -'223','1' -'224','1' -'226','1' -'228','1' -'229','1' -'230','1' -'233','1' -'235','1' -'237','1' -'238','1' -'239','1' -'24','1' -'241','1' -'242','1' -'244','1' -'247','1' -'248','1' -'249','1' -'252','1' -'255','1' -'256','1' -'257','1' -'258','1' -'26','1' -'260','1' -'262','1' -'263','1' -'265','1' -'266','1' -'27','1' -'272','1' -'273','1' -'274','1' -'275','1' -'277','1' -'278','1' -'28','1' -'280','1' -'281','1' -'282','1' -'283','1' -'284','1' -'285','1' -'286','1' -'287','1' -'288','1' -'289','1' -'291','1' -'292','1' -'296','1' -'298','1' -'30','1' -'302','1' -'305','1' -'306','1' -'307','1' -'308','1' -'309','1' -'310','1' -'311','1' -'315','1' -'316','1' -'317','1' -'318','1' -'321','1' -'322','1' -'323','1' -'325','1' -'327','1' -'33','1' -'331','1' -'332','1' -'333','1' -'335','1' -'336','1' -'338','1' -'339','1' -'34','1' -'341','1' -'342','1' -'344','1' -'345','1' -'348','1' -'35','1' -'351','1' -'353','1' -'356','1' -'360','1' -'362','1' -'364','1' -'365','1' -'366','1' -'367','1' -'368','1' -'369','1' -'37','1' -'373','1' -'374','1' -'375','1' -'377','1' -'378','1' -'379','1' -'382','1' -'384','1' -'386','1' -'389','1' -'392','1' -'393','1' -'394','1' -'395','1' -'396','1' -'397','1' -'399','1' -'4','1' -'400','1' -'401','1' -'402','1' -'403','1' -'404','1' -'406','1' -'407','1' -'409','1' -'41','1' -'411','1' -'413','1' -'414','1' -'417','1' -'418','1' -'419','1' -'42','1' -'421','1' -'424','1' -'427','1' -'429','1' -'43','1' -'430','1' -'431','1' -'432','1' -'435','1' -'436','1' -'437','1' -'438','1' -'439','1' -'44','1' -'443','1' -'444','1' -'446','1' -'448','1' -'449','1' -'452','1' -'453','1' -'454','1' -'455','1' -'457','1' -'458','1' -'459','1' -'460','1' -'462','1' -'463','1' -'466','1' -'467','1' -'468','1' -'469','1' -'47','1' -'470','1' -'472','1' -'475','1' -'477','1' -'478','1' -'479','1' -'480','1' -'481','1' -'482','1' -'483','1' -'484','1' -'485','1' -'487','1' -'489','1' -'490','1' -'491','1' -'492','1' -'493','1' -'494','1' -'495','1' -'496','1' -'497','1' -'498','1' -'5','1' -'51','1' -'53','1' -'54','1' -'57','1' -'58','1' -'64','1' -'65','1' -'66','1' -'67','1' -'69','1' -'70','1' -'72','1' -'74','1' -'76','1' -'77','1' -'78','1' -'8','1' -'80','1' -'82','1' -'83','1' -'84','1' -'85','1' -'86','1' -'87','1' -'9','1' -'90','1' -'92','1' -'95','1' -'96','1' -'97','1' -'98','1' -309 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/groupby8_map_skew.q.out ql/src/test/results/beelinepositive/groupby8_map_skew.q.out deleted file mode 100644 index c0e3501..0000000 --- ql/src/test/results/beelinepositive/groupby8_map_skew.q.out +++ /dev/null @@ -1,842 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby8_map_skew.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby8_map_skew.q ->>> set hive.map.aggr=true; -No rows affected ->>> set hive.groupby.skewindata=true; -No rows affected ->>> set mapred.reduce.tasks=31; -No rows affected ->>> ->>> CREATE TABLE DEST1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE DEST2(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM SRC -INSERT OVERWRITE TABLE DEST1 SELECT SRC.key, COUNT(DISTINCT SUBSTR(SRC.value,5)) GROUP BY SRC.key -INSERT OVERWRITE TABLE DEST2 SELECT SRC.key, COUNT(DISTINCT SUBSTR(SRC.value,5)) GROUP BY SRC.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME SRC))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL SRC) key)) (TOK_SELEXPR (TOK_FUNCTIONDI COUNT (TOK_FUNCTION SUBSTR (. (TOK_TABLE_OR_COL SRC) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL SRC) key))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST2))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL SRC) key)) (TOK_SELEXPR (TOK_FUNCTIONDI COUNT (TOK_FUNCTION SUBSTR (. (TOK_TABLE_OR_COL SRC) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL SRC) key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-3 depends on stages: Stage-2' -' Stage-0 depends on stages: Stage-3' -' Stage-4 depends on stages: Stage-0' -' Stage-5 depends on stages: Stage-2' -' Stage-1 depends on stages: Stage-5' -' Stage-6 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Reduce Output Operator' -' key expressions:' -' expr: substr(value, 5)' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: substr(value, 5)' -' type: string' -' tag: -1' -' value expressions:' -' expr: key' -' type: string' -' Reduce Operator Tree:' -' Forward' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col0)' -' bucketGroup: false' -' keys:' -' expr: VALUE._col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col0)' -' bucketGroup: false' -' keys:' -' expr: VALUE._col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby8_map_skew.dest1' -'' -' 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: groupby8_map_skew.dest1' -'' -' Stage: Stage-4' -' Stats-Aggr Operator' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: groupby8_map_skew.dest2' -'' -' Stage: Stage-1' -' 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: groupby8_map_skew.dest2' -'' -' Stage: Stage-6' -' Stats-Aggr Operator' -'' -'' -189 rows selected ->>> ->>> FROM SRC -INSERT OVERWRITE TABLE DEST1 SELECT SRC.key, COUNT(DISTINCT SUBSTR(SRC.value,5)) GROUP BY SRC.key -INSERT OVERWRITE TABLE DEST2 SELECT SRC.key, COUNT(DISTINCT SUBSTR(SRC.value,5)) GROUP BY SRC.key; -'_col0','_col1' -No rows selected ->>> ->>> SELECT DEST1.* FROM DEST1; -'key','value' -'0','1' -'10','1' -'100','1' -'103','1' -'104','1' -'105','1' -'11','1' -'111','1' -'113','1' -'114','1' -'116','1' -'118','1' -'119','1' -'12','1' -'120','1' -'125','1' -'126','1' -'128','1' -'129','1' -'131','1' -'133','1' -'134','1' -'136','1' -'137','1' -'138','1' -'143','1' -'145','1' -'146','1' -'149','1' -'15','1' -'150','1' -'152','1' -'153','1' -'155','1' -'156','1' -'157','1' -'158','1' -'160','1' -'162','1' -'163','1' -'164','1' -'165','1' -'166','1' -'167','1' -'168','1' -'169','1' -'17','1' -'170','1' -'172','1' -'174','1' -'175','1' -'176','1' -'177','1' -'178','1' -'179','1' -'18','1' -'180','1' -'181','1' -'183','1' -'186','1' -'187','1' -'189','1' -'19','1' -'190','1' -'191','1' -'192','1' -'193','1' -'194','1' -'195','1' -'196','1' -'197','1' -'199','1' -'2','1' -'20','1' -'200','1' -'201','1' -'202','1' -'203','1' -'205','1' -'207','1' -'208','1' -'209','1' -'213','1' -'214','1' -'216','1' -'217','1' -'218','1' -'219','1' -'221','1' -'222','1' -'223','1' -'224','1' -'226','1' -'228','1' -'229','1' -'230','1' -'233','1' -'235','1' -'237','1' -'238','1' -'239','1' -'24','1' -'241','1' -'242','1' -'244','1' -'247','1' -'248','1' -'249','1' -'252','1' -'255','1' -'256','1' -'257','1' -'258','1' -'26','1' -'260','1' -'262','1' -'263','1' -'265','1' -'266','1' -'27','1' -'272','1' -'273','1' -'274','1' -'275','1' -'277','1' -'278','1' -'28','1' -'280','1' -'281','1' -'282','1' -'283','1' -'284','1' -'285','1' -'286','1' -'287','1' -'288','1' -'289','1' -'291','1' -'292','1' -'296','1' -'298','1' -'30','1' -'302','1' -'305','1' -'306','1' -'307','1' -'308','1' -'309','1' -'310','1' -'311','1' -'315','1' -'316','1' -'317','1' -'318','1' -'321','1' -'322','1' -'323','1' -'325','1' -'327','1' -'33','1' -'331','1' -'332','1' -'333','1' -'335','1' -'336','1' -'338','1' -'339','1' -'34','1' -'341','1' -'342','1' -'344','1' -'345','1' -'348','1' -'35','1' -'351','1' -'353','1' -'356','1' -'360','1' -'362','1' -'364','1' -'365','1' -'366','1' -'367','1' -'368','1' -'369','1' -'37','1' -'373','1' -'374','1' -'375','1' -'377','1' -'378','1' -'379','1' -'382','1' -'384','1' -'386','1' -'389','1' -'392','1' -'393','1' -'394','1' -'395','1' -'396','1' -'397','1' -'399','1' -'4','1' -'400','1' -'401','1' -'402','1' -'403','1' -'404','1' -'406','1' -'407','1' -'409','1' -'41','1' -'411','1' -'413','1' -'414','1' -'417','1' -'418','1' -'419','1' -'42','1' -'421','1' -'424','1' -'427','1' -'429','1' -'43','1' -'430','1' -'431','1' -'432','1' -'435','1' -'436','1' -'437','1' -'438','1' -'439','1' -'44','1' -'443','1' -'444','1' -'446','1' -'448','1' -'449','1' -'452','1' -'453','1' -'454','1' -'455','1' -'457','1' -'458','1' -'459','1' -'460','1' -'462','1' -'463','1' -'466','1' -'467','1' -'468','1' -'469','1' -'47','1' -'470','1' -'472','1' -'475','1' -'477','1' -'478','1' -'479','1' -'480','1' -'481','1' -'482','1' -'483','1' -'484','1' -'485','1' -'487','1' -'489','1' -'490','1' -'491','1' -'492','1' -'493','1' -'494','1' -'495','1' -'496','1' -'497','1' -'498','1' -'5','1' -'51','1' -'53','1' -'54','1' -'57','1' -'58','1' -'64','1' -'65','1' -'66','1' -'67','1' -'69','1' -'70','1' -'72','1' -'74','1' -'76','1' -'77','1' -'78','1' -'8','1' -'80','1' -'82','1' -'83','1' -'84','1' -'85','1' -'86','1' -'87','1' -'9','1' -'90','1' -'92','1' -'95','1' -'96','1' -'97','1' -'98','1' -309 rows selected ->>> SELECT DEST2.* FROM DEST2; -'key','value' -'0','1' -'10','1' -'100','1' -'103','1' -'104','1' -'105','1' -'11','1' -'111','1' -'113','1' -'114','1' -'116','1' -'118','1' -'119','1' -'12','1' -'120','1' -'125','1' -'126','1' -'128','1' -'129','1' -'131','1' -'133','1' -'134','1' -'136','1' -'137','1' -'138','1' -'143','1' -'145','1' -'146','1' -'149','1' -'15','1' -'150','1' -'152','1' -'153','1' -'155','1' -'156','1' -'157','1' -'158','1' -'160','1' -'162','1' -'163','1' -'164','1' -'165','1' -'166','1' -'167','1' -'168','1' -'169','1' -'17','1' -'170','1' -'172','1' -'174','1' -'175','1' -'176','1' -'177','1' -'178','1' -'179','1' -'18','1' -'180','1' -'181','1' -'183','1' -'186','1' -'187','1' -'189','1' -'19','1' -'190','1' -'191','1' -'192','1' -'193','1' -'194','1' -'195','1' -'196','1' -'197','1' -'199','1' -'2','1' -'20','1' -'200','1' -'201','1' -'202','1' -'203','1' -'205','1' -'207','1' -'208','1' -'209','1' -'213','1' -'214','1' -'216','1' -'217','1' -'218','1' -'219','1' -'221','1' -'222','1' -'223','1' -'224','1' -'226','1' -'228','1' -'229','1' -'230','1' -'233','1' -'235','1' -'237','1' -'238','1' -'239','1' -'24','1' -'241','1' -'242','1' -'244','1' -'247','1' -'248','1' -'249','1' -'252','1' -'255','1' -'256','1' -'257','1' -'258','1' -'26','1' -'260','1' -'262','1' -'263','1' -'265','1' -'266','1' -'27','1' -'272','1' -'273','1' -'274','1' -'275','1' -'277','1' -'278','1' -'28','1' -'280','1' -'281','1' -'282','1' -'283','1' -'284','1' -'285','1' -'286','1' -'287','1' -'288','1' -'289','1' -'291','1' -'292','1' -'296','1' -'298','1' -'30','1' -'302','1' -'305','1' -'306','1' -'307','1' -'308','1' -'309','1' -'310','1' -'311','1' -'315','1' -'316','1' -'317','1' -'318','1' -'321','1' -'322','1' -'323','1' -'325','1' -'327','1' -'33','1' -'331','1' -'332','1' -'333','1' -'335','1' -'336','1' -'338','1' -'339','1' -'34','1' -'341','1' -'342','1' -'344','1' -'345','1' -'348','1' -'35','1' -'351','1' -'353','1' -'356','1' -'360','1' -'362','1' -'364','1' -'365','1' -'366','1' -'367','1' -'368','1' -'369','1' -'37','1' -'373','1' -'374','1' -'375','1' -'377','1' -'378','1' -'379','1' -'382','1' -'384','1' -'386','1' -'389','1' -'392','1' -'393','1' -'394','1' -'395','1' -'396','1' -'397','1' -'399','1' -'4','1' -'400','1' -'401','1' -'402','1' -'403','1' -'404','1' -'406','1' -'407','1' -'409','1' -'41','1' -'411','1' -'413','1' -'414','1' -'417','1' -'418','1' -'419','1' -'42','1' -'421','1' -'424','1' -'427','1' -'429','1' -'43','1' -'430','1' -'431','1' -'432','1' -'435','1' -'436','1' -'437','1' -'438','1' -'439','1' -'44','1' -'443','1' -'444','1' -'446','1' -'448','1' -'449','1' -'452','1' -'453','1' -'454','1' -'455','1' -'457','1' -'458','1' -'459','1' -'460','1' -'462','1' -'463','1' -'466','1' -'467','1' -'468','1' -'469','1' -'47','1' -'470','1' -'472','1' -'475','1' -'477','1' -'478','1' -'479','1' -'480','1' -'481','1' -'482','1' -'483','1' -'484','1' -'485','1' -'487','1' -'489','1' -'490','1' -'491','1' -'492','1' -'493','1' -'494','1' -'495','1' -'496','1' -'497','1' -'498','1' -'5','1' -'51','1' -'53','1' -'54','1' -'57','1' -'58','1' -'64','1' -'65','1' -'66','1' -'67','1' -'69','1' -'70','1' -'72','1' -'74','1' -'76','1' -'77','1' -'78','1' -'8','1' -'80','1' -'82','1' -'83','1' -'84','1' -'85','1' -'86','1' -'87','1' -'9','1' -'90','1' -'92','1' -'95','1' -'96','1' -'97','1' -'98','1' -309 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/groupby8_noskew.q.out ql/src/test/results/beelinepositive/groupby8_noskew.q.out deleted file mode 100644 index 21a2692..0000000 --- ql/src/test/results/beelinepositive/groupby8_noskew.q.out +++ /dev/null @@ -1,842 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby8_noskew.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby8_noskew.q ->>> set hive.map.aggr=false; -No rows affected ->>> ->>> set hive.groupby.skewindata=false; -No rows affected ->>> set mapred.reduce.tasks=31; -No rows affected ->>> ->>> CREATE TABLE DEST1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE DEST2(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM SRC -INSERT OVERWRITE TABLE DEST1 SELECT SRC.key, COUNT(DISTINCT SUBSTR(SRC.value,5)) GROUP BY SRC.key -INSERT OVERWRITE TABLE DEST2 SELECT SRC.key, COUNT(DISTINCT SUBSTR(SRC.value,5)) GROUP BY SRC.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME SRC))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL SRC) key)) (TOK_SELEXPR (TOK_FUNCTIONDI COUNT (TOK_FUNCTION SUBSTR (. (TOK_TABLE_OR_COL SRC) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL SRC) key))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST2))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL SRC) key)) (TOK_SELEXPR (TOK_FUNCTIONDI COUNT (TOK_FUNCTION SUBSTR (. (TOK_TABLE_OR_COL SRC) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL SRC) key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-3 depends on stages: Stage-2' -' Stage-0 depends on stages: Stage-3' -' Stage-4 depends on stages: Stage-0' -' Stage-5 depends on stages: Stage-2' -' Stage-1 depends on stages: Stage-5' -' Stage-6 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Reduce Output Operator' -' key expressions:' -' expr: substr(value, 5)' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: substr(value, 5)' -' type: string' -' tag: -1' -' value expressions:' -' expr: key' -' type: string' -' Reduce Operator Tree:' -' Forward' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col0)' -' bucketGroup: false' -' keys:' -' expr: VALUE._col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col0)' -' bucketGroup: false' -' keys:' -' expr: VALUE._col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby8_noskew.dest1' -'' -' 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: groupby8_noskew.dest1' -'' -' Stage: Stage-4' -' Stats-Aggr Operator' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: groupby8_noskew.dest2' -'' -' Stage: Stage-1' -' 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: groupby8_noskew.dest2' -'' -' Stage: Stage-6' -' Stats-Aggr Operator' -'' -'' -189 rows selected ->>> ->>> FROM SRC -INSERT OVERWRITE TABLE DEST1 SELECT SRC.key, COUNT(DISTINCT SUBSTR(SRC.value,5)) GROUP BY SRC.key -INSERT OVERWRITE TABLE DEST2 SELECT SRC.key, COUNT(DISTINCT SUBSTR(SRC.value,5)) GROUP BY SRC.key; -'_col0','_col1' -No rows selected ->>> ->>> SELECT DEST1.* FROM DEST1; -'key','value' -'0','1' -'10','1' -'100','1' -'103','1' -'104','1' -'105','1' -'11','1' -'111','1' -'113','1' -'114','1' -'116','1' -'118','1' -'119','1' -'12','1' -'120','1' -'125','1' -'126','1' -'128','1' -'129','1' -'131','1' -'133','1' -'134','1' -'136','1' -'137','1' -'138','1' -'143','1' -'145','1' -'146','1' -'149','1' -'15','1' -'150','1' -'152','1' -'153','1' -'155','1' -'156','1' -'157','1' -'158','1' -'160','1' -'162','1' -'163','1' -'164','1' -'165','1' -'166','1' -'167','1' -'168','1' -'169','1' -'17','1' -'170','1' -'172','1' -'174','1' -'175','1' -'176','1' -'177','1' -'178','1' -'179','1' -'18','1' -'180','1' -'181','1' -'183','1' -'186','1' -'187','1' -'189','1' -'19','1' -'190','1' -'191','1' -'192','1' -'193','1' -'194','1' -'195','1' -'196','1' -'197','1' -'199','1' -'2','1' -'20','1' -'200','1' -'201','1' -'202','1' -'203','1' -'205','1' -'207','1' -'208','1' -'209','1' -'213','1' -'214','1' -'216','1' -'217','1' -'218','1' -'219','1' -'221','1' -'222','1' -'223','1' -'224','1' -'226','1' -'228','1' -'229','1' -'230','1' -'233','1' -'235','1' -'237','1' -'238','1' -'239','1' -'24','1' -'241','1' -'242','1' -'244','1' -'247','1' -'248','1' -'249','1' -'252','1' -'255','1' -'256','1' -'257','1' -'258','1' -'26','1' -'260','1' -'262','1' -'263','1' -'265','1' -'266','1' -'27','1' -'272','1' -'273','1' -'274','1' -'275','1' -'277','1' -'278','1' -'28','1' -'280','1' -'281','1' -'282','1' -'283','1' -'284','1' -'285','1' -'286','1' -'287','1' -'288','1' -'289','1' -'291','1' -'292','1' -'296','1' -'298','1' -'30','1' -'302','1' -'305','1' -'306','1' -'307','1' -'308','1' -'309','1' -'310','1' -'311','1' -'315','1' -'316','1' -'317','1' -'318','1' -'321','1' -'322','1' -'323','1' -'325','1' -'327','1' -'33','1' -'331','1' -'332','1' -'333','1' -'335','1' -'336','1' -'338','1' -'339','1' -'34','1' -'341','1' -'342','1' -'344','1' -'345','1' -'348','1' -'35','1' -'351','1' -'353','1' -'356','1' -'360','1' -'362','1' -'364','1' -'365','1' -'366','1' -'367','1' -'368','1' -'369','1' -'37','1' -'373','1' -'374','1' -'375','1' -'377','1' -'378','1' -'379','1' -'382','1' -'384','1' -'386','1' -'389','1' -'392','1' -'393','1' -'394','1' -'395','1' -'396','1' -'397','1' -'399','1' -'4','1' -'400','1' -'401','1' -'402','1' -'403','1' -'404','1' -'406','1' -'407','1' -'409','1' -'41','1' -'411','1' -'413','1' -'414','1' -'417','1' -'418','1' -'419','1' -'42','1' -'421','1' -'424','1' -'427','1' -'429','1' -'43','1' -'430','1' -'431','1' -'432','1' -'435','1' -'436','1' -'437','1' -'438','1' -'439','1' -'44','1' -'443','1' -'444','1' -'446','1' -'448','1' -'449','1' -'452','1' -'453','1' -'454','1' -'455','1' -'457','1' -'458','1' -'459','1' -'460','1' -'462','1' -'463','1' -'466','1' -'467','1' -'468','1' -'469','1' -'47','1' -'470','1' -'472','1' -'475','1' -'477','1' -'478','1' -'479','1' -'480','1' -'481','1' -'482','1' -'483','1' -'484','1' -'485','1' -'487','1' -'489','1' -'490','1' -'491','1' -'492','1' -'493','1' -'494','1' -'495','1' -'496','1' -'497','1' -'498','1' -'5','1' -'51','1' -'53','1' -'54','1' -'57','1' -'58','1' -'64','1' -'65','1' -'66','1' -'67','1' -'69','1' -'70','1' -'72','1' -'74','1' -'76','1' -'77','1' -'78','1' -'8','1' -'80','1' -'82','1' -'83','1' -'84','1' -'85','1' -'86','1' -'87','1' -'9','1' -'90','1' -'92','1' -'95','1' -'96','1' -'97','1' -'98','1' -309 rows selected ->>> SELECT DEST2.* FROM DEST2; -'key','value' -'0','1' -'10','1' -'100','1' -'103','1' -'104','1' -'105','1' -'11','1' -'111','1' -'113','1' -'114','1' -'116','1' -'118','1' -'119','1' -'12','1' -'120','1' -'125','1' -'126','1' -'128','1' -'129','1' -'131','1' -'133','1' -'134','1' -'136','1' -'137','1' -'138','1' -'143','1' -'145','1' -'146','1' -'149','1' -'15','1' -'150','1' -'152','1' -'153','1' -'155','1' -'156','1' -'157','1' -'158','1' -'160','1' -'162','1' -'163','1' -'164','1' -'165','1' -'166','1' -'167','1' -'168','1' -'169','1' -'17','1' -'170','1' -'172','1' -'174','1' -'175','1' -'176','1' -'177','1' -'178','1' -'179','1' -'18','1' -'180','1' -'181','1' -'183','1' -'186','1' -'187','1' -'189','1' -'19','1' -'190','1' -'191','1' -'192','1' -'193','1' -'194','1' -'195','1' -'196','1' -'197','1' -'199','1' -'2','1' -'20','1' -'200','1' -'201','1' -'202','1' -'203','1' -'205','1' -'207','1' -'208','1' -'209','1' -'213','1' -'214','1' -'216','1' -'217','1' -'218','1' -'219','1' -'221','1' -'222','1' -'223','1' -'224','1' -'226','1' -'228','1' -'229','1' -'230','1' -'233','1' -'235','1' -'237','1' -'238','1' -'239','1' -'24','1' -'241','1' -'242','1' -'244','1' -'247','1' -'248','1' -'249','1' -'252','1' -'255','1' -'256','1' -'257','1' -'258','1' -'26','1' -'260','1' -'262','1' -'263','1' -'265','1' -'266','1' -'27','1' -'272','1' -'273','1' -'274','1' -'275','1' -'277','1' -'278','1' -'28','1' -'280','1' -'281','1' -'282','1' -'283','1' -'284','1' -'285','1' -'286','1' -'287','1' -'288','1' -'289','1' -'291','1' -'292','1' -'296','1' -'298','1' -'30','1' -'302','1' -'305','1' -'306','1' -'307','1' -'308','1' -'309','1' -'310','1' -'311','1' -'315','1' -'316','1' -'317','1' -'318','1' -'321','1' -'322','1' -'323','1' -'325','1' -'327','1' -'33','1' -'331','1' -'332','1' -'333','1' -'335','1' -'336','1' -'338','1' -'339','1' -'34','1' -'341','1' -'342','1' -'344','1' -'345','1' -'348','1' -'35','1' -'351','1' -'353','1' -'356','1' -'360','1' -'362','1' -'364','1' -'365','1' -'366','1' -'367','1' -'368','1' -'369','1' -'37','1' -'373','1' -'374','1' -'375','1' -'377','1' -'378','1' -'379','1' -'382','1' -'384','1' -'386','1' -'389','1' -'392','1' -'393','1' -'394','1' -'395','1' -'396','1' -'397','1' -'399','1' -'4','1' -'400','1' -'401','1' -'402','1' -'403','1' -'404','1' -'406','1' -'407','1' -'409','1' -'41','1' -'411','1' -'413','1' -'414','1' -'417','1' -'418','1' -'419','1' -'42','1' -'421','1' -'424','1' -'427','1' -'429','1' -'43','1' -'430','1' -'431','1' -'432','1' -'435','1' -'436','1' -'437','1' -'438','1' -'439','1' -'44','1' -'443','1' -'444','1' -'446','1' -'448','1' -'449','1' -'452','1' -'453','1' -'454','1' -'455','1' -'457','1' -'458','1' -'459','1' -'460','1' -'462','1' -'463','1' -'466','1' -'467','1' -'468','1' -'469','1' -'47','1' -'470','1' -'472','1' -'475','1' -'477','1' -'478','1' -'479','1' -'480','1' -'481','1' -'482','1' -'483','1' -'484','1' -'485','1' -'487','1' -'489','1' -'490','1' -'491','1' -'492','1' -'493','1' -'494','1' -'495','1' -'496','1' -'497','1' -'498','1' -'5','1' -'51','1' -'53','1' -'54','1' -'57','1' -'58','1' -'64','1' -'65','1' -'66','1' -'67','1' -'69','1' -'70','1' -'72','1' -'74','1' -'76','1' -'77','1' -'78','1' -'8','1' -'80','1' -'82','1' -'83','1' -'84','1' -'85','1' -'86','1' -'87','1' -'9','1' -'90','1' -'92','1' -'95','1' -'96','1' -'97','1' -'98','1' -309 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/groupby9.q.out ql/src/test/results/beelinepositive/groupby9.q.out deleted file mode 100644 index 7b5f863..0000000 --- ql/src/test/results/beelinepositive/groupby9.q.out +++ /dev/null @@ -1,4204 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby9.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby9.q ->>> ->>> CREATE TABLE DEST1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE DEST2(key INT, val1 STRING, val2 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM SRC -INSERT OVERWRITE TABLE DEST1 SELECT SRC.key, COUNT(DISTINCT SUBSTR(SRC.value,5)) GROUP BY SRC.key -INSERT OVERWRITE TABLE DEST2 SELECT SRC.key, SRC.value, COUNT(DISTINCT SUBSTR(SRC.value,5)) GROUP BY SRC.key, SRC.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME SRC))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL SRC) key)) (TOK_SELEXPR (TOK_FUNCTIONDI COUNT (TOK_FUNCTION SUBSTR (. (TOK_TABLE_OR_COL SRC) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL SRC) key))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST2))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL SRC) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL SRC) value)) (TOK_SELEXPR (TOK_FUNCTIONDI COUNT (TOK_FUNCTION SUBSTR (. (TOK_TABLE_OR_COL SRC) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL SRC) key) (. (TOK_TABLE_OR_COL SRC) value))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-3 depends on stages: Stage-2' -' Stage-0 depends on stages: Stage-3' -' Stage-4 depends on stages: Stage-0' -' Stage-5 depends on stages: Stage-2' -' Stage-1 depends on stages: Stage-5' -' Stage-6 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Reduce Output Operator' -' key expressions:' -' expr: substr(value, 5)' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: substr(value, 5)' -' type: string' -' tag: -1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Forward' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col0)' -' bucketGroup: false' -' keys:' -' expr: VALUE._col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col0)' -' bucketGroup: false' -' keys:' -' expr: VALUE._col0' -' type: string' -' expr: VALUE._col1' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby9.dest1' -'' -' 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: groupby9.dest1' -'' -' Stage: Stage-4' -' Stats-Aggr Operator' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: groupby9.dest2' -'' -' Stage: Stage-1' -' 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: groupby9.dest2' -'' -' Stage: Stage-6' -' Stats-Aggr Operator' -'' -'' -203 rows selected ->>> ->>> FROM SRC -INSERT OVERWRITE TABLE DEST1 SELECT SRC.key, COUNT(DISTINCT SUBSTR(SRC.value,5)) GROUP BY SRC.key -INSERT OVERWRITE TABLE DEST2 SELECT SRC.key, SRC.value, COUNT(DISTINCT SUBSTR(SRC.value,5)) GROUP BY SRC.key, SRC.value; -'_col0','_col1','_col2' -No rows selected ->>> ->>> SELECT DEST1.* FROM DEST1; -'key','value' -'0','1' -'10','1' -'100','1' -'103','1' -'104','1' -'105','1' -'11','1' -'111','1' -'113','1' -'114','1' -'116','1' -'118','1' -'119','1' -'12','1' -'120','1' -'125','1' -'126','1' -'128','1' -'129','1' -'131','1' -'133','1' -'134','1' -'136','1' -'137','1' -'138','1' -'143','1' -'145','1' -'146','1' -'149','1' -'15','1' -'150','1' -'152','1' -'153','1' -'155','1' -'156','1' -'157','1' -'158','1' -'160','1' -'162','1' -'163','1' -'164','1' -'165','1' -'166','1' -'167','1' -'168','1' -'169','1' -'17','1' -'170','1' -'172','1' -'174','1' -'175','1' -'176','1' -'177','1' -'178','1' -'179','1' -'18','1' -'180','1' -'181','1' -'183','1' -'186','1' -'187','1' -'189','1' -'19','1' -'190','1' -'191','1' -'192','1' -'193','1' -'194','1' -'195','1' -'196','1' -'197','1' -'199','1' -'2','1' -'20','1' -'200','1' -'201','1' -'202','1' -'203','1' -'205','1' -'207','1' -'208','1' -'209','1' -'213','1' -'214','1' -'216','1' -'217','1' -'218','1' -'219','1' -'221','1' -'222','1' -'223','1' -'224','1' -'226','1' -'228','1' -'229','1' -'230','1' -'233','1' -'235','1' -'237','1' -'238','1' -'239','1' -'24','1' -'241','1' -'242','1' -'244','1' -'247','1' -'248','1' -'249','1' -'252','1' -'255','1' -'256','1' -'257','1' -'258','1' -'26','1' -'260','1' -'262','1' -'263','1' -'265','1' -'266','1' -'27','1' -'272','1' -'273','1' -'274','1' -'275','1' -'277','1' -'278','1' -'28','1' -'280','1' -'281','1' -'282','1' -'283','1' -'284','1' -'285','1' -'286','1' -'287','1' -'288','1' -'289','1' -'291','1' -'292','1' -'296','1' -'298','1' -'30','1' -'302','1' -'305','1' -'306','1' -'307','1' -'308','1' -'309','1' -'310','1' -'311','1' -'315','1' -'316','1' -'317','1' -'318','1' -'321','1' -'322','1' -'323','1' -'325','1' -'327','1' -'33','1' -'331','1' -'332','1' -'333','1' -'335','1' -'336','1' -'338','1' -'339','1' -'34','1' -'341','1' -'342','1' -'344','1' -'345','1' -'348','1' -'35','1' -'351','1' -'353','1' -'356','1' -'360','1' -'362','1' -'364','1' -'365','1' -'366','1' -'367','1' -'368','1' -'369','1' -'37','1' -'373','1' -'374','1' -'375','1' -'377','1' -'378','1' -'379','1' -'382','1' -'384','1' -'386','1' -'389','1' -'392','1' -'393','1' -'394','1' -'395','1' -'396','1' -'397','1' -'399','1' -'4','1' -'400','1' -'401','1' -'402','1' -'403','1' -'404','1' -'406','1' -'407','1' -'409','1' -'41','1' -'411','1' -'413','1' -'414','1' -'417','1' -'418','1' -'419','1' -'42','1' -'421','1' -'424','1' -'427','1' -'429','1' -'43','1' -'430','1' -'431','1' -'432','1' -'435','1' -'436','1' -'437','1' -'438','1' -'439','1' -'44','1' -'443','1' -'444','1' -'446','1' -'448','1' -'449','1' -'452','1' -'453','1' -'454','1' -'455','1' -'457','1' -'458','1' -'459','1' -'460','1' -'462','1' -'463','1' -'466','1' -'467','1' -'468','1' -'469','1' -'47','1' -'470','1' -'472','1' -'475','1' -'477','1' -'478','1' -'479','1' -'480','1' -'481','1' -'482','1' -'483','1' -'484','1' -'485','1' -'487','1' -'489','1' -'490','1' -'491','1' -'492','1' -'493','1' -'494','1' -'495','1' -'496','1' -'497','1' -'498','1' -'5','1' -'51','1' -'53','1' -'54','1' -'57','1' -'58','1' -'64','1' -'65','1' -'66','1' -'67','1' -'69','1' -'70','1' -'72','1' -'74','1' -'76','1' -'77','1' -'78','1' -'8','1' -'80','1' -'82','1' -'83','1' -'84','1' -'85','1' -'86','1' -'87','1' -'9','1' -'90','1' -'92','1' -'95','1' -'96','1' -'97','1' -'98','1' -309 rows selected ->>> SELECT DEST2.* FROM DEST2; -'key','val1','val2' -'0','val_0','1' -'10','val_10','1' -'100','val_100','1' -'103','val_103','1' -'104','val_104','1' -'105','val_105','1' -'11','val_11','1' -'111','val_111','1' -'113','val_113','1' -'114','val_114','1' -'116','val_116','1' -'118','val_118','1' -'119','val_119','1' -'12','val_12','1' -'120','val_120','1' -'125','val_125','1' -'126','val_126','1' -'128','val_128','1' -'129','val_129','1' -'131','val_131','1' -'133','val_133','1' -'134','val_134','1' -'136','val_136','1' -'137','val_137','1' -'138','val_138','1' -'143','val_143','1' -'145','val_145','1' -'146','val_146','1' -'149','val_149','1' -'15','val_15','1' -'150','val_150','1' -'152','val_152','1' -'153','val_153','1' -'155','val_155','1' -'156','val_156','1' -'157','val_157','1' -'158','val_158','1' -'160','val_160','1' -'162','val_162','1' -'163','val_163','1' -'164','val_164','1' -'165','val_165','1' -'166','val_166','1' -'167','val_167','1' -'168','val_168','1' -'169','val_169','1' -'17','val_17','1' -'170','val_170','1' -'172','val_172','1' -'174','val_174','1' -'175','val_175','1' -'176','val_176','1' -'177','val_177','1' -'178','val_178','1' -'179','val_179','1' -'18','val_18','1' -'180','val_180','1' -'181','val_181','1' -'183','val_183','1' -'186','val_186','1' -'187','val_187','1' -'189','val_189','1' -'19','val_19','1' -'190','val_190','1' -'191','val_191','1' -'192','val_192','1' -'193','val_193','1' -'194','val_194','1' -'195','val_195','1' -'196','val_196','1' -'197','val_197','1' -'199','val_199','1' -'2','val_2','1' -'20','val_20','1' -'200','val_200','1' -'201','val_201','1' -'202','val_202','1' -'203','val_203','1' -'205','val_205','1' -'207','val_207','1' -'208','val_208','1' -'209','val_209','1' -'213','val_213','1' -'214','val_214','1' -'216','val_216','1' -'217','val_217','1' -'218','val_218','1' -'219','val_219','1' -'221','val_221','1' -'222','val_222','1' -'223','val_223','1' -'224','val_224','1' -'226','val_226','1' -'228','val_228','1' -'229','val_229','1' -'230','val_230','1' -'233','val_233','1' -'235','val_235','1' -'237','val_237','1' -'238','val_238','1' -'239','val_239','1' -'24','val_24','1' -'241','val_241','1' -'242','val_242','1' -'244','val_244','1' -'247','val_247','1' -'248','val_248','1' -'249','val_249','1' -'252','val_252','1' -'255','val_255','1' -'256','val_256','1' -'257','val_257','1' -'258','val_258','1' -'26','val_26','1' -'260','val_260','1' -'262','val_262','1' -'263','val_263','1' -'265','val_265','1' -'266','val_266','1' -'27','val_27','1' -'272','val_272','1' -'273','val_273','1' -'274','val_274','1' -'275','val_275','1' -'277','val_277','1' -'278','val_278','1' -'28','val_28','1' -'280','val_280','1' -'281','val_281','1' -'282','val_282','1' -'283','val_283','1' -'284','val_284','1' -'285','val_285','1' -'286','val_286','1' -'287','val_287','1' -'288','val_288','1' -'289','val_289','1' -'291','val_291','1' -'292','val_292','1' -'296','val_296','1' -'298','val_298','1' -'30','val_30','1' -'302','val_302','1' -'305','val_305','1' -'306','val_306','1' -'307','val_307','1' -'308','val_308','1' -'309','val_309','1' -'310','val_310','1' -'311','val_311','1' -'315','val_315','1' -'316','val_316','1' -'317','val_317','1' -'318','val_318','1' -'321','val_321','1' -'322','val_322','1' -'323','val_323','1' -'325','val_325','1' -'327','val_327','1' -'33','val_33','1' -'331','val_331','1' -'332','val_332','1' -'333','val_333','1' -'335','val_335','1' -'336','val_336','1' -'338','val_338','1' -'339','val_339','1' -'34','val_34','1' -'341','val_341','1' -'342','val_342','1' -'344','val_344','1' -'345','val_345','1' -'348','val_348','1' -'35','val_35','1' -'351','val_351','1' -'353','val_353','1' -'356','val_356','1' -'360','val_360','1' -'362','val_362','1' -'364','val_364','1' -'365','val_365','1' -'366','val_366','1' -'367','val_367','1' -'368','val_368','1' -'369','val_369','1' -'37','val_37','1' -'373','val_373','1' -'374','val_374','1' -'375','val_375','1' -'377','val_377','1' -'378','val_378','1' -'379','val_379','1' -'382','val_382','1' -'384','val_384','1' -'386','val_386','1' -'389','val_389','1' -'392','val_392','1' -'393','val_393','1' -'394','val_394','1' -'395','val_395','1' -'396','val_396','1' -'397','val_397','1' -'399','val_399','1' -'4','val_4','1' -'400','val_400','1' -'401','val_401','1' -'402','val_402','1' -'403','val_403','1' -'404','val_404','1' -'406','val_406','1' -'407','val_407','1' -'409','val_409','1' -'41','val_41','1' -'411','val_411','1' -'413','val_413','1' -'414','val_414','1' -'417','val_417','1' -'418','val_418','1' -'419','val_419','1' -'42','val_42','1' -'421','val_421','1' -'424','val_424','1' -'427','val_427','1' -'429','val_429','1' -'43','val_43','1' -'430','val_430','1' -'431','val_431','1' -'432','val_432','1' -'435','val_435','1' -'436','val_436','1' -'437','val_437','1' -'438','val_438','1' -'439','val_439','1' -'44','val_44','1' -'443','val_443','1' -'444','val_444','1' -'446','val_446','1' -'448','val_448','1' -'449','val_449','1' -'452','val_452','1' -'453','val_453','1' -'454','val_454','1' -'455','val_455','1' -'457','val_457','1' -'458','val_458','1' -'459','val_459','1' -'460','val_460','1' -'462','val_462','1' -'463','val_463','1' -'466','val_466','1' -'467','val_467','1' -'468','val_468','1' -'469','val_469','1' -'47','val_47','1' -'470','val_470','1' -'472','val_472','1' -'475','val_475','1' -'477','val_477','1' -'478','val_478','1' -'479','val_479','1' -'480','val_480','1' -'481','val_481','1' -'482','val_482','1' -'483','val_483','1' -'484','val_484','1' -'485','val_485','1' -'487','val_487','1' -'489','val_489','1' -'490','val_490','1' -'491','val_491','1' -'492','val_492','1' -'493','val_493','1' -'494','val_494','1' -'495','val_495','1' -'496','val_496','1' -'497','val_497','1' -'498','val_498','1' -'5','val_5','1' -'51','val_51','1' -'53','val_53','1' -'54','val_54','1' -'57','val_57','1' -'58','val_58','1' -'64','val_64','1' -'65','val_65','1' -'66','val_66','1' -'67','val_67','1' -'69','val_69','1' -'70','val_70','1' -'72','val_72','1' -'74','val_74','1' -'76','val_76','1' -'77','val_77','1' -'78','val_78','1' -'8','val_8','1' -'80','val_80','1' -'82','val_82','1' -'83','val_83','1' -'84','val_84','1' -'85','val_85','1' -'86','val_86','1' -'87','val_87','1' -'9','val_9','1' -'90','val_90','1' -'92','val_92','1' -'95','val_95','1' -'96','val_96','1' -'97','val_97','1' -'98','val_98','1' -309 rows selected ->>> ->>> EXPLAIN -FROM SRC -INSERT OVERWRITE TABLE DEST1 SELECT SRC.key, COUNT(DISTINCT SUBSTR(SRC.value,5)) GROUP BY SRC.key -INSERT OVERWRITE TABLE DEST2 SELECT SRC.key, SRC.value, COUNT(DISTINCT SUBSTR(SRC.value,5)) GROUP BY SRC.value, SRC.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME SRC))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL SRC) key)) (TOK_SELEXPR (TOK_FUNCTIONDI COUNT (TOK_FUNCTION SUBSTR (. (TOK_TABLE_OR_COL SRC) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL SRC) key))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST2))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL SRC) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL SRC) value)) (TOK_SELEXPR (TOK_FUNCTIONDI COUNT (TOK_FUNCTION SUBSTR (. (TOK_TABLE_OR_COL SRC) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL SRC) value) (. (TOK_TABLE_OR_COL SRC) key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-3 depends on stages: Stage-2' -' Stage-0 depends on stages: Stage-3' -' Stage-4 depends on stages: Stage-0' -' Stage-5 depends on stages: Stage-2' -' Stage-1 depends on stages: Stage-5' -' Stage-6 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Reduce Output Operator' -' key expressions:' -' expr: substr(value, 5)' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: substr(value, 5)' -' type: string' -' tag: -1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Forward' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col0)' -' bucketGroup: false' -' keys:' -' expr: VALUE._col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col0)' -' bucketGroup: false' -' keys:' -' expr: VALUE._col1' -' type: string' -' expr: VALUE._col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby9.dest1' -'' -' 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: groupby9.dest1' -'' -' Stage: Stage-4' -' Stats-Aggr Operator' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' expr: _col0' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: groupby9.dest2' -'' -' Stage: Stage-1' -' 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: groupby9.dest2' -'' -' Stage: Stage-6' -' Stats-Aggr Operator' -'' -'' -203 rows selected ->>> ->>> FROM SRC -INSERT OVERWRITE TABLE DEST1 SELECT SRC.key, COUNT(DISTINCT SUBSTR(SRC.value,5)) GROUP BY SRC.key -INSERT OVERWRITE TABLE DEST2 SELECT SRC.key, SRC.value, COUNT(DISTINCT SUBSTR(SRC.value,5)) GROUP BY SRC.value, SRC.key; -'_col0','_col1','_col2' -No rows selected ->>> ->>> SELECT DEST1.* FROM DEST1; -'key','value' -'0','1' -'10','1' -'100','1' -'103','1' -'104','1' -'105','1' -'11','1' -'111','1' -'113','1' -'114','1' -'116','1' -'118','1' -'119','1' -'12','1' -'120','1' -'125','1' -'126','1' -'128','1' -'129','1' -'131','1' -'133','1' -'134','1' -'136','1' -'137','1' -'138','1' -'143','1' -'145','1' -'146','1' -'149','1' -'15','1' -'150','1' -'152','1' -'153','1' -'155','1' -'156','1' -'157','1' -'158','1' -'160','1' -'162','1' -'163','1' -'164','1' -'165','1' -'166','1' -'167','1' -'168','1' -'169','1' -'17','1' -'170','1' -'172','1' -'174','1' -'175','1' -'176','1' -'177','1' -'178','1' -'179','1' -'18','1' -'180','1' -'181','1' -'183','1' -'186','1' -'187','1' -'189','1' -'19','1' -'190','1' -'191','1' -'192','1' -'193','1' -'194','1' -'195','1' -'196','1' -'197','1' -'199','1' -'2','1' -'20','1' -'200','1' -'201','1' -'202','1' -'203','1' -'205','1' -'207','1' -'208','1' -'209','1' -'213','1' -'214','1' -'216','1' -'217','1' -'218','1' -'219','1' -'221','1' -'222','1' -'223','1' -'224','1' -'226','1' -'228','1' -'229','1' -'230','1' -'233','1' -'235','1' -'237','1' -'238','1' -'239','1' -'24','1' -'241','1' -'242','1' -'244','1' -'247','1' -'248','1' -'249','1' -'252','1' -'255','1' -'256','1' -'257','1' -'258','1' -'26','1' -'260','1' -'262','1' -'263','1' -'265','1' -'266','1' -'27','1' -'272','1' -'273','1' -'274','1' -'275','1' -'277','1' -'278','1' -'28','1' -'280','1' -'281','1' -'282','1' -'283','1' -'284','1' -'285','1' -'286','1' -'287','1' -'288','1' -'289','1' -'291','1' -'292','1' -'296','1' -'298','1' -'30','1' -'302','1' -'305','1' -'306','1' -'307','1' -'308','1' -'309','1' -'310','1' -'311','1' -'315','1' -'316','1' -'317','1' -'318','1' -'321','1' -'322','1' -'323','1' -'325','1' -'327','1' -'33','1' -'331','1' -'332','1' -'333','1' -'335','1' -'336','1' -'338','1' -'339','1' -'34','1' -'341','1' -'342','1' -'344','1' -'345','1' -'348','1' -'35','1' -'351','1' -'353','1' -'356','1' -'360','1' -'362','1' -'364','1' -'365','1' -'366','1' -'367','1' -'368','1' -'369','1' -'37','1' -'373','1' -'374','1' -'375','1' -'377','1' -'378','1' -'379','1' -'382','1' -'384','1' -'386','1' -'389','1' -'392','1' -'393','1' -'394','1' -'395','1' -'396','1' -'397','1' -'399','1' -'4','1' -'400','1' -'401','1' -'402','1' -'403','1' -'404','1' -'406','1' -'407','1' -'409','1' -'41','1' -'411','1' -'413','1' -'414','1' -'417','1' -'418','1' -'419','1' -'42','1' -'421','1' -'424','1' -'427','1' -'429','1' -'43','1' -'430','1' -'431','1' -'432','1' -'435','1' -'436','1' -'437','1' -'438','1' -'439','1' -'44','1' -'443','1' -'444','1' -'446','1' -'448','1' -'449','1' -'452','1' -'453','1' -'454','1' -'455','1' -'457','1' -'458','1' -'459','1' -'460','1' -'462','1' -'463','1' -'466','1' -'467','1' -'468','1' -'469','1' -'47','1' -'470','1' -'472','1' -'475','1' -'477','1' -'478','1' -'479','1' -'480','1' -'481','1' -'482','1' -'483','1' -'484','1' -'485','1' -'487','1' -'489','1' -'490','1' -'491','1' -'492','1' -'493','1' -'494','1' -'495','1' -'496','1' -'497','1' -'498','1' -'5','1' -'51','1' -'53','1' -'54','1' -'57','1' -'58','1' -'64','1' -'65','1' -'66','1' -'67','1' -'69','1' -'70','1' -'72','1' -'74','1' -'76','1' -'77','1' -'78','1' -'8','1' -'80','1' -'82','1' -'83','1' -'84','1' -'85','1' -'86','1' -'87','1' -'9','1' -'90','1' -'92','1' -'95','1' -'96','1' -'97','1' -'98','1' -309 rows selected ->>> SELECT DEST2.* FROM DEST2; -'key','val1','val2' -'0','val_0','1' -'10','val_10','1' -'100','val_100','1' -'103','val_103','1' -'104','val_104','1' -'105','val_105','1' -'11','val_11','1' -'111','val_111','1' -'113','val_113','1' -'114','val_114','1' -'116','val_116','1' -'118','val_118','1' -'119','val_119','1' -'12','val_12','1' -'120','val_120','1' -'125','val_125','1' -'126','val_126','1' -'128','val_128','1' -'129','val_129','1' -'131','val_131','1' -'133','val_133','1' -'134','val_134','1' -'136','val_136','1' -'137','val_137','1' -'138','val_138','1' -'143','val_143','1' -'145','val_145','1' -'146','val_146','1' -'149','val_149','1' -'15','val_15','1' -'150','val_150','1' -'152','val_152','1' -'153','val_153','1' -'155','val_155','1' -'156','val_156','1' -'157','val_157','1' -'158','val_158','1' -'160','val_160','1' -'162','val_162','1' -'163','val_163','1' -'164','val_164','1' -'165','val_165','1' -'166','val_166','1' -'167','val_167','1' -'168','val_168','1' -'169','val_169','1' -'17','val_17','1' -'170','val_170','1' -'172','val_172','1' -'174','val_174','1' -'175','val_175','1' -'176','val_176','1' -'177','val_177','1' -'178','val_178','1' -'179','val_179','1' -'18','val_18','1' -'180','val_180','1' -'181','val_181','1' -'183','val_183','1' -'186','val_186','1' -'187','val_187','1' -'189','val_189','1' -'19','val_19','1' -'190','val_190','1' -'191','val_191','1' -'192','val_192','1' -'193','val_193','1' -'194','val_194','1' -'195','val_195','1' -'196','val_196','1' -'197','val_197','1' -'199','val_199','1' -'2','val_2','1' -'20','val_20','1' -'200','val_200','1' -'201','val_201','1' -'202','val_202','1' -'203','val_203','1' -'205','val_205','1' -'207','val_207','1' -'208','val_208','1' -'209','val_209','1' -'213','val_213','1' -'214','val_214','1' -'216','val_216','1' -'217','val_217','1' -'218','val_218','1' -'219','val_219','1' -'221','val_221','1' -'222','val_222','1' -'223','val_223','1' -'224','val_224','1' -'226','val_226','1' -'228','val_228','1' -'229','val_229','1' -'230','val_230','1' -'233','val_233','1' -'235','val_235','1' -'237','val_237','1' -'238','val_238','1' -'239','val_239','1' -'24','val_24','1' -'241','val_241','1' -'242','val_242','1' -'244','val_244','1' -'247','val_247','1' -'248','val_248','1' -'249','val_249','1' -'252','val_252','1' -'255','val_255','1' -'256','val_256','1' -'257','val_257','1' -'258','val_258','1' -'26','val_26','1' -'260','val_260','1' -'262','val_262','1' -'263','val_263','1' -'265','val_265','1' -'266','val_266','1' -'27','val_27','1' -'272','val_272','1' -'273','val_273','1' -'274','val_274','1' -'275','val_275','1' -'277','val_277','1' -'278','val_278','1' -'28','val_28','1' -'280','val_280','1' -'281','val_281','1' -'282','val_282','1' -'283','val_283','1' -'284','val_284','1' -'285','val_285','1' -'286','val_286','1' -'287','val_287','1' -'288','val_288','1' -'289','val_289','1' -'291','val_291','1' -'292','val_292','1' -'296','val_296','1' -'298','val_298','1' -'30','val_30','1' -'302','val_302','1' -'305','val_305','1' -'306','val_306','1' -'307','val_307','1' -'308','val_308','1' -'309','val_309','1' -'310','val_310','1' -'311','val_311','1' -'315','val_315','1' -'316','val_316','1' -'317','val_317','1' -'318','val_318','1' -'321','val_321','1' -'322','val_322','1' -'323','val_323','1' -'325','val_325','1' -'327','val_327','1' -'33','val_33','1' -'331','val_331','1' -'332','val_332','1' -'333','val_333','1' -'335','val_335','1' -'336','val_336','1' -'338','val_338','1' -'339','val_339','1' -'34','val_34','1' -'341','val_341','1' -'342','val_342','1' -'344','val_344','1' -'345','val_345','1' -'348','val_348','1' -'35','val_35','1' -'351','val_351','1' -'353','val_353','1' -'356','val_356','1' -'360','val_360','1' -'362','val_362','1' -'364','val_364','1' -'365','val_365','1' -'366','val_366','1' -'367','val_367','1' -'368','val_368','1' -'369','val_369','1' -'37','val_37','1' -'373','val_373','1' -'374','val_374','1' -'375','val_375','1' -'377','val_377','1' -'378','val_378','1' -'379','val_379','1' -'382','val_382','1' -'384','val_384','1' -'386','val_386','1' -'389','val_389','1' -'392','val_392','1' -'393','val_393','1' -'394','val_394','1' -'395','val_395','1' -'396','val_396','1' -'397','val_397','1' -'399','val_399','1' -'4','val_4','1' -'400','val_400','1' -'401','val_401','1' -'402','val_402','1' -'403','val_403','1' -'404','val_404','1' -'406','val_406','1' -'407','val_407','1' -'409','val_409','1' -'41','val_41','1' -'411','val_411','1' -'413','val_413','1' -'414','val_414','1' -'417','val_417','1' -'418','val_418','1' -'419','val_419','1' -'42','val_42','1' -'421','val_421','1' -'424','val_424','1' -'427','val_427','1' -'429','val_429','1' -'43','val_43','1' -'430','val_430','1' -'431','val_431','1' -'432','val_432','1' -'435','val_435','1' -'436','val_436','1' -'437','val_437','1' -'438','val_438','1' -'439','val_439','1' -'44','val_44','1' -'443','val_443','1' -'444','val_444','1' -'446','val_446','1' -'448','val_448','1' -'449','val_449','1' -'452','val_452','1' -'453','val_453','1' -'454','val_454','1' -'455','val_455','1' -'457','val_457','1' -'458','val_458','1' -'459','val_459','1' -'460','val_460','1' -'462','val_462','1' -'463','val_463','1' -'466','val_466','1' -'467','val_467','1' -'468','val_468','1' -'469','val_469','1' -'47','val_47','1' -'470','val_470','1' -'472','val_472','1' -'475','val_475','1' -'477','val_477','1' -'478','val_478','1' -'479','val_479','1' -'480','val_480','1' -'481','val_481','1' -'482','val_482','1' -'483','val_483','1' -'484','val_484','1' -'485','val_485','1' -'487','val_487','1' -'489','val_489','1' -'490','val_490','1' -'491','val_491','1' -'492','val_492','1' -'493','val_493','1' -'494','val_494','1' -'495','val_495','1' -'496','val_496','1' -'497','val_497','1' -'498','val_498','1' -'5','val_5','1' -'51','val_51','1' -'53','val_53','1' -'54','val_54','1' -'57','val_57','1' -'58','val_58','1' -'64','val_64','1' -'65','val_65','1' -'66','val_66','1' -'67','val_67','1' -'69','val_69','1' -'70','val_70','1' -'72','val_72','1' -'74','val_74','1' -'76','val_76','1' -'77','val_77','1' -'78','val_78','1' -'8','val_8','1' -'80','val_80','1' -'82','val_82','1' -'83','val_83','1' -'84','val_84','1' -'85','val_85','1' -'86','val_86','1' -'87','val_87','1' -'9','val_9','1' -'90','val_90','1' -'92','val_92','1' -'95','val_95','1' -'96','val_96','1' -'97','val_97','1' -'98','val_98','1' -309 rows selected ->>> ->>> set hive.multigroupby.singlereducer=false; -No rows affected ->>> ->>> EXPLAIN -FROM SRC -INSERT OVERWRITE TABLE DEST1 SELECT SRC.key, COUNT(DISTINCT SUBSTR(SRC.value,5)) GROUP BY SRC.key -INSERT OVERWRITE TABLE DEST2 SELECT SRC.key, SRC.value, COUNT(DISTINCT SUBSTR(SRC.value,5)) GROUP BY SRC.key, SRC.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME SRC))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL SRC) key)) (TOK_SELEXPR (TOK_FUNCTIONDI COUNT (TOK_FUNCTION SUBSTR (. (TOK_TABLE_OR_COL SRC) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL SRC) key))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST2))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL SRC) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL SRC) value)) (TOK_SELEXPR (TOK_FUNCTIONDI COUNT (TOK_FUNCTION SUBSTR (. (TOK_TABLE_OR_COL SRC) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL SRC) key) (. (TOK_TABLE_OR_COL SRC) value))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-3 depends on stages: Stage-2' -' Stage-0 depends on stages: Stage-3' -' Stage-4 depends on stages: Stage-0' -' Stage-5 depends on stages: Stage-2' -' Stage-1 depends on stages: Stage-5' -' Stage-6 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Reduce Output Operator' -' key expressions:' -' expr: substr(value, 5)' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: substr(value, 5)' -' type: string' -' tag: -1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Forward' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col0)' -' bucketGroup: false' -' keys:' -' expr: VALUE._col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col0)' -' bucketGroup: false' -' keys:' -' expr: VALUE._col0' -' type: string' -' expr: VALUE._col1' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby9.dest1' -'' -' 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: groupby9.dest1' -'' -' Stage: Stage-4' -' Stats-Aggr Operator' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: groupby9.dest2' -'' -' Stage: Stage-1' -' 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: groupby9.dest2' -'' -' Stage: Stage-6' -' Stats-Aggr Operator' -'' -'' -203 rows selected ->>> ->>> FROM SRC -INSERT OVERWRITE TABLE DEST1 SELECT SRC.key, COUNT(DISTINCT SUBSTR(SRC.value,5)) GROUP BY SRC.key -INSERT OVERWRITE TABLE DEST2 SELECT SRC.key, SRC.value, COUNT(DISTINCT SUBSTR(SRC.value,5)) GROUP BY SRC.key, SRC.value; -'_col0','_col1','_col2' -No rows selected ->>> ->>> SELECT DEST1.* FROM DEST1; -'key','value' -'0','1' -'10','1' -'100','1' -'103','1' -'104','1' -'105','1' -'11','1' -'111','1' -'113','1' -'114','1' -'116','1' -'118','1' -'119','1' -'12','1' -'120','1' -'125','1' -'126','1' -'128','1' -'129','1' -'131','1' -'133','1' -'134','1' -'136','1' -'137','1' -'138','1' -'143','1' -'145','1' -'146','1' -'149','1' -'15','1' -'150','1' -'152','1' -'153','1' -'155','1' -'156','1' -'157','1' -'158','1' -'160','1' -'162','1' -'163','1' -'164','1' -'165','1' -'166','1' -'167','1' -'168','1' -'169','1' -'17','1' -'170','1' -'172','1' -'174','1' -'175','1' -'176','1' -'177','1' -'178','1' -'179','1' -'18','1' -'180','1' -'181','1' -'183','1' -'186','1' -'187','1' -'189','1' -'19','1' -'190','1' -'191','1' -'192','1' -'193','1' -'194','1' -'195','1' -'196','1' -'197','1' -'199','1' -'2','1' -'20','1' -'200','1' -'201','1' -'202','1' -'203','1' -'205','1' -'207','1' -'208','1' -'209','1' -'213','1' -'214','1' -'216','1' -'217','1' -'218','1' -'219','1' -'221','1' -'222','1' -'223','1' -'224','1' -'226','1' -'228','1' -'229','1' -'230','1' -'233','1' -'235','1' -'237','1' -'238','1' -'239','1' -'24','1' -'241','1' -'242','1' -'244','1' -'247','1' -'248','1' -'249','1' -'252','1' -'255','1' -'256','1' -'257','1' -'258','1' -'26','1' -'260','1' -'262','1' -'263','1' -'265','1' -'266','1' -'27','1' -'272','1' -'273','1' -'274','1' -'275','1' -'277','1' -'278','1' -'28','1' -'280','1' -'281','1' -'282','1' -'283','1' -'284','1' -'285','1' -'286','1' -'287','1' -'288','1' -'289','1' -'291','1' -'292','1' -'296','1' -'298','1' -'30','1' -'302','1' -'305','1' -'306','1' -'307','1' -'308','1' -'309','1' -'310','1' -'311','1' -'315','1' -'316','1' -'317','1' -'318','1' -'321','1' -'322','1' -'323','1' -'325','1' -'327','1' -'33','1' -'331','1' -'332','1' -'333','1' -'335','1' -'336','1' -'338','1' -'339','1' -'34','1' -'341','1' -'342','1' -'344','1' -'345','1' -'348','1' -'35','1' -'351','1' -'353','1' -'356','1' -'360','1' -'362','1' -'364','1' -'365','1' -'366','1' -'367','1' -'368','1' -'369','1' -'37','1' -'373','1' -'374','1' -'375','1' -'377','1' -'378','1' -'379','1' -'382','1' -'384','1' -'386','1' -'389','1' -'392','1' -'393','1' -'394','1' -'395','1' -'396','1' -'397','1' -'399','1' -'4','1' -'400','1' -'401','1' -'402','1' -'403','1' -'404','1' -'406','1' -'407','1' -'409','1' -'41','1' -'411','1' -'413','1' -'414','1' -'417','1' -'418','1' -'419','1' -'42','1' -'421','1' -'424','1' -'427','1' -'429','1' -'43','1' -'430','1' -'431','1' -'432','1' -'435','1' -'436','1' -'437','1' -'438','1' -'439','1' -'44','1' -'443','1' -'444','1' -'446','1' -'448','1' -'449','1' -'452','1' -'453','1' -'454','1' -'455','1' -'457','1' -'458','1' -'459','1' -'460','1' -'462','1' -'463','1' -'466','1' -'467','1' -'468','1' -'469','1' -'47','1' -'470','1' -'472','1' -'475','1' -'477','1' -'478','1' -'479','1' -'480','1' -'481','1' -'482','1' -'483','1' -'484','1' -'485','1' -'487','1' -'489','1' -'490','1' -'491','1' -'492','1' -'493','1' -'494','1' -'495','1' -'496','1' -'497','1' -'498','1' -'5','1' -'51','1' -'53','1' -'54','1' -'57','1' -'58','1' -'64','1' -'65','1' -'66','1' -'67','1' -'69','1' -'70','1' -'72','1' -'74','1' -'76','1' -'77','1' -'78','1' -'8','1' -'80','1' -'82','1' -'83','1' -'84','1' -'85','1' -'86','1' -'87','1' -'9','1' -'90','1' -'92','1' -'95','1' -'96','1' -'97','1' -'98','1' -309 rows selected ->>> SELECT DEST2.* FROM DEST2; -'key','val1','val2' -'0','val_0','1' -'10','val_10','1' -'100','val_100','1' -'103','val_103','1' -'104','val_104','1' -'105','val_105','1' -'11','val_11','1' -'111','val_111','1' -'113','val_113','1' -'114','val_114','1' -'116','val_116','1' -'118','val_118','1' -'119','val_119','1' -'12','val_12','1' -'120','val_120','1' -'125','val_125','1' -'126','val_126','1' -'128','val_128','1' -'129','val_129','1' -'131','val_131','1' -'133','val_133','1' -'134','val_134','1' -'136','val_136','1' -'137','val_137','1' -'138','val_138','1' -'143','val_143','1' -'145','val_145','1' -'146','val_146','1' -'149','val_149','1' -'15','val_15','1' -'150','val_150','1' -'152','val_152','1' -'153','val_153','1' -'155','val_155','1' -'156','val_156','1' -'157','val_157','1' -'158','val_158','1' -'160','val_160','1' -'162','val_162','1' -'163','val_163','1' -'164','val_164','1' -'165','val_165','1' -'166','val_166','1' -'167','val_167','1' -'168','val_168','1' -'169','val_169','1' -'17','val_17','1' -'170','val_170','1' -'172','val_172','1' -'174','val_174','1' -'175','val_175','1' -'176','val_176','1' -'177','val_177','1' -'178','val_178','1' -'179','val_179','1' -'18','val_18','1' -'180','val_180','1' -'181','val_181','1' -'183','val_183','1' -'186','val_186','1' -'187','val_187','1' -'189','val_189','1' -'19','val_19','1' -'190','val_190','1' -'191','val_191','1' -'192','val_192','1' -'193','val_193','1' -'194','val_194','1' -'195','val_195','1' -'196','val_196','1' -'197','val_197','1' -'199','val_199','1' -'2','val_2','1' -'20','val_20','1' -'200','val_200','1' -'201','val_201','1' -'202','val_202','1' -'203','val_203','1' -'205','val_205','1' -'207','val_207','1' -'208','val_208','1' -'209','val_209','1' -'213','val_213','1' -'214','val_214','1' -'216','val_216','1' -'217','val_217','1' -'218','val_218','1' -'219','val_219','1' -'221','val_221','1' -'222','val_222','1' -'223','val_223','1' -'224','val_224','1' -'226','val_226','1' -'228','val_228','1' -'229','val_229','1' -'230','val_230','1' -'233','val_233','1' -'235','val_235','1' -'237','val_237','1' -'238','val_238','1' -'239','val_239','1' -'24','val_24','1' -'241','val_241','1' -'242','val_242','1' -'244','val_244','1' -'247','val_247','1' -'248','val_248','1' -'249','val_249','1' -'252','val_252','1' -'255','val_255','1' -'256','val_256','1' -'257','val_257','1' -'258','val_258','1' -'26','val_26','1' -'260','val_260','1' -'262','val_262','1' -'263','val_263','1' -'265','val_265','1' -'266','val_266','1' -'27','val_27','1' -'272','val_272','1' -'273','val_273','1' -'274','val_274','1' -'275','val_275','1' -'277','val_277','1' -'278','val_278','1' -'28','val_28','1' -'280','val_280','1' -'281','val_281','1' -'282','val_282','1' -'283','val_283','1' -'284','val_284','1' -'285','val_285','1' -'286','val_286','1' -'287','val_287','1' -'288','val_288','1' -'289','val_289','1' -'291','val_291','1' -'292','val_292','1' -'296','val_296','1' -'298','val_298','1' -'30','val_30','1' -'302','val_302','1' -'305','val_305','1' -'306','val_306','1' -'307','val_307','1' -'308','val_308','1' -'309','val_309','1' -'310','val_310','1' -'311','val_311','1' -'315','val_315','1' -'316','val_316','1' -'317','val_317','1' -'318','val_318','1' -'321','val_321','1' -'322','val_322','1' -'323','val_323','1' -'325','val_325','1' -'327','val_327','1' -'33','val_33','1' -'331','val_331','1' -'332','val_332','1' -'333','val_333','1' -'335','val_335','1' -'336','val_336','1' -'338','val_338','1' -'339','val_339','1' -'34','val_34','1' -'341','val_341','1' -'342','val_342','1' -'344','val_344','1' -'345','val_345','1' -'348','val_348','1' -'35','val_35','1' -'351','val_351','1' -'353','val_353','1' -'356','val_356','1' -'360','val_360','1' -'362','val_362','1' -'364','val_364','1' -'365','val_365','1' -'366','val_366','1' -'367','val_367','1' -'368','val_368','1' -'369','val_369','1' -'37','val_37','1' -'373','val_373','1' -'374','val_374','1' -'375','val_375','1' -'377','val_377','1' -'378','val_378','1' -'379','val_379','1' -'382','val_382','1' -'384','val_384','1' -'386','val_386','1' -'389','val_389','1' -'392','val_392','1' -'393','val_393','1' -'394','val_394','1' -'395','val_395','1' -'396','val_396','1' -'397','val_397','1' -'399','val_399','1' -'4','val_4','1' -'400','val_400','1' -'401','val_401','1' -'402','val_402','1' -'403','val_403','1' -'404','val_404','1' -'406','val_406','1' -'407','val_407','1' -'409','val_409','1' -'41','val_41','1' -'411','val_411','1' -'413','val_413','1' -'414','val_414','1' -'417','val_417','1' -'418','val_418','1' -'419','val_419','1' -'42','val_42','1' -'421','val_421','1' -'424','val_424','1' -'427','val_427','1' -'429','val_429','1' -'43','val_43','1' -'430','val_430','1' -'431','val_431','1' -'432','val_432','1' -'435','val_435','1' -'436','val_436','1' -'437','val_437','1' -'438','val_438','1' -'439','val_439','1' -'44','val_44','1' -'443','val_443','1' -'444','val_444','1' -'446','val_446','1' -'448','val_448','1' -'449','val_449','1' -'452','val_452','1' -'453','val_453','1' -'454','val_454','1' -'455','val_455','1' -'457','val_457','1' -'458','val_458','1' -'459','val_459','1' -'460','val_460','1' -'462','val_462','1' -'463','val_463','1' -'466','val_466','1' -'467','val_467','1' -'468','val_468','1' -'469','val_469','1' -'47','val_47','1' -'470','val_470','1' -'472','val_472','1' -'475','val_475','1' -'477','val_477','1' -'478','val_478','1' -'479','val_479','1' -'480','val_480','1' -'481','val_481','1' -'482','val_482','1' -'483','val_483','1' -'484','val_484','1' -'485','val_485','1' -'487','val_487','1' -'489','val_489','1' -'490','val_490','1' -'491','val_491','1' -'492','val_492','1' -'493','val_493','1' -'494','val_494','1' -'495','val_495','1' -'496','val_496','1' -'497','val_497','1' -'498','val_498','1' -'5','val_5','1' -'51','val_51','1' -'53','val_53','1' -'54','val_54','1' -'57','val_57','1' -'58','val_58','1' -'64','val_64','1' -'65','val_65','1' -'66','val_66','1' -'67','val_67','1' -'69','val_69','1' -'70','val_70','1' -'72','val_72','1' -'74','val_74','1' -'76','val_76','1' -'77','val_77','1' -'78','val_78','1' -'8','val_8','1' -'80','val_80','1' -'82','val_82','1' -'83','val_83','1' -'84','val_84','1' -'85','val_85','1' -'86','val_86','1' -'87','val_87','1' -'9','val_9','1' -'90','val_90','1' -'92','val_92','1' -'95','val_95','1' -'96','val_96','1' -'97','val_97','1' -'98','val_98','1' -309 rows selected ->>> ->>> EXPLAIN -FROM SRC -INSERT OVERWRITE TABLE DEST1 SELECT SRC.key, COUNT(SUBSTR(SRC.value,5)) GROUP BY SRC.key -INSERT OVERWRITE TABLE DEST2 SELECT SRC.key, SRC.value, COUNT(SUBSTR(SRC.value,5)) GROUP BY SRC.key, SRC.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME SRC))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL SRC) key)) (TOK_SELEXPR (TOK_FUNCTION COUNT (TOK_FUNCTION SUBSTR (. (TOK_TABLE_OR_COL SRC) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL SRC) key))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST2))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL SRC) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL SRC) value)) (TOK_SELEXPR (TOK_FUNCTION COUNT (TOK_FUNCTION SUBSTR (. (TOK_TABLE_OR_COL SRC) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL SRC) key) (. (TOK_TABLE_OR_COL SRC) value))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-0 depends on stages: Stage-2' -' Stage-3 depends on stages: Stage-0' -' Stage-4 depends on stages: Stage-2' -' Stage-1 depends on stages: Stage-4' -' Stage-5 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: count(substr(value, 5))' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: count(substr(value, 5))' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby9.dest1' -'' -' 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: groupby9.dest1' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: groupby9.dest2' -'' -' Stage: Stage-1' -' 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: groupby9.dest2' -'' -' Stage: Stage-5' -' Stats-Aggr Operator' -'' -'' -189 rows selected ->>> ->>> FROM SRC -INSERT OVERWRITE TABLE DEST1 SELECT SRC.key, COUNT(SUBSTR(SRC.value,5)) GROUP BY SRC.key -INSERT OVERWRITE TABLE DEST2 SELECT SRC.key, SRC.value, COUNT(SUBSTR(SRC.value,5)) GROUP BY SRC.key, SRC.value; -'_col0','_col1','_col2' -No rows selected ->>> ->>> SELECT DEST1.* FROM DEST1; -'key','value' -'0','3' -'10','1' -'100','2' -'103','2' -'104','2' -'105','1' -'11','1' -'111','1' -'113','2' -'114','1' -'116','1' -'118','2' -'119','3' -'12','2' -'120','2' -'125','2' -'126','1' -'128','3' -'129','2' -'131','1' -'133','1' -'134','2' -'136','1' -'137','2' -'138','4' -'143','1' -'145','1' -'146','2' -'149','2' -'15','2' -'150','1' -'152','2' -'153','1' -'155','1' -'156','1' -'157','1' -'158','1' -'160','1' -'162','1' -'163','1' -'164','2' -'165','2' -'166','1' -'167','3' -'168','1' -'169','4' -'17','1' -'170','1' -'172','2' -'174','2' -'175','2' -'176','2' -'177','1' -'178','1' -'179','2' -'18','2' -'180','1' -'181','1' -'183','1' -'186','1' -'187','3' -'189','1' -'19','1' -'190','1' -'191','2' -'192','1' -'193','3' -'194','1' -'195','2' -'196','1' -'197','2' -'199','3' -'2','1' -'20','1' -'200','2' -'201','1' -'202','1' -'203','2' -'205','2' -'207','2' -'208','3' -'209','2' -'213','2' -'214','1' -'216','2' -'217','2' -'218','1' -'219','2' -'221','2' -'222','1' -'223','2' -'224','2' -'226','1' -'228','1' -'229','2' -'230','5' -'233','2' -'235','1' -'237','2' -'238','2' -'239','2' -'24','2' -'241','1' -'242','2' -'244','1' -'247','1' -'248','1' -'249','1' -'252','1' -'255','2' -'256','2' -'257','1' -'258','1' -'26','2' -'260','1' -'262','1' -'263','1' -'265','2' -'266','1' -'27','1' -'272','2' -'273','3' -'274','1' -'275','1' -'277','4' -'278','2' -'28','1' -'280','2' -'281','2' -'282','2' -'283','1' -'284','1' -'285','1' -'286','1' -'287','1' -'288','2' -'289','1' -'291','1' -'292','1' -'296','1' -'298','3' -'30','1' -'302','1' -'305','1' -'306','1' -'307','2' -'308','1' -'309','2' -'310','1' -'311','3' -'315','1' -'316','3' -'317','2' -'318','3' -'321','2' -'322','2' -'323','1' -'325','2' -'327','3' -'33','1' -'331','2' -'332','1' -'333','2' -'335','1' -'336','1' -'338','1' -'339','1' -'34','1' -'341','1' -'342','2' -'344','2' -'345','1' -'348','5' -'35','3' -'351','1' -'353','2' -'356','1' -'360','1' -'362','1' -'364','1' -'365','1' -'366','1' -'367','2' -'368','1' -'369','3' -'37','2' -'373','1' -'374','1' -'375','1' -'377','1' -'378','1' -'379','1' -'382','2' -'384','3' -'386','1' -'389','1' -'392','1' -'393','1' -'394','1' -'395','2' -'396','3' -'397','2' -'399','2' -'4','1' -'400','1' -'401','5' -'402','1' -'403','3' -'404','2' -'406','4' -'407','1' -'409','3' -'41','1' -'411','1' -'413','2' -'414','2' -'417','3' -'418','1' -'419','1' -'42','2' -'421','1' -'424','2' -'427','1' -'429','2' -'43','1' -'430','3' -'431','3' -'432','1' -'435','1' -'436','1' -'437','1' -'438','3' -'439','2' -'44','1' -'443','1' -'444','1' -'446','1' -'448','1' -'449','1' -'452','1' -'453','1' -'454','3' -'455','1' -'457','1' -'458','2' -'459','2' -'460','1' -'462','2' -'463','2' -'466','3' -'467','1' -'468','4' -'469','5' -'47','1' -'470','1' -'472','1' -'475','1' -'477','1' -'478','2' -'479','1' -'480','3' -'481','1' -'482','1' -'483','1' -'484','1' -'485','1' -'487','1' -'489','4' -'490','1' -'491','1' -'492','2' -'493','1' -'494','1' -'495','1' -'496','1' -'497','1' -'498','3' -'5','3' -'51','2' -'53','1' -'54','1' -'57','1' -'58','2' -'64','1' -'65','1' -'66','1' -'67','2' -'69','1' -'70','3' -'72','2' -'74','1' -'76','2' -'77','1' -'78','1' -'8','1' -'80','1' -'82','1' -'83','2' -'84','2' -'85','1' -'86','1' -'87','1' -'9','1' -'90','3' -'92','1' -'95','2' -'96','1' -'97','2' -'98','2' -309 rows selected ->>> SELECT DEST2.* FROM DEST2; -'key','val1','val2' -'0','val_0','3' -'10','val_10','1' -'100','val_100','2' -'103','val_103','2' -'104','val_104','2' -'105','val_105','1' -'11','val_11','1' -'111','val_111','1' -'113','val_113','2' -'114','val_114','1' -'116','val_116','1' -'118','val_118','2' -'119','val_119','3' -'12','val_12','2' -'120','val_120','2' -'125','val_125','2' -'126','val_126','1' -'128','val_128','3' -'129','val_129','2' -'131','val_131','1' -'133','val_133','1' -'134','val_134','2' -'136','val_136','1' -'137','val_137','2' -'138','val_138','4' -'143','val_143','1' -'145','val_145','1' -'146','val_146','2' -'149','val_149','2' -'15','val_15','2' -'150','val_150','1' -'152','val_152','2' -'153','val_153','1' -'155','val_155','1' -'156','val_156','1' -'157','val_157','1' -'158','val_158','1' -'160','val_160','1' -'162','val_162','1' -'163','val_163','1' -'164','val_164','2' -'165','val_165','2' -'166','val_166','1' -'167','val_167','3' -'168','val_168','1' -'169','val_169','4' -'17','val_17','1' -'170','val_170','1' -'172','val_172','2' -'174','val_174','2' -'175','val_175','2' -'176','val_176','2' -'177','val_177','1' -'178','val_178','1' -'179','val_179','2' -'18','val_18','2' -'180','val_180','1' -'181','val_181','1' -'183','val_183','1' -'186','val_186','1' -'187','val_187','3' -'189','val_189','1' -'19','val_19','1' -'190','val_190','1' -'191','val_191','2' -'192','val_192','1' -'193','val_193','3' -'194','val_194','1' -'195','val_195','2' -'196','val_196','1' -'197','val_197','2' -'199','val_199','3' -'2','val_2','1' -'20','val_20','1' -'200','val_200','2' -'201','val_201','1' -'202','val_202','1' -'203','val_203','2' -'205','val_205','2' -'207','val_207','2' -'208','val_208','3' -'209','val_209','2' -'213','val_213','2' -'214','val_214','1' -'216','val_216','2' -'217','val_217','2' -'218','val_218','1' -'219','val_219','2' -'221','val_221','2' -'222','val_222','1' -'223','val_223','2' -'224','val_224','2' -'226','val_226','1' -'228','val_228','1' -'229','val_229','2' -'230','val_230','5' -'233','val_233','2' -'235','val_235','1' -'237','val_237','2' -'238','val_238','2' -'239','val_239','2' -'24','val_24','2' -'241','val_241','1' -'242','val_242','2' -'244','val_244','1' -'247','val_247','1' -'248','val_248','1' -'249','val_249','1' -'252','val_252','1' -'255','val_255','2' -'256','val_256','2' -'257','val_257','1' -'258','val_258','1' -'26','val_26','2' -'260','val_260','1' -'262','val_262','1' -'263','val_263','1' -'265','val_265','2' -'266','val_266','1' -'27','val_27','1' -'272','val_272','2' -'273','val_273','3' -'274','val_274','1' -'275','val_275','1' -'277','val_277','4' -'278','val_278','2' -'28','val_28','1' -'280','val_280','2' -'281','val_281','2' -'282','val_282','2' -'283','val_283','1' -'284','val_284','1' -'285','val_285','1' -'286','val_286','1' -'287','val_287','1' -'288','val_288','2' -'289','val_289','1' -'291','val_291','1' -'292','val_292','1' -'296','val_296','1' -'298','val_298','3' -'30','val_30','1' -'302','val_302','1' -'305','val_305','1' -'306','val_306','1' -'307','val_307','2' -'308','val_308','1' -'309','val_309','2' -'310','val_310','1' -'311','val_311','3' -'315','val_315','1' -'316','val_316','3' -'317','val_317','2' -'318','val_318','3' -'321','val_321','2' -'322','val_322','2' -'323','val_323','1' -'325','val_325','2' -'327','val_327','3' -'33','val_33','1' -'331','val_331','2' -'332','val_332','1' -'333','val_333','2' -'335','val_335','1' -'336','val_336','1' -'338','val_338','1' -'339','val_339','1' -'34','val_34','1' -'341','val_341','1' -'342','val_342','2' -'344','val_344','2' -'345','val_345','1' -'348','val_348','5' -'35','val_35','3' -'351','val_351','1' -'353','val_353','2' -'356','val_356','1' -'360','val_360','1' -'362','val_362','1' -'364','val_364','1' -'365','val_365','1' -'366','val_366','1' -'367','val_367','2' -'368','val_368','1' -'369','val_369','3' -'37','val_37','2' -'373','val_373','1' -'374','val_374','1' -'375','val_375','1' -'377','val_377','1' -'378','val_378','1' -'379','val_379','1' -'382','val_382','2' -'384','val_384','3' -'386','val_386','1' -'389','val_389','1' -'392','val_392','1' -'393','val_393','1' -'394','val_394','1' -'395','val_395','2' -'396','val_396','3' -'397','val_397','2' -'399','val_399','2' -'4','val_4','1' -'400','val_400','1' -'401','val_401','5' -'402','val_402','1' -'403','val_403','3' -'404','val_404','2' -'406','val_406','4' -'407','val_407','1' -'409','val_409','3' -'41','val_41','1' -'411','val_411','1' -'413','val_413','2' -'414','val_414','2' -'417','val_417','3' -'418','val_418','1' -'419','val_419','1' -'42','val_42','2' -'421','val_421','1' -'424','val_424','2' -'427','val_427','1' -'429','val_429','2' -'43','val_43','1' -'430','val_430','3' -'431','val_431','3' -'432','val_432','1' -'435','val_435','1' -'436','val_436','1' -'437','val_437','1' -'438','val_438','3' -'439','val_439','2' -'44','val_44','1' -'443','val_443','1' -'444','val_444','1' -'446','val_446','1' -'448','val_448','1' -'449','val_449','1' -'452','val_452','1' -'453','val_453','1' -'454','val_454','3' -'455','val_455','1' -'457','val_457','1' -'458','val_458','2' -'459','val_459','2' -'460','val_460','1' -'462','val_462','2' -'463','val_463','2' -'466','val_466','3' -'467','val_467','1' -'468','val_468','4' -'469','val_469','5' -'47','val_47','1' -'470','val_470','1' -'472','val_472','1' -'475','val_475','1' -'477','val_477','1' -'478','val_478','2' -'479','val_479','1' -'480','val_480','3' -'481','val_481','1' -'482','val_482','1' -'483','val_483','1' -'484','val_484','1' -'485','val_485','1' -'487','val_487','1' -'489','val_489','4' -'490','val_490','1' -'491','val_491','1' -'492','val_492','2' -'493','val_493','1' -'494','val_494','1' -'495','val_495','1' -'496','val_496','1' -'497','val_497','1' -'498','val_498','3' -'5','val_5','3' -'51','val_51','2' -'53','val_53','1' -'54','val_54','1' -'57','val_57','1' -'58','val_58','2' -'64','val_64','1' -'65','val_65','1' -'66','val_66','1' -'67','val_67','2' -'69','val_69','1' -'70','val_70','3' -'72','val_72','2' -'74','val_74','1' -'76','val_76','2' -'77','val_77','1' -'78','val_78','1' -'8','val_8','1' -'80','val_80','1' -'82','val_82','1' -'83','val_83','2' -'84','val_84','2' -'85','val_85','1' -'86','val_86','1' -'87','val_87','1' -'9','val_9','1' -'90','val_90','3' -'92','val_92','1' -'95','val_95','2' -'96','val_96','1' -'97','val_97','2' -'98','val_98','2' -309 rows selected ->>> ->>> EXPLAIN -FROM SRC -INSERT OVERWRITE TABLE DEST1 SELECT SRC.key, COUNT(DISTINCT SUBSTR(SRC.value,5)) GROUP BY SRC.key -INSERT OVERWRITE TABLE DEST2 SELECT SRC.key, SRC.value, COUNT(DISTINCT SUBSTR(SRC.value,5)) GROUP BY SRC.value, SRC.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME SRC))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL SRC) key)) (TOK_SELEXPR (TOK_FUNCTIONDI COUNT (TOK_FUNCTION SUBSTR (. (TOK_TABLE_OR_COL SRC) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL SRC) key))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST2))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL SRC) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL SRC) value)) (TOK_SELEXPR (TOK_FUNCTIONDI COUNT (TOK_FUNCTION SUBSTR (. (TOK_TABLE_OR_COL SRC) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL SRC) value) (. (TOK_TABLE_OR_COL SRC) key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-3 depends on stages: Stage-2' -' Stage-0 depends on stages: Stage-3' -' Stage-4 depends on stages: Stage-0' -' Stage-5 depends on stages: Stage-2' -' Stage-1 depends on stages: Stage-5' -' Stage-6 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Reduce Output Operator' -' key expressions:' -' expr: substr(value, 5)' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: substr(value, 5)' -' type: string' -' tag: -1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Forward' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col0)' -' bucketGroup: false' -' keys:' -' expr: VALUE._col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col0)' -' bucketGroup: false' -' keys:' -' expr: VALUE._col1' -' type: string' -' expr: VALUE._col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby9.dest1' -'' -' 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: groupby9.dest1' -'' -' Stage: Stage-4' -' Stats-Aggr Operator' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' expr: _col0' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: groupby9.dest2' -'' -' Stage: Stage-1' -' 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: groupby9.dest2' -'' -' Stage: Stage-6' -' Stats-Aggr Operator' -'' -'' -203 rows selected ->>> ->>> FROM SRC -INSERT OVERWRITE TABLE DEST1 SELECT SRC.key, COUNT(DISTINCT SUBSTR(SRC.value,5)) GROUP BY SRC.key -INSERT OVERWRITE TABLE DEST2 SELECT SRC.key, SRC.value, COUNT(DISTINCT SUBSTR(SRC.value,5)) GROUP BY SRC.value, SRC.key; -'_col0','_col1','_col2' -No rows selected ->>> ->>> SELECT DEST1.* FROM DEST1; -'key','value' -'0','1' -'10','1' -'100','1' -'103','1' -'104','1' -'105','1' -'11','1' -'111','1' -'113','1' -'114','1' -'116','1' -'118','1' -'119','1' -'12','1' -'120','1' -'125','1' -'126','1' -'128','1' -'129','1' -'131','1' -'133','1' -'134','1' -'136','1' -'137','1' -'138','1' -'143','1' -'145','1' -'146','1' -'149','1' -'15','1' -'150','1' -'152','1' -'153','1' -'155','1' -'156','1' -'157','1' -'158','1' -'160','1' -'162','1' -'163','1' -'164','1' -'165','1' -'166','1' -'167','1' -'168','1' -'169','1' -'17','1' -'170','1' -'172','1' -'174','1' -'175','1' -'176','1' -'177','1' -'178','1' -'179','1' -'18','1' -'180','1' -'181','1' -'183','1' -'186','1' -'187','1' -'189','1' -'19','1' -'190','1' -'191','1' -'192','1' -'193','1' -'194','1' -'195','1' -'196','1' -'197','1' -'199','1' -'2','1' -'20','1' -'200','1' -'201','1' -'202','1' -'203','1' -'205','1' -'207','1' -'208','1' -'209','1' -'213','1' -'214','1' -'216','1' -'217','1' -'218','1' -'219','1' -'221','1' -'222','1' -'223','1' -'224','1' -'226','1' -'228','1' -'229','1' -'230','1' -'233','1' -'235','1' -'237','1' -'238','1' -'239','1' -'24','1' -'241','1' -'242','1' -'244','1' -'247','1' -'248','1' -'249','1' -'252','1' -'255','1' -'256','1' -'257','1' -'258','1' -'26','1' -'260','1' -'262','1' -'263','1' -'265','1' -'266','1' -'27','1' -'272','1' -'273','1' -'274','1' -'275','1' -'277','1' -'278','1' -'28','1' -'280','1' -'281','1' -'282','1' -'283','1' -'284','1' -'285','1' -'286','1' -'287','1' -'288','1' -'289','1' -'291','1' -'292','1' -'296','1' -'298','1' -'30','1' -'302','1' -'305','1' -'306','1' -'307','1' -'308','1' -'309','1' -'310','1' -'311','1' -'315','1' -'316','1' -'317','1' -'318','1' -'321','1' -'322','1' -'323','1' -'325','1' -'327','1' -'33','1' -'331','1' -'332','1' -'333','1' -'335','1' -'336','1' -'338','1' -'339','1' -'34','1' -'341','1' -'342','1' -'344','1' -'345','1' -'348','1' -'35','1' -'351','1' -'353','1' -'356','1' -'360','1' -'362','1' -'364','1' -'365','1' -'366','1' -'367','1' -'368','1' -'369','1' -'37','1' -'373','1' -'374','1' -'375','1' -'377','1' -'378','1' -'379','1' -'382','1' -'384','1' -'386','1' -'389','1' -'392','1' -'393','1' -'394','1' -'395','1' -'396','1' -'397','1' -'399','1' -'4','1' -'400','1' -'401','1' -'402','1' -'403','1' -'404','1' -'406','1' -'407','1' -'409','1' -'41','1' -'411','1' -'413','1' -'414','1' -'417','1' -'418','1' -'419','1' -'42','1' -'421','1' -'424','1' -'427','1' -'429','1' -'43','1' -'430','1' -'431','1' -'432','1' -'435','1' -'436','1' -'437','1' -'438','1' -'439','1' -'44','1' -'443','1' -'444','1' -'446','1' -'448','1' -'449','1' -'452','1' -'453','1' -'454','1' -'455','1' -'457','1' -'458','1' -'459','1' -'460','1' -'462','1' -'463','1' -'466','1' -'467','1' -'468','1' -'469','1' -'47','1' -'470','1' -'472','1' -'475','1' -'477','1' -'478','1' -'479','1' -'480','1' -'481','1' -'482','1' -'483','1' -'484','1' -'485','1' -'487','1' -'489','1' -'490','1' -'491','1' -'492','1' -'493','1' -'494','1' -'495','1' -'496','1' -'497','1' -'498','1' -'5','1' -'51','1' -'53','1' -'54','1' -'57','1' -'58','1' -'64','1' -'65','1' -'66','1' -'67','1' -'69','1' -'70','1' -'72','1' -'74','1' -'76','1' -'77','1' -'78','1' -'8','1' -'80','1' -'82','1' -'83','1' -'84','1' -'85','1' -'86','1' -'87','1' -'9','1' -'90','1' -'92','1' -'95','1' -'96','1' -'97','1' -'98','1' -309 rows selected ->>> SELECT DEST2.* FROM DEST2; -'key','val1','val2' -'0','val_0','1' -'10','val_10','1' -'100','val_100','1' -'103','val_103','1' -'104','val_104','1' -'105','val_105','1' -'11','val_11','1' -'111','val_111','1' -'113','val_113','1' -'114','val_114','1' -'116','val_116','1' -'118','val_118','1' -'119','val_119','1' -'12','val_12','1' -'120','val_120','1' -'125','val_125','1' -'126','val_126','1' -'128','val_128','1' -'129','val_129','1' -'131','val_131','1' -'133','val_133','1' -'134','val_134','1' -'136','val_136','1' -'137','val_137','1' -'138','val_138','1' -'143','val_143','1' -'145','val_145','1' -'146','val_146','1' -'149','val_149','1' -'15','val_15','1' -'150','val_150','1' -'152','val_152','1' -'153','val_153','1' -'155','val_155','1' -'156','val_156','1' -'157','val_157','1' -'158','val_158','1' -'160','val_160','1' -'162','val_162','1' -'163','val_163','1' -'164','val_164','1' -'165','val_165','1' -'166','val_166','1' -'167','val_167','1' -'168','val_168','1' -'169','val_169','1' -'17','val_17','1' -'170','val_170','1' -'172','val_172','1' -'174','val_174','1' -'175','val_175','1' -'176','val_176','1' -'177','val_177','1' -'178','val_178','1' -'179','val_179','1' -'18','val_18','1' -'180','val_180','1' -'181','val_181','1' -'183','val_183','1' -'186','val_186','1' -'187','val_187','1' -'189','val_189','1' -'19','val_19','1' -'190','val_190','1' -'191','val_191','1' -'192','val_192','1' -'193','val_193','1' -'194','val_194','1' -'195','val_195','1' -'196','val_196','1' -'197','val_197','1' -'199','val_199','1' -'2','val_2','1' -'20','val_20','1' -'200','val_200','1' -'201','val_201','1' -'202','val_202','1' -'203','val_203','1' -'205','val_205','1' -'207','val_207','1' -'208','val_208','1' -'209','val_209','1' -'213','val_213','1' -'214','val_214','1' -'216','val_216','1' -'217','val_217','1' -'218','val_218','1' -'219','val_219','1' -'221','val_221','1' -'222','val_222','1' -'223','val_223','1' -'224','val_224','1' -'226','val_226','1' -'228','val_228','1' -'229','val_229','1' -'230','val_230','1' -'233','val_233','1' -'235','val_235','1' -'237','val_237','1' -'238','val_238','1' -'239','val_239','1' -'24','val_24','1' -'241','val_241','1' -'242','val_242','1' -'244','val_244','1' -'247','val_247','1' -'248','val_248','1' -'249','val_249','1' -'252','val_252','1' -'255','val_255','1' -'256','val_256','1' -'257','val_257','1' -'258','val_258','1' -'26','val_26','1' -'260','val_260','1' -'262','val_262','1' -'263','val_263','1' -'265','val_265','1' -'266','val_266','1' -'27','val_27','1' -'272','val_272','1' -'273','val_273','1' -'274','val_274','1' -'275','val_275','1' -'277','val_277','1' -'278','val_278','1' -'28','val_28','1' -'280','val_280','1' -'281','val_281','1' -'282','val_282','1' -'283','val_283','1' -'284','val_284','1' -'285','val_285','1' -'286','val_286','1' -'287','val_287','1' -'288','val_288','1' -'289','val_289','1' -'291','val_291','1' -'292','val_292','1' -'296','val_296','1' -'298','val_298','1' -'30','val_30','1' -'302','val_302','1' -'305','val_305','1' -'306','val_306','1' -'307','val_307','1' -'308','val_308','1' -'309','val_309','1' -'310','val_310','1' -'311','val_311','1' -'315','val_315','1' -'316','val_316','1' -'317','val_317','1' -'318','val_318','1' -'321','val_321','1' -'322','val_322','1' -'323','val_323','1' -'325','val_325','1' -'327','val_327','1' -'33','val_33','1' -'331','val_331','1' -'332','val_332','1' -'333','val_333','1' -'335','val_335','1' -'336','val_336','1' -'338','val_338','1' -'339','val_339','1' -'34','val_34','1' -'341','val_341','1' -'342','val_342','1' -'344','val_344','1' -'345','val_345','1' -'348','val_348','1' -'35','val_35','1' -'351','val_351','1' -'353','val_353','1' -'356','val_356','1' -'360','val_360','1' -'362','val_362','1' -'364','val_364','1' -'365','val_365','1' -'366','val_366','1' -'367','val_367','1' -'368','val_368','1' -'369','val_369','1' -'37','val_37','1' -'373','val_373','1' -'374','val_374','1' -'375','val_375','1' -'377','val_377','1' -'378','val_378','1' -'379','val_379','1' -'382','val_382','1' -'384','val_384','1' -'386','val_386','1' -'389','val_389','1' -'392','val_392','1' -'393','val_393','1' -'394','val_394','1' -'395','val_395','1' -'396','val_396','1' -'397','val_397','1' -'399','val_399','1' -'4','val_4','1' -'400','val_400','1' -'401','val_401','1' -'402','val_402','1' -'403','val_403','1' -'404','val_404','1' -'406','val_406','1' -'407','val_407','1' -'409','val_409','1' -'41','val_41','1' -'411','val_411','1' -'413','val_413','1' -'414','val_414','1' -'417','val_417','1' -'418','val_418','1' -'419','val_419','1' -'42','val_42','1' -'421','val_421','1' -'424','val_424','1' -'427','val_427','1' -'429','val_429','1' -'43','val_43','1' -'430','val_430','1' -'431','val_431','1' -'432','val_432','1' -'435','val_435','1' -'436','val_436','1' -'437','val_437','1' -'438','val_438','1' -'439','val_439','1' -'44','val_44','1' -'443','val_443','1' -'444','val_444','1' -'446','val_446','1' -'448','val_448','1' -'449','val_449','1' -'452','val_452','1' -'453','val_453','1' -'454','val_454','1' -'455','val_455','1' -'457','val_457','1' -'458','val_458','1' -'459','val_459','1' -'460','val_460','1' -'462','val_462','1' -'463','val_463','1' -'466','val_466','1' -'467','val_467','1' -'468','val_468','1' -'469','val_469','1' -'47','val_47','1' -'470','val_470','1' -'472','val_472','1' -'475','val_475','1' -'477','val_477','1' -'478','val_478','1' -'479','val_479','1' -'480','val_480','1' -'481','val_481','1' -'482','val_482','1' -'483','val_483','1' -'484','val_484','1' -'485','val_485','1' -'487','val_487','1' -'489','val_489','1' -'490','val_490','1' -'491','val_491','1' -'492','val_492','1' -'493','val_493','1' -'494','val_494','1' -'495','val_495','1' -'496','val_496','1' -'497','val_497','1' -'498','val_498','1' -'5','val_5','1' -'51','val_51','1' -'53','val_53','1' -'54','val_54','1' -'57','val_57','1' -'58','val_58','1' -'64','val_64','1' -'65','val_65','1' -'66','val_66','1' -'67','val_67','1' -'69','val_69','1' -'70','val_70','1' -'72','val_72','1' -'74','val_74','1' -'76','val_76','1' -'77','val_77','1' -'78','val_78','1' -'8','val_8','1' -'80','val_80','1' -'82','val_82','1' -'83','val_83','1' -'84','val_84','1' -'85','val_85','1' -'86','val_86','1' -'87','val_87','1' -'9','val_9','1' -'90','val_90','1' -'92','val_92','1' -'95','val_95','1' -'96','val_96','1' -'97','val_97','1' -'98','val_98','1' -309 rows selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/groupby_bigdata.q.out ql/src/test/results/beelinepositive/groupby_bigdata.q.out deleted file mode 100644 index 7ea72e6..0000000 --- ql/src/test/results/beelinepositive/groupby_bigdata.q.out +++ /dev/null @@ -1,16 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby_bigdata.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby_bigdata.q ->>> set hive.map.aggr.hash.percentmemory = 0.3; -No rows affected ->>> set hive.mapred.local.mem = 384; -No rows affected ->>> ->>> add file ../data/scripts/dumpdata_script.py; -No rows affected ->>> ->>> select count(distinct subq.key) from -(FROM src MAP src.key USING 'python dumpdata_script.py' AS key WHERE src.key = 10) subq; -'_c0' -'1000022' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/groupby_map_ppr.q.out ql/src/test/results/beelinepositive/groupby_map_ppr.q.out deleted file mode 100644 index 69523b1..0000000 --- ql/src/test/results/beelinepositive/groupby_map_ppr.q.out +++ /dev/null @@ -1,286 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby_map_ppr.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby_map_ppr.q ->>> set hive.map.aggr=true; -No rows affected ->>> set hive.groupby.skewindata=false; -No rows affected ->>> set mapred.reduce.tasks=31; -No rows affected ->>> ->>> CREATE TABLE dest1(key STRING, c1 INT, c2 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN EXTENDED -FROM srcpart src -INSERT OVERWRITE TABLE dest1 -SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))) -WHERE src.ds = '2008-04-08' -GROUP BY substr(src.key,1,1); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart) src)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1)) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION concat (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1) (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))))) (TOK_WHERE (= (. (TOK_TABLE_OR_COL src) ds) '2008-04-08')) (TOK_GROUPBY (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT substr(value, 5))' -' expr: sum(substr(value, 5))' -' bucketGroup: false' -' keys:' -' expr: substr(key, 1, 1)' -' type: string' -' expr: substr(value, 5)' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' expr: _col3' -' type: double' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_map_ppr.db/srcpart/ds=2008-04-08/hr=11 [src]' -' !!{hive.metastore.warehouse.dir}!!/groupby_map_ppr.db/srcpart/ds=2008-04-08/hr=12 [src]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_map_ppr.db/srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_map_ppr.db/srcpart/ds=2008-04-08/hr=11' -' name groupby_map_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_map_ppr.db/srcpart' -' name groupby_map_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_map_ppr.srcpart' -' name: groupby_map_ppr.srcpart' -' !!{hive.metastore.warehouse.dir}!!/groupby_map_ppr.db/srcpart/ds=2008-04-08/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_map_ppr.db/srcpart/ds=2008-04-08/hr=12' -' name groupby_map_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_map_ppr.db/srcpart' -' name groupby_map_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_map_ppr.srcpart' -' name: groupby_map_ppr.srcpart' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col1:0._col0)' -' expr: sum(VALUE._col1)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' expr: concat(_col0, _col2)' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,c1,c2' -' columns.types string:int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_map_ppr.db/dest1' -' name groupby_map_ppr.dest1' -' serialization.ddl struct dest1 { string key, i32 c1, string c2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_map_ppr.dest1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,c1,c2' -' columns.types string:int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_map_ppr.db/dest1' -' name groupby_map_ppr.dest1' -' serialization.ddl struct dest1 { string key, i32 c1, string c2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_map_ppr.dest1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -243 rows selected ->>> ->>> FROM srcpart src -INSERT OVERWRITE TABLE dest1 -SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))) -WHERE src.ds = '2008-04-08' -GROUP BY substr(src.key,1,1); -'_col0','_col1','_col2' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','c1','c2' -'0','1','00.0' -'1','71','132828.0' -'2','69','251142.0' -'3','62','364008.0' -'4','74','4105526.0' -'5','6','5794.0' -'6','5','6796.0' -'7','6','71470.0' -'8','8','81524.0' -'9','7','92094.0' -10 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/groupby_map_ppr_multi_distinct.q.out ql/src/test/results/beelinepositive/groupby_map_ppr_multi_distinct.q.out deleted file mode 100644 index 444188b..0000000 --- ql/src/test/results/beelinepositive/groupby_map_ppr_multi_distinct.q.out +++ /dev/null @@ -1,306 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby_map_ppr_multi_distinct.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby_map_ppr_multi_distinct.q ->>> set hive.map.aggr=true; -No rows affected ->>> set hive.groupby.skewindata=false; -No rows affected ->>> set mapred.reduce.tasks=31; -No rows affected ->>> ->>> CREATE TABLE dest1(key STRING, c1 INT, c2 STRING, C3 INT, c4 INT) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN EXTENDED -FROM srcpart src -INSERT OVERWRITE TABLE dest1 -SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))), sum(DISTINCT substr(src.value, 5)), count(DISTINCT src.value) -WHERE src.ds = '2008-04-08' -GROUP BY substr(src.key,1,1); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart) src)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1)) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION concat (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1) (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5)))) (TOK_SELEXPR (TOK_FUNCTIONDI sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTIONDI count (. (TOK_TABLE_OR_COL src) value)))) (TOK_WHERE (= (. (TOK_TABLE_OR_COL src) ds) '2008-04-08')) (TOK_GROUPBY (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT substr(value, 5))' -' expr: sum(substr(value, 5))' -' expr: sum(DISTINCT substr(value, 5))' -' expr: count(DISTINCT value)' -' bucketGroup: false' -' keys:' -' expr: substr(key, 1, 1)' -' type: string' -' expr: substr(value, 5)' -' type: string' -' expr: value' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' sort order: +++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col3' -' type: bigint' -' expr: _col4' -' type: double' -' expr: _col5' -' type: double' -' expr: _col6' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_map_ppr_multi_distinct.db/srcpart/ds=2008-04-08/hr=11 [src]' -' !!{hive.metastore.warehouse.dir}!!/groupby_map_ppr_multi_distinct.db/srcpart/ds=2008-04-08/hr=12 [src]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_map_ppr_multi_distinct.db/srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_map_ppr_multi_distinct.db/srcpart/ds=2008-04-08/hr=11' -' name groupby_map_ppr_multi_distinct.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_map_ppr_multi_distinct.db/srcpart' -' name groupby_map_ppr_multi_distinct.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_map_ppr_multi_distinct.srcpart' -' name: groupby_map_ppr_multi_distinct.srcpart' -' !!{hive.metastore.warehouse.dir}!!/groupby_map_ppr_multi_distinct.db/srcpart/ds=2008-04-08/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_map_ppr_multi_distinct.db/srcpart/ds=2008-04-08/hr=12' -' name groupby_map_ppr_multi_distinct.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_map_ppr_multi_distinct.db/srcpart' -' name groupby_map_ppr_multi_distinct.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_map_ppr_multi_distinct.srcpart' -' name: groupby_map_ppr_multi_distinct.srcpart' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col1:0._col0)' -' expr: sum(VALUE._col1)' -' expr: sum(DISTINCT KEY._col1:1._col0)' -' expr: count(DISTINCT KEY._col1:2._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' expr: concat(_col0, _col2)' -' type: string' -' expr: _col3' -' type: double' -' expr: _col4' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: _col2' -' type: string' -' expr: UDFToInteger(_col3)' -' type: int' -' expr: UDFToInteger(_col4)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,c1,c2,c3,c4' -' columns.types string:int:string:int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_map_ppr_multi_distinct.db/dest1' -' name groupby_map_ppr_multi_distinct.dest1' -' serialization.ddl struct dest1 { string key, i32 c1, string c2, i32 c3, i32 c4}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_map_ppr_multi_distinct.dest1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,c1,c2,c3,c4' -' columns.types string:int:string:int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_map_ppr_multi_distinct.db/dest1' -' name groupby_map_ppr_multi_distinct.dest1' -' serialization.ddl struct dest1 { string key, i32 c1, string c2, i32 c3, i32 c4}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_map_ppr_multi_distinct.dest1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -263 rows selected ->>> ->>> FROM srcpart src -INSERT OVERWRITE TABLE dest1 -SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))), sum(DISTINCT substr(src.value, 5)), count(DISTINCT src.value) -WHERE src.ds = '2008-04-08' -GROUP BY substr(src.key,1,1); -'_col0','_col1','_col2','_col3','_col4' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','c1','c2','c3','c4' -'0','1','00.0','0','1' -'1','71','132828.0','10044','71' -'2','69','251142.0','15780','69' -'3','62','364008.0','20119','62' -'4','74','4105526.0','30965','74' -'5','6','5794.0','278','6' -'6','5','6796.0','331','5' -'7','6','71470.0','447','6' -'8','8','81524.0','595','8' -'9','7','92094.0','577','7' -10 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/groupby_multi_single_reducer.q.out ql/src/test/results/beelinepositive/groupby_multi_single_reducer.q.out deleted file mode 100644 index 507185b..0000000 --- ql/src/test/results/beelinepositive/groupby_multi_single_reducer.q.out +++ /dev/null @@ -1,824 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby_multi_single_reducer.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby_multi_single_reducer.q ->>> set hive.multigroupby.singlereducer=true; -No rows affected ->>> ->>> CREATE TABLE dest_g2(key STRING, c1 INT, c2 STRING, c3 INT, c4 INT) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE dest_g3(key STRING, c1 INT, c2 STRING, c3 INT, c4 INT) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE dest_g4(key STRING, c1 INT, c2 STRING, c3 INT, c4 INT) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE dest_h2(key STRING, c1 INT, c2 STRING, c3 INT, c4 INT) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE dest_h3(key STRING, c1 INT, c2 STRING, c3 INT, c4 INT) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest_g2 SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))), sum(DISTINCT substr(src.value, 5)), count(src.value) WHERE substr(src.key,1,1) >= 5 GROUP BY substr(src.key,1,1) -INSERT OVERWRITE TABLE dest_g3 SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))), sum(DISTINCT substr(src.value, 5)), count(src.value) WHERE substr(src.key,1,1) < 5 GROUP BY substr(src.key,1,1) -INSERT OVERWRITE TABLE dest_g4 SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))), sum(DISTINCT substr(src.value, 5)), count(src.value) GROUP BY substr(src.key,1,1); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_g2))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1)) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION concat (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1) (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5)))) (TOK_SELEXPR (TOK_FUNCTIONDI sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION count (. (TOK_TABLE_OR_COL src) value)))) (TOK_WHERE (>= (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1) 5)) (TOK_GROUPBY (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_g3))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1)) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION concat (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1) (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5)))) (TOK_SELEXPR (TOK_FUNCTIONDI sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION count (. (TOK_TABLE_OR_COL src) value)))) (TOK_WHERE (< (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1) 5)) (TOK_GROUPBY (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_g4))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1)) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION concat (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1) (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5)))) (TOK_SELEXPR (TOK_FUNCTIONDI sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION count (. (TOK_TABLE_OR_COL src) value)))) (TOK_GROUPBY (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1))))' -'' -'STAGE DEPENDENCIES:' -' Stage-3 is a root stage' -' Stage-0 depends on stages: Stage-3' -' Stage-4 depends on stages: Stage-0' -' Stage-1 depends on stages: Stage-3' -' Stage-5 depends on stages: Stage-1' -' Stage-2 depends on stages: Stage-3' -' Stage-6 depends on stages: Stage-2' -'' -'STAGE PLANS:' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Reduce Output Operator' -' key expressions:' -' expr: substr(key, 1, 1)' -' type: string' -' expr: substr(value, 5)' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: substr(key, 1, 1)' -' type: string' -' tag: -1' -' value expressions:' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Forward' -' Filter Operator' -' predicate:' -' expr: (KEY._col0 >= 5.0)' -' type: boolean' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col1:1._col0)' -' expr: sum(KEY._col1:1._col0)' -' expr: sum(DISTINCT KEY._col1:1._col0)' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: complete' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' expr: concat(_col0, _col2)' -' type: string' -' expr: _col3' -' type: double' -' expr: _col4' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: _col2' -' type: string' -' expr: UDFToInteger(_col3)' -' type: int' -' expr: UDFToInteger(_col4)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby_multi_single_reducer.dest_g2' -' Filter Operator' -' predicate:' -' expr: (KEY._col0 < 5.0)' -' type: boolean' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col1:1._col0)' -' expr: sum(KEY._col1:1._col0)' -' expr: sum(DISTINCT KEY._col1:1._col0)' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: complete' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' expr: concat(_col0, _col2)' -' type: string' -' expr: _col3' -' type: double' -' expr: _col4' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: _col2' -' type: string' -' expr: UDFToInteger(_col3)' -' type: int' -' expr: UDFToInteger(_col4)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: groupby_multi_single_reducer.dest_g3' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col1:1._col0)' -' expr: sum(KEY._col1:1._col0)' -' expr: sum(DISTINCT KEY._col1:1._col0)' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: complete' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' expr: concat(_col0, _col2)' -' type: string' -' expr: _col3' -' type: double' -' expr: _col4' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: _col2' -' type: string' -' expr: UDFToInteger(_col3)' -' type: int' -' expr: UDFToInteger(_col4)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' File Output Operator' -' compressed: false' -' GlobalTableId: 3' -' 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: groupby_multi_single_reducer.dest_g4' -'' -' 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: groupby_multi_single_reducer.dest_g2' -'' -' Stage: Stage-4' -' Stats-Aggr Operator' -'' -' Stage: Stage-1' -' 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: groupby_multi_single_reducer.dest_g3' -'' -' Stage: Stage-5' -' Stats-Aggr Operator' -'' -' Stage: Stage-2' -' 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: groupby_multi_single_reducer.dest_g4' -'' -' Stage: Stage-6' -' Stats-Aggr Operator' -'' -'' -229 rows selected ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest_g2 SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))), sum(DISTINCT substr(src.value, 5)), count(src.value) WHERE substr(src.key,1,1) >= 5 GROUP BY substr(src.key,1,1) -INSERT OVERWRITE TABLE dest_g3 SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))), sum(DISTINCT substr(src.value, 5)), count(src.value) WHERE substr(src.key,1,1) < 5 GROUP BY substr(src.key,1,1) -INSERT OVERWRITE TABLE dest_g4 SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))), sum(DISTINCT substr(src.value, 5)), count(src.value) GROUP BY substr(src.key,1,1); -'_col0','_col1','_col2','_col3','_col4' -No rows selected ->>> ->>> SELECT * FROM dest_g2 ORDER BY key ASC, c1 ASC, c2 ASC, c3 ASC, c4 ASC; -'key','c1','c2','c3','c4' -'5','6','5397.0','278','10' -'6','5','6398.0','331','6' -'7','6','7735.0','447','10' -'8','8','8762.0','595','10' -'9','7','91047.0','577','12' -5 rows selected ->>> SELECT * FROM dest_g3 ORDER BY key ASC, c1 ASC, c2 ASC, c3 ASC, c4 ASC; -'key','c1','c2','c3','c4' -'0','1','00.0','0','3' -'1','71','116414.0','10044','115' -'2','69','225571.0','15780','111' -'3','62','332004.0','20119','99' -'4','74','452763.0','30965','124' -5 rows selected ->>> SELECT * FROM dest_g4 ORDER BY key ASC, c1 ASC, c2 ASC, c3 ASC, c4 ASC; -'key','c1','c2','c3','c4' -'0','1','00.0','0','3' -'1','71','116414.0','10044','115' -'2','69','225571.0','15780','111' -'3','62','332004.0','20119','99' -'4','74','452763.0','30965','124' -'5','6','5397.0','278','10' -'6','5','6398.0','331','6' -'7','6','7735.0','447','10' -'8','8','8762.0','595','10' -'9','7','91047.0','577','12' -10 rows selected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest_g2 SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))), sum(DISTINCT substr(src.value, 5)), count(src.value) WHERE substr(src.key,1,1) >= 5 GROUP BY substr(src.key,1,1) -INSERT OVERWRITE TABLE dest_g3 SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))), sum(DISTINCT substr(src.value, 5)), count(src.value) WHERE substr(src.key,1,1) < 5 GROUP BY substr(src.key,1,1) -INSERT OVERWRITE TABLE dest_g4 SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))), sum(DISTINCT substr(src.value, 5)), count(src.value) GROUP BY substr(src.key,1,1) -INSERT OVERWRITE TABLE dest_h2 SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))), sum(substr(src.value, 5)), count(src.value) GROUP BY substr(src.key,1,1), substr(src.key,2,1) LIMIT 10 -INSERT OVERWRITE TABLE dest_h3 SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))), sum(substr(src.value, 5)), count(src.value) WHERE substr(src.key,1,1) >= 5 GROUP BY substr(src.key,1,1), substr(src.key,2,1); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_g2))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1)) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION concat (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1) (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5)))) (TOK_SELEXPR (TOK_FUNCTIONDI sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION count (. (TOK_TABLE_OR_COL src) value)))) (TOK_WHERE (>= (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1) 5)) (TOK_GROUPBY (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_g3))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1)) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION concat (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1) (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5)))) (TOK_SELEXPR (TOK_FUNCTIONDI sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION count (. (TOK_TABLE_OR_COL src) value)))) (TOK_WHERE (< (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1) 5)) (TOK_GROUPBY (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_g4))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1)) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION concat (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1) (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5)))) (TOK_SELEXPR (TOK_FUNCTIONDI sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION count (. (TOK_TABLE_OR_COL src) value)))) (TOK_GROUPBY (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_h2))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1)) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION concat (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1) (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5)))) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION count (. (TOK_TABLE_OR_COL src) value)))) (TOK_GROUPBY (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1) (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 2 1)) (TOK_LIMIT 10)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_h3))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1)) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION concat (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1) (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5)))) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION count (. (TOK_TABLE_OR_COL src) value)))) (TOK_WHERE (>= (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1) 5)) (TOK_GROUPBY (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1) (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 2 1))))' -'' -'STAGE DEPENDENCIES:' -' Stage-5 is a root stage' -' Stage-0 depends on stages: Stage-5' -' Stage-6 depends on stages: Stage-0' -' Stage-1 depends on stages: Stage-5' -' Stage-7 depends on stages: Stage-1' -' Stage-2 depends on stages: Stage-5' -' Stage-8 depends on stages: Stage-2' -' Stage-9 depends on stages: Stage-5' -' Stage-10 depends on stages: Stage-9' -' Stage-3 depends on stages: Stage-10' -' Stage-11 depends on stages: Stage-3' -' Stage-4 depends on stages: Stage-10' -' Stage-12 depends on stages: Stage-4' -'' -'STAGE PLANS:' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Reduce Output Operator' -' key expressions:' -' expr: substr(key, 1, 1)' -' type: string' -' expr: substr(value, 5)' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: substr(key, 1, 1)' -' type: string' -' tag: -1' -' value expressions:' -' expr: value' -' type: string' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Reduce Operator Tree:' -' Forward' -' Filter Operator' -' predicate:' -' expr: (KEY._col0 >= 5.0)' -' type: boolean' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col1:1._col0)' -' expr: sum(KEY._col1:1._col0)' -' expr: sum(DISTINCT KEY._col1:1._col0)' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: complete' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' expr: concat(_col0, _col2)' -' type: string' -' expr: _col3' -' type: double' -' expr: _col4' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: _col2' -' type: string' -' expr: UDFToInteger(_col3)' -' type: int' -' expr: UDFToInteger(_col4)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby_multi_single_reducer.dest_g2' -' Filter Operator' -' predicate:' -' expr: (KEY._col0 < 5.0)' -' type: boolean' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col1:1._col0)' -' expr: sum(KEY._col1:1._col0)' -' expr: sum(DISTINCT KEY._col1:1._col0)' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: complete' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' expr: concat(_col0, _col2)' -' type: string' -' expr: _col3' -' type: double' -' expr: _col4' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: _col2' -' type: string' -' expr: UDFToInteger(_col3)' -' type: int' -' expr: UDFToInteger(_col4)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: groupby_multi_single_reducer.dest_g3' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col1:1._col0)' -' expr: sum(KEY._col1:1._col0)' -' expr: sum(DISTINCT KEY._col1:1._col0)' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: complete' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' expr: concat(_col0, _col2)' -' type: string' -' expr: _col3' -' type: double' -' expr: _col4' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: _col2' -' type: string' -' expr: UDFToInteger(_col3)' -' type: int' -' expr: UDFToInteger(_col4)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' File Output Operator' -' compressed: false' -' GlobalTableId: 3' -' 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: groupby_multi_single_reducer.dest_g4' -'' -' 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: groupby_multi_single_reducer.dest_g2' -'' -' Stage: Stage-6' -' Stats-Aggr Operator' -'' -' Stage: Stage-1' -' 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: groupby_multi_single_reducer.dest_g3' -'' -' Stage: Stage-7' -' Stats-Aggr Operator' -'' -' Stage: Stage-2' -' 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: groupby_multi_single_reducer.dest_g4' -'' -' Stage: Stage-8' -' Stats-Aggr Operator' -'' -' Stage: Stage-9' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: substr(key, 1, 1)' -' type: string' -' expr: substr(key, 2, 1)' -' type: string' -' expr: substr(value, 5)' -' type: string' -' sort order: +++' -' Map-reduce partition columns:' -' expr: substr(key, 1, 1)' -' type: string' -' expr: substr(key, 2, 1)' -' type: string' -' tag: -1' -' value expressions:' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Forward' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col2:0._col0)' -' expr: sum(KEY._col2:0._col0)' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: string' -' mode: complete' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col2' -' type: bigint' -' expr: concat(_col0, _col3)' -' type: string' -' expr: _col3' -' type: double' -' expr: _col4' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Filter Operator' -' predicate:' -' expr: (KEY._col0 >= 5.0)' -' type: boolean' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col2:0._col0)' -' expr: sum(KEY._col2:0._col0)' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: string' -' mode: complete' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col2' -' type: bigint' -' expr: concat(_col0, _col3)' -' type: string' -' expr: _col3' -' type: double' -' expr: _col4' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: _col2' -' type: string' -' expr: UDFToInteger(_col3)' -' type: int' -' expr: UDFToInteger(_col4)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' File Output Operator' -' compressed: false' -' GlobalTableId: 5' -' 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: groupby_multi_single_reducer.dest_h3' -'' -' Stage: Stage-10' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: string' -' expr: _col3' -' type: double' -' expr: _col4' -' type: bigint' -' Reduce Operator Tree:' -' Extract' -' Limit' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: _col2' -' type: string' -' expr: UDFToInteger(_col3)' -' type: int' -' expr: UDFToInteger(_col4)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' File Output Operator' -' compressed: false' -' GlobalTableId: 4' -' 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: groupby_multi_single_reducer.dest_h2' -'' -' Stage: Stage-3' -' 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: groupby_multi_single_reducer.dest_h2' -'' -' Stage: Stage-11' -' Stats-Aggr Operator' -'' -' Stage: Stage-4' -' 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: groupby_multi_single_reducer.dest_h3' -'' -' Stage: Stage-12' -' Stats-Aggr Operator' -'' -'' -426 rows selected ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest_g2 SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))), sum(DISTINCT substr(src.value, 5)), count(src.value) WHERE substr(src.key,1,1) >= 5 GROUP BY substr(src.key,1,1) -INSERT OVERWRITE TABLE dest_g3 SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))), sum(DISTINCT substr(src.value, 5)), count(src.value) WHERE substr(src.key,1,1) < 5 GROUP BY substr(src.key,1,1) -INSERT OVERWRITE TABLE dest_g4 SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))), sum(DISTINCT substr(src.value, 5)), count(src.value) GROUP BY substr(src.key,1,1) -INSERT OVERWRITE TABLE dest_h2 SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))), sum(substr(src.value, 5)), count(src.value) GROUP BY substr(src.key,1,1), substr(src.key,2,1) LIMIT 10 -INSERT OVERWRITE TABLE dest_h3 SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))), sum(substr(src.value, 5)), count(src.value) WHERE substr(src.key,1,1) >= 5 GROUP BY substr(src.key,1,1), substr(src.key,2,1); -'_col0','_col1','_col2','_col3','_col4' -No rows selected ->>> ->>> SELECT * FROM dest_g2 ORDER BY key ASC, c1 ASC, c2 ASC, c3 ASC, c4 ASC; -'key','c1','c2','c3','c4' -'5','6','5397.0','278','10' -'6','5','6398.0','331','6' -'7','6','7735.0','447','10' -'8','8','8762.0','595','10' -'9','7','91047.0','577','12' -5 rows selected ->>> SELECT * FROM dest_g3 ORDER BY key ASC, c1 ASC, c2 ASC, c3 ASC, c4 ASC; -'key','c1','c2','c3','c4' -'0','1','00.0','0','3' -'1','71','116414.0','10044','115' -'2','69','225571.0','15780','111' -'3','62','332004.0','20119','99' -'4','74','452763.0','30965','124' -5 rows selected ->>> SELECT * FROM dest_g4 ORDER BY key ASC, c1 ASC, c2 ASC, c3 ASC, c4 ASC; -'key','c1','c2','c3','c4' -'0','1','00.0','0','3' -'1','71','116414.0','10044','115' -'2','69','225571.0','15780','111' -'3','62','332004.0','20119','99' -'4','74','452763.0','30965','124' -'5','6','5397.0','278','10' -'6','5','6398.0','331','6' -'7','6','7735.0','447','10' -'8','8','8762.0','595','10' -'9','7','91047.0','577','12' -10 rows selected ->>> SELECT * FROM dest_h2 ORDER BY key ASC, c1 ASC, c2 ASC, c3 ASC, c4 ASC; -'key','c1','c2','c3','c4' -'0','1','00.0','0','3' -'1','4','1878.0','878','6' -'1','5','1729.0','729','8' -'1','6','11282.0','1282','12' -'1','6','11494.0','1494','11' -'1','7','11171.0','1171','11' -'1','7','11516.0','1516','10' -'1','8','11263.0','1263','10' -'1','9','12294.0','2294','14' -'1','9','12654.0','2654','16' -10 rows selected ->>> SELECT * FROM dest_h3 ORDER BY key ASC, c1 ASC, c2 ASC, c3 ASC, c4 ASC; -'key','c1','c2','c3','c4' -'5','1','5102.0','102','2' -'5','1','5116.0','116','2' -'5','1','515.0','15','3' -'5','1','553.0','53','1' -'5','1','554.0','54','1' -'5','1','557.0','57','1' -'6','1','6134.0','134','2' -'6','1','664.0','64','1' -'6','1','665.0','65','1' -'6','1','666.0','66','1' -'6','1','669.0','69','1' -'7','1','7144.0','144','2' -'7','1','7152.0','152','2' -'7','1','7210.0','210','3' -'7','1','774.0','74','1' -'7','1','777.0','77','1' -'7','1','778.0','78','1' -'8','1','8166.0','166','2' -'8','1','8168.0','168','2' -'8','1','88.0','8','1' -'8','1','880.0','80','1' -'8','1','882.0','82','1' -'8','1','885.0','85','1' -'8','1','886.0','86','1' -'8','1','887.0','87','1' -'9','1','9190.0','190','2' -'9','1','9194.0','194','2' -'9','1','9196.0','196','2' -'9','1','9270.0','270','3' -'9','1','99.0','9','1' -'9','1','992.0','92','1' -'9','1','996.0','96','1' -32 rows selected ->>> ->>> DROP TABLE dest_g2; -No rows affected ->>> DROP TABLE dest_g3; -No rows affected ->>> DROP TABLE dest_g4; -No rows affected ->>> DROP TABLE dest_h2; -No rows affected ->>> DROP TABLE dest_h3; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/groupby_multi_single_reducer2.q.out ql/src/test/results/beelinepositive/groupby_multi_single_reducer2.q.out deleted file mode 100644 index 399875e..0000000 --- ql/src/test/results/beelinepositive/groupby_multi_single_reducer2.q.out +++ /dev/null @@ -1,194 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby_multi_single_reducer2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby_multi_single_reducer2.q ->>> set hive.multigroupby.singlereducer=true; -No rows affected ->>> ->>> CREATE TABLE dest_g2(key STRING, c1 INT) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE dest_g3(key STRING, c1 INT, c2 INT) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest_g2 SELECT substr(src.key,1,1), count(DISTINCT src.key) WHERE substr(src.key,1,1) >= 5 GROUP BY substr(src.key,1,1) -INSERT OVERWRITE TABLE dest_g3 SELECT substr(src.key,1,1), count(DISTINCT src.key), count(src.value) WHERE substr(src.key,1,1) < 5 GROUP BY substr(src.key,1,1); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_g2))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1)) (TOK_SELEXPR (TOK_FUNCTIONDI count (. (TOK_TABLE_OR_COL src) key)))) (TOK_WHERE (>= (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1) 5)) (TOK_GROUPBY (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_g3))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1)) (TOK_SELEXPR (TOK_FUNCTIONDI count (. (TOK_TABLE_OR_COL src) key))) (TOK_SELEXPR (TOK_FUNCTION count (. (TOK_TABLE_OR_COL src) value)))) (TOK_WHERE (< (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1) 5)) (TOK_GROUPBY (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-0 depends on stages: Stage-2' -' Stage-3 depends on stages: Stage-0' -' Stage-1 depends on stages: Stage-2' -' Stage-4 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: ((substr(key, 1, 1) >= 5) or (substr(key, 1, 1) < 5))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Reduce Output Operator' -' key expressions:' -' expr: substr(key, 1, 1)' -' type: string' -' expr: key' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: substr(key, 1, 1)' -' type: string' -' tag: -1' -' value expressions:' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Forward' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col1:0._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: complete' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: groupby_multi_single_reducer2.dest_g2' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col1:0._col0)' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: complete' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: UDFToInteger(_col2)' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: groupby_multi_single_reducer2.dest_g3' -'' -' 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: groupby_multi_single_reducer2.dest_g2' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -' Stage: Stage-1' -' 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: groupby_multi_single_reducer2.dest_g3' -'' -' Stage: Stage-4' -' Stats-Aggr Operator' -'' -'' -139 rows selected ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest_g2 SELECT substr(src.key,1,1), count(DISTINCT src.key) WHERE substr(src.key,1,1) >= 5 GROUP BY substr(src.key,1,1) -INSERT OVERWRITE TABLE dest_g3 SELECT substr(src.key,1,1), count(DISTINCT src.key), count(src.value) WHERE substr(src.key,1,1) < 5 GROUP BY substr(src.key,1,1); -'_col0','_col1','_col2' -No rows selected ->>> ->>> SELECT * FROM dest_g2; -'key','c1' -'0','1' -'1','71' -'2','69' -'3','62' -'4','74' -'5','6' -'6','5' -'7','6' -'8','8' -'9','7' -10 rows selected ->>> SELECT * FROM dest_g3; -'key','c1','c2' -'0','1','3' -'1','71','115' -'2','69','111' -'3','62','99' -'4','74','124' -'5','6','10' -'6','5','6' -'7','6','10' -'8','8','10' -'9','7','12' -10 rows selected ->>> ->>> DROP TABLE dest_g2; -No rows affected ->>> DROP TABLE dest_g3; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/groupby_neg_float.q.out ql/src/test/results/beelinepositive/groupby_neg_float.q.out deleted file mode 100644 index a996f4f..0000000 --- ql/src/test/results/beelinepositive/groupby_neg_float.q.out +++ /dev/null @@ -1,19 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby_neg_float.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby_neg_float.q ->>> FROM src -SELECT cast('-30.33' as DOUBLE) -GROUP BY cast('-30.33' as DOUBLE) -LIMIT 1; -'_c0' -'-30.33' -1 row selected ->>> ->>> ->>> FROM src -SELECT '-30.33' -GROUP BY '-30.33' -LIMIT 1; -'_c0' -'-30.33' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/groupby_ppd.q.out ql/src/test/results/beelinepositive/groupby_ppd.q.out deleted file mode 100644 index 8ccd1fc..0000000 --- ql/src/test/results/beelinepositive/groupby_ppd.q.out +++ /dev/null @@ -1,153 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby_ppd.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby_ppd.q ->>> -- see HIVE-2382 ->>> create table invites (id int, foo int, bar int); -No rows affected ->>> explain select * from (select foo, bar from (select bar, foo from invites c union all select bar, foo from invites d) b) a group by bar, foo having bar=1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME invites) c)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL bar)) (TOK_SELEXPR (TOK_TABLE_OR_COL foo))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME invites) d)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL bar)) (TOK_SELEXPR (TOK_TABLE_OR_COL foo)))))) b)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL foo)) (TOK_SELEXPR (TOK_TABLE_OR_COL bar))))) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_GROUPBY (TOK_TABLE_OR_COL bar) (TOK_TABLE_OR_COL foo)) (TOK_HAVING (= (TOK_TABLE_OR_COL bar) 1))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a-subquery1:b-subquery1:c ' -' TableScan' -' alias: c' -' Filter Operator' -' predicate:' -' expr: (bar = 1)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: bar' -' type: int' -' expr: foo' -' type: int' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col1' -' type: int' -' expr: _col0' -' type: int' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' outputColumnNames: _col0, _col1' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: _col1' -' type: int' -' expr: _col0' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' tag: -1' -' a-subquery2:b-subquery2:d ' -' TableScan' -' alias: d' -' Filter Operator' -' predicate:' -' expr: (bar = 1)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: bar' -' type: int' -' expr: foo' -' type: int' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col1' -' type: int' -' expr: _col0' -' type: int' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' outputColumnNames: _col0, _col1' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: _col1' -' type: int' -' expr: _col0' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' expr: KEY._col1' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -142 rows selected ->>> drop table invites; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/groupby_ppr.q.out ql/src/test/results/beelinepositive/groupby_ppr.q.out deleted file mode 100644 index 0a9c562..0000000 --- ql/src/test/results/beelinepositive/groupby_ppr.q.out +++ /dev/null @@ -1,267 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby_ppr.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby_ppr.q ->>> set hive.map.aggr=false; -No rows affected ->>> set hive.groupby.skewindata=false; -No rows affected ->>> ->>> CREATE TABLE dest1(key STRING, c1 INT, c2 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN EXTENDED -FROM srcpart src -INSERT OVERWRITE TABLE dest1 -SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))) -WHERE src.ds = '2008-04-08' -GROUP BY substr(src.key,1,1); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart) src)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1)) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION concat (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1) (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))))) (TOK_WHERE (= (. (TOK_TABLE_OR_COL src) ds) '2008-04-08')) (TOK_GROUPBY (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Reduce Output Operator' -' key expressions:' -' expr: substr(key, 1, 1)' -' type: string' -' expr: substr(value, 5)' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: substr(key, 1, 1)' -' type: string' -' tag: -1' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_ppr.db/srcpart/ds=2008-04-08/hr=11 [src]' -' !!{hive.metastore.warehouse.dir}!!/groupby_ppr.db/srcpart/ds=2008-04-08/hr=12 [src]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_ppr.db/srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_ppr.db/srcpart/ds=2008-04-08/hr=11' -' name groupby_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_ppr.db/srcpart' -' name groupby_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_ppr.srcpart' -' name: groupby_ppr.srcpart' -' !!{hive.metastore.warehouse.dir}!!/groupby_ppr.db/srcpart/ds=2008-04-08/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_ppr.db/srcpart/ds=2008-04-08/hr=12' -' name groupby_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_ppr.db/srcpart' -' name groupby_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_ppr.srcpart' -' name: groupby_ppr.srcpart' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col1:0._col0)' -' expr: sum(KEY._col1:0._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: complete' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' expr: concat(_col0, _col2)' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,c1,c2' -' columns.types string:int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_ppr.db/dest1' -' name groupby_ppr.dest1' -' serialization.ddl struct dest1 { string key, i32 c1, string c2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_ppr.dest1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,c1,c2' -' columns.types string:int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_ppr.db/dest1' -' name groupby_ppr.dest1' -' serialization.ddl struct dest1 { string key, i32 c1, string c2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_ppr.dest1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -226 rows selected ->>> ->>> FROM srcpart src -INSERT OVERWRITE TABLE dest1 -SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))) -WHERE src.ds = '2008-04-08' -GROUP BY substr(src.key,1,1); -'_col0','_col1','_col2' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','c1','c2' -'0','1','00.0' -'1','71','132828.0' -'2','69','251142.0' -'3','62','364008.0' -'4','74','4105526.0' -'5','6','5794.0' -'6','5','6796.0' -'7','6','71470.0' -'8','8','81524.0' -'9','7','92094.0' -10 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/groupby_ppr_multi_distinct.q.out ql/src/test/results/beelinepositive/groupby_ppr_multi_distinct.q.out deleted file mode 100644 index ec11a3d..0000000 --- ql/src/test/results/beelinepositive/groupby_ppr_multi_distinct.q.out +++ /dev/null @@ -1,279 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby_ppr_multi_distinct.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby_ppr_multi_distinct.q ->>> set hive.map.aggr=false; -No rows affected ->>> set hive.groupby.skewindata=false; -No rows affected ->>> ->>> CREATE TABLE dest1(key STRING, c1 INT, c2 STRING, c3 INT, c4 INT) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN EXTENDED -FROM srcpart src -INSERT OVERWRITE TABLE dest1 -SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))), sum(DISTINCT substr(src.value, 5)), count(DISTINCT src.value) -WHERE src.ds = '2008-04-08' -GROUP BY substr(src.key,1,1); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart) src)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1)) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTION concat (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1) (TOK_FUNCTION sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5)))) (TOK_SELEXPR (TOK_FUNCTIONDI sum (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) value) 5))) (TOK_SELEXPR (TOK_FUNCTIONDI count (. (TOK_TABLE_OR_COL src) value)))) (TOK_WHERE (= (. (TOK_TABLE_OR_COL src) ds) '2008-04-08')) (TOK_GROUPBY (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL src) key) 1 1))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Reduce Output Operator' -' key expressions:' -' expr: substr(key, 1, 1)' -' type: string' -' expr: substr(value, 5)' -' type: string' -' expr: value' -' type: string' -' sort order: +++' -' Map-reduce partition columns:' -' expr: substr(key, 1, 1)' -' type: string' -' tag: -1' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_ppr_multi_distinct.db/srcpart/ds=2008-04-08/hr=11 [src]' -' !!{hive.metastore.warehouse.dir}!!/groupby_ppr_multi_distinct.db/srcpart/ds=2008-04-08/hr=12 [src]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_ppr_multi_distinct.db/srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_ppr_multi_distinct.db/srcpart/ds=2008-04-08/hr=11' -' name groupby_ppr_multi_distinct.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_ppr_multi_distinct.db/srcpart' -' name groupby_ppr_multi_distinct.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_ppr_multi_distinct.srcpart' -' name: groupby_ppr_multi_distinct.srcpart' -' !!{hive.metastore.warehouse.dir}!!/groupby_ppr_multi_distinct.db/srcpart/ds=2008-04-08/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_ppr_multi_distinct.db/srcpart/ds=2008-04-08/hr=12' -' name groupby_ppr_multi_distinct.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_ppr_multi_distinct.db/srcpart' -' name groupby_ppr_multi_distinct.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_ppr_multi_distinct.srcpart' -' name: groupby_ppr_multi_distinct.srcpart' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col1:0._col0)' -' expr: sum(KEY._col1:1._col0)' -' expr: sum(DISTINCT KEY._col1:1._col0)' -' expr: count(DISTINCT KEY._col1:2._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: complete' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' expr: concat(_col0, _col2)' -' type: string' -' expr: _col3' -' type: double' -' expr: _col4' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: _col2' -' type: string' -' expr: UDFToInteger(_col3)' -' type: int' -' expr: UDFToInteger(_col4)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,c1,c2,c3,c4' -' columns.types string:int:string:int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_ppr_multi_distinct.db/dest1' -' name groupby_ppr_multi_distinct.dest1' -' serialization.ddl struct dest1 { string key, i32 c1, string c2, i32 c3, i32 c4}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_ppr_multi_distinct.dest1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,c1,c2,c3,c4' -' columns.types string:int:string:int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_ppr_multi_distinct.db/dest1' -' name groupby_ppr_multi_distinct.dest1' -' serialization.ddl struct dest1 { string key, i32 c1, string c2, i32 c3, i32 c4}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_ppr_multi_distinct.dest1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -238 rows selected ->>> ->>> FROM srcpart src -INSERT OVERWRITE TABLE dest1 -SELECT substr(src.key,1,1), count(DISTINCT substr(src.value,5)), concat(substr(src.key,1,1),sum(substr(src.value,5))), sum(DISTINCT substr(src.value, 5)), count(DISTINCT src.value) -WHERE src.ds = '2008-04-08' -GROUP BY substr(src.key,1,1); -'_col0','_col1','_col2','_col3','_col4' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','c1','c2','c3','c4' -'0','1','00.0','0','1' -'1','71','132828.0','10044','71' -'2','69','251142.0','15780','69' -'3','62','364008.0','20119','62' -'4','74','4105526.0','30965','74' -'5','6','5794.0','278','6' -'6','5','6796.0','331','5' -'7','6','71470.0','447','6' -'8','8','81524.0','595','8' -'9','7','92094.0','577','7' -10 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/groupby_sort_1.q.out ql/src/test/results/beelinepositive/groupby_sort_1.q.out deleted file mode 100644 index 1229bcd..0000000 --- ql/src/test/results/beelinepositive/groupby_sort_1.q.out +++ /dev/null @@ -1,4360 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby_sort_1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby_sort_1.q ->>> set hive.enforce.bucketing = true; -No rows affected ->>> set hive.enforce.sorting = true; -No rows affected ->>> set hive.exec.reducers.max = 10; -No rows affected ->>> set hive.map.groupby.sorted=true; -No rows affected ->>> ->>> CREATE TABLE T1(key STRING, val STRING) -CLUSTERED BY (key) SORTED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T1.txt' INTO TABLE T1; -No rows affected ->>> ->>> -- perform an insert to make sure there are 2 files ->>> INSERT OVERWRITE TABLE T1 select key, val from T1; -'key','val' -No rows selected ->>> ->>> CREATE TABLE outputTbl1(key int, cnt int); -No rows affected ->>> ->>> -- The plan should be converted to a map-side group by if the group by key ->>> -- matches the skewed key ->>> -- addind a order by at the end to make the test results deterministic ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE outputTbl1 -SELECT key, count(1) FROM T1 GROUP BY key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME outputTbl1))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key))))' -'' -'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' -' Alias -> Map Operator Tree:' -' t1 ' -' TableScan' -' alias: t1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,cnt' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/outputtbl1' -' name groupby_sort_1.outputtbl1' -' serialization.ddl struct outputtbl1 { i32 key, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.outputtbl1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1 [t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1 ' -' Partition' -' base file name: t1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1' -' name groupby_sort_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1' -' name groupby_sort_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.t1' -' name: groupby_sort_1.t1' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,cnt' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/outputtbl1' -' name groupby_sort_1.outputtbl1' -' serialization.ddl struct outputtbl1 { i32 key, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.outputtbl1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -154 rows selected ->>> ->>> INSERT OVERWRITE TABLE outputTbl1 -SELECT key, count(1) FROM T1 GROUP BY key; -'_col0','_col1' -No rows selected ->>> ->>> SELECT * FROM outputTbl1 ORDER BY key; -'key','cnt' -'1','1' -'2','1' -'3','1' -'7','1' -'8','2' -5 rows selected ->>> ->>> CREATE TABLE outputTbl2(key1 int, key2 string, cnt int); -No rows affected ->>> ->>> -- no map-side group by even if the group by key is a superset of skewed key ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE outputTbl2 -SELECT key, val, count(1) FROM T1 GROUP BY key, val; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME outputTbl2))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL val)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL val))))' -'' -'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' -' Alias -> Map Operator Tree:' -' t1 ' -' TableScan' -' alias: t1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' outputColumnNames: key, val' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1 [t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1 ' -' Partition' -' base file name: t1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1' -' name groupby_sort_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1' -' name groupby_sort_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.t1' -' name: groupby_sort_1.t1' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: UDFToInteger(_col2)' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key1,key2,cnt' -' columns.types int:string:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/outputtbl2' -' name groupby_sort_1.outputtbl2' -' serialization.ddl struct outputtbl2 { i32 key1, string key2, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.outputtbl2' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key1,key2,cnt' -' columns.types int:string:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/outputtbl2' -' name groupby_sort_1.outputtbl2' -' serialization.ddl struct outputtbl2 { i32 key1, string key2, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.outputtbl2' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -190 rows selected ->>> ->>> INSERT OVERWRITE TABLE outputTbl2 -SELECT key, val, count(1) FROM T1 GROUP BY key, val; -'_col0','_col1','_col2' -No rows selected ->>> ->>> SELECT * FROM outputTbl2 ORDER BY key1, key2; -'key1','key2','cnt' -'1','11','1' -'2','12','1' -'3','13','1' -'7','17','1' -'8','18','1' -'8','28','1' -6 rows selected ->>> ->>> -- It should work for sub-queries ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE outputTbl1 -SELECT key, count(1) FROM (SELECT key, val FROM T1) subq1 GROUP BY key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL val))))) subq1)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME outputTbl1))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key))))' -'' -'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' -' Alias -> Map Operator Tree:' -' subq1:t1 ' -' TableScan' -' alias: t1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,cnt' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/outputtbl1' -' name groupby_sort_1.outputtbl1' -' numFiles 1' -' numPartitions 0' -' numRows 5' -' rawDataSize 15' -' serialization.ddl struct outputtbl1 { i32 key, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 20' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.outputtbl1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1 [subq1:t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1 ' -' Partition' -' base file name: t1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1' -' name groupby_sort_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1' -' name groupby_sort_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.t1' -' name: groupby_sort_1.t1' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,cnt' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/outputtbl1' -' name groupby_sort_1.outputtbl1' -' numFiles 1' -' numPartitions 0' -' numRows 5' -' rawDataSize 15' -' serialization.ddl struct outputtbl1 { i32 key, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 20' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.outputtbl1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -169 rows selected ->>> ->>> INSERT OVERWRITE TABLE outputTbl1 -SELECT key, count(1) FROM (SELECT key, val FROM T1) subq1 GROUP BY key; -'_col0','_col1' -No rows selected ->>> ->>> SELECT * FROM outputTbl1 ORDER BY key; -'key','cnt' -'1','1' -'2','1' -'3','1' -'7','1' -'8','2' -5 rows selected ->>> ->>> -- It should work for sub-queries with column aliases ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE outputTbl1 -SELECT k, count(1) FROM (SELECT key as k, val as v FROM T1) subq1 GROUP BY k; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key) k) (TOK_SELEXPR (TOK_TABLE_OR_COL val) v)))) subq1)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME outputTbl1))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL k)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL k))))' -'' -'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' -' Alias -> Map Operator Tree:' -' subq1:t1 ' -' TableScan' -' alias: t1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,cnt' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/outputtbl1' -' name groupby_sort_1.outputtbl1' -' numFiles 1' -' numPartitions 0' -' numRows 5' -' rawDataSize 15' -' serialization.ddl struct outputtbl1 { i32 key, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 20' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.outputtbl1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1 [subq1:t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1 ' -' Partition' -' base file name: t1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1' -' name groupby_sort_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1' -' name groupby_sort_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.t1' -' name: groupby_sort_1.t1' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,cnt' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/outputtbl1' -' name groupby_sort_1.outputtbl1' -' numFiles 1' -' numPartitions 0' -' numRows 5' -' rawDataSize 15' -' serialization.ddl struct outputtbl1 { i32 key, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 20' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.outputtbl1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -169 rows selected ->>> ->>> INSERT OVERWRITE TABLE outputTbl1 -SELECT k, count(1) FROM (SELECT key as k, val as v FROM T1) subq1 GROUP BY k; -'_col0','_col1' -No rows selected ->>> ->>> SELECT * FROM outputTbl1 ORDER BY key; -'key','cnt' -'1','1' -'2','1' -'3','1' -'7','1' -'8','2' -5 rows selected ->>> ->>> CREATE TABLE outputTbl3(key1 int, key2 int, cnt int); -No rows affected ->>> ->>> -- The plan should be converted to a map-side group by if the group by key contains a constant followed ->>> -- by a match to the skewed key ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE outputTbl3 -SELECT 1, key, count(1) FROM T1 GROUP BY 1, key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME outputTbl3))) (TOK_SELECT (TOK_SELEXPR 1) (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY 1 (TOK_TABLE_OR_COL key))))' -'' -'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' -' Alias -> Map Operator Tree:' -' t1 ' -' TableScan' -' alias: t1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: 1' -' type: int' -' expr: key' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: UDFToInteger(_col2)' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key1,key2,cnt' -' columns.types int:int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/outputtbl3' -' name groupby_sort_1.outputtbl3' -' serialization.ddl struct outputtbl3 { i32 key1, i32 key2, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.outputtbl3' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1 [t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1 ' -' Partition' -' base file name: t1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1' -' name groupby_sort_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1' -' name groupby_sort_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.t1' -' name: groupby_sort_1.t1' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key1,key2,cnt' -' columns.types int:int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/outputtbl3' -' name groupby_sort_1.outputtbl3' -' serialization.ddl struct outputtbl3 { i32 key1, i32 key2, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.outputtbl3' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -160 rows selected ->>> ->>> INSERT OVERWRITE TABLE outputTbl3 -SELECT 1, key, count(1) FROM T1 GROUP BY 1, key; -'_col0','_col1','_col2' -No rows selected ->>> ->>> SELECT * FROM outputTbl3 ORDER BY key1, key2; -'key1','key2','cnt' -'1','1','1' -'1','2','1' -'1','3','1' -'1','7','1' -'1','8','2' -5 rows selected ->>> ->>> CREATE TABLE outputTbl4(key1 int, key2 int, key3 string, cnt int); -No rows affected ->>> ->>> -- no map-side group by if the group by key contains a constant followed by another column ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE outputTbl4 -SELECT key, 1, val, count(1) FROM T1 GROUP BY key, 1, val; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME outputTbl4))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR 1) (TOK_SELEXPR (TOK_TABLE_OR_COL val)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key) 1 (TOK_TABLE_OR_COL val))))' -'' -'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' -' Alias -> Map Operator Tree:' -' t1 ' -' TableScan' -' alias: t1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' outputColumnNames: key, val' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' expr: 1' -' type: int' -' expr: val' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: int' -' expr: _col2' -' type: string' -' sort order: +++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: int' -' expr: _col2' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col3' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1 [t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1 ' -' Partition' -' base file name: t1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1' -' name groupby_sort_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1' -' name groupby_sort_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.t1' -' name: groupby_sort_1.t1' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: int' -' expr: KEY._col2' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: int' -' expr: _col2' -' type: string' -' expr: _col3' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: string' -' expr: UDFToInteger(_col3)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key1,key2,key3,cnt' -' columns.types int:int:string:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/outputtbl4' -' name groupby_sort_1.outputtbl4' -' serialization.ddl struct outputtbl4 { i32 key1, i32 key2, string key3, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.outputtbl4' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key1,key2,key3,cnt' -' columns.types int:int:string:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/outputtbl4' -' name groupby_sort_1.outputtbl4' -' serialization.ddl struct outputtbl4 { i32 key1, i32 key2, string key3, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.outputtbl4' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -202 rows selected ->>> ->>> INSERT OVERWRITE TABLE outputTbl4 -SELECT key, 1, val, count(1) FROM T1 GROUP BY key, 1, val; -'_col0','_col1','_col2','_col3' -No rows selected ->>> ->>> SELECT * FROM outputTbl4 ORDER BY key1, key2, key3; -'key1','key2','key3','cnt' -'1','1','11','1' -'2','1','12','1' -'3','1','13','1' -'7','1','17','1' -'8','1','18','1' -'8','1','28','1' -6 rows selected ->>> ->>> -- no map-side group by if the group by key contains a function ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE outputTbl3 -SELECT key, key + 1, count(1) FROM T1 GROUP BY key, key + 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME outputTbl3))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (+ (TOK_TABLE_OR_COL key) 1)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key) (+ (TOK_TABLE_OR_COL key) 1))))' -'' -'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' -' Alias -> Map Operator Tree:' -' t1 ' -' TableScan' -' alias: t1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' expr: (key + 1)' -' type: double' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: double' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: double' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1 [t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1 ' -' Partition' -' base file name: t1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1' -' name groupby_sort_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1' -' name groupby_sort_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.t1' -' name: groupby_sort_1.t1' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: double' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: double' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: UDFToInteger(_col2)' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key1,key2,cnt' -' columns.types int:int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/outputtbl3' -' name groupby_sort_1.outputtbl3' -' numFiles 1' -' numPartitions 0' -' numRows 5' -' rawDataSize 25' -' serialization.ddl struct outputtbl3 { i32 key1, i32 key2, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.outputtbl3' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key1,key2,cnt' -' columns.types int:int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/outputtbl3' -' name groupby_sort_1.outputtbl3' -' numFiles 1' -' numPartitions 0' -' numRows 5' -' rawDataSize 25' -' serialization.ddl struct outputtbl3 { i32 key1, i32 key2, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.outputtbl3' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -198 rows selected ->>> ->>> INSERT OVERWRITE TABLE outputTbl3 -SELECT key, key + 1, count(1) FROM T1 GROUP BY key, key + 1; -'_col0','_col1','_col2' -No rows selected ->>> ->>> SELECT * FROM outputTbl3 ORDER BY key1, key2; -'key1','key2','cnt' -'1','2','1' -'2','3','1' -'3','4','1' -'7','8','1' -'8','9','2' -5 rows selected ->>> ->>> -- it should not matter what follows the group by ->>> -- test various cases ->>> ->>> -- group by followed by another group by ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE outputTbl1 -SELECT key + key, sum(cnt) from -(SELECT key, count(1) as cnt FROM T1 GROUP BY key) subq1 -group by key + key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1) cnt)) (TOK_GROUPBY (TOK_TABLE_OR_COL key)))) subq1)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME outputTbl1))) (TOK_SELECT (TOK_SELEXPR (+ (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL key))) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_TABLE_OR_COL cnt)))) (TOK_GROUPBY (+ (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL key)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' subq1:t1 ' -' TableScan' -' alias: t1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Group By Operator' -' aggregations:' -' expr: sum(_col1)' -' bucketGroup: false' -' keys:' -' expr: (_col0 + _col0)' -' type: double' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: double' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: double' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1 [subq1:t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1 ' -' Partition' -' base file name: t1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1' -' name groupby_sort_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1' -' name groupby_sort_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.t1' -' name: groupby_sort_1.t1' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: double' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: double' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,cnt' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/outputtbl1' -' name groupby_sort_1.outputtbl1' -' numFiles 1' -' numPartitions 0' -' numRows 5' -' rawDataSize 15' -' serialization.ddl struct outputtbl1 { i32 key, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 20' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.outputtbl1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,cnt' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/outputtbl1' -' name groupby_sort_1.outputtbl1' -' numFiles 1' -' numPartitions 0' -' numRows 5' -' rawDataSize 15' -' serialization.ddl struct outputtbl1 { i32 key, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 20' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.outputtbl1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -209 rows selected ->>> ->>> INSERT OVERWRITE TABLE outputTbl1 -SELECT key + key, sum(cnt) from -(SELECT key, count(1) as cnt FROM T1 GROUP BY key) subq1 -group by key + key; -'_col0','_col1' -No rows selected ->>> ->>> SELECT * FROM outputTbl1 ORDER BY key; -'key','cnt' -'2','1' -'4','1' -'6','1' -'14','1' -'16','2' -5 rows selected ->>> ->>> -- group by followed by a union ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE outputTbl1 -SELECT * FROM ( -SELECT key, count(1) FROM T1 GROUP BY key -UNION ALL -SELECT key, count(1) FROM T1 GROUP BY key -) subq1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key))))) subq1)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME outputTbl1))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'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' -' Alias -> Map Operator Tree:' -' null-subquery1:subq1-subquery1:t1 ' -' TableScan' -' alias: t1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,cnt' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/outputtbl1' -' name groupby_sort_1.outputtbl1' -' numFiles 1' -' numPartitions 0' -' numRows 5' -' rawDataSize 17' -' serialization.ddl struct outputtbl1 { i32 key, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 22' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.outputtbl1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' null-subquery2:subq1-subquery2:t1 ' -' TableScan' -' alias: t1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,cnt' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/outputtbl1' -' name groupby_sort_1.outputtbl1' -' numFiles 1' -' numPartitions 0' -' numRows 5' -' rawDataSize 17' -' serialization.ddl struct outputtbl1 { i32 key, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 22' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.outputtbl1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1 [null-subquery1:subq1-subquery1:t1, null-subquery2:subq1-subquery2:t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1 ' -' Partition' -' base file name: t1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1' -' name groupby_sort_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1' -' name groupby_sort_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.t1' -' name: groupby_sort_1.t1' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,cnt' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/outputtbl1' -' name groupby_sort_1.outputtbl1' -' numFiles 1' -' numPartitions 0' -' numRows 5' -' rawDataSize 17' -' serialization.ddl struct outputtbl1 { i32 key, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 22' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.outputtbl1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -243 rows selected ->>> ->>> INSERT OVERWRITE TABLE outputTbl1 -SELECT * FROM ( -SELECT key, count(1) FROM T1 GROUP BY key -UNION ALL -SELECT key, count(1) FROM T1 GROUP BY key -) subq1; -'_col0','_col1' -No rows selected ->>> ->>> SELECT * FROM outputTbl1 ORDER BY key; -'key','cnt' -'1','1' -'1','1' -'2','1' -'2','1' -'3','1' -'3','1' -'7','1' -'7','1' -'8','2' -'8','2' -10 rows selected ->>> ->>> -- group by followed by a union where one of the sub-queries is map-side group by ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE outputTbl1 -SELECT * FROM ( -SELECT key, count(1) FROM T1 GROUP BY key -UNION ALL -SELECT key + key as key, count(1) FROM T1 GROUP BY key + key -) subq1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (+ (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL key)) key) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (+ (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL key)))))) subq1)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME outputTbl1))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-4 is a root stage' -' Stage-2 depends on stages: Stage-4' -' Stage-0 depends on stages: Stage-2' -' Stage-3 depends on stages: Stage-0' -'' -'STAGE PLANS:' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery2:subq1-subquery2:t1 ' -' TableScan' -' alias: t1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: (key + key)' -' type: double' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: double' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: double' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1 [null-subquery2:subq1-subquery2:t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1 ' -' Partition' -' base file name: t1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1' -' name groupby_sort_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1' -' name groupby_sort_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.t1' -' name: groupby_sort_1.t1' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: double' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: double' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types double,bigint' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' GatherStats: false' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: double' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,cnt' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/outputtbl1' -' name groupby_sort_1.outputtbl1' -' numFiles 1' -' numPartitions 0' -' numRows 10' -' rawDataSize 30' -' serialization.ddl struct outputtbl1 { i32 key, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 40' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.outputtbl1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' null-subquery1:subq1-subquery1:t1 ' -' TableScan' -' alias: t1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: double' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,cnt' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/outputtbl1' -' name groupby_sort_1.outputtbl1' -' numFiles 1' -' numPartitions 0' -' numRows 10' -' rawDataSize 30' -' serialization.ddl struct outputtbl1 { i32 key, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 40' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.outputtbl1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1 [null-subquery1:subq1-subquery1:t1]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types double,bigint' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types double,bigint' -' escape.delim \' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1 ' -' Partition' -' base file name: t1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1' -' name groupby_sort_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1' -' name groupby_sort_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.t1' -' name: groupby_sort_1.t1' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,cnt' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/outputtbl1' -' name groupby_sort_1.outputtbl1' -' numFiles 1' -' numPartitions 0' -' numRows 10' -' rawDataSize 30' -' serialization.ddl struct outputtbl1 { i32 key, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 40' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.outputtbl1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -359 rows selected ->>> ->>> INSERT OVERWRITE TABLE outputTbl1 -SELECT * FROM ( -SELECT key, count(1) as cnt FROM T1 GROUP BY key -UNION ALL -SELECT key + key as key, count(1) as cnt FROM T1 GROUP BY key + key -) subq1; -'_col0','_col1' -No rows selected ->>> ->>> SELECT * FROM outputTbl1 ORDER BY key; -'key','cnt' -'','1' -'','1' -'','1' -'','1' -'','2' -'1','1' -'2','1' -'3','1' -'7','1' -'8','2' -10 rows selected ->>> ->>> -- group by followed by a join ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE outputTbl1 -SELECT subq1.key, subq1.cnt+subq2.cnt FROM -(SELECT key, count(1) as cnt FROM T1 GROUP BY key) subq1 -JOIN -(SELECT key, count(1) as cnt FROM T1 GROUP BY key) subq2 -ON subq1.key = subq2.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1) cnt)) (TOK_GROUPBY (TOK_TABLE_OR_COL key)))) subq1) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1) cnt)) (TOK_GROUPBY (TOK_TABLE_OR_COL key)))) subq2) (= (. (TOK_TABLE_OR_COL subq1) key) (. (TOK_TABLE_OR_COL subq2) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME outputTbl1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL subq1) key)) (TOK_SELEXPR (+ (. (TOK_TABLE_OR_COL subq1) cnt) (. (TOK_TABLE_OR_COL subq2) cnt))))))' -'' -'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' -' Alias -> Map Operator Tree:' -' subq1:t1 ' -' TableScan' -' alias: t1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' subq2:t1 ' -' TableScan' -' alias: t1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Needs Tagging: true' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1 [subq1:t1, subq2:t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1 ' -' Partition' -' base file name: t1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1' -' name groupby_sort_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1' -' name groupby_sort_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.t1' -' name: groupby_sort_1.t1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: (_col1 + _col3)' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,cnt' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/outputtbl1' -' name groupby_sort_1.outputtbl1' -' numFiles 2' -' numPartitions 0' -' numRows 10' -' rawDataSize 35' -' serialization.ddl struct outputtbl1 { i32 key, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 45' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.outputtbl1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,cnt' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/outputtbl1' -' name groupby_sort_1.outputtbl1' -' numFiles 2' -' numPartitions 0' -' numRows 10' -' rawDataSize 35' -' serialization.ddl struct outputtbl1 { i32 key, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 45' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.outputtbl1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -231 rows selected ->>> ->>> INSERT OVERWRITE TABLE outputTbl1 -SELECT subq1.key, subq1.cnt+subq2.cnt FROM -(SELECT key, count(1) as cnt FROM T1 GROUP BY key) subq1 -JOIN -(SELECT key, count(1) as cnt FROM T1 GROUP BY key) subq2 -ON subq1.key = subq2.key; -'_col0','_col1' -No rows selected ->>> ->>> SELECT * FROM outputTbl1 ORDER BY key; -'key','cnt' -'1','2' -'2','2' -'3','2' -'7','2' -'8','4' -5 rows selected ->>> ->>> -- group by followed by a join where one of the sub-queries can be performed in the mapper ->>> EXPLAIN EXTENDED -SELECT * FROM -(SELECT key, count(1) FROM T1 GROUP BY key) subq1 -JOIN -(SELECT key, val, count(1) FROM T1 GROUP BY key, val) subq2 -ON subq1.key = subq2.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key)))) subq1) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL val)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL val)))) subq2) (= (. (TOK_TABLE_OR_COL subq1) key) (. (TOK_TABLE_OR_COL subq2) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-1 depends on stages: Stage-2' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subq2:t1 ' -' TableScan' -' alias: t1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' outputColumnNames: key, val' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1 [subq2:t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1 ' -' Partition' -' base file name: t1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1' -' name groupby_sort_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1' -' name groupby_sort_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.t1' -' name: groupby_sort_1.t1' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types string,string,bigint' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: bigint' -' subq1:t1 ' -' TableScan' -' alias: t1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' Needs Tagging: true' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [$INTNAME]' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1 [subq1:t1]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types string,string,bigint' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types string,string,bigint' -' escape.delim \' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1 ' -' Partition' -' base file name: t1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1' -' name groupby_sort_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t1' -' name groupby_sort_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.t1' -' name: groupby_sort_1.t1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1} {VALUE._col2}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3,_col4' -' columns.types string:bigint:string:string:bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -316 rows selected ->>> ->>> CREATE TABLE T2(key STRING, val STRING) -CLUSTERED BY (key, val) SORTED BY (key, val) INTO 2 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> ->>> -- perform an insert to make sure there are 2 files ->>> INSERT OVERWRITE TABLE T2 select key, val from T1; -'key','val' -No rows selected ->>> ->>> -- no mapside sort group by if the group by is a prefix of the sorted key ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE outputTbl1 -SELECT key, count(1) FROM T2 GROUP BY key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T2))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME outputTbl1))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key))))' -'' -'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' -' Alias -> Map Operator Tree:' -' t2 ' -' TableScan' -' alias: t2' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t2 [t2]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t2 ' -' Partition' -' base file name: t2' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t2' -' name groupby_sort_1.t2' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t2 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t2' -' name groupby_sort_1.t2' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t2 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.t2' -' name: groupby_sort_1.t2' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,cnt' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/outputtbl1' -' name groupby_sort_1.outputtbl1' -' numFiles 1' -' numPartitions 0' -' numRows 5' -' rawDataSize 15' -' serialization.ddl struct outputtbl1 { i32 key, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 20' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.outputtbl1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,cnt' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/outputtbl1' -' name groupby_sort_1.outputtbl1' -' numFiles 1' -' numPartitions 0' -' numRows 5' -' rawDataSize 15' -' serialization.ddl struct outputtbl1 { i32 key, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 20' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.outputtbl1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -186 rows selected ->>> ->>> INSERT OVERWRITE TABLE outputTbl1 -SELECT key, count(1) FROM T2 GROUP BY key; -'_col0','_col1' -No rows selected ->>> ->>> SELECT * FROM outputTbl1 ORDER BY key; -'key','cnt' -'1','1' -'2','1' -'3','1' -'7','1' -'8','2' -5 rows selected ->>> ->>> -- The plan should be converted to a map-side group by if the group by key contains a constant in between the ->>> -- skewed keys ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE outputTbl4 -SELECT key, 1, val, count(1) FROM T2 GROUP BY key, 1, val; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T2))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME outputTbl4))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR 1) (TOK_SELEXPR (TOK_TABLE_OR_COL val)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key) 1 (TOK_TABLE_OR_COL val))))' -'' -'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' -' Alias -> Map Operator Tree:' -' t2 ' -' TableScan' -' alias: t2' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' outputColumnNames: key, val' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' expr: 1' -' type: int' -' expr: val' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: int' -' expr: _col2' -' type: string' -' expr: _col3' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: string' -' expr: UDFToInteger(_col3)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key1,key2,key3,cnt' -' columns.types int:int:string:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/outputtbl4' -' name groupby_sort_1.outputtbl4' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 48' -' serialization.ddl struct outputtbl4 { i32 key1, i32 key2, string key3, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 54' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.outputtbl4' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t2 [t2]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t2 ' -' Partition' -' base file name: t2' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t2' -' name groupby_sort_1.t2' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t2 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t2' -' name groupby_sort_1.t2' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t2 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.t2' -' name: groupby_sort_1.t2' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key1,key2,key3,cnt' -' columns.types int:int:string:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/outputtbl4' -' name groupby_sort_1.outputtbl4' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 48' -' serialization.ddl struct outputtbl4 { i32 key1, i32 key2, string key3, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 54' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.outputtbl4' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -178 rows selected ->>> ->>> INSERT OVERWRITE TABLE outputTbl4 -SELECT key, 1, val, count(1) FROM T2 GROUP BY key, 1, val; -'_col0','_col1','_col2','_col3' -No rows selected ->>> ->>> SELECT * FROM outputTbl4 ORDER BY key1, key2, key3; -'key1','key2','key3','cnt' -'1','1','11','1' -'2','1','12','1' -'3','1','13','1' -'7','1','17','1' -'8','1','18','1' -'8','1','28','1' -6 rows selected ->>> ->>> CREATE TABLE outputTbl5(key1 int, key2 int, key3 string, key4 int, cnt int); -No rows affected ->>> ->>> -- The plan should be converted to a map-side group by if the group by key contains a constant in between the ->>> -- skewed keys followed by anything ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE outputTbl5 -SELECT key, 1, val, 2, count(1) FROM T2 GROUP BY key, 1, val, 2; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T2))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME outputTbl5))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR 1) (TOK_SELEXPR (TOK_TABLE_OR_COL val)) (TOK_SELEXPR 2) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key) 1 (TOK_TABLE_OR_COL val) 2)))' -'' -'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' -' Alias -> Map Operator Tree:' -' t2 ' -' TableScan' -' alias: t2' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' outputColumnNames: key, val' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' expr: 1' -' type: int' -' expr: val' -' type: string' -' expr: 2' -' type: int' -' mode: final' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: int' -' expr: _col2' -' type: string' -' expr: _col3' -' type: int' -' expr: _col4' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: string' -' expr: _col3' -' type: int' -' expr: UDFToInteger(_col4)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key1,key2,key3,key4,cnt' -' columns.types int:int:string:int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/outputtbl5' -' name groupby_sort_1.outputtbl5' -' serialization.ddl struct outputtbl5 { i32 key1, i32 key2, string key3, i32 key4, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.outputtbl5' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t2 [t2]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t2 ' -' Partition' -' base file name: t2' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t2' -' name groupby_sort_1.t2' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t2 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t2' -' name groupby_sort_1.t2' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t2 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.t2' -' name: groupby_sort_1.t2' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key1,key2,key3,key4,cnt' -' columns.types int:int:string:int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/outputtbl5' -' name groupby_sort_1.outputtbl5' -' serialization.ddl struct outputtbl5 { i32 key1, i32 key2, string key3, i32 key4, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.outputtbl5' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -174 rows selected ->>> ->>> INSERT OVERWRITE TABLE outputTbl5 -SELECT key, 1, val, 2, count(1) FROM T2 GROUP BY key, 1, val, 2; -'_col0','_col1','_col2','_col3','_col4' -No rows selected ->>> ->>> SELECT * FROM outputTbl5 -ORDER BY key1, key2, key3, key4; -'key1','key2','key3','key4','cnt' -'1','1','11','2','1' -'2','1','12','2','1' -'3','1','13','2','1' -'7','1','17','2','1' -'8','1','18','2','1' -'8','1','28','2','1' -6 rows selected ->>> ->>> -- contants from sub-queries should work fine ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE outputTbl4 -SELECT key, constant, val, count(1) from -(SELECT key, 1 as constant, val from T2)subq -group by key, constant, val; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T2))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR 1 constant) (TOK_SELEXPR (TOK_TABLE_OR_COL val))))) subq)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME outputTbl4))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL constant)) (TOK_SELEXPR (TOK_TABLE_OR_COL val)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL constant) (TOK_TABLE_OR_COL val))))' -'' -'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' -' Alias -> Map Operator Tree:' -' subq:t2 ' -' TableScan' -' alias: t2' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: 1' -' type: int' -' expr: val' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: int' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: int' -' expr: _col2' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: int' -' expr: _col2' -' type: string' -' expr: _col3' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: string' -' expr: UDFToInteger(_col3)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key1,key2,key3,cnt' -' columns.types int:int:string:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/outputtbl4' -' name groupby_sort_1.outputtbl4' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 48' -' serialization.ddl struct outputtbl4 { i32 key1, i32 key2, string key3, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 54' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.outputtbl4' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t2 [subq:t2]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t2 ' -' Partition' -' base file name: t2' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t2' -' name groupby_sort_1.t2' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t2 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t2' -' name groupby_sort_1.t2' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t2 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.t2' -' name: groupby_sort_1.t2' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key1,key2,key3,cnt' -' columns.types int:int:string:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/outputtbl4' -' name groupby_sort_1.outputtbl4' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 48' -' serialization.ddl struct outputtbl4 { i32 key1, i32 key2, string key3, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 54' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.outputtbl4' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -189 rows selected ->>> ->>> INSERT OVERWRITE TABLE outputTbl4 -SELECT key, constant, val, count(1) from -(SELECT key, 1 as constant, val from T2)subq -group by key, constant, val; -'_col0','_col1','_col2','_col3' -No rows selected ->>> ->>> SELECT * FROM outputTbl4 ORDER BY key1, key2, key3; -'key1','key2','key3','cnt' -'1','1','11','1' -'2','1','12','1' -'3','1','13','1' -'7','1','17','1' -'8','1','18','1' -'8','1','28','1' -6 rows selected ->>> ->>> -- multiple levels of contants from sub-queries should work fine ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE outputTbl4 -select key, constant3, val, count(1) from -( -SELECT key, constant as constant2, val, 2 as constant3 from -(SELECT key, 1 as constant, val from T2)subq -)subq2 -group by key, constant3, val; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T2))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR 1 constant) (TOK_SELEXPR (TOK_TABLE_OR_COL val))))) subq)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL constant) constant2) (TOK_SELEXPR (TOK_TABLE_OR_COL val)) (TOK_SELEXPR 2 constant3)))) subq2)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME outputTbl4))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL constant3)) (TOK_SELEXPR (TOK_TABLE_OR_COL val)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL constant3) (TOK_TABLE_OR_COL val))))' -'' -'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' -' Alias -> Map Operator Tree:' -' subq2:subq:t2 ' -' TableScan' -' alias: t2' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' outputColumnNames: _col0, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col2' -' type: string' -' expr: 2' -' type: int' -' outputColumnNames: _col0, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col3' -' type: int' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col3, _col2' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' expr: _col3' -' type: int' -' expr: _col2' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: int' -' expr: _col2' -' type: string' -' expr: _col3' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: string' -' expr: UDFToInteger(_col3)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key1,key2,key3,cnt' -' columns.types int:int:string:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/outputtbl4' -' name groupby_sort_1.outputtbl4' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 48' -' serialization.ddl struct outputtbl4 { i32 key1, i32 key2, string key3, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 54' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.outputtbl4' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t2 [subq2:subq:t2]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t2 ' -' Partition' -' base file name: t2' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t2' -' name groupby_sort_1.t2' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t2 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/t2' -' name groupby_sort_1.t2' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t2 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.t2' -' name: groupby_sort_1.t2' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key1,key2,key3,cnt' -' columns.types int:int:string:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_1.db/outputtbl4' -' name groupby_sort_1.outputtbl4' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 48' -' serialization.ddl struct outputtbl4 { i32 key1, i32 key2, string key3, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 54' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_1.outputtbl4' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -196 rows selected ->>> ->>> INSERT OVERWRITE TABLE outputTbl4 -select key, constant3, val, count(1) from -( -SELECT key, constant as constant2, val, 2 as constant3 from -(SELECT key, 1 as constant, val from T2)subq -)subq2 -group by key, constant3, val; -'_col0','_col1','_col2','_col3' -No rows selected ->>> ->>> SELECT * FROM outputTbl4 ORDER BY key1, key2, key3; -'key1','key2','key3','cnt' -'1','2','11','1' -'2','2','12','1' -'3','2','13','1' -'7','2','17','1' -'8','2','18','1' -'8','2','28','1' -6 rows selected ->>> ->>> set hive.map.aggr=true; -No rows affected ->>> set hive.multigroupby.singlereducer=false; -No rows affected ->>> set mapred.reduce.tasks=31; -No rows affected ->>> ->>> CREATE TABLE DEST1(key INT, cnt INT); -No rows affected ->>> CREATE TABLE DEST2(key INT, val STRING, cnt INT); -No rows affected ->>> ->>> SET hive.exec.compress.intermediate=true; -No rows affected ->>> SET hive.exec.compress.output=true; -No rows affected ->>> ->>> EXPLAIN -FROM T2 -INSERT OVERWRITE TABLE DEST1 SELECT key, count(1) GROUP BY key -INSERT OVERWRITE TABLE DEST2 SELECT key, val, count(1) GROUP BY key, val; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T2))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST1))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST2))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL val)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL val))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-0 depends on stages: Stage-2' -' Stage-3 depends on stages: Stage-0' -' Stage-1 depends on stages: Stage-2' -' Stage-4 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' t2 ' -' TableScan' -' alias: t2' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' outputColumnNames: key, val' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: UDFToInteger(_col2)' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: true' -' GlobalTableId: 2' -' 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: groupby_sort_1.dest2' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: true' -' GlobalTableId: 1' -' 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: groupby_sort_1.dest1' -'' -' 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: groupby_sort_1.dest1' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -' Stage: Stage-1' -' 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: groupby_sort_1.dest2' -'' -' Stage: Stage-4' -' Stats-Aggr Operator' -'' -'' -147 rows selected ->>> ->>> FROM T2 -INSERT OVERWRITE TABLE DEST1 SELECT key, count(1) GROUP BY key -INSERT OVERWRITE TABLE DEST2 SELECT key, val, count(1) GROUP BY key, val; -'_col0','_col1','_col2' -No rows selected ->>> ->>> select * from DEST1 ORDER BY key, cnt; -'key','cnt' -'1','1' -'2','1' -'3','1' -'7','1' -'8','2' -5 rows selected ->>> select * from DEST2 ORDER BY key, val, val; -'key','val','cnt' -'1','11','1' -'2','12','1' -'3','13','1' -'7','17','1' -'8','18','1' -'8','28','1' -6 rows selected ->>> ->>> -- multi-table insert with a sub-query ->>> EXPLAIN -FROM (select key, val from T2 where key = 8) x -INSERT OVERWRITE TABLE DEST1 SELECT key, count(1) GROUP BY key -INSERT OVERWRITE TABLE DEST2 SELECT key, val, count(1) GROUP BY key, val; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T2))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL val))) (TOK_WHERE (= (TOK_TABLE_OR_COL key) 8)))) x)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST1))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST2))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL val)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL val))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-0 depends on stages: Stage-2' -' Stage-3 depends on stages: Stage-0' -' Stage-1 depends on stages: Stage-2' -' Stage-4 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x:t2 ' -' TableScan' -' alias: t2' -' Filter Operator' -' predicate:' -' expr: (key = 8.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: UDFToInteger(_col2)' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: true' -' GlobalTableId: 2' -' 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: groupby_sort_1.dest2' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: true' -' GlobalTableId: 1' -' 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: groupby_sort_1.dest1' -'' -' 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: groupby_sort_1.dest1' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -' Stage: Stage-1' -' 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: groupby_sort_1.dest2' -'' -' Stage: Stage-4' -' Stats-Aggr Operator' -'' -'' -158 rows selected ->>> ->>> FROM (select key, val from T2 where key = 8) x -INSERT OVERWRITE TABLE DEST1 SELECT key, count(1) GROUP BY key -INSERT OVERWRITE TABLE DEST2 SELECT key, val, count(1) GROUP BY key, val; -'_col0','_col1','_col2' -No rows selected ->>> ->>> select * from DEST1 ORDER BY key, cnt; -'key','cnt' -'8','2' -1 row selected ->>> select * from DEST2 ORDER BY key, val, cnt; -'key','val','cnt' -'8','18','1' -'8','28','1' -2 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/groupby_sort_skew_1.q.out ql/src/test/results/beelinepositive/groupby_sort_skew_1.q.out deleted file mode 100644 index 766f127..0000000 --- ql/src/test/results/beelinepositive/groupby_sort_skew_1.q.out +++ /dev/null @@ -1,4891 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/groupby_sort_skew_1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/groupby_sort_skew_1.q ->>> set hive.enforce.bucketing = true; -No rows affected ->>> set hive.enforce.sorting = true; -No rows affected ->>> set hive.exec.reducers.max = 10; -No rows affected ->>> set hive.map.groupby.sorted=true; -No rows affected ->>> set hive.groupby.skewindata=true; -No rows affected ->>> ->>> CREATE TABLE T1(key STRING, val STRING) -CLUSTERED BY (key) SORTED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T1.txt' INTO TABLE T1; -No rows affected ->>> ->>> -- perform an insert to make sure there are 2 files ->>> INSERT OVERWRITE TABLE T1 select key, val from T1; -'key','val' -No rows selected ->>> ->>> CREATE TABLE outputTbl1(key int, cnt int); -No rows affected ->>> ->>> -- The plan should be converted to a map-side group by if the group by key ->>> -- matches the skewed key ->>> -- addind a order by at the end to make the test results deterministic ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE outputTbl1 -SELECT key, count(1) FROM T1 GROUP BY key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME outputTbl1))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key))))' -'' -'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' -' Alias -> Map Operator Tree:' -' t1 ' -' TableScan' -' alias: t1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,cnt' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/outputtbl1' -' name groupby_sort_skew_1.outputtbl1' -' serialization.ddl struct outputtbl1 { i32 key, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.outputtbl1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1 [t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1 ' -' Partition' -' base file name: t1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1' -' name groupby_sort_skew_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1' -' name groupby_sort_skew_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.t1' -' name: groupby_sort_skew_1.t1' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,cnt' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/outputtbl1' -' name groupby_sort_skew_1.outputtbl1' -' serialization.ddl struct outputtbl1 { i32 key, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.outputtbl1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -154 rows selected ->>> ->>> INSERT OVERWRITE TABLE outputTbl1 -SELECT key, count(1) FROM T1 GROUP BY key; -'_col0','_col1' -No rows selected ->>> ->>> SELECT * FROM outputTbl1 ORDER BY key; -'key','cnt' -'1','1' -'2','1' -'3','1' -'7','1' -'8','2' -5 rows selected ->>> ->>> CREATE TABLE outputTbl2(key1 int, key2 string, cnt int); -No rows affected ->>> ->>> -- no map-side group by even if the group by key is a superset of skewed key ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE outputTbl2 -SELECT key, val, count(1) FROM T1 GROUP BY key, val; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME outputTbl2))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL val)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL val))))' -'' -'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' -' Map Reduce' -' Alias -> Map Operator Tree:' -' t1 ' -' TableScan' -' alias: t1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' outputColumnNames: key, val' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: rand()' -' type: double' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1 [t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1 ' -' Partition' -' base file name: t1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1' -' name groupby_sort_skew_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1' -' name groupby_sort_skew_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.t1' -' name: groupby_sort_skew_1.t1' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: string' -' mode: partials' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types string,string,bigint' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types string,string,bigint' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types string,string,bigint' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: UDFToInteger(_col2)' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key1,key2,cnt' -' columns.types int:string:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/outputtbl2' -' name groupby_sort_skew_1.outputtbl2' -' serialization.ddl struct outputtbl2 { i32 key1, string key2, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.outputtbl2' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key1,key2,cnt' -' columns.types int:string:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/outputtbl2' -' name groupby_sort_skew_1.outputtbl2' -' serialization.ddl struct outputtbl2 { i32 key1, string key2, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.outputtbl2' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -257 rows selected ->>> ->>> INSERT OVERWRITE TABLE outputTbl2 -SELECT key, val, count(1) FROM T1 GROUP BY key, val; -'_col0','_col1','_col2' -No rows selected ->>> ->>> SELECT * FROM outputTbl2 ORDER BY key1, key2; -'key1','key2','cnt' -'1','11','1' -'2','12','1' -'3','13','1' -'7','17','1' -'8','18','1' -'8','28','1' -6 rows selected ->>> ->>> -- It should work for sub-queries ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE outputTbl1 -SELECT key, count(1) FROM (SELECT key, val FROM T1) subq1 GROUP BY key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL val))))) subq1)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME outputTbl1))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key))))' -'' -'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' -' Alias -> Map Operator Tree:' -' subq1:t1 ' -' TableScan' -' alias: t1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,cnt' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/outputtbl1' -' name groupby_sort_skew_1.outputtbl1' -' numFiles 1' -' numPartitions 0' -' numRows 5' -' rawDataSize 15' -' serialization.ddl struct outputtbl1 { i32 key, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 20' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.outputtbl1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1 [subq1:t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1 ' -' Partition' -' base file name: t1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1' -' name groupby_sort_skew_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1' -' name groupby_sort_skew_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.t1' -' name: groupby_sort_skew_1.t1' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,cnt' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/outputtbl1' -' name groupby_sort_skew_1.outputtbl1' -' numFiles 1' -' numPartitions 0' -' numRows 5' -' rawDataSize 15' -' serialization.ddl struct outputtbl1 { i32 key, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 20' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.outputtbl1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -169 rows selected ->>> ->>> INSERT OVERWRITE TABLE outputTbl1 -SELECT key, count(1) FROM (SELECT key, val FROM T1) subq1 GROUP BY key; -'_col0','_col1' -No rows selected ->>> ->>> SELECT * FROM outputTbl1 ORDER BY key; -'key','cnt' -'1','1' -'2','1' -'3','1' -'7','1' -'8','2' -5 rows selected ->>> ->>> -- It should work for sub-queries with column aliases ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE outputTbl1 -SELECT k, count(1) FROM (SELECT key as k, val as v FROM T1) subq1 GROUP BY k; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key) k) (TOK_SELEXPR (TOK_TABLE_OR_COL val) v)))) subq1)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME outputTbl1))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL k)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL k))))' -'' -'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' -' Alias -> Map Operator Tree:' -' subq1:t1 ' -' TableScan' -' alias: t1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,cnt' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/outputtbl1' -' name groupby_sort_skew_1.outputtbl1' -' numFiles 1' -' numPartitions 0' -' numRows 5' -' rawDataSize 15' -' serialization.ddl struct outputtbl1 { i32 key, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 20' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.outputtbl1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1 [subq1:t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1 ' -' Partition' -' base file name: t1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1' -' name groupby_sort_skew_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1' -' name groupby_sort_skew_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.t1' -' name: groupby_sort_skew_1.t1' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,cnt' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/outputtbl1' -' name groupby_sort_skew_1.outputtbl1' -' numFiles 1' -' numPartitions 0' -' numRows 5' -' rawDataSize 15' -' serialization.ddl struct outputtbl1 { i32 key, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 20' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.outputtbl1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -169 rows selected ->>> ->>> INSERT OVERWRITE TABLE outputTbl1 -SELECT k, count(1) FROM (SELECT key as k, val as v FROM T1) subq1 GROUP BY k; -'_col0','_col1' -No rows selected ->>> ->>> SELECT * FROM outputTbl1 ORDER BY key; -'key','cnt' -'1','1' -'2','1' -'3','1' -'7','1' -'8','2' -5 rows selected ->>> ->>> CREATE TABLE outputTbl3(key1 int, key2 int, cnt int); -No rows affected ->>> ->>> -- The plan should be converted to a map-side group by if the group by key contains a constant followed ->>> -- by a match to the skewed key ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE outputTbl3 -SELECT 1, key, count(1) FROM T1 GROUP BY 1, key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME outputTbl3))) (TOK_SELECT (TOK_SELEXPR 1) (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY 1 (TOK_TABLE_OR_COL key))))' -'' -'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' -' Alias -> Map Operator Tree:' -' t1 ' -' TableScan' -' alias: t1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: 1' -' type: int' -' expr: key' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: UDFToInteger(_col2)' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key1,key2,cnt' -' columns.types int:int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/outputtbl3' -' name groupby_sort_skew_1.outputtbl3' -' serialization.ddl struct outputtbl3 { i32 key1, i32 key2, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.outputtbl3' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1 [t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1 ' -' Partition' -' base file name: t1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1' -' name groupby_sort_skew_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1' -' name groupby_sort_skew_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.t1' -' name: groupby_sort_skew_1.t1' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key1,key2,cnt' -' columns.types int:int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/outputtbl3' -' name groupby_sort_skew_1.outputtbl3' -' serialization.ddl struct outputtbl3 { i32 key1, i32 key2, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.outputtbl3' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -160 rows selected ->>> ->>> INSERT OVERWRITE TABLE outputTbl3 -SELECT 1, key, count(1) FROM T1 GROUP BY 1, key; -'_col0','_col1','_col2' -No rows selected ->>> ->>> SELECT * FROM outputTbl3 ORDER BY key1, key2; -'key1','key2','cnt' -'1','1','1' -'1','2','1' -'1','3','1' -'1','7','1' -'1','8','2' -5 rows selected ->>> ->>> CREATE TABLE outputTbl4(key1 int, key2 int, key3 string, cnt int); -No rows affected ->>> ->>> -- no map-side group by if the group by key contains a constant followed by another column ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE outputTbl4 -SELECT key, 1, val, count(1) FROM T1 GROUP BY key, 1, val; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME outputTbl4))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR 1) (TOK_SELEXPR (TOK_TABLE_OR_COL val)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key) 1 (TOK_TABLE_OR_COL val))))' -'' -'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' -' Map Reduce' -' Alias -> Map Operator Tree:' -' t1 ' -' TableScan' -' alias: t1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' outputColumnNames: key, val' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' expr: 1' -' type: int' -' expr: val' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: int' -' expr: _col2' -' type: string' -' sort order: +++' -' Map-reduce partition columns:' -' expr: rand()' -' type: double' -' tag: -1' -' value expressions:' -' expr: _col3' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1 [t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1 ' -' Partition' -' base file name: t1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1' -' name groupby_sort_skew_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1' -' name groupby_sort_skew_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.t1' -' name: groupby_sort_skew_1.t1' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: int' -' expr: KEY._col2' -' type: string' -' mode: partials' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string,int,string,bigint' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: int' -' expr: _col2' -' type: string' -' sort order: +++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: int' -' expr: _col2' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col3' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string,int,string,bigint' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string,int,string,bigint' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: int' -' expr: KEY._col2' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: int' -' expr: _col2' -' type: string' -' expr: _col3' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: string' -' expr: UDFToInteger(_col3)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key1,key2,key3,cnt' -' columns.types int:int:string:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/outputtbl4' -' name groupby_sort_skew_1.outputtbl4' -' serialization.ddl struct outputtbl4 { i32 key1, i32 key2, string key3, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.outputtbl4' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key1,key2,key3,cnt' -' columns.types int:int:string:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/outputtbl4' -' name groupby_sort_skew_1.outputtbl4' -' serialization.ddl struct outputtbl4 { i32 key1, i32 key2, string key3, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.outputtbl4' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -273 rows selected ->>> ->>> INSERT OVERWRITE TABLE outputTbl4 -SELECT key, 1, val, count(1) FROM T1 GROUP BY key, 1, val; -'_col0','_col1','_col2','_col3' -No rows selected ->>> ->>> SELECT * FROM outputTbl4 ORDER BY key1, key2, key3; -'key1','key2','key3','cnt' -'1','1','11','1' -'2','1','12','1' -'3','1','13','1' -'7','1','17','1' -'8','1','18','1' -'8','1','28','1' -6 rows selected ->>> ->>> -- no map-side group by if the group by key contains a function ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE outputTbl3 -SELECT key, key + 1, count(1) FROM T1 GROUP BY key, key + 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME outputTbl3))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (+ (TOK_TABLE_OR_COL key) 1)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key) (+ (TOK_TABLE_OR_COL key) 1))))' -'' -'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' -' Map Reduce' -' Alias -> Map Operator Tree:' -' t1 ' -' TableScan' -' alias: t1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' expr: (key + 1)' -' type: double' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: double' -' sort order: ++' -' Map-reduce partition columns:' -' expr: rand()' -' type: double' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1 [t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1 ' -' Partition' -' base file name: t1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1' -' name groupby_sort_skew_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1' -' name groupby_sort_skew_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.t1' -' name: groupby_sort_skew_1.t1' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: double' -' mode: partials' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types string,double,bigint' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: double' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: double' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types string,double,bigint' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types string,double,bigint' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: double' -' mode: final' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: double' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: UDFToInteger(_col2)' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key1,key2,cnt' -' columns.types int:int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/outputtbl3' -' name groupby_sort_skew_1.outputtbl3' -' numFiles 1' -' numPartitions 0' -' numRows 5' -' rawDataSize 25' -' serialization.ddl struct outputtbl3 { i32 key1, i32 key2, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.outputtbl3' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key1,key2,cnt' -' columns.types int:int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/outputtbl3' -' name groupby_sort_skew_1.outputtbl3' -' numFiles 1' -' numPartitions 0' -' numRows 5' -' rawDataSize 25' -' serialization.ddl struct outputtbl3 { i32 key1, i32 key2, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.outputtbl3' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -265 rows selected ->>> ->>> INSERT OVERWRITE TABLE outputTbl3 -SELECT key, key + 1, count(1) FROM T1 GROUP BY key, key + 1; -'_col0','_col1','_col2' -No rows selected ->>> ->>> SELECT * FROM outputTbl3 ORDER BY key1, key2; -'key1','key2','cnt' -'1','2','1' -'2','3','1' -'3','4','1' -'7','8','1' -'8','9','2' -5 rows selected ->>> ->>> -- it should not matter what follows the group by ->>> -- test various cases ->>> ->>> -- group by followed by another group by ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE outputTbl1 -SELECT key + key, sum(cnt) from -(SELECT key, count(1) as cnt FROM T1 GROUP BY key) subq1 -group by key + key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1) cnt)) (TOK_GROUPBY (TOK_TABLE_OR_COL key)))) subq1)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME outputTbl1))) (TOK_SELECT (TOK_SELEXPR (+ (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL key))) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_TABLE_OR_COL cnt)))) (TOK_GROUPBY (+ (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL key)))))' -'' -'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' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subq1:t1 ' -' TableScan' -' alias: t1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Group By Operator' -' aggregations:' -' expr: sum(_col1)' -' bucketGroup: false' -' keys:' -' expr: (_col0 + _col0)' -' type: double' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: double' -' sort order: +' -' Map-reduce partition columns:' -' expr: rand()' -' type: double' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1 [subq1:t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1 ' -' Partition' -' base file name: t1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1' -' name groupby_sort_skew_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1' -' name groupby_sort_skew_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.t1' -' name: groupby_sort_skew_1.t1' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: double' -' mode: partials' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types double,bigint' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: double' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: double' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types double,bigint' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types double,bigint' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: double' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: double' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,cnt' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/outputtbl1' -' name groupby_sort_skew_1.outputtbl1' -' numFiles 1' -' numPartitions 0' -' numRows 5' -' rawDataSize 15' -' serialization.ddl struct outputtbl1 { i32 key, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 20' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.outputtbl1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,cnt' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/outputtbl1' -' name groupby_sort_skew_1.outputtbl1' -' numFiles 1' -' numPartitions 0' -' numRows 5' -' rawDataSize 15' -' serialization.ddl struct outputtbl1 { i32 key, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 20' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.outputtbl1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -272 rows selected ->>> ->>> INSERT OVERWRITE TABLE outputTbl1 -SELECT key + key, sum(cnt) from -(SELECT key, count(1) as cnt FROM T1 GROUP BY key) subq1 -group by key + key; -'_col0','_col1' -No rows selected ->>> ->>> SELECT * FROM outputTbl1 ORDER BY key; -'key','cnt' -'2','1' -'4','1' -'6','1' -'14','1' -'16','2' -5 rows selected ->>> ->>> -- group by followed by a union ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE outputTbl1 -SELECT * FROM ( -SELECT key, count(1) FROM T1 GROUP BY key -UNION ALL -SELECT key, count(1) FROM T1 GROUP BY key -) subq1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key))))) subq1)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME outputTbl1))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'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' -' Alias -> Map Operator Tree:' -' null-subquery1:subq1-subquery1:t1 ' -' TableScan' -' alias: t1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,cnt' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/outputtbl1' -' name groupby_sort_skew_1.outputtbl1' -' numFiles 1' -' numPartitions 0' -' numRows 5' -' rawDataSize 17' -' serialization.ddl struct outputtbl1 { i32 key, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 22' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.outputtbl1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' null-subquery2:subq1-subquery2:t1 ' -' TableScan' -' alias: t1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,cnt' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/outputtbl1' -' name groupby_sort_skew_1.outputtbl1' -' numFiles 1' -' numPartitions 0' -' numRows 5' -' rawDataSize 17' -' serialization.ddl struct outputtbl1 { i32 key, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 22' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.outputtbl1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1 [null-subquery1:subq1-subquery1:t1, null-subquery2:subq1-subquery2:t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1 ' -' Partition' -' base file name: t1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1' -' name groupby_sort_skew_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1' -' name groupby_sort_skew_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.t1' -' name: groupby_sort_skew_1.t1' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,cnt' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/outputtbl1' -' name groupby_sort_skew_1.outputtbl1' -' numFiles 1' -' numPartitions 0' -' numRows 5' -' rawDataSize 17' -' serialization.ddl struct outputtbl1 { i32 key, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 22' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.outputtbl1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -243 rows selected ->>> ->>> INSERT OVERWRITE TABLE outputTbl1 -SELECT * FROM ( -SELECT key, count(1) FROM T1 GROUP BY key -UNION ALL -SELECT key, count(1) FROM T1 GROUP BY key -) subq1; -'_col0','_col1' -No rows selected ->>> ->>> SELECT * FROM outputTbl1 ORDER BY key; -'key','cnt' -'1','1' -'1','1' -'2','1' -'2','1' -'3','1' -'3','1' -'7','1' -'7','1' -'8','2' -'8','2' -10 rows selected ->>> ->>> -- group by followed by a union where one of the sub-queries is map-side group by ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE outputTbl1 -SELECT * FROM ( -SELECT key, count(1) FROM T1 GROUP BY key -UNION ALL -SELECT key + key as key, count(1) FROM T1 GROUP BY key + key -) subq1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (+ (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL key)) key) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (+ (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL key)))))) subq1)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME outputTbl1))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-4 is a root stage' -' Stage-5 depends on stages: Stage-4' -' Stage-2 depends on stages: Stage-5' -' Stage-0 depends on stages: Stage-2' -' Stage-3 depends on stages: Stage-0' -'' -'STAGE PLANS:' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery2:subq1-subquery2:t1 ' -' TableScan' -' alias: t1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: (key + key)' -' type: double' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: double' -' sort order: +' -' Map-reduce partition columns:' -' expr: rand()' -' type: double' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1 [null-subquery2:subq1-subquery2:t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1 ' -' Partition' -' base file name: t1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1' -' name groupby_sort_skew_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1' -' name groupby_sort_skew_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.t1' -' name: groupby_sort_skew_1.t1' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: double' -' mode: partials' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types double,bigint' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: double' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: double' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types double,bigint' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types double,bigint' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: double' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: double' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types double,bigint' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' GatherStats: false' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: double' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,cnt' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/outputtbl1' -' name groupby_sort_skew_1.outputtbl1' -' numFiles 1' -' numPartitions 0' -' numRows 10' -' rawDataSize 30' -' serialization.ddl struct outputtbl1 { i32 key, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 40' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.outputtbl1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' null-subquery1:subq1-subquery1:t1 ' -' TableScan' -' alias: t1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: double' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,cnt' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/outputtbl1' -' name groupby_sort_skew_1.outputtbl1' -' numFiles 1' -' numPartitions 0' -' numRows 10' -' rawDataSize 30' -' serialization.ddl struct outputtbl1 { i32 key, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 40' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.outputtbl1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1 [null-subquery1:subq1-subquery1:t1]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10003' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types double,bigint' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types double,bigint' -' escape.delim \' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1 ' -' Partition' -' base file name: t1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1' -' name groupby_sort_skew_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1' -' name groupby_sort_skew_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.t1' -' name: groupby_sort_skew_1.t1' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,cnt' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/outputtbl1' -' name groupby_sort_skew_1.outputtbl1' -' numFiles 1' -' numPartitions 0' -' numRows 10' -' rawDataSize 30' -' serialization.ddl struct outputtbl1 { i32 key, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 40' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.outputtbl1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -422 rows selected ->>> ->>> INSERT OVERWRITE TABLE outputTbl1 -SELECT * FROM ( -SELECT key, count(1) as cnt FROM T1 GROUP BY key -UNION ALL -SELECT key + key as key, count(1) as cnt FROM T1 GROUP BY key + key -) subq1; -'_col0','_col1' -No rows selected ->>> ->>> SELECT * FROM outputTbl1 ORDER BY key; -'key','cnt' -'','1' -'','1' -'','1' -'','1' -'','2' -'1','1' -'2','1' -'3','1' -'7','1' -'8','2' -10 rows selected ->>> ->>> -- group by followed by a join ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE outputTbl1 -SELECT subq1.key, subq1.cnt+subq2.cnt FROM -(SELECT key, count(1) as cnt FROM T1 GROUP BY key) subq1 -JOIN -(SELECT key, count(1) as cnt FROM T1 GROUP BY key) subq2 -ON subq1.key = subq2.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1) cnt)) (TOK_GROUPBY (TOK_TABLE_OR_COL key)))) subq1) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1) cnt)) (TOK_GROUPBY (TOK_TABLE_OR_COL key)))) subq2) (= (. (TOK_TABLE_OR_COL subq1) key) (. (TOK_TABLE_OR_COL subq2) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME outputTbl1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL subq1) key)) (TOK_SELEXPR (+ (. (TOK_TABLE_OR_COL subq1) cnt) (. (TOK_TABLE_OR_COL subq2) cnt))))))' -'' -'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' -' Alias -> Map Operator Tree:' -' subq1:t1 ' -' TableScan' -' alias: t1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' subq2:t1 ' -' TableScan' -' alias: t1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Needs Tagging: true' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1 [subq1:t1, subq2:t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1 ' -' Partition' -' base file name: t1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1' -' name groupby_sort_skew_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1' -' name groupby_sort_skew_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.t1' -' name: groupby_sort_skew_1.t1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: (_col1 + _col3)' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,cnt' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/outputtbl1' -' name groupby_sort_skew_1.outputtbl1' -' numFiles 2' -' numPartitions 0' -' numRows 10' -' rawDataSize 35' -' serialization.ddl struct outputtbl1 { i32 key, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 45' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.outputtbl1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,cnt' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/outputtbl1' -' name groupby_sort_skew_1.outputtbl1' -' numFiles 2' -' numPartitions 0' -' numRows 10' -' rawDataSize 35' -' serialization.ddl struct outputtbl1 { i32 key, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 45' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.outputtbl1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -231 rows selected ->>> ->>> INSERT OVERWRITE TABLE outputTbl1 -SELECT subq1.key, subq1.cnt+subq2.cnt FROM -(SELECT key, count(1) as cnt FROM T1 GROUP BY key) subq1 -JOIN -(SELECT key, count(1) as cnt FROM T1 GROUP BY key) subq2 -ON subq1.key = subq2.key; -'_col0','_col1' -No rows selected ->>> ->>> SELECT * FROM outputTbl1 ORDER BY key; -'key','cnt' -'1','2' -'2','2' -'3','2' -'7','2' -'8','4' -5 rows selected ->>> ->>> -- group by followed by a join where one of the sub-queries can be performed in the mapper ->>> EXPLAIN EXTENDED -SELECT * FROM -(SELECT key, count(1) FROM T1 GROUP BY key) subq1 -JOIN -(SELECT key, val, count(1) FROM T1 GROUP BY key, val) subq2 -ON subq1.key = subq2.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key)))) subq1) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL val)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL val)))) subq2) (= (. (TOK_TABLE_OR_COL subq1) key) (. (TOK_TABLE_OR_COL subq2) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-3 depends on stages: Stage-2' -' Stage-1 depends on stages: Stage-3' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subq2:t1 ' -' TableScan' -' alias: t1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' outputColumnNames: key, val' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: rand()' -' type: double' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1 [subq2:t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1 ' -' Partition' -' base file name: t1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1' -' name groupby_sort_skew_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1' -' name groupby_sort_skew_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.t1' -' name: groupby_sort_skew_1.t1' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: string' -' mode: partials' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types string,string,bigint' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types string,string,bigint' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types string,string,bigint' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types string,string,bigint' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: bigint' -' subq1:t1 ' -' TableScan' -' alias: t1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' Needs Tagging: true' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [$INTNAME]' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1 [subq1:t1]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10003' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types string,string,bigint' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types string,string,bigint' -' escape.delim \' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1 ' -' Partition' -' base file name: t1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1' -' name groupby_sort_skew_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t1' -' name groupby_sort_skew_1.t1' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t1 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.t1' -' name: groupby_sort_skew_1.t1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1} {VALUE._col2}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3,_col4' -' columns.types string:bigint:string:string:bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -383 rows selected ->>> ->>> CREATE TABLE T2(key STRING, val STRING) -CLUSTERED BY (key, val) SORTED BY (key, val) INTO 2 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> ->>> -- perform an insert to make sure there are 2 files ->>> INSERT OVERWRITE TABLE T2 select key, val from T1; -'key','val' -No rows selected ->>> ->>> -- no mapside sort group by if the group by is a prefix of the sorted key ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE outputTbl1 -SELECT key, count(1) FROM T2 GROUP BY key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T2))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME outputTbl1))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key))))' -'' -'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' -' Map Reduce' -' Alias -> Map Operator Tree:' -' t2 ' -' TableScan' -' alias: t2' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: rand()' -' type: double' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t2 [t2]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t2 ' -' Partition' -' base file name: t2' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t2' -' name groupby_sort_skew_1.t2' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t2 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t2' -' name groupby_sort_skew_1.t2' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t2 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.t2' -' name: groupby_sort_skew_1.t2' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: partials' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string,bigint' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string,bigint' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string,bigint' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,cnt' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/outputtbl1' -' name groupby_sort_skew_1.outputtbl1' -' numFiles 1' -' numPartitions 0' -' numRows 5' -' rawDataSize 15' -' serialization.ddl struct outputtbl1 { i32 key, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 20' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.outputtbl1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,cnt' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/outputtbl1' -' name groupby_sort_skew_1.outputtbl1' -' numFiles 1' -' numPartitions 0' -' numRows 5' -' rawDataSize 15' -' serialization.ddl struct outputtbl1 { i32 key, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 20' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.outputtbl1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -249 rows selected ->>> ->>> INSERT OVERWRITE TABLE outputTbl1 -SELECT key, count(1) FROM T2 GROUP BY key; -'_col0','_col1' -No rows selected ->>> ->>> SELECT * FROM outputTbl1 ORDER BY key; -'key','cnt' -'1','1' -'2','1' -'3','1' -'7','1' -'8','2' -5 rows selected ->>> ->>> -- The plan should be converted to a map-side group by if the group by key contains a constant in between the ->>> -- skewed keys ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE outputTbl4 -SELECT key, 1, val, count(1) FROM T2 GROUP BY key, 1, val; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T2))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME outputTbl4))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR 1) (TOK_SELEXPR (TOK_TABLE_OR_COL val)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key) 1 (TOK_TABLE_OR_COL val))))' -'' -'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' -' Alias -> Map Operator Tree:' -' t2 ' -' TableScan' -' alias: t2' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' outputColumnNames: key, val' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' expr: 1' -' type: int' -' expr: val' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: int' -' expr: _col2' -' type: string' -' expr: _col3' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: string' -' expr: UDFToInteger(_col3)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key1,key2,key3,cnt' -' columns.types int:int:string:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/outputtbl4' -' name groupby_sort_skew_1.outputtbl4' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 48' -' serialization.ddl struct outputtbl4 { i32 key1, i32 key2, string key3, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 54' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.outputtbl4' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t2 [t2]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t2 ' -' Partition' -' base file name: t2' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t2' -' name groupby_sort_skew_1.t2' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t2 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t2' -' name groupby_sort_skew_1.t2' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t2 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.t2' -' name: groupby_sort_skew_1.t2' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key1,key2,key3,cnt' -' columns.types int:int:string:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/outputtbl4' -' name groupby_sort_skew_1.outputtbl4' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 48' -' serialization.ddl struct outputtbl4 { i32 key1, i32 key2, string key3, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 54' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.outputtbl4' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -178 rows selected ->>> ->>> INSERT OVERWRITE TABLE outputTbl4 -SELECT key, 1, val, count(1) FROM T2 GROUP BY key, 1, val; -'_col0','_col1','_col2','_col3' -No rows selected ->>> ->>> SELECT * FROM outputTbl4 ORDER BY key1, key2, key3; -'key1','key2','key3','cnt' -'1','1','11','1' -'2','1','12','1' -'3','1','13','1' -'7','1','17','1' -'8','1','18','1' -'8','1','28','1' -6 rows selected ->>> ->>> CREATE TABLE outputTbl5(key1 int, key2 int, key3 string, key4 int, cnt int); -No rows affected ->>> ->>> -- The plan should be converted to a map-side group by if the group by key contains a constant in between the ->>> -- skewed keys followed by anything ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE outputTbl5 -SELECT key, 1, val, 2, count(1) FROM T2 GROUP BY key, 1, val, 2; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T2))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME outputTbl5))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR 1) (TOK_SELEXPR (TOK_TABLE_OR_COL val)) (TOK_SELEXPR 2) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key) 1 (TOK_TABLE_OR_COL val) 2)))' -'' -'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' -' Alias -> Map Operator Tree:' -' t2 ' -' TableScan' -' alias: t2' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' outputColumnNames: key, val' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' expr: 1' -' type: int' -' expr: val' -' type: string' -' expr: 2' -' type: int' -' mode: final' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: int' -' expr: _col2' -' type: string' -' expr: _col3' -' type: int' -' expr: _col4' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: string' -' expr: _col3' -' type: int' -' expr: UDFToInteger(_col4)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key1,key2,key3,key4,cnt' -' columns.types int:int:string:int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/outputtbl5' -' name groupby_sort_skew_1.outputtbl5' -' serialization.ddl struct outputtbl5 { i32 key1, i32 key2, string key3, i32 key4, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.outputtbl5' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t2 [t2]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t2 ' -' Partition' -' base file name: t2' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t2' -' name groupby_sort_skew_1.t2' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t2 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t2' -' name groupby_sort_skew_1.t2' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t2 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.t2' -' name: groupby_sort_skew_1.t2' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key1,key2,key3,key4,cnt' -' columns.types int:int:string:int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/outputtbl5' -' name groupby_sort_skew_1.outputtbl5' -' serialization.ddl struct outputtbl5 { i32 key1, i32 key2, string key3, i32 key4, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.outputtbl5' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -174 rows selected ->>> ->>> INSERT OVERWRITE TABLE outputTbl5 -SELECT key, 1, val, 2, count(1) FROM T2 GROUP BY key, 1, val, 2; -'_col0','_col1','_col2','_col3','_col4' -No rows selected ->>> ->>> SELECT * FROM outputTbl5 -ORDER BY key1, key2, key3, key4; -'key1','key2','key3','key4','cnt' -'1','1','11','2','1' -'2','1','12','2','1' -'3','1','13','2','1' -'7','1','17','2','1' -'8','1','18','2','1' -'8','1','28','2','1' -6 rows selected ->>> ->>> -- contants from sub-queries should work fine ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE outputTbl4 -SELECT key, constant, val, count(1) from -(SELECT key, 1 as constant, val from T2)subq -group by key, constant, val; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T2))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR 1 constant) (TOK_SELEXPR (TOK_TABLE_OR_COL val))))) subq)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME outputTbl4))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL constant)) (TOK_SELEXPR (TOK_TABLE_OR_COL val)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL constant) (TOK_TABLE_OR_COL val))))' -'' -'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' -' Alias -> Map Operator Tree:' -' subq:t2 ' -' TableScan' -' alias: t2' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: 1' -' type: int' -' expr: val' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: int' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: int' -' expr: _col2' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: int' -' expr: _col2' -' type: string' -' expr: _col3' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: string' -' expr: UDFToInteger(_col3)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key1,key2,key3,cnt' -' columns.types int:int:string:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/outputtbl4' -' name groupby_sort_skew_1.outputtbl4' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 48' -' serialization.ddl struct outputtbl4 { i32 key1, i32 key2, string key3, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 54' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.outputtbl4' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t2 [subq:t2]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t2 ' -' Partition' -' base file name: t2' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t2' -' name groupby_sort_skew_1.t2' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t2 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t2' -' name groupby_sort_skew_1.t2' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t2 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.t2' -' name: groupby_sort_skew_1.t2' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key1,key2,key3,cnt' -' columns.types int:int:string:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/outputtbl4' -' name groupby_sort_skew_1.outputtbl4' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 48' -' serialization.ddl struct outputtbl4 { i32 key1, i32 key2, string key3, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 54' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.outputtbl4' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -189 rows selected ->>> ->>> INSERT OVERWRITE TABLE outputTbl4 -SELECT key, constant, val, count(1) from -(SELECT key, 1 as constant, val from T2)subq -group by key, constant, val; -'_col0','_col1','_col2','_col3' -No rows selected ->>> ->>> SELECT * FROM outputTbl4 ORDER BY key1, key2, key3; -'key1','key2','key3','cnt' -'1','1','11','1' -'2','1','12','1' -'3','1','13','1' -'7','1','17','1' -'8','1','18','1' -'8','1','28','1' -6 rows selected ->>> ->>> -- multiple levels of contants from sub-queries should work fine ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE outputTbl4 -select key, constant3, val, count(1) from -( -SELECT key, constant as constant2, val, 2 as constant3 from -(SELECT key, 1 as constant, val from T2)subq -)subq2 -group by key, constant3, val; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T2))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR 1 constant) (TOK_SELEXPR (TOK_TABLE_OR_COL val))))) subq)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL constant) constant2) (TOK_SELEXPR (TOK_TABLE_OR_COL val)) (TOK_SELEXPR 2 constant3)))) subq2)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME outputTbl4))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL constant3)) (TOK_SELEXPR (TOK_TABLE_OR_COL val)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL constant3) (TOK_TABLE_OR_COL val))))' -'' -'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' -' Alias -> Map Operator Tree:' -' subq2:subq:t2 ' -' TableScan' -' alias: t2' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' outputColumnNames: _col0, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col2' -' type: string' -' expr: 2' -' type: int' -' outputColumnNames: _col0, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col3' -' type: int' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col3, _col2' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' expr: _col3' -' type: int' -' expr: _col2' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: int' -' expr: _col2' -' type: string' -' expr: _col3' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: string' -' expr: UDFToInteger(_col3)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key1,key2,key3,cnt' -' columns.types int:int:string:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/outputtbl4' -' name groupby_sort_skew_1.outputtbl4' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 48' -' serialization.ddl struct outputtbl4 { i32 key1, i32 key2, string key3, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 54' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.outputtbl4' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t2 [subq2:subq:t2]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t2 ' -' Partition' -' base file name: t2' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t2' -' name groupby_sort_skew_1.t2' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t2 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,val' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/t2' -' name groupby_sort_skew_1.t2' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 24' -' serialization.ddl struct t2 { string key, string val}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.t2' -' name: groupby_sort_skew_1.t2' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key1,key2,key3,cnt' -' columns.types int:int:string:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/groupby_sort_skew_1.db/outputtbl4' -' name groupby_sort_skew_1.outputtbl4' -' numFiles 1' -' numPartitions 0' -' numRows 6' -' rawDataSize 48' -' serialization.ddl struct outputtbl4 { i32 key1, i32 key2, string key3, i32 cnt}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 54' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: groupby_sort_skew_1.outputtbl4' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -196 rows selected ->>> ->>> INSERT OVERWRITE TABLE outputTbl4 -select key, constant3, val, count(1) from -( -SELECT key, constant as constant2, val, 2 as constant3 from -(SELECT key, 1 as constant, val from T2)subq -)subq2 -group by key, constant3, val; -'_col0','_col1','_col2','_col3' -No rows selected ->>> ->>> SELECT * FROM outputTbl4 ORDER BY key1, key2, key3; -'key1','key2','key3','cnt' -'1','2','11','1' -'2','2','12','1' -'3','2','13','1' -'7','2','17','1' -'8','2','18','1' -'8','2','28','1' -6 rows selected ->>> ->>> set hive.map.aggr=true; -No rows affected ->>> set hive.multigroupby.singlereducer=false; -No rows affected ->>> set mapred.reduce.tasks=31; -No rows affected ->>> ->>> CREATE TABLE DEST1(key INT, cnt INT); -No rows affected ->>> CREATE TABLE DEST2(key INT, val STRING, cnt INT); -No rows affected ->>> ->>> SET hive.exec.compress.intermediate=true; -No rows affected ->>> SET hive.exec.compress.output=true; -No rows affected ->>> ->>> EXPLAIN -FROM T2 -INSERT OVERWRITE TABLE DEST1 SELECT key, count(1) GROUP BY key -INSERT OVERWRITE TABLE DEST2 SELECT key, val, count(1) GROUP BY key, val; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T2))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST1))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST2))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL val)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL val))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-3 depends on stages: Stage-2' -' Stage-0 depends on stages: Stage-3' -' Stage-4 depends on stages: Stage-0' -' Stage-1 depends on stages: Stage-3' -' Stage-5 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' t2 ' -' TableScan' -' alias: t2' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: rand()' -' type: double' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' outputColumnNames: key, val' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: UDFToInteger(_col2)' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: true' -' GlobalTableId: 2' -' 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: groupby_sort_skew_1.dest2' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: partials' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: true' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: true' -' GlobalTableId: 1' -' 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: groupby_sort_skew_1.dest1' -'' -' 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: groupby_sort_skew_1.dest1' -'' -' Stage: Stage-4' -' Stats-Aggr Operator' -'' -' Stage: Stage-1' -' 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: groupby_sort_skew_1.dest2' -'' -' Stage: Stage-5' -' Stats-Aggr Operator' -'' -'' -181 rows selected ->>> ->>> FROM T2 -INSERT OVERWRITE TABLE DEST1 SELECT key, count(1) GROUP BY key -INSERT OVERWRITE TABLE DEST2 SELECT key, val, count(1) GROUP BY key, val; -'_col0','_col1','_col2' -No rows selected ->>> ->>> select * from DEST1 ORDER BY key, cnt; -'key','cnt' -'1','1' -'2','1' -'3','1' -'7','1' -'8','2' -5 rows selected ->>> select * from DEST2 ORDER BY key, val, val; -'key','val','cnt' -'1','11','1' -'2','12','1' -'3','13','1' -'7','17','1' -'8','18','1' -'8','28','1' -6 rows selected ->>> ->>> -- multi-table insert with a sub-query ->>> EXPLAIN -FROM (select key, val from T2 where key = 8) x -INSERT OVERWRITE TABLE DEST1 SELECT key, count(1) GROUP BY key -INSERT OVERWRITE TABLE DEST2 SELECT key, val, count(1) GROUP BY key, val; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T2))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL val))) (TOK_WHERE (= (TOK_TABLE_OR_COL key) 8)))) x)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST1))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST2))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL val)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL val))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-3 depends on stages: Stage-2' -' Stage-0 depends on stages: Stage-3' -' Stage-4 depends on stages: Stage-0' -' Stage-1 depends on stages: Stage-3' -' Stage-5 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x:t2 ' -' TableScan' -' alias: t2' -' Filter Operator' -' predicate:' -' expr: (key = 8.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: rand()' -' type: double' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: UDFToInteger(_col2)' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: true' -' GlobalTableId: 2' -' 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: groupby_sort_skew_1.dest2' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: partials' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: true' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: true' -' GlobalTableId: 1' -' 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: groupby_sort_skew_1.dest1' -'' -' 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: groupby_sort_skew_1.dest1' -'' -' Stage: Stage-4' -' Stats-Aggr Operator' -'' -' Stage: Stage-1' -' 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: groupby_sort_skew_1.dest2' -'' -' Stage: Stage-5' -' Stats-Aggr Operator' -'' -'' -192 rows selected ->>> ->>> FROM (select key, val from T2 where key = 8) x -INSERT OVERWRITE TABLE DEST1 SELECT key, count(1) GROUP BY key -INSERT OVERWRITE TABLE DEST2 SELECT key, val, count(1) GROUP BY key, val; -'_col0','_col1','_col2' -No rows selected ->>> ->>> select * from DEST1 ORDER BY key, cnt; -'key','cnt' -'8','2' -1 row selected ->>> select * from DEST2 ORDER BY key, val, cnt; -'key','val','cnt' -'8','18','1' -'8','28','1' -2 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/having.q.out ql/src/test/results/beelinepositive/having.q.out deleted file mode 100644 index ab2365d..0000000 --- ql/src/test/results/beelinepositive/having.q.out +++ /dev/null @@ -1,1251 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/having.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/having.q ->>> EXPLAIN SELECT count(value) AS c FROM src GROUP BY key HAVING c > 3; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count (TOK_TABLE_OR_COL value)) c)) (TOK_GROUPBY (TOK_TABLE_OR_COL key)) (TOK_HAVING (> (TOK_TABLE_OR_COL c) 3))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: count(value)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Filter Operator' -' predicate:' -' expr: (_col1 > 3)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -73 rows selected ->>> SELECT count(value) AS c FROM src GROUP BY key HAVING c > 3; -'c' -'4' -'4' -'5' -'4' -'5' -'5' -'4' -'4' -'5' -'4' -10 rows selected ->>> ->>> EXPLAIN SELECT key, max(value) AS c FROM src GROUP BY key HAVING key != 302; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION max (TOK_TABLE_OR_COL value)) c)) (TOK_GROUPBY (TOK_TABLE_OR_COL key)) (TOK_HAVING (!= (TOK_TABLE_OR_COL key) 302))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key <> 302.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: max(value)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: max(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -75 rows selected ->>> SELECT key, max(value) AS c FROM src GROUP BY key HAVING key != 302; -'key','c' -'0','val_0' -'10','val_10' -'100','val_100' -'103','val_103' -'104','val_104' -'105','val_105' -'11','val_11' -'111','val_111' -'113','val_113' -'114','val_114' -'116','val_116' -'118','val_118' -'119','val_119' -'12','val_12' -'120','val_120' -'125','val_125' -'126','val_126' -'128','val_128' -'129','val_129' -'131','val_131' -'133','val_133' -'134','val_134' -'136','val_136' -'137','val_137' -'138','val_138' -'143','val_143' -'145','val_145' -'146','val_146' -'149','val_149' -'15','val_15' -'150','val_150' -'152','val_152' -'153','val_153' -'155','val_155' -'156','val_156' -'157','val_157' -'158','val_158' -'160','val_160' -'162','val_162' -'163','val_163' -'164','val_164' -'165','val_165' -'166','val_166' -'167','val_167' -'168','val_168' -'169','val_169' -'17','val_17' -'170','val_170' -'172','val_172' -'174','val_174' -'175','val_175' -'176','val_176' -'177','val_177' -'178','val_178' -'179','val_179' -'18','val_18' -'180','val_180' -'181','val_181' -'183','val_183' -'186','val_186' -'187','val_187' -'189','val_189' -'19','val_19' -'190','val_190' -'191','val_191' -'192','val_192' -'193','val_193' -'194','val_194' -'195','val_195' -'196','val_196' -'197','val_197' -'199','val_199' -'2','val_2' -'20','val_20' -'200','val_200' -'201','val_201' -'202','val_202' -'203','val_203' -'205','val_205' -'207','val_207' -'208','val_208' -'209','val_209' -'213','val_213' -'214','val_214' -'216','val_216' -'217','val_217' -'218','val_218' -'219','val_219' -'221','val_221' -'222','val_222' -'223','val_223' -'224','val_224' -'226','val_226' -'228','val_228' -'229','val_229' -'230','val_230' -'233','val_233' -'235','val_235' -'237','val_237' -'238','val_238' -'239','val_239' -'24','val_24' -'241','val_241' -'242','val_242' -'244','val_244' -'247','val_247' -'248','val_248' -'249','val_249' -'252','val_252' -'255','val_255' -'256','val_256' -'257','val_257' -'258','val_258' -'26','val_26' -'260','val_260' -'262','val_262' -'263','val_263' -'265','val_265' -'266','val_266' -'27','val_27' -'272','val_272' -'273','val_273' -'274','val_274' -'275','val_275' -'277','val_277' -'278','val_278' -'28','val_28' -'280','val_280' -'281','val_281' -'282','val_282' -'283','val_283' -'284','val_284' -'285','val_285' -'286','val_286' -'287','val_287' -'288','val_288' -'289','val_289' -'291','val_291' -'292','val_292' -'296','val_296' -'298','val_298' -'30','val_30' -'305','val_305' -'306','val_306' -'307','val_307' -'308','val_308' -'309','val_309' -'310','val_310' -'311','val_311' -'315','val_315' -'316','val_316' -'317','val_317' -'318','val_318' -'321','val_321' -'322','val_322' -'323','val_323' -'325','val_325' -'327','val_327' -'33','val_33' -'331','val_331' -'332','val_332' -'333','val_333' -'335','val_335' -'336','val_336' -'338','val_338' -'339','val_339' -'34','val_34' -'341','val_341' -'342','val_342' -'344','val_344' -'345','val_345' -'348','val_348' -'35','val_35' -'351','val_351' -'353','val_353' -'356','val_356' -'360','val_360' -'362','val_362' -'364','val_364' -'365','val_365' -'366','val_366' -'367','val_367' -'368','val_368' -'369','val_369' -'37','val_37' -'373','val_373' -'374','val_374' -'375','val_375' -'377','val_377' -'378','val_378' -'379','val_379' -'382','val_382' -'384','val_384' -'386','val_386' -'389','val_389' -'392','val_392' -'393','val_393' -'394','val_394' -'395','val_395' -'396','val_396' -'397','val_397' -'399','val_399' -'4','val_4' -'400','val_400' -'401','val_401' -'402','val_402' -'403','val_403' -'404','val_404' -'406','val_406' -'407','val_407' -'409','val_409' -'41','val_41' -'411','val_411' -'413','val_413' -'414','val_414' -'417','val_417' -'418','val_418' -'419','val_419' -'42','val_42' -'421','val_421' -'424','val_424' -'427','val_427' -'429','val_429' -'43','val_43' -'430','val_430' -'431','val_431' -'432','val_432' -'435','val_435' -'436','val_436' -'437','val_437' -'438','val_438' -'439','val_439' -'44','val_44' -'443','val_443' -'444','val_444' -'446','val_446' -'448','val_448' -'449','val_449' -'452','val_452' -'453','val_453' -'454','val_454' -'455','val_455' -'457','val_457' -'458','val_458' -'459','val_459' -'460','val_460' -'462','val_462' -'463','val_463' -'466','val_466' -'467','val_467' -'468','val_468' -'469','val_469' -'47','val_47' -'470','val_470' -'472','val_472' -'475','val_475' -'477','val_477' -'478','val_478' -'479','val_479' -'480','val_480' -'481','val_481' -'482','val_482' -'483','val_483' -'484','val_484' -'485','val_485' -'487','val_487' -'489','val_489' -'490','val_490' -'491','val_491' -'492','val_492' -'493','val_493' -'494','val_494' -'495','val_495' -'496','val_496' -'497','val_497' -'498','val_498' -'5','val_5' -'51','val_51' -'53','val_53' -'54','val_54' -'57','val_57' -'58','val_58' -'64','val_64' -'65','val_65' -'66','val_66' -'67','val_67' -'69','val_69' -'70','val_70' -'72','val_72' -'74','val_74' -'76','val_76' -'77','val_77' -'78','val_78' -'8','val_8' -'80','val_80' -'82','val_82' -'83','val_83' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'9','val_9' -'90','val_90' -'92','val_92' -'95','val_95' -'96','val_96' -'97','val_97' -'98','val_98' -308 rows selected ->>> ->>> EXPLAIN SELECT key FROM src GROUP BY key HAVING max(value) > "val_255"; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key))) (TOK_GROUPBY (TOK_TABLE_OR_COL key)) (TOK_HAVING (> (TOK_FUNCTION max (TOK_TABLE_OR_COL value)) "val_255"))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: max(value)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: max(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Filter Operator' -' predicate:' -' expr: (_col1 > 'val_255')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -73 rows selected ->>> SELECT key FROM src GROUP BY key HAVING max(value) > "val_255"; -'key' -'256' -'257' -'258' -'26' -'260' -'262' -'263' -'265' -'266' -'27' -'272' -'273' -'274' -'275' -'277' -'278' -'28' -'280' -'281' -'282' -'283' -'284' -'285' -'286' -'287' -'288' -'289' -'291' -'292' -'296' -'298' -'30' -'302' -'305' -'306' -'307' -'308' -'309' -'310' -'311' -'315' -'316' -'317' -'318' -'321' -'322' -'323' -'325' -'327' -'33' -'331' -'332' -'333' -'335' -'336' -'338' -'339' -'34' -'341' -'342' -'344' -'345' -'348' -'35' -'351' -'353' -'356' -'360' -'362' -'364' -'365' -'366' -'367' -'368' -'369' -'37' -'373' -'374' -'375' -'377' -'378' -'379' -'382' -'384' -'386' -'389' -'392' -'393' -'394' -'395' -'396' -'397' -'399' -'4' -'400' -'401' -'402' -'403' -'404' -'406' -'407' -'409' -'41' -'411' -'413' -'414' -'417' -'418' -'419' -'42' -'421' -'424' -'427' -'429' -'43' -'430' -'431' -'432' -'435' -'436' -'437' -'438' -'439' -'44' -'443' -'444' -'446' -'448' -'449' -'452' -'453' -'454' -'455' -'457' -'458' -'459' -'460' -'462' -'463' -'466' -'467' -'468' -'469' -'47' -'470' -'472' -'475' -'477' -'478' -'479' -'480' -'481' -'482' -'483' -'484' -'485' -'487' -'489' -'490' -'491' -'492' -'493' -'494' -'495' -'496' -'497' -'498' -'5' -'51' -'53' -'54' -'57' -'58' -'64' -'65' -'66' -'67' -'69' -'70' -'72' -'74' -'76' -'77' -'78' -'8' -'80' -'82' -'83' -'84' -'85' -'86' -'87' -'9' -'90' -'92' -'95' -'96' -'97' -'98' -199 rows selected ->>> ->>> EXPLAIN SELECT key FROM src where key > 300 GROUP BY key HAVING max(value) > "val_255"; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key))) (TOK_WHERE (> (TOK_TABLE_OR_COL key) 300)) (TOK_GROUPBY (TOK_TABLE_OR_COL key)) (TOK_HAVING (> (TOK_FUNCTION max (TOK_TABLE_OR_COL value)) "val_255"))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key > 300.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: max(value)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: max(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Filter Operator' -' predicate:' -' expr: (_col1 > 'val_255')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -77 rows selected ->>> SELECT key FROM src where key > 300 GROUP BY key HAVING max(value) > "val_255"; -'key' -'302' -'305' -'306' -'307' -'308' -'309' -'310' -'311' -'315' -'316' -'317' -'318' -'321' -'322' -'323' -'325' -'327' -'331' -'332' -'333' -'335' -'336' -'338' -'339' -'341' -'342' -'344' -'345' -'348' -'351' -'353' -'356' -'360' -'362' -'364' -'365' -'366' -'367' -'368' -'369' -'373' -'374' -'375' -'377' -'378' -'379' -'382' -'384' -'386' -'389' -'392' -'393' -'394' -'395' -'396' -'397' -'399' -'400' -'401' -'402' -'403' -'404' -'406' -'407' -'409' -'411' -'413' -'414' -'417' -'418' -'419' -'421' -'424' -'427' -'429' -'430' -'431' -'432' -'435' -'436' -'437' -'438' -'439' -'443' -'444' -'446' -'448' -'449' -'452' -'453' -'454' -'455' -'457' -'458' -'459' -'460' -'462' -'463' -'466' -'467' -'468' -'469' -'470' -'472' -'475' -'477' -'478' -'479' -'480' -'481' -'482' -'483' -'484' -'485' -'487' -'489' -'490' -'491' -'492' -'493' -'494' -'495' -'496' -'497' -'498' -125 rows selected ->>> ->>> EXPLAIN SELECT key, max(value) FROM src GROUP BY key HAVING max(value) > "val_255"; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION max (TOK_TABLE_OR_COL value)))) (TOK_GROUPBY (TOK_TABLE_OR_COL key)) (TOK_HAVING (> (TOK_FUNCTION max (TOK_TABLE_OR_COL value)) "val_255"))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: max(value)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: max(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Filter Operator' -' predicate:' -' expr: (_col1 > 'val_255')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -75 rows selected ->>> SELECT key, max(value) FROM src GROUP BY key HAVING max(value) > "val_255"; -'key','_c1' -'256','val_256' -'257','val_257' -'258','val_258' -'26','val_26' -'260','val_260' -'262','val_262' -'263','val_263' -'265','val_265' -'266','val_266' -'27','val_27' -'272','val_272' -'273','val_273' -'274','val_274' -'275','val_275' -'277','val_277' -'278','val_278' -'28','val_28' -'280','val_280' -'281','val_281' -'282','val_282' -'283','val_283' -'284','val_284' -'285','val_285' -'286','val_286' -'287','val_287' -'288','val_288' -'289','val_289' -'291','val_291' -'292','val_292' -'296','val_296' -'298','val_298' -'30','val_30' -'302','val_302' -'305','val_305' -'306','val_306' -'307','val_307' -'308','val_308' -'309','val_309' -'310','val_310' -'311','val_311' -'315','val_315' -'316','val_316' -'317','val_317' -'318','val_318' -'321','val_321' -'322','val_322' -'323','val_323' -'325','val_325' -'327','val_327' -'33','val_33' -'331','val_331' -'332','val_332' -'333','val_333' -'335','val_335' -'336','val_336' -'338','val_338' -'339','val_339' -'34','val_34' -'341','val_341' -'342','val_342' -'344','val_344' -'345','val_345' -'348','val_348' -'35','val_35' -'351','val_351' -'353','val_353' -'356','val_356' -'360','val_360' -'362','val_362' -'364','val_364' -'365','val_365' -'366','val_366' -'367','val_367' -'368','val_368' -'369','val_369' -'37','val_37' -'373','val_373' -'374','val_374' -'375','val_375' -'377','val_377' -'378','val_378' -'379','val_379' -'382','val_382' -'384','val_384' -'386','val_386' -'389','val_389' -'392','val_392' -'393','val_393' -'394','val_394' -'395','val_395' -'396','val_396' -'397','val_397' -'399','val_399' -'4','val_4' -'400','val_400' -'401','val_401' -'402','val_402' -'403','val_403' -'404','val_404' -'406','val_406' -'407','val_407' -'409','val_409' -'41','val_41' -'411','val_411' -'413','val_413' -'414','val_414' -'417','val_417' -'418','val_418' -'419','val_419' -'42','val_42' -'421','val_421' -'424','val_424' -'427','val_427' -'429','val_429' -'43','val_43' -'430','val_430' -'431','val_431' -'432','val_432' -'435','val_435' -'436','val_436' -'437','val_437' -'438','val_438' -'439','val_439' -'44','val_44' -'443','val_443' -'444','val_444' -'446','val_446' -'448','val_448' -'449','val_449' -'452','val_452' -'453','val_453' -'454','val_454' -'455','val_455' -'457','val_457' -'458','val_458' -'459','val_459' -'460','val_460' -'462','val_462' -'463','val_463' -'466','val_466' -'467','val_467' -'468','val_468' -'469','val_469' -'47','val_47' -'470','val_470' -'472','val_472' -'475','val_475' -'477','val_477' -'478','val_478' -'479','val_479' -'480','val_480' -'481','val_481' -'482','val_482' -'483','val_483' -'484','val_484' -'485','val_485' -'487','val_487' -'489','val_489' -'490','val_490' -'491','val_491' -'492','val_492' -'493','val_493' -'494','val_494' -'495','val_495' -'496','val_496' -'497','val_497' -'498','val_498' -'5','val_5' -'51','val_51' -'53','val_53' -'54','val_54' -'57','val_57' -'58','val_58' -'64','val_64' -'65','val_65' -'66','val_66' -'67','val_67' -'69','val_69' -'70','val_70' -'72','val_72' -'74','val_74' -'76','val_76' -'77','val_77' -'78','val_78' -'8','val_8' -'80','val_80' -'82','val_82' -'83','val_83' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'9','val_9' -'90','val_90' -'92','val_92' -'95','val_95' -'96','val_96' -'97','val_97' -'98','val_98' -199 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/hook_context_cs.q.out ql/src/test/results/beelinepositive/hook_context_cs.q.out deleted file mode 100644 index 516c6a9..0000000 --- ql/src/test/results/beelinepositive/hook_context_cs.q.out +++ /dev/null @@ -1,30 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/hook_context_cs.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/hook_context_cs.q ->>> drop table vcsc; -No rows affected ->>> CREATE TABLE vcsc (c STRING) PARTITIONED BY (ds STRING); -No rows affected ->>> ALTER TABLE vcsc ADD partition (ds='dummy') location '${system:test.tmp.dir}/VerifyContentSummaryCacheHook'; -No rows affected ->>> ->>> set hive.exec.pre.hooks=org.apache.hadoop.hive.ql.hooks.VerifyContentSummaryCacheHook; -No rows affected ->>> SELECT a.c, b.c FROM vcsc a JOIN vcsc b ON a.ds = 'dummy' AND b.ds = 'dummy' AND a.c = b.c; -'c','c' -No rows selected ->>> ->>> set mapred.job.tracker=local; -No rows affected ->>> set hive.exec.pre.hooks = ; -No rows affected ->>> set hive.exec.post.hooks=org.apache.hadoop.hive.ql.hooks.VerifyContentSummaryCacheHook; -No rows affected ->>> SELECT a.c, b.c FROM vcsc a JOIN vcsc b ON a.ds = 'dummy' AND b.ds = 'dummy' AND a.c = b.c; -'c','c' -No rows selected ->>> ->>> set hive.exec.post.hooks=; -No rows affected ->>> drop table vcsc; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/hook_order.q.out ql/src/test/results/beelinepositive/hook_order.q.out deleted file mode 100644 index f1d8e4c..0000000 --- ql/src/test/results/beelinepositive/hook_order.q.out +++ /dev/null @@ -1,25 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/hook_order.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/hook_order.q ->>> SET hive.exec.pre.hooks=org.apache.hadoop.hive.ql.hooks.VerifyHooksRunInOrder$RunFirst,org.apache.hadoop.hive.ql.hooks.VerifyHooksRunInOrder$RunSecond; -No rows affected ->>> SET hive.exec.post.hooks=org.apache.hadoop.hive.ql.hooks.VerifyHooksRunInOrder$RunFirst,org.apache.hadoop.hive.ql.hooks.VerifyHooksRunInOrder$RunSecond; -No rows affected ->>> SET hive.semantic.analyzer.hook=org.apache.hadoop.hive.ql.hooks.VerifyHooksRunInOrder$RunFirstSemanticAnalysisHook,org.apache.hadoop.hive.ql.hooks.VerifyHooksRunInOrder$RunSecondSemanticAnalysisHook; -No rows affected ->>> SET hive.exec.driver.run.hooks=org.apache.hadoop.hive.ql.hooks.VerifyHooksRunInOrder$RunFirstDriverRunHook,org.apache.hadoop.hive.ql.hooks.VerifyHooksRunInOrder$RunSecondDriverRunHook; -No rows affected ->>> ->>> SELECT count(*) FROM src; -'_c0' -'500' -1 row selected ->>> ->>> SET hive.exec.pre.hooks=; -No rows affected ->>> SET hive.exec.post.hooks=; -No rows affected ->>> SET hive.semantic.analyzer.hook=; -No rows affected ->>> SET hive.exec.driver.run.hooks=; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/implicit_cast1.q.out ql/src/test/results/beelinepositive/implicit_cast1.q.out deleted file mode 100644 index a37c32b..0000000 --- ql/src/test/results/beelinepositive/implicit_cast1.q.out +++ /dev/null @@ -1,58 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/implicit_cast1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/implicit_cast1.q ->>> CREATE TABLE implicit_test1(a BIGINT, b STRING) ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.dynamic_type.DynamicSerDe' WITH SERDEPROPERTIES('serialization.format'= 'org.apache.hadoop.hive.serde2.thrift.TCTLSeparatedProtocol') STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -SELECT implicit_test1.* -FROM implicit_test1 -WHERE implicit_test1.a <> 0; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME implicit_test1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME implicit_test1)))) (TOK_WHERE (<> (. (TOK_TABLE_OR_COL implicit_test1) a) 0))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' implicit_test1 ' -' TableScan' -' alias: implicit_test1' -' Filter Operator' -' predicate:' -' expr: (a <> 0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: a' -' type: bigint' -' expr: b' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -37 rows selected ->>> ->>> SELECT implicit_test1.* -FROM implicit_test1 -WHERE implicit_test1.a <> 0; -'a','b' -No rows selected ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/index_auto_file_format.q.out ql/src/test/results/beelinepositive/index_auto_file_format.q.out deleted file mode 100644 index dab5389..0000000 --- ql/src/test/results/beelinepositive/index_auto_file_format.q.out +++ /dev/null @@ -1,301 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/index_auto_file_format.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/index_auto_file_format.q ->>> -- test automatic use of index on different file formats ->>> CREATE INDEX src_index ON TABLE src(key) as 'COMPACT' WITH DEFERRED REBUILD; -No rows affected ->>> ALTER INDEX src_index ON src REBUILD; -No rows affected ->>> ->>> SET hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> SET hive.optimize.index.filter=true; -No rows affected ->>> SET hive.optimize.index.filter.compact.minsize=0; -No rows affected ->>> ->>> EXPLAIN SELECT key, value FROM src WHERE key=86 ORDER BY key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_WHERE (= (TOK_TABLE_OR_COL key) 86)) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-3 is a root stage' -' Stage-8 depends on stages: Stage-3 , consists of Stage-5, Stage-4, Stage-6' -' Stage-5' -' Stage-2 depends on stages: Stage-5, Stage-4, Stage-7' -' Stage-1 depends on stages: Stage-2' -' Stage-4' -' Stage-6' -' Stage-7 depends on stages: Stage-6' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' index_auto_file_format__src_src_index__ ' -' TableScan' -' alias: index_auto_file_format__src_src_index__' -' filterExpr:' -' expr: (key = 86.0)' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key = 86.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _bucketname' -' type: string' -' expr: _offsets' -' type: array' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-8' -' Conditional Operator' -'' -' Stage: Stage-5' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' filterExpr:' -' expr: (key = 86.0)' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key = 86.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-7' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -130 rows selected ->>> SELECT key, value FROM src WHERE key=86 ORDER BY key; -'key','value' -'86','val_86' -1 row selected ->>> ->>> SET hive.input.format=org.apache.hadoop.hive.ql.io.CombineHiveInputFormat; -No rows affected ->>> SET hive.optimize.index.filter=true; -No rows affected ->>> SET hive.optimize.index.filter.compact.minsize=0; -No rows affected ->>> ->>> EXPLAIN SELECT key, value FROM src WHERE key=86 ORDER BY key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_WHERE (= (TOK_TABLE_OR_COL key) 86)) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-3 is a root stage' -' Stage-8 depends on stages: Stage-3 , consists of Stage-5, Stage-4, Stage-6' -' Stage-5' -' Stage-2 depends on stages: Stage-5, Stage-4, Stage-7' -' Stage-1 depends on stages: Stage-2' -' Stage-4' -' Stage-6' -' Stage-7 depends on stages: Stage-6' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' index_auto_file_format__src_src_index__ ' -' TableScan' -' alias: index_auto_file_format__src_src_index__' -' filterExpr:' -' expr: (key = 86.0)' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key = 86.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _bucketname' -' type: string' -' expr: _offsets' -' type: array' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-8' -' Conditional Operator' -'' -' Stage: Stage-5' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' filterExpr:' -' expr: (key = 86.0)' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key = 86.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-7' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -130 rows selected ->>> SELECT key, value FROM src WHERE key=86 ORDER BY key; -'key','value' -'86','val_86' -1 row selected ->>> ->>> DROP INDEX src_index on src; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/index_auto_mult_tables.q.out ql/src/test/results/beelinepositive/index_auto_mult_tables.q.out deleted file mode 100644 index e0ce5dd..0000000 --- ql/src/test/results/beelinepositive/index_auto_mult_tables.q.out +++ /dev/null @@ -1,530 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/index_auto_mult_tables.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/index_auto_mult_tables.q ->>> -- try the query without indexing, with manual indexing, and with automatic indexing ->>> ->>> -- without indexing ->>> EXPLAIN SELECT a.key, a.value FROM src a JOIN srcpart b ON (a.key = b.key) WHERE a.key > 80 AND a.key < 100 AND b.key > 70 AND b.key < 90 ORDER BY a.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) a) (TOK_TABREF (TOK_TABNAME srcpart) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value))) (TOK_WHERE (AND (AND (AND (> (. (TOK_TABLE_OR_COL a) key) 80) (< (. (TOK_TABLE_OR_COL a) key) 100)) (> (. (TOK_TABLE_OR_COL b) key) 70)) (< (. (TOK_TABLE_OR_COL b) key) 90))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: ((((key > 80.0) and (key < 100.0)) and (key > 70.0)) and (key < 90.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: ((((key > 70.0) and (key < 90.0)) and (key > 80.0)) and (key < 100.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -104 rows selected ->>> SELECT a.key, a.value FROM src a JOIN srcpart b ON (a.key = b.key) WHERE a.key > 80 AND a.key < 100 AND b.key > 70 AND b.key < 90 ORDER BY a.key; -'key','value' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -48 rows selected ->>> ->>> ->>> CREATE INDEX src_index ON TABLE src(key) as 'BITMAP' WITH DEFERRED REBUILD; -No rows affected ->>> ALTER INDEX src_index ON src REBUILD; -No rows affected ->>> ->>> CREATE INDEX srcpart_index ON TABLE srcpart(key) as 'BITMAP' WITH DEFERRED REBUILD; -No rows affected ->>> ALTER INDEX srcpart_index ON srcpart REBUILD; -No rows affected ->>> ->>> SET hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> SET hive.optimize.index.filter=true; -No rows affected ->>> SET hive.optimize.index.filter.compact.minsize=0; -No rows affected ->>> ->>> EXPLAIN SELECT a.key, a.value FROM src a JOIN srcpart b ON (a.key = b.key) WHERE a.key > 80 AND a.key < 100 AND b.key > 70 AND b.key < 90 ORDER BY a.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) a) (TOK_TABREF (TOK_TABNAME srcpart) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value))) (TOK_WHERE (AND (AND (AND (> (. (TOK_TABLE_OR_COL a) key) 80) (< (. (TOK_TABLE_OR_COL a) key) 100)) (> (. (TOK_TABLE_OR_COL b) key) 70)) (< (. (TOK_TABLE_OR_COL b) key) 90))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-5 is a root stage' -' Stage-4 depends on stages: Stage-5' -' Stage-1 depends on stages: Stage-4, Stage-6' -' Stage-2 depends on stages: Stage-1' -' Stage-7 is a root stage' -' Stage-6 depends on stages: Stage-7' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tmp_index:ind0:index_auto_mult_tables__srcpart_srcpart_index__ ' -' TableScan' -' alias: index_auto_mult_tables__srcpart_srcpart_index__' -' filterExpr:' -' expr: (((((key > 70.0) and (key < 90.0)) and (key > 80.0)) and (key < 100.0)) and (not EWAH_BITMAP_EMPTY(_bitmaps)))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (((((key > 70.0) and (key < 90.0)) and (key > 80.0)) and (key < 100.0)) and (not EWAH_BITMAP_EMPTY(_bitmaps)))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _bucketname' -' type: string' -' expr: _offset' -' type: bigint' -' expr: _bitmaps' -' type: array' -' outputColumnNames: _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Group By Operator' -' aggregations:' -' expr: collect_set(_col1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: array' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: collect_set(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: array' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' filterExpr:' -' expr: ((((key > 80.0) and (key < 100.0)) and (key > 70.0)) and (key < 90.0))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: ((((key > 80.0) and (key < 100.0)) and (key > 70.0)) and (key < 90.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' b ' -' TableScan' -' alias: b' -' filterExpr:' -' expr: ((((key > 70.0) and (key < 90.0)) and (key > 80.0)) and (key < 100.0))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: ((((key > 70.0) and (key < 90.0)) and (key > 80.0)) and (key < 100.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-7' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tmp_index:ind0:index_auto_mult_tables__src_src_index__ ' -' TableScan' -' alias: index_auto_mult_tables__src_src_index__' -' filterExpr:' -' expr: (((((key > 80.0) and (key < 100.0)) and (key > 70.0)) and (key < 90.0)) and (not EWAH_BITMAP_EMPTY(_bitmaps)))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (((((key > 80.0) and (key < 100.0)) and (key > 70.0)) and (key < 90.0)) and (not EWAH_BITMAP_EMPTY(_bitmaps)))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _bucketname' -' type: string' -' expr: _offset' -' type: bigint' -' expr: _bitmaps' -' type: array' -' outputColumnNames: _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Group By Operator' -' aggregations:' -' expr: collect_set(_col1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: array' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: collect_set(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: array' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -288 rows selected ->>> SELECT a.key, a.value FROM src a JOIN srcpart b ON (a.key = b.key) WHERE a.key > 80 AND a.key < 100 AND b.key > 70 AND b.key < 90 ORDER BY a.key; -'key','value' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -48 rows selected ->>> ->>> DROP INDEX src_index on src; -No rows affected ->>> DROP INDEX srcpart_index on src; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/index_auto_mult_tables_compact.q.out ql/src/test/results/beelinepositive/index_auto_mult_tables_compact.q.out deleted file mode 100644 index bc4c9dd..0000000 --- ql/src/test/results/beelinepositive/index_auto_mult_tables_compact.q.out +++ /dev/null @@ -1,507 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/index_auto_mult_tables_compact.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/index_auto_mult_tables_compact.q ->>> -- try the query without indexing, with manual indexing, and with automatic indexing ->>> ->>> -- without indexing ->>> EXPLAIN SELECT a.key, a.value FROM src a JOIN srcpart b ON (a.key = b.key) WHERE a.key > 80 AND a.key < 100 AND b.key > 70 AND b.key < 90 ORDER BY a.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) a) (TOK_TABREF (TOK_TABNAME srcpart) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value))) (TOK_WHERE (AND (AND (AND (> (. (TOK_TABLE_OR_COL a) key) 80) (< (. (TOK_TABLE_OR_COL a) key) 100)) (> (. (TOK_TABLE_OR_COL b) key) 70)) (< (. (TOK_TABLE_OR_COL b) key) 90))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: ((((key > 80.0) and (key < 100.0)) and (key > 70.0)) and (key < 90.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: ((((key > 70.0) and (key < 90.0)) and (key > 80.0)) and (key < 100.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -104 rows selected ->>> SELECT a.key, a.value FROM src a JOIN srcpart b ON (a.key = b.key) WHERE a.key > 80 AND a.key < 100 AND b.key > 70 AND b.key < 90 ORDER BY a.key; -'key','value' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -48 rows selected ->>> ->>> ->>> CREATE INDEX src_index ON TABLE src(key) as 'COMPACT' WITH DEFERRED REBUILD; -No rows affected ->>> ALTER INDEX src_index ON src REBUILD; -No rows affected ->>> ->>> CREATE INDEX srcpart_index ON TABLE srcpart(key) as 'COMPACT' WITH DEFERRED REBUILD; -No rows affected ->>> ALTER INDEX srcpart_index ON srcpart REBUILD; -No rows affected ->>> ->>> SET hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> SET hive.optimize.index.filter=true; -No rows affected ->>> SET hive.optimize.index.filter.compact.minsize=0; -No rows affected ->>> ->>> -- automatic indexing ->>> EXPLAIN SELECT a.key, a.value FROM src a JOIN srcpart b ON (a.key = b.key) WHERE a.key > 80 AND a.key < 100 AND b.key > 70 AND b.key < 90 ORDER BY a.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) a) (TOK_TABREF (TOK_TABNAME srcpart) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value))) (TOK_WHERE (AND (AND (AND (> (. (TOK_TABLE_OR_COL a) key) 80) (< (. (TOK_TABLE_OR_COL a) key) 100)) (> (. (TOK_TABLE_OR_COL b) key) 70)) (< (. (TOK_TABLE_OR_COL b) key) 90))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-5 is a root stage' -' Stage-10 depends on stages: Stage-5 , consists of Stage-7, Stage-6, Stage-8' -' Stage-7' -' Stage-4 depends on stages: Stage-7, Stage-6, Stage-9' -' Stage-1 depends on stages: Stage-4, Stage-11' -' Stage-2 depends on stages: Stage-1' -' Stage-6' -' Stage-8' -' Stage-9 depends on stages: Stage-8' -' Stage-12 is a root stage' -' Stage-17 depends on stages: Stage-12 , consists of Stage-14, Stage-13, Stage-15' -' Stage-14' -' Stage-11 depends on stages: Stage-14, Stage-13, Stage-16' -' Stage-13' -' Stage-15' -' Stage-16 depends on stages: Stage-15' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' index_auto_mult_tables_compact__srcpart_srcpart_index__ ' -' TableScan' -' alias: index_auto_mult_tables_compact__srcpart_srcpart_index__' -' filterExpr:' -' expr: ((((key > 70.0) and (key < 90.0)) and (key > 80.0)) and (key < 100.0))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: ((((key > 70.0) and (key < 90.0)) and (key > 80.0)) and (key < 100.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _bucketname' -' type: string' -' expr: _offsets' -' type: array' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-10' -' Conditional Operator' -'' -' Stage: Stage-7' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' filterExpr:' -' expr: ((((key > 80.0) and (key < 100.0)) and (key > 70.0)) and (key < 90.0))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: ((((key > 80.0) and (key < 100.0)) and (key > 70.0)) and (key < 90.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' b ' -' TableScan' -' alias: b' -' filterExpr:' -' expr: ((((key > 70.0) and (key < 90.0)) and (key > 80.0)) and (key < 100.0))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: ((((key > 70.0) and (key < 90.0)) and (key > 80.0)) and (key < 100.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-8' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-9' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-12' -' Map Reduce' -' Alias -> Map Operator Tree:' -' index_auto_mult_tables_compact__src_src_index__ ' -' TableScan' -' alias: index_auto_mult_tables_compact__src_src_index__' -' filterExpr:' -' expr: ((((key > 80.0) and (key < 100.0)) and (key > 70.0)) and (key < 90.0))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: ((((key > 80.0) and (key < 100.0)) and (key > 70.0)) and (key < 90.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _bucketname' -' type: string' -' expr: _offsets' -' type: array' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-17' -' Conditional Operator' -'' -' Stage: Stage-14' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-11' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-13' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-15' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-16' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -264 rows selected ->>> SELECT a.key, a.value FROM src a JOIN srcpart b ON (a.key = b.key) WHERE a.key > 80 AND a.key < 100 AND b.key > 70 AND b.key < 90 ORDER BY a.key; -'key','value' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -48 rows selected ->>> ->>> DROP INDEX src_index on src; -No rows affected ->>> DROP INDEX srcpart_index on src; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/index_auto_multiple.q.out ql/src/test/results/beelinepositive/index_auto_multiple.q.out deleted file mode 100644 index 000680b..0000000 --- ql/src/test/results/beelinepositive/index_auto_multiple.q.out +++ /dev/null @@ -1,163 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/index_auto_multiple.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/index_auto_multiple.q ->>> -- With multiple indexes, make sure we choose which to use in a consistent order ->>> ->>> CREATE INDEX src_key_index ON TABLE src(key) as 'COMPACT' WITH DEFERRED REBUILD; -No rows affected ->>> CREATE INDEX src_val_index ON TABLE src(value) as 'COMPACT' WITH DEFERRED REBUILD; -No rows affected ->>> ALTER INDEX src_key_index ON src REBUILD; -No rows affected ->>> ALTER INDEX src_val_index ON src REBUILD; -No rows affected ->>> ->>> SET hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> SET hive.optimize.index.filter=true; -No rows affected ->>> SET hive.optimize.index.filter.compact.minsize=0; -No rows affected ->>> ->>> EXPLAIN SELECT key, value FROM src WHERE key=86 ORDER BY key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_WHERE (= (TOK_TABLE_OR_COL key) 86)) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-3 is a root stage' -' Stage-8 depends on stages: Stage-3 , consists of Stage-5, Stage-4, Stage-6' -' Stage-5' -' Stage-2 depends on stages: Stage-5, Stage-4, Stage-7' -' Stage-1 depends on stages: Stage-2' -' Stage-4' -' Stage-6' -' Stage-7 depends on stages: Stage-6' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' index_auto_multiple__src_src_key_index__ ' -' TableScan' -' alias: index_auto_multiple__src_src_key_index__' -' filterExpr:' -' expr: (key = 86.0)' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key = 86.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _bucketname' -' type: string' -' expr: _offsets' -' type: array' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-8' -' Conditional Operator' -'' -' Stage: Stage-5' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' filterExpr:' -' expr: (key = 86.0)' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key = 86.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-7' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -130 rows selected ->>> SELECT key, value FROM src WHERE key=86 ORDER BY key; -'key','value' -'86','val_86' -1 row selected ->>> ->>> DROP INDEX src_key_index ON src; -No rows affected ->>> DROP INDEX src_val_index ON src; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/index_auto_partitioned.q.out ql/src/test/results/beelinepositive/index_auto_partitioned.q.out deleted file mode 100644 index 1b7a226..0000000 --- ql/src/test/results/beelinepositive/index_auto_partitioned.q.out +++ /dev/null @@ -1,157 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/index_auto_partitioned.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/index_auto_partitioned.q ->>> -- test automatic use of index on table with partitions ->>> CREATE INDEX src_part_index ON TABLE srcpart(key) as 'COMPACT' WITH DEFERRED REBUILD; -No rows affected ->>> ALTER INDEX src_part_index ON srcpart REBUILD; -No rows affected ->>> ->>> SET hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> SET hive.optimize.index.filter=true; -No rows affected ->>> SET hive.optimize.index.filter.compact.minsize=0; -No rows affected ->>> ->>> EXPLAIN SELECT key, value FROM srcpart WHERE key=86 AND ds='2008-04-09' ORDER BY key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_WHERE (AND (= (TOK_TABLE_OR_COL key) 86) (= (TOK_TABLE_OR_COL ds) '2008-04-09'))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-3 is a root stage' -' Stage-8 depends on stages: Stage-3 , consists of Stage-5, Stage-4, Stage-6' -' Stage-5' -' Stage-2 depends on stages: Stage-5, Stage-4, Stage-7' -' Stage-1 depends on stages: Stage-2' -' Stage-4' -' Stage-6' -' Stage-7 depends on stages: Stage-6' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' index_auto_partitioned__srcpart_src_part_index__ ' -' TableScan' -' alias: index_auto_partitioned__srcpart_src_part_index__' -' filterExpr:' -' expr: ((key = 86.0) and (ds = '2008-04-09'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key = 86.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _bucketname' -' type: string' -' expr: _offsets' -' type: array' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-8' -' Conditional Operator' -'' -' Stage: Stage-5' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' srcpart ' -' TableScan' -' alias: srcpart' -' filterExpr:' -' expr: ((key = 86.0) and (ds = '2008-04-09'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key = 86.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-7' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -130 rows selected ->>> SELECT key, value FROM srcpart WHERE key=86 AND ds='2008-04-09' ORDER BY key; -'key','value' -'86','val_86' -'86','val_86' -2 rows selected ->>> ->>> DROP INDEX src_part_index ON srcpart; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/index_auto_self_join.q.out ql/src/test/results/beelinepositive/index_auto_self_join.q.out deleted file mode 100644 index ec7e7f7..0000000 --- ql/src/test/results/beelinepositive/index_auto_self_join.q.out +++ /dev/null @@ -1,445 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/index_auto_self_join.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/index_auto_self_join.q ->>> -- try the query without indexing, with manual indexing, and with automatic indexing ->>> ->>> EXPLAIN SELECT a.key, b.key FROM src a JOIN src b ON (a.value = b.value) WHERE a.key > 80 AND a.key < 100 AND b.key > 70 AND b.key < 90 ORDER BY a.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) a) (TOK_TABREF (TOK_TABNAME src) b) (= (. (TOK_TABLE_OR_COL a) value) (. (TOK_TABLE_OR_COL b) value)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) key))) (TOK_WHERE (AND (AND (AND (> (. (TOK_TABLE_OR_COL a) key) 80) (< (. (TOK_TABLE_OR_COL a) key) 100)) (> (. (TOK_TABLE_OR_COL b) key) 70)) (< (. (TOK_TABLE_OR_COL b) key) 90))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: ((key > 80.0) and (key < 100.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: value' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: value' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: ((key > 70.0) and (key < 90.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: value' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: value' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col0}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col4' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -102 rows selected ->>> SELECT a.key, b.key FROM src a JOIN src b ON (a.value = b.value) WHERE a.key > 80 AND a.key < 100 AND b.key > 70 AND b.key < 90 ORDER BY a.key; -'key','key' -'82','82' -'83','83' -'83','83' -'83','83' -'83','83' -'84','84' -'84','84' -'84','84' -'84','84' -'85','85' -'86','86' -'87','87' -12 rows selected ->>> ->>> CREATE INDEX src_index ON TABLE src(key) as 'BITMAP' WITH DEFERRED REBUILD; -No rows affected ->>> ALTER INDEX src_index ON src REBUILD; -No rows affected ->>> ->>> SET hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> SET hive.optimize.index.filter=true; -No rows affected ->>> SET hive.optimize.index.filter.compact.minsize=0; -No rows affected ->>> ->>> EXPLAIN SELECT a.key, b.key FROM src a JOIN src b ON (a.value = b.value) WHERE a.key > 80 AND a.key < 100 AND b.key > 70 AND b.key < 90 ORDER BY a.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) a) (TOK_TABREF (TOK_TABNAME src) b) (= (. (TOK_TABLE_OR_COL a) value) (. (TOK_TABLE_OR_COL b) value)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) key))) (TOK_WHERE (AND (AND (AND (> (. (TOK_TABLE_OR_COL a) key) 80) (< (. (TOK_TABLE_OR_COL a) key) 100)) (> (. (TOK_TABLE_OR_COL b) key) 70)) (< (. (TOK_TABLE_OR_COL b) key) 90))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-5 is a root stage' -' Stage-4 depends on stages: Stage-5' -' Stage-1 depends on stages: Stage-4, Stage-6' -' Stage-2 depends on stages: Stage-1' -' Stage-7 is a root stage' -' Stage-6 depends on stages: Stage-7' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tmp_index:ind0:index_auto_self_join__src_src_index__ ' -' TableScan' -' alias: index_auto_self_join__src_src_index__' -' filterExpr:' -' expr: (((key > 70.0) and (key < 90.0)) and (not EWAH_BITMAP_EMPTY(_bitmaps)))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (((key > 70.0) and (key < 90.0)) and (not EWAH_BITMAP_EMPTY(_bitmaps)))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _bucketname' -' type: string' -' expr: _offset' -' type: bigint' -' expr: _bitmaps' -' type: array' -' outputColumnNames: _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Group By Operator' -' aggregations:' -' expr: collect_set(_col1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: array' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: collect_set(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: array' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' filterExpr:' -' expr: ((key > 80.0) and (key < 100.0))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: ((key > 80.0) and (key < 100.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: value' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: value' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' b ' -' TableScan' -' alias: b' -' filterExpr:' -' expr: ((key > 70.0) and (key < 90.0))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: ((key > 70.0) and (key < 90.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: value' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: value' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col0}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col4' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-7' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tmp_index:ind0:index_auto_self_join__src_src_index__ ' -' TableScan' -' alias: index_auto_self_join__src_src_index__' -' filterExpr:' -' expr: (((key > 80.0) and (key < 100.0)) and (not EWAH_BITMAP_EMPTY(_bitmaps)))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (((key > 80.0) and (key < 100.0)) and (not EWAH_BITMAP_EMPTY(_bitmaps)))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _bucketname' -' type: string' -' expr: _offset' -' type: bigint' -' expr: _bitmaps' -' type: array' -' outputColumnNames: _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Group By Operator' -' aggregations:' -' expr: collect_set(_col1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: array' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: collect_set(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: array' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -286 rows selected ->>> SELECT a.key, b.key FROM src a JOIN src b ON (a.value = b.value) WHERE a.key > 80 AND a.key < 100 AND b.key > 70 AND b.key < 90 ORDER BY a.key; -'key','key' -'82','82' -'83','83' -'83','83' -'83','83' -'83','83' -'84','84' -'84','84' -'84','84' -'84','84' -'85','85' -'86','86' -'87','87' -12 rows selected ->>> ->>> DROP INDEX src_index on src; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/index_auto_unused.q.out ql/src/test/results/beelinepositive/index_auto_unused.q.out deleted file mode 100644 index cc2a607..0000000 --- ql/src/test/results/beelinepositive/index_auto_unused.q.out +++ /dev/null @@ -1,484 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/index_auto_unused.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/index_auto_unused.q ->>> -- test cases where the index should not be used automatically ->>> ->>> CREATE INDEX src_index ON TABLE src(key) as 'COMPACT' WITH DEFERRED REBUILD; -No rows affected ->>> ALTER INDEX src_index ON src REBUILD; -No rows affected ->>> ->>> SET hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> SET hive.optimize.index.filter=true; -No rows affected ->>> SET hive.optimize.index.filter.compact.minsize=5368709120; -No rows affected ->>> SET hive.optimize.index.filter.compact.maxsize=-1; -No rows affected ->>> ->>> -- min size too large (src is less than 5G) ->>> EXPLAIN SELECT * FROM src WHERE key > 80 AND key < 100 ORDER BY key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (AND (> (TOK_TABLE_OR_COL key) 80) (< (TOK_TABLE_OR_COL key) 100))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' filterExpr:' -' expr: ((key > 80.0) and (key < 100.0))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: ((key > 80.0) and (key < 100.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -53 rows selected ->>> SELECT * FROM src WHERE key > 80 AND key < 100 ORDER BY key; -'key','value' -'82','val_82' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'95','val_95' -'95','val_95' -'96','val_96' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -19 rows selected ->>> ->>> SET hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> SET hive.optimize.index.filter=true; -No rows affected ->>> SET hive.optimize.index.filter.compact.minsize=0; -No rows affected ->>> SET hive.optimize.index.filter.compact.maxsize=1; -No rows affected ->>> ->>> -- max size too small ->>> EXPLAIN SELECT * FROM src WHERE key > 80 AND key < 100 ORDER BY key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (AND (> (TOK_TABLE_OR_COL key) 80) (< (TOK_TABLE_OR_COL key) 100))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' filterExpr:' -' expr: ((key > 80.0) and (key < 100.0))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: ((key > 80.0) and (key < 100.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -53 rows selected ->>> SELECT * FROM src WHERE key > 80 AND key < 100 ORDER BY key; -'key','value' -'82','val_82' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'95','val_95' -'95','val_95' -'96','val_96' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -19 rows selected ->>> ->>> SET hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> SET hive.optimize.index.filter=true; -No rows affected ->>> SET hive.optimize.index.filter.compact.minsize=0; -No rows affected ->>> SET hive.optimize.index.filter.compact.maxsize=-1; -No rows affected ->>> ->>> -- OR predicate not supported by compact indexes ->>> EXPLAIN SELECT * FROM src WHERE key < 10 OR key > 480 ORDER BY key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (OR (< (TOK_TABLE_OR_COL key) 10) (> (TOK_TABLE_OR_COL key) 480))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' filterExpr:' -' expr: ((key < 10.0) or (key > 480.0))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: ((key < 10.0) or (key > 480.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -53 rows selected ->>> SELECT * FROM src WHERE key < 10 OR key > 480 ORDER BY key; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'2','val_2' -'4','val_4' -'481','val_481' -'482','val_482' -'483','val_483' -'484','val_484' -'485','val_485' -'487','val_487' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'490','val_490' -'491','val_491' -'492','val_492' -'492','val_492' -'493','val_493' -'494','val_494' -'495','val_495' -'496','val_496' -'497','val_497' -'498','val_498' -'498','val_498' -'498','val_498' -'5','val_5' -'5','val_5' -'5','val_5' -'8','val_8' -'9','val_9' -32 rows selected ->>> ->>> SET hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> SET hive.optimize.index.filter=true; -No rows affected ->>> SET hive.optimize.index.filter.compact.minsize=0; -No rows affected ->>> SET hive.optimize.index.filter.compact.maxsize=-1; -No rows affected ->>> ->>> -- columns are not covered by indexes ->>> DROP INDEX src_index on src; -No rows affected ->>> CREATE INDEX src_val_index ON TABLE src(value) as 'COMPACT' WITH DEFERRED REBUILD; -No rows affected ->>> ALTER INDEX src_val_index ON src REBUILD; -No rows affected ->>> ->>> EXPLAIN SELECT * FROM src WHERE key > 80 AND key < 100 ORDER BY key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (AND (> (TOK_TABLE_OR_COL key) 80) (< (TOK_TABLE_OR_COL key) 100))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' filterExpr:' -' expr: ((key > 80.0) and (key < 100.0))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: ((key > 80.0) and (key < 100.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -53 rows selected ->>> SELECT * FROM src WHERE key > 80 AND key < 100 ORDER BY key; -'key','value' -'82','val_82' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'95','val_95' -'95','val_95' -'96','val_96' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -19 rows selected ->>> ->>> DROP INDEX src_val_index on src; -No rows affected ->>> ->>> SET hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> SET hive.optimize.index.filter=true; -No rows affected ->>> SET hive.optimize.index.filter.compact.minsize=0; -No rows affected ->>> SET hive.optimize.index.filter.compact.maxsize=-1; -No rows affected ->>> ->>> -- required partitions have not been built yet ->>> CREATE INDEX src_part_index ON TABLE srcpart(key) as 'COMPACT' WITH DEFERRED REBUILD; -No rows affected ->>> ALTER INDEX src_part_index ON srcpart PARTITION (ds='2008-04-08', hr=11) REBUILD; -No rows affected ->>> ->>> EXPLAIN SELECT * FROM srcpart WHERE ds='2008-04-09' AND hr=12 AND key < 10 ORDER BY key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (AND (AND (= (TOK_TABLE_OR_COL ds) '2008-04-09') (= (TOK_TABLE_OR_COL hr) 12)) (< (TOK_TABLE_OR_COL key) 10))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' srcpart ' -' TableScan' -' alias: srcpart' -' filterExpr:' -' expr: (((ds = '2008-04-09') and (hr = 12.0)) and (key < 10.0))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key < 10.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -61 rows selected ->>> SELECT * FROM srcpart WHERE ds='2008-04-09' AND hr=12 AND key < 10 ORDER BY key; -'key','value','ds','hr' -'0','val_0','2008-04-09','12' -'0','val_0','2008-04-09','12' -'0','val_0','2008-04-09','12' -'2','val_2','2008-04-09','12' -'4','val_4','2008-04-09','12' -'5','val_5','2008-04-09','12' -'5','val_5','2008-04-09','12' -'5','val_5','2008-04-09','12' -'8','val_8','2008-04-09','12' -'9','val_9','2008-04-09','12' -10 rows selected ->>> ->>> DROP INDEX src_part_index on srcpart; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/index_auto_update.q.out ql/src/test/results/beelinepositive/index_auto_update.q.out deleted file mode 100644 index 3330998..0000000 --- ql/src/test/results/beelinepositive/index_auto_update.q.out +++ /dev/null @@ -1,352 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/index_auto_update.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/index_auto_update.q ->>> -- Test if index is actually being used. ->>> ->>> -- Create temp, and populate it with some values in src. ->>> CREATE TABLE temp(key STRING, val STRING) STORED AS TEXTFILE; -No rows affected ->>> INSERT OVERWRITE TABLE temp SELECT * FROM src WHERE key < 50; -'key','value' -No rows selected ->>> ->>> -- Build an index on temp. ->>> CREATE INDEX temp_index ON TABLE temp(key) as 'COMPACT' WITH DEFERRED REBUILD; -No rows affected ->>> ALTER INDEX temp_index ON temp REBUILD; -No rows affected ->>> ->>> SET hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> SET hive.optimize.index.filter=true; -No rows affected ->>> SET hive.optimize.index.autoupdate=true; -No rows affected ->>> SET hive.optimize.index.filter.compact.minsize=0; -No rows affected ->>> ->>> -- overwrite temp table so index is out of date ->>> EXPLAIN INSERT OVERWRITE TABLE temp SELECT * FROM src; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME temp))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-4 is a root stage' -' Stage-10 depends on stages: Stage-4 , consists of Stage-7, Stage-6, Stage-8' -' Stage-7' -' Stage-0 depends on stages: Stage-7, Stage-6, Stage-9' -' Stage-1 depends on stages: Stage-0' -' Stage-0 depends on stages: Stage-1' -' Stage-2 depends on stages: Stage-0' -' null depends on stages: Stage-1' -' Stage-3 depends on stages: Stage-1' -' Stage-5 depends on stages: Stage-0' -' Stage-6' -' Stage-8' -' Stage-9 depends on stages: Stage-8' -'' -'STAGE PLANS:' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: index_auto_update.temp' -'' -' Stage: Stage-10' -' Conditional Operator' -'' -' Stage: Stage-7' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: index_auto_update.temp' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' temp ' -' TableScan' -' alias: temp' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: INPUT__FILE__NAME' -' type: string' -' expr: BLOCK__OFFSET__INSIDE__FILE' -' type: bigint' -' outputColumnNames: key, INPUT__FILE__NAME, BLOCK__OFFSET__INSIDE__FILE' -' Group By Operator' -' aggregations:' -' expr: collect_set(BLOCK__OFFSET__INSIDE__FILE)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' expr: INPUT__FILE__NAME' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: array' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: collect_set(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: array' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: index_auto_update.index_auto_update__temp_temp_index__' -'' -' 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: index_auto_update.index_auto_update__temp_temp_index__' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: null' -'' -' Stage: Stage-3' -'' -' Stage: Stage-5' -' Stats-Aggr Operator' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: index_auto_update.temp' -'' -' Stage: Stage-8' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: index_auto_update.temp' -'' -' Stage: Stage-9' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -185 rows selected ->>> INSERT OVERWRITE TABLE temp SELECT * FROM src; -'key','value' -No rows selected ->>> ->>> -- query should return indexed values ->>> EXPLAIN SELECT * FROM temp WHERE key = 86; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME temp))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (= (TOK_TABLE_OR_COL key) 86))))' -'' -'STAGE DEPENDENCIES:' -' Stage-3 is a root stage' -' Stage-8 depends on stages: Stage-3 , consists of Stage-5, Stage-4, Stage-6' -' Stage-5' -' Stage-2 depends on stages: Stage-5, Stage-4, Stage-7' -' Stage-1 depends on stages: Stage-2' -' Stage-4' -' Stage-6' -' Stage-7 depends on stages: Stage-6' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' index_auto_update__temp_temp_index__ ' -' TableScan' -' alias: index_auto_update__temp_temp_index__' -' filterExpr:' -' expr: (key = 86.0)' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key = 86.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _bucketname' -' type: string' -' expr: _offsets' -' type: array' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-8' -' Conditional Operator' -'' -' Stage: Stage-5' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' temp ' -' TableScan' -' alias: temp' -' filterExpr:' -' expr: (key = 86.0)' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key = 86.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-7' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -117 rows selected ->>> SELECT * FROM temp WHERE key = 86; -'key','val' -'86','val_86' -1 row selected ->>> ->>> SET hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> SET hive.optimize.index.filter=false; -No rows affected ->>> DROP table temp; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/index_bitmap_auto_partitioned.q.out ql/src/test/results/beelinepositive/index_bitmap_auto_partitioned.q.out deleted file mode 100644 index 3dcd175..0000000 --- ql/src/test/results/beelinepositive/index_bitmap_auto_partitioned.q.out +++ /dev/null @@ -1,167 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/index_bitmap_auto_partitioned.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/index_bitmap_auto_partitioned.q ->>> -- test automatic use of index on table with partitions ->>> CREATE INDEX src_part_index ON TABLE srcpart(key) as 'BITMAP' WITH DEFERRED REBUILD; -No rows affected ->>> ALTER INDEX src_part_index ON srcpart REBUILD; -No rows affected ->>> ->>> SET hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> SET hive.optimize.index.filter=true; -No rows affected ->>> ->>> EXPLAIN SELECT key, value FROM srcpart WHERE key=86 AND ds='2008-04-09' ORDER BY key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_WHERE (AND (= (TOK_TABLE_OR_COL key) 86) (= (TOK_TABLE_OR_COL ds) '2008-04-09'))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-3 is a root stage' -' Stage-2 depends on stages: Stage-3' -' Stage-1 depends on stages: Stage-2' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tmp_index:ind0:index_bitmap_auto_partitioned__srcpart_src_part_index__ ' -' TableScan' -' alias: index_bitmap_auto_partitioned__srcpart_src_part_index__' -' filterExpr:' -' expr: ((key = 86.0) and (not EWAH_BITMAP_EMPTY(_bitmaps)))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: ((key = 86.0) and (not EWAH_BITMAP_EMPTY(_bitmaps)))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _bucketname' -' type: string' -' expr: _offset' -' type: bigint' -' expr: _bitmaps' -' type: array' -' outputColumnNames: _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Group By Operator' -' aggregations:' -' expr: collect_set(_col1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: array' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: collect_set(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: array' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-2' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' srcpart ' -' TableScan' -' alias: srcpart' -' filterExpr:' -' expr: ((key = 86.0) and (ds = '2008-04-09'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key = 86.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -142 rows selected ->>> SELECT key, value FROM srcpart WHERE key=86 AND ds='2008-04-09' ORDER BY key; -'key','value' -'86','val_86' -'86','val_86' -2 rows selected ->>> ->>> DROP INDEX src_part_index ON srcpart; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/index_bitmap_compression.q.out ql/src/test/results/beelinepositive/index_bitmap_compression.q.out deleted file mode 100644 index 9bf0106..0000000 --- ql/src/test/results/beelinepositive/index_bitmap_compression.q.out +++ /dev/null @@ -1,188 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/index_bitmap_compression.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/index_bitmap_compression.q ->>> SET hive.exec.compress.result=true; -No rows affected ->>> CREATE INDEX src_index ON TABLE src(key) as 'BITMAP' WITH DEFERRED REBUILD; -No rows affected ->>> ALTER INDEX src_index ON src REBUILD; -No rows affected ->>> ->>> SET hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> SET hive.optimize.index.filter=true; -No rows affected ->>> SET hive.optimize.index.filter.compact.minsize=0; -No rows affected ->>> ->>> -- automatic indexing ->>> EXPLAIN SELECT key, value FROM src WHERE key > 80 AND key < 100 ORDER BY key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_WHERE (AND (> (TOK_TABLE_OR_COL key) 80) (< (TOK_TABLE_OR_COL key) 100))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-3 is a root stage' -' Stage-2 depends on stages: Stage-3' -' Stage-1 depends on stages: Stage-2' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tmp_index:ind0:index_bitmap_compression__src_src_index__ ' -' TableScan' -' alias: index_bitmap_compression__src_src_index__' -' filterExpr:' -' expr: (((key > 80.0) and (key < 100.0)) and (not EWAH_BITMAP_EMPTY(_bitmaps)))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (((key > 80.0) and (key < 100.0)) and (not EWAH_BITMAP_EMPTY(_bitmaps)))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _bucketname' -' type: string' -' expr: _offset' -' type: bigint' -' expr: _bitmaps' -' type: array' -' outputColumnNames: _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Group By Operator' -' aggregations:' -' expr: collect_set(_col1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: array' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: collect_set(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: array' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-2' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' filterExpr:' -' expr: ((key > 80.0) and (key < 100.0))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: ((key > 80.0) and (key < 100.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -142 rows selected ->>> SELECT key, value FROM src WHERE key > 80 AND key < 100 ORDER BY key; -'key','value' -'82','val_82' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'95','val_95' -'95','val_95' -'96','val_96' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -19 rows selected ->>> ->>> DROP INDEX src_index on src; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/index_compact_binary_search.q.out ql/src/test/results/beelinepositive/index_compact_binary_search.q.out deleted file mode 100644 index e963587..0000000 --- ql/src/test/results/beelinepositive/index_compact_binary_search.q.out +++ /dev/null @@ -1,489 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/index_compact_binary_search.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/index_compact_binary_search.q ->>> SET hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> SET hive.default.fileformat=TextFile; -No rows affected ->>> ->>> CREATE INDEX src_index ON TABLE src(key) as 'COMPACT' WITH DEFERRED REBUILD; -No rows affected ->>> ALTER INDEX src_index ON src REBUILD; -No rows affected ->>> ->>> SET hive.optimize.index.filter=true; -No rows affected ->>> SET hive.optimize.index.filter.compact.minsize=1; -No rows affected ->>> SET hive.index.compact.binary.search=true; -No rows affected ->>> ->>> SET hive.exec.post.hooks=org.apache.hadoop.hive.ql.hooks.VerifyHiveSortedInputFormatUsedHook; -No rows affected ->>> ->>> SELECT * FROM src WHERE key = '0'; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -3 rows selected ->>> ->>> SELECT * FROM src WHERE key < '1'; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -3 rows selected ->>> ->>> SELECT * FROM src WHERE key <= '0'; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -3 rows selected ->>> ->>> SELECT * FROM src WHERE key > '8'; -'key','value' -'86','val_86' -'98','val_98' -'82','val_82' -'92','val_92' -'83','val_83' -'84','val_84' -'96','val_96' -'95','val_95' -'98','val_98' -'85','val_85' -'87','val_87' -'90','val_90' -'95','val_95' -'80','val_80' -'90','val_90' -'83','val_83' -'9','val_9' -'97','val_97' -'84','val_84' -'90','val_90' -'97','val_97' -21 rows selected ->>> ->>> SELECT * FROM src WHERE key >= '9'; -'key','value' -'98','val_98' -'92','val_92' -'96','val_96' -'95','val_95' -'98','val_98' -'90','val_90' -'95','val_95' -'90','val_90' -'9','val_9' -'97','val_97' -'90','val_90' -'97','val_97' -12 rows selected ->>> ->>> SET hive.exec.post.hooks=; -No rows affected ->>> ->>> DROP INDEX src_index ON src; -No rows affected ->>> ->>> SET hive.default.fileformat=RCFILE; -No rows affected ->>> ->>> CREATE INDEX src_index ON TABLE src(key) as 'COMPACT' WITH DEFERRED REBUILD; -No rows affected ->>> ALTER INDEX src_index ON src REBUILD; -No rows affected ->>> ->>> SET hive.exec.post.hooks=org.apache.hadoop.hive.ql.hooks.VerifyHiveSortedInputFormatUsedHook; -No rows affected ->>> ->>> SELECT * FROM src WHERE key = '0'; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -3 rows selected ->>> ->>> SELECT * FROM src WHERE key < '1'; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -3 rows selected ->>> ->>> SELECT * FROM src WHERE key <= '0'; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -3 rows selected ->>> ->>> SELECT * FROM src WHERE key > '8'; -'key','value' -'86','val_86' -'98','val_98' -'82','val_82' -'92','val_92' -'83','val_83' -'84','val_84' -'96','val_96' -'95','val_95' -'98','val_98' -'85','val_85' -'87','val_87' -'90','val_90' -'95','val_95' -'80','val_80' -'90','val_90' -'83','val_83' -'9','val_9' -'97','val_97' -'84','val_84' -'90','val_90' -'97','val_97' -21 rows selected ->>> ->>> SELECT * FROM src WHERE key >= '9'; -'key','value' -'98','val_98' -'92','val_92' -'96','val_96' -'95','val_95' -'98','val_98' -'90','val_90' -'95','val_95' -'90','val_90' -'9','val_9' -'97','val_97' -'90','val_90' -'97','val_97' -12 rows selected ->>> ->>> SET hive.exec.post.hooks=; -No rows affected ->>> ->>> DROP INDEX src_index ON src; -No rows affected ->>> ->>> SET hive.input.format=org.apache.hadoop.hive.ql.io.CombineHiveInputFormat; -No rows affected ->>> SET hive.default.fileformat=TextFile; -No rows affected ->>> ->>> CREATE INDEX src_index ON TABLE src(key) as 'COMPACT' WITH DEFERRED REBUILD; -No rows affected ->>> ALTER INDEX src_index ON src REBUILD; -No rows affected ->>> ->>> SET hive.exec.post.hooks=org.apache.hadoop.hive.ql.hooks.VerifyHiveSortedInputFormatUsedHook; -No rows affected ->>> ->>> SELECT * FROM src WHERE key = '0'; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -3 rows selected ->>> ->>> SELECT * FROM src WHERE key < '1'; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -3 rows selected ->>> ->>> SELECT * FROM src WHERE key <= '0'; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -3 rows selected ->>> ->>> SELECT * FROM src WHERE key > '8'; -'key','value' -'86','val_86' -'98','val_98' -'82','val_82' -'92','val_92' -'83','val_83' -'84','val_84' -'96','val_96' -'95','val_95' -'98','val_98' -'85','val_85' -'87','val_87' -'90','val_90' -'95','val_95' -'80','val_80' -'90','val_90' -'83','val_83' -'9','val_9' -'97','val_97' -'84','val_84' -'90','val_90' -'97','val_97' -21 rows selected ->>> ->>> SELECT * FROM src WHERE key >= '9'; -'key','value' -'98','val_98' -'92','val_92' -'96','val_96' -'95','val_95' -'98','val_98' -'90','val_90' -'95','val_95' -'90','val_90' -'9','val_9' -'97','val_97' -'90','val_90' -'97','val_97' -12 rows selected ->>> ->>> SET hive.exec.post.hooks=; -No rows affected ->>> ->>> DROP INDEX src_index ON src; -No rows affected ->>> ->>> SET hive.default.fileformat=RCFILE; -No rows affected ->>> ->>> CREATE INDEX src_index ON TABLE src(key) as 'COMPACT' WITH DEFERRED REBUILD; -No rows affected ->>> ALTER INDEX src_index ON src REBUILD; -No rows affected ->>> ->>> SET hive.exec.post.hooks=org.apache.hadoop.hive.ql.hooks.VerifyHiveSortedInputFormatUsedHook; -No rows affected ->>> ->>> SELECT * FROM src WHERE key = '0'; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -3 rows selected ->>> ->>> SELECT * FROM src WHERE key < '1'; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -3 rows selected ->>> ->>> SELECT * FROM src WHERE key <= '0'; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -3 rows selected ->>> ->>> SELECT * FROM src WHERE key > '8'; -'key','value' -'86','val_86' -'98','val_98' -'82','val_82' -'92','val_92' -'83','val_83' -'84','val_84' -'96','val_96' -'95','val_95' -'98','val_98' -'85','val_85' -'87','val_87' -'90','val_90' -'95','val_95' -'80','val_80' -'90','val_90' -'83','val_83' -'9','val_9' -'97','val_97' -'84','val_84' -'90','val_90' -'97','val_97' -21 rows selected ->>> ->>> SELECT * FROM src WHERE key >= '9'; -'key','value' -'98','val_98' -'92','val_92' -'96','val_96' -'95','val_95' -'98','val_98' -'90','val_90' -'95','val_95' -'90','val_90' -'9','val_9' -'97','val_97' -'90','val_90' -'97','val_97' -12 rows selected ->>> ->>> SET hive.exec.post.hooks=; -No rows affected ->>> ->>> DROP INDEX src_index ON src; -No rows affected ->>> ->>> SET hive.input.format=org.apache.hadoop.hive.ql.io.BucketizedHiveInputFormat; -No rows affected ->>> SET hive.default.fileformat=TextFile; -No rows affected ->>> ->>> CREATE INDEX src_index ON TABLE src(key) as 'COMPACT' WITH DEFERRED REBUILD; -No rows affected ->>> ALTER INDEX src_index ON src REBUILD; -No rows affected ->>> ->>> SET hive.exec.post.hooks=org.apache.hadoop.hive.ql.hooks.VerifyHiveSortedInputFormatUsedHook; -No rows affected ->>> ->>> SELECT * FROM src WHERE key = '0'; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -3 rows selected ->>> ->>> SELECT * FROM src WHERE key < '1'; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -3 rows selected ->>> ->>> SELECT * FROM src WHERE key <= '0'; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -3 rows selected ->>> ->>> SELECT * FROM src WHERE key > '8'; -'key','value' -'86','val_86' -'98','val_98' -'82','val_82' -'92','val_92' -'83','val_83' -'84','val_84' -'96','val_96' -'95','val_95' -'98','val_98' -'85','val_85' -'87','val_87' -'90','val_90' -'95','val_95' -'80','val_80' -'90','val_90' -'83','val_83' -'9','val_9' -'97','val_97' -'84','val_84' -'90','val_90' -'97','val_97' -21 rows selected ->>> ->>> SELECT * FROM src WHERE key >= '9'; -'key','value' -'98','val_98' -'92','val_92' -'96','val_96' -'95','val_95' -'98','val_98' -'90','val_90' -'95','val_95' -'90','val_90' -'9','val_9' -'97','val_97' -'90','val_90' -'97','val_97' -12 rows selected ->>> ->>> SET hive.exec.post.hooks=; -No rows affected ->>> ->>> DROP INDEX src_index ON src; -No rows affected ->>> ->>> SET hive.default.fileformat=RCFILE; -No rows affected ->>> ->>> CREATE INDEX src_index ON TABLE src(key) as 'COMPACT' WITH DEFERRED REBUILD; -No rows affected ->>> ALTER INDEX src_index ON src REBUILD; -No rows affected ->>> ->>> SET hive.exec.post.hooks=org.apache.hadoop.hive.ql.hooks.VerifyHiveSortedInputFormatUsedHook; -No rows affected ->>> ->>> SELECT * FROM src WHERE key = '0'; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -3 rows selected ->>> ->>> SELECT * FROM src WHERE key < '1'; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -3 rows selected ->>> ->>> SELECT * FROM src WHERE key <= '0'; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -3 rows selected ->>> ->>> SELECT * FROM src WHERE key > '8'; -'key','value' -'86','val_86' -'98','val_98' -'82','val_82' -'92','val_92' -'83','val_83' -'84','val_84' -'96','val_96' -'95','val_95' -'98','val_98' -'85','val_85' -'87','val_87' -'90','val_90' -'95','val_95' -'80','val_80' -'90','val_90' -'83','val_83' -'9','val_9' -'97','val_97' -'84','val_84' -'90','val_90' -'97','val_97' -21 rows selected ->>> ->>> SELECT * FROM src WHERE key >= '9'; -'key','value' -'98','val_98' -'92','val_92' -'96','val_96' -'95','val_95' -'98','val_98' -'90','val_90' -'95','val_95' -'90','val_90' -'9','val_9' -'97','val_97' -'90','val_90' -'97','val_97' -12 rows selected ->>> ->>> SET hive.exec.post.hooks=; -No rows affected ->>> ->>> DROP INDEX src_index ON src; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/index_compression.q.out ql/src/test/results/beelinepositive/index_compression.q.out deleted file mode 100644 index db721dc..0000000 --- ql/src/test/results/beelinepositive/index_compression.q.out +++ /dev/null @@ -1,176 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/index_compression.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/index_compression.q ->>> SET hive.exec.compress.result=true; -No rows affected ->>> CREATE INDEX src_index ON TABLE src(key) as 'COMPACT' WITH DEFERRED REBUILD; -No rows affected ->>> ALTER INDEX src_index ON src REBUILD; -No rows affected ->>> ->>> SET hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> SET hive.optimize.index.filter=true; -No rows affected ->>> SET hive.optimize.index.filter.compact.minsize=0; -No rows affected ->>> ->>> -- automatic indexing ->>> EXPLAIN SELECT key, value FROM src WHERE key > 80 AND key < 100 ORDER BY key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_WHERE (AND (> (TOK_TABLE_OR_COL key) 80) (< (TOK_TABLE_OR_COL key) 100))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-3 is a root stage' -' Stage-8 depends on stages: Stage-3 , consists of Stage-5, Stage-4, Stage-6' -' Stage-5' -' Stage-2 depends on stages: Stage-5, Stage-4, Stage-7' -' Stage-1 depends on stages: Stage-2' -' Stage-4' -' Stage-6' -' Stage-7 depends on stages: Stage-6' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' index_compression__src_src_index__ ' -' TableScan' -' alias: index_compression__src_src_index__' -' filterExpr:' -' expr: ((key > 80.0) and (key < 100.0))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: ((key > 80.0) and (key < 100.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _bucketname' -' type: string' -' expr: _offsets' -' type: array' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-8' -' Conditional Operator' -'' -' Stage: Stage-5' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' filterExpr:' -' expr: ((key > 80.0) and (key < 100.0))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: ((key > 80.0) and (key < 100.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-7' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -130 rows selected ->>> SELECT key, value FROM src WHERE key > 80 AND key < 100 ORDER BY key; -'key','value' -'82','val_82' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'95','val_95' -'95','val_95' -'96','val_96' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -19 rows selected ->>> ->>> DROP INDEX src_index on src; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/index_stale.q.out ql/src/test/results/beelinepositive/index_stale.q.out deleted file mode 100644 index 708b504..0000000 --- ql/src/test/results/beelinepositive/index_stale.q.out +++ /dev/null @@ -1,79 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/index_stale.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/index_stale.q ->>> -- test that stale indexes are not used ->>> ->>> CREATE TABLE temp(key STRING, val STRING) STORED AS TEXTFILE; -No rows affected ->>> INSERT OVERWRITE TABLE temp SELECT * FROM src WHERE key < 50; -'key','value' -No rows selected ->>> ->>> -- Build an index on temp. ->>> CREATE INDEX temp_index ON TABLE temp(key) as 'COMPACT' WITH DEFERRED REBUILD; -No rows affected ->>> ALTER INDEX temp_index ON temp REBUILD; -No rows affected ->>> ->>> SET hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> SET hive.optimize.index.filter=true; -No rows affected ->>> SET hive.optimize.index.filter.compact.minsize=0; -No rows affected ->>> ->>> -- overwrite temp table so index is out of date ->>> INSERT OVERWRITE TABLE temp SELECT * FROM src; -'key','value' -No rows selected ->>> ->>> -- should return correct results bypassing index ->>> EXPLAIN SELECT * FROM temp WHERE key = 86; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME temp))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (= (TOK_TABLE_OR_COL key) 86))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' temp ' -' TableScan' -' alias: temp' -' filterExpr:' -' expr: (key = 86.0)' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key = 86.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -40 rows selected ->>> SELECT * FROM temp WHERE key = 86; -'key','val' -'86','val_86' -1 row selected ->>> DROP table temp; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/infer_const_type.q.out ql/src/test/results/beelinepositive/infer_const_type.q.out deleted file mode 100644 index dcbd86d..0000000 --- ql/src/test/results/beelinepositive/infer_const_type.q.out +++ /dev/null @@ -1,284 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/infer_const_type.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/infer_const_type.q ->>> DROP TABLE infertypes; -No rows affected ->>> CREATE TABLE infertypes(ti TINYINT, si SMALLINT, i INT, bi BIGINT, fl FLOAT, db DOUBLE, str STRING); -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/infer_const_type.txt' OVERWRITE INTO TABLE infertypes; -No rows affected ->>> ->>> SELECT * FROM infertypes; -'ti','si','i','bi','fl','db','str' -'127','32767','12345','-12345','906.0','-307.0','1234' -'126','32767','12345','-12345','906.0','-307.0','1234' -'126','32767','12345','-12345','906.0','-307.0','1.57' -3 rows selected ->>> ->>> EXPLAIN SELECT * FROM infertypes WHERE -ti = '127' AND -si = 32767 AND -i = '12345' AND -bi = '-12345' AND -fl = '0906' AND -db = '-307' AND -str = 1234; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME infertypes))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (AND (AND (AND (AND (AND (AND (= (TOK_TABLE_OR_COL ti) '127') (= (TOK_TABLE_OR_COL si) 32767)) (= (TOK_TABLE_OR_COL i) '12345')) (= (TOK_TABLE_OR_COL bi) '-12345')) (= (TOK_TABLE_OR_COL fl) '0906')) (= (TOK_TABLE_OR_COL db) '-307')) (= (TOK_TABLE_OR_COL str) 1234)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' infertypes ' -' TableScan' -' alias: infertypes' -' Filter Operator' -' predicate:' -' expr: (((((((ti = 127) and (si = 32767)) and (i = 12345)) and (bi = -12345)) and (fl = 906.0)) and (db = -307.0)) and (str = 1234.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: ti' -' type: tinyint' -' expr: si' -' type: smallint' -' expr: i' -' type: int' -' expr: bi' -' type: bigint' -' expr: fl' -' type: float' -' expr: db' -' type: double' -' expr: str' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -47 rows selected ->>> ->>> SELECT * FROM infertypes WHERE -ti = '127' AND -si = 32767 AND -i = '12345' AND -bi = '-12345' AND -fl = '0906' AND -db = '-307' AND -str = 1234; -'ti','si','i','bi','fl','db','str' -'127','32767','12345','-12345','906.0','-307.0','1234' -1 row selected ->>> ->>> -- all should return false as all numbers exceeed the largest number ->>> -- which could be represented by the corresponding type ->>> -- and string_col = long_const should return false ->>> EXPLAIN SELECT * FROM infertypes WHERE -ti = '128' OR -si = 32768 OR -i = '2147483648' OR -bi = '9223372036854775808' OR -fl = 'float' OR -db = 'double'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME infertypes))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (OR (OR (OR (OR (OR (= (TOK_TABLE_OR_COL ti) '128') (= (TOK_TABLE_OR_COL si) 32768)) (= (TOK_TABLE_OR_COL i) '2147483648')) (= (TOK_TABLE_OR_COL bi) '9223372036854775808')) (= (TOK_TABLE_OR_COL fl) 'float')) (= (TOK_TABLE_OR_COL db) 'double')))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' infertypes ' -' TableScan' -' alias: infertypes' -' Filter Operator' -' predicate:' -' expr: (((((false or false) or false) or false) or false) or false)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: ti' -' type: tinyint' -' expr: si' -' type: smallint' -' expr: i' -' type: int' -' expr: bi' -' type: bigint' -' expr: fl' -' type: float' -' expr: db' -' type: double' -' expr: str' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -47 rows selected ->>> ->>> SELECT * FROM infertypes WHERE -ti = '128' OR -si = 32768 OR -i = '2147483648' OR -bi = '9223372036854775808' OR -fl = 'float' OR -db = 'double'; -'ti','si','i','bi','fl','db','str' -No rows selected ->>> ->>> -- for the query like: int_col = double, should return false ->>> EXPLAIN SELECT * FROM infertypes WHERE -ti = '127.0' OR -si = 327.0 OR -i = '-100.0'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME infertypes))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (OR (OR (= (TOK_TABLE_OR_COL ti) '127.0') (= (TOK_TABLE_OR_COL si) 327.0)) (= (TOK_TABLE_OR_COL i) '-100.0')))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' infertypes ' -' TableScan' -' alias: infertypes' -' Filter Operator' -' predicate:' -' expr: ((false or false) or false)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: ti' -' type: tinyint' -' expr: si' -' type: smallint' -' expr: i' -' type: int' -' expr: bi' -' type: bigint' -' expr: fl' -' type: float' -' expr: db' -' type: double' -' expr: str' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -47 rows selected ->>> ->>> SELECT * FROM infertypes WHERE -ti = '127.0' OR -si = 327.0 OR -i = '-100.0'; -'ti','si','i','bi','fl','db','str' -No rows selected ->>> ->>> EXPLAIN SELECT * FROM infertypes WHERE -ti < '127.0' AND -i > '100.0' AND -str = 1.57; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME infertypes))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (AND (AND (< (TOK_TABLE_OR_COL ti) '127.0') (> (TOK_TABLE_OR_COL i) '100.0')) (= (TOK_TABLE_OR_COL str) 1.57)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' infertypes ' -' TableScan' -' alias: infertypes' -' Filter Operator' -' predicate:' -' expr: (((ti < 127.0) and (i > 100.0)) and (str = 1.57))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: ti' -' type: tinyint' -' expr: si' -' type: smallint' -' expr: i' -' type: int' -' expr: bi' -' type: bigint' -' expr: fl' -' type: float' -' expr: db' -' type: double' -' expr: str' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -47 rows selected ->>> ->>> SELECT * FROM infertypes WHERE -ti < '127.0' AND -i > '100.0' AND -str = 1.57; -'ti','si','i','bi','fl','db','str' -'126','32767','12345','-12345','906.0','-307.0','1.57' -1 row selected ->>> ->>> DROP TABLE infertypes; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/innerjoin.q.out ql/src/test/results/beelinepositive/innerjoin.q.out deleted file mode 100644 index 57f742a..0000000 --- ql/src/test/results/beelinepositive/innerjoin.q.out +++ /dev/null @@ -1,1269 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/innerjoin.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/innerjoin.q ->>> set hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> CREATE TABLE dest_j1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src src1 INNER JOIN src src2 ON (src1.key = src2.key) -INSERT OVERWRITE TABLE dest_j1 SELECT src1.key, src2.value ORDER BY src1.key, src2.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2) (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_j1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) value))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) value)))))' -'' -'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' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: innerjoin.dest_j1' -'' -' 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: innerjoin.dest_j1' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -'' -115 rows selected ->>> ->>> FROM src src1 INNER JOIN src src2 ON (src1.key = src2.key) -INSERT OVERWRITE TABLE dest_j1 SELECT src1.key, src2.value ORDER BY src1.key, src2.value; -'_col0','_col1' -No rows selected ->>> ->>> SELECT dest_j1.* FROM dest_j1; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'10','val_10' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'105','val_105' -'11','val_11' -'111','val_111' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'114','val_114' -'116','val_116' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'126','val_126' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'131','val_131' -'133','val_133' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'136','val_136' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'143','val_143' -'145','val_145' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'150','val_150' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'153','val_153' -'155','val_155' -'156','val_156' -'157','val_157' -'158','val_158' -'160','val_160' -'162','val_162' -'163','val_163' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'166','val_166' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'168','val_168' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'17','val_17' -'170','val_170' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'177','val_177' -'178','val_178' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'180','val_180' -'181','val_181' -'183','val_183' -'186','val_186' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'189','val_189' -'19','val_19' -'190','val_190' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'192','val_192' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'194','val_194' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'196','val_196' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'2','val_2' -'20','val_20' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'201','val_201' -'202','val_202' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'214','val_214' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'218','val_218' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'222','val_222' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'226','val_226' -'228','val_228' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'235','val_235' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'241','val_241' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'244','val_244' -'247','val_247' -'248','val_248' -'249','val_249' -'252','val_252' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'257','val_257' -'258','val_258' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'260','val_260' -'262','val_262' -'263','val_263' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'266','val_266' -'27','val_27' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'274','val_274' -'275','val_275' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'28','val_28' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'283','val_283' -'284','val_284' -'285','val_285' -'286','val_286' -'287','val_287' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'289','val_289' -'291','val_291' -'292','val_292' -'296','val_296' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'30','val_30' -'302','val_302' -'305','val_305' -'306','val_306' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'308','val_308' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'310','val_310' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'315','val_315' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'323','val_323' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'33','val_33' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'332','val_332' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'335','val_335' -'336','val_336' -'338','val_338' -'339','val_339' -'34','val_34' -'341','val_341' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'345','val_345' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'351','val_351' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'356','val_356' -'360','val_360' -'362','val_362' -'364','val_364' -'365','val_365' -'366','val_366' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'368','val_368' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'373','val_373' -'374','val_374' -'375','val_375' -'377','val_377' -'378','val_378' -'379','val_379' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'386','val_386' -'389','val_389' -'392','val_392' -'393','val_393' -'394','val_394' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'4','val_4' -'400','val_400' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'402','val_402' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'407','val_407' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'41','val_41' -'411','val_411' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'418','val_418' -'419','val_419' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'421','val_421' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'427','val_427' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'43','val_43' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'432','val_432' -'435','val_435' -'436','val_436' -'437','val_437' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'44','val_44' -'443','val_443' -'444','val_444' -'446','val_446' -'448','val_448' -'449','val_449' -'452','val_452' -'453','val_453' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'455','val_455' -'457','val_457' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'460','val_460' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'467','val_467' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'47','val_47' -'470','val_470' -'472','val_472' -'475','val_475' -'477','val_477' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'479','val_479' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'481','val_481' -'482','val_482' -'483','val_483' -'484','val_484' -'485','val_485' -'487','val_487' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'490','val_490' -'491','val_491' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'493','val_493' -'494','val_494' -'495','val_495' -'496','val_496' -'497','val_497' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'53','val_53' -'54','val_54' -'57','val_57' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'64','val_64' -'65','val_65' -'66','val_66' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'69','val_69' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'74','val_74' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'77','val_77' -'78','val_78' -'8','val_8' -'80','val_80' -'82','val_82' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'9','val_9' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'96','val_96' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -1,028 rows selected ->>> ->>> -- verify that INNER is a non-reserved word for backwards compatibility ->>> create table inner(i int); -No rows affected ->>> ->>> select i from inner; -'i' -No rows selected ->>> ->>> create table i(inner int); -No rows affected ->>> ->>> select inner from i; -'inner' -No rows selected ->>> ->>> explain select * from (select * from src) inner left outer join src -on inner.key=src.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)))) inner) (TOK_TABREF (TOK_TABNAME src)) (= (. (TOK_TABLE_OR_COL inner) key) (. (TOK_TABLE_OR_COL src) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' inner:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' src ' -' TableScan' -' alias: src' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -84 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/inoutdriver.q.out ql/src/test/results/beelinepositive/inoutdriver.q.out deleted file mode 100644 index be1e832..0000000 --- ql/src/test/results/beelinepositive/inoutdriver.q.out +++ /dev/null @@ -1,11 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/inoutdriver.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/inoutdriver.q ->>> create table test (a int) stored as inputformat 'org.apache.hadoop.hive.ql.io.RCFileInputFormat' outputformat 'org.apache.hadoop.hive.ql.io.RCFileOutputFormat' inputdriver 'RCFileInDriver' outputdriver 'RCFileOutDriver'; -No rows affected ->>> desc extended test; -'col_name','data_type','comment' -'a','int','' -'','','' -'Detailed Table Information','Table(tableName:test, dbName:inoutdriver, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:a, type:int, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/inoutdriver.db/test, 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.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -3 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/input.q.out ql/src/test/results/beelinepositive/input.q.out deleted file mode 100644 index d8961b1..0000000 --- ql/src/test/results/beelinepositive/input.q.out +++ /dev/null @@ -1,534 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input.q ->>> EXPLAIN -SELECT x.* FROM SRC x; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME SRC) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME x))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -' Processor Tree:' -' TableScan' -' alias: x' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' ListSink' -'' -'' -23 rows selected ->>> ->>> SELECT x.* FROM SRC x; -'key','value' -'238','val_238' -'86','val_86' -'311','val_311' -'27','val_27' -'165','val_165' -'409','val_409' -'255','val_255' -'278','val_278' -'98','val_98' -'484','val_484' -'265','val_265' -'193','val_193' -'401','val_401' -'150','val_150' -'273','val_273' -'224','val_224' -'369','val_369' -'66','val_66' -'128','val_128' -'213','val_213' -'146','val_146' -'406','val_406' -'429','val_429' -'374','val_374' -'152','val_152' -'469','val_469' -'145','val_145' -'495','val_495' -'37','val_37' -'327','val_327' -'281','val_281' -'277','val_277' -'209','val_209' -'15','val_15' -'82','val_82' -'403','val_403' -'166','val_166' -'417','val_417' -'430','val_430' -'252','val_252' -'292','val_292' -'219','val_219' -'287','val_287' -'153','val_153' -'193','val_193' -'338','val_338' -'446','val_446' -'459','val_459' -'394','val_394' -'237','val_237' -'482','val_482' -'174','val_174' -'413','val_413' -'494','val_494' -'207','val_207' -'199','val_199' -'466','val_466' -'208','val_208' -'174','val_174' -'399','val_399' -'396','val_396' -'247','val_247' -'417','val_417' -'489','val_489' -'162','val_162' -'377','val_377' -'397','val_397' -'309','val_309' -'365','val_365' -'266','val_266' -'439','val_439' -'342','val_342' -'367','val_367' -'325','val_325' -'167','val_167' -'195','val_195' -'475','val_475' -'17','val_17' -'113','val_113' -'155','val_155' -'203','val_203' -'339','val_339' -'0','val_0' -'455','val_455' -'128','val_128' -'311','val_311' -'316','val_316' -'57','val_57' -'302','val_302' -'205','val_205' -'149','val_149' -'438','val_438' -'345','val_345' -'129','val_129' -'170','val_170' -'20','val_20' -'489','val_489' -'157','val_157' -'378','val_378' -'221','val_221' -'92','val_92' -'111','val_111' -'47','val_47' -'72','val_72' -'4','val_4' -'280','val_280' -'35','val_35' -'427','val_427' -'277','val_277' -'208','val_208' -'356','val_356' -'399','val_399' -'169','val_169' -'382','val_382' -'498','val_498' -'125','val_125' -'386','val_386' -'437','val_437' -'469','val_469' -'192','val_192' -'286','val_286' -'187','val_187' -'176','val_176' -'54','val_54' -'459','val_459' -'51','val_51' -'138','val_138' -'103','val_103' -'239','val_239' -'213','val_213' -'216','val_216' -'430','val_430' -'278','val_278' -'176','val_176' -'289','val_289' -'221','val_221' -'65','val_65' -'318','val_318' -'332','val_332' -'311','val_311' -'275','val_275' -'137','val_137' -'241','val_241' -'83','val_83' -'333','val_333' -'180','val_180' -'284','val_284' -'12','val_12' -'230','val_230' -'181','val_181' -'67','val_67' -'260','val_260' -'404','val_404' -'384','val_384' -'489','val_489' -'353','val_353' -'373','val_373' -'272','val_272' -'138','val_138' -'217','val_217' -'84','val_84' -'348','val_348' -'466','val_466' -'58','val_58' -'8','val_8' -'411','val_411' -'230','val_230' -'208','val_208' -'348','val_348' -'24','val_24' -'463','val_463' -'431','val_431' -'179','val_179' -'172','val_172' -'42','val_42' -'129','val_129' -'158','val_158' -'119','val_119' -'496','val_496' -'0','val_0' -'322','val_322' -'197','val_197' -'468','val_468' -'393','val_393' -'454','val_454' -'100','val_100' -'298','val_298' -'199','val_199' -'191','val_191' -'418','val_418' -'96','val_96' -'26','val_26' -'165','val_165' -'327','val_327' -'230','val_230' -'205','val_205' -'120','val_120' -'131','val_131' -'51','val_51' -'404','val_404' -'43','val_43' -'436','val_436' -'156','val_156' -'469','val_469' -'468','val_468' -'308','val_308' -'95','val_95' -'196','val_196' -'288','val_288' -'481','val_481' -'457','val_457' -'98','val_98' -'282','val_282' -'197','val_197' -'187','val_187' -'318','val_318' -'318','val_318' -'409','val_409' -'470','val_470' -'137','val_137' -'369','val_369' -'316','val_316' -'169','val_169' -'413','val_413' -'85','val_85' -'77','val_77' -'0','val_0' -'490','val_490' -'87','val_87' -'364','val_364' -'179','val_179' -'118','val_118' -'134','val_134' -'395','val_395' -'282','val_282' -'138','val_138' -'238','val_238' -'419','val_419' -'15','val_15' -'118','val_118' -'72','val_72' -'90','val_90' -'307','val_307' -'19','val_19' -'435','val_435' -'10','val_10' -'277','val_277' -'273','val_273' -'306','val_306' -'224','val_224' -'309','val_309' -'389','val_389' -'327','val_327' -'242','val_242' -'369','val_369' -'392','val_392' -'272','val_272' -'331','val_331' -'401','val_401' -'242','val_242' -'452','val_452' -'177','val_177' -'226','val_226' -'5','val_5' -'497','val_497' -'402','val_402' -'396','val_396' -'317','val_317' -'395','val_395' -'58','val_58' -'35','val_35' -'336','val_336' -'95','val_95' -'11','val_11' -'168','val_168' -'34','val_34' -'229','val_229' -'233','val_233' -'143','val_143' -'472','val_472' -'322','val_322' -'498','val_498' -'160','val_160' -'195','val_195' -'42','val_42' -'321','val_321' -'430','val_430' -'119','val_119' -'489','val_489' -'458','val_458' -'78','val_78' -'76','val_76' -'41','val_41' -'223','val_223' -'492','val_492' -'149','val_149' -'449','val_449' -'218','val_218' -'228','val_228' -'138','val_138' -'453','val_453' -'30','val_30' -'209','val_209' -'64','val_64' -'468','val_468' -'76','val_76' -'74','val_74' -'342','val_342' -'69','val_69' -'230','val_230' -'33','val_33' -'368','val_368' -'103','val_103' -'296','val_296' -'113','val_113' -'216','val_216' -'367','val_367' -'344','val_344' -'167','val_167' -'274','val_274' -'219','val_219' -'239','val_239' -'485','val_485' -'116','val_116' -'223','val_223' -'256','val_256' -'263','val_263' -'70','val_70' -'487','val_487' -'480','val_480' -'401','val_401' -'288','val_288' -'191','val_191' -'5','val_5' -'244','val_244' -'438','val_438' -'128','val_128' -'467','val_467' -'432','val_432' -'202','val_202' -'316','val_316' -'229','val_229' -'469','val_469' -'463','val_463' -'280','val_280' -'2','val_2' -'35','val_35' -'283','val_283' -'331','val_331' -'235','val_235' -'80','val_80' -'44','val_44' -'193','val_193' -'321','val_321' -'335','val_335' -'104','val_104' -'466','val_466' -'366','val_366' -'175','val_175' -'403','val_403' -'483','val_483' -'53','val_53' -'105','val_105' -'257','val_257' -'406','val_406' -'409','val_409' -'190','val_190' -'406','val_406' -'401','val_401' -'114','val_114' -'258','val_258' -'90','val_90' -'203','val_203' -'262','val_262' -'348','val_348' -'424','val_424' -'12','val_12' -'396','val_396' -'201','val_201' -'217','val_217' -'164','val_164' -'431','val_431' -'454','val_454' -'478','val_478' -'298','val_298' -'125','val_125' -'431','val_431' -'164','val_164' -'424','val_424' -'187','val_187' -'382','val_382' -'5','val_5' -'70','val_70' -'397','val_397' -'480','val_480' -'291','val_291' -'24','val_24' -'351','val_351' -'255','val_255' -'104','val_104' -'70','val_70' -'163','val_163' -'438','val_438' -'119','val_119' -'414','val_414' -'200','val_200' -'491','val_491' -'237','val_237' -'439','val_439' -'360','val_360' -'248','val_248' -'479','val_479' -'305','val_305' -'417','val_417' -'199','val_199' -'444','val_444' -'120','val_120' -'429','val_429' -'169','val_169' -'443','val_443' -'323','val_323' -'325','val_325' -'277','val_277' -'230','val_230' -'478','val_478' -'178','val_178' -'468','val_468' -'310','val_310' -'317','val_317' -'333','val_333' -'493','val_493' -'460','val_460' -'207','val_207' -'249','val_249' -'265','val_265' -'480','val_480' -'83','val_83' -'136','val_136' -'353','val_353' -'172','val_172' -'214','val_214' -'462','val_462' -'233','val_233' -'406','val_406' -'133','val_133' -'175','val_175' -'189','val_189' -'454','val_454' -'375','val_375' -'401','val_401' -'421','val_421' -'407','val_407' -'384','val_384' -'256','val_256' -'26','val_26' -'134','val_134' -'67','val_67' -'384','val_384' -'379','val_379' -'18','val_18' -'462','val_462' -'492','val_492' -'100','val_100' -'298','val_298' -'9','val_9' -'341','val_341' -'498','val_498' -'146','val_146' -'458','val_458' -'362','val_362' -'186','val_186' -'285','val_285' -'348','val_348' -'167','val_167' -'18','val_18' -'273','val_273' -'183','val_183' -'281','val_281' -'344','val_344' -'97','val_97' -'469','val_469' -'315','val_315' -'84','val_84' -'28','val_28' -'37','val_37' -'448','val_448' -'152','val_152' -'348','val_348' -'307','val_307' -'194','val_194' -'414','val_414' -'477','val_477' -'222','val_222' -'126','val_126' -'90','val_90' -'169','val_169' -'403','val_403' -'400','val_400' -'200','val_200' -'97','val_97' -500 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/input0.q.out ql/src/test/results/beelinepositive/input0.q.out deleted file mode 100644 index ea2ce2a..0000000 --- ql/src/test/results/beelinepositive/input0.q.out +++ /dev/null @@ -1,535 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input0.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input0.q ->>> EXPLAIN -SELECT * FROM src; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -' Processor Tree:' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' ListSink' -'' -'' -23 rows selected ->>> ->>> SELECT * FROM src; -'key','value' -'238','val_238' -'86','val_86' -'311','val_311' -'27','val_27' -'165','val_165' -'409','val_409' -'255','val_255' -'278','val_278' -'98','val_98' -'484','val_484' -'265','val_265' -'193','val_193' -'401','val_401' -'150','val_150' -'273','val_273' -'224','val_224' -'369','val_369' -'66','val_66' -'128','val_128' -'213','val_213' -'146','val_146' -'406','val_406' -'429','val_429' -'374','val_374' -'152','val_152' -'469','val_469' -'145','val_145' -'495','val_495' -'37','val_37' -'327','val_327' -'281','val_281' -'277','val_277' -'209','val_209' -'15','val_15' -'82','val_82' -'403','val_403' -'166','val_166' -'417','val_417' -'430','val_430' -'252','val_252' -'292','val_292' -'219','val_219' -'287','val_287' -'153','val_153' -'193','val_193' -'338','val_338' -'446','val_446' -'459','val_459' -'394','val_394' -'237','val_237' -'482','val_482' -'174','val_174' -'413','val_413' -'494','val_494' -'207','val_207' -'199','val_199' -'466','val_466' -'208','val_208' -'174','val_174' -'399','val_399' -'396','val_396' -'247','val_247' -'417','val_417' -'489','val_489' -'162','val_162' -'377','val_377' -'397','val_397' -'309','val_309' -'365','val_365' -'266','val_266' -'439','val_439' -'342','val_342' -'367','val_367' -'325','val_325' -'167','val_167' -'195','val_195' -'475','val_475' -'17','val_17' -'113','val_113' -'155','val_155' -'203','val_203' -'339','val_339' -'0','val_0' -'455','val_455' -'128','val_128' -'311','val_311' -'316','val_316' -'57','val_57' -'302','val_302' -'205','val_205' -'149','val_149' -'438','val_438' -'345','val_345' -'129','val_129' -'170','val_170' -'20','val_20' -'489','val_489' -'157','val_157' -'378','val_378' -'221','val_221' -'92','val_92' -'111','val_111' -'47','val_47' -'72','val_72' -'4','val_4' -'280','val_280' -'35','val_35' -'427','val_427' -'277','val_277' -'208','val_208' -'356','val_356' -'399','val_399' -'169','val_169' -'382','val_382' -'498','val_498' -'125','val_125' -'386','val_386' -'437','val_437' -'469','val_469' -'192','val_192' -'286','val_286' -'187','val_187' -'176','val_176' -'54','val_54' -'459','val_459' -'51','val_51' -'138','val_138' -'103','val_103' -'239','val_239' -'213','val_213' -'216','val_216' -'430','val_430' -'278','val_278' -'176','val_176' -'289','val_289' -'221','val_221' -'65','val_65' -'318','val_318' -'332','val_332' -'311','val_311' -'275','val_275' -'137','val_137' -'241','val_241' -'83','val_83' -'333','val_333' -'180','val_180' -'284','val_284' -'12','val_12' -'230','val_230' -'181','val_181' -'67','val_67' -'260','val_260' -'404','val_404' -'384','val_384' -'489','val_489' -'353','val_353' -'373','val_373' -'272','val_272' -'138','val_138' -'217','val_217' -'84','val_84' -'348','val_348' -'466','val_466' -'58','val_58' -'8','val_8' -'411','val_411' -'230','val_230' -'208','val_208' -'348','val_348' -'24','val_24' -'463','val_463' -'431','val_431' -'179','val_179' -'172','val_172' -'42','val_42' -'129','val_129' -'158','val_158' -'119','val_119' -'496','val_496' -'0','val_0' -'322','val_322' -'197','val_197' -'468','val_468' -'393','val_393' -'454','val_454' -'100','val_100' -'298','val_298' -'199','val_199' -'191','val_191' -'418','val_418' -'96','val_96' -'26','val_26' -'165','val_165' -'327','val_327' -'230','val_230' -'205','val_205' -'120','val_120' -'131','val_131' -'51','val_51' -'404','val_404' -'43','val_43' -'436','val_436' -'156','val_156' -'469','val_469' -'468','val_468' -'308','val_308' -'95','val_95' -'196','val_196' -'288','val_288' -'481','val_481' -'457','val_457' -'98','val_98' -'282','val_282' -'197','val_197' -'187','val_187' -'318','val_318' -'318','val_318' -'409','val_409' -'470','val_470' -'137','val_137' -'369','val_369' -'316','val_316' -'169','val_169' -'413','val_413' -'85','val_85' -'77','val_77' -'0','val_0' -'490','val_490' -'87','val_87' -'364','val_364' -'179','val_179' -'118','val_118' -'134','val_134' -'395','val_395' -'282','val_282' -'138','val_138' -'238','val_238' -'419','val_419' -'15','val_15' -'118','val_118' -'72','val_72' -'90','val_90' -'307','val_307' -'19','val_19' -'435','val_435' -'10','val_10' -'277','val_277' -'273','val_273' -'306','val_306' -'224','val_224' -'309','val_309' -'389','val_389' -'327','val_327' -'242','val_242' -'369','val_369' -'392','val_392' -'272','val_272' -'331','val_331' -'401','val_401' -'242','val_242' -'452','val_452' -'177','val_177' -'226','val_226' -'5','val_5' -'497','val_497' -'402','val_402' -'396','val_396' -'317','val_317' -'395','val_395' -'58','val_58' -'35','val_35' -'336','val_336' -'95','val_95' -'11','val_11' -'168','val_168' -'34','val_34' -'229','val_229' -'233','val_233' -'143','val_143' -'472','val_472' -'322','val_322' -'498','val_498' -'160','val_160' -'195','val_195' -'42','val_42' -'321','val_321' -'430','val_430' -'119','val_119' -'489','val_489' -'458','val_458' -'78','val_78' -'76','val_76' -'41','val_41' -'223','val_223' -'492','val_492' -'149','val_149' -'449','val_449' -'218','val_218' -'228','val_228' -'138','val_138' -'453','val_453' -'30','val_30' -'209','val_209' -'64','val_64' -'468','val_468' -'76','val_76' -'74','val_74' -'342','val_342' -'69','val_69' -'230','val_230' -'33','val_33' -'368','val_368' -'103','val_103' -'296','val_296' -'113','val_113' -'216','val_216' -'367','val_367' -'344','val_344' -'167','val_167' -'274','val_274' -'219','val_219' -'239','val_239' -'485','val_485' -'116','val_116' -'223','val_223' -'256','val_256' -'263','val_263' -'70','val_70' -'487','val_487' -'480','val_480' -'401','val_401' -'288','val_288' -'191','val_191' -'5','val_5' -'244','val_244' -'438','val_438' -'128','val_128' -'467','val_467' -'432','val_432' -'202','val_202' -'316','val_316' -'229','val_229' -'469','val_469' -'463','val_463' -'280','val_280' -'2','val_2' -'35','val_35' -'283','val_283' -'331','val_331' -'235','val_235' -'80','val_80' -'44','val_44' -'193','val_193' -'321','val_321' -'335','val_335' -'104','val_104' -'466','val_466' -'366','val_366' -'175','val_175' -'403','val_403' -'483','val_483' -'53','val_53' -'105','val_105' -'257','val_257' -'406','val_406' -'409','val_409' -'190','val_190' -'406','val_406' -'401','val_401' -'114','val_114' -'258','val_258' -'90','val_90' -'203','val_203' -'262','val_262' -'348','val_348' -'424','val_424' -'12','val_12' -'396','val_396' -'201','val_201' -'217','val_217' -'164','val_164' -'431','val_431' -'454','val_454' -'478','val_478' -'298','val_298' -'125','val_125' -'431','val_431' -'164','val_164' -'424','val_424' -'187','val_187' -'382','val_382' -'5','val_5' -'70','val_70' -'397','val_397' -'480','val_480' -'291','val_291' -'24','val_24' -'351','val_351' -'255','val_255' -'104','val_104' -'70','val_70' -'163','val_163' -'438','val_438' -'119','val_119' -'414','val_414' -'200','val_200' -'491','val_491' -'237','val_237' -'439','val_439' -'360','val_360' -'248','val_248' -'479','val_479' -'305','val_305' -'417','val_417' -'199','val_199' -'444','val_444' -'120','val_120' -'429','val_429' -'169','val_169' -'443','val_443' -'323','val_323' -'325','val_325' -'277','val_277' -'230','val_230' -'478','val_478' -'178','val_178' -'468','val_468' -'310','val_310' -'317','val_317' -'333','val_333' -'493','val_493' -'460','val_460' -'207','val_207' -'249','val_249' -'265','val_265' -'480','val_480' -'83','val_83' -'136','val_136' -'353','val_353' -'172','val_172' -'214','val_214' -'462','val_462' -'233','val_233' -'406','val_406' -'133','val_133' -'175','val_175' -'189','val_189' -'454','val_454' -'375','val_375' -'401','val_401' -'421','val_421' -'407','val_407' -'384','val_384' -'256','val_256' -'26','val_26' -'134','val_134' -'67','val_67' -'384','val_384' -'379','val_379' -'18','val_18' -'462','val_462' -'492','val_492' -'100','val_100' -'298','val_298' -'9','val_9' -'341','val_341' -'498','val_498' -'146','val_146' -'458','val_458' -'362','val_362' -'186','val_186' -'285','val_285' -'348','val_348' -'167','val_167' -'18','val_18' -'273','val_273' -'183','val_183' -'281','val_281' -'344','val_344' -'97','val_97' -'469','val_469' -'315','val_315' -'84','val_84' -'28','val_28' -'37','val_37' -'448','val_448' -'152','val_152' -'348','val_348' -'307','val_307' -'194','val_194' -'414','val_414' -'477','val_477' -'222','val_222' -'126','val_126' -'90','val_90' -'169','val_169' -'403','val_403' -'400','val_400' -'200','val_200' -'97','val_97' -500 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/input1.q.out ql/src/test/results/beelinepositive/input1.q.out deleted file mode 100644 index e85d87a..0000000 --- ql/src/test/results/beelinepositive/input1.q.out +++ /dev/null @@ -1,37 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input1.q ->>> CREATE TABLE TEST1(A INT, B DOUBLE) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -DESCRIBE TEST1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_DESCTABLE (TOK_TABTYPE TEST1))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -' Stage-1 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Describe Table Operator:' -' Describe Table' -' table: TEST1' -'' -' Stage: Stage-1' -' Fetch Operator' -' limit: -1' -'' -'' -18 rows selected ->>> ->>> DESCRIBE TEST1; -'col_name','data_type','comment' -'a','int','' -'b','double','' -2 rows selected ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/input10.q.out ql/src/test/results/beelinepositive/input10.q.out deleted file mode 100644 index 07e2071..0000000 --- ql/src/test/results/beelinepositive/input10.q.out +++ /dev/null @@ -1,39 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input10.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input10.q ->>> CREATE TABLE TEST10(key INT, value STRING) PARTITIONED BY(ds STRING, hr STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -DESCRIBE TEST10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_DESCTABLE (TOK_TABTYPE TEST10))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -' Stage-1 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Describe Table Operator:' -' Describe Table' -' table: TEST10' -'' -' Stage: Stage-1' -' Fetch Operator' -' limit: -1' -'' -'' -18 rows selected ->>> ->>> DESCRIBE TEST10; -'col_name','data_type','comment' -'key','int','' -'value','string','' -'ds','string','' -'hr','string','' -4 rows selected ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/input11.q.out ql/src/test/results/beelinepositive/input11.q.out deleted file mode 100644 index ac1dee8..0000000 --- ql/src/test/results/beelinepositive/input11.q.out +++ /dev/null @@ -1,206 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input11.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input11.q ->>> CREATE TABLE dest1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest1 SELECT src.key, src.value WHERE src.key < 100; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value))) (TOK_WHERE (< (. (TOK_TABLE_OR_COL src) key) 100))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: input11.dest1' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: input11.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: input11.dest1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: input11.dest1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -102 rows selected ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 SELECT src.key, src.value WHERE src.key < 100; -'_col0','_col1' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','value' -'86','val_86' -'27','val_27' -'98','val_98' -'66','val_66' -'37','val_37' -'15','val_15' -'82','val_82' -'17','val_17' -'0','val_0' -'57','val_57' -'20','val_20' -'92','val_92' -'47','val_47' -'72','val_72' -'4','val_4' -'35','val_35' -'54','val_54' -'51','val_51' -'65','val_65' -'83','val_83' -'12','val_12' -'67','val_67' -'84','val_84' -'58','val_58' -'8','val_8' -'24','val_24' -'42','val_42' -'0','val_0' -'96','val_96' -'26','val_26' -'51','val_51' -'43','val_43' -'95','val_95' -'98','val_98' -'85','val_85' -'77','val_77' -'0','val_0' -'87','val_87' -'15','val_15' -'72','val_72' -'90','val_90' -'19','val_19' -'10','val_10' -'5','val_5' -'58','val_58' -'35','val_35' -'95','val_95' -'11','val_11' -'34','val_34' -'42','val_42' -'78','val_78' -'76','val_76' -'41','val_41' -'30','val_30' -'64','val_64' -'76','val_76' -'74','val_74' -'69','val_69' -'33','val_33' -'70','val_70' -'5','val_5' -'2','val_2' -'35','val_35' -'80','val_80' -'44','val_44' -'53','val_53' -'90','val_90' -'12','val_12' -'5','val_5' -'70','val_70' -'24','val_24' -'70','val_70' -'83','val_83' -'26','val_26' -'67','val_67' -'18','val_18' -'9','val_9' -'18','val_18' -'97','val_97' -'84','val_84' -'28','val_28' -'37','val_37' -'90','val_90' -'97','val_97' -84 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/input11_limit.q.out ql/src/test/results/beelinepositive/input11_limit.q.out deleted file mode 100644 index 84b3556..0000000 --- ql/src/test/results/beelinepositive/input11_limit.q.out +++ /dev/null @@ -1,98 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input11_limit.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input11_limit.q ->>> CREATE TABLE dest1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest1 SELECT src.key, src.value WHERE src.key < 100 LIMIT 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value))) (TOK_WHERE (< (. (TOK_TABLE_OR_COL src) key) 100)) (TOK_LIMIT 10)))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: input11_limit.dest1' -'' -' 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: input11_limit.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -68 rows selected ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 SELECT src.key, src.value WHERE src.key < 100 LIMIT 10; -'_col0','_col1' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1 ORDER BY dest1.key ASC, dest1.value ASC; -'key','value' -'0','val_0' -'15','val_15' -'17','val_17' -'27','val_27' -'37','val_37' -'57','val_57' -'66','val_66' -'82','val_82' -'86','val_86' -'98','val_98' -10 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/input12.q.out ql/src/test/results/beelinepositive/input12.q.out deleted file mode 100644 index 457a836..0000000 --- ql/src/test/results/beelinepositive/input12.q.out +++ /dev/null @@ -1,814 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input12.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input12.q ->>> set mapred.job.tracker=does.notexist.com:666; -No rows affected ->>> set hive.exec.mode.local.auto=true; -No rows affected ->>> ->>> CREATE TABLE dest1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE dest2(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE dest3(key INT) PARTITIONED BY(ds STRING, hr STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest1 SELECT src.* WHERE src.key < 100 -INSERT OVERWRITE TABLE dest2 SELECT src.key, src.value WHERE src.key >= 100 and src.key < 200 -INSERT OVERWRITE TABLE dest3 PARTITION(ds='2008-04-08', hr='12') SELECT src.key WHERE src.key >= 200; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))) (TOK_WHERE (< (. (TOK_TABLE_OR_COL src) key) 100))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest2))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value))) (TOK_WHERE (and (>= (. (TOK_TABLE_OR_COL src) key) 100) (< (. (TOK_TABLE_OR_COL src) key) 200)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest3) (TOK_PARTSPEC (TOK_PARTVAL ds '2008-04-08') (TOK_PARTVAL hr '12')))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key))) (TOK_WHERE (>= (. (TOK_TABLE_OR_COL src) key) 200))))' -'' -'STAGE DEPENDENCIES:' -' Stage-3 is a root stage' -' Stage-9 depends on stages: Stage-3 , consists of Stage-6, Stage-5, Stage-7' -' Stage-6' -' Stage-0 depends on stages: Stage-6, Stage-5, Stage-8' -' Stage-4 depends on stages: Stage-0' -' Stage-5' -' Stage-7' -' Stage-8 depends on stages: Stage-7' -' Stage-15 depends on stages: Stage-3 , consists of Stage-12, Stage-11, Stage-13' -' Stage-12' -' Stage-1 depends on stages: Stage-12, Stage-11, Stage-14' -' Stage-10 depends on stages: Stage-1' -' Stage-11' -' Stage-13' -' Stage-14 depends on stages: Stage-13' -' Stage-21 depends on stages: Stage-3 , consists of Stage-18, Stage-17, Stage-19' -' Stage-18' -' Stage-2 depends on stages: Stage-18, Stage-17, Stage-20' -' Stage-16 depends on stages: Stage-2' -' Stage-17' -' Stage-19' -' Stage-20 depends on stages: Stage-19' -'' -'STAGE PLANS:' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: input12.dest1' -' Filter Operator' -' predicate:' -' expr: ((key >= 100.0) and (key < 200.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: input12.dest2' -' Filter Operator' -' predicate:' -' expr: (key >= 200.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 3' -' 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: input12.dest3' -'' -' Stage: Stage-9' -' Conditional Operator' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: input12.dest1' -'' -' Stage: Stage-4' -' Stats-Aggr Operator' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: input12.dest1' -'' -' Stage: Stage-7' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: input12.dest1' -'' -' Stage: Stage-8' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-15' -' Conditional Operator' -'' -' Stage: Stage-12' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' 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: input12.dest2' -'' -' Stage: Stage-10' -' Stats-Aggr Operator' -'' -' Stage: Stage-11' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: input12.dest2' -'' -' Stage: Stage-13' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: input12.dest2' -'' -' Stage: Stage-14' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-21' -' Conditional Operator' -'' -' Stage: Stage-18' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Move Operator' -' tables:' -' partition:' -' ds 2008-04-08' -' hr 12' -' 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: input12.dest3' -'' -' Stage: Stage-16' -' Stats-Aggr Operator' -'' -' Stage: Stage-17' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: input12.dest3' -'' -' Stage: Stage-19' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: input12.dest3' -'' -' Stage: Stage-20' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -275 rows selected ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 SELECT src.* WHERE src.key < 100 -INSERT OVERWRITE TABLE dest2 SELECT src.key, src.value WHERE src.key >= 100 and src.key < 200 -INSERT OVERWRITE TABLE dest3 PARTITION(ds='2008-04-08', hr='12') SELECT src.key WHERE src.key >= 200; -'_col0' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','value' -'86','val_86' -'27','val_27' -'98','val_98' -'66','val_66' -'37','val_37' -'15','val_15' -'82','val_82' -'17','val_17' -'0','val_0' -'57','val_57' -'20','val_20' -'92','val_92' -'47','val_47' -'72','val_72' -'4','val_4' -'35','val_35' -'54','val_54' -'51','val_51' -'65','val_65' -'83','val_83' -'12','val_12' -'67','val_67' -'84','val_84' -'58','val_58' -'8','val_8' -'24','val_24' -'42','val_42' -'0','val_0' -'96','val_96' -'26','val_26' -'51','val_51' -'43','val_43' -'95','val_95' -'98','val_98' -'85','val_85' -'77','val_77' -'0','val_0' -'87','val_87' -'15','val_15' -'72','val_72' -'90','val_90' -'19','val_19' -'10','val_10' -'5','val_5' -'58','val_58' -'35','val_35' -'95','val_95' -'11','val_11' -'34','val_34' -'42','val_42' -'78','val_78' -'76','val_76' -'41','val_41' -'30','val_30' -'64','val_64' -'76','val_76' -'74','val_74' -'69','val_69' -'33','val_33' -'70','val_70' -'5','val_5' -'2','val_2' -'35','val_35' -'80','val_80' -'44','val_44' -'53','val_53' -'90','val_90' -'12','val_12' -'5','val_5' -'70','val_70' -'24','val_24' -'70','val_70' -'83','val_83' -'26','val_26' -'67','val_67' -'18','val_18' -'9','val_9' -'18','val_18' -'97','val_97' -'84','val_84' -'28','val_28' -'37','val_37' -'90','val_90' -'97','val_97' -84 rows selected ->>> SELECT dest2.* FROM dest2; -'key','value' -'165','val_165' -'193','val_193' -'150','val_150' -'128','val_128' -'146','val_146' -'152','val_152' -'145','val_145' -'166','val_166' -'153','val_153' -'193','val_193' -'174','val_174' -'199','val_199' -'174','val_174' -'162','val_162' -'167','val_167' -'195','val_195' -'113','val_113' -'155','val_155' -'128','val_128' -'149','val_149' -'129','val_129' -'170','val_170' -'157','val_157' -'111','val_111' -'169','val_169' -'125','val_125' -'192','val_192' -'187','val_187' -'176','val_176' -'138','val_138' -'103','val_103' -'176','val_176' -'137','val_137' -'180','val_180' -'181','val_181' -'138','val_138' -'179','val_179' -'172','val_172' -'129','val_129' -'158','val_158' -'119','val_119' -'197','val_197' -'100','val_100' -'199','val_199' -'191','val_191' -'165','val_165' -'120','val_120' -'131','val_131' -'156','val_156' -'196','val_196' -'197','val_197' -'187','val_187' -'137','val_137' -'169','val_169' -'179','val_179' -'118','val_118' -'134','val_134' -'138','val_138' -'118','val_118' -'177','val_177' -'168','val_168' -'143','val_143' -'160','val_160' -'195','val_195' -'119','val_119' -'149','val_149' -'138','val_138' -'103','val_103' -'113','val_113' -'167','val_167' -'116','val_116' -'191','val_191' -'128','val_128' -'193','val_193' -'104','val_104' -'175','val_175' -'105','val_105' -'190','val_190' -'114','val_114' -'164','val_164' -'125','val_125' -'164','val_164' -'187','val_187' -'104','val_104' -'163','val_163' -'119','val_119' -'199','val_199' -'120','val_120' -'169','val_169' -'178','val_178' -'136','val_136' -'172','val_172' -'133','val_133' -'175','val_175' -'189','val_189' -'134','val_134' -'100','val_100' -'146','val_146' -'186','val_186' -'167','val_167' -'183','val_183' -'152','val_152' -'194','val_194' -'126','val_126' -'169','val_169' -105 rows selected ->>> SELECT dest3.* FROM dest3; -'key','ds','hr' -'238','2008-04-08','12' -'311','2008-04-08','12' -'409','2008-04-08','12' -'255','2008-04-08','12' -'278','2008-04-08','12' -'484','2008-04-08','12' -'265','2008-04-08','12' -'401','2008-04-08','12' -'273','2008-04-08','12' -'224','2008-04-08','12' -'369','2008-04-08','12' -'213','2008-04-08','12' -'406','2008-04-08','12' -'429','2008-04-08','12' -'374','2008-04-08','12' -'469','2008-04-08','12' -'495','2008-04-08','12' -'327','2008-04-08','12' -'281','2008-04-08','12' -'277','2008-04-08','12' -'209','2008-04-08','12' -'403','2008-04-08','12' -'417','2008-04-08','12' -'430','2008-04-08','12' -'252','2008-04-08','12' -'292','2008-04-08','12' -'219','2008-04-08','12' -'287','2008-04-08','12' -'338','2008-04-08','12' -'446','2008-04-08','12' -'459','2008-04-08','12' -'394','2008-04-08','12' -'237','2008-04-08','12' -'482','2008-04-08','12' -'413','2008-04-08','12' -'494','2008-04-08','12' -'207','2008-04-08','12' -'466','2008-04-08','12' -'208','2008-04-08','12' -'399','2008-04-08','12' -'396','2008-04-08','12' -'247','2008-04-08','12' -'417','2008-04-08','12' -'489','2008-04-08','12' -'377','2008-04-08','12' -'397','2008-04-08','12' -'309','2008-04-08','12' -'365','2008-04-08','12' -'266','2008-04-08','12' -'439','2008-04-08','12' -'342','2008-04-08','12' -'367','2008-04-08','12' -'325','2008-04-08','12' -'475','2008-04-08','12' -'203','2008-04-08','12' -'339','2008-04-08','12' -'455','2008-04-08','12' -'311','2008-04-08','12' -'316','2008-04-08','12' -'302','2008-04-08','12' -'205','2008-04-08','12' -'438','2008-04-08','12' -'345','2008-04-08','12' -'489','2008-04-08','12' -'378','2008-04-08','12' -'221','2008-04-08','12' -'280','2008-04-08','12' -'427','2008-04-08','12' -'277','2008-04-08','12' -'208','2008-04-08','12' -'356','2008-04-08','12' -'399','2008-04-08','12' -'382','2008-04-08','12' -'498','2008-04-08','12' -'386','2008-04-08','12' -'437','2008-04-08','12' -'469','2008-04-08','12' -'286','2008-04-08','12' -'459','2008-04-08','12' -'239','2008-04-08','12' -'213','2008-04-08','12' -'216','2008-04-08','12' -'430','2008-04-08','12' -'278','2008-04-08','12' -'289','2008-04-08','12' -'221','2008-04-08','12' -'318','2008-04-08','12' -'332','2008-04-08','12' -'311','2008-04-08','12' -'275','2008-04-08','12' -'241','2008-04-08','12' -'333','2008-04-08','12' -'284','2008-04-08','12' -'230','2008-04-08','12' -'260','2008-04-08','12' -'404','2008-04-08','12' -'384','2008-04-08','12' -'489','2008-04-08','12' -'353','2008-04-08','12' -'373','2008-04-08','12' -'272','2008-04-08','12' -'217','2008-04-08','12' -'348','2008-04-08','12' -'466','2008-04-08','12' -'411','2008-04-08','12' -'230','2008-04-08','12' -'208','2008-04-08','12' -'348','2008-04-08','12' -'463','2008-04-08','12' -'431','2008-04-08','12' -'496','2008-04-08','12' -'322','2008-04-08','12' -'468','2008-04-08','12' -'393','2008-04-08','12' -'454','2008-04-08','12' -'298','2008-04-08','12' -'418','2008-04-08','12' -'327','2008-04-08','12' -'230','2008-04-08','12' -'205','2008-04-08','12' -'404','2008-04-08','12' -'436','2008-04-08','12' -'469','2008-04-08','12' -'468','2008-04-08','12' -'308','2008-04-08','12' -'288','2008-04-08','12' -'481','2008-04-08','12' -'457','2008-04-08','12' -'282','2008-04-08','12' -'318','2008-04-08','12' -'318','2008-04-08','12' -'409','2008-04-08','12' -'470','2008-04-08','12' -'369','2008-04-08','12' -'316','2008-04-08','12' -'413','2008-04-08','12' -'490','2008-04-08','12' -'364','2008-04-08','12' -'395','2008-04-08','12' -'282','2008-04-08','12' -'238','2008-04-08','12' -'419','2008-04-08','12' -'307','2008-04-08','12' -'435','2008-04-08','12' -'277','2008-04-08','12' -'273','2008-04-08','12' -'306','2008-04-08','12' -'224','2008-04-08','12' -'309','2008-04-08','12' -'389','2008-04-08','12' -'327','2008-04-08','12' -'242','2008-04-08','12' -'369','2008-04-08','12' -'392','2008-04-08','12' -'272','2008-04-08','12' -'331','2008-04-08','12' -'401','2008-04-08','12' -'242','2008-04-08','12' -'452','2008-04-08','12' -'226','2008-04-08','12' -'497','2008-04-08','12' -'402','2008-04-08','12' -'396','2008-04-08','12' -'317','2008-04-08','12' -'395','2008-04-08','12' -'336','2008-04-08','12' -'229','2008-04-08','12' -'233','2008-04-08','12' -'472','2008-04-08','12' -'322','2008-04-08','12' -'498','2008-04-08','12' -'321','2008-04-08','12' -'430','2008-04-08','12' -'489','2008-04-08','12' -'458','2008-04-08','12' -'223','2008-04-08','12' -'492','2008-04-08','12' -'449','2008-04-08','12' -'218','2008-04-08','12' -'228','2008-04-08','12' -'453','2008-04-08','12' -'209','2008-04-08','12' -'468','2008-04-08','12' -'342','2008-04-08','12' -'230','2008-04-08','12' -'368','2008-04-08','12' -'296','2008-04-08','12' -'216','2008-04-08','12' -'367','2008-04-08','12' -'344','2008-04-08','12' -'274','2008-04-08','12' -'219','2008-04-08','12' -'239','2008-04-08','12' -'485','2008-04-08','12' -'223','2008-04-08','12' -'256','2008-04-08','12' -'263','2008-04-08','12' -'487','2008-04-08','12' -'480','2008-04-08','12' -'401','2008-04-08','12' -'288','2008-04-08','12' -'244','2008-04-08','12' -'438','2008-04-08','12' -'467','2008-04-08','12' -'432','2008-04-08','12' -'202','2008-04-08','12' -'316','2008-04-08','12' -'229','2008-04-08','12' -'469','2008-04-08','12' -'463','2008-04-08','12' -'280','2008-04-08','12' -'283','2008-04-08','12' -'331','2008-04-08','12' -'235','2008-04-08','12' -'321','2008-04-08','12' -'335','2008-04-08','12' -'466','2008-04-08','12' -'366','2008-04-08','12' -'403','2008-04-08','12' -'483','2008-04-08','12' -'257','2008-04-08','12' -'406','2008-04-08','12' -'409','2008-04-08','12' -'406','2008-04-08','12' -'401','2008-04-08','12' -'258','2008-04-08','12' -'203','2008-04-08','12' -'262','2008-04-08','12' -'348','2008-04-08','12' -'424','2008-04-08','12' -'396','2008-04-08','12' -'201','2008-04-08','12' -'217','2008-04-08','12' -'431','2008-04-08','12' -'454','2008-04-08','12' -'478','2008-04-08','12' -'298','2008-04-08','12' -'431','2008-04-08','12' -'424','2008-04-08','12' -'382','2008-04-08','12' -'397','2008-04-08','12' -'480','2008-04-08','12' -'291','2008-04-08','12' -'351','2008-04-08','12' -'255','2008-04-08','12' -'438','2008-04-08','12' -'414','2008-04-08','12' -'200','2008-04-08','12' -'491','2008-04-08','12' -'237','2008-04-08','12' -'439','2008-04-08','12' -'360','2008-04-08','12' -'248','2008-04-08','12' -'479','2008-04-08','12' -'305','2008-04-08','12' -'417','2008-04-08','12' -'444','2008-04-08','12' -'429','2008-04-08','12' -'443','2008-04-08','12' -'323','2008-04-08','12' -'325','2008-04-08','12' -'277','2008-04-08','12' -'230','2008-04-08','12' -'478','2008-04-08','12' -'468','2008-04-08','12' -'310','2008-04-08','12' -'317','2008-04-08','12' -'333','2008-04-08','12' -'493','2008-04-08','12' -'460','2008-04-08','12' -'207','2008-04-08','12' -'249','2008-04-08','12' -'265','2008-04-08','12' -'480','2008-04-08','12' -'353','2008-04-08','12' -'214','2008-04-08','12' -'462','2008-04-08','12' -'233','2008-04-08','12' -'406','2008-04-08','12' -'454','2008-04-08','12' -'375','2008-04-08','12' -'401','2008-04-08','12' -'421','2008-04-08','12' -'407','2008-04-08','12' -'384','2008-04-08','12' -'256','2008-04-08','12' -'384','2008-04-08','12' -'379','2008-04-08','12' -'462','2008-04-08','12' -'492','2008-04-08','12' -'298','2008-04-08','12' -'341','2008-04-08','12' -'498','2008-04-08','12' -'458','2008-04-08','12' -'362','2008-04-08','12' -'285','2008-04-08','12' -'348','2008-04-08','12' -'273','2008-04-08','12' -'281','2008-04-08','12' -'344','2008-04-08','12' -'469','2008-04-08','12' -'315','2008-04-08','12' -'448','2008-04-08','12' -'348','2008-04-08','12' -'307','2008-04-08','12' -'414','2008-04-08','12' -'477','2008-04-08','12' -'222','2008-04-08','12' -'403','2008-04-08','12' -'400','2008-04-08','12' -'200','2008-04-08','12' -311 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/input13.q.out ql/src/test/results/beelinepositive/input13.q.out deleted file mode 100644 index 6a0266a..0000000 --- ql/src/test/results/beelinepositive/input13.q.out +++ /dev/null @@ -1,669 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input13.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input13.q ->>> CREATE TABLE dest1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE dest2(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE dest3(key INT) PARTITIONED BY(ds STRING, hr STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest1 SELECT src.* WHERE src.key < 100 -INSERT OVERWRITE TABLE dest2 SELECT src.key, src.value WHERE src.key >= 100 and src.key < 200 -INSERT OVERWRITE TABLE dest3 PARTITION(ds='2008-04-08', hr='12') SELECT src.key WHERE src.key >= 200 and src.key < 300 -INSERT OVERWRITE DIRECTORY '../build/ql/test/data/warehouse/dest4.out' SELECT src.value WHERE src.key >= 300; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))) (TOK_WHERE (< (. (TOK_TABLE_OR_COL src) key) 100))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest2))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value))) (TOK_WHERE (and (>= (. (TOK_TABLE_OR_COL src) key) 100) (< (. (TOK_TABLE_OR_COL src) key) 200)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest3) (TOK_PARTSPEC (TOK_PARTVAL ds '2008-04-08') (TOK_PARTVAL hr '12')))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key))) (TOK_WHERE (and (>= (. (TOK_TABLE_OR_COL src) key) 200) (< (. (TOK_TABLE_OR_COL src) key) 300)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR '../build/ql/test/data/warehouse/dest4.out')) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value))) (TOK_WHERE (>= (. (TOK_TABLE_OR_COL src) key) 300))))' -'' -'STAGE DEPENDENCIES:' -' Stage-4 is a root stage' -' Stage-10 depends on stages: Stage-4 , consists of Stage-7, Stage-6, Stage-8' -' Stage-7' -' Stage-0 depends on stages: Stage-7, Stage-6, Stage-9' -' Stage-5 depends on stages: Stage-0' -' Stage-6' -' Stage-8' -' Stage-9 depends on stages: Stage-8' -' Stage-16 depends on stages: Stage-4 , consists of Stage-13, Stage-12, Stage-14' -' Stage-13' -' Stage-1 depends on stages: Stage-13, Stage-12, Stage-15' -' Stage-11 depends on stages: Stage-1' -' Stage-12' -' Stage-14' -' Stage-15 depends on stages: Stage-14' -' Stage-22 depends on stages: Stage-4 , consists of Stage-19, Stage-18, Stage-20' -' Stage-19' -' Stage-2 depends on stages: Stage-19, Stage-18, Stage-21' -' Stage-17 depends on stages: Stage-2' -' Stage-18' -' Stage-20' -' Stage-21 depends on stages: Stage-20' -' Stage-27 depends on stages: Stage-4 , consists of Stage-24, Stage-23, Stage-25' -' Stage-24' -' Stage-3 depends on stages: Stage-24, Stage-23, Stage-26' -' Stage-23' -' Stage-25' -' Stage-26 depends on stages: Stage-25' -'' -'STAGE PLANS:' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: input13.dest1' -' Filter Operator' -' predicate:' -' expr: ((key >= 100.0) and (key < 200.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: input13.dest2' -' Filter Operator' -' predicate:' -' expr: ((key >= 200.0) and (key < 300.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 3' -' 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: input13.dest3' -' Filter Operator' -' predicate:' -' expr: (key >= 300.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: value' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 4' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-10' -' Conditional Operator' -'' -' Stage: Stage-7' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: input13.dest1' -'' -' Stage: Stage-5' -' Stats-Aggr Operator' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: input13.dest1' -'' -' Stage: Stage-8' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: input13.dest1' -'' -' Stage: Stage-9' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-16' -' Conditional Operator' -'' -' Stage: Stage-13' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' 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: input13.dest2' -'' -' Stage: Stage-11' -' Stats-Aggr Operator' -'' -' Stage: Stage-12' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: input13.dest2' -'' -' Stage: Stage-14' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: input13.dest2' -'' -' Stage: Stage-15' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-22' -' Conditional Operator' -'' -' Stage: Stage-19' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Move Operator' -' tables:' -' partition:' -' ds 2008-04-08' -' hr 12' -' 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: input13.dest3' -'' -' Stage: Stage-17' -' Stats-Aggr Operator' -'' -' Stage: Stage-18' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: input13.dest3' -'' -' Stage: Stage-20' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: input13.dest3' -'' -' Stage: Stage-21' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-27' -' Conditional Operator' -'' -' Stage: Stage-24' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: ../build/ql/test/data/warehouse/dest4.out' -'' -' Stage: Stage-23' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-25' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-26' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -'' -339 rows selected ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 SELECT src.* WHERE src.key < 100 -INSERT OVERWRITE TABLE dest2 SELECT src.key, src.value WHERE src.key >= 100 and src.key < 200 -INSERT OVERWRITE TABLE dest3 PARTITION(ds='2008-04-08', hr='12') SELECT src.key WHERE src.key >= 200 and src.key < 300 -INSERT OVERWRITE DIRECTORY '../build/ql/test/data/warehouse/dest4.out' SELECT src.value WHERE src.key >= 300; -'value' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','value' -'86','val_86' -'27','val_27' -'98','val_98' -'66','val_66' -'37','val_37' -'15','val_15' -'82','val_82' -'17','val_17' -'0','val_0' -'57','val_57' -'20','val_20' -'92','val_92' -'47','val_47' -'72','val_72' -'4','val_4' -'35','val_35' -'54','val_54' -'51','val_51' -'65','val_65' -'83','val_83' -'12','val_12' -'67','val_67' -'84','val_84' -'58','val_58' -'8','val_8' -'24','val_24' -'42','val_42' -'0','val_0' -'96','val_96' -'26','val_26' -'51','val_51' -'43','val_43' -'95','val_95' -'98','val_98' -'85','val_85' -'77','val_77' -'0','val_0' -'87','val_87' -'15','val_15' -'72','val_72' -'90','val_90' -'19','val_19' -'10','val_10' -'5','val_5' -'58','val_58' -'35','val_35' -'95','val_95' -'11','val_11' -'34','val_34' -'42','val_42' -'78','val_78' -'76','val_76' -'41','val_41' -'30','val_30' -'64','val_64' -'76','val_76' -'74','val_74' -'69','val_69' -'33','val_33' -'70','val_70' -'5','val_5' -'2','val_2' -'35','val_35' -'80','val_80' -'44','val_44' -'53','val_53' -'90','val_90' -'12','val_12' -'5','val_5' -'70','val_70' -'24','val_24' -'70','val_70' -'83','val_83' -'26','val_26' -'67','val_67' -'18','val_18' -'9','val_9' -'18','val_18' -'97','val_97' -'84','val_84' -'28','val_28' -'37','val_37' -'90','val_90' -'97','val_97' -84 rows selected ->>> SELECT dest2.* FROM dest2; -'key','value' -'165','val_165' -'193','val_193' -'150','val_150' -'128','val_128' -'146','val_146' -'152','val_152' -'145','val_145' -'166','val_166' -'153','val_153' -'193','val_193' -'174','val_174' -'199','val_199' -'174','val_174' -'162','val_162' -'167','val_167' -'195','val_195' -'113','val_113' -'155','val_155' -'128','val_128' -'149','val_149' -'129','val_129' -'170','val_170' -'157','val_157' -'111','val_111' -'169','val_169' -'125','val_125' -'192','val_192' -'187','val_187' -'176','val_176' -'138','val_138' -'103','val_103' -'176','val_176' -'137','val_137' -'180','val_180' -'181','val_181' -'138','val_138' -'179','val_179' -'172','val_172' -'129','val_129' -'158','val_158' -'119','val_119' -'197','val_197' -'100','val_100' -'199','val_199' -'191','val_191' -'165','val_165' -'120','val_120' -'131','val_131' -'156','val_156' -'196','val_196' -'197','val_197' -'187','val_187' -'137','val_137' -'169','val_169' -'179','val_179' -'118','val_118' -'134','val_134' -'138','val_138' -'118','val_118' -'177','val_177' -'168','val_168' -'143','val_143' -'160','val_160' -'195','val_195' -'119','val_119' -'149','val_149' -'138','val_138' -'103','val_103' -'113','val_113' -'167','val_167' -'116','val_116' -'191','val_191' -'128','val_128' -'193','val_193' -'104','val_104' -'175','val_175' -'105','val_105' -'190','val_190' -'114','val_114' -'164','val_164' -'125','val_125' -'164','val_164' -'187','val_187' -'104','val_104' -'163','val_163' -'119','val_119' -'199','val_199' -'120','val_120' -'169','val_169' -'178','val_178' -'136','val_136' -'172','val_172' -'133','val_133' -'175','val_175' -'189','val_189' -'134','val_134' -'100','val_100' -'146','val_146' -'186','val_186' -'167','val_167' -'183','val_183' -'152','val_152' -'194','val_194' -'126','val_126' -'169','val_169' -105 rows selected ->>> SELECT dest3.* FROM dest3; -'key','ds','hr' -'238','2008-04-08','12' -'255','2008-04-08','12' -'278','2008-04-08','12' -'265','2008-04-08','12' -'273','2008-04-08','12' -'224','2008-04-08','12' -'213','2008-04-08','12' -'281','2008-04-08','12' -'277','2008-04-08','12' -'209','2008-04-08','12' -'252','2008-04-08','12' -'292','2008-04-08','12' -'219','2008-04-08','12' -'287','2008-04-08','12' -'237','2008-04-08','12' -'207','2008-04-08','12' -'208','2008-04-08','12' -'247','2008-04-08','12' -'266','2008-04-08','12' -'203','2008-04-08','12' -'205','2008-04-08','12' -'221','2008-04-08','12' -'280','2008-04-08','12' -'277','2008-04-08','12' -'208','2008-04-08','12' -'286','2008-04-08','12' -'239','2008-04-08','12' -'213','2008-04-08','12' -'216','2008-04-08','12' -'278','2008-04-08','12' -'289','2008-04-08','12' -'221','2008-04-08','12' -'275','2008-04-08','12' -'241','2008-04-08','12' -'284','2008-04-08','12' -'230','2008-04-08','12' -'260','2008-04-08','12' -'272','2008-04-08','12' -'217','2008-04-08','12' -'230','2008-04-08','12' -'208','2008-04-08','12' -'298','2008-04-08','12' -'230','2008-04-08','12' -'205','2008-04-08','12' -'288','2008-04-08','12' -'282','2008-04-08','12' -'282','2008-04-08','12' -'238','2008-04-08','12' -'277','2008-04-08','12' -'273','2008-04-08','12' -'224','2008-04-08','12' -'242','2008-04-08','12' -'272','2008-04-08','12' -'242','2008-04-08','12' -'226','2008-04-08','12' -'229','2008-04-08','12' -'233','2008-04-08','12' -'223','2008-04-08','12' -'218','2008-04-08','12' -'228','2008-04-08','12' -'209','2008-04-08','12' -'230','2008-04-08','12' -'296','2008-04-08','12' -'216','2008-04-08','12' -'274','2008-04-08','12' -'219','2008-04-08','12' -'239','2008-04-08','12' -'223','2008-04-08','12' -'256','2008-04-08','12' -'263','2008-04-08','12' -'288','2008-04-08','12' -'244','2008-04-08','12' -'202','2008-04-08','12' -'229','2008-04-08','12' -'280','2008-04-08','12' -'283','2008-04-08','12' -'235','2008-04-08','12' -'257','2008-04-08','12' -'258','2008-04-08','12' -'203','2008-04-08','12' -'262','2008-04-08','12' -'201','2008-04-08','12' -'217','2008-04-08','12' -'298','2008-04-08','12' -'291','2008-04-08','12' -'255','2008-04-08','12' -'200','2008-04-08','12' -'237','2008-04-08','12' -'248','2008-04-08','12' -'277','2008-04-08','12' -'230','2008-04-08','12' -'207','2008-04-08','12' -'249','2008-04-08','12' -'265','2008-04-08','12' -'214','2008-04-08','12' -'233','2008-04-08','12' -'256','2008-04-08','12' -'298','2008-04-08','12' -'285','2008-04-08','12' -'273','2008-04-08','12' -'281','2008-04-08','12' -'222','2008-04-08','12' -'200','2008-04-08','12' -103 rows selected ->>> dfs -cat ../build/ql/test/data/warehouse/dest4.out/*; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/input14.q.out ql/src/test/results/beelinepositive/input14.q.out deleted file mode 100644 index 08a7dd4..0000000 --- ql/src/test/results/beelinepositive/input14.q.out +++ /dev/null @@ -1,198 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input14.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input14.q ->>> CREATE TABLE dest1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM ( -FROM src -SELECT TRANSFORM(src.key, src.value) -USING 'cat' AS (tkey, tvalue) -CLUSTER BY tkey -) tmap -INSERT OVERWRITE TABLE dest1 SELECT tmap.tkey, tmap.tvalue WHERE tmap.tkey < 100; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TRANSFORM (TOK_EXPLIST (. (TOK_TABLE_OR_COL src) key) (. (TOK_TABLE_OR_COL src) value)) TOK_SERDE TOK_RECORDWRITER 'cat' TOK_SERDE TOK_RECORDREADER (TOK_ALIASLIST tkey tvalue)))) (TOK_CLUSTERBY (TOK_TABLE_OR_COL tkey)))) tmap)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL tmap) tkey)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL tmap) tvalue))) (TOK_WHERE (< (. (TOK_TABLE_OR_COL tmap) tkey) 100))))' -'' -'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' -' Alias -> Map Operator Tree:' -' tmap:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Transform Operator' -' command: cat' -' output info:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Filter Operator' -' predicate:' -' expr: (_col0 < 100.0)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: input14.dest1' -'' -' 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: input14.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -84 rows selected ->>> ->>> FROM ( -FROM src -SELECT TRANSFORM(src.key, src.value) -USING 'cat' AS (tkey, tvalue) -CLUSTER BY tkey -) tmap -INSERT OVERWRITE TABLE dest1 SELECT tmap.tkey, tmap.tvalue WHERE tmap.tkey < 100; -'_col0','_col1' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'10','val_10' -'11','val_11' -'12','val_12' -'12','val_12' -'15','val_15' -'15','val_15' -'17','val_17' -'18','val_18' -'18','val_18' -'19','val_19' -'2','val_2' -'20','val_20' -'24','val_24' -'24','val_24' -'26','val_26' -'26','val_26' -'27','val_27' -'28','val_28' -'30','val_30' -'33','val_33' -'34','val_34' -'35','val_35' -'35','val_35' -'35','val_35' -'37','val_37' -'37','val_37' -'4','val_4' -'41','val_41' -'42','val_42' -'42','val_42' -'43','val_43' -'44','val_44' -'47','val_47' -'5','val_5' -'5','val_5' -'5','val_5' -'51','val_51' -'51','val_51' -'53','val_53' -'54','val_54' -'57','val_57' -'58','val_58' -'58','val_58' -'64','val_64' -'65','val_65' -'66','val_66' -'67','val_67' -'67','val_67' -'69','val_69' -'70','val_70' -'70','val_70' -'70','val_70' -'72','val_72' -'72','val_72' -'74','val_74' -'76','val_76' -'76','val_76' -'77','val_77' -'78','val_78' -'8','val_8' -'80','val_80' -'82','val_82' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'9','val_9' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'95','val_95' -'95','val_95' -'96','val_96' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -84 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/input14_limit.q.out ql/src/test/results/beelinepositive/input14_limit.q.out deleted file mode 100644 index d53bcc1..0000000 --- ql/src/test/results/beelinepositive/input14_limit.q.out +++ /dev/null @@ -1,149 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input14_limit.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input14_limit.q ->>> CREATE TABLE dest1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM ( -FROM src -SELECT TRANSFORM(src.key, src.value) -USING 'cat' AS (tkey, tvalue) -CLUSTER BY tkey LIMIT 20 -) tmap -INSERT OVERWRITE TABLE dest1 SELECT tmap.tkey, tmap.tvalue WHERE tmap.tkey < 100; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TRANSFORM (TOK_EXPLIST (. (TOK_TABLE_OR_COL src) key) (. (TOK_TABLE_OR_COL src) value)) TOK_SERDE TOK_RECORDWRITER 'cat' TOK_SERDE TOK_RECORDREADER (TOK_ALIASLIST tkey tvalue)))) (TOK_CLUSTERBY (TOK_TABLE_OR_COL tkey)) (TOK_LIMIT 20))) tmap)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL tmap) tkey)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL tmap) tvalue))) (TOK_WHERE (< (. (TOK_TABLE_OR_COL tmap) tkey) 100))))' -'' -'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' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tmap:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Transform Operator' -' command: cat' -' output info:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' Filter Operator' -' predicate:' -' expr: (_col0 < 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: input14_limit.dest1' -'' -' 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: input14_limit.dest1' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -'' -114 rows selected ->>> ->>> FROM ( -FROM src -SELECT TRANSFORM(src.key, src.value) -USING 'cat' AS (tkey, tvalue) -CLUSTER BY tkey LIMIT 20 -) tmap -INSERT OVERWRITE TABLE dest1 SELECT tmap.tkey, tmap.tvalue WHERE tmap.tkey < 100; -'_col0','_col1' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'10','val_10' -'11','val_11' -5 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/input15.q.out ql/src/test/results/beelinepositive/input15.q.out deleted file mode 100644 index 656e6e1..0000000 --- ql/src/test/results/beelinepositive/input15.q.out +++ /dev/null @@ -1,37 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input15.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input15.q ->>> EXPLAIN -CREATE TABLE TEST15(key INT, value STRING) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t' STORED AS TEXTFILE; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_CREATETABLE (TOK_TABNAME TEST15) TOK_LIKETABLE (TOK_TABCOLLIST (TOK_TABCOL key TOK_INT) (TOK_TABCOL value TOK_STRING)) (TOK_TABLEROWFORMAT (TOK_SERDEPROPS (TOK_TABLEROWFORMATFIELD '\t'))) TOK_TBLTEXTFILE)' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Create Table Operator:' -' Create Table' -' columns: key int, value string' -' field delimiter: ' -' if not exists: false' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' # buckets: -1' -' output format: org.apache.hadoop.hive.ql.io.IgnoreKeyTextOutputFormat' -' name: TEST15' -' isExternal: false' -'' -'' -20 rows selected ->>> ->>> CREATE TABLE TEST15(key INT, value STRING) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t' STORED AS TEXTFILE; -No rows affected ->>> ->>> DESCRIBE TEST15; -'col_name','data_type','comment' -'key','int','' -'value','string','' -2 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/input17.q.out ql/src/test/results/beelinepositive/input17.q.out deleted file mode 100644 index 96aa07c..0000000 --- ql/src/test/results/beelinepositive/input17.q.out +++ /dev/null @@ -1,121 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input17.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input17.q ->>> CREATE TABLE dest1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM ( -FROM src_thrift -SELECT TRANSFORM(src_thrift.aint + src_thrift.lint[0], src_thrift.lintstring[0]) -USING 'cat' AS (tkey, tvalue) -CLUSTER BY tkey -) tmap -INSERT OVERWRITE TABLE dest1 SELECT tmap.tkey, tmap.tvalue; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src_thrift))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TRANSFORM (TOK_EXPLIST (+ (. (TOK_TABLE_OR_COL src_thrift) aint) ([ (. (TOK_TABLE_OR_COL src_thrift) lint) 0)) ([ (. (TOK_TABLE_OR_COL src_thrift) lintstring) 0)) TOK_SERDE TOK_RECORDWRITER 'cat' TOK_SERDE TOK_RECORDREADER (TOK_ALIASLIST tkey tvalue)))) (TOK_CLUSTERBY (TOK_TABLE_OR_COL tkey)))) tmap)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL tmap) tkey)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL tmap) tvalue)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' tmap:src_thrift ' -' TableScan' -' alias: src_thrift' -' Select Operator' -' expressions:' -' expr: (aint + lint[0])' -' type: int' -' expr: lintstring[0]' -' type: struct' -' outputColumnNames: _col0, _col1' -' Transform Operator' -' command: cat' -' output info:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: input17.dest1' -'' -' 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: input17.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -80 rows selected ->>> ->>> FROM ( -FROM src_thrift -SELECT TRANSFORM(src_thrift.aint + src_thrift.lint[0], src_thrift.lintstring[0]) -USING 'cat' AS (tkey, tvalue) -CLUSTER BY tkey -) tmap -INSERT OVERWRITE TABLE dest1 SELECT tmap.tkey, tmap.tvalue; -'_col0','_col1' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','value' -'','null' -'-1461153966','{"myint":49,"mystring":"343","underscore_int":7}' -'-1952710705','{"myint":25,"mystring":"125","underscore_int":5}' -'-734328905','{"myint":16,"mystring":"64","underscore_int":4}' -'-751827636','{"myint":4,"mystring":"8","underscore_int":2}' -'1244525196','{"myint":36,"mystring":"216","underscore_int":6}' -'1638581586','{"myint":64,"mystring":"512","underscore_int":8}' -'1712634731','{"myint":0,"mystring":"0","underscore_int":0}' -'336964422','{"myint":81,"mystring":"729","underscore_int":9}' -'465985201','{"myint":1,"mystring":"1","underscore_int":1}' -'477111225','{"myint":9,"mystring":"27","underscore_int":3}' -11 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/input18.q.out ql/src/test/results/beelinepositive/input18.q.out deleted file mode 100644 index 80106ae..0000000 --- ql/src/test/results/beelinepositive/input18.q.out +++ /dev/null @@ -1,202 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input18.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input18.q ->>> CREATE TABLE dest1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM ( -FROM src -SELECT TRANSFORM(src.key, src.value, 1+2, 3+4) -USING 'cat' -CLUSTER BY key -) tmap -INSERT OVERWRITE TABLE dest1 SELECT tmap.key, regexp_replace(tmap.value,'\t','+') WHERE tmap.key < 100; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TRANSFORM (TOK_EXPLIST (. (TOK_TABLE_OR_COL src) key) (. (TOK_TABLE_OR_COL src) value) (+ 1 2) (+ 3 4)) TOK_SERDE TOK_RECORDWRITER 'cat' TOK_SERDE TOK_RECORDREADER))) (TOK_CLUSTERBY (TOK_TABLE_OR_COL key)))) tmap)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL tmap) key)) (TOK_SELEXPR (TOK_FUNCTION regexp_replace (. (TOK_TABLE_OR_COL tmap) value) '\t' '+'))) (TOK_WHERE (< (. (TOK_TABLE_OR_COL tmap) key) 100))))' -'' -'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' -' Alias -> Map Operator Tree:' -' tmap:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: (1 + 2)' -' type: int' -' expr: (3 + 4)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Transform Operator' -' command: cat' -' output info:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Filter Operator' -' predicate:' -' expr: (_col0 < 100.0)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: regexp_replace(_col1, ' ', '+')' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: input18.dest1' -'' -' 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: input18.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -88 rows selected ->>> ->>> FROM ( -FROM src -SELECT TRANSFORM(src.key, src.value, 1+2, 3+4) -USING 'cat' -CLUSTER BY key -) tmap -INSERT OVERWRITE TABLE dest1 SELECT tmap.key, regexp_replace(tmap.value,'\t','+') WHERE tmap.key < 100; -'_col0','_col1' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','value' -'0','val_0+3+7' -'0','val_0+3+7' -'0','val_0+3+7' -'10','val_10+3+7' -'11','val_11+3+7' -'12','val_12+3+7' -'12','val_12+3+7' -'15','val_15+3+7' -'15','val_15+3+7' -'17','val_17+3+7' -'18','val_18+3+7' -'18','val_18+3+7' -'19','val_19+3+7' -'2','val_2+3+7' -'20','val_20+3+7' -'24','val_24+3+7' -'24','val_24+3+7' -'26','val_26+3+7' -'26','val_26+3+7' -'27','val_27+3+7' -'28','val_28+3+7' -'30','val_30+3+7' -'33','val_33+3+7' -'34','val_34+3+7' -'35','val_35+3+7' -'35','val_35+3+7' -'35','val_35+3+7' -'37','val_37+3+7' -'37','val_37+3+7' -'4','val_4+3+7' -'41','val_41+3+7' -'42','val_42+3+7' -'42','val_42+3+7' -'43','val_43+3+7' -'44','val_44+3+7' -'47','val_47+3+7' -'5','val_5+3+7' -'5','val_5+3+7' -'5','val_5+3+7' -'51','val_51+3+7' -'51','val_51+3+7' -'53','val_53+3+7' -'54','val_54+3+7' -'57','val_57+3+7' -'58','val_58+3+7' -'58','val_58+3+7' -'64','val_64+3+7' -'65','val_65+3+7' -'66','val_66+3+7' -'67','val_67+3+7' -'67','val_67+3+7' -'69','val_69+3+7' -'70','val_70+3+7' -'70','val_70+3+7' -'70','val_70+3+7' -'72','val_72+3+7' -'72','val_72+3+7' -'74','val_74+3+7' -'76','val_76+3+7' -'76','val_76+3+7' -'77','val_77+3+7' -'78','val_78+3+7' -'8','val_8+3+7' -'80','val_80+3+7' -'82','val_82+3+7' -'83','val_83+3+7' -'83','val_83+3+7' -'84','val_84+3+7' -'84','val_84+3+7' -'85','val_85+3+7' -'86','val_86+3+7' -'87','val_87+3+7' -'9','val_9+3+7' -'90','val_90+3+7' -'90','val_90+3+7' -'90','val_90+3+7' -'92','val_92+3+7' -'95','val_95+3+7' -'95','val_95+3+7' -'96','val_96+3+7' -'97','val_97+3+7' -'97','val_97+3+7' -'98','val_98+3+7' -'98','val_98+3+7' -84 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/input19.q.out ql/src/test/results/beelinepositive/input19.q.out deleted file mode 100644 index c1c4514..0000000 --- ql/src/test/results/beelinepositive/input19.q.out +++ /dev/null @@ -1,13 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input19.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input19.q ->>> ->>> create table apachelog(ipaddress STRING,identd STRING,user_name STRING,finishtime STRING,requestline string,returncode INT,size INT) ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.dynamic_type.DynamicSerDe' WITH SERDEPROPERTIES ( 'serialization.format'= 'org.apache.hadoop.hive.serde2.thrift.TCTLSeparatedProtocol', 'quote.delim'= '("|\\[|\\])', 'field.delim'=' ', 'serialization.null.format'='-' ) STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/apache.access.log' INTO TABLE apachelog; -No rows affected ->>> SELECT a.* FROM apachelog a; -'ipaddress','identd','user_name','finishtime','requestline','returncode','size' -'127.0.0.1','','frank','10/Oct/2000:13:55:36 -0700','GET /apache_pb.gif HTTP/1.0','200','2326' -1 row selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/input1_limit.q.out ql/src/test/results/beelinepositive/input1_limit.q.out deleted file mode 100644 index 6add71b..0000000 --- ql/src/test/results/beelinepositive/input1_limit.q.out +++ /dev/null @@ -1,179 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input1_limit.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input1_limit.q ->>> CREATE TABLE dest1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE dest2(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest1 SELECT src.key, src.value WHERE src.key < 100 LIMIT 10 -INSERT OVERWRITE TABLE dest2 SELECT src.key, src.value WHERE src.key < 100 LIMIT 5; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value))) (TOK_WHERE (< (. (TOK_TABLE_OR_COL src) key) 100)) (TOK_LIMIT 10)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest2))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value))) (TOK_WHERE (< (. (TOK_TABLE_OR_COL src) key) 100)) (TOK_LIMIT 5)))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-0 depends on stages: Stage-2' -' Stage-3 depends on stages: Stage-0' -' Stage-4 depends on stages: Stage-2' -' Stage-1 depends on stages: Stage-4' -' Stage-5 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Filter Operator' -' predicate:' -' expr: (key < 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Reduce Operator Tree:' -' Extract' -' Limit' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: input1_limit.dest1' -'' -' 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: input1_limit.dest1' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: input1_limit.dest2' -'' -' Stage: Stage-1' -' 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: input1_limit.dest2' -'' -' Stage: Stage-5' -' Stats-Aggr Operator' -'' -'' -133 rows selected ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 SELECT src.key, src.value WHERE src.key < 100 LIMIT 10 -INSERT OVERWRITE TABLE dest2 SELECT src.key, src.value WHERE src.key < 100 LIMIT 5; -'_col0','_col1' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1 ORDER BY dest1.key ASC, dest1.value ASC; -'key','value' -'0','val_0' -'15','val_15' -'17','val_17' -'27','val_27' -'37','val_37' -'57','val_57' -'66','val_66' -'82','val_82' -'86','val_86' -'98','val_98' -10 rows selected ->>> SELECT dest2.* FROM dest2 ORDER BY dest2.key ASC, dest2.value ASC; -'key','value' -'27','val_27' -'37','val_37' -'66','val_66' -'86','val_86' -'98','val_98' -5 rows selected ->>> ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/input2.q.out ql/src/test/results/beelinepositive/input2.q.out deleted file mode 100644 index 18309e8..0000000 --- ql/src/test/results/beelinepositive/input2.q.out +++ /dev/null @@ -1,77 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input2.q ->>> CREATE TABLE TEST2a(A INT, B DOUBLE) STORED AS TEXTFILE; -No rows affected ->>> DESCRIBE TEST2a; -'col_name','data_type','comment' -'a','int','' -'b','double','' -2 rows selected ->>> DESC TEST2a; -'col_name','data_type','comment' -'a','int','' -'b','double','' -2 rows selected ->>> CREATE TABLE TEST2b(A ARRAY, B DOUBLE, C MAP) STORED AS TEXTFILE; -No rows affected ->>> DESCRIBE TEST2b; -'col_name','data_type','comment' -'a','array','' -'b','double','' -'c','map','' -3 rows selected ->>> SHOW TABLES; -'tab_name' -'primitives' -'src' -'src1' -'src_json' -'src_sequencefile' -'src_thrift' -'srcbucket' -'srcbucket2' -'srcpart' -'test2a' -'test2b' -11 rows selected ->>> DROP TABLE TEST2a; -No rows affected ->>> SHOW TABLES; -'tab_name' -'primitives' -'src' -'src1' -'src_json' -'src_sequencefile' -'src_thrift' -'srcbucket' -'srcbucket2' -'srcpart' -'test2b' -10 rows selected ->>> DROP TABLE TEST2b; -No rows affected ->>> ->>> EXPLAIN -SHOW TABLES; -'Explain' -'ABSTRACT SYNTAX TREE:' -' TOK_SHOWTABLES' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -' Stage-1 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Show Table Operator:' -' Show Tables' -' database name: input2' -'' -' Stage: Stage-1' -' Fetch Operator' -' limit: -1' -'' -'' -18 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/input20.q.out ql/src/test/results/beelinepositive/input20.q.out deleted file mode 100644 index f1f9c90..0000000 --- ql/src/test/results/beelinepositive/input20.q.out +++ /dev/null @@ -1,437 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input20.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input20.q ->>> CREATE TABLE dest1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> ADD FILE ../data/scripts/input20_script.py; -No rows affected ->>> ->>> EXPLAIN -FROM ( -FROM src -MAP src.key, src.key -USING 'cat' -DISTRIBUTE BY key -SORT BY key, value -) tmap -INSERT OVERWRITE TABLE dest1 -REDUCE tmap.key, tmap.value -USING 'python input20_script.py' -AS key, value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TRANSFORM (TOK_EXPLIST (. (TOK_TABLE_OR_COL src) key) (. (TOK_TABLE_OR_COL src) key)) TOK_SERDE TOK_RECORDWRITER 'cat' TOK_SERDE TOK_RECORDREADER))) (TOK_DISTRIBUTEBY (TOK_TABLE_OR_COL key)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value))))) tmap)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_TRANSFORM (TOK_EXPLIST (. (TOK_TABLE_OR_COL tmap) key) (. (TOK_TABLE_OR_COL tmap) value)) TOK_SERDE TOK_RECORDWRITER 'python input20_script.py' TOK_SERDE TOK_RECORDREADER (TOK_ALIASLIST key value))))))' -'' -'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' -' Alias -> Map Operator Tree:' -' tmap:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: key' -' type: string' -' outputColumnNames: _col0, _col1' -' Transform Operator' -' command: cat' -' output info:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Transform Operator' -' command: python input20_script.py' -' output info:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: input20.dest1' -'' -' 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: input20.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -87 rows selected ->>> ->>> FROM ( -FROM src -MAP src.key, src.key -USING 'cat' -DISTRIBUTE BY key -SORT BY key, value -) tmap -INSERT OVERWRITE TABLE dest1 -REDUCE tmap.key, tmap.value -USING 'python input20_script.py' -AS key, value; -'_col0','_col1' -No rows selected ->>> ->>> SELECT * FROM dest1 SORT BY key, value; -'key','value' -'1','105_105' -'1','10_10' -'1','111_111' -'1','114_114' -'1','116_116' -'1','11_11' -'1','126_126' -'1','131_131' -'1','133_133' -'1','136_136' -'1','143_143' -'1','145_145' -'1','150_150' -'1','153_153' -'1','155_155' -'1','156_156' -'1','157_157' -'1','158_158' -'1','160_160' -'1','162_162' -'1','163_163' -'1','166_166' -'1','168_168' -'1','170_170' -'1','177_177' -'1','178_178' -'1','17_17' -'1','180_180' -'1','181_181' -'1','183_183' -'1','186_186' -'1','189_189' -'1','190_190' -'1','192_192' -'1','194_194' -'1','196_196' -'1','19_19' -'1','201_201' -'1','202_202' -'1','20_20' -'1','214_214' -'1','218_218' -'1','222_222' -'1','226_226' -'1','228_228' -'1','235_235' -'1','241_241' -'1','244_244' -'1','247_247' -'1','248_248' -'1','249_249' -'1','252_252' -'1','257_257' -'1','258_258' -'1','260_260' -'1','262_262' -'1','263_263' -'1','266_266' -'1','274_274' -'1','275_275' -'1','27_27' -'1','283_283' -'1','284_284' -'1','285_285' -'1','286_286' -'1','287_287' -'1','289_289' -'1','28_28' -'1','291_291' -'1','292_292' -'1','296_296' -'1','2_2' -'1','302_302' -'1','305_305' -'1','306_306' -'1','308_308' -'1','30_30' -'1','310_310' -'1','315_315' -'1','323_323' -'1','332_332' -'1','335_335' -'1','336_336' -'1','338_338' -'1','339_339' -'1','33_33' -'1','341_341' -'1','345_345' -'1','34_34' -'1','351_351' -'1','356_356' -'1','360_360' -'1','362_362' -'1','364_364' -'1','365_365' -'1','366_366' -'1','368_368' -'1','373_373' -'1','374_374' -'1','375_375' -'1','377_377' -'1','378_378' -'1','379_379' -'1','386_386' -'1','389_389' -'1','392_392' -'1','393_393' -'1','394_394' -'1','400_400' -'1','402_402' -'1','407_407' -'1','411_411' -'1','418_418' -'1','419_419' -'1','41_41' -'1','421_421' -'1','427_427' -'1','432_432' -'1','435_435' -'1','436_436' -'1','437_437' -'1','43_43' -'1','443_443' -'1','444_444' -'1','446_446' -'1','448_448' -'1','449_449' -'1','44_44' -'1','452_452' -'1','453_453' -'1','455_455' -'1','457_457' -'1','460_460' -'1','467_467' -'1','470_470' -'1','472_472' -'1','475_475' -'1','477_477' -'1','479_479' -'1','47_47' -'1','481_481' -'1','482_482' -'1','483_483' -'1','484_484' -'1','485_485' -'1','487_487' -'1','490_490' -'1','491_491' -'1','493_493' -'1','494_494' -'1','495_495' -'1','496_496' -'1','497_497' -'1','4_4' -'1','53_53' -'1','54_54' -'1','57_57' -'1','64_64' -'1','65_65' -'1','66_66' -'1','69_69' -'1','74_74' -'1','77_77' -'1','78_78' -'1','80_80' -'1','82_82' -'1','85_85' -'1','86_86' -'1','87_87' -'1','8_8' -'1','92_92' -'1','96_96' -'1','9_9' -'2','100_100' -'2','103_103' -'2','104_104' -'2','113_113' -'2','118_118' -'2','120_120' -'2','125_125' -'2','129_129' -'2','12_12' -'2','134_134' -'2','137_137' -'2','146_146' -'2','149_149' -'2','152_152' -'2','15_15' -'2','164_164' -'2','165_165' -'2','172_172' -'2','174_174' -'2','175_175' -'2','176_176' -'2','179_179' -'2','18_18' -'2','191_191' -'2','195_195' -'2','197_197' -'2','200_200' -'2','203_203' -'2','205_205' -'2','207_207' -'2','209_209' -'2','213_213' -'2','216_216' -'2','217_217' -'2','219_219' -'2','221_221' -'2','223_223' -'2','224_224' -'2','229_229' -'2','233_233' -'2','237_237' -'2','238_238' -'2','239_239' -'2','242_242' -'2','24_24' -'2','255_255' -'2','256_256' -'2','265_265' -'2','26_26' -'2','272_272' -'2','278_278' -'2','280_280' -'2','281_281' -'2','282_282' -'2','288_288' -'2','307_307' -'2','309_309' -'2','317_317' -'2','321_321' -'2','322_322' -'2','325_325' -'2','331_331' -'2','333_333' -'2','342_342' -'2','344_344' -'2','353_353' -'2','367_367' -'2','37_37' -'2','382_382' -'2','395_395' -'2','397_397' -'2','399_399' -'2','404_404' -'2','413_413' -'2','414_414' -'2','424_424' -'2','429_429' -'2','42_42' -'2','439_439' -'2','458_458' -'2','459_459' -'2','462_462' -'2','463_463' -'2','478_478' -'2','492_492' -'2','51_51' -'2','58_58' -'2','67_67' -'2','72_72' -'2','76_76' -'2','83_83' -'2','84_84' -'2','95_95' -'2','97_97' -'2','98_98' -'3','0_0' -'3','119_119' -'3','128_128' -'3','167_167' -'3','187_187' -'3','193_193' -'3','199_199' -'3','208_208' -'3','273_273' -'3','298_298' -'3','311_311' -'3','316_316' -'3','318_318' -'3','327_327' -'3','35_35' -'3','369_369' -'3','384_384' -'3','396_396' -'3','403_403' -'3','409_409' -'3','417_417' -'3','430_430' -'3','431_431' -'3','438_438' -'3','454_454' -'3','466_466' -'3','480_480' -'3','498_498' -'3','5_5' -'3','70_70' -'3','90_90' -'4','138_138' -'4','169_169' -'4','277_277' -'4','406_406' -'4','468_468' -'4','489_489' -'5','230_230' -'5','348_348' -'5','401_401' -'5','469_469' -309 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/input21.q.out ql/src/test/results/beelinepositive/input21.q.out deleted file mode 100644 index 8431562..0000000 --- ql/src/test/results/beelinepositive/input21.q.out +++ /dev/null @@ -1,86 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input21.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input21.q ->>> ->>> ->>> CREATE TABLE src_null(a STRING, b STRING, c STRING, d STRING) STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/null.txt' INTO TABLE src_null; -No rows affected ->>> ->>> EXPLAIN SELECT * FROM src_null DISTRIBUTE BY c SORT BY d; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src_null))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_DISTRIBUTEBY (TOK_TABLE_OR_COL c)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL d)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src_null ' -' TableScan' -' alias: src_null' -' Select Operator' -' expressions:' -' expr: a' -' type: string' -' expr: b' -' type: string' -' expr: c' -' type: string' -' expr: d' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Reduce Output Operator' -' key expressions:' -' expr: _col3' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col2' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -57 rows selected ->>> ->>> SELECT * FROM src_null DISTRIBUTE BY c SORT BY d; -'a','b','c','d' -'1.0','1','same','0' -'1.0','1','same','1' -'1.0','1','same','2' -'1.0','1','same','3' -'1.0','1','same','4' -'','1','same','5' -'','','same','6' -'1.0','','same','7' -'1.0','1','same','8' -'1.0','1','same','9' -10 rows selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/input22.q.out ql/src/test/results/beelinepositive/input22.q.out deleted file mode 100644 index af72a44..0000000 --- ql/src/test/results/beelinepositive/input22.q.out +++ /dev/null @@ -1,82 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input22.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input22.q ->>> CREATE TABLE INPUT4(KEY STRING, VALUE STRING) STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/kv1.txt' INTO TABLE INPUT4; -No rows affected ->>> ->>> EXPLAIN -SELECT a.KEY2 -FROM (SELECT INPUT4.*, INPUT4.KEY as KEY2 -FROM INPUT4) a -ORDER BY KEY2 LIMIT 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME INPUT4))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME INPUT4))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL INPUT4) KEY) KEY2)))) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) KEY2))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL KEY2))) (TOK_LIMIT 10)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a:input4 ' -' TableScan' -' alias: input4' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col2' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 10' -'' -'' -48 rows selected ->>> ->>> SELECT a.KEY2 -FROM (SELECT INPUT4.*, INPUT4.KEY as KEY2 -FROM INPUT4) a -ORDER BY KEY2 LIMIT 10; -'key2' -'0' -'0' -'0' -'10' -'100' -'100' -'103' -'103' -'104' -'104' -10 rows selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/input23.q.out ql/src/test/results/beelinepositive/input23.q.out deleted file mode 100644 index ece4859..0000000 --- ql/src/test/results/beelinepositive/input23.q.out +++ /dev/null @@ -1,167 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input23.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input23.q ->>> explain extended -select * from srcpart a join srcpart b where a.ds = '2008-04-08' and a.hr = '11' and b.ds = '2008-04-08' and b.hr = '14' limit 5; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcpart) a) (TOK_TABREF (TOK_TABNAME srcpart) b))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (and (and (and (= (. (TOK_TABLE_OR_COL a) ds) '2008-04-08') (= (. (TOK_TABLE_OR_COL a) hr) '11')) (= (. (TOK_TABLE_OR_COL b) ds) '2008-04-08')) (= (. (TOK_TABLE_OR_COL b) hr) '14'))) (TOK_LIMIT 5)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Reduce Output Operator' -' sort order: ' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((ds = '2008-04-08') and (hr = '14'))' -' type: boolean' -' Reduce Output Operator' -' sort order: ' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' Needs Tagging: true' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/input23.db/srcpart/ds=2008-04-08/hr=11 [a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/input23.db/srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input23.db/srcpart/ds=2008-04-08/hr=11' -' name input23.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input23.db/srcpart' -' name input23.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: input23.srcpart' -' name: input23.srcpart' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1} {VALUE._col2} {VALUE._col3}' -' 1 {VALUE._col0} {VALUE._col1} {VALUE._col2} {VALUE._col3}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col3, _col6, _col7, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col6' -' type: string' -' expr: _col7' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3,_col4,_col5,_col6,_col7' -' columns.types string:string:string:string:string:string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 5' -'' -'' -155 rows selected ->>> ->>> select * from srcpart a join srcpart b where a.ds = '2008-04-08' and a.hr = '11' and b.ds = '2008-04-08' and b.hr = '14' limit 5; -'key','value','ds','hr','key','value','ds','hr' -No rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/input24.q.out ql/src/test/results/beelinepositive/input24.q.out deleted file mode 100644 index e8e6140..0000000 --- ql/src/test/results/beelinepositive/input24.q.out +++ /dev/null @@ -1,69 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input24.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input24.q ->>> ->>> create table tst(a int, b int) partitioned by (d string); -No rows affected ->>> alter table tst add partition (d='2009-01-01'); -No rows affected ->>> explain -select count(1) from tst x where x.d='2009-01-01'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME tst) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_WHERE (= (. (TOK_TABLE_OR_COL x) d) '2009-01-01'))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x ' -' TableScan' -' alias: x' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -50 rows selected ->>> ->>> select count(1) from tst x where x.d='2009-01-01'; -'_c0' -'0' -1 row selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/input25.q.out ql/src/test/results/beelinepositive/input25.q.out deleted file mode 100644 index 0f3e882..0000000 --- ql/src/test/results/beelinepositive/input25.q.out +++ /dev/null @@ -1,156 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input25.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input25.q ->>> ->>> create table tst(a int, b int) partitioned by (d string); -No rows affected ->>> alter table tst add partition (d='2009-01-01'); -No rows affected ->>> alter table tst add partition (d='2009-02-02'); -No rows affected ->>> ->>> explain -select * from ( -select * from tst x where x.d='2009-01-01' limit 10 -union all -select * from tst x where x.d='2009-02-02' limit 10 -) subq; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME tst) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (= (. (TOK_TABLE_OR_COL x) d) '2009-01-01')) (TOK_LIMIT 10))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME tst) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (= (. (TOK_TABLE_OR_COL x) d) '2009-02-02')) (TOK_LIMIT 10)))) subq)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-3' -' Stage-3 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1:subq-subquery1:x ' -' TableScan' -' alias: x' -' Select Operator' -' expressions:' -' expr: a' -' type: int' -' expr: b' -' type: int' -' expr: d' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Limit' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery2:subq-subquery2:x ' -' TableScan' -' alias: x' -' Select Operator' -' expressions:' -' expr: a' -' type: int' -' expr: b' -' type: int' -' expr: d' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Limit' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -127 rows selected ->>> ->>> select * from ( -select * from tst x where x.d='2009-01-01' limit 10 -union all -select * from tst x where x.d='2009-02-02' limit 10 -) subq; -'a','b','d' -No rows selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/input26.q.out ql/src/test/results/beelinepositive/input26.q.out deleted file mode 100644 index 0a99de2..0000000 --- ql/src/test/results/beelinepositive/input26.q.out +++ /dev/null @@ -1,169 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input26.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input26.q ->>> explain -select * from ( -select * from srcpart a where a.ds = '2008-04-08' and a.hr = '11' order by a.key limit 5 -union all -select * from srcpart b where b.ds = '2008-04-08' and b.hr = '14' limit 5 -)subq; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (and (= (. (TOK_TABLE_OR_COL a) ds) '2008-04-08') (= (. (TOK_TABLE_OR_COL a) hr) '11'))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key))) (TOK_LIMIT 5))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart) b)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (and (= (. (TOK_TABLE_OR_COL b) ds) '2008-04-08') (= (. (TOK_TABLE_OR_COL b) hr) '14'))) (TOK_LIMIT 5)))) subq)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-3' -' Stage-3 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1:subq-subquery1:a ' -' TableScan' -' alias: a' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery2:subq-subquery2:b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: ((ds = '2008-04-08') and (hr = '14'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Limit' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -145 rows selected ->>> ->>> select * from ( -select * from srcpart a where a.ds = '2008-04-08' and a.hr = '11' order by a.key limit 5 -union all -select * from srcpart b where b.ds = '2008-04-08' and b.hr = '14' limit 5 -)subq; -'key','value','ds','hr' -'0','val_0','2008-04-08','11' -'0','val_0','2008-04-08','11' -'0','val_0','2008-04-08','11' -'10','val_10','2008-04-08','11' -'100','val_100','2008-04-08','11' -5 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/input28.q.out ql/src/test/results/beelinepositive/input28.q.out deleted file mode 100644 index 38c07fe..0000000 --- ql/src/test/results/beelinepositive/input28.q.out +++ /dev/null @@ -1,19 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input28.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input28.q ->>> ->>> create table tst(a string, b string) partitioned by (d string); -No rows affected ->>> alter table tst add partition (d='2009-01-01'); -No rows affected ->>> ->>> insert overwrite table tst partition(d='2009-01-01') -select tst.a, src.value from tst join src ON (tst.a = src.key); -'a','value' -No rows selected ->>> ->>> select * from tst where tst.d='2009-01-01'; -'a','b','d' -No rows selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/input2_limit.q.out ql/src/test/results/beelinepositive/input2_limit.q.out deleted file mode 100644 index 67ae187..0000000 --- ql/src/test/results/beelinepositive/input2_limit.q.out +++ /dev/null @@ -1,54 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input2_limit.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input2_limit.q ->>> EXPLAIN -SELECT x.* FROM SRC x WHERE x.key < 300 LIMIT 5; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME SRC) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME x)))) (TOK_WHERE (< (. (TOK_TABLE_OR_COL x) key) 300)) (TOK_LIMIT 5)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x ' -' TableScan' -' alias: x' -' Filter Operator' -' predicate:' -' expr: (key < 300.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 5' -'' -'' -38 rows selected ->>> ->>> SELECT x.* FROM SRC x WHERE x.key < 300 LIMIT 5; -'key','value' -'238','val_238' -'86','val_86' -'27','val_27' -'165','val_165' -'255','val_255' -5 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/input3.q.out ql/src/test/results/beelinepositive/input3.q.out deleted file mode 100644 index 80ba8b6..0000000 --- ql/src/test/results/beelinepositive/input3.q.out +++ /dev/null @@ -1,138 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input3.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input3.q ->>> ->>> ->>> ->>> ->>> CREATE TABLE TEST3a(A INT, B DOUBLE) STORED AS TEXTFILE; -No rows affected ->>> DESCRIBE TEST3a; -'col_name','data_type','comment' -'a','int','' -'b','double','' -2 rows selected ->>> CREATE TABLE TEST3b(A ARRAY, B DOUBLE, C MAP) STORED AS TEXTFILE; -No rows affected ->>> DESCRIBE TEST3b; -'col_name','data_type','comment' -'a','array','' -'b','double','' -'c','map','' -3 rows selected ->>> SHOW TABLES; -'tab_name' -'primitives' -'src' -'src1' -'src_json' -'src_sequencefile' -'src_thrift' -'srcbucket' -'srcbucket2' -'srcpart' -'test3a' -'test3b' -11 rows selected ->>> EXPLAIN -ALTER TABLE TEST3b ADD COLUMNS (X DOUBLE); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_ALTERTABLE_ADDCOLS TEST3b (TOK_TABCOLLIST (TOK_TABCOL X TOK_DOUBLE)))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Alter Table Operator:' -' Alter Table' -' type: add columns' -' new columns: x double' -' old name: TEST3b' -'' -'' -15 rows selected ->>> ALTER TABLE TEST3b ADD COLUMNS (X DOUBLE); -No rows affected ->>> DESCRIBE TEST3b; -'col_name','data_type','comment' -'a','array','' -'b','double','' -'c','map','' -'x','double','' -4 rows selected ->>> EXPLAIN -ALTER TABLE TEST3b RENAME TO TEST3c; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_ALTERTABLE_RENAME TEST3b TEST3c)' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Alter Table Operator:' -' Alter Table' -' type: rename' -' new name: TEST3c' -' old name: TEST3b' -'' -'' -15 rows selected ->>> ALTER TABLE TEST3b RENAME TO TEST3c; -No rows affected ->>> DESCRIBE TEST3c; -'col_name','data_type','comment' -'a','array','' -'b','double','' -'c','map','' -'x','double','' -4 rows selected ->>> SHOW TABLES; -'tab_name' -'primitives' -'src' -'src1' -'src_json' -'src_sequencefile' -'src_thrift' -'srcbucket' -'srcbucket2' -'srcpart' -'test3a' -'test3c' -11 rows selected ->>> EXPLAIN -ALTER TABLE TEST3c REPLACE COLUMNS (R1 INT, R2 DOUBLE); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_ALTERTABLE_REPLACECOLS TEST3c (TOK_TABCOLLIST (TOK_TABCOL R1 TOK_INT) (TOK_TABCOL R2 TOK_DOUBLE)))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Alter Table Operator:' -' Alter Table' -' type: replace columns' -' new columns: r1 int, r2 double' -' old name: TEST3c' -'' -'' -15 rows selected ->>> ALTER TABLE TEST3c REPLACE COLUMNS (R1 INT, R2 DOUBLE); -No rows affected ->>> DESCRIBE EXTENDED TEST3c; -'col_name','data_type','comment' -'r1','int','' -'r2','double','' -'','','' -'Detailed Table Information','Table(tableName:test3c, dbName:input3, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:r1, type:int, comment:null), FieldSchema(name:r2, type:double, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/input3.db/test3c, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{last_modified_by=!!ELIDED!!, last_modified_time=!!UNIXTIME!!, transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -4 rows selected ->>> ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/input30.q.out ql/src/test/results/beelinepositive/input30.q.out deleted file mode 100644 index 5cfa26d..0000000 --- ql/src/test/results/beelinepositive/input30.q.out +++ /dev/null @@ -1,110 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input30.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input30.q ->>> ->>> ->>> ->>> ->>> create table dest30(a int); -No rows affected ->>> create table tst_dest30(a int); -No rows affected ->>> ->>> set hive.test.mode=true; -No rows affected ->>> set hive.test.mode.prefix=tst_; -No rows affected ->>> ->>> explain -insert overwrite table dest30 -select count(1) from src; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest30))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (((hash(rand(460476415)) & 2147483647) % 32) = 0)' -' type: boolean' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: input30.tst_dest30' -'' -' 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: input30.tst_dest30' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -72 rows selected ->>> ->>> insert overwrite table dest30 -select count(1) from src; -'_col0' -No rows selected ->>> ->>> set hive.test.mode=false; -No rows affected ->>> ->>> select * from tst_dest30; -'a' -'18' -1 row selected ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/input31.q.out ql/src/test/results/beelinepositive/input31.q.out deleted file mode 100644 index 229fd8b..0000000 --- ql/src/test/results/beelinepositive/input31.q.out +++ /dev/null @@ -1,111 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input31.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input31.q ->>> ->>> ->>> ->>> set hive.test.mode=true; -No rows affected ->>> set hive.test.mode.prefix=tst_; -No rows affected ->>> ->>> create table tst_dest31(a int); -No rows affected ->>> create table dest31(a int); -No rows affected ->>> ->>> explain -insert overwrite table dest31 -select count(1) from srcbucket; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcbucket))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest31))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' srcbucket ' -' TableScan' -' alias: srcbucket' -' Filter Operator' -' predicate:' -' expr: (((hash(key) & 2147483647) % 2) = 0)' -' type: boolean' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: input31.tst_dest31' -'' -' 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: input31.tst_dest31' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -72 rows selected ->>> ->>> insert overwrite table dest31 -select count(1) from srcbucket; -'_col0' -No rows selected ->>> ->>> set hive.test.mode=false; -No rows affected ->>> ->>> select * from tst_dest31; -'a' -'493' -1 row selected ->>> ->>> ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/input32.q.out ql/src/test/results/beelinepositive/input32.q.out deleted file mode 100644 index c9ba3c8a..0000000 --- ql/src/test/results/beelinepositive/input32.q.out +++ /dev/null @@ -1,109 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input32.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input32.q ->>> ->>> ->>> ->>> set hive.test.mode=true; -No rows affected ->>> set hive.test.mode.prefix=tst_; -No rows affected ->>> set hive.test.mode.nosamplelist=src,srcbucket; -No rows affected ->>> ->>> create table dest32(a int); -No rows affected ->>> create table tst_dest32(a int); -No rows affected ->>> ->>> explain -insert overwrite table dest32 -select count(1) from srcbucket; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcbucket))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest32))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' srcbucket ' -' TableScan' -' alias: srcbucket' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: input32.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: input32.tst_dest32' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -68 rows selected ->>> ->>> insert overwrite table dest32 -select count(1) from srcbucket; -'_col0' -No rows selected ->>> ->>> set hive.test.mode=false; -No rows affected ->>> ->>> select * from tst_dest32; -'a' -'1000' -1 row selected ->>> ->>> ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/input33.q.out ql/src/test/results/beelinepositive/input33.q.out deleted file mode 100644 index b7ad369..0000000 --- ql/src/test/results/beelinepositive/input33.q.out +++ /dev/null @@ -1,437 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input33.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input33.q ->>> CREATE TABLE dest1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> ADD FILE ../data/scripts/input20_script.py; -No rows affected ->>> ->>> EXPLAIN -FROM ( -FROM src -MAP src.key, src.key -USING 'cat' -DISTRIBUTE BY key -SORT BY key, value -) tmap -INSERT OVERWRITE TABLE dest1 -REDUCE tmap.key, tmap.value -USING 'python input20_script.py' -AS (key STRING, value STRING); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TRANSFORM (TOK_EXPLIST (. (TOK_TABLE_OR_COL src) key) (. (TOK_TABLE_OR_COL src) key)) TOK_SERDE TOK_RECORDWRITER 'cat' TOK_SERDE TOK_RECORDREADER))) (TOK_DISTRIBUTEBY (TOK_TABLE_OR_COL key)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value))))) tmap)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_TRANSFORM (TOK_EXPLIST (. (TOK_TABLE_OR_COL tmap) key) (. (TOK_TABLE_OR_COL tmap) value)) TOK_SERDE TOK_RECORDWRITER 'python input20_script.py' TOK_SERDE TOK_RECORDREADER (TOK_TABCOLLIST (TOK_TABCOL key TOK_STRING) (TOK_TABCOL value TOK_STRING)))))))' -'' -'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' -' Alias -> Map Operator Tree:' -' tmap:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: key' -' type: string' -' outputColumnNames: _col0, _col1' -' Transform Operator' -' command: cat' -' output info:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Transform Operator' -' command: python input20_script.py' -' output info:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: input33.dest1' -'' -' 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: input33.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -87 rows selected ->>> ->>> FROM ( -FROM src -MAP src.key, src.key -USING 'cat' -DISTRIBUTE BY key -SORT BY key, value -) tmap -INSERT OVERWRITE TABLE dest1 -REDUCE tmap.key, tmap.value -USING 'python input20_script.py' -AS (key STRING, value STRING); -'_col0','_col1' -No rows selected ->>> ->>> SELECT * FROM dest1 SORT BY key, value; -'key','value' -'1','105_105' -'1','10_10' -'1','111_111' -'1','114_114' -'1','116_116' -'1','11_11' -'1','126_126' -'1','131_131' -'1','133_133' -'1','136_136' -'1','143_143' -'1','145_145' -'1','150_150' -'1','153_153' -'1','155_155' -'1','156_156' -'1','157_157' -'1','158_158' -'1','160_160' -'1','162_162' -'1','163_163' -'1','166_166' -'1','168_168' -'1','170_170' -'1','177_177' -'1','178_178' -'1','17_17' -'1','180_180' -'1','181_181' -'1','183_183' -'1','186_186' -'1','189_189' -'1','190_190' -'1','192_192' -'1','194_194' -'1','196_196' -'1','19_19' -'1','201_201' -'1','202_202' -'1','20_20' -'1','214_214' -'1','218_218' -'1','222_222' -'1','226_226' -'1','228_228' -'1','235_235' -'1','241_241' -'1','244_244' -'1','247_247' -'1','248_248' -'1','249_249' -'1','252_252' -'1','257_257' -'1','258_258' -'1','260_260' -'1','262_262' -'1','263_263' -'1','266_266' -'1','274_274' -'1','275_275' -'1','27_27' -'1','283_283' -'1','284_284' -'1','285_285' -'1','286_286' -'1','287_287' -'1','289_289' -'1','28_28' -'1','291_291' -'1','292_292' -'1','296_296' -'1','2_2' -'1','302_302' -'1','305_305' -'1','306_306' -'1','308_308' -'1','30_30' -'1','310_310' -'1','315_315' -'1','323_323' -'1','332_332' -'1','335_335' -'1','336_336' -'1','338_338' -'1','339_339' -'1','33_33' -'1','341_341' -'1','345_345' -'1','34_34' -'1','351_351' -'1','356_356' -'1','360_360' -'1','362_362' -'1','364_364' -'1','365_365' -'1','366_366' -'1','368_368' -'1','373_373' -'1','374_374' -'1','375_375' -'1','377_377' -'1','378_378' -'1','379_379' -'1','386_386' -'1','389_389' -'1','392_392' -'1','393_393' -'1','394_394' -'1','400_400' -'1','402_402' -'1','407_407' -'1','411_411' -'1','418_418' -'1','419_419' -'1','41_41' -'1','421_421' -'1','427_427' -'1','432_432' -'1','435_435' -'1','436_436' -'1','437_437' -'1','43_43' -'1','443_443' -'1','444_444' -'1','446_446' -'1','448_448' -'1','449_449' -'1','44_44' -'1','452_452' -'1','453_453' -'1','455_455' -'1','457_457' -'1','460_460' -'1','467_467' -'1','470_470' -'1','472_472' -'1','475_475' -'1','477_477' -'1','479_479' -'1','47_47' -'1','481_481' -'1','482_482' -'1','483_483' -'1','484_484' -'1','485_485' -'1','487_487' -'1','490_490' -'1','491_491' -'1','493_493' -'1','494_494' -'1','495_495' -'1','496_496' -'1','497_497' -'1','4_4' -'1','53_53' -'1','54_54' -'1','57_57' -'1','64_64' -'1','65_65' -'1','66_66' -'1','69_69' -'1','74_74' -'1','77_77' -'1','78_78' -'1','80_80' -'1','82_82' -'1','85_85' -'1','86_86' -'1','87_87' -'1','8_8' -'1','92_92' -'1','96_96' -'1','9_9' -'2','100_100' -'2','103_103' -'2','104_104' -'2','113_113' -'2','118_118' -'2','120_120' -'2','125_125' -'2','129_129' -'2','12_12' -'2','134_134' -'2','137_137' -'2','146_146' -'2','149_149' -'2','152_152' -'2','15_15' -'2','164_164' -'2','165_165' -'2','172_172' -'2','174_174' -'2','175_175' -'2','176_176' -'2','179_179' -'2','18_18' -'2','191_191' -'2','195_195' -'2','197_197' -'2','200_200' -'2','203_203' -'2','205_205' -'2','207_207' -'2','209_209' -'2','213_213' -'2','216_216' -'2','217_217' -'2','219_219' -'2','221_221' -'2','223_223' -'2','224_224' -'2','229_229' -'2','233_233' -'2','237_237' -'2','238_238' -'2','239_239' -'2','242_242' -'2','24_24' -'2','255_255' -'2','256_256' -'2','265_265' -'2','26_26' -'2','272_272' -'2','278_278' -'2','280_280' -'2','281_281' -'2','282_282' -'2','288_288' -'2','307_307' -'2','309_309' -'2','317_317' -'2','321_321' -'2','322_322' -'2','325_325' -'2','331_331' -'2','333_333' -'2','342_342' -'2','344_344' -'2','353_353' -'2','367_367' -'2','37_37' -'2','382_382' -'2','395_395' -'2','397_397' -'2','399_399' -'2','404_404' -'2','413_413' -'2','414_414' -'2','424_424' -'2','429_429' -'2','42_42' -'2','439_439' -'2','458_458' -'2','459_459' -'2','462_462' -'2','463_463' -'2','478_478' -'2','492_492' -'2','51_51' -'2','58_58' -'2','67_67' -'2','72_72' -'2','76_76' -'2','83_83' -'2','84_84' -'2','95_95' -'2','97_97' -'2','98_98' -'3','0_0' -'3','119_119' -'3','128_128' -'3','167_167' -'3','187_187' -'3','193_193' -'3','199_199' -'3','208_208' -'3','273_273' -'3','298_298' -'3','311_311' -'3','316_316' -'3','318_318' -'3','327_327' -'3','35_35' -'3','369_369' -'3','384_384' -'3','396_396' -'3','403_403' -'3','409_409' -'3','417_417' -'3','430_430' -'3','431_431' -'3','438_438' -'3','454_454' -'3','466_466' -'3','480_480' -'3','498_498' -'3','5_5' -'3','70_70' -'3','90_90' -'4','138_138' -'4','169_169' -'4','277_277' -'4','406_406' -'4','468_468' -'4','489_489' -'5','230_230' -'5','348_348' -'5','401_401' -'5','469_469' -309 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/input34.q.out ql/src/test/results/beelinepositive/input34.q.out deleted file mode 100644 index 82620b6..0000000 --- ql/src/test/results/beelinepositive/input34.q.out +++ /dev/null @@ -1,640 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input34.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input34.q ->>> CREATE TABLE dest1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM ( -FROM src -SELECT TRANSFORM(src.key, src.value) ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -USING 'cat' -AS (tkey, tvalue) ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -) tmap -INSERT OVERWRITE TABLE dest1 SELECT tkey, tvalue; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TRANSFORM (TOK_EXPLIST (. (TOK_TABLE_OR_COL src) key) (. (TOK_TABLE_OR_COL src) value)) (TOK_SERDE (TOK_SERDENAME 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe')) TOK_RECORDWRITER 'cat' (TOK_SERDE (TOK_SERDENAME 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe')) TOK_RECORDREADER (TOK_ALIASLIST tkey tvalue)))))) tmap)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL tkey)) (TOK_SELEXPR (TOK_TABLE_OR_COL tvalue)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' tmap:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Transform Operator' -' command: cat' -' output info:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: input34.dest1' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: input34.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: input34.dest1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: input34.dest1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -110 rows selected ->>> ->>> FROM ( -FROM src -SELECT TRANSFORM(src.key, src.value) ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -USING 'cat' -AS (tkey, tvalue) ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -) tmap -INSERT OVERWRITE TABLE dest1 SELECT tkey, tvalue; -'_col0','_col1' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','value' -'238','val_238' -'86','val_86' -'311','val_311' -'27','val_27' -'165','val_165' -'409','val_409' -'255','val_255' -'278','val_278' -'98','val_98' -'484','val_484' -'265','val_265' -'193','val_193' -'401','val_401' -'150','val_150' -'273','val_273' -'224','val_224' -'369','val_369' -'66','val_66' -'128','val_128' -'213','val_213' -'146','val_146' -'406','val_406' -'429','val_429' -'374','val_374' -'152','val_152' -'469','val_469' -'145','val_145' -'495','val_495' -'37','val_37' -'327','val_327' -'281','val_281' -'277','val_277' -'209','val_209' -'15','val_15' -'82','val_82' -'403','val_403' -'166','val_166' -'417','val_417' -'430','val_430' -'252','val_252' -'292','val_292' -'219','val_219' -'287','val_287' -'153','val_153' -'193','val_193' -'338','val_338' -'446','val_446' -'459','val_459' -'394','val_394' -'237','val_237' -'482','val_482' -'174','val_174' -'413','val_413' -'494','val_494' -'207','val_207' -'199','val_199' -'466','val_466' -'208','val_208' -'174','val_174' -'399','val_399' -'396','val_396' -'247','val_247' -'417','val_417' -'489','val_489' -'162','val_162' -'377','val_377' -'397','val_397' -'309','val_309' -'365','val_365' -'266','val_266' -'439','val_439' -'342','val_342' -'367','val_367' -'325','val_325' -'167','val_167' -'195','val_195' -'475','val_475' -'17','val_17' -'113','val_113' -'155','val_155' -'203','val_203' -'339','val_339' -'0','val_0' -'455','val_455' -'128','val_128' -'311','val_311' -'316','val_316' -'57','val_57' -'302','val_302' -'205','val_205' -'149','val_149' -'438','val_438' -'345','val_345' -'129','val_129' -'170','val_170' -'20','val_20' -'489','val_489' -'157','val_157' -'378','val_378' -'221','val_221' -'92','val_92' -'111','val_111' -'47','val_47' -'72','val_72' -'4','val_4' -'280','val_280' -'35','val_35' -'427','val_427' -'277','val_277' -'208','val_208' -'356','val_356' -'399','val_399' -'169','val_169' -'382','val_382' -'498','val_498' -'125','val_125' -'386','val_386' -'437','val_437' -'469','val_469' -'192','val_192' -'286','val_286' -'187','val_187' -'176','val_176' -'54','val_54' -'459','val_459' -'51','val_51' -'138','val_138' -'103','val_103' -'239','val_239' -'213','val_213' -'216','val_216' -'430','val_430' -'278','val_278' -'176','val_176' -'289','val_289' -'221','val_221' -'65','val_65' -'318','val_318' -'332','val_332' -'311','val_311' -'275','val_275' -'137','val_137' -'241','val_241' -'83','val_83' -'333','val_333' -'180','val_180' -'284','val_284' -'12','val_12' -'230','val_230' -'181','val_181' -'67','val_67' -'260','val_260' -'404','val_404' -'384','val_384' -'489','val_489' -'353','val_353' -'373','val_373' -'272','val_272' -'138','val_138' -'217','val_217' -'84','val_84' -'348','val_348' -'466','val_466' -'58','val_58' -'8','val_8' -'411','val_411' -'230','val_230' -'208','val_208' -'348','val_348' -'24','val_24' -'463','val_463' -'431','val_431' -'179','val_179' -'172','val_172' -'42','val_42' -'129','val_129' -'158','val_158' -'119','val_119' -'496','val_496' -'0','val_0' -'322','val_322' -'197','val_197' -'468','val_468' -'393','val_393' -'454','val_454' -'100','val_100' -'298','val_298' -'199','val_199' -'191','val_191' -'418','val_418' -'96','val_96' -'26','val_26' -'165','val_165' -'327','val_327' -'230','val_230' -'205','val_205' -'120','val_120' -'131','val_131' -'51','val_51' -'404','val_404' -'43','val_43' -'436','val_436' -'156','val_156' -'469','val_469' -'468','val_468' -'308','val_308' -'95','val_95' -'196','val_196' -'288','val_288' -'481','val_481' -'457','val_457' -'98','val_98' -'282','val_282' -'197','val_197' -'187','val_187' -'318','val_318' -'318','val_318' -'409','val_409' -'470','val_470' -'137','val_137' -'369','val_369' -'316','val_316' -'169','val_169' -'413','val_413' -'85','val_85' -'77','val_77' -'0','val_0' -'490','val_490' -'87','val_87' -'364','val_364' -'179','val_179' -'118','val_118' -'134','val_134' -'395','val_395' -'282','val_282' -'138','val_138' -'238','val_238' -'419','val_419' -'15','val_15' -'118','val_118' -'72','val_72' -'90','val_90' -'307','val_307' -'19','val_19' -'435','val_435' -'10','val_10' -'277','val_277' -'273','val_273' -'306','val_306' -'224','val_224' -'309','val_309' -'389','val_389' -'327','val_327' -'242','val_242' -'369','val_369' -'392','val_392' -'272','val_272' -'331','val_331' -'401','val_401' -'242','val_242' -'452','val_452' -'177','val_177' -'226','val_226' -'5','val_5' -'497','val_497' -'402','val_402' -'396','val_396' -'317','val_317' -'395','val_395' -'58','val_58' -'35','val_35' -'336','val_336' -'95','val_95' -'11','val_11' -'168','val_168' -'34','val_34' -'229','val_229' -'233','val_233' -'143','val_143' -'472','val_472' -'322','val_322' -'498','val_498' -'160','val_160' -'195','val_195' -'42','val_42' -'321','val_321' -'430','val_430' -'119','val_119' -'489','val_489' -'458','val_458' -'78','val_78' -'76','val_76' -'41','val_41' -'223','val_223' -'492','val_492' -'149','val_149' -'449','val_449' -'218','val_218' -'228','val_228' -'138','val_138' -'453','val_453' -'30','val_30' -'209','val_209' -'64','val_64' -'468','val_468' -'76','val_76' -'74','val_74' -'342','val_342' -'69','val_69' -'230','val_230' -'33','val_33' -'368','val_368' -'103','val_103' -'296','val_296' -'113','val_113' -'216','val_216' -'367','val_367' -'344','val_344' -'167','val_167' -'274','val_274' -'219','val_219' -'239','val_239' -'485','val_485' -'116','val_116' -'223','val_223' -'256','val_256' -'263','val_263' -'70','val_70' -'487','val_487' -'480','val_480' -'401','val_401' -'288','val_288' -'191','val_191' -'5','val_5' -'244','val_244' -'438','val_438' -'128','val_128' -'467','val_467' -'432','val_432' -'202','val_202' -'316','val_316' -'229','val_229' -'469','val_469' -'463','val_463' -'280','val_280' -'2','val_2' -'35','val_35' -'283','val_283' -'331','val_331' -'235','val_235' -'80','val_80' -'44','val_44' -'193','val_193' -'321','val_321' -'335','val_335' -'104','val_104' -'466','val_466' -'366','val_366' -'175','val_175' -'403','val_403' -'483','val_483' -'53','val_53' -'105','val_105' -'257','val_257' -'406','val_406' -'409','val_409' -'190','val_190' -'406','val_406' -'401','val_401' -'114','val_114' -'258','val_258' -'90','val_90' -'203','val_203' -'262','val_262' -'348','val_348' -'424','val_424' -'12','val_12' -'396','val_396' -'201','val_201' -'217','val_217' -'164','val_164' -'431','val_431' -'454','val_454' -'478','val_478' -'298','val_298' -'125','val_125' -'431','val_431' -'164','val_164' -'424','val_424' -'187','val_187' -'382','val_382' -'5','val_5' -'70','val_70' -'397','val_397' -'480','val_480' -'291','val_291' -'24','val_24' -'351','val_351' -'255','val_255' -'104','val_104' -'70','val_70' -'163','val_163' -'438','val_438' -'119','val_119' -'414','val_414' -'200','val_200' -'491','val_491' -'237','val_237' -'439','val_439' -'360','val_360' -'248','val_248' -'479','val_479' -'305','val_305' -'417','val_417' -'199','val_199' -'444','val_444' -'120','val_120' -'429','val_429' -'169','val_169' -'443','val_443' -'323','val_323' -'325','val_325' -'277','val_277' -'230','val_230' -'478','val_478' -'178','val_178' -'468','val_468' -'310','val_310' -'317','val_317' -'333','val_333' -'493','val_493' -'460','val_460' -'207','val_207' -'249','val_249' -'265','val_265' -'480','val_480' -'83','val_83' -'136','val_136' -'353','val_353' -'172','val_172' -'214','val_214' -'462','val_462' -'233','val_233' -'406','val_406' -'133','val_133' -'175','val_175' -'189','val_189' -'454','val_454' -'375','val_375' -'401','val_401' -'421','val_421' -'407','val_407' -'384','val_384' -'256','val_256' -'26','val_26' -'134','val_134' -'67','val_67' -'384','val_384' -'379','val_379' -'18','val_18' -'462','val_462' -'492','val_492' -'100','val_100' -'298','val_298' -'9','val_9' -'341','val_341' -'498','val_498' -'146','val_146' -'458','val_458' -'362','val_362' -'186','val_186' -'285','val_285' -'348','val_348' -'167','val_167' -'18','val_18' -'273','val_273' -'183','val_183' -'281','val_281' -'344','val_344' -'97','val_97' -'469','val_469' -'315','val_315' -'84','val_84' -'28','val_28' -'37','val_37' -'448','val_448' -'152','val_152' -'348','val_348' -'307','val_307' -'194','val_194' -'414','val_414' -'477','val_477' -'222','val_222' -'126','val_126' -'90','val_90' -'169','val_169' -'403','val_403' -'400','val_400' -'200','val_200' -'97','val_97' -500 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/input35.q.out ql/src/test/results/beelinepositive/input35.q.out deleted file mode 100644 index 7d74e1b..0000000 --- ql/src/test/results/beelinepositive/input35.q.out +++ /dev/null @@ -1,640 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input35.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input35.q ->>> CREATE TABLE dest1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM ( -FROM src -SELECT TRANSFORM(src.key, src.value) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\002' -USING 'cat' -AS (tkey, tvalue) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\002' -) tmap -INSERT OVERWRITE TABLE dest1 SELECT tkey, tvalue; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TRANSFORM (TOK_EXPLIST (. (TOK_TABLE_OR_COL src) key) (. (TOK_TABLE_OR_COL src) value)) (TOK_SERDE (TOK_SERDEPROPS (TOK_TABLEROWFORMATFIELD '\002'))) TOK_RECORDWRITER 'cat' (TOK_SERDE (TOK_SERDEPROPS (TOK_TABLEROWFORMATFIELD '\002'))) TOK_RECORDREADER (TOK_ALIASLIST tkey tvalue)))))) tmap)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL tkey)) (TOK_SELEXPR (TOK_TABLE_OR_COL tvalue)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' tmap:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Transform Operator' -' command: cat' -' output info:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: input35.dest1' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: input35.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: input35.dest1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: input35.dest1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -110 rows selected ->>> ->>> FROM ( -FROM src -SELECT TRANSFORM(src.key, src.value) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\002' -USING 'cat' -AS (tkey, tvalue) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\002' -) tmap -INSERT OVERWRITE TABLE dest1 SELECT tkey, tvalue; -'_col0','_col1' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','value' -'238','val_238' -'86','val_86' -'311','val_311' -'27','val_27' -'165','val_165' -'409','val_409' -'255','val_255' -'278','val_278' -'98','val_98' -'484','val_484' -'265','val_265' -'193','val_193' -'401','val_401' -'150','val_150' -'273','val_273' -'224','val_224' -'369','val_369' -'66','val_66' -'128','val_128' -'213','val_213' -'146','val_146' -'406','val_406' -'429','val_429' -'374','val_374' -'152','val_152' -'469','val_469' -'145','val_145' -'495','val_495' -'37','val_37' -'327','val_327' -'281','val_281' -'277','val_277' -'209','val_209' -'15','val_15' -'82','val_82' -'403','val_403' -'166','val_166' -'417','val_417' -'430','val_430' -'252','val_252' -'292','val_292' -'219','val_219' -'287','val_287' -'153','val_153' -'193','val_193' -'338','val_338' -'446','val_446' -'459','val_459' -'394','val_394' -'237','val_237' -'482','val_482' -'174','val_174' -'413','val_413' -'494','val_494' -'207','val_207' -'199','val_199' -'466','val_466' -'208','val_208' -'174','val_174' -'399','val_399' -'396','val_396' -'247','val_247' -'417','val_417' -'489','val_489' -'162','val_162' -'377','val_377' -'397','val_397' -'309','val_309' -'365','val_365' -'266','val_266' -'439','val_439' -'342','val_342' -'367','val_367' -'325','val_325' -'167','val_167' -'195','val_195' -'475','val_475' -'17','val_17' -'113','val_113' -'155','val_155' -'203','val_203' -'339','val_339' -'0','val_0' -'455','val_455' -'128','val_128' -'311','val_311' -'316','val_316' -'57','val_57' -'302','val_302' -'205','val_205' -'149','val_149' -'438','val_438' -'345','val_345' -'129','val_129' -'170','val_170' -'20','val_20' -'489','val_489' -'157','val_157' -'378','val_378' -'221','val_221' -'92','val_92' -'111','val_111' -'47','val_47' -'72','val_72' -'4','val_4' -'280','val_280' -'35','val_35' -'427','val_427' -'277','val_277' -'208','val_208' -'356','val_356' -'399','val_399' -'169','val_169' -'382','val_382' -'498','val_498' -'125','val_125' -'386','val_386' -'437','val_437' -'469','val_469' -'192','val_192' -'286','val_286' -'187','val_187' -'176','val_176' -'54','val_54' -'459','val_459' -'51','val_51' -'138','val_138' -'103','val_103' -'239','val_239' -'213','val_213' -'216','val_216' -'430','val_430' -'278','val_278' -'176','val_176' -'289','val_289' -'221','val_221' -'65','val_65' -'318','val_318' -'332','val_332' -'311','val_311' -'275','val_275' -'137','val_137' -'241','val_241' -'83','val_83' -'333','val_333' -'180','val_180' -'284','val_284' -'12','val_12' -'230','val_230' -'181','val_181' -'67','val_67' -'260','val_260' -'404','val_404' -'384','val_384' -'489','val_489' -'353','val_353' -'373','val_373' -'272','val_272' -'138','val_138' -'217','val_217' -'84','val_84' -'348','val_348' -'466','val_466' -'58','val_58' -'8','val_8' -'411','val_411' -'230','val_230' -'208','val_208' -'348','val_348' -'24','val_24' -'463','val_463' -'431','val_431' -'179','val_179' -'172','val_172' -'42','val_42' -'129','val_129' -'158','val_158' -'119','val_119' -'496','val_496' -'0','val_0' -'322','val_322' -'197','val_197' -'468','val_468' -'393','val_393' -'454','val_454' -'100','val_100' -'298','val_298' -'199','val_199' -'191','val_191' -'418','val_418' -'96','val_96' -'26','val_26' -'165','val_165' -'327','val_327' -'230','val_230' -'205','val_205' -'120','val_120' -'131','val_131' -'51','val_51' -'404','val_404' -'43','val_43' -'436','val_436' -'156','val_156' -'469','val_469' -'468','val_468' -'308','val_308' -'95','val_95' -'196','val_196' -'288','val_288' -'481','val_481' -'457','val_457' -'98','val_98' -'282','val_282' -'197','val_197' -'187','val_187' -'318','val_318' -'318','val_318' -'409','val_409' -'470','val_470' -'137','val_137' -'369','val_369' -'316','val_316' -'169','val_169' -'413','val_413' -'85','val_85' -'77','val_77' -'0','val_0' -'490','val_490' -'87','val_87' -'364','val_364' -'179','val_179' -'118','val_118' -'134','val_134' -'395','val_395' -'282','val_282' -'138','val_138' -'238','val_238' -'419','val_419' -'15','val_15' -'118','val_118' -'72','val_72' -'90','val_90' -'307','val_307' -'19','val_19' -'435','val_435' -'10','val_10' -'277','val_277' -'273','val_273' -'306','val_306' -'224','val_224' -'309','val_309' -'389','val_389' -'327','val_327' -'242','val_242' -'369','val_369' -'392','val_392' -'272','val_272' -'331','val_331' -'401','val_401' -'242','val_242' -'452','val_452' -'177','val_177' -'226','val_226' -'5','val_5' -'497','val_497' -'402','val_402' -'396','val_396' -'317','val_317' -'395','val_395' -'58','val_58' -'35','val_35' -'336','val_336' -'95','val_95' -'11','val_11' -'168','val_168' -'34','val_34' -'229','val_229' -'233','val_233' -'143','val_143' -'472','val_472' -'322','val_322' -'498','val_498' -'160','val_160' -'195','val_195' -'42','val_42' -'321','val_321' -'430','val_430' -'119','val_119' -'489','val_489' -'458','val_458' -'78','val_78' -'76','val_76' -'41','val_41' -'223','val_223' -'492','val_492' -'149','val_149' -'449','val_449' -'218','val_218' -'228','val_228' -'138','val_138' -'453','val_453' -'30','val_30' -'209','val_209' -'64','val_64' -'468','val_468' -'76','val_76' -'74','val_74' -'342','val_342' -'69','val_69' -'230','val_230' -'33','val_33' -'368','val_368' -'103','val_103' -'296','val_296' -'113','val_113' -'216','val_216' -'367','val_367' -'344','val_344' -'167','val_167' -'274','val_274' -'219','val_219' -'239','val_239' -'485','val_485' -'116','val_116' -'223','val_223' -'256','val_256' -'263','val_263' -'70','val_70' -'487','val_487' -'480','val_480' -'401','val_401' -'288','val_288' -'191','val_191' -'5','val_5' -'244','val_244' -'438','val_438' -'128','val_128' -'467','val_467' -'432','val_432' -'202','val_202' -'316','val_316' -'229','val_229' -'469','val_469' -'463','val_463' -'280','val_280' -'2','val_2' -'35','val_35' -'283','val_283' -'331','val_331' -'235','val_235' -'80','val_80' -'44','val_44' -'193','val_193' -'321','val_321' -'335','val_335' -'104','val_104' -'466','val_466' -'366','val_366' -'175','val_175' -'403','val_403' -'483','val_483' -'53','val_53' -'105','val_105' -'257','val_257' -'406','val_406' -'409','val_409' -'190','val_190' -'406','val_406' -'401','val_401' -'114','val_114' -'258','val_258' -'90','val_90' -'203','val_203' -'262','val_262' -'348','val_348' -'424','val_424' -'12','val_12' -'396','val_396' -'201','val_201' -'217','val_217' -'164','val_164' -'431','val_431' -'454','val_454' -'478','val_478' -'298','val_298' -'125','val_125' -'431','val_431' -'164','val_164' -'424','val_424' -'187','val_187' -'382','val_382' -'5','val_5' -'70','val_70' -'397','val_397' -'480','val_480' -'291','val_291' -'24','val_24' -'351','val_351' -'255','val_255' -'104','val_104' -'70','val_70' -'163','val_163' -'438','val_438' -'119','val_119' -'414','val_414' -'200','val_200' -'491','val_491' -'237','val_237' -'439','val_439' -'360','val_360' -'248','val_248' -'479','val_479' -'305','val_305' -'417','val_417' -'199','val_199' -'444','val_444' -'120','val_120' -'429','val_429' -'169','val_169' -'443','val_443' -'323','val_323' -'325','val_325' -'277','val_277' -'230','val_230' -'478','val_478' -'178','val_178' -'468','val_468' -'310','val_310' -'317','val_317' -'333','val_333' -'493','val_493' -'460','val_460' -'207','val_207' -'249','val_249' -'265','val_265' -'480','val_480' -'83','val_83' -'136','val_136' -'353','val_353' -'172','val_172' -'214','val_214' -'462','val_462' -'233','val_233' -'406','val_406' -'133','val_133' -'175','val_175' -'189','val_189' -'454','val_454' -'375','val_375' -'401','val_401' -'421','val_421' -'407','val_407' -'384','val_384' -'256','val_256' -'26','val_26' -'134','val_134' -'67','val_67' -'384','val_384' -'379','val_379' -'18','val_18' -'462','val_462' -'492','val_492' -'100','val_100' -'298','val_298' -'9','val_9' -'341','val_341' -'498','val_498' -'146','val_146' -'458','val_458' -'362','val_362' -'186','val_186' -'285','val_285' -'348','val_348' -'167','val_167' -'18','val_18' -'273','val_273' -'183','val_183' -'281','val_281' -'344','val_344' -'97','val_97' -'469','val_469' -'315','val_315' -'84','val_84' -'28','val_28' -'37','val_37' -'448','val_448' -'152','val_152' -'348','val_348' -'307','val_307' -'194','val_194' -'414','val_414' -'477','val_477' -'222','val_222' -'126','val_126' -'90','val_90' -'169','val_169' -'403','val_403' -'400','val_400' -'200','val_200' -'97','val_97' -500 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/input36.q.out ql/src/test/results/beelinepositive/input36.q.out deleted file mode 100644 index f48eb1a..0000000 --- ql/src/test/results/beelinepositive/input36.q.out +++ /dev/null @@ -1,640 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input36.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input36.q ->>> CREATE TABLE dest1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM ( -FROM src -SELECT TRANSFORM(src.key, src.value) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\002' -USING 'cat' -AS (tkey, tvalue) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\003' -) tmap -INSERT OVERWRITE TABLE dest1 SELECT tkey, tvalue; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TRANSFORM (TOK_EXPLIST (. (TOK_TABLE_OR_COL src) key) (. (TOK_TABLE_OR_COL src) value)) (TOK_SERDE (TOK_SERDEPROPS (TOK_TABLEROWFORMATFIELD '\002'))) TOK_RECORDWRITER 'cat' (TOK_SERDE (TOK_SERDEPROPS (TOK_TABLEROWFORMATFIELD '\003'))) TOK_RECORDREADER (TOK_ALIASLIST tkey tvalue)))))) tmap)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL tkey)) (TOK_SELEXPR (TOK_TABLE_OR_COL tvalue)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' tmap:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Transform Operator' -' command: cat' -' output info:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: input36.dest1' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: input36.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: input36.dest1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: input36.dest1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -110 rows selected ->>> ->>> FROM ( -FROM src -SELECT TRANSFORM(src.key, src.value) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\002' -USING 'cat' -AS (tkey, tvalue) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\003' -) tmap -INSERT OVERWRITE TABLE dest1 SELECT tkey, tvalue; -'_col0','_col1' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','value' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -'','' -500 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/input37.q.out ql/src/test/results/beelinepositive/input37.q.out deleted file mode 100644 index 676b72d..0000000 --- ql/src/test/results/beelinepositive/input37.q.out +++ /dev/null @@ -1,25 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input37.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input37.q ->>> create table documents(contents string) stored as textfile; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/docurl.txt' INTO TABLE documents; -No rows affected ->>> ->>> ->>> select url, count(1) -FROM -( -FROM documents -MAP documents.contents -USING 'java -cp ../util/target/classes/ org.apache.hadoop.hive.scripts.extracturl' AS (url, count) -) subq -group by url; -'url','_c1' -'1uauniajqtunlsvadmxhlxvngxpqjuzbpzvdiwmzphmbaicduzkgxgtdeiunduosu.html','4' -'4uzsbtwvdypfitqfqdjosynqp.html','4' -2 rows selected ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/input38.q.out ql/src/test/results/beelinepositive/input38.q.out deleted file mode 100644 index 52cfe72..0000000 --- ql/src/test/results/beelinepositive/input38.q.out +++ /dev/null @@ -1,639 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input38.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input38.q ->>> ->>> CREATE TABLE dest1(key STRING, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM ( -FROM src -SELECT TRANSFORM(src.key, src.value, 1+2, 3+4) -USING 'cat' -) tmap -INSERT OVERWRITE TABLE dest1 SELECT tmap.key, tmap.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TRANSFORM (TOK_EXPLIST (. (TOK_TABLE_OR_COL src) key) (. (TOK_TABLE_OR_COL src) value) (+ 1 2) (+ 3 4)) TOK_SERDE TOK_RECORDWRITER 'cat' TOK_SERDE TOK_RECORDREADER))))) tmap)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL tmap) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL tmap) value)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' tmap:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: (1 + 2)' -' type: int' -' expr: (3 + 4)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Transform Operator' -' command: cat' -' output info:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: input38.dest1' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: input38.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: input38.dest1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: input38.dest1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -107 rows selected ->>> ->>> FROM ( -FROM src -SELECT TRANSFORM(src.key, src.value, 1+2, 3+4) -USING 'cat' -) tmap -INSERT OVERWRITE TABLE dest1 SELECT tmap.key, tmap.value; -'key','value' -No rows selected ->>> ->>> ->>> SELECT dest1.* FROM dest1; -'key','value' -'238','val_238 3 7' -'86','val_86 3 7' -'311','val_311 3 7' -'27','val_27 3 7' -'165','val_165 3 7' -'409','val_409 3 7' -'255','val_255 3 7' -'278','val_278 3 7' -'98','val_98 3 7' -'484','val_484 3 7' -'265','val_265 3 7' -'193','val_193 3 7' -'401','val_401 3 7' -'150','val_150 3 7' -'273','val_273 3 7' -'224','val_224 3 7' -'369','val_369 3 7' -'66','val_66 3 7' -'128','val_128 3 7' -'213','val_213 3 7' -'146','val_146 3 7' -'406','val_406 3 7' -'429','val_429 3 7' -'374','val_374 3 7' -'152','val_152 3 7' -'469','val_469 3 7' -'145','val_145 3 7' -'495','val_495 3 7' -'37','val_37 3 7' -'327','val_327 3 7' -'281','val_281 3 7' -'277','val_277 3 7' -'209','val_209 3 7' -'15','val_15 3 7' -'82','val_82 3 7' -'403','val_403 3 7' -'166','val_166 3 7' -'417','val_417 3 7' -'430','val_430 3 7' -'252','val_252 3 7' -'292','val_292 3 7' -'219','val_219 3 7' -'287','val_287 3 7' -'153','val_153 3 7' -'193','val_193 3 7' -'338','val_338 3 7' -'446','val_446 3 7' -'459','val_459 3 7' -'394','val_394 3 7' -'237','val_237 3 7' -'482','val_482 3 7' -'174','val_174 3 7' -'413','val_413 3 7' -'494','val_494 3 7' -'207','val_207 3 7' -'199','val_199 3 7' -'466','val_466 3 7' -'208','val_208 3 7' -'174','val_174 3 7' -'399','val_399 3 7' -'396','val_396 3 7' -'247','val_247 3 7' -'417','val_417 3 7' -'489','val_489 3 7' -'162','val_162 3 7' -'377','val_377 3 7' -'397','val_397 3 7' -'309','val_309 3 7' -'365','val_365 3 7' -'266','val_266 3 7' -'439','val_439 3 7' -'342','val_342 3 7' -'367','val_367 3 7' -'325','val_325 3 7' -'167','val_167 3 7' -'195','val_195 3 7' -'475','val_475 3 7' -'17','val_17 3 7' -'113','val_113 3 7' -'155','val_155 3 7' -'203','val_203 3 7' -'339','val_339 3 7' -'0','val_0 3 7' -'455','val_455 3 7' -'128','val_128 3 7' -'311','val_311 3 7' -'316','val_316 3 7' -'57','val_57 3 7' -'302','val_302 3 7' -'205','val_205 3 7' -'149','val_149 3 7' -'438','val_438 3 7' -'345','val_345 3 7' -'129','val_129 3 7' -'170','val_170 3 7' -'20','val_20 3 7' -'489','val_489 3 7' -'157','val_157 3 7' -'378','val_378 3 7' -'221','val_221 3 7' -'92','val_92 3 7' -'111','val_111 3 7' -'47','val_47 3 7' -'72','val_72 3 7' -'4','val_4 3 7' -'280','val_280 3 7' -'35','val_35 3 7' -'427','val_427 3 7' -'277','val_277 3 7' -'208','val_208 3 7' -'356','val_356 3 7' -'399','val_399 3 7' -'169','val_169 3 7' -'382','val_382 3 7' -'498','val_498 3 7' -'125','val_125 3 7' -'386','val_386 3 7' -'437','val_437 3 7' -'469','val_469 3 7' -'192','val_192 3 7' -'286','val_286 3 7' -'187','val_187 3 7' -'176','val_176 3 7' -'54','val_54 3 7' -'459','val_459 3 7' -'51','val_51 3 7' -'138','val_138 3 7' -'103','val_103 3 7' -'239','val_239 3 7' -'213','val_213 3 7' -'216','val_216 3 7' -'430','val_430 3 7' -'278','val_278 3 7' -'176','val_176 3 7' -'289','val_289 3 7' -'221','val_221 3 7' -'65','val_65 3 7' -'318','val_318 3 7' -'332','val_332 3 7' -'311','val_311 3 7' -'275','val_275 3 7' -'137','val_137 3 7' -'241','val_241 3 7' -'83','val_83 3 7' -'333','val_333 3 7' -'180','val_180 3 7' -'284','val_284 3 7' -'12','val_12 3 7' -'230','val_230 3 7' -'181','val_181 3 7' -'67','val_67 3 7' -'260','val_260 3 7' -'404','val_404 3 7' -'384','val_384 3 7' -'489','val_489 3 7' -'353','val_353 3 7' -'373','val_373 3 7' -'272','val_272 3 7' -'138','val_138 3 7' -'217','val_217 3 7' -'84','val_84 3 7' -'348','val_348 3 7' -'466','val_466 3 7' -'58','val_58 3 7' -'8','val_8 3 7' -'411','val_411 3 7' -'230','val_230 3 7' -'208','val_208 3 7' -'348','val_348 3 7' -'24','val_24 3 7' -'463','val_463 3 7' -'431','val_431 3 7' -'179','val_179 3 7' -'172','val_172 3 7' -'42','val_42 3 7' -'129','val_129 3 7' -'158','val_158 3 7' -'119','val_119 3 7' -'496','val_496 3 7' -'0','val_0 3 7' -'322','val_322 3 7' -'197','val_197 3 7' -'468','val_468 3 7' -'393','val_393 3 7' -'454','val_454 3 7' -'100','val_100 3 7' -'298','val_298 3 7' -'199','val_199 3 7' -'191','val_191 3 7' -'418','val_418 3 7' -'96','val_96 3 7' -'26','val_26 3 7' -'165','val_165 3 7' -'327','val_327 3 7' -'230','val_230 3 7' -'205','val_205 3 7' -'120','val_120 3 7' -'131','val_131 3 7' -'51','val_51 3 7' -'404','val_404 3 7' -'43','val_43 3 7' -'436','val_436 3 7' -'156','val_156 3 7' -'469','val_469 3 7' -'468','val_468 3 7' -'308','val_308 3 7' -'95','val_95 3 7' -'196','val_196 3 7' -'288','val_288 3 7' -'481','val_481 3 7' -'457','val_457 3 7' -'98','val_98 3 7' -'282','val_282 3 7' -'197','val_197 3 7' -'187','val_187 3 7' -'318','val_318 3 7' -'318','val_318 3 7' -'409','val_409 3 7' -'470','val_470 3 7' -'137','val_137 3 7' -'369','val_369 3 7' -'316','val_316 3 7' -'169','val_169 3 7' -'413','val_413 3 7' -'85','val_85 3 7' -'77','val_77 3 7' -'0','val_0 3 7' -'490','val_490 3 7' -'87','val_87 3 7' -'364','val_364 3 7' -'179','val_179 3 7' -'118','val_118 3 7' -'134','val_134 3 7' -'395','val_395 3 7' -'282','val_282 3 7' -'138','val_138 3 7' -'238','val_238 3 7' -'419','val_419 3 7' -'15','val_15 3 7' -'118','val_118 3 7' -'72','val_72 3 7' -'90','val_90 3 7' -'307','val_307 3 7' -'19','val_19 3 7' -'435','val_435 3 7' -'10','val_10 3 7' -'277','val_277 3 7' -'273','val_273 3 7' -'306','val_306 3 7' -'224','val_224 3 7' -'309','val_309 3 7' -'389','val_389 3 7' -'327','val_327 3 7' -'242','val_242 3 7' -'369','val_369 3 7' -'392','val_392 3 7' -'272','val_272 3 7' -'331','val_331 3 7' -'401','val_401 3 7' -'242','val_242 3 7' -'452','val_452 3 7' -'177','val_177 3 7' -'226','val_226 3 7' -'5','val_5 3 7' -'497','val_497 3 7' -'402','val_402 3 7' -'396','val_396 3 7' -'317','val_317 3 7' -'395','val_395 3 7' -'58','val_58 3 7' -'35','val_35 3 7' -'336','val_336 3 7' -'95','val_95 3 7' -'11','val_11 3 7' -'168','val_168 3 7' -'34','val_34 3 7' -'229','val_229 3 7' -'233','val_233 3 7' -'143','val_143 3 7' -'472','val_472 3 7' -'322','val_322 3 7' -'498','val_498 3 7' -'160','val_160 3 7' -'195','val_195 3 7' -'42','val_42 3 7' -'321','val_321 3 7' -'430','val_430 3 7' -'119','val_119 3 7' -'489','val_489 3 7' -'458','val_458 3 7' -'78','val_78 3 7' -'76','val_76 3 7' -'41','val_41 3 7' -'223','val_223 3 7' -'492','val_492 3 7' -'149','val_149 3 7' -'449','val_449 3 7' -'218','val_218 3 7' -'228','val_228 3 7' -'138','val_138 3 7' -'453','val_453 3 7' -'30','val_30 3 7' -'209','val_209 3 7' -'64','val_64 3 7' -'468','val_468 3 7' -'76','val_76 3 7' -'74','val_74 3 7' -'342','val_342 3 7' -'69','val_69 3 7' -'230','val_230 3 7' -'33','val_33 3 7' -'368','val_368 3 7' -'103','val_103 3 7' -'296','val_296 3 7' -'113','val_113 3 7' -'216','val_216 3 7' -'367','val_367 3 7' -'344','val_344 3 7' -'167','val_167 3 7' -'274','val_274 3 7' -'219','val_219 3 7' -'239','val_239 3 7' -'485','val_485 3 7' -'116','val_116 3 7' -'223','val_223 3 7' -'256','val_256 3 7' -'263','val_263 3 7' -'70','val_70 3 7' -'487','val_487 3 7' -'480','val_480 3 7' -'401','val_401 3 7' -'288','val_288 3 7' -'191','val_191 3 7' -'5','val_5 3 7' -'244','val_244 3 7' -'438','val_438 3 7' -'128','val_128 3 7' -'467','val_467 3 7' -'432','val_432 3 7' -'202','val_202 3 7' -'316','val_316 3 7' -'229','val_229 3 7' -'469','val_469 3 7' -'463','val_463 3 7' -'280','val_280 3 7' -'2','val_2 3 7' -'35','val_35 3 7' -'283','val_283 3 7' -'331','val_331 3 7' -'235','val_235 3 7' -'80','val_80 3 7' -'44','val_44 3 7' -'193','val_193 3 7' -'321','val_321 3 7' -'335','val_335 3 7' -'104','val_104 3 7' -'466','val_466 3 7' -'366','val_366 3 7' -'175','val_175 3 7' -'403','val_403 3 7' -'483','val_483 3 7' -'53','val_53 3 7' -'105','val_105 3 7' -'257','val_257 3 7' -'406','val_406 3 7' -'409','val_409 3 7' -'190','val_190 3 7' -'406','val_406 3 7' -'401','val_401 3 7' -'114','val_114 3 7' -'258','val_258 3 7' -'90','val_90 3 7' -'203','val_203 3 7' -'262','val_262 3 7' -'348','val_348 3 7' -'424','val_424 3 7' -'12','val_12 3 7' -'396','val_396 3 7' -'201','val_201 3 7' -'217','val_217 3 7' -'164','val_164 3 7' -'431','val_431 3 7' -'454','val_454 3 7' -'478','val_478 3 7' -'298','val_298 3 7' -'125','val_125 3 7' -'431','val_431 3 7' -'164','val_164 3 7' -'424','val_424 3 7' -'187','val_187 3 7' -'382','val_382 3 7' -'5','val_5 3 7' -'70','val_70 3 7' -'397','val_397 3 7' -'480','val_480 3 7' -'291','val_291 3 7' -'24','val_24 3 7' -'351','val_351 3 7' -'255','val_255 3 7' -'104','val_104 3 7' -'70','val_70 3 7' -'163','val_163 3 7' -'438','val_438 3 7' -'119','val_119 3 7' -'414','val_414 3 7' -'200','val_200 3 7' -'491','val_491 3 7' -'237','val_237 3 7' -'439','val_439 3 7' -'360','val_360 3 7' -'248','val_248 3 7' -'479','val_479 3 7' -'305','val_305 3 7' -'417','val_417 3 7' -'199','val_199 3 7' -'444','val_444 3 7' -'120','val_120 3 7' -'429','val_429 3 7' -'169','val_169 3 7' -'443','val_443 3 7' -'323','val_323 3 7' -'325','val_325 3 7' -'277','val_277 3 7' -'230','val_230 3 7' -'478','val_478 3 7' -'178','val_178 3 7' -'468','val_468 3 7' -'310','val_310 3 7' -'317','val_317 3 7' -'333','val_333 3 7' -'493','val_493 3 7' -'460','val_460 3 7' -'207','val_207 3 7' -'249','val_249 3 7' -'265','val_265 3 7' -'480','val_480 3 7' -'83','val_83 3 7' -'136','val_136 3 7' -'353','val_353 3 7' -'172','val_172 3 7' -'214','val_214 3 7' -'462','val_462 3 7' -'233','val_233 3 7' -'406','val_406 3 7' -'133','val_133 3 7' -'175','val_175 3 7' -'189','val_189 3 7' -'454','val_454 3 7' -'375','val_375 3 7' -'401','val_401 3 7' -'421','val_421 3 7' -'407','val_407 3 7' -'384','val_384 3 7' -'256','val_256 3 7' -'26','val_26 3 7' -'134','val_134 3 7' -'67','val_67 3 7' -'384','val_384 3 7' -'379','val_379 3 7' -'18','val_18 3 7' -'462','val_462 3 7' -'492','val_492 3 7' -'100','val_100 3 7' -'298','val_298 3 7' -'9','val_9 3 7' -'341','val_341 3 7' -'498','val_498 3 7' -'146','val_146 3 7' -'458','val_458 3 7' -'362','val_362 3 7' -'186','val_186 3 7' -'285','val_285 3 7' -'348','val_348 3 7' -'167','val_167 3 7' -'18','val_18 3 7' -'273','val_273 3 7' -'183','val_183 3 7' -'281','val_281 3 7' -'344','val_344 3 7' -'97','val_97 3 7' -'469','val_469 3 7' -'315','val_315 3 7' -'84','val_84 3 7' -'28','val_28 3 7' -'37','val_37 3 7' -'448','val_448 3 7' -'152','val_152 3 7' -'348','val_348 3 7' -'307','val_307 3 7' -'194','val_194 3 7' -'414','val_414 3 7' -'477','val_477 3 7' -'222','val_222 3 7' -'126','val_126 3 7' -'90','val_90 3 7' -'169','val_169 3 7' -'403','val_403 3 7' -'400','val_400 3 7' -'200','val_200 3 7' -'97','val_97 3 7' -500 rows selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/input39.q.out ql/src/test/results/beelinepositive/input39.q.out deleted file mode 100644 index 7ba00a8..0000000 --- ql/src/test/results/beelinepositive/input39.q.out +++ /dev/null @@ -1,161 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input39.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input39.q ->>> ->>> ->>> ->>> create table t1(key string, value string) partitioned by (ds string); -No rows affected ->>> create table t2(key string, value string) partitioned by (ds string); -No rows affected ->>> ->>> insert overwrite table t1 partition (ds='1') -select key, value from src; -'key','value' -No rows selected ->>> ->>> insert overwrite table t1 partition (ds='2') -select key, value from src; -'key','value' -No rows selected ->>> ->>> insert overwrite table t2 partition (ds='1') -select key, value from src; -'key','value' -No rows selected ->>> ->>> set hive.test.mode=true; -No rows affected ->>> set hive.mapred.mode=strict; -No rows affected ->>> set mapred.job.tracker=does.notexist.com:666; -No rows affected ->>> set hive.exec.mode.local.auto=true; -No rows affected ->>> ->>> explain -select count(1) from t1 join t2 on t1.key=t2.key where t1.ds='1' and t2.ds='1'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME t1)) (TOK_TABREF (TOK_TABNAME t2)) (= (. (TOK_TABLE_OR_COL t1) key) (. (TOK_TABLE_OR_COL t2) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_WHERE (and (= (. (TOK_TABLE_OR_COL t1) ds) '1') (= (. (TOK_TABLE_OR_COL t2) ds) '1')))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' t1 ' -' TableScan' -' alias: t1' -' Filter Operator' -' predicate:' -' expr: (((hash(rand(460476415)) & 2147483647) % 32) = 0)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: ds' -' type: string' -' t2 ' -' TableScan' -' alias: t2' -' Filter Operator' -' predicate:' -' expr: (((hash(rand(460476415)) & 2147483647) % 32) = 0)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: ds' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col2}' -' 1 {VALUE._col2}' -' handleSkewJoin: false' -' outputColumnNames: _col2, _col7' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -107 rows selected ->>> ->>> select count(1) from t1 join t2 on t1.key=t2.key where t1.ds='1' and t2.ds='1'; -'_c0' -'18' -1 row selected ->>> ->>> set hive.test.mode=false; -No rows affected ->>> set mapred.job.tracker; -'set' -'mapred.job.tracker=does.notexist.com:666' -1 row selected ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/input3_limit.q.out ql/src/test/results/beelinepositive/input3_limit.q.out deleted file mode 100644 index 13c1992..0000000 --- ql/src/test/results/beelinepositive/input3_limit.q.out +++ /dev/null @@ -1,144 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input3_limit.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input3_limit.q ->>> ->>> CREATE TABLE T1(key STRING, value STRING) STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/kv1.txt' INTO TABLE T1; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/kv2.txt' INTO TABLE T1; -No rows affected ->>> ->>> ->>> CREATE TABLE T2(key STRING, value STRING); -No rows affected ->>> ->>> EXPLAIN -INSERT OVERWRITE TABLE T2 SELECT * FROM (SELECT * FROM T1 DISTRIBUTE BY key SORT BY key, value) T LIMIT 20; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_DISTRIBUTEBY (TOK_TABLE_OR_COL key)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value))))) T)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME T2))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_LIMIT 20)))' -'' -'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' -' Map Reduce' -' Alias -> Map Operator Tree:' -' t:t1 ' -' TableScan' -' alias: t1' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: input3_limit.t2' -'' -' 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: input3_limit.t2' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -'' -94 rows selected ->>> ->>> INSERT OVERWRITE TABLE T2 SELECT * FROM (SELECT * FROM T1 DISTRIBUTE BY key SORT BY key, value) T LIMIT 20; -'key','value' -No rows selected ->>> ->>> SELECT * FROM T2 SORT BY key, value; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_1' -'0','val_1' -'1','val_2' -'10','val_10' -'10','val_11' -'100','val_100' -'100','val_100' -'100','val_101' -'100','val_101' -'101','val_102' -'102','val_103' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -'104','val_105' -'104','val_105' -20 rows selected ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/input4.q.out ql/src/test/results/beelinepositive/input4.q.out deleted file mode 100644 index dcbfd96..0000000 --- ql/src/test/results/beelinepositive/input4.q.out +++ /dev/null @@ -1,548 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input4.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input4.q ->>> CREATE TABLE INPUT4(KEY STRING, VALUE STRING) STORED AS TEXTFILE; -No rows affected ->>> EXPLAIN -LOAD DATA LOCAL INPATH '../data/files/kv1.txt' INTO TABLE INPUT4; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_LOAD '../data/files/kv1.txt' (TOK_TAB (TOK_TABNAME INPUT4)) LOCAL)' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -' Stage-1 depends on stages: Stage-0' -' Stage-2 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Copy' -' source: file:!!{hive.root}!!/data/files/kv1.txt' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' Move Operator' -' tables:' -' replace: 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: input4.input4' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -28 rows selected ->>> LOAD DATA LOCAL INPATH '../data/files/kv1.txt' INTO TABLE INPUT4; -No rows affected ->>> EXPLAIN FORMATTED -SELECT INPUT4.VALUE, INPUT4.KEY FROM INPUT4; -'Explain' -'{"STAGE PLANS":{"Stage-1":{"Map Reduce":{"Alias -> Map Operator Tree:":{"input4":{"TS_!!ELIDED!!":{"SEL_!!ELIDED!!":{"FS_!!ELIDED!!":{"File Output Operator":{"GlobalTableId:":"0","compressed:":"false","table:":{"input format:":"org.apache.hadoop.mapred.TextInputFormat","output format:":"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat"}}}}}}},"Percentage Sample:":{}}},"Stage-0":{"Fetch Operator":{"limit:":"-1"}}},"STAGE DEPENDENCIES":{"Stage-1":{"ROOT STAGE":"TRUE"},"Stage-0":{"ROOT STAGE":"TRUE"}},"ABSTRACT SYNTAX TREE":"(TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME INPUT4))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL INPUT4) VALUE)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL INPUT4) KEY)))))"}' -1 row selected ->>> SELECT INPUT4.VALUE, INPUT4.KEY FROM INPUT4; -'value','key' -'val_238','238' -'val_86','86' -'val_311','311' -'val_27','27' -'val_165','165' -'val_409','409' -'val_255','255' -'val_278','278' -'val_98','98' -'val_484','484' -'val_265','265' -'val_193','193' -'val_401','401' -'val_150','150' -'val_273','273' -'val_224','224' -'val_369','369' -'val_66','66' -'val_128','128' -'val_213','213' -'val_146','146' -'val_406','406' -'val_429','429' -'val_374','374' -'val_152','152' -'val_469','469' -'val_145','145' -'val_495','495' -'val_37','37' -'val_327','327' -'val_281','281' -'val_277','277' -'val_209','209' -'val_15','15' -'val_82','82' -'val_403','403' -'val_166','166' -'val_417','417' -'val_430','430' -'val_252','252' -'val_292','292' -'val_219','219' -'val_287','287' -'val_153','153' -'val_193','193' -'val_338','338' -'val_446','446' -'val_459','459' -'val_394','394' -'val_237','237' -'val_482','482' -'val_174','174' -'val_413','413' -'val_494','494' -'val_207','207' -'val_199','199' -'val_466','466' -'val_208','208' -'val_174','174' -'val_399','399' -'val_396','396' -'val_247','247' -'val_417','417' -'val_489','489' -'val_162','162' -'val_377','377' -'val_397','397' -'val_309','309' -'val_365','365' -'val_266','266' -'val_439','439' -'val_342','342' -'val_367','367' -'val_325','325' -'val_167','167' -'val_195','195' -'val_475','475' -'val_17','17' -'val_113','113' -'val_155','155' -'val_203','203' -'val_339','339' -'val_0','0' -'val_455','455' -'val_128','128' -'val_311','311' -'val_316','316' -'val_57','57' -'val_302','302' -'val_205','205' -'val_149','149' -'val_438','438' -'val_345','345' -'val_129','129' -'val_170','170' -'val_20','20' -'val_489','489' -'val_157','157' -'val_378','378' -'val_221','221' -'val_92','92' -'val_111','111' -'val_47','47' -'val_72','72' -'val_4','4' -'val_280','280' -'val_35','35' -'val_427','427' -'val_277','277' -'val_208','208' -'val_356','356' -'val_399','399' -'val_169','169' -'val_382','382' -'val_498','498' -'val_125','125' -'val_386','386' -'val_437','437' -'val_469','469' -'val_192','192' -'val_286','286' -'val_187','187' -'val_176','176' -'val_54','54' -'val_459','459' -'val_51','51' -'val_138','138' -'val_103','103' -'val_239','239' -'val_213','213' -'val_216','216' -'val_430','430' -'val_278','278' -'val_176','176' -'val_289','289' -'val_221','221' -'val_65','65' -'val_318','318' -'val_332','332' -'val_311','311' -'val_275','275' -'val_137','137' -'val_241','241' -'val_83','83' -'val_333','333' -'val_180','180' -'val_284','284' -'val_12','12' -'val_230','230' -'val_181','181' -'val_67','67' -'val_260','260' -'val_404','404' -'val_384','384' -'val_489','489' -'val_353','353' -'val_373','373' -'val_272','272' -'val_138','138' -'val_217','217' -'val_84','84' -'val_348','348' -'val_466','466' -'val_58','58' -'val_8','8' -'val_411','411' -'val_230','230' -'val_208','208' -'val_348','348' -'val_24','24' -'val_463','463' -'val_431','431' -'val_179','179' -'val_172','172' -'val_42','42' -'val_129','129' -'val_158','158' -'val_119','119' -'val_496','496' -'val_0','0' -'val_322','322' -'val_197','197' -'val_468','468' -'val_393','393' -'val_454','454' -'val_100','100' -'val_298','298' -'val_199','199' -'val_191','191' -'val_418','418' -'val_96','96' -'val_26','26' -'val_165','165' -'val_327','327' -'val_230','230' -'val_205','205' -'val_120','120' -'val_131','131' -'val_51','51' -'val_404','404' -'val_43','43' -'val_436','436' -'val_156','156' -'val_469','469' -'val_468','468' -'val_308','308' -'val_95','95' -'val_196','196' -'val_288','288' -'val_481','481' -'val_457','457' -'val_98','98' -'val_282','282' -'val_197','197' -'val_187','187' -'val_318','318' -'val_318','318' -'val_409','409' -'val_470','470' -'val_137','137' -'val_369','369' -'val_316','316' -'val_169','169' -'val_413','413' -'val_85','85' -'val_77','77' -'val_0','0' -'val_490','490' -'val_87','87' -'val_364','364' -'val_179','179' -'val_118','118' -'val_134','134' -'val_395','395' -'val_282','282' -'val_138','138' -'val_238','238' -'val_419','419' -'val_15','15' -'val_118','118' -'val_72','72' -'val_90','90' -'val_307','307' -'val_19','19' -'val_435','435' -'val_10','10' -'val_277','277' -'val_273','273' -'val_306','306' -'val_224','224' -'val_309','309' -'val_389','389' -'val_327','327' -'val_242','242' -'val_369','369' -'val_392','392' -'val_272','272' -'val_331','331' -'val_401','401' -'val_242','242' -'val_452','452' -'val_177','177' -'val_226','226' -'val_5','5' -'val_497','497' -'val_402','402' -'val_396','396' -'val_317','317' -'val_395','395' -'val_58','58' -'val_35','35' -'val_336','336' -'val_95','95' -'val_11','11' -'val_168','168' -'val_34','34' -'val_229','229' -'val_233','233' -'val_143','143' -'val_472','472' -'val_322','322' -'val_498','498' -'val_160','160' -'val_195','195' -'val_42','42' -'val_321','321' -'val_430','430' -'val_119','119' -'val_489','489' -'val_458','458' -'val_78','78' -'val_76','76' -'val_41','41' -'val_223','223' -'val_492','492' -'val_149','149' -'val_449','449' -'val_218','218' -'val_228','228' -'val_138','138' -'val_453','453' -'val_30','30' -'val_209','209' -'val_64','64' -'val_468','468' -'val_76','76' -'val_74','74' -'val_342','342' -'val_69','69' -'val_230','230' -'val_33','33' -'val_368','368' -'val_103','103' -'val_296','296' -'val_113','113' -'val_216','216' -'val_367','367' -'val_344','344' -'val_167','167' -'val_274','274' -'val_219','219' -'val_239','239' -'val_485','485' -'val_116','116' -'val_223','223' -'val_256','256' -'val_263','263' -'val_70','70' -'val_487','487' -'val_480','480' -'val_401','401' -'val_288','288' -'val_191','191' -'val_5','5' -'val_244','244' -'val_438','438' -'val_128','128' -'val_467','467' -'val_432','432' -'val_202','202' -'val_316','316' -'val_229','229' -'val_469','469' -'val_463','463' -'val_280','280' -'val_2','2' -'val_35','35' -'val_283','283' -'val_331','331' -'val_235','235' -'val_80','80' -'val_44','44' -'val_193','193' -'val_321','321' -'val_335','335' -'val_104','104' -'val_466','466' -'val_366','366' -'val_175','175' -'val_403','403' -'val_483','483' -'val_53','53' -'val_105','105' -'val_257','257' -'val_406','406' -'val_409','409' -'val_190','190' -'val_406','406' -'val_401','401' -'val_114','114' -'val_258','258' -'val_90','90' -'val_203','203' -'val_262','262' -'val_348','348' -'val_424','424' -'val_12','12' -'val_396','396' -'val_201','201' -'val_217','217' -'val_164','164' -'val_431','431' -'val_454','454' -'val_478','478' -'val_298','298' -'val_125','125' -'val_431','431' -'val_164','164' -'val_424','424' -'val_187','187' -'val_382','382' -'val_5','5' -'val_70','70' -'val_397','397' -'val_480','480' -'val_291','291' -'val_24','24' -'val_351','351' -'val_255','255' -'val_104','104' -'val_70','70' -'val_163','163' -'val_438','438' -'val_119','119' -'val_414','414' -'val_200','200' -'val_491','491' -'val_237','237' -'val_439','439' -'val_360','360' -'val_248','248' -'val_479','479' -'val_305','305' -'val_417','417' -'val_199','199' -'val_444','444' -'val_120','120' -'val_429','429' -'val_169','169' -'val_443','443' -'val_323','323' -'val_325','325' -'val_277','277' -'val_230','230' -'val_478','478' -'val_178','178' -'val_468','468' -'val_310','310' -'val_317','317' -'val_333','333' -'val_493','493' -'val_460','460' -'val_207','207' -'val_249','249' -'val_265','265' -'val_480','480' -'val_83','83' -'val_136','136' -'val_353','353' -'val_172','172' -'val_214','214' -'val_462','462' -'val_233','233' -'val_406','406' -'val_133','133' -'val_175','175' -'val_189','189' -'val_454','454' -'val_375','375' -'val_401','401' -'val_421','421' -'val_407','407' -'val_384','384' -'val_256','256' -'val_26','26' -'val_134','134' -'val_67','67' -'val_384','384' -'val_379','379' -'val_18','18' -'val_462','462' -'val_492','492' -'val_100','100' -'val_298','298' -'val_9','9' -'val_341','341' -'val_498','498' -'val_146','146' -'val_458','458' -'val_362','362' -'val_186','186' -'val_285','285' -'val_348','348' -'val_167','167' -'val_18','18' -'val_273','273' -'val_183','183' -'val_281','281' -'val_344','344' -'val_97','97' -'val_469','469' -'val_315','315' -'val_84','84' -'val_28','28' -'val_37','37' -'val_448','448' -'val_152','152' -'val_348','348' -'val_307','307' -'val_194','194' -'val_414','414' -'val_477','477' -'val_222','222' -'val_126','126' -'val_90','90' -'val_169','169' -'val_403','403' -'val_400','400' -'val_200','200' -'val_97','97' -500 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/input40.q.out ql/src/test/results/beelinepositive/input40.q.out deleted file mode 100644 index 72ee053..0000000 --- ql/src/test/results/beelinepositive/input40.q.out +++ /dev/null @@ -1,2030 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input40.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input40.q ->>> ->>> ->>> ->>> create table tmp_insert_test (key string, value string) stored as textfile; -No rows affected ->>> load data local inpath '../data/files/kv1.txt' into table tmp_insert_test; -No rows affected ->>> select * from tmp_insert_test; -'key','value' -'238','val_238' -'86','val_86' -'311','val_311' -'27','val_27' -'165','val_165' -'409','val_409' -'255','val_255' -'278','val_278' -'98','val_98' -'484','val_484' -'265','val_265' -'193','val_193' -'401','val_401' -'150','val_150' -'273','val_273' -'224','val_224' -'369','val_369' -'66','val_66' -'128','val_128' -'213','val_213' -'146','val_146' -'406','val_406' -'429','val_429' -'374','val_374' -'152','val_152' -'469','val_469' -'145','val_145' -'495','val_495' -'37','val_37' -'327','val_327' -'281','val_281' -'277','val_277' -'209','val_209' -'15','val_15' -'82','val_82' -'403','val_403' -'166','val_166' -'417','val_417' -'430','val_430' -'252','val_252' -'292','val_292' -'219','val_219' -'287','val_287' -'153','val_153' -'193','val_193' -'338','val_338' -'446','val_446' -'459','val_459' -'394','val_394' -'237','val_237' -'482','val_482' -'174','val_174' -'413','val_413' -'494','val_494' -'207','val_207' -'199','val_199' -'466','val_466' -'208','val_208' -'174','val_174' -'399','val_399' -'396','val_396' -'247','val_247' -'417','val_417' -'489','val_489' -'162','val_162' -'377','val_377' -'397','val_397' -'309','val_309' -'365','val_365' -'266','val_266' -'439','val_439' -'342','val_342' -'367','val_367' -'325','val_325' -'167','val_167' -'195','val_195' -'475','val_475' -'17','val_17' -'113','val_113' -'155','val_155' -'203','val_203' -'339','val_339' -'0','val_0' -'455','val_455' -'128','val_128' -'311','val_311' -'316','val_316' -'57','val_57' -'302','val_302' -'205','val_205' -'149','val_149' -'438','val_438' -'345','val_345' -'129','val_129' -'170','val_170' -'20','val_20' -'489','val_489' -'157','val_157' -'378','val_378' -'221','val_221' -'92','val_92' -'111','val_111' -'47','val_47' -'72','val_72' -'4','val_4' -'280','val_280' -'35','val_35' -'427','val_427' -'277','val_277' -'208','val_208' -'356','val_356' -'399','val_399' -'169','val_169' -'382','val_382' -'498','val_498' -'125','val_125' -'386','val_386' -'437','val_437' -'469','val_469' -'192','val_192' -'286','val_286' -'187','val_187' -'176','val_176' -'54','val_54' -'459','val_459' -'51','val_51' -'138','val_138' -'103','val_103' -'239','val_239' -'213','val_213' -'216','val_216' -'430','val_430' -'278','val_278' -'176','val_176' -'289','val_289' -'221','val_221' -'65','val_65' -'318','val_318' -'332','val_332' -'311','val_311' -'275','val_275' -'137','val_137' -'241','val_241' -'83','val_83' -'333','val_333' -'180','val_180' -'284','val_284' -'12','val_12' -'230','val_230' -'181','val_181' -'67','val_67' -'260','val_260' -'404','val_404' -'384','val_384' -'489','val_489' -'353','val_353' -'373','val_373' -'272','val_272' -'138','val_138' -'217','val_217' -'84','val_84' -'348','val_348' -'466','val_466' -'58','val_58' -'8','val_8' -'411','val_411' -'230','val_230' -'208','val_208' -'348','val_348' -'24','val_24' -'463','val_463' -'431','val_431' -'179','val_179' -'172','val_172' -'42','val_42' -'129','val_129' -'158','val_158' -'119','val_119' -'496','val_496' -'0','val_0' -'322','val_322' -'197','val_197' -'468','val_468' -'393','val_393' -'454','val_454' -'100','val_100' -'298','val_298' -'199','val_199' -'191','val_191' -'418','val_418' -'96','val_96' -'26','val_26' -'165','val_165' -'327','val_327' -'230','val_230' -'205','val_205' -'120','val_120' -'131','val_131' -'51','val_51' -'404','val_404' -'43','val_43' -'436','val_436' -'156','val_156' -'469','val_469' -'468','val_468' -'308','val_308' -'95','val_95' -'196','val_196' -'288','val_288' -'481','val_481' -'457','val_457' -'98','val_98' -'282','val_282' -'197','val_197' -'187','val_187' -'318','val_318' -'318','val_318' -'409','val_409' -'470','val_470' -'137','val_137' -'369','val_369' -'316','val_316' -'169','val_169' -'413','val_413' -'85','val_85' -'77','val_77' -'0','val_0' -'490','val_490' -'87','val_87' -'364','val_364' -'179','val_179' -'118','val_118' -'134','val_134' -'395','val_395' -'282','val_282' -'138','val_138' -'238','val_238' -'419','val_419' -'15','val_15' -'118','val_118' -'72','val_72' -'90','val_90' -'307','val_307' -'19','val_19' -'435','val_435' -'10','val_10' -'277','val_277' -'273','val_273' -'306','val_306' -'224','val_224' -'309','val_309' -'389','val_389' -'327','val_327' -'242','val_242' -'369','val_369' -'392','val_392' -'272','val_272' -'331','val_331' -'401','val_401' -'242','val_242' -'452','val_452' -'177','val_177' -'226','val_226' -'5','val_5' -'497','val_497' -'402','val_402' -'396','val_396' -'317','val_317' -'395','val_395' -'58','val_58' -'35','val_35' -'336','val_336' -'95','val_95' -'11','val_11' -'168','val_168' -'34','val_34' -'229','val_229' -'233','val_233' -'143','val_143' -'472','val_472' -'322','val_322' -'498','val_498' -'160','val_160' -'195','val_195' -'42','val_42' -'321','val_321' -'430','val_430' -'119','val_119' -'489','val_489' -'458','val_458' -'78','val_78' -'76','val_76' -'41','val_41' -'223','val_223' -'492','val_492' -'149','val_149' -'449','val_449' -'218','val_218' -'228','val_228' -'138','val_138' -'453','val_453' -'30','val_30' -'209','val_209' -'64','val_64' -'468','val_468' -'76','val_76' -'74','val_74' -'342','val_342' -'69','val_69' -'230','val_230' -'33','val_33' -'368','val_368' -'103','val_103' -'296','val_296' -'113','val_113' -'216','val_216' -'367','val_367' -'344','val_344' -'167','val_167' -'274','val_274' -'219','val_219' -'239','val_239' -'485','val_485' -'116','val_116' -'223','val_223' -'256','val_256' -'263','val_263' -'70','val_70' -'487','val_487' -'480','val_480' -'401','val_401' -'288','val_288' -'191','val_191' -'5','val_5' -'244','val_244' -'438','val_438' -'128','val_128' -'467','val_467' -'432','val_432' -'202','val_202' -'316','val_316' -'229','val_229' -'469','val_469' -'463','val_463' -'280','val_280' -'2','val_2' -'35','val_35' -'283','val_283' -'331','val_331' -'235','val_235' -'80','val_80' -'44','val_44' -'193','val_193' -'321','val_321' -'335','val_335' -'104','val_104' -'466','val_466' -'366','val_366' -'175','val_175' -'403','val_403' -'483','val_483' -'53','val_53' -'105','val_105' -'257','val_257' -'406','val_406' -'409','val_409' -'190','val_190' -'406','val_406' -'401','val_401' -'114','val_114' -'258','val_258' -'90','val_90' -'203','val_203' -'262','val_262' -'348','val_348' -'424','val_424' -'12','val_12' -'396','val_396' -'201','val_201' -'217','val_217' -'164','val_164' -'431','val_431' -'454','val_454' -'478','val_478' -'298','val_298' -'125','val_125' -'431','val_431' -'164','val_164' -'424','val_424' -'187','val_187' -'382','val_382' -'5','val_5' -'70','val_70' -'397','val_397' -'480','val_480' -'291','val_291' -'24','val_24' -'351','val_351' -'255','val_255' -'104','val_104' -'70','val_70' -'163','val_163' -'438','val_438' -'119','val_119' -'414','val_414' -'200','val_200' -'491','val_491' -'237','val_237' -'439','val_439' -'360','val_360' -'248','val_248' -'479','val_479' -'305','val_305' -'417','val_417' -'199','val_199' -'444','val_444' -'120','val_120' -'429','val_429' -'169','val_169' -'443','val_443' -'323','val_323' -'325','val_325' -'277','val_277' -'230','val_230' -'478','val_478' -'178','val_178' -'468','val_468' -'310','val_310' -'317','val_317' -'333','val_333' -'493','val_493' -'460','val_460' -'207','val_207' -'249','val_249' -'265','val_265' -'480','val_480' -'83','val_83' -'136','val_136' -'353','val_353' -'172','val_172' -'214','val_214' -'462','val_462' -'233','val_233' -'406','val_406' -'133','val_133' -'175','val_175' -'189','val_189' -'454','val_454' -'375','val_375' -'401','val_401' -'421','val_421' -'407','val_407' -'384','val_384' -'256','val_256' -'26','val_26' -'134','val_134' -'67','val_67' -'384','val_384' -'379','val_379' -'18','val_18' -'462','val_462' -'492','val_492' -'100','val_100' -'298','val_298' -'9','val_9' -'341','val_341' -'498','val_498' -'146','val_146' -'458','val_458' -'362','val_362' -'186','val_186' -'285','val_285' -'348','val_348' -'167','val_167' -'18','val_18' -'273','val_273' -'183','val_183' -'281','val_281' -'344','val_344' -'97','val_97' -'469','val_469' -'315','val_315' -'84','val_84' -'28','val_28' -'37','val_37' -'448','val_448' -'152','val_152' -'348','val_348' -'307','val_307' -'194','val_194' -'414','val_414' -'477','val_477' -'222','val_222' -'126','val_126' -'90','val_90' -'169','val_169' -'403','val_403' -'400','val_400' -'200','val_200' -'97','val_97' -500 rows selected ->>> ->>> create table tmp_insert_test_p (key string, value string) partitioned by (ds string) stored as textfile; -No rows affected ->>> ->>> load data local inpath '../data/files/kv1.txt' into table tmp_insert_test_p partition (ds = '2009-08-01'); -No rows affected ->>> select * from tmp_insert_test_p where ds= '2009-08-01' -order by key, value; -'key','value','ds' -'0','val_0','2009-08-01' -'0','val_0','2009-08-01' -'0','val_0','2009-08-01' -'10','val_10','2009-08-01' -'100','val_100','2009-08-01' -'100','val_100','2009-08-01' -'103','val_103','2009-08-01' -'103','val_103','2009-08-01' -'104','val_104','2009-08-01' -'104','val_104','2009-08-01' -'105','val_105','2009-08-01' -'11','val_11','2009-08-01' -'111','val_111','2009-08-01' -'113','val_113','2009-08-01' -'113','val_113','2009-08-01' -'114','val_114','2009-08-01' -'116','val_116','2009-08-01' -'118','val_118','2009-08-01' -'118','val_118','2009-08-01' -'119','val_119','2009-08-01' -'119','val_119','2009-08-01' -'119','val_119','2009-08-01' -'12','val_12','2009-08-01' -'12','val_12','2009-08-01' -'120','val_120','2009-08-01' -'120','val_120','2009-08-01' -'125','val_125','2009-08-01' -'125','val_125','2009-08-01' -'126','val_126','2009-08-01' -'128','val_128','2009-08-01' -'128','val_128','2009-08-01' -'128','val_128','2009-08-01' -'129','val_129','2009-08-01' -'129','val_129','2009-08-01' -'131','val_131','2009-08-01' -'133','val_133','2009-08-01' -'134','val_134','2009-08-01' -'134','val_134','2009-08-01' -'136','val_136','2009-08-01' -'137','val_137','2009-08-01' -'137','val_137','2009-08-01' -'138','val_138','2009-08-01' -'138','val_138','2009-08-01' -'138','val_138','2009-08-01' -'138','val_138','2009-08-01' -'143','val_143','2009-08-01' -'145','val_145','2009-08-01' -'146','val_146','2009-08-01' -'146','val_146','2009-08-01' -'149','val_149','2009-08-01' -'149','val_149','2009-08-01' -'15','val_15','2009-08-01' -'15','val_15','2009-08-01' -'150','val_150','2009-08-01' -'152','val_152','2009-08-01' -'152','val_152','2009-08-01' -'153','val_153','2009-08-01' -'155','val_155','2009-08-01' -'156','val_156','2009-08-01' -'157','val_157','2009-08-01' -'158','val_158','2009-08-01' -'160','val_160','2009-08-01' -'162','val_162','2009-08-01' -'163','val_163','2009-08-01' -'164','val_164','2009-08-01' -'164','val_164','2009-08-01' -'165','val_165','2009-08-01' -'165','val_165','2009-08-01' -'166','val_166','2009-08-01' -'167','val_167','2009-08-01' -'167','val_167','2009-08-01' -'167','val_167','2009-08-01' -'168','val_168','2009-08-01' -'169','val_169','2009-08-01' -'169','val_169','2009-08-01' -'169','val_169','2009-08-01' -'169','val_169','2009-08-01' -'17','val_17','2009-08-01' -'170','val_170','2009-08-01' -'172','val_172','2009-08-01' -'172','val_172','2009-08-01' -'174','val_174','2009-08-01' -'174','val_174','2009-08-01' -'175','val_175','2009-08-01' -'175','val_175','2009-08-01' -'176','val_176','2009-08-01' -'176','val_176','2009-08-01' -'177','val_177','2009-08-01' -'178','val_178','2009-08-01' -'179','val_179','2009-08-01' -'179','val_179','2009-08-01' -'18','val_18','2009-08-01' -'18','val_18','2009-08-01' -'180','val_180','2009-08-01' -'181','val_181','2009-08-01' -'183','val_183','2009-08-01' -'186','val_186','2009-08-01' -'187','val_187','2009-08-01' -'187','val_187','2009-08-01' -'187','val_187','2009-08-01' -'189','val_189','2009-08-01' -'19','val_19','2009-08-01' -'190','val_190','2009-08-01' -'191','val_191','2009-08-01' -'191','val_191','2009-08-01' -'192','val_192','2009-08-01' -'193','val_193','2009-08-01' -'193','val_193','2009-08-01' -'193','val_193','2009-08-01' -'194','val_194','2009-08-01' -'195','val_195','2009-08-01' -'195','val_195','2009-08-01' -'196','val_196','2009-08-01' -'197','val_197','2009-08-01' -'197','val_197','2009-08-01' -'199','val_199','2009-08-01' -'199','val_199','2009-08-01' -'199','val_199','2009-08-01' -'2','val_2','2009-08-01' -'20','val_20','2009-08-01' -'200','val_200','2009-08-01' -'200','val_200','2009-08-01' -'201','val_201','2009-08-01' -'202','val_202','2009-08-01' -'203','val_203','2009-08-01' -'203','val_203','2009-08-01' -'205','val_205','2009-08-01' -'205','val_205','2009-08-01' -'207','val_207','2009-08-01' -'207','val_207','2009-08-01' -'208','val_208','2009-08-01' -'208','val_208','2009-08-01' -'208','val_208','2009-08-01' -'209','val_209','2009-08-01' -'209','val_209','2009-08-01' -'213','val_213','2009-08-01' -'213','val_213','2009-08-01' -'214','val_214','2009-08-01' -'216','val_216','2009-08-01' -'216','val_216','2009-08-01' -'217','val_217','2009-08-01' -'217','val_217','2009-08-01' -'218','val_218','2009-08-01' -'219','val_219','2009-08-01' -'219','val_219','2009-08-01' -'221','val_221','2009-08-01' -'221','val_221','2009-08-01' -'222','val_222','2009-08-01' -'223','val_223','2009-08-01' -'223','val_223','2009-08-01' -'224','val_224','2009-08-01' -'224','val_224','2009-08-01' -'226','val_226','2009-08-01' -'228','val_228','2009-08-01' -'229','val_229','2009-08-01' -'229','val_229','2009-08-01' -'230','val_230','2009-08-01' -'230','val_230','2009-08-01' -'230','val_230','2009-08-01' -'230','val_230','2009-08-01' -'230','val_230','2009-08-01' -'233','val_233','2009-08-01' -'233','val_233','2009-08-01' -'235','val_235','2009-08-01' -'237','val_237','2009-08-01' -'237','val_237','2009-08-01' -'238','val_238','2009-08-01' -'238','val_238','2009-08-01' -'239','val_239','2009-08-01' -'239','val_239','2009-08-01' -'24','val_24','2009-08-01' -'24','val_24','2009-08-01' -'241','val_241','2009-08-01' -'242','val_242','2009-08-01' -'242','val_242','2009-08-01' -'244','val_244','2009-08-01' -'247','val_247','2009-08-01' -'248','val_248','2009-08-01' -'249','val_249','2009-08-01' -'252','val_252','2009-08-01' -'255','val_255','2009-08-01' -'255','val_255','2009-08-01' -'256','val_256','2009-08-01' -'256','val_256','2009-08-01' -'257','val_257','2009-08-01' -'258','val_258','2009-08-01' -'26','val_26','2009-08-01' -'26','val_26','2009-08-01' -'260','val_260','2009-08-01' -'262','val_262','2009-08-01' -'263','val_263','2009-08-01' -'265','val_265','2009-08-01' -'265','val_265','2009-08-01' -'266','val_266','2009-08-01' -'27','val_27','2009-08-01' -'272','val_272','2009-08-01' -'272','val_272','2009-08-01' -'273','val_273','2009-08-01' -'273','val_273','2009-08-01' -'273','val_273','2009-08-01' -'274','val_274','2009-08-01' -'275','val_275','2009-08-01' -'277','val_277','2009-08-01' -'277','val_277','2009-08-01' -'277','val_277','2009-08-01' -'277','val_277','2009-08-01' -'278','val_278','2009-08-01' -'278','val_278','2009-08-01' -'28','val_28','2009-08-01' -'280','val_280','2009-08-01' -'280','val_280','2009-08-01' -'281','val_281','2009-08-01' -'281','val_281','2009-08-01' -'282','val_282','2009-08-01' -'282','val_282','2009-08-01' -'283','val_283','2009-08-01' -'284','val_284','2009-08-01' -'285','val_285','2009-08-01' -'286','val_286','2009-08-01' -'287','val_287','2009-08-01' -'288','val_288','2009-08-01' -'288','val_288','2009-08-01' -'289','val_289','2009-08-01' -'291','val_291','2009-08-01' -'292','val_292','2009-08-01' -'296','val_296','2009-08-01' -'298','val_298','2009-08-01' -'298','val_298','2009-08-01' -'298','val_298','2009-08-01' -'30','val_30','2009-08-01' -'302','val_302','2009-08-01' -'305','val_305','2009-08-01' -'306','val_306','2009-08-01' -'307','val_307','2009-08-01' -'307','val_307','2009-08-01' -'308','val_308','2009-08-01' -'309','val_309','2009-08-01' -'309','val_309','2009-08-01' -'310','val_310','2009-08-01' -'311','val_311','2009-08-01' -'311','val_311','2009-08-01' -'311','val_311','2009-08-01' -'315','val_315','2009-08-01' -'316','val_316','2009-08-01' -'316','val_316','2009-08-01' -'316','val_316','2009-08-01' -'317','val_317','2009-08-01' -'317','val_317','2009-08-01' -'318','val_318','2009-08-01' -'318','val_318','2009-08-01' -'318','val_318','2009-08-01' -'321','val_321','2009-08-01' -'321','val_321','2009-08-01' -'322','val_322','2009-08-01' -'322','val_322','2009-08-01' -'323','val_323','2009-08-01' -'325','val_325','2009-08-01' -'325','val_325','2009-08-01' -'327','val_327','2009-08-01' -'327','val_327','2009-08-01' -'327','val_327','2009-08-01' -'33','val_33','2009-08-01' -'331','val_331','2009-08-01' -'331','val_331','2009-08-01' -'332','val_332','2009-08-01' -'333','val_333','2009-08-01' -'333','val_333','2009-08-01' -'335','val_335','2009-08-01' -'336','val_336','2009-08-01' -'338','val_338','2009-08-01' -'339','val_339','2009-08-01' -'34','val_34','2009-08-01' -'341','val_341','2009-08-01' -'342','val_342','2009-08-01' -'342','val_342','2009-08-01' -'344','val_344','2009-08-01' -'344','val_344','2009-08-01' -'345','val_345','2009-08-01' -'348','val_348','2009-08-01' -'348','val_348','2009-08-01' -'348','val_348','2009-08-01' -'348','val_348','2009-08-01' -'348','val_348','2009-08-01' -'35','val_35','2009-08-01' -'35','val_35','2009-08-01' -'35','val_35','2009-08-01' -'351','val_351','2009-08-01' -'353','val_353','2009-08-01' -'353','val_353','2009-08-01' -'356','val_356','2009-08-01' -'360','val_360','2009-08-01' -'362','val_362','2009-08-01' -'364','val_364','2009-08-01' -'365','val_365','2009-08-01' -'366','val_366','2009-08-01' -'367','val_367','2009-08-01' -'367','val_367','2009-08-01' -'368','val_368','2009-08-01' -'369','val_369','2009-08-01' -'369','val_369','2009-08-01' -'369','val_369','2009-08-01' -'37','val_37','2009-08-01' -'37','val_37','2009-08-01' -'373','val_373','2009-08-01' -'374','val_374','2009-08-01' -'375','val_375','2009-08-01' -'377','val_377','2009-08-01' -'378','val_378','2009-08-01' -'379','val_379','2009-08-01' -'382','val_382','2009-08-01' -'382','val_382','2009-08-01' -'384','val_384','2009-08-01' -'384','val_384','2009-08-01' -'384','val_384','2009-08-01' -'386','val_386','2009-08-01' -'389','val_389','2009-08-01' -'392','val_392','2009-08-01' -'393','val_393','2009-08-01' -'394','val_394','2009-08-01' -'395','val_395','2009-08-01' -'395','val_395','2009-08-01' -'396','val_396','2009-08-01' -'396','val_396','2009-08-01' -'396','val_396','2009-08-01' -'397','val_397','2009-08-01' -'397','val_397','2009-08-01' -'399','val_399','2009-08-01' -'399','val_399','2009-08-01' -'4','val_4','2009-08-01' -'400','val_400','2009-08-01' -'401','val_401','2009-08-01' -'401','val_401','2009-08-01' -'401','val_401','2009-08-01' -'401','val_401','2009-08-01' -'401','val_401','2009-08-01' -'402','val_402','2009-08-01' -'403','val_403','2009-08-01' -'403','val_403','2009-08-01' -'403','val_403','2009-08-01' -'404','val_404','2009-08-01' -'404','val_404','2009-08-01' -'406','val_406','2009-08-01' -'406','val_406','2009-08-01' -'406','val_406','2009-08-01' -'406','val_406','2009-08-01' -'407','val_407','2009-08-01' -'409','val_409','2009-08-01' -'409','val_409','2009-08-01' -'409','val_409','2009-08-01' -'41','val_41','2009-08-01' -'411','val_411','2009-08-01' -'413','val_413','2009-08-01' -'413','val_413','2009-08-01' -'414','val_414','2009-08-01' -'414','val_414','2009-08-01' -'417','val_417','2009-08-01' -'417','val_417','2009-08-01' -'417','val_417','2009-08-01' -'418','val_418','2009-08-01' -'419','val_419','2009-08-01' -'42','val_42','2009-08-01' -'42','val_42','2009-08-01' -'421','val_421','2009-08-01' -'424','val_424','2009-08-01' -'424','val_424','2009-08-01' -'427','val_427','2009-08-01' -'429','val_429','2009-08-01' -'429','val_429','2009-08-01' -'43','val_43','2009-08-01' -'430','val_430','2009-08-01' -'430','val_430','2009-08-01' -'430','val_430','2009-08-01' -'431','val_431','2009-08-01' -'431','val_431','2009-08-01' -'431','val_431','2009-08-01' -'432','val_432','2009-08-01' -'435','val_435','2009-08-01' -'436','val_436','2009-08-01' -'437','val_437','2009-08-01' -'438','val_438','2009-08-01' -'438','val_438','2009-08-01' -'438','val_438','2009-08-01' -'439','val_439','2009-08-01' -'439','val_439','2009-08-01' -'44','val_44','2009-08-01' -'443','val_443','2009-08-01' -'444','val_444','2009-08-01' -'446','val_446','2009-08-01' -'448','val_448','2009-08-01' -'449','val_449','2009-08-01' -'452','val_452','2009-08-01' -'453','val_453','2009-08-01' -'454','val_454','2009-08-01' -'454','val_454','2009-08-01' -'454','val_454','2009-08-01' -'455','val_455','2009-08-01' -'457','val_457','2009-08-01' -'458','val_458','2009-08-01' -'458','val_458','2009-08-01' -'459','val_459','2009-08-01' -'459','val_459','2009-08-01' -'460','val_460','2009-08-01' -'462','val_462','2009-08-01' -'462','val_462','2009-08-01' -'463','val_463','2009-08-01' -'463','val_463','2009-08-01' -'466','val_466','2009-08-01' -'466','val_466','2009-08-01' -'466','val_466','2009-08-01' -'467','val_467','2009-08-01' -'468','val_468','2009-08-01' -'468','val_468','2009-08-01' -'468','val_468','2009-08-01' -'468','val_468','2009-08-01' -'469','val_469','2009-08-01' -'469','val_469','2009-08-01' -'469','val_469','2009-08-01' -'469','val_469','2009-08-01' -'469','val_469','2009-08-01' -'47','val_47','2009-08-01' -'470','val_470','2009-08-01' -'472','val_472','2009-08-01' -'475','val_475','2009-08-01' -'477','val_477','2009-08-01' -'478','val_478','2009-08-01' -'478','val_478','2009-08-01' -'479','val_479','2009-08-01' -'480','val_480','2009-08-01' -'480','val_480','2009-08-01' -'480','val_480','2009-08-01' -'481','val_481','2009-08-01' -'482','val_482','2009-08-01' -'483','val_483','2009-08-01' -'484','val_484','2009-08-01' -'485','val_485','2009-08-01' -'487','val_487','2009-08-01' -'489','val_489','2009-08-01' -'489','val_489','2009-08-01' -'489','val_489','2009-08-01' -'489','val_489','2009-08-01' -'490','val_490','2009-08-01' -'491','val_491','2009-08-01' -'492','val_492','2009-08-01' -'492','val_492','2009-08-01' -'493','val_493','2009-08-01' -'494','val_494','2009-08-01' -'495','val_495','2009-08-01' -'496','val_496','2009-08-01' -'497','val_497','2009-08-01' -'498','val_498','2009-08-01' -'498','val_498','2009-08-01' -'498','val_498','2009-08-01' -'5','val_5','2009-08-01' -'5','val_5','2009-08-01' -'5','val_5','2009-08-01' -'51','val_51','2009-08-01' -'51','val_51','2009-08-01' -'53','val_53','2009-08-01' -'54','val_54','2009-08-01' -'57','val_57','2009-08-01' -'58','val_58','2009-08-01' -'58','val_58','2009-08-01' -'64','val_64','2009-08-01' -'65','val_65','2009-08-01' -'66','val_66','2009-08-01' -'67','val_67','2009-08-01' -'67','val_67','2009-08-01' -'69','val_69','2009-08-01' -'70','val_70','2009-08-01' -'70','val_70','2009-08-01' -'70','val_70','2009-08-01' -'72','val_72','2009-08-01' -'72','val_72','2009-08-01' -'74','val_74','2009-08-01' -'76','val_76','2009-08-01' -'76','val_76','2009-08-01' -'77','val_77','2009-08-01' -'78','val_78','2009-08-01' -'8','val_8','2009-08-01' -'80','val_80','2009-08-01' -'82','val_82','2009-08-01' -'83','val_83','2009-08-01' -'83','val_83','2009-08-01' -'84','val_84','2009-08-01' -'84','val_84','2009-08-01' -'85','val_85','2009-08-01' -'86','val_86','2009-08-01' -'87','val_87','2009-08-01' -'9','val_9','2009-08-01' -'90','val_90','2009-08-01' -'90','val_90','2009-08-01' -'90','val_90','2009-08-01' -'92','val_92','2009-08-01' -'95','val_95','2009-08-01' -'95','val_95','2009-08-01' -'96','val_96','2009-08-01' -'97','val_97','2009-08-01' -'97','val_97','2009-08-01' -'98','val_98','2009-08-01' -'98','val_98','2009-08-01' -500 rows selected ->>> ->>> load data local inpath '../data/files/kv2.txt' into table tmp_insert_test_p partition (ds = '2009-08-01'); -No rows affected ->>> select * from tmp_insert_test_p where ds= '2009-08-01' -order by key, value; -'key','value','ds' -'0','val_0','2009-08-01' -'0','val_0','2009-08-01' -'0','val_0','2009-08-01' -'0','val_1','2009-08-01' -'0','val_1','2009-08-01' -'1','val_2','2009-08-01' -'10','val_10','2009-08-01' -'10','val_11','2009-08-01' -'100','val_100','2009-08-01' -'100','val_100','2009-08-01' -'100','val_101','2009-08-01' -'100','val_101','2009-08-01' -'101','val_102','2009-08-01' -'102','val_103','2009-08-01' -'103','val_103','2009-08-01' -'103','val_103','2009-08-01' -'104','val_104','2009-08-01' -'104','val_104','2009-08-01' -'104','val_105','2009-08-01' -'104','val_105','2009-08-01' -'104','val_105','2009-08-01' -'105','val_105','2009-08-01' -'105','val_106','2009-08-01' -'105','val_106','2009-08-01' -'106','val_107','2009-08-01' -'11','val_11','2009-08-01' -'11','val_12','2009-08-01' -'11','val_12','2009-08-01' -'11','val_12','2009-08-01' -'110','val_111','2009-08-01' -'111','val_111','2009-08-01' -'113','val_113','2009-08-01' -'113','val_113','2009-08-01' -'114','val_114','2009-08-01' -'114','val_115','2009-08-01' -'114','val_115','2009-08-01' -'114','val_115','2009-08-01' -'116','val_116','2009-08-01' -'116','val_117','2009-08-01' -'117','val_118','2009-08-01' -'117','val_118','2009-08-01' -'118','val_118','2009-08-01' -'118','val_118','2009-08-01' -'118','val_119','2009-08-01' -'118','val_119','2009-08-01' -'118','val_119','2009-08-01' -'119','val_119','2009-08-01' -'119','val_119','2009-08-01' -'119','val_119','2009-08-01' -'119','val_120','2009-08-01' -'119','val_120','2009-08-01' -'119','val_120','2009-08-01' -'12','val_12','2009-08-01' -'12','val_12','2009-08-01' -'12','val_13','2009-08-01' -'120','val_120','2009-08-01' -'120','val_120','2009-08-01' -'120','val_121','2009-08-01' -'121','val_122','2009-08-01' -'121','val_122','2009-08-01' -'122','val_123','2009-08-01' -'122','val_123','2009-08-01' -'122','val_123','2009-08-01' -'123','val_124','2009-08-01' -'123','val_124','2009-08-01' -'125','val_125','2009-08-01' -'125','val_125','2009-08-01' -'125','val_126','2009-08-01' -'126','val_126','2009-08-01' -'126','val_127','2009-08-01' -'126','val_127','2009-08-01' -'128','val_128','2009-08-01' -'128','val_128','2009-08-01' -'128','val_128','2009-08-01' -'128','val_129','2009-08-01' -'128','val_129','2009-08-01' -'129','val_129','2009-08-01' -'129','val_129','2009-08-01' -'129','val_130','2009-08-01' -'129','val_130','2009-08-01' -'131','val_131','2009-08-01' -'132','val_133','2009-08-01' -'132','val_133','2009-08-01' -'133','val_133','2009-08-01' -'133','val_134','2009-08-01' -'134','val_134','2009-08-01' -'134','val_134','2009-08-01' -'134','val_135','2009-08-01' -'135','val_136','2009-08-01' -'135','val_136','2009-08-01' -'135','val_136','2009-08-01' -'136','val_136','2009-08-01' -'136','val_137','2009-08-01' -'137','val_137','2009-08-01' -'137','val_137','2009-08-01' -'137','val_138','2009-08-01' -'138','val_138','2009-08-01' -'138','val_138','2009-08-01' -'138','val_138','2009-08-01' -'138','val_138','2009-08-01' -'138','val_139','2009-08-01' -'138','val_139','2009-08-01' -'140','val_141','2009-08-01' -'143','val_143','2009-08-01' -'143','val_144','2009-08-01' -'144','val_145','2009-08-01' -'145','val_145','2009-08-01' -'146','val_146','2009-08-01' -'146','val_146','2009-08-01' -'147','val_148','2009-08-01' -'147','val_148','2009-08-01' -'149','val_149','2009-08-01' -'149','val_149','2009-08-01' -'149','val_150','2009-08-01' -'15','val_15','2009-08-01' -'15','val_15','2009-08-01' -'15','val_16','2009-08-01' -'15','val_16','2009-08-01' -'150','val_150','2009-08-01' -'151','val_152','2009-08-01' -'151','val_152','2009-08-01' -'152','val_152','2009-08-01' -'152','val_152','2009-08-01' -'152','val_153','2009-08-01' -'152','val_153','2009-08-01' -'152','val_153','2009-08-01' -'153','val_153','2009-08-01' -'153','val_154','2009-08-01' -'153','val_154','2009-08-01' -'155','val_155','2009-08-01' -'156','val_156','2009-08-01' -'156','val_157','2009-08-01' -'156','val_157','2009-08-01' -'157','val_157','2009-08-01' -'157','val_158','2009-08-01' -'157','val_158','2009-08-01' -'158','val_158','2009-08-01' -'16','val_17','2009-08-01' -'16','val_17','2009-08-01' -'160','val_160','2009-08-01' -'160','val_161','2009-08-01' -'161','val_162','2009-08-01' -'161','val_162','2009-08-01' -'161','val_162','2009-08-01' -'161','val_162','2009-08-01' -'162','val_162','2009-08-01' -'162','val_163','2009-08-01' -'163','val_163','2009-08-01' -'164','val_164','2009-08-01' -'164','val_164','2009-08-01' -'164','val_165','2009-08-01' -'164','val_165','2009-08-01' -'165','val_165','2009-08-01' -'165','val_165','2009-08-01' -'165','val_166','2009-08-01' -'166','val_166','2009-08-01' -'167','val_167','2009-08-01' -'167','val_167','2009-08-01' -'167','val_167','2009-08-01' -'167','val_168','2009-08-01' -'168','val_168','2009-08-01' -'168','val_169','2009-08-01' -'169','val_169','2009-08-01' -'169','val_169','2009-08-01' -'169','val_169','2009-08-01' -'169','val_169','2009-08-01' -'17','val_17','2009-08-01' -'170','val_170','2009-08-01' -'170','val_171','2009-08-01' -'172','val_172','2009-08-01' -'172','val_172','2009-08-01' -'172','val_173','2009-08-01' -'174','val_174','2009-08-01' -'174','val_174','2009-08-01' -'174','val_175','2009-08-01' -'174','val_175','2009-08-01' -'175','val_175','2009-08-01' -'175','val_175','2009-08-01' -'175','val_176','2009-08-01' -'175','val_176','2009-08-01' -'176','val_176','2009-08-01' -'176','val_176','2009-08-01' -'177','val_177','2009-08-01' -'177','val_178','2009-08-01' -'177','val_178','2009-08-01' -'178','val_178','2009-08-01' -'178','val_179','2009-08-01' -'178','val_179','2009-08-01' -'179','val_179','2009-08-01' -'179','val_179','2009-08-01' -'179','val_180','2009-08-01' -'18','val_18','2009-08-01' -'18','val_18','2009-08-01' -'180','val_180','2009-08-01' -'181','val_181','2009-08-01' -'182','val_183','2009-08-01' -'183','val_183','2009-08-01' -'183','val_184','2009-08-01' -'184','val_185','2009-08-01' -'185','val_186','2009-08-01' -'186','val_186','2009-08-01' -'187','val_187','2009-08-01' -'187','val_187','2009-08-01' -'187','val_187','2009-08-01' -'189','val_189','2009-08-01' -'189','val_190','2009-08-01' -'19','val_19','2009-08-01' -'19','val_20','2009-08-01' -'190','val_190','2009-08-01' -'191','val_191','2009-08-01' -'191','val_191','2009-08-01' -'191','val_192','2009-08-01' -'192','val_192','2009-08-01' -'192','val_193','2009-08-01' -'193','val_193','2009-08-01' -'193','val_193','2009-08-01' -'193','val_193','2009-08-01' -'194','val_194','2009-08-01' -'195','val_195','2009-08-01' -'195','val_195','2009-08-01' -'196','val_196','2009-08-01' -'196','val_197','2009-08-01' -'196','val_197','2009-08-01' -'196','val_197','2009-08-01' -'197','val_197','2009-08-01' -'197','val_197','2009-08-01' -'197','val_198','2009-08-01' -'199','val_199','2009-08-01' -'199','val_199','2009-08-01' -'199','val_199','2009-08-01' -'199','val_200','2009-08-01' -'2','val_2','2009-08-01' -'2','val_3','2009-08-01' -'20','val_20','2009-08-01' -'20','val_21','2009-08-01' -'20','val_21','2009-08-01' -'200','val_200','2009-08-01' -'200','val_200','2009-08-01' -'201','val_201','2009-08-01' -'202','val_202','2009-08-01' -'203','val_203','2009-08-01' -'203','val_203','2009-08-01' -'204','val_205','2009-08-01' -'205','val_205','2009-08-01' -'205','val_205','2009-08-01' -'205','val_206','2009-08-01' -'206','val_207','2009-08-01' -'206','val_207','2009-08-01' -'206','val_207','2009-08-01' -'207','val_207','2009-08-01' -'207','val_207','2009-08-01' -'208','val_208','2009-08-01' -'208','val_208','2009-08-01' -'208','val_208','2009-08-01' -'209','val_209','2009-08-01' -'209','val_209','2009-08-01' -'209','val_210','2009-08-01' -'209','val_210','2009-08-01' -'21','val_22','2009-08-01' -'21','val_22','2009-08-01' -'21','val_22','2009-08-01' -'21','val_22','2009-08-01' -'212','val_213','2009-08-01' -'213','val_213','2009-08-01' -'213','val_213','2009-08-01' -'213','val_214','2009-08-01' -'214','val_214','2009-08-01' -'215','val_216','2009-08-01' -'216','val_216','2009-08-01' -'216','val_216','2009-08-01' -'216','val_217','2009-08-01' -'217','val_217','2009-08-01' -'217','val_217','2009-08-01' -'217','val_218','2009-08-01' -'217','val_218','2009-08-01' -'218','val_218','2009-08-01' -'219','val_219','2009-08-01' -'219','val_219','2009-08-01' -'22','val_23','2009-08-01' -'221','val_221','2009-08-01' -'221','val_221','2009-08-01' -'222','val_222','2009-08-01' -'222','val_223','2009-08-01' -'223','val_223','2009-08-01' -'223','val_223','2009-08-01' -'224','val_224','2009-08-01' -'224','val_224','2009-08-01' -'224','val_225','2009-08-01' -'226','val_226','2009-08-01' -'226','val_227','2009-08-01' -'226','val_227','2009-08-01' -'226','val_227','2009-08-01' -'226','val_227','2009-08-01' -'227','val_228','2009-08-01' -'228','val_228','2009-08-01' -'228','val_229','2009-08-01' -'229','val_229','2009-08-01' -'229','val_229','2009-08-01' -'23','val_24','2009-08-01' -'230','val_230','2009-08-01' -'230','val_230','2009-08-01' -'230','val_230','2009-08-01' -'230','val_230','2009-08-01' -'230','val_230','2009-08-01' -'231','val_232','2009-08-01' -'233','val_233','2009-08-01' -'233','val_233','2009-08-01' -'235','val_235','2009-08-01' -'235','val_236','2009-08-01' -'237','val_237','2009-08-01' -'237','val_237','2009-08-01' -'238','val_238','2009-08-01' -'238','val_238','2009-08-01' -'238','val_239','2009-08-01' -'239','val_239','2009-08-01' -'239','val_239','2009-08-01' -'239','val_240','2009-08-01' -'239','val_240','2009-08-01' -'24','val_24','2009-08-01' -'24','val_24','2009-08-01' -'240','val_241','2009-08-01' -'241','val_241','2009-08-01' -'241','val_242','2009-08-01' -'241','val_242','2009-08-01' -'241','val_242','2009-08-01' -'241','val_242','2009-08-01' -'242','val_242','2009-08-01' -'242','val_242','2009-08-01' -'242','val_243','2009-08-01' -'243','val_244','2009-08-01' -'243','val_244','2009-08-01' -'244','val_244','2009-08-01' -'244','val_245','2009-08-01' -'244','val_245','2009-08-01' -'244','val_245','2009-08-01' -'245','val_246','2009-08-01' -'245','val_246','2009-08-01' -'246','val_247','2009-08-01' -'246','val_247','2009-08-01' -'247','val_247','2009-08-01' -'248','val_248','2009-08-01' -'248','val_249','2009-08-01' -'249','val_249','2009-08-01' -'249','val_250','2009-08-01' -'249','val_250','2009-08-01' -'252','val_252','2009-08-01' -'252','val_253','2009-08-01' -'254','val_255','2009-08-01' -'255','val_255','2009-08-01' -'255','val_255','2009-08-01' -'256','val_256','2009-08-01' -'256','val_256','2009-08-01' -'256','val_257','2009-08-01' -'257','val_257','2009-08-01' -'257','val_258','2009-08-01' -'257','val_258','2009-08-01' -'258','val_258','2009-08-01' -'258','val_259','2009-08-01' -'259','val_260','2009-08-01' -'259','val_260','2009-08-01' -'26','val_26','2009-08-01' -'26','val_26','2009-08-01' -'260','val_260','2009-08-01' -'260','val_261','2009-08-01' -'260','val_261','2009-08-01' -'261','val_262','2009-08-01' -'262','val_262','2009-08-01' -'262','val_263','2009-08-01' -'262','val_263','2009-08-01' -'263','val_263','2009-08-01' -'264','val_265','2009-08-01' -'264','val_265','2009-08-01' -'265','val_265','2009-08-01' -'265','val_265','2009-08-01' -'265','val_266','2009-08-01' -'266','val_266','2009-08-01' -'267','val_268','2009-08-01' -'268','val_269','2009-08-01' -'27','val_27','2009-08-01' -'271','val_272','2009-08-01' -'272','val_272','2009-08-01' -'272','val_272','2009-08-01' -'272','val_273','2009-08-01' -'273','val_273','2009-08-01' -'273','val_273','2009-08-01' -'273','val_273','2009-08-01' -'273','val_274','2009-08-01' -'274','val_274','2009-08-01' -'274','val_275','2009-08-01' -'275','val_275','2009-08-01' -'275','val_276','2009-08-01' -'275','val_276','2009-08-01' -'276','val_277','2009-08-01' -'277','val_277','2009-08-01' -'277','val_277','2009-08-01' -'277','val_277','2009-08-01' -'277','val_277','2009-08-01' -'277','val_278','2009-08-01' -'277','val_278','2009-08-01' -'278','val_278','2009-08-01' -'278','val_278','2009-08-01' -'278','val_279','2009-08-01' -'28','val_28','2009-08-01' -'280','val_280','2009-08-01' -'280','val_280','2009-08-01' -'281','val_281','2009-08-01' -'281','val_281','2009-08-01' -'281','val_282','2009-08-01' -'281','val_282','2009-08-01' -'281','val_282','2009-08-01' -'282','val_282','2009-08-01' -'282','val_282','2009-08-01' -'283','val_283','2009-08-01' -'284','val_284','2009-08-01' -'284','val_285','2009-08-01' -'284','val_285','2009-08-01' -'285','val_285','2009-08-01' -'285','val_286','2009-08-01' -'286','val_286','2009-08-01' -'286','val_287','2009-08-01' -'287','val_287','2009-08-01' -'287','val_288','2009-08-01' -'287','val_288','2009-08-01' -'288','val_288','2009-08-01' -'288','val_288','2009-08-01' -'289','val_289','2009-08-01' -'289','val_290','2009-08-01' -'29','val_30','2009-08-01' -'29','val_30','2009-08-01' -'291','val_291','2009-08-01' -'291','val_292','2009-08-01' -'291','val_292','2009-08-01' -'292','val_292','2009-08-01' -'292','val_293','2009-08-01' -'292','val_293','2009-08-01' -'293','val_294','2009-08-01' -'293','val_294','2009-08-01' -'295','val_296','2009-08-01' -'295','val_296','2009-08-01' -'296','val_296','2009-08-01' -'296','val_297','2009-08-01' -'298','val_298','2009-08-01' -'298','val_298','2009-08-01' -'298','val_298','2009-08-01' -'3','val_4','2009-08-01' -'30','val_30','2009-08-01' -'30','val_31','2009-08-01' -'300','val_301','2009-08-01' -'300','val_301','2009-08-01' -'302','val_302','2009-08-01' -'302','val_303','2009-08-01' -'303','val_304','2009-08-01' -'303','val_304','2009-08-01' -'304','val_305','2009-08-01' -'305','val_305','2009-08-01' -'305','val_306','2009-08-01' -'306','val_306','2009-08-01' -'306','val_307','2009-08-01' -'307','val_307','2009-08-01' -'307','val_307','2009-08-01' -'308','val_308','2009-08-01' -'308','val_309','2009-08-01' -'308','val_309','2009-08-01' -'309','val_309','2009-08-01' -'309','val_309','2009-08-01' -'309','val_310','2009-08-01' -'31','val_32','2009-08-01' -'310','val_310','2009-08-01' -'310','val_311','2009-08-01' -'310','val_311','2009-08-01' -'310','val_311','2009-08-01' -'311','val_311','2009-08-01' -'311','val_311','2009-08-01' -'311','val_311','2009-08-01' -'313','val_314','2009-08-01' -'314','val_315','2009-08-01' -'315','val_315','2009-08-01' -'316','val_316','2009-08-01' -'316','val_316','2009-08-01' -'316','val_316','2009-08-01' -'317','val_317','2009-08-01' -'317','val_317','2009-08-01' -'317','val_318','2009-08-01' -'318','val_318','2009-08-01' -'318','val_318','2009-08-01' -'318','val_318','2009-08-01' -'318','val_319','2009-08-01' -'32','val_33','2009-08-01' -'321','val_321','2009-08-01' -'321','val_321','2009-08-01' -'322','val_322','2009-08-01' -'322','val_322','2009-08-01' -'322','val_323','2009-08-01' -'323','val_323','2009-08-01' -'323','val_324','2009-08-01' -'324','val_325','2009-08-01' -'325','val_325','2009-08-01' -'325','val_325','2009-08-01' -'326','val_327','2009-08-01' -'327','val_327','2009-08-01' -'327','val_327','2009-08-01' -'327','val_327','2009-08-01' -'328','val_329','2009-08-01' -'328','val_329','2009-08-01' -'33','val_33','2009-08-01' -'33','val_34','2009-08-01' -'330','val_331','2009-08-01' -'331','val_331','2009-08-01' -'331','val_331','2009-08-01' -'331','val_332','2009-08-01' -'331','val_332','2009-08-01' -'332','val_332','2009-08-01' -'333','val_333','2009-08-01' -'333','val_333','2009-08-01' -'333','val_334','2009-08-01' -'334','val_335','2009-08-01' -'335','val_335','2009-08-01' -'335','val_336','2009-08-01' -'335','val_336','2009-08-01' -'336','val_336','2009-08-01' -'336','val_337','2009-08-01' -'337','val_338','2009-08-01' -'338','val_338','2009-08-01' -'338','val_339','2009-08-01' -'339','val_339','2009-08-01' -'34','val_34','2009-08-01' -'340','val_341','2009-08-01' -'341','val_341','2009-08-01' -'341','val_342','2009-08-01' -'341','val_342','2009-08-01' -'341','val_342','2009-08-01' -'342','val_342','2009-08-01' -'342','val_342','2009-08-01' -'342','val_343','2009-08-01' -'343','val_344','2009-08-01' -'344','val_344','2009-08-01' -'344','val_344','2009-08-01' -'344','val_345','2009-08-01' -'345','val_345','2009-08-01' -'347','val_348','2009-08-01' -'347','val_348','2009-08-01' -'348','val_348','2009-08-01' -'348','val_348','2009-08-01' -'348','val_348','2009-08-01' -'348','val_348','2009-08-01' -'348','val_348','2009-08-01' -'348','val_349','2009-08-01' -'349','val_350','2009-08-01' -'349','val_350','2009-08-01' -'349','val_350','2009-08-01' -'349','val_350','2009-08-01' -'35','val_35','2009-08-01' -'35','val_35','2009-08-01' -'35','val_35','2009-08-01' -'35','val_36','2009-08-01' -'35','val_36','2009-08-01' -'35','val_36','2009-08-01' -'351','val_351','2009-08-01' -'351','val_352','2009-08-01' -'351','val_352','2009-08-01' -'352','val_353','2009-08-01' -'352','val_353','2009-08-01' -'353','val_353','2009-08-01' -'353','val_353','2009-08-01' -'353','val_354','2009-08-01' -'355','val_356','2009-08-01' -'355','val_356','2009-08-01' -'356','val_356','2009-08-01' -'356','val_357','2009-08-01' -'356','val_357','2009-08-01' -'358','val_359','2009-08-01' -'360','val_360','2009-08-01' -'360','val_361','2009-08-01' -'362','val_362','2009-08-01' -'363','val_364','2009-08-01' -'363','val_364','2009-08-01' -'363','val_364','2009-08-01' -'364','val_364','2009-08-01' -'364','val_365','2009-08-01' -'365','val_365','2009-08-01' -'366','val_366','2009-08-01' -'367','val_367','2009-08-01' -'367','val_367','2009-08-01' -'367','val_368','2009-08-01' -'367','val_368','2009-08-01' -'368','val_368','2009-08-01' -'369','val_369','2009-08-01' -'369','val_369','2009-08-01' -'369','val_369','2009-08-01' -'369','val_370','2009-08-01' -'37','val_37','2009-08-01' -'37','val_37','2009-08-01' -'371','val_372','2009-08-01' -'371','val_372','2009-08-01' -'371','val_372','2009-08-01' -'371','val_372','2009-08-01' -'373','val_373','2009-08-01' -'373','val_374','2009-08-01' -'374','val_374','2009-08-01' -'374','val_375','2009-08-01' -'375','val_375','2009-08-01' -'375','val_376','2009-08-01' -'375','val_376','2009-08-01' -'375','val_376','2009-08-01' -'375','val_376','2009-08-01' -'375','val_376','2009-08-01' -'376','val_377','2009-08-01' -'377','val_377','2009-08-01' -'378','val_378','2009-08-01' -'378','val_379','2009-08-01' -'379','val_379','2009-08-01' -'379','val_380','2009-08-01' -'381','val_382','2009-08-01' -'382','val_382','2009-08-01' -'382','val_382','2009-08-01' -'382','val_383','2009-08-01' -'382','val_383','2009-08-01' -'384','val_384','2009-08-01' -'384','val_384','2009-08-01' -'384','val_384','2009-08-01' -'384','val_385','2009-08-01' -'384','val_385','2009-08-01' -'384','val_385','2009-08-01' -'385','val_386','2009-08-01' -'385','val_386','2009-08-01' -'386','val_386','2009-08-01' -'386','val_387','2009-08-01' -'386','val_387','2009-08-01' -'388','val_389','2009-08-01' -'389','val_389','2009-08-01' -'389','val_390','2009-08-01' -'389','val_390','2009-08-01' -'390','val_391','2009-08-01' -'390','val_391','2009-08-01' -'390','val_391','2009-08-01' -'391','val_392','2009-08-01' -'391','val_392','2009-08-01' -'392','val_392','2009-08-01' -'392','val_393','2009-08-01' -'392','val_393','2009-08-01' -'393','val_393','2009-08-01' -'393','val_394','2009-08-01' -'393','val_394','2009-08-01' -'394','val_394','2009-08-01' -'395','val_395','2009-08-01' -'395','val_395','2009-08-01' -'395','val_396','2009-08-01' -'395','val_396','2009-08-01' -'396','val_396','2009-08-01' -'396','val_396','2009-08-01' -'396','val_396','2009-08-01' -'397','val_397','2009-08-01' -'397','val_397','2009-08-01' -'398','val_399','2009-08-01' -'399','val_399','2009-08-01' -'399','val_399','2009-08-01' -'399','val_400','2009-08-01' -'399','val_400','2009-08-01' -'4','val_4','2009-08-01' -'4','val_5','2009-08-01' -'40','val_41','2009-08-01' -'40','val_41','2009-08-01' -'400','val_400','2009-08-01' -'401','val_401','2009-08-01' -'401','val_401','2009-08-01' -'401','val_401','2009-08-01' -'401','val_401','2009-08-01' -'401','val_401','2009-08-01' -'401','val_402','2009-08-01' -'402','val_402','2009-08-01' -'402','val_403','2009-08-01' -'402','val_403','2009-08-01' -'402','val_403','2009-08-01' -'403','val_403','2009-08-01' -'403','val_403','2009-08-01' -'403','val_403','2009-08-01' -'404','val_404','2009-08-01' -'404','val_404','2009-08-01' -'404','val_405','2009-08-01' -'404','val_405','2009-08-01' -'404','val_405','2009-08-01' -'405','val_406','2009-08-01' -'406','val_406','2009-08-01' -'406','val_406','2009-08-01' -'406','val_406','2009-08-01' -'406','val_406','2009-08-01' -'406','val_407','2009-08-01' -'407','val_407','2009-08-01' -'407','val_408','2009-08-01' -'407','val_408','2009-08-01' -'407','val_408','2009-08-01' -'408','val_409','2009-08-01' -'408','val_409','2009-08-01' -'409','val_409','2009-08-01' -'409','val_409','2009-08-01' -'409','val_409','2009-08-01' -'409','val_410','2009-08-01' -'409','val_410','2009-08-01' -'41','val_41','2009-08-01' -'410','val_411','2009-08-01' -'411','val_411','2009-08-01' -'411','val_412','2009-08-01' -'412','val_413','2009-08-01' -'412','val_413','2009-08-01' -'413','val_413','2009-08-01' -'413','val_413','2009-08-01' -'413','val_414','2009-08-01' -'414','val_414','2009-08-01' -'414','val_414','2009-08-01' -'414','val_415','2009-08-01' -'415','val_416','2009-08-01' -'416','val_417','2009-08-01' -'417','val_417','2009-08-01' -'417','val_417','2009-08-01' -'417','val_417','2009-08-01' -'418','val_418','2009-08-01' -'419','val_419','2009-08-01' -'42','val_42','2009-08-01' -'42','val_42','2009-08-01' -'42','val_43','2009-08-01' -'42','val_43','2009-08-01' -'42','val_43','2009-08-01' -'421','val_421','2009-08-01' -'421','val_422','2009-08-01' -'421','val_422','2009-08-01' -'423','val_424','2009-08-01' -'424','val_424','2009-08-01' -'424','val_424','2009-08-01' -'424','val_425','2009-08-01' -'425','val_426','2009-08-01' -'426','val_427','2009-08-01' -'427','val_427','2009-08-01' -'427','val_428','2009-08-01' -'427','val_428','2009-08-01' -'428','val_429','2009-08-01' -'429','val_429','2009-08-01' -'429','val_429','2009-08-01' -'429','val_430','2009-08-01' -'429','val_430','2009-08-01' -'43','val_43','2009-08-01' -'430','val_430','2009-08-01' -'430','val_430','2009-08-01' -'430','val_430','2009-08-01' -'430','val_431','2009-08-01' -'431','val_431','2009-08-01' -'431','val_431','2009-08-01' -'431','val_431','2009-08-01' -'431','val_432','2009-08-01' -'432','val_432','2009-08-01' -'432','val_433','2009-08-01' -'435','val_435','2009-08-01' -'435','val_436','2009-08-01' -'436','val_436','2009-08-01' -'436','val_437','2009-08-01' -'437','val_437','2009-08-01' -'437','val_438','2009-08-01' -'438','val_438','2009-08-01' -'438','val_438','2009-08-01' -'438','val_438','2009-08-01' -'438','val_439','2009-08-01' -'438','val_439','2009-08-01' -'439','val_439','2009-08-01' -'439','val_439','2009-08-01' -'439','val_440','2009-08-01' -'439','val_440','2009-08-01' -'44','val_44','2009-08-01' -'440','val_441','2009-08-01' -'440','val_441','2009-08-01' -'441','val_442','2009-08-01' -'442','val_443','2009-08-01' -'443','val_443','2009-08-01' -'443','val_444','2009-08-01' -'443','val_444','2009-08-01' -'443','val_444','2009-08-01' -'444','val_444','2009-08-01' -'446','val_446','2009-08-01' -'446','val_447','2009-08-01' -'446','val_447','2009-08-01' -'447','val_448','2009-08-01' -'448','val_448','2009-08-01' -'448','val_449','2009-08-01' -'449','val_449','2009-08-01' -'450','val_451','2009-08-01' -'450','val_451','2009-08-01' -'451','val_452','2009-08-01' -'452','val_452','2009-08-01' -'453','val_453','2009-08-01' -'453','val_454','2009-08-01' -'454','val_454','2009-08-01' -'454','val_454','2009-08-01' -'454','val_454','2009-08-01' -'454','val_455','2009-08-01' -'454','val_455','2009-08-01' -'455','val_455','2009-08-01' -'455','val_456','2009-08-01' -'455','val_456','2009-08-01' -'457','val_457','2009-08-01' -'457','val_458','2009-08-01' -'457','val_458','2009-08-01' -'458','val_458','2009-08-01' -'458','val_458','2009-08-01' -'459','val_459','2009-08-01' -'459','val_459','2009-08-01' -'459','val_460','2009-08-01' -'46','val_47','2009-08-01' -'460','val_460','2009-08-01' -'461','val_462','2009-08-01' -'462','val_462','2009-08-01' -'462','val_462','2009-08-01' -'462','val_463','2009-08-01' -'463','val_463','2009-08-01' -'463','val_463','2009-08-01' -'463','val_464','2009-08-01' -'466','val_466','2009-08-01' -'466','val_466','2009-08-01' -'466','val_466','2009-08-01' -'467','val_467','2009-08-01' -'467','val_468','2009-08-01' -'468','val_468','2009-08-01' -'468','val_468','2009-08-01' -'468','val_468','2009-08-01' -'468','val_468','2009-08-01' -'468','val_469','2009-08-01' -'468','val_469','2009-08-01' -'468','val_469','2009-08-01' -'469','val_469','2009-08-01' -'469','val_469','2009-08-01' -'469','val_469','2009-08-01' -'469','val_469','2009-08-01' -'469','val_469','2009-08-01' -'469','val_470','2009-08-01' -'47','val_47','2009-08-01' -'47','val_48','2009-08-01' -'470','val_470','2009-08-01' -'470','val_471','2009-08-01' -'472','val_472','2009-08-01' -'473','val_474','2009-08-01' -'474','val_475','2009-08-01' -'474','val_475','2009-08-01' -'475','val_475','2009-08-01' -'475','val_476','2009-08-01' -'476','val_477','2009-08-01' -'476','val_477','2009-08-01' -'477','val_477','2009-08-01' -'477','val_478','2009-08-01' -'478','val_478','2009-08-01' -'478','val_478','2009-08-01' -'478','val_479','2009-08-01' -'478','val_479','2009-08-01' -'479','val_479','2009-08-01' -'48','val_49','2009-08-01' -'48','val_49','2009-08-01' -'480','val_480','2009-08-01' -'480','val_480','2009-08-01' -'480','val_480','2009-08-01' -'480','val_481','2009-08-01' -'480','val_481','2009-08-01' -'481','val_481','2009-08-01' -'481','val_482','2009-08-01' -'482','val_482','2009-08-01' -'482','val_483','2009-08-01' -'483','val_483','2009-08-01' -'484','val_484','2009-08-01' -'484','val_485','2009-08-01' -'485','val_485','2009-08-01' -'485','val_486','2009-08-01' -'485','val_486','2009-08-01' -'486','val_487','2009-08-01' -'487','val_487','2009-08-01' -'487','val_488','2009-08-01' -'488','val_489','2009-08-01' -'489','val_489','2009-08-01' -'489','val_489','2009-08-01' -'489','val_489','2009-08-01' -'489','val_489','2009-08-01' -'489','val_490','2009-08-01' -'49','val_50','2009-08-01' -'49','val_50','2009-08-01' -'490','val_490','2009-08-01' -'490','val_491','2009-08-01' -'491','val_491','2009-08-01' -'491','val_492','2009-08-01' -'491','val_492','2009-08-01' -'492','val_492','2009-08-01' -'492','val_492','2009-08-01' -'492','val_493','2009-08-01' -'492','val_493','2009-08-01' -'493','val_493','2009-08-01' -'494','val_494','2009-08-01' -'494','val_495','2009-08-01' -'494','val_495','2009-08-01' -'495','val_495','2009-08-01' -'495','val_496','2009-08-01' -'496','val_496','2009-08-01' -'496','val_497','2009-08-01' -'497','val_497','2009-08-01' -'497','val_498','2009-08-01' -'497','val_498','2009-08-01' -'498','val_498','2009-08-01' -'498','val_498','2009-08-01' -'498','val_498','2009-08-01' -'5','val_5','2009-08-01' -'5','val_5','2009-08-01' -'5','val_5','2009-08-01' -'5','val_6','2009-08-01' -'50','val_51','2009-08-01' -'51','val_51','2009-08-01' -'51','val_51','2009-08-01' -'51','val_52','2009-08-01' -'52','val_53','2009-08-01' -'52','val_53','2009-08-01' -'52','val_53','2009-08-01' -'52','val_53','2009-08-01' -'53','val_53','2009-08-01' -'53','val_54','2009-08-01' -'54','val_54','2009-08-01' -'56','val_57','2009-08-01' -'57','val_57','2009-08-01' -'58','val_58','2009-08-01' -'58','val_58','2009-08-01' -'58','val_59','2009-08-01' -'58','val_59','2009-08-01' -'59','val_60','2009-08-01' -'6','val_7','2009-08-01' -'6','val_7','2009-08-01' -'60','val_61','2009-08-01' -'61','val_62','2009-08-01' -'62','val_63','2009-08-01' -'62','val_63','2009-08-01' -'63','val_64','2009-08-01' -'64','val_64','2009-08-01' -'65','val_65','2009-08-01' -'65','val_66','2009-08-01' -'65','val_66','2009-08-01' -'66','val_66','2009-08-01' -'67','val_67','2009-08-01' -'67','val_67','2009-08-01' -'68','val_69','2009-08-01' -'69','val_69','2009-08-01' -'69','val_70','2009-08-01' -'70','val_70','2009-08-01' -'70','val_70','2009-08-01' -'70','val_70','2009-08-01' -'70','val_71','2009-08-01' -'71','val_72','2009-08-01' -'72','val_72','2009-08-01' -'72','val_72','2009-08-01' -'74','val_74','2009-08-01' -'75','val_76','2009-08-01' -'76','val_76','2009-08-01' -'76','val_76','2009-08-01' -'76','val_77','2009-08-01' -'76','val_77','2009-08-01' -'76','val_77','2009-08-01' -'77','val_77','2009-08-01' -'77','val_78','2009-08-01' -'77','val_78','2009-08-01' -'78','val_78','2009-08-01' -'78','val_79','2009-08-01' -'8','val_8','2009-08-01' -'8','val_9','2009-08-01' -'80','val_80','2009-08-01' -'80','val_81','2009-08-01' -'82','val_82','2009-08-01' -'82','val_83','2009-08-01' -'82','val_83','2009-08-01' -'83','val_83','2009-08-01' -'83','val_83','2009-08-01' -'84','val_84','2009-08-01' -'84','val_84','2009-08-01' -'85','val_85','2009-08-01' -'85','val_86','2009-08-01' -'86','val_86','2009-08-01' -'86','val_87','2009-08-01' -'87','val_87','2009-08-01' -'87','val_88','2009-08-01' -'87','val_88','2009-08-01' -'89','val_90','2009-08-01' -'89','val_90','2009-08-01' -'89','val_90','2009-08-01' -'9','val_9','2009-08-01' -'90','val_90','2009-08-01' -'90','val_90','2009-08-01' -'90','val_90','2009-08-01' -'91','val_92','2009-08-01' -'92','val_92','2009-08-01' -'93','val_94','2009-08-01' -'93','val_94','2009-08-01' -'93','val_94','2009-08-01' -'94','val_95','2009-08-01' -'95','val_95','2009-08-01' -'95','val_95','2009-08-01' -'96','val_96','2009-08-01' -'97','val_97','2009-08-01' -'97','val_97','2009-08-01' -'97','val_98','2009-08-01' -'97','val_98','2009-08-01' -'98','val_98','2009-08-01' -'98','val_98','2009-08-01' -'99','val_100','2009-08-01' -1,000 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/input41.q.out ql/src/test/results/beelinepositive/input41.q.out deleted file mode 100644 index 915688b..0000000 --- ql/src/test/results/beelinepositive/input41.q.out +++ /dev/null @@ -1,25 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input41.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input41.q ->>> set hive.mapred.mode=strict; -No rows affected ->>> ->>> create table dest_sp (cnt int); -No rows affected ->>> ->>> insert overwrite table dest_sp -select * from -(select count(1) as cnt from src -union all -select count(1) as cnt from srcpart where ds = '2009-08-09' -)x; -'_col0' -No rows selected ->>> ->>> select * from dest_sp x order by x.cnt limit 2; -'cnt' -'0' -'500' -2 rows selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/input42.q.out ql/src/test/results/beelinepositive/input42.q.out deleted file mode 100644 index 380cd6c..0000000 --- ql/src/test/results/beelinepositive/input42.q.out +++ /dev/null @@ -1,2036 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input42.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input42.q ->>> explain extended -select * from srcpart a where a.ds='2008-04-08' order by a.key, a.hr; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (= (. (TOK_TABLE_OR_COL a) ds) '2008-04-08')) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) hr)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col3' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/input42.db/srcpart/ds=2008-04-08/hr=11 [a]' -' !!{hive.metastore.warehouse.dir}!!/input42.db/srcpart/ds=2008-04-08/hr=12 [a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/input42.db/srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input42.db/srcpart/ds=2008-04-08/hr=11' -' name input42.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input42.db/srcpart' -' name input42.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: input42.srcpart' -' name: input42.srcpart' -' !!{hive.metastore.warehouse.dir}!!/input42.db/srcpart/ds=2008-04-08/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input42.db/srcpart/ds=2008-04-08/hr=12' -' name input42.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input42.db/srcpart' -' name input42.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: input42.srcpart' -' name: input42.srcpart' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string:string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -175 rows selected ->>> ->>> select * from srcpart a where a.ds='2008-04-08' order by a.key, a.hr; -'key','value','ds','hr' -'0','val_0','2008-04-08','11' -'0','val_0','2008-04-08','11' -'0','val_0','2008-04-08','11' -'0','val_0','2008-04-08','12' -'0','val_0','2008-04-08','12' -'0','val_0','2008-04-08','12' -'10','val_10','2008-04-08','11' -'10','val_10','2008-04-08','12' -'100','val_100','2008-04-08','11' -'100','val_100','2008-04-08','11' -'100','val_100','2008-04-08','12' -'100','val_100','2008-04-08','12' -'103','val_103','2008-04-08','11' -'103','val_103','2008-04-08','11' -'103','val_103','2008-04-08','12' -'103','val_103','2008-04-08','12' -'104','val_104','2008-04-08','11' -'104','val_104','2008-04-08','11' -'104','val_104','2008-04-08','12' -'104','val_104','2008-04-08','12' -'105','val_105','2008-04-08','11' -'105','val_105','2008-04-08','12' -'11','val_11','2008-04-08','11' -'11','val_11','2008-04-08','12' -'111','val_111','2008-04-08','11' -'111','val_111','2008-04-08','12' -'113','val_113','2008-04-08','11' -'113','val_113','2008-04-08','11' -'113','val_113','2008-04-08','12' -'113','val_113','2008-04-08','12' -'114','val_114','2008-04-08','11' -'114','val_114','2008-04-08','12' -'116','val_116','2008-04-08','11' -'116','val_116','2008-04-08','12' -'118','val_118','2008-04-08','11' -'118','val_118','2008-04-08','11' -'118','val_118','2008-04-08','12' -'118','val_118','2008-04-08','12' -'119','val_119','2008-04-08','11' -'119','val_119','2008-04-08','11' -'119','val_119','2008-04-08','11' -'119','val_119','2008-04-08','12' -'119','val_119','2008-04-08','12' -'119','val_119','2008-04-08','12' -'12','val_12','2008-04-08','11' -'12','val_12','2008-04-08','11' -'12','val_12','2008-04-08','12' -'12','val_12','2008-04-08','12' -'120','val_120','2008-04-08','11' -'120','val_120','2008-04-08','11' -'120','val_120','2008-04-08','12' -'120','val_120','2008-04-08','12' -'125','val_125','2008-04-08','11' -'125','val_125','2008-04-08','11' -'125','val_125','2008-04-08','12' -'125','val_125','2008-04-08','12' -'126','val_126','2008-04-08','11' -'126','val_126','2008-04-08','12' -'128','val_128','2008-04-08','11' -'128','val_128','2008-04-08','11' -'128','val_128','2008-04-08','11' -'128','val_128','2008-04-08','12' -'128','val_128','2008-04-08','12' -'128','val_128','2008-04-08','12' -'129','val_129','2008-04-08','11' -'129','val_129','2008-04-08','11' -'129','val_129','2008-04-08','12' -'129','val_129','2008-04-08','12' -'131','val_131','2008-04-08','11' -'131','val_131','2008-04-08','12' -'133','val_133','2008-04-08','11' -'133','val_133','2008-04-08','12' -'134','val_134','2008-04-08','11' -'134','val_134','2008-04-08','11' -'134','val_134','2008-04-08','12' -'134','val_134','2008-04-08','12' -'136','val_136','2008-04-08','11' -'136','val_136','2008-04-08','12' -'137','val_137','2008-04-08','11' -'137','val_137','2008-04-08','11' -'137','val_137','2008-04-08','12' -'137','val_137','2008-04-08','12' -'138','val_138','2008-04-08','11' -'138','val_138','2008-04-08','11' -'138','val_138','2008-04-08','11' -'138','val_138','2008-04-08','11' -'138','val_138','2008-04-08','12' -'138','val_138','2008-04-08','12' -'138','val_138','2008-04-08','12' -'138','val_138','2008-04-08','12' -'143','val_143','2008-04-08','11' -'143','val_143','2008-04-08','12' -'145','val_145','2008-04-08','11' -'145','val_145','2008-04-08','12' -'146','val_146','2008-04-08','11' -'146','val_146','2008-04-08','11' -'146','val_146','2008-04-08','12' -'146','val_146','2008-04-08','12' -'149','val_149','2008-04-08','11' -'149','val_149','2008-04-08','11' -'149','val_149','2008-04-08','12' -'149','val_149','2008-04-08','12' -'15','val_15','2008-04-08','11' -'15','val_15','2008-04-08','11' -'15','val_15','2008-04-08','12' -'15','val_15','2008-04-08','12' -'150','val_150','2008-04-08','11' -'150','val_150','2008-04-08','12' -'152','val_152','2008-04-08','11' -'152','val_152','2008-04-08','11' -'152','val_152','2008-04-08','12' -'152','val_152','2008-04-08','12' -'153','val_153','2008-04-08','11' -'153','val_153','2008-04-08','12' -'155','val_155','2008-04-08','11' -'155','val_155','2008-04-08','12' -'156','val_156','2008-04-08','11' -'156','val_156','2008-04-08','12' -'157','val_157','2008-04-08','11' -'157','val_157','2008-04-08','12' -'158','val_158','2008-04-08','11' -'158','val_158','2008-04-08','12' -'160','val_160','2008-04-08','11' -'160','val_160','2008-04-08','12' -'162','val_162','2008-04-08','11' -'162','val_162','2008-04-08','12' -'163','val_163','2008-04-08','11' -'163','val_163','2008-04-08','12' -'164','val_164','2008-04-08','11' -'164','val_164','2008-04-08','11' -'164','val_164','2008-04-08','12' -'164','val_164','2008-04-08','12' -'165','val_165','2008-04-08','11' -'165','val_165','2008-04-08','11' -'165','val_165','2008-04-08','12' -'165','val_165','2008-04-08','12' -'166','val_166','2008-04-08','11' -'166','val_166','2008-04-08','12' -'167','val_167','2008-04-08','11' -'167','val_167','2008-04-08','11' -'167','val_167','2008-04-08','11' -'167','val_167','2008-04-08','12' -'167','val_167','2008-04-08','12' -'167','val_167','2008-04-08','12' -'168','val_168','2008-04-08','11' -'168','val_168','2008-04-08','12' -'169','val_169','2008-04-08','11' -'169','val_169','2008-04-08','11' -'169','val_169','2008-04-08','11' -'169','val_169','2008-04-08','11' -'169','val_169','2008-04-08','12' -'169','val_169','2008-04-08','12' -'169','val_169','2008-04-08','12' -'169','val_169','2008-04-08','12' -'17','val_17','2008-04-08','11' -'17','val_17','2008-04-08','12' -'170','val_170','2008-04-08','11' -'170','val_170','2008-04-08','12' -'172','val_172','2008-04-08','11' -'172','val_172','2008-04-08','11' -'172','val_172','2008-04-08','12' -'172','val_172','2008-04-08','12' -'174','val_174','2008-04-08','11' -'174','val_174','2008-04-08','11' -'174','val_174','2008-04-08','12' -'174','val_174','2008-04-08','12' -'175','val_175','2008-04-08','11' -'175','val_175','2008-04-08','11' -'175','val_175','2008-04-08','12' -'175','val_175','2008-04-08','12' -'176','val_176','2008-04-08','11' -'176','val_176','2008-04-08','11' -'176','val_176','2008-04-08','12' -'176','val_176','2008-04-08','12' -'177','val_177','2008-04-08','11' -'177','val_177','2008-04-08','12' -'178','val_178','2008-04-08','11' -'178','val_178','2008-04-08','12' -'179','val_179','2008-04-08','11' -'179','val_179','2008-04-08','11' -'179','val_179','2008-04-08','12' -'179','val_179','2008-04-08','12' -'18','val_18','2008-04-08','11' -'18','val_18','2008-04-08','11' -'18','val_18','2008-04-08','12' -'18','val_18','2008-04-08','12' -'180','val_180','2008-04-08','11' -'180','val_180','2008-04-08','12' -'181','val_181','2008-04-08','11' -'181','val_181','2008-04-08','12' -'183','val_183','2008-04-08','11' -'183','val_183','2008-04-08','12' -'186','val_186','2008-04-08','11' -'186','val_186','2008-04-08','12' -'187','val_187','2008-04-08','11' -'187','val_187','2008-04-08','11' -'187','val_187','2008-04-08','11' -'187','val_187','2008-04-08','12' -'187','val_187','2008-04-08','12' -'187','val_187','2008-04-08','12' -'189','val_189','2008-04-08','11' -'189','val_189','2008-04-08','12' -'19','val_19','2008-04-08','11' -'19','val_19','2008-04-08','12' -'190','val_190','2008-04-08','11' -'190','val_190','2008-04-08','12' -'191','val_191','2008-04-08','11' -'191','val_191','2008-04-08','11' -'191','val_191','2008-04-08','12' -'191','val_191','2008-04-08','12' -'192','val_192','2008-04-08','11' -'192','val_192','2008-04-08','12' -'193','val_193','2008-04-08','11' -'193','val_193','2008-04-08','11' -'193','val_193','2008-04-08','11' -'193','val_193','2008-04-08','12' -'193','val_193','2008-04-08','12' -'193','val_193','2008-04-08','12' -'194','val_194','2008-04-08','11' -'194','val_194','2008-04-08','12' -'195','val_195','2008-04-08','11' -'195','val_195','2008-04-08','11' -'195','val_195','2008-04-08','12' -'195','val_195','2008-04-08','12' -'196','val_196','2008-04-08','11' -'196','val_196','2008-04-08','12' -'197','val_197','2008-04-08','11' -'197','val_197','2008-04-08','11' -'197','val_197','2008-04-08','12' -'197','val_197','2008-04-08','12' -'199','val_199','2008-04-08','11' -'199','val_199','2008-04-08','11' -'199','val_199','2008-04-08','11' -'199','val_199','2008-04-08','12' -'199','val_199','2008-04-08','12' -'199','val_199','2008-04-08','12' -'2','val_2','2008-04-08','11' -'2','val_2','2008-04-08','12' -'20','val_20','2008-04-08','11' -'20','val_20','2008-04-08','12' -'200','val_200','2008-04-08','11' -'200','val_200','2008-04-08','11' -'200','val_200','2008-04-08','12' -'200','val_200','2008-04-08','12' -'201','val_201','2008-04-08','11' -'201','val_201','2008-04-08','12' -'202','val_202','2008-04-08','11' -'202','val_202','2008-04-08','12' -'203','val_203','2008-04-08','11' -'203','val_203','2008-04-08','11' -'203','val_203','2008-04-08','12' -'203','val_203','2008-04-08','12' -'205','val_205','2008-04-08','11' -'205','val_205','2008-04-08','11' -'205','val_205','2008-04-08','12' -'205','val_205','2008-04-08','12' -'207','val_207','2008-04-08','11' -'207','val_207','2008-04-08','11' -'207','val_207','2008-04-08','12' -'207','val_207','2008-04-08','12' -'208','val_208','2008-04-08','11' -'208','val_208','2008-04-08','11' -'208','val_208','2008-04-08','11' -'208','val_208','2008-04-08','12' -'208','val_208','2008-04-08','12' -'208','val_208','2008-04-08','12' -'209','val_209','2008-04-08','11' -'209','val_209','2008-04-08','11' -'209','val_209','2008-04-08','12' -'209','val_209','2008-04-08','12' -'213','val_213','2008-04-08','11' -'213','val_213','2008-04-08','11' -'213','val_213','2008-04-08','12' -'213','val_213','2008-04-08','12' -'214','val_214','2008-04-08','11' -'214','val_214','2008-04-08','12' -'216','val_216','2008-04-08','11' -'216','val_216','2008-04-08','11' -'216','val_216','2008-04-08','12' -'216','val_216','2008-04-08','12' -'217','val_217','2008-04-08','11' -'217','val_217','2008-04-08','11' -'217','val_217','2008-04-08','12' -'217','val_217','2008-04-08','12' -'218','val_218','2008-04-08','11' -'218','val_218','2008-04-08','12' -'219','val_219','2008-04-08','11' -'219','val_219','2008-04-08','11' -'219','val_219','2008-04-08','12' -'219','val_219','2008-04-08','12' -'221','val_221','2008-04-08','11' -'221','val_221','2008-04-08','11' -'221','val_221','2008-04-08','12' -'221','val_221','2008-04-08','12' -'222','val_222','2008-04-08','11' -'222','val_222','2008-04-08','12' -'223','val_223','2008-04-08','11' -'223','val_223','2008-04-08','11' -'223','val_223','2008-04-08','12' -'223','val_223','2008-04-08','12' -'224','val_224','2008-04-08','11' -'224','val_224','2008-04-08','11' -'224','val_224','2008-04-08','12' -'224','val_224','2008-04-08','12' -'226','val_226','2008-04-08','11' -'226','val_226','2008-04-08','12' -'228','val_228','2008-04-08','11' -'228','val_228','2008-04-08','12' -'229','val_229','2008-04-08','11' -'229','val_229','2008-04-08','11' -'229','val_229','2008-04-08','12' -'229','val_229','2008-04-08','12' -'230','val_230','2008-04-08','11' -'230','val_230','2008-04-08','11' -'230','val_230','2008-04-08','11' -'230','val_230','2008-04-08','11' -'230','val_230','2008-04-08','11' -'230','val_230','2008-04-08','12' -'230','val_230','2008-04-08','12' -'230','val_230','2008-04-08','12' -'230','val_230','2008-04-08','12' -'230','val_230','2008-04-08','12' -'233','val_233','2008-04-08','11' -'233','val_233','2008-04-08','11' -'233','val_233','2008-04-08','12' -'233','val_233','2008-04-08','12' -'235','val_235','2008-04-08','11' -'235','val_235','2008-04-08','12' -'237','val_237','2008-04-08','11' -'237','val_237','2008-04-08','11' -'237','val_237','2008-04-08','12' -'237','val_237','2008-04-08','12' -'238','val_238','2008-04-08','11' -'238','val_238','2008-04-08','11' -'238','val_238','2008-04-08','12' -'238','val_238','2008-04-08','12' -'239','val_239','2008-04-08','11' -'239','val_239','2008-04-08','11' -'239','val_239','2008-04-08','12' -'239','val_239','2008-04-08','12' -'24','val_24','2008-04-08','11' -'24','val_24','2008-04-08','11' -'24','val_24','2008-04-08','12' -'24','val_24','2008-04-08','12' -'241','val_241','2008-04-08','11' -'241','val_241','2008-04-08','12' -'242','val_242','2008-04-08','11' -'242','val_242','2008-04-08','11' -'242','val_242','2008-04-08','12' -'242','val_242','2008-04-08','12' -'244','val_244','2008-04-08','11' -'244','val_244','2008-04-08','12' -'247','val_247','2008-04-08','11' -'247','val_247','2008-04-08','12' -'248','val_248','2008-04-08','11' -'248','val_248','2008-04-08','12' -'249','val_249','2008-04-08','11' -'249','val_249','2008-04-08','12' -'252','val_252','2008-04-08','11' -'252','val_252','2008-04-08','12' -'255','val_255','2008-04-08','11' -'255','val_255','2008-04-08','11' -'255','val_255','2008-04-08','12' -'255','val_255','2008-04-08','12' -'256','val_256','2008-04-08','11' -'256','val_256','2008-04-08','11' -'256','val_256','2008-04-08','12' -'256','val_256','2008-04-08','12' -'257','val_257','2008-04-08','11' -'257','val_257','2008-04-08','12' -'258','val_258','2008-04-08','11' -'258','val_258','2008-04-08','12' -'26','val_26','2008-04-08','11' -'26','val_26','2008-04-08','11' -'26','val_26','2008-04-08','12' -'26','val_26','2008-04-08','12' -'260','val_260','2008-04-08','11' -'260','val_260','2008-04-08','12' -'262','val_262','2008-04-08','11' -'262','val_262','2008-04-08','12' -'263','val_263','2008-04-08','11' -'263','val_263','2008-04-08','12' -'265','val_265','2008-04-08','11' -'265','val_265','2008-04-08','11' -'265','val_265','2008-04-08','12' -'265','val_265','2008-04-08','12' -'266','val_266','2008-04-08','11' -'266','val_266','2008-04-08','12' -'27','val_27','2008-04-08','11' -'27','val_27','2008-04-08','12' -'272','val_272','2008-04-08','11' -'272','val_272','2008-04-08','11' -'272','val_272','2008-04-08','12' -'272','val_272','2008-04-08','12' -'273','val_273','2008-04-08','11' -'273','val_273','2008-04-08','11' -'273','val_273','2008-04-08','11' -'273','val_273','2008-04-08','12' -'273','val_273','2008-04-08','12' -'273','val_273','2008-04-08','12' -'274','val_274','2008-04-08','11' -'274','val_274','2008-04-08','12' -'275','val_275','2008-04-08','11' -'275','val_275','2008-04-08','12' -'277','val_277','2008-04-08','11' -'277','val_277','2008-04-08','11' -'277','val_277','2008-04-08','11' -'277','val_277','2008-04-08','11' -'277','val_277','2008-04-08','12' -'277','val_277','2008-04-08','12' -'277','val_277','2008-04-08','12' -'277','val_277','2008-04-08','12' -'278','val_278','2008-04-08','11' -'278','val_278','2008-04-08','11' -'278','val_278','2008-04-08','12' -'278','val_278','2008-04-08','12' -'28','val_28','2008-04-08','11' -'28','val_28','2008-04-08','12' -'280','val_280','2008-04-08','11' -'280','val_280','2008-04-08','11' -'280','val_280','2008-04-08','12' -'280','val_280','2008-04-08','12' -'281','val_281','2008-04-08','11' -'281','val_281','2008-04-08','11' -'281','val_281','2008-04-08','12' -'281','val_281','2008-04-08','12' -'282','val_282','2008-04-08','11' -'282','val_282','2008-04-08','11' -'282','val_282','2008-04-08','12' -'282','val_282','2008-04-08','12' -'283','val_283','2008-04-08','11' -'283','val_283','2008-04-08','12' -'284','val_284','2008-04-08','11' -'284','val_284','2008-04-08','12' -'285','val_285','2008-04-08','11' -'285','val_285','2008-04-08','12' -'286','val_286','2008-04-08','11' -'286','val_286','2008-04-08','12' -'287','val_287','2008-04-08','11' -'287','val_287','2008-04-08','12' -'288','val_288','2008-04-08','11' -'288','val_288','2008-04-08','11' -'288','val_288','2008-04-08','12' -'288','val_288','2008-04-08','12' -'289','val_289','2008-04-08','11' -'289','val_289','2008-04-08','12' -'291','val_291','2008-04-08','11' -'291','val_291','2008-04-08','12' -'292','val_292','2008-04-08','11' -'292','val_292','2008-04-08','12' -'296','val_296','2008-04-08','11' -'296','val_296','2008-04-08','12' -'298','val_298','2008-04-08','11' -'298','val_298','2008-04-08','11' -'298','val_298','2008-04-08','11' -'298','val_298','2008-04-08','12' -'298','val_298','2008-04-08','12' -'298','val_298','2008-04-08','12' -'30','val_30','2008-04-08','11' -'30','val_30','2008-04-08','12' -'302','val_302','2008-04-08','11' -'302','val_302','2008-04-08','12' -'305','val_305','2008-04-08','11' -'305','val_305','2008-04-08','12' -'306','val_306','2008-04-08','11' -'306','val_306','2008-04-08','12' -'307','val_307','2008-04-08','11' -'307','val_307','2008-04-08','11' -'307','val_307','2008-04-08','12' -'307','val_307','2008-04-08','12' -'308','val_308','2008-04-08','11' -'308','val_308','2008-04-08','12' -'309','val_309','2008-04-08','11' -'309','val_309','2008-04-08','11' -'309','val_309','2008-04-08','12' -'309','val_309','2008-04-08','12' -'310','val_310','2008-04-08','11' -'310','val_310','2008-04-08','12' -'311','val_311','2008-04-08','11' -'311','val_311','2008-04-08','11' -'311','val_311','2008-04-08','11' -'311','val_311','2008-04-08','12' -'311','val_311','2008-04-08','12' -'311','val_311','2008-04-08','12' -'315','val_315','2008-04-08','11' -'315','val_315','2008-04-08','12' -'316','val_316','2008-04-08','11' -'316','val_316','2008-04-08','11' -'316','val_316','2008-04-08','11' -'316','val_316','2008-04-08','12' -'316','val_316','2008-04-08','12' -'316','val_316','2008-04-08','12' -'317','val_317','2008-04-08','11' -'317','val_317','2008-04-08','11' -'317','val_317','2008-04-08','12' -'317','val_317','2008-04-08','12' -'318','val_318','2008-04-08','11' -'318','val_318','2008-04-08','11' -'318','val_318','2008-04-08','11' -'318','val_318','2008-04-08','12' -'318','val_318','2008-04-08','12' -'318','val_318','2008-04-08','12' -'321','val_321','2008-04-08','11' -'321','val_321','2008-04-08','11' -'321','val_321','2008-04-08','12' -'321','val_321','2008-04-08','12' -'322','val_322','2008-04-08','11' -'322','val_322','2008-04-08','11' -'322','val_322','2008-04-08','12' -'322','val_322','2008-04-08','12' -'323','val_323','2008-04-08','11' -'323','val_323','2008-04-08','12' -'325','val_325','2008-04-08','11' -'325','val_325','2008-04-08','11' -'325','val_325','2008-04-08','12' -'325','val_325','2008-04-08','12' -'327','val_327','2008-04-08','11' -'327','val_327','2008-04-08','11' -'327','val_327','2008-04-08','11' -'327','val_327','2008-04-08','12' -'327','val_327','2008-04-08','12' -'327','val_327','2008-04-08','12' -'33','val_33','2008-04-08','11' -'33','val_33','2008-04-08','12' -'331','val_331','2008-04-08','11' -'331','val_331','2008-04-08','11' -'331','val_331','2008-04-08','12' -'331','val_331','2008-04-08','12' -'332','val_332','2008-04-08','11' -'332','val_332','2008-04-08','12' -'333','val_333','2008-04-08','11' -'333','val_333','2008-04-08','11' -'333','val_333','2008-04-08','12' -'333','val_333','2008-04-08','12' -'335','val_335','2008-04-08','11' -'335','val_335','2008-04-08','12' -'336','val_336','2008-04-08','11' -'336','val_336','2008-04-08','12' -'338','val_338','2008-04-08','11' -'338','val_338','2008-04-08','12' -'339','val_339','2008-04-08','11' -'339','val_339','2008-04-08','12' -'34','val_34','2008-04-08','11' -'34','val_34','2008-04-08','12' -'341','val_341','2008-04-08','11' -'341','val_341','2008-04-08','12' -'342','val_342','2008-04-08','11' -'342','val_342','2008-04-08','11' -'342','val_342','2008-04-08','12' -'342','val_342','2008-04-08','12' -'344','val_344','2008-04-08','11' -'344','val_344','2008-04-08','11' -'344','val_344','2008-04-08','12' -'344','val_344','2008-04-08','12' -'345','val_345','2008-04-08','11' -'345','val_345','2008-04-08','12' -'348','val_348','2008-04-08','11' -'348','val_348','2008-04-08','11' -'348','val_348','2008-04-08','11' -'348','val_348','2008-04-08','11' -'348','val_348','2008-04-08','11' -'348','val_348','2008-04-08','12' -'348','val_348','2008-04-08','12' -'348','val_348','2008-04-08','12' -'348','val_348','2008-04-08','12' -'348','val_348','2008-04-08','12' -'35','val_35','2008-04-08','11' -'35','val_35','2008-04-08','11' -'35','val_35','2008-04-08','11' -'35','val_35','2008-04-08','12' -'35','val_35','2008-04-08','12' -'35','val_35','2008-04-08','12' -'351','val_351','2008-04-08','11' -'351','val_351','2008-04-08','12' -'353','val_353','2008-04-08','11' -'353','val_353','2008-04-08','11' -'353','val_353','2008-04-08','12' -'353','val_353','2008-04-08','12' -'356','val_356','2008-04-08','11' -'356','val_356','2008-04-08','12' -'360','val_360','2008-04-08','11' -'360','val_360','2008-04-08','12' -'362','val_362','2008-04-08','11' -'362','val_362','2008-04-08','12' -'364','val_364','2008-04-08','11' -'364','val_364','2008-04-08','12' -'365','val_365','2008-04-08','11' -'365','val_365','2008-04-08','12' -'366','val_366','2008-04-08','11' -'366','val_366','2008-04-08','12' -'367','val_367','2008-04-08','11' -'367','val_367','2008-04-08','11' -'367','val_367','2008-04-08','12' -'367','val_367','2008-04-08','12' -'368','val_368','2008-04-08','11' -'368','val_368','2008-04-08','12' -'369','val_369','2008-04-08','11' -'369','val_369','2008-04-08','11' -'369','val_369','2008-04-08','11' -'369','val_369','2008-04-08','12' -'369','val_369','2008-04-08','12' -'369','val_369','2008-04-08','12' -'37','val_37','2008-04-08','11' -'37','val_37','2008-04-08','11' -'37','val_37','2008-04-08','12' -'37','val_37','2008-04-08','12' -'373','val_373','2008-04-08','11' -'373','val_373','2008-04-08','12' -'374','val_374','2008-04-08','11' -'374','val_374','2008-04-08','12' -'375','val_375','2008-04-08','11' -'375','val_375','2008-04-08','12' -'377','val_377','2008-04-08','11' -'377','val_377','2008-04-08','12' -'378','val_378','2008-04-08','11' -'378','val_378','2008-04-08','12' -'379','val_379','2008-04-08','11' -'379','val_379','2008-04-08','12' -'382','val_382','2008-04-08','11' -'382','val_382','2008-04-08','11' -'382','val_382','2008-04-08','12' -'382','val_382','2008-04-08','12' -'384','val_384','2008-04-08','11' -'384','val_384','2008-04-08','11' -'384','val_384','2008-04-08','11' -'384','val_384','2008-04-08','12' -'384','val_384','2008-04-08','12' -'384','val_384','2008-04-08','12' -'386','val_386','2008-04-08','11' -'386','val_386','2008-04-08','12' -'389','val_389','2008-04-08','11' -'389','val_389','2008-04-08','12' -'392','val_392','2008-04-08','11' -'392','val_392','2008-04-08','12' -'393','val_393','2008-04-08','11' -'393','val_393','2008-04-08','12' -'394','val_394','2008-04-08','11' -'394','val_394','2008-04-08','12' -'395','val_395','2008-04-08','11' -'395','val_395','2008-04-08','11' -'395','val_395','2008-04-08','12' -'395','val_395','2008-04-08','12' -'396','val_396','2008-04-08','11' -'396','val_396','2008-04-08','11' -'396','val_396','2008-04-08','11' -'396','val_396','2008-04-08','12' -'396','val_396','2008-04-08','12' -'396','val_396','2008-04-08','12' -'397','val_397','2008-04-08','11' -'397','val_397','2008-04-08','11' -'397','val_397','2008-04-08','12' -'397','val_397','2008-04-08','12' -'399','val_399','2008-04-08','11' -'399','val_399','2008-04-08','11' -'399','val_399','2008-04-08','12' -'399','val_399','2008-04-08','12' -'4','val_4','2008-04-08','11' -'4','val_4','2008-04-08','12' -'400','val_400','2008-04-08','11' -'400','val_400','2008-04-08','12' -'401','val_401','2008-04-08','11' -'401','val_401','2008-04-08','11' -'401','val_401','2008-04-08','11' -'401','val_401','2008-04-08','11' -'401','val_401','2008-04-08','11' -'401','val_401','2008-04-08','12' -'401','val_401','2008-04-08','12' -'401','val_401','2008-04-08','12' -'401','val_401','2008-04-08','12' -'401','val_401','2008-04-08','12' -'402','val_402','2008-04-08','11' -'402','val_402','2008-04-08','12' -'403','val_403','2008-04-08','11' -'403','val_403','2008-04-08','11' -'403','val_403','2008-04-08','11' -'403','val_403','2008-04-08','12' -'403','val_403','2008-04-08','12' -'403','val_403','2008-04-08','12' -'404','val_404','2008-04-08','11' -'404','val_404','2008-04-08','11' -'404','val_404','2008-04-08','12' -'404','val_404','2008-04-08','12' -'406','val_406','2008-04-08','11' -'406','val_406','2008-04-08','11' -'406','val_406','2008-04-08','11' -'406','val_406','2008-04-08','11' -'406','val_406','2008-04-08','12' -'406','val_406','2008-04-08','12' -'406','val_406','2008-04-08','12' -'406','val_406','2008-04-08','12' -'407','val_407','2008-04-08','11' -'407','val_407','2008-04-08','12' -'409','val_409','2008-04-08','11' -'409','val_409','2008-04-08','11' -'409','val_409','2008-04-08','11' -'409','val_409','2008-04-08','12' -'409','val_409','2008-04-08','12' -'409','val_409','2008-04-08','12' -'41','val_41','2008-04-08','11' -'41','val_41','2008-04-08','12' -'411','val_411','2008-04-08','11' -'411','val_411','2008-04-08','12' -'413','val_413','2008-04-08','11' -'413','val_413','2008-04-08','11' -'413','val_413','2008-04-08','12' -'413','val_413','2008-04-08','12' -'414','val_414','2008-04-08','11' -'414','val_414','2008-04-08','11' -'414','val_414','2008-04-08','12' -'414','val_414','2008-04-08','12' -'417','val_417','2008-04-08','11' -'417','val_417','2008-04-08','11' -'417','val_417','2008-04-08','11' -'417','val_417','2008-04-08','12' -'417','val_417','2008-04-08','12' -'417','val_417','2008-04-08','12' -'418','val_418','2008-04-08','11' -'418','val_418','2008-04-08','12' -'419','val_419','2008-04-08','11' -'419','val_419','2008-04-08','12' -'42','val_42','2008-04-08','11' -'42','val_42','2008-04-08','11' -'42','val_42','2008-04-08','12' -'42','val_42','2008-04-08','12' -'421','val_421','2008-04-08','11' -'421','val_421','2008-04-08','12' -'424','val_424','2008-04-08','11' -'424','val_424','2008-04-08','11' -'424','val_424','2008-04-08','12' -'424','val_424','2008-04-08','12' -'427','val_427','2008-04-08','11' -'427','val_427','2008-04-08','12' -'429','val_429','2008-04-08','11' -'429','val_429','2008-04-08','11' -'429','val_429','2008-04-08','12' -'429','val_429','2008-04-08','12' -'43','val_43','2008-04-08','11' -'43','val_43','2008-04-08','12' -'430','val_430','2008-04-08','11' -'430','val_430','2008-04-08','11' -'430','val_430','2008-04-08','11' -'430','val_430','2008-04-08','12' -'430','val_430','2008-04-08','12' -'430','val_430','2008-04-08','12' -'431','val_431','2008-04-08','11' -'431','val_431','2008-04-08','11' -'431','val_431','2008-04-08','11' -'431','val_431','2008-04-08','12' -'431','val_431','2008-04-08','12' -'431','val_431','2008-04-08','12' -'432','val_432','2008-04-08','11' -'432','val_432','2008-04-08','12' -'435','val_435','2008-04-08','11' -'435','val_435','2008-04-08','12' -'436','val_436','2008-04-08','11' -'436','val_436','2008-04-08','12' -'437','val_437','2008-04-08','11' -'437','val_437','2008-04-08','12' -'438','val_438','2008-04-08','11' -'438','val_438','2008-04-08','11' -'438','val_438','2008-04-08','11' -'438','val_438','2008-04-08','12' -'438','val_438','2008-04-08','12' -'438','val_438','2008-04-08','12' -'439','val_439','2008-04-08','11' -'439','val_439','2008-04-08','11' -'439','val_439','2008-04-08','12' -'439','val_439','2008-04-08','12' -'44','val_44','2008-04-08','11' -'44','val_44','2008-04-08','12' -'443','val_443','2008-04-08','11' -'443','val_443','2008-04-08','12' -'444','val_444','2008-04-08','11' -'444','val_444','2008-04-08','12' -'446','val_446','2008-04-08','11' -'446','val_446','2008-04-08','12' -'448','val_448','2008-04-08','11' -'448','val_448','2008-04-08','12' -'449','val_449','2008-04-08','11' -'449','val_449','2008-04-08','12' -'452','val_452','2008-04-08','11' -'452','val_452','2008-04-08','12' -'453','val_453','2008-04-08','11' -'453','val_453','2008-04-08','12' -'454','val_454','2008-04-08','11' -'454','val_454','2008-04-08','11' -'454','val_454','2008-04-08','11' -'454','val_454','2008-04-08','12' -'454','val_454','2008-04-08','12' -'454','val_454','2008-04-08','12' -'455','val_455','2008-04-08','11' -'455','val_455','2008-04-08','12' -'457','val_457','2008-04-08','11' -'457','val_457','2008-04-08','12' -'458','val_458','2008-04-08','11' -'458','val_458','2008-04-08','11' -'458','val_458','2008-04-08','12' -'458','val_458','2008-04-08','12' -'459','val_459','2008-04-08','11' -'459','val_459','2008-04-08','11' -'459','val_459','2008-04-08','12' -'459','val_459','2008-04-08','12' -'460','val_460','2008-04-08','11' -'460','val_460','2008-04-08','12' -'462','val_462','2008-04-08','11' -'462','val_462','2008-04-08','11' -'462','val_462','2008-04-08','12' -'462','val_462','2008-04-08','12' -'463','val_463','2008-04-08','11' -'463','val_463','2008-04-08','11' -'463','val_463','2008-04-08','12' -'463','val_463','2008-04-08','12' -'466','val_466','2008-04-08','11' -'466','val_466','2008-04-08','11' -'466','val_466','2008-04-08','11' -'466','val_466','2008-04-08','12' -'466','val_466','2008-04-08','12' -'466','val_466','2008-04-08','12' -'467','val_467','2008-04-08','11' -'467','val_467','2008-04-08','12' -'468','val_468','2008-04-08','11' -'468','val_468','2008-04-08','11' -'468','val_468','2008-04-08','11' -'468','val_468','2008-04-08','11' -'468','val_468','2008-04-08','12' -'468','val_468','2008-04-08','12' -'468','val_468','2008-04-08','12' -'468','val_468','2008-04-08','12' -'469','val_469','2008-04-08','11' -'469','val_469','2008-04-08','11' -'469','val_469','2008-04-08','11' -'469','val_469','2008-04-08','11' -'469','val_469','2008-04-08','11' -'469','val_469','2008-04-08','12' -'469','val_469','2008-04-08','12' -'469','val_469','2008-04-08','12' -'469','val_469','2008-04-08','12' -'469','val_469','2008-04-08','12' -'47','val_47','2008-04-08','11' -'47','val_47','2008-04-08','12' -'470','val_470','2008-04-08','11' -'470','val_470','2008-04-08','12' -'472','val_472','2008-04-08','11' -'472','val_472','2008-04-08','12' -'475','val_475','2008-04-08','11' -'475','val_475','2008-04-08','12' -'477','val_477','2008-04-08','11' -'477','val_477','2008-04-08','12' -'478','val_478','2008-04-08','11' -'478','val_478','2008-04-08','11' -'478','val_478','2008-04-08','12' -'478','val_478','2008-04-08','12' -'479','val_479','2008-04-08','11' -'479','val_479','2008-04-08','12' -'480','val_480','2008-04-08','11' -'480','val_480','2008-04-08','11' -'480','val_480','2008-04-08','11' -'480','val_480','2008-04-08','12' -'480','val_480','2008-04-08','12' -'480','val_480','2008-04-08','12' -'481','val_481','2008-04-08','11' -'481','val_481','2008-04-08','12' -'482','val_482','2008-04-08','11' -'482','val_482','2008-04-08','12' -'483','val_483','2008-04-08','11' -'483','val_483','2008-04-08','12' -'484','val_484','2008-04-08','11' -'484','val_484','2008-04-08','12' -'485','val_485','2008-04-08','11' -'485','val_485','2008-04-08','12' -'487','val_487','2008-04-08','11' -'487','val_487','2008-04-08','12' -'489','val_489','2008-04-08','11' -'489','val_489','2008-04-08','11' -'489','val_489','2008-04-08','11' -'489','val_489','2008-04-08','11' -'489','val_489','2008-04-08','12' -'489','val_489','2008-04-08','12' -'489','val_489','2008-04-08','12' -'489','val_489','2008-04-08','12' -'490','val_490','2008-04-08','11' -'490','val_490','2008-04-08','12' -'491','val_491','2008-04-08','11' -'491','val_491','2008-04-08','12' -'492','val_492','2008-04-08','11' -'492','val_492','2008-04-08','11' -'492','val_492','2008-04-08','12' -'492','val_492','2008-04-08','12' -'493','val_493','2008-04-08','11' -'493','val_493','2008-04-08','12' -'494','val_494','2008-04-08','11' -'494','val_494','2008-04-08','12' -'495','val_495','2008-04-08','11' -'495','val_495','2008-04-08','12' -'496','val_496','2008-04-08','11' -'496','val_496','2008-04-08','12' -'497','val_497','2008-04-08','11' -'497','val_497','2008-04-08','12' -'498','val_498','2008-04-08','11' -'498','val_498','2008-04-08','11' -'498','val_498','2008-04-08','11' -'498','val_498','2008-04-08','12' -'498','val_498','2008-04-08','12' -'498','val_498','2008-04-08','12' -'5','val_5','2008-04-08','11' -'5','val_5','2008-04-08','11' -'5','val_5','2008-04-08','11' -'5','val_5','2008-04-08','12' -'5','val_5','2008-04-08','12' -'5','val_5','2008-04-08','12' -'51','val_51','2008-04-08','11' -'51','val_51','2008-04-08','11' -'51','val_51','2008-04-08','12' -'51','val_51','2008-04-08','12' -'53','val_53','2008-04-08','11' -'53','val_53','2008-04-08','12' -'54','val_54','2008-04-08','11' -'54','val_54','2008-04-08','12' -'57','val_57','2008-04-08','11' -'57','val_57','2008-04-08','12' -'58','val_58','2008-04-08','11' -'58','val_58','2008-04-08','11' -'58','val_58','2008-04-08','12' -'58','val_58','2008-04-08','12' -'64','val_64','2008-04-08','11' -'64','val_64','2008-04-08','12' -'65','val_65','2008-04-08','11' -'65','val_65','2008-04-08','12' -'66','val_66','2008-04-08','11' -'66','val_66','2008-04-08','12' -'67','val_67','2008-04-08','11' -'67','val_67','2008-04-08','11' -'67','val_67','2008-04-08','12' -'67','val_67','2008-04-08','12' -'69','val_69','2008-04-08','11' -'69','val_69','2008-04-08','12' -'70','val_70','2008-04-08','11' -'70','val_70','2008-04-08','11' -'70','val_70','2008-04-08','11' -'70','val_70','2008-04-08','12' -'70','val_70','2008-04-08','12' -'70','val_70','2008-04-08','12' -'72','val_72','2008-04-08','11' -'72','val_72','2008-04-08','11' -'72','val_72','2008-04-08','12' -'72','val_72','2008-04-08','12' -'74','val_74','2008-04-08','11' -'74','val_74','2008-04-08','12' -'76','val_76','2008-04-08','11' -'76','val_76','2008-04-08','11' -'76','val_76','2008-04-08','12' -'76','val_76','2008-04-08','12' -'77','val_77','2008-04-08','11' -'77','val_77','2008-04-08','12' -'78','val_78','2008-04-08','11' -'78','val_78','2008-04-08','12' -'8','val_8','2008-04-08','11' -'8','val_8','2008-04-08','12' -'80','val_80','2008-04-08','11' -'80','val_80','2008-04-08','12' -'82','val_82','2008-04-08','11' -'82','val_82','2008-04-08','12' -'83','val_83','2008-04-08','11' -'83','val_83','2008-04-08','11' -'83','val_83','2008-04-08','12' -'83','val_83','2008-04-08','12' -'84','val_84','2008-04-08','11' -'84','val_84','2008-04-08','11' -'84','val_84','2008-04-08','12' -'84','val_84','2008-04-08','12' -'85','val_85','2008-04-08','11' -'85','val_85','2008-04-08','12' -'86','val_86','2008-04-08','11' -'86','val_86','2008-04-08','12' -'87','val_87','2008-04-08','11' -'87','val_87','2008-04-08','12' -'9','val_9','2008-04-08','11' -'9','val_9','2008-04-08','12' -'90','val_90','2008-04-08','11' -'90','val_90','2008-04-08','11' -'90','val_90','2008-04-08','11' -'90','val_90','2008-04-08','12' -'90','val_90','2008-04-08','12' -'90','val_90','2008-04-08','12' -'92','val_92','2008-04-08','11' -'92','val_92','2008-04-08','12' -'95','val_95','2008-04-08','11' -'95','val_95','2008-04-08','11' -'95','val_95','2008-04-08','12' -'95','val_95','2008-04-08','12' -'96','val_96','2008-04-08','11' -'96','val_96','2008-04-08','12' -'97','val_97','2008-04-08','11' -'97','val_97','2008-04-08','11' -'97','val_97','2008-04-08','12' -'97','val_97','2008-04-08','12' -'98','val_98','2008-04-08','11' -'98','val_98','2008-04-08','11' -'98','val_98','2008-04-08','12' -'98','val_98','2008-04-08','12' -1,000 rows selected ->>> ->>> ->>> explain extended -select * from srcpart a where a.ds='2008-04-08' and key < 200 order by a.key, a.hr; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (and (= (. (TOK_TABLE_OR_COL a) ds) '2008-04-08') (< (TOK_TABLE_OR_COL key) 200))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) hr)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (key < 200.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col3' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/input42.db/srcpart/ds=2008-04-08/hr=11 [a]' -' !!{hive.metastore.warehouse.dir}!!/input42.db/srcpart/ds=2008-04-08/hr=12 [a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/input42.db/srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input42.db/srcpart/ds=2008-04-08/hr=11' -' name input42.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input42.db/srcpart' -' name input42.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: input42.srcpart' -' name: input42.srcpart' -' !!{hive.metastore.warehouse.dir}!!/input42.db/srcpart/ds=2008-04-08/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input42.db/srcpart/ds=2008-04-08/hr=12' -' name input42.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input42.db/srcpart' -' name input42.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: input42.srcpart' -' name: input42.srcpart' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string:string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -180 rows selected ->>> ->>> select * from srcpart a where a.ds='2008-04-08' and key < 200 order by a.key, a.hr; -'key','value','ds','hr' -'0','val_0','2008-04-08','11' -'0','val_0','2008-04-08','11' -'0','val_0','2008-04-08','11' -'0','val_0','2008-04-08','12' -'0','val_0','2008-04-08','12' -'0','val_0','2008-04-08','12' -'10','val_10','2008-04-08','11' -'10','val_10','2008-04-08','12' -'100','val_100','2008-04-08','11' -'100','val_100','2008-04-08','11' -'100','val_100','2008-04-08','12' -'100','val_100','2008-04-08','12' -'103','val_103','2008-04-08','11' -'103','val_103','2008-04-08','11' -'103','val_103','2008-04-08','12' -'103','val_103','2008-04-08','12' -'104','val_104','2008-04-08','11' -'104','val_104','2008-04-08','11' -'104','val_104','2008-04-08','12' -'104','val_104','2008-04-08','12' -'105','val_105','2008-04-08','11' -'105','val_105','2008-04-08','12' -'11','val_11','2008-04-08','11' -'11','val_11','2008-04-08','12' -'111','val_111','2008-04-08','11' -'111','val_111','2008-04-08','12' -'113','val_113','2008-04-08','11' -'113','val_113','2008-04-08','11' -'113','val_113','2008-04-08','12' -'113','val_113','2008-04-08','12' -'114','val_114','2008-04-08','11' -'114','val_114','2008-04-08','12' -'116','val_116','2008-04-08','11' -'116','val_116','2008-04-08','12' -'118','val_118','2008-04-08','11' -'118','val_118','2008-04-08','11' -'118','val_118','2008-04-08','12' -'118','val_118','2008-04-08','12' -'119','val_119','2008-04-08','11' -'119','val_119','2008-04-08','11' -'119','val_119','2008-04-08','11' -'119','val_119','2008-04-08','12' -'119','val_119','2008-04-08','12' -'119','val_119','2008-04-08','12' -'12','val_12','2008-04-08','11' -'12','val_12','2008-04-08','11' -'12','val_12','2008-04-08','12' -'12','val_12','2008-04-08','12' -'120','val_120','2008-04-08','11' -'120','val_120','2008-04-08','11' -'120','val_120','2008-04-08','12' -'120','val_120','2008-04-08','12' -'125','val_125','2008-04-08','11' -'125','val_125','2008-04-08','11' -'125','val_125','2008-04-08','12' -'125','val_125','2008-04-08','12' -'126','val_126','2008-04-08','11' -'126','val_126','2008-04-08','12' -'128','val_128','2008-04-08','11' -'128','val_128','2008-04-08','11' -'128','val_128','2008-04-08','11' -'128','val_128','2008-04-08','12' -'128','val_128','2008-04-08','12' -'128','val_128','2008-04-08','12' -'129','val_129','2008-04-08','11' -'129','val_129','2008-04-08','11' -'129','val_129','2008-04-08','12' -'129','val_129','2008-04-08','12' -'131','val_131','2008-04-08','11' -'131','val_131','2008-04-08','12' -'133','val_133','2008-04-08','11' -'133','val_133','2008-04-08','12' -'134','val_134','2008-04-08','11' -'134','val_134','2008-04-08','11' -'134','val_134','2008-04-08','12' -'134','val_134','2008-04-08','12' -'136','val_136','2008-04-08','11' -'136','val_136','2008-04-08','12' -'137','val_137','2008-04-08','11' -'137','val_137','2008-04-08','11' -'137','val_137','2008-04-08','12' -'137','val_137','2008-04-08','12' -'138','val_138','2008-04-08','11' -'138','val_138','2008-04-08','11' -'138','val_138','2008-04-08','11' -'138','val_138','2008-04-08','11' -'138','val_138','2008-04-08','12' -'138','val_138','2008-04-08','12' -'138','val_138','2008-04-08','12' -'138','val_138','2008-04-08','12' -'143','val_143','2008-04-08','11' -'143','val_143','2008-04-08','12' -'145','val_145','2008-04-08','11' -'145','val_145','2008-04-08','12' -'146','val_146','2008-04-08','11' -'146','val_146','2008-04-08','11' -'146','val_146','2008-04-08','12' -'146','val_146','2008-04-08','12' -'149','val_149','2008-04-08','11' -'149','val_149','2008-04-08','11' -'149','val_149','2008-04-08','12' -'149','val_149','2008-04-08','12' -'15','val_15','2008-04-08','11' -'15','val_15','2008-04-08','11' -'15','val_15','2008-04-08','12' -'15','val_15','2008-04-08','12' -'150','val_150','2008-04-08','11' -'150','val_150','2008-04-08','12' -'152','val_152','2008-04-08','11' -'152','val_152','2008-04-08','11' -'152','val_152','2008-04-08','12' -'152','val_152','2008-04-08','12' -'153','val_153','2008-04-08','11' -'153','val_153','2008-04-08','12' -'155','val_155','2008-04-08','11' -'155','val_155','2008-04-08','12' -'156','val_156','2008-04-08','11' -'156','val_156','2008-04-08','12' -'157','val_157','2008-04-08','11' -'157','val_157','2008-04-08','12' -'158','val_158','2008-04-08','11' -'158','val_158','2008-04-08','12' -'160','val_160','2008-04-08','11' -'160','val_160','2008-04-08','12' -'162','val_162','2008-04-08','11' -'162','val_162','2008-04-08','12' -'163','val_163','2008-04-08','11' -'163','val_163','2008-04-08','12' -'164','val_164','2008-04-08','11' -'164','val_164','2008-04-08','11' -'164','val_164','2008-04-08','12' -'164','val_164','2008-04-08','12' -'165','val_165','2008-04-08','11' -'165','val_165','2008-04-08','11' -'165','val_165','2008-04-08','12' -'165','val_165','2008-04-08','12' -'166','val_166','2008-04-08','11' -'166','val_166','2008-04-08','12' -'167','val_167','2008-04-08','11' -'167','val_167','2008-04-08','11' -'167','val_167','2008-04-08','11' -'167','val_167','2008-04-08','12' -'167','val_167','2008-04-08','12' -'167','val_167','2008-04-08','12' -'168','val_168','2008-04-08','11' -'168','val_168','2008-04-08','12' -'169','val_169','2008-04-08','11' -'169','val_169','2008-04-08','11' -'169','val_169','2008-04-08','11' -'169','val_169','2008-04-08','11' -'169','val_169','2008-04-08','12' -'169','val_169','2008-04-08','12' -'169','val_169','2008-04-08','12' -'169','val_169','2008-04-08','12' -'17','val_17','2008-04-08','11' -'17','val_17','2008-04-08','12' -'170','val_170','2008-04-08','11' -'170','val_170','2008-04-08','12' -'172','val_172','2008-04-08','11' -'172','val_172','2008-04-08','11' -'172','val_172','2008-04-08','12' -'172','val_172','2008-04-08','12' -'174','val_174','2008-04-08','11' -'174','val_174','2008-04-08','11' -'174','val_174','2008-04-08','12' -'174','val_174','2008-04-08','12' -'175','val_175','2008-04-08','11' -'175','val_175','2008-04-08','11' -'175','val_175','2008-04-08','12' -'175','val_175','2008-04-08','12' -'176','val_176','2008-04-08','11' -'176','val_176','2008-04-08','11' -'176','val_176','2008-04-08','12' -'176','val_176','2008-04-08','12' -'177','val_177','2008-04-08','11' -'177','val_177','2008-04-08','12' -'178','val_178','2008-04-08','11' -'178','val_178','2008-04-08','12' -'179','val_179','2008-04-08','11' -'179','val_179','2008-04-08','11' -'179','val_179','2008-04-08','12' -'179','val_179','2008-04-08','12' -'18','val_18','2008-04-08','11' -'18','val_18','2008-04-08','11' -'18','val_18','2008-04-08','12' -'18','val_18','2008-04-08','12' -'180','val_180','2008-04-08','11' -'180','val_180','2008-04-08','12' -'181','val_181','2008-04-08','11' -'181','val_181','2008-04-08','12' -'183','val_183','2008-04-08','11' -'183','val_183','2008-04-08','12' -'186','val_186','2008-04-08','11' -'186','val_186','2008-04-08','12' -'187','val_187','2008-04-08','11' -'187','val_187','2008-04-08','11' -'187','val_187','2008-04-08','11' -'187','val_187','2008-04-08','12' -'187','val_187','2008-04-08','12' -'187','val_187','2008-04-08','12' -'189','val_189','2008-04-08','11' -'189','val_189','2008-04-08','12' -'19','val_19','2008-04-08','11' -'19','val_19','2008-04-08','12' -'190','val_190','2008-04-08','11' -'190','val_190','2008-04-08','12' -'191','val_191','2008-04-08','11' -'191','val_191','2008-04-08','11' -'191','val_191','2008-04-08','12' -'191','val_191','2008-04-08','12' -'192','val_192','2008-04-08','11' -'192','val_192','2008-04-08','12' -'193','val_193','2008-04-08','11' -'193','val_193','2008-04-08','11' -'193','val_193','2008-04-08','11' -'193','val_193','2008-04-08','12' -'193','val_193','2008-04-08','12' -'193','val_193','2008-04-08','12' -'194','val_194','2008-04-08','11' -'194','val_194','2008-04-08','12' -'195','val_195','2008-04-08','11' -'195','val_195','2008-04-08','11' -'195','val_195','2008-04-08','12' -'195','val_195','2008-04-08','12' -'196','val_196','2008-04-08','11' -'196','val_196','2008-04-08','12' -'197','val_197','2008-04-08','11' -'197','val_197','2008-04-08','11' -'197','val_197','2008-04-08','12' -'197','val_197','2008-04-08','12' -'199','val_199','2008-04-08','11' -'199','val_199','2008-04-08','11' -'199','val_199','2008-04-08','11' -'199','val_199','2008-04-08','12' -'199','val_199','2008-04-08','12' -'199','val_199','2008-04-08','12' -'2','val_2','2008-04-08','11' -'2','val_2','2008-04-08','12' -'20','val_20','2008-04-08','11' -'20','val_20','2008-04-08','12' -'24','val_24','2008-04-08','11' -'24','val_24','2008-04-08','11' -'24','val_24','2008-04-08','12' -'24','val_24','2008-04-08','12' -'26','val_26','2008-04-08','11' -'26','val_26','2008-04-08','11' -'26','val_26','2008-04-08','12' -'26','val_26','2008-04-08','12' -'27','val_27','2008-04-08','11' -'27','val_27','2008-04-08','12' -'28','val_28','2008-04-08','11' -'28','val_28','2008-04-08','12' -'30','val_30','2008-04-08','11' -'30','val_30','2008-04-08','12' -'33','val_33','2008-04-08','11' -'33','val_33','2008-04-08','12' -'34','val_34','2008-04-08','11' -'34','val_34','2008-04-08','12' -'35','val_35','2008-04-08','11' -'35','val_35','2008-04-08','11' -'35','val_35','2008-04-08','11' -'35','val_35','2008-04-08','12' -'35','val_35','2008-04-08','12' -'35','val_35','2008-04-08','12' -'37','val_37','2008-04-08','11' -'37','val_37','2008-04-08','11' -'37','val_37','2008-04-08','12' -'37','val_37','2008-04-08','12' -'4','val_4','2008-04-08','11' -'4','val_4','2008-04-08','12' -'41','val_41','2008-04-08','11' -'41','val_41','2008-04-08','12' -'42','val_42','2008-04-08','11' -'42','val_42','2008-04-08','11' -'42','val_42','2008-04-08','12' -'42','val_42','2008-04-08','12' -'43','val_43','2008-04-08','11' -'43','val_43','2008-04-08','12' -'44','val_44','2008-04-08','11' -'44','val_44','2008-04-08','12' -'47','val_47','2008-04-08','11' -'47','val_47','2008-04-08','12' -'5','val_5','2008-04-08','11' -'5','val_5','2008-04-08','11' -'5','val_5','2008-04-08','11' -'5','val_5','2008-04-08','12' -'5','val_5','2008-04-08','12' -'5','val_5','2008-04-08','12' -'51','val_51','2008-04-08','11' -'51','val_51','2008-04-08','11' -'51','val_51','2008-04-08','12' -'51','val_51','2008-04-08','12' -'53','val_53','2008-04-08','11' -'53','val_53','2008-04-08','12' -'54','val_54','2008-04-08','11' -'54','val_54','2008-04-08','12' -'57','val_57','2008-04-08','11' -'57','val_57','2008-04-08','12' -'58','val_58','2008-04-08','11' -'58','val_58','2008-04-08','11' -'58','val_58','2008-04-08','12' -'58','val_58','2008-04-08','12' -'64','val_64','2008-04-08','11' -'64','val_64','2008-04-08','12' -'65','val_65','2008-04-08','11' -'65','val_65','2008-04-08','12' -'66','val_66','2008-04-08','11' -'66','val_66','2008-04-08','12' -'67','val_67','2008-04-08','11' -'67','val_67','2008-04-08','11' -'67','val_67','2008-04-08','12' -'67','val_67','2008-04-08','12' -'69','val_69','2008-04-08','11' -'69','val_69','2008-04-08','12' -'70','val_70','2008-04-08','11' -'70','val_70','2008-04-08','11' -'70','val_70','2008-04-08','11' -'70','val_70','2008-04-08','12' -'70','val_70','2008-04-08','12' -'70','val_70','2008-04-08','12' -'72','val_72','2008-04-08','11' -'72','val_72','2008-04-08','11' -'72','val_72','2008-04-08','12' -'72','val_72','2008-04-08','12' -'74','val_74','2008-04-08','11' -'74','val_74','2008-04-08','12' -'76','val_76','2008-04-08','11' -'76','val_76','2008-04-08','11' -'76','val_76','2008-04-08','12' -'76','val_76','2008-04-08','12' -'77','val_77','2008-04-08','11' -'77','val_77','2008-04-08','12' -'78','val_78','2008-04-08','11' -'78','val_78','2008-04-08','12' -'8','val_8','2008-04-08','11' -'8','val_8','2008-04-08','12' -'80','val_80','2008-04-08','11' -'80','val_80','2008-04-08','12' -'82','val_82','2008-04-08','11' -'82','val_82','2008-04-08','12' -'83','val_83','2008-04-08','11' -'83','val_83','2008-04-08','11' -'83','val_83','2008-04-08','12' -'83','val_83','2008-04-08','12' -'84','val_84','2008-04-08','11' -'84','val_84','2008-04-08','11' -'84','val_84','2008-04-08','12' -'84','val_84','2008-04-08','12' -'85','val_85','2008-04-08','11' -'85','val_85','2008-04-08','12' -'86','val_86','2008-04-08','11' -'86','val_86','2008-04-08','12' -'87','val_87','2008-04-08','11' -'87','val_87','2008-04-08','12' -'9','val_9','2008-04-08','11' -'9','val_9','2008-04-08','12' -'90','val_90','2008-04-08','11' -'90','val_90','2008-04-08','11' -'90','val_90','2008-04-08','11' -'90','val_90','2008-04-08','12' -'90','val_90','2008-04-08','12' -'90','val_90','2008-04-08','12' -'92','val_92','2008-04-08','11' -'92','val_92','2008-04-08','12' -'95','val_95','2008-04-08','11' -'95','val_95','2008-04-08','11' -'95','val_95','2008-04-08','12' -'95','val_95','2008-04-08','12' -'96','val_96','2008-04-08','11' -'96','val_96','2008-04-08','12' -'97','val_97','2008-04-08','11' -'97','val_97','2008-04-08','11' -'97','val_97','2008-04-08','12' -'97','val_97','2008-04-08','12' -'98','val_98','2008-04-08','11' -'98','val_98','2008-04-08','11' -'98','val_98','2008-04-08','12' -'98','val_98','2008-04-08','12' -378 rows selected ->>> ->>> ->>> explain extended -select * from srcpart a where a.ds='2008-04-08' and rand(100) < 0.1 order by a.key, a.hr; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (and (= (. (TOK_TABLE_OR_COL a) ds) '2008-04-08') (< (TOK_FUNCTION rand 100) 0.1))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) hr)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (rand(100) < 0.1)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col3' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/input42.db/srcpart/ds=2008-04-08/hr=11 [a]' -' !!{hive.metastore.warehouse.dir}!!/input42.db/srcpart/ds=2008-04-08/hr=12 [a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/input42.db/srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input42.db/srcpart/ds=2008-04-08/hr=11' -' name input42.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input42.db/srcpart' -' name input42.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: input42.srcpart' -' name: input42.srcpart' -' !!{hive.metastore.warehouse.dir}!!/input42.db/srcpart/ds=2008-04-08/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input42.db/srcpart/ds=2008-04-08/hr=12' -' name input42.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input42.db/srcpart' -' name input42.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: input42.srcpart' -' name: input42.srcpart' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string:string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -180 rows selected ->>> ->>> select * from srcpart a where a.ds='2008-04-08' and rand(100) < 0.1 order by a.key, a.hr; -'key','value','ds','hr' -'113','val_113','2008-04-08','11' -'118','val_118','2008-04-08','11' -'12','val_12','2008-04-08','12' -'125','val_125','2008-04-08','12' -'128','val_128','2008-04-08','11' -'143','val_143','2008-04-08','11' -'143','val_143','2008-04-08','12' -'145','val_145','2008-04-08','11' -'149','val_149','2008-04-08','12' -'15','val_15','2008-04-08','11' -'15','val_15','2008-04-08','12' -'160','val_160','2008-04-08','12' -'164','val_164','2008-04-08','11' -'165','val_165','2008-04-08','12' -'166','val_166','2008-04-08','12' -'170','val_170','2008-04-08','11' -'176','val_176','2008-04-08','11' -'176','val_176','2008-04-08','12' -'181','val_181','2008-04-08','11' -'191','val_191','2008-04-08','12' -'195','val_195','2008-04-08','11' -'197','val_197','2008-04-08','12' -'199','val_199','2008-04-08','12' -'203','val_203','2008-04-08','12' -'216','val_216','2008-04-08','12' -'218','val_218','2008-04-08','12' -'223','val_223','2008-04-08','11' -'224','val_224','2008-04-08','12' -'237','val_237','2008-04-08','11' -'239','val_239','2008-04-08','11' -'242','val_242','2008-04-08','12' -'256','val_256','2008-04-08','11' -'256','val_256','2008-04-08','12' -'278','val_278','2008-04-08','12' -'288','val_288','2008-04-08','12' -'292','val_292','2008-04-08','11' -'298','val_298','2008-04-08','11' -'316','val_316','2008-04-08','12' -'325','val_325','2008-04-08','12' -'332','val_332','2008-04-08','12' -'34','val_34','2008-04-08','12' -'341','val_341','2008-04-08','11' -'348','val_348','2008-04-08','12' -'368','val_368','2008-04-08','11' -'369','val_369','2008-04-08','11' -'37','val_37','2008-04-08','12' -'394','val_394','2008-04-08','11' -'4','val_4','2008-04-08','12' -'400','val_400','2008-04-08','12' -'401','val_401','2008-04-08','11' -'402','val_402','2008-04-08','12' -'404','val_404','2008-04-08','11' -'406','val_406','2008-04-08','11' -'414','val_414','2008-04-08','12' -'417','val_417','2008-04-08','11' -'42','val_42','2008-04-08','12' -'424','val_424','2008-04-08','11' -'424','val_424','2008-04-08','11' -'424','val_424','2008-04-08','12' -'444','val_444','2008-04-08','11' -'444','val_444','2008-04-08','12' -'446','val_446','2008-04-08','11' -'453','val_453','2008-04-08','11' -'454','val_454','2008-04-08','12' -'455','val_455','2008-04-08','11' -'455','val_455','2008-04-08','12' -'466','val_466','2008-04-08','11' -'470','val_470','2008-04-08','11' -'472','val_472','2008-04-08','11' -'478','val_478','2008-04-08','12' -'483','val_483','2008-04-08','11' -'485','val_485','2008-04-08','12' -'487','val_487','2008-04-08','11' -'489','val_489','2008-04-08','11' -'489','val_489','2008-04-08','12' -'489','val_489','2008-04-08','12' -'489','val_489','2008-04-08','12' -'491','val_491','2008-04-08','11' -'492','val_492','2008-04-08','12' -'497','val_497','2008-04-08','12' -'53','val_53','2008-04-08','11' -'64','val_64','2008-04-08','12' -'65','val_65','2008-04-08','11' -'69','val_69','2008-04-08','11' -'70','val_70','2008-04-08','11' -'72','val_72','2008-04-08','11' -'76','val_76','2008-04-08','11' -'76','val_76','2008-04-08','12' -'78','val_78','2008-04-08','11' -'85','val_85','2008-04-08','11' -'92','val_92','2008-04-08','12' -'97','val_97','2008-04-08','11' -92 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/input43.q.out ql/src/test/results/beelinepositive/input43.q.out deleted file mode 100644 index b1329ec..0000000 --- ql/src/test/results/beelinepositive/input43.q.out +++ /dev/null @@ -1,21 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input43.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input43.q ->>> drop table tst_src1; -No rows affected ->>> create table tst_src1 like src1; -No rows affected ->>> load data local inpath '../data/files/kv1.txt' into table tst_src1 ; -No rows affected ->>> select count(1) from tst_src1; -'_c0' -'500' -1 row selected ->>> load data local inpath '../data/files/kv1.txt' into table tst_src1 ; -No rows affected ->>> select count(1) from tst_src1; -'_c0' -'1000' -1 row selected ->>> drop table tst_src1; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/input44.q.out ql/src/test/results/beelinepositive/input44.q.out deleted file mode 100644 index 296e05f..0000000 --- ql/src/test/results/beelinepositive/input44.q.out +++ /dev/null @@ -1,14 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input44.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input44.q ->>> CREATE TABLE dest(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> SET hive.output.file.extension=.txt; -No rows affected ->>> INSERT OVERWRITE TABLE dest SELECT src.* FROM src; -'_col0','_col1' -No rows selected ->>> ->>> dfs -cat ../build/ql/test/data/warehouse/dest/*.txt; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/input45.q.out ql/src/test/results/beelinepositive/input45.q.out deleted file mode 100644 index 45db503..0000000 --- ql/src/test/results/beelinepositive/input45.q.out +++ /dev/null @@ -1,18 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input45.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input45.q ->>> SET hive.insert.into.multilevel.dirs=true; -No rows affected ->>> ->>> SET hive.output.file.extension=.txt; -No rows affected ->>> ->>> INSERT OVERWRITE DIRECTORY '../build/ql/test/data/x/y/z/' SELECT src.* FROM src; -'key','value' -No rows selected ->>> ->>> dfs -cat ../build/ql/test/data/x/y/z/*.txt; -No rows affected ->>> ->>> dfs -rmr ../build/ql/test/data/x; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/input49.q.out ql/src/test/results/beelinepositive/input49.q.out deleted file mode 100644 index 14ee573..0000000 --- ql/src/test/results/beelinepositive/input49.q.out +++ /dev/null @@ -1,14 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input49.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input49.q ->>> create table intable (b boolean, d double, f float, i int, l bigint, s string, t tinyint); -No rows affected ->>> insert overwrite table intable select 0, 29098519.0, 1410.0, 996, 40408519555, "test_string", 12 from src limit 1; -'_col0','_col1','_col2','_col3','_col4','_col5','_col6' -No rows selected ->>> select * from intable where d in (29098519.0) and f in (1410.0) and i in (996) and l in (40408519555) and s in ('test_string') and t in (12); -'b','d','f','i','l','s','t' -'false','2.9098519E7','1410.0','996','40408519555','test_string','12' -1 row selected ->>> drop table intable; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/input4_cb_delim.q.out ql/src/test/results/beelinepositive/input4_cb_delim.q.out deleted file mode 100644 index 35117a9..0000000 --- ql/src/test/results/beelinepositive/input4_cb_delim.q.out +++ /dev/null @@ -1,511 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input4_cb_delim.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input4_cb_delim.q ->>> CREATE TABLE INPUT4_CB(KEY STRING, VALUE STRING) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\002' LINES TERMINATED BY '\012' STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/kv1_cb.txt' INTO TABLE INPUT4_CB; -No rows affected ->>> SELECT INPUT4_CB.VALUE, INPUT4_CB.KEY FROM INPUT4_CB; -'value','key' -'val_238','238' -'val_86','86' -'val_311','311' -'val_27','27' -'val_165','165' -'val_409','409' -'val_255','255' -'val_278','278' -'val_98','98' -'val_484','484' -'val_265','265' -'val_193','193' -'val_401','401' -'val_150','150' -'val_273','273' -'val_224','224' -'val_369','369' -'val_66','66' -'val_128','128' -'val_213','213' -'val_146','146' -'val_406','406' -'val_429','429' -'val_374','374' -'val_152','152' -'val_469','469' -'val_145','145' -'val_495','495' -'val_37','37' -'val_327','327' -'val_281','281' -'val_277','277' -'val_209','209' -'val_15','15' -'val_82','82' -'val_403','403' -'val_166','166' -'val_417','417' -'val_430','430' -'val_252','252' -'val_292','292' -'val_219','219' -'val_287','287' -'val_153','153' -'val_193','193' -'val_338','338' -'val_446','446' -'val_459','459' -'val_394','394' -'val_237','237' -'val_482','482' -'val_174','174' -'val_413','413' -'val_494','494' -'val_207','207' -'val_199','199' -'val_466','466' -'val_208','208' -'val_174','174' -'val_399','399' -'val_396','396' -'val_247','247' -'val_417','417' -'val_489','489' -'val_162','162' -'val_377','377' -'val_397','397' -'val_309','309' -'val_365','365' -'val_266','266' -'val_439','439' -'val_342','342' -'val_367','367' -'val_325','325' -'val_167','167' -'val_195','195' -'val_475','475' -'val_17','17' -'val_113','113' -'val_155','155' -'val_203','203' -'val_339','339' -'val_0','0' -'val_455','455' -'val_128','128' -'val_311','311' -'val_316','316' -'val_57','57' -'val_302','302' -'val_205','205' -'val_149','149' -'val_438','438' -'val_345','345' -'val_129','129' -'val_170','170' -'val_20','20' -'val_489','489' -'val_157','157' -'val_378','378' -'val_221','221' -'val_92','92' -'val_111','111' -'val_47','47' -'val_72','72' -'val_4','4' -'val_280','280' -'val_35','35' -'val_427','427' -'val_277','277' -'val_208','208' -'val_356','356' -'val_399','399' -'val_169','169' -'val_382','382' -'val_498','498' -'val_125','125' -'val_386','386' -'val_437','437' -'val_469','469' -'val_192','192' -'val_286','286' -'val_187','187' -'val_176','176' -'val_54','54' -'val_459','459' -'val_51','51' -'val_138','138' -'val_103','103' -'val_239','239' -'val_213','213' -'val_216','216' -'val_430','430' -'val_278','278' -'val_176','176' -'val_289','289' -'val_221','221' -'val_65','65' -'val_318','318' -'val_332','332' -'val_311','311' -'val_275','275' -'val_137','137' -'val_241','241' -'val_83','83' -'val_333','333' -'val_180','180' -'val_284','284' -'val_12','12' -'val_230','230' -'val_181','181' -'val_67','67' -'val_260','260' -'val_404','404' -'val_384','384' -'val_489','489' -'val_353','353' -'val_373','373' -'val_272','272' -'val_138','138' -'val_217','217' -'val_84','84' -'val_348','348' -'val_466','466' -'val_58','58' -'val_8','8' -'val_411','411' -'val_230','230' -'val_208','208' -'val_348','348' -'val_24','24' -'val_463','463' -'val_431','431' -'val_179','179' -'val_172','172' -'val_42','42' -'val_129','129' -'val_158','158' -'val_119','119' -'val_496','496' -'val_0','0' -'val_322','322' -'val_197','197' -'val_468','468' -'val_393','393' -'val_454','454' -'val_100','100' -'val_298','298' -'val_199','199' -'val_191','191' -'val_418','418' -'val_96','96' -'val_26','26' -'val_165','165' -'val_327','327' -'val_230','230' -'val_205','205' -'val_120','120' -'val_131','131' -'val_51','51' -'val_404','404' -'val_43','43' -'val_436','436' -'val_156','156' -'val_469','469' -'val_468','468' -'val_308','308' -'val_95','95' -'val_196','196' -'val_288','288' -'val_481','481' -'val_457','457' -'val_98','98' -'val_282','282' -'val_197','197' -'val_187','187' -'val_318','318' -'val_318','318' -'val_409','409' -'val_470','470' -'val_137','137' -'val_369','369' -'val_316','316' -'val_169','169' -'val_413','413' -'val_85','85' -'val_77','77' -'val_0','0' -'val_490','490' -'val_87','87' -'val_364','364' -'val_179','179' -'val_118','118' -'val_134','134' -'val_395','395' -'val_282','282' -'val_138','138' -'val_238','238' -'val_419','419' -'val_15','15' -'val_118','118' -'val_72','72' -'val_90','90' -'val_307','307' -'val_19','19' -'val_435','435' -'val_10','10' -'val_277','277' -'val_273','273' -'val_306','306' -'val_224','224' -'val_309','309' -'val_389','389' -'val_327','327' -'val_242','242' -'val_369','369' -'val_392','392' -'val_272','272' -'val_331','331' -'val_401','401' -'val_242','242' -'val_452','452' -'val_177','177' -'val_226','226' -'val_5','5' -'val_497','497' -'val_402','402' -'val_396','396' -'val_317','317' -'val_395','395' -'val_58','58' -'val_35','35' -'val_336','336' -'val_95','95' -'val_11','11' -'val_168','168' -'val_34','34' -'val_229','229' -'val_233','233' -'val_143','143' -'val_472','472' -'val_322','322' -'val_498','498' -'val_160','160' -'val_195','195' -'val_42','42' -'val_321','321' -'val_430','430' -'val_119','119' -'val_489','489' -'val_458','458' -'val_78','78' -'val_76','76' -'val_41','41' -'val_223','223' -'val_492','492' -'val_149','149' -'val_449','449' -'val_218','218' -'val_228','228' -'val_138','138' -'val_453','453' -'val_30','30' -'val_209','209' -'val_64','64' -'val_468','468' -'val_76','76' -'val_74','74' -'val_342','342' -'val_69','69' -'val_230','230' -'val_33','33' -'val_368','368' -'val_103','103' -'val_296','296' -'val_113','113' -'val_216','216' -'val_367','367' -'val_344','344' -'val_167','167' -'val_274','274' -'val_219','219' -'val_239','239' -'val_485','485' -'val_116','116' -'val_223','223' -'val_256','256' -'val_263','263' -'val_70','70' -'val_487','487' -'val_480','480' -'val_401','401' -'val_288','288' -'val_191','191' -'val_5','5' -'val_244','244' -'val_438','438' -'val_128','128' -'val_467','467' -'val_432','432' -'val_202','202' -'val_316','316' -'val_229','229' -'val_469','469' -'val_463','463' -'val_280','280' -'val_2','2' -'val_35','35' -'val_283','283' -'val_331','331' -'val_235','235' -'val_80','80' -'val_44','44' -'val_193','193' -'val_321','321' -'val_335','335' -'val_104','104' -'val_466','466' -'val_366','366' -'val_175','175' -'val_403','403' -'val_483','483' -'val_53','53' -'val_105','105' -'val_257','257' -'val_406','406' -'val_409','409' -'val_190','190' -'val_406','406' -'val_401','401' -'val_114','114' -'val_258','258' -'val_90','90' -'val_203','203' -'val_262','262' -'val_348','348' -'val_424','424' -'val_12','12' -'val_396','396' -'val_201','201' -'val_217','217' -'val_164','164' -'val_431','431' -'val_454','454' -'val_478','478' -'val_298','298' -'val_125','125' -'val_431','431' -'val_164','164' -'val_424','424' -'val_187','187' -'val_382','382' -'val_5','5' -'val_70','70' -'val_397','397' -'val_480','480' -'val_291','291' -'val_24','24' -'val_351','351' -'val_255','255' -'val_104','104' -'val_70','70' -'val_163','163' -'val_438','438' -'val_119','119' -'val_414','414' -'val_200','200' -'val_491','491' -'val_237','237' -'val_439','439' -'val_360','360' -'val_248','248' -'val_479','479' -'val_305','305' -'val_417','417' -'val_199','199' -'val_444','444' -'val_120','120' -'val_429','429' -'val_169','169' -'val_443','443' -'val_323','323' -'val_325','325' -'val_277','277' -'val_230','230' -'val_478','478' -'val_178','178' -'val_468','468' -'val_310','310' -'val_317','317' -'val_333','333' -'val_493','493' -'val_460','460' -'val_207','207' -'val_249','249' -'val_265','265' -'val_480','480' -'val_83','83' -'val_136','136' -'val_353','353' -'val_172','172' -'val_214','214' -'val_462','462' -'val_233','233' -'val_406','406' -'val_133','133' -'val_175','175' -'val_189','189' -'val_454','454' -'val_375','375' -'val_401','401' -'val_421','421' -'val_407','407' -'val_384','384' -'val_256','256' -'val_26','26' -'val_134','134' -'val_67','67' -'val_384','384' -'val_379','379' -'val_18','18' -'val_462','462' -'val_492','492' -'val_100','100' -'val_298','298' -'val_9','9' -'val_341','341' -'val_498','498' -'val_146','146' -'val_458','458' -'val_362','362' -'val_186','186' -'val_285','285' -'val_348','348' -'val_167','167' -'val_18','18' -'val_273','273' -'val_183','183' -'val_281','281' -'val_344','344' -'val_97','97' -'val_469','469' -'val_315','315' -'val_84','84' -'val_28','28' -'val_37','37' -'val_448','448' -'val_152','152' -'val_348','348' -'val_307','307' -'val_194','194' -'val_414','414' -'val_477','477' -'val_222','222' -'val_126','126' -'val_90','90' -'val_169','169' -'val_403','403' -'val_400','400' -'val_200','200' -'val_97','97' -500 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/input4_limit.q.out ql/src/test/results/beelinepositive/input4_limit.q.out deleted file mode 100644 index 6daf2a4..0000000 --- ql/src/test/results/beelinepositive/input4_limit.q.out +++ /dev/null @@ -1,95 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input4_limit.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input4_limit.q ->>> explain -select * from src sort by key limit 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key))) (TOK_LIMIT 10)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 10' -'' -'' -73 rows selected ->>> ->>> ->>> select * from src sort by key limit 10; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'10','val_10' -'100','val_100' -'100','val_100' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -10 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/input5.q.out ql/src/test/results/beelinepositive/input5.q.out deleted file mode 100644 index c680a92..0000000 --- ql/src/test/results/beelinepositive/input5.q.out +++ /dev/null @@ -1,114 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input5.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input5.q ->>> CREATE TABLE dest1(key STRING, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM ( -FROM src_thrift -SELECT TRANSFORM(src_thrift.lint, src_thrift.lintstring) -USING 'cat' AS (tkey, tvalue) -CLUSTER BY tkey -) tmap -INSERT OVERWRITE TABLE dest1 SELECT tmap.tkey, tmap.tvalue; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src_thrift))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TRANSFORM (TOK_EXPLIST (. (TOK_TABLE_OR_COL src_thrift) lint) (. (TOK_TABLE_OR_COL src_thrift) lintstring)) TOK_SERDE TOK_RECORDWRITER 'cat' TOK_SERDE TOK_RECORDREADER (TOK_ALIASLIST tkey tvalue)))) (TOK_CLUSTERBY (TOK_TABLE_OR_COL tkey)))) tmap)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL tmap) tkey)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL tmap) tvalue)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' tmap:src_thrift ' -' TableScan' -' alias: src_thrift' -' Select Operator' -' expressions:' -' expr: lint' -' type: array' -' expr: lintstring' -' type: array>' -' outputColumnNames: _col0, _col1' -' Transform Operator' -' command: cat' -' output info:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: input5.dest1' -'' -' 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: input5.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -73 rows selected ->>> ->>> FROM ( -FROM src_thrift -SELECT TRANSFORM(src_thrift.lint, src_thrift.lintstring) -USING 'cat' AS (tkey, tvalue) -CLUSTER BY tkey -) tmap -INSERT OVERWRITE TABLE dest1 SELECT tmap.tkey, tmap.tvalue; -'tkey','tvalue' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','value' -'[0,0,0]','[{"myint":0,"mystring":"0","underscore_int":0}]' -'[1,2,3]','[{"myint":1,"mystring":"1","underscore_int":1}]' -'[2,4,6]','[{"myint":4,"mystring":"8","underscore_int":2}]' -'[3,6,9]','[{"myint":9,"mystring":"27","underscore_int":3}]' -'[4,8,12]','[{"myint":16,"mystring":"64","underscore_int":4}]' -'[5,10,15]','[{"myint":25,"mystring":"125","underscore_int":5}]' -'[6,12,18]','[{"myint":36,"mystring":"216","underscore_int":6}]' -'[7,14,21]','[{"myint":49,"mystring":"343","underscore_int":7}]' -'[8,16,24]','[{"myint":64,"mystring":"512","underscore_int":8}]' -'[9,18,27]','[{"myint":81,"mystring":"729","underscore_int":9}]' -'null','null' -11 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/input6.q.out ql/src/test/results/beelinepositive/input6.q.out deleted file mode 100644 index 3e05a97..0000000 --- ql/src/test/results/beelinepositive/input6.q.out +++ /dev/null @@ -1,115 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input6.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input6.q ->>> CREATE TABLE dest1(key STRING, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src1 -INSERT OVERWRITE TABLE dest1 SELECT src1.key, src1.value WHERE src1.key is null; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src1))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) value))) (TOK_WHERE (TOK_FUNCTION TOK_ISNULL (. (TOK_TABLE_OR_COL src1) key)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: key is null' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: input6.dest1' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: input6.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: input6.dest1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: input6.dest1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -95 rows selected ->>> ->>> FROM src1 -INSERT OVERWRITE TABLE dest1 SELECT src1.key, src1.value WHERE src1.key is null; -'key','value' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','value' -No rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/input7.q.out ql/src/test/results/beelinepositive/input7.q.out deleted file mode 100644 index 3bd738c..0000000 --- ql/src/test/results/beelinepositive/input7.q.out +++ /dev/null @@ -1,143 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input7.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input7.q ->>> CREATE TABLE dest1(c1 DOUBLE, c2 INT) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src1 -INSERT OVERWRITE TABLE dest1 SELECT NULL, src1.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src1))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR TOK_NULL) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Select Operator' -' expressions:' -' expr: null' -' type: string' -' expr: key' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToDouble(_col0)' -' type: double' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: input7.dest1' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: input7.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: input7.dest1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: input7.dest1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -98 rows selected ->>> ->>> FROM src1 -INSERT OVERWRITE TABLE dest1 SELECT NULL, src1.key; -'_col0','_col1' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'c1','c2' -'','238' -'','' -'','311' -'','' -'','' -'','' -'','255' -'','278' -'','98' -'','' -'','' -'','' -'','401' -'','150' -'','273' -'','224' -'','369' -'','66' -'','128' -'','213' -'','146' -'','406' -'','' -'','' -'','' -25 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/input8.q.out ql/src/test/results/beelinepositive/input8.q.out deleted file mode 100644 index 2a6450b..0000000 --- ql/src/test/results/beelinepositive/input8.q.out +++ /dev/null @@ -1,147 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input8.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input8.q ->>> CREATE TABLE dest1(c1 STRING, c2 INT, c3 DOUBLE) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src1 -INSERT OVERWRITE TABLE dest1 SELECT 4 + NULL, src1.key - NULL, NULL + NULL; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src1))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (+ 4 TOK_NULL)) (TOK_SELEXPR (- (. (TOK_TABLE_OR_COL src1) key) TOK_NULL)) (TOK_SELEXPR (+ TOK_NULL TOK_NULL)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Select Operator' -' expressions:' -' expr: (4 + null)' -' type: int' -' expr: (key - null)' -' type: double' -' expr: (null + null)' -' type: tinyint' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: UDFToDouble(_col2)' -' type: double' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: input8.dest1' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: input8.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: input8.dest1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: input8.dest1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -102 rows selected ->>> ->>> FROM src1 -INSERT OVERWRITE TABLE dest1 SELECT 4 + NULL, src1.key - NULL, NULL + NULL; -'_col0','_col1','_col2' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'c1','c2','c3' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -25 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/input_dfs.q.out ql/src/test/results/beelinepositive/input_dfs.q.out deleted file mode 100644 index a1c5561..0000000 --- ql/src/test/results/beelinepositive/input_dfs.q.out +++ /dev/null @@ -1,6 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input_dfs.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input_dfs.q ->>> dfs -cat ../data/files/kv1.txt; -No rows affected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/input_limit.q.out ql/src/test/results/beelinepositive/input_limit.q.out deleted file mode 100644 index 4c3f995..0000000 --- ql/src/test/results/beelinepositive/input_limit.q.out +++ /dev/null @@ -1,55 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input_limit.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input_limit.q ->>> EXPLAIN -SELECT x.* FROM SRC x LIMIT 20; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME SRC) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME x)))) (TOK_LIMIT 20)))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Fetch Operator' -' limit: 20' -' Processor Tree:' -' TableScan' -' alias: x' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' ListSink' -'' -'' -24 rows selected ->>> ->>> SELECT x.* FROM SRC x LIMIT 20; -'key','value' -'238','val_238' -'86','val_86' -'311','val_311' -'27','val_27' -'165','val_165' -'409','val_409' -'255','val_255' -'278','val_278' -'98','val_98' -'484','val_484' -'265','val_265' -'193','val_193' -'401','val_401' -'150','val_150' -'273','val_273' -'224','val_224' -'369','val_369' -'66','val_66' -'128','val_128' -'213','val_213' -20 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/input_part0.q.out ql/src/test/results/beelinepositive/input_part0.q.out deleted file mode 100644 index fc420d9..0000000 --- ql/src/test/results/beelinepositive/input_part0.q.out +++ /dev/null @@ -1,1038 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input_part0.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input_part0.q ->>> EXPLAIN -SELECT x.* FROM SRCPART x WHERE x.ds = '2008-04-08'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME SRCPART) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME x)))) (TOK_WHERE (= (. (TOK_TABLE_OR_COL x) ds) '2008-04-08'))))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -' Processor Tree:' -' TableScan' -' alias: x' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' ListSink' -'' -'' -27 rows selected ->>> ->>> SELECT x.* FROM SRCPART x WHERE x.ds = '2008-04-08'; -'key','value','ds','hr' -'238','val_238','2008-04-08','11' -'86','val_86','2008-04-08','11' -'311','val_311','2008-04-08','11' -'27','val_27','2008-04-08','11' -'165','val_165','2008-04-08','11' -'409','val_409','2008-04-08','11' -'255','val_255','2008-04-08','11' -'278','val_278','2008-04-08','11' -'98','val_98','2008-04-08','11' -'484','val_484','2008-04-08','11' -'265','val_265','2008-04-08','11' -'193','val_193','2008-04-08','11' -'401','val_401','2008-04-08','11' -'150','val_150','2008-04-08','11' -'273','val_273','2008-04-08','11' -'224','val_224','2008-04-08','11' -'369','val_369','2008-04-08','11' -'66','val_66','2008-04-08','11' -'128','val_128','2008-04-08','11' -'213','val_213','2008-04-08','11' -'146','val_146','2008-04-08','11' -'406','val_406','2008-04-08','11' -'429','val_429','2008-04-08','11' -'374','val_374','2008-04-08','11' -'152','val_152','2008-04-08','11' -'469','val_469','2008-04-08','11' -'145','val_145','2008-04-08','11' -'495','val_495','2008-04-08','11' -'37','val_37','2008-04-08','11' -'327','val_327','2008-04-08','11' -'281','val_281','2008-04-08','11' -'277','val_277','2008-04-08','11' -'209','val_209','2008-04-08','11' -'15','val_15','2008-04-08','11' -'82','val_82','2008-04-08','11' -'403','val_403','2008-04-08','11' -'166','val_166','2008-04-08','11' -'417','val_417','2008-04-08','11' -'430','val_430','2008-04-08','11' -'252','val_252','2008-04-08','11' -'292','val_292','2008-04-08','11' -'219','val_219','2008-04-08','11' -'287','val_287','2008-04-08','11' -'153','val_153','2008-04-08','11' -'193','val_193','2008-04-08','11' -'338','val_338','2008-04-08','11' -'446','val_446','2008-04-08','11' -'459','val_459','2008-04-08','11' -'394','val_394','2008-04-08','11' -'237','val_237','2008-04-08','11' -'482','val_482','2008-04-08','11' -'174','val_174','2008-04-08','11' -'413','val_413','2008-04-08','11' -'494','val_494','2008-04-08','11' -'207','val_207','2008-04-08','11' -'199','val_199','2008-04-08','11' -'466','val_466','2008-04-08','11' -'208','val_208','2008-04-08','11' -'174','val_174','2008-04-08','11' -'399','val_399','2008-04-08','11' -'396','val_396','2008-04-08','11' -'247','val_247','2008-04-08','11' -'417','val_417','2008-04-08','11' -'489','val_489','2008-04-08','11' -'162','val_162','2008-04-08','11' -'377','val_377','2008-04-08','11' -'397','val_397','2008-04-08','11' -'309','val_309','2008-04-08','11' -'365','val_365','2008-04-08','11' -'266','val_266','2008-04-08','11' -'439','val_439','2008-04-08','11' -'342','val_342','2008-04-08','11' -'367','val_367','2008-04-08','11' -'325','val_325','2008-04-08','11' -'167','val_167','2008-04-08','11' -'195','val_195','2008-04-08','11' -'475','val_475','2008-04-08','11' -'17','val_17','2008-04-08','11' -'113','val_113','2008-04-08','11' -'155','val_155','2008-04-08','11' -'203','val_203','2008-04-08','11' -'339','val_339','2008-04-08','11' -'0','val_0','2008-04-08','11' -'455','val_455','2008-04-08','11' -'128','val_128','2008-04-08','11' -'311','val_311','2008-04-08','11' -'316','val_316','2008-04-08','11' -'57','val_57','2008-04-08','11' -'302','val_302','2008-04-08','11' -'205','val_205','2008-04-08','11' -'149','val_149','2008-04-08','11' -'438','val_438','2008-04-08','11' -'345','val_345','2008-04-08','11' -'129','val_129','2008-04-08','11' -'170','val_170','2008-04-08','11' -'20','val_20','2008-04-08','11' -'489','val_489','2008-04-08','11' -'157','val_157','2008-04-08','11' -'378','val_378','2008-04-08','11' -'221','val_221','2008-04-08','11' -'92','val_92','2008-04-08','11' -'111','val_111','2008-04-08','11' -'47','val_47','2008-04-08','11' -'72','val_72','2008-04-08','11' -'4','val_4','2008-04-08','11' -'280','val_280','2008-04-08','11' -'35','val_35','2008-04-08','11' -'427','val_427','2008-04-08','11' -'277','val_277','2008-04-08','11' -'208','val_208','2008-04-08','11' -'356','val_356','2008-04-08','11' -'399','val_399','2008-04-08','11' -'169','val_169','2008-04-08','11' -'382','val_382','2008-04-08','11' -'498','val_498','2008-04-08','11' -'125','val_125','2008-04-08','11' -'386','val_386','2008-04-08','11' -'437','val_437','2008-04-08','11' -'469','val_469','2008-04-08','11' -'192','val_192','2008-04-08','11' -'286','val_286','2008-04-08','11' -'187','val_187','2008-04-08','11' -'176','val_176','2008-04-08','11' -'54','val_54','2008-04-08','11' -'459','val_459','2008-04-08','11' -'51','val_51','2008-04-08','11' -'138','val_138','2008-04-08','11' -'103','val_103','2008-04-08','11' -'239','val_239','2008-04-08','11' -'213','val_213','2008-04-08','11' -'216','val_216','2008-04-08','11' -'430','val_430','2008-04-08','11' -'278','val_278','2008-04-08','11' -'176','val_176','2008-04-08','11' -'289','val_289','2008-04-08','11' -'221','val_221','2008-04-08','11' -'65','val_65','2008-04-08','11' -'318','val_318','2008-04-08','11' -'332','val_332','2008-04-08','11' -'311','val_311','2008-04-08','11' -'275','val_275','2008-04-08','11' -'137','val_137','2008-04-08','11' -'241','val_241','2008-04-08','11' -'83','val_83','2008-04-08','11' -'333','val_333','2008-04-08','11' -'180','val_180','2008-04-08','11' -'284','val_284','2008-04-08','11' -'12','val_12','2008-04-08','11' -'230','val_230','2008-04-08','11' -'181','val_181','2008-04-08','11' -'67','val_67','2008-04-08','11' -'260','val_260','2008-04-08','11' -'404','val_404','2008-04-08','11' -'384','val_384','2008-04-08','11' -'489','val_489','2008-04-08','11' -'353','val_353','2008-04-08','11' -'373','val_373','2008-04-08','11' -'272','val_272','2008-04-08','11' -'138','val_138','2008-04-08','11' -'217','val_217','2008-04-08','11' -'84','val_84','2008-04-08','11' -'348','val_348','2008-04-08','11' -'466','val_466','2008-04-08','11' -'58','val_58','2008-04-08','11' -'8','val_8','2008-04-08','11' -'411','val_411','2008-04-08','11' -'230','val_230','2008-04-08','11' -'208','val_208','2008-04-08','11' -'348','val_348','2008-04-08','11' -'24','val_24','2008-04-08','11' -'463','val_463','2008-04-08','11' -'431','val_431','2008-04-08','11' -'179','val_179','2008-04-08','11' -'172','val_172','2008-04-08','11' -'42','val_42','2008-04-08','11' -'129','val_129','2008-04-08','11' -'158','val_158','2008-04-08','11' -'119','val_119','2008-04-08','11' -'496','val_496','2008-04-08','11' -'0','val_0','2008-04-08','11' -'322','val_322','2008-04-08','11' -'197','val_197','2008-04-08','11' -'468','val_468','2008-04-08','11' -'393','val_393','2008-04-08','11' -'454','val_454','2008-04-08','11' -'100','val_100','2008-04-08','11' -'298','val_298','2008-04-08','11' -'199','val_199','2008-04-08','11' -'191','val_191','2008-04-08','11' -'418','val_418','2008-04-08','11' -'96','val_96','2008-04-08','11' -'26','val_26','2008-04-08','11' -'165','val_165','2008-04-08','11' -'327','val_327','2008-04-08','11' -'230','val_230','2008-04-08','11' -'205','val_205','2008-04-08','11' -'120','val_120','2008-04-08','11' -'131','val_131','2008-04-08','11' -'51','val_51','2008-04-08','11' -'404','val_404','2008-04-08','11' -'43','val_43','2008-04-08','11' -'436','val_436','2008-04-08','11' -'156','val_156','2008-04-08','11' -'469','val_469','2008-04-08','11' -'468','val_468','2008-04-08','11' -'308','val_308','2008-04-08','11' -'95','val_95','2008-04-08','11' -'196','val_196','2008-04-08','11' -'288','val_288','2008-04-08','11' -'481','val_481','2008-04-08','11' -'457','val_457','2008-04-08','11' -'98','val_98','2008-04-08','11' -'282','val_282','2008-04-08','11' -'197','val_197','2008-04-08','11' -'187','val_187','2008-04-08','11' -'318','val_318','2008-04-08','11' -'318','val_318','2008-04-08','11' -'409','val_409','2008-04-08','11' -'470','val_470','2008-04-08','11' -'137','val_137','2008-04-08','11' -'369','val_369','2008-04-08','11' -'316','val_316','2008-04-08','11' -'169','val_169','2008-04-08','11' -'413','val_413','2008-04-08','11' -'85','val_85','2008-04-08','11' -'77','val_77','2008-04-08','11' -'0','val_0','2008-04-08','11' -'490','val_490','2008-04-08','11' -'87','val_87','2008-04-08','11' -'364','val_364','2008-04-08','11' -'179','val_179','2008-04-08','11' -'118','val_118','2008-04-08','11' -'134','val_134','2008-04-08','11' -'395','val_395','2008-04-08','11' -'282','val_282','2008-04-08','11' -'138','val_138','2008-04-08','11' -'238','val_238','2008-04-08','11' -'419','val_419','2008-04-08','11' -'15','val_15','2008-04-08','11' -'118','val_118','2008-04-08','11' -'72','val_72','2008-04-08','11' -'90','val_90','2008-04-08','11' -'307','val_307','2008-04-08','11' -'19','val_19','2008-04-08','11' -'435','val_435','2008-04-08','11' -'10','val_10','2008-04-08','11' -'277','val_277','2008-04-08','11' -'273','val_273','2008-04-08','11' -'306','val_306','2008-04-08','11' -'224','val_224','2008-04-08','11' -'309','val_309','2008-04-08','11' -'389','val_389','2008-04-08','11' -'327','val_327','2008-04-08','11' -'242','val_242','2008-04-08','11' -'369','val_369','2008-04-08','11' -'392','val_392','2008-04-08','11' -'272','val_272','2008-04-08','11' -'331','val_331','2008-04-08','11' -'401','val_401','2008-04-08','11' -'242','val_242','2008-04-08','11' -'452','val_452','2008-04-08','11' -'177','val_177','2008-04-08','11' -'226','val_226','2008-04-08','11' -'5','val_5','2008-04-08','11' -'497','val_497','2008-04-08','11' -'402','val_402','2008-04-08','11' -'396','val_396','2008-04-08','11' -'317','val_317','2008-04-08','11' -'395','val_395','2008-04-08','11' -'58','val_58','2008-04-08','11' -'35','val_35','2008-04-08','11' -'336','val_336','2008-04-08','11' -'95','val_95','2008-04-08','11' -'11','val_11','2008-04-08','11' -'168','val_168','2008-04-08','11' -'34','val_34','2008-04-08','11' -'229','val_229','2008-04-08','11' -'233','val_233','2008-04-08','11' -'143','val_143','2008-04-08','11' -'472','val_472','2008-04-08','11' -'322','val_322','2008-04-08','11' -'498','val_498','2008-04-08','11' -'160','val_160','2008-04-08','11' -'195','val_195','2008-04-08','11' -'42','val_42','2008-04-08','11' -'321','val_321','2008-04-08','11' -'430','val_430','2008-04-08','11' -'119','val_119','2008-04-08','11' -'489','val_489','2008-04-08','11' -'458','val_458','2008-04-08','11' -'78','val_78','2008-04-08','11' -'76','val_76','2008-04-08','11' -'41','val_41','2008-04-08','11' -'223','val_223','2008-04-08','11' -'492','val_492','2008-04-08','11' -'149','val_149','2008-04-08','11' -'449','val_449','2008-04-08','11' -'218','val_218','2008-04-08','11' -'228','val_228','2008-04-08','11' -'138','val_138','2008-04-08','11' -'453','val_453','2008-04-08','11' -'30','val_30','2008-04-08','11' -'209','val_209','2008-04-08','11' -'64','val_64','2008-04-08','11' -'468','val_468','2008-04-08','11' -'76','val_76','2008-04-08','11' -'74','val_74','2008-04-08','11' -'342','val_342','2008-04-08','11' -'69','val_69','2008-04-08','11' -'230','val_230','2008-04-08','11' -'33','val_33','2008-04-08','11' -'368','val_368','2008-04-08','11' -'103','val_103','2008-04-08','11' -'296','val_296','2008-04-08','11' -'113','val_113','2008-04-08','11' -'216','val_216','2008-04-08','11' -'367','val_367','2008-04-08','11' -'344','val_344','2008-04-08','11' -'167','val_167','2008-04-08','11' -'274','val_274','2008-04-08','11' -'219','val_219','2008-04-08','11' -'239','val_239','2008-04-08','11' -'485','val_485','2008-04-08','11' -'116','val_116','2008-04-08','11' -'223','val_223','2008-04-08','11' -'256','val_256','2008-04-08','11' -'263','val_263','2008-04-08','11' -'70','val_70','2008-04-08','11' -'487','val_487','2008-04-08','11' -'480','val_480','2008-04-08','11' -'401','val_401','2008-04-08','11' -'288','val_288','2008-04-08','11' -'191','val_191','2008-04-08','11' -'5','val_5','2008-04-08','11' -'244','val_244','2008-04-08','11' -'438','val_438','2008-04-08','11' -'128','val_128','2008-04-08','11' -'467','val_467','2008-04-08','11' -'432','val_432','2008-04-08','11' -'202','val_202','2008-04-08','11' -'316','val_316','2008-04-08','11' -'229','val_229','2008-04-08','11' -'469','val_469','2008-04-08','11' -'463','val_463','2008-04-08','11' -'280','val_280','2008-04-08','11' -'2','val_2','2008-04-08','11' -'35','val_35','2008-04-08','11' -'283','val_283','2008-04-08','11' -'331','val_331','2008-04-08','11' -'235','val_235','2008-04-08','11' -'80','val_80','2008-04-08','11' -'44','val_44','2008-04-08','11' -'193','val_193','2008-04-08','11' -'321','val_321','2008-04-08','11' -'335','val_335','2008-04-08','11' -'104','val_104','2008-04-08','11' -'466','val_466','2008-04-08','11' -'366','val_366','2008-04-08','11' -'175','val_175','2008-04-08','11' -'403','val_403','2008-04-08','11' -'483','val_483','2008-04-08','11' -'53','val_53','2008-04-08','11' -'105','val_105','2008-04-08','11' -'257','val_257','2008-04-08','11' -'406','val_406','2008-04-08','11' -'409','val_409','2008-04-08','11' -'190','val_190','2008-04-08','11' -'406','val_406','2008-04-08','11' -'401','val_401','2008-04-08','11' -'114','val_114','2008-04-08','11' -'258','val_258','2008-04-08','11' -'90','val_90','2008-04-08','11' -'203','val_203','2008-04-08','11' -'262','val_262','2008-04-08','11' -'348','val_348','2008-04-08','11' -'424','val_424','2008-04-08','11' -'12','val_12','2008-04-08','11' -'396','val_396','2008-04-08','11' -'201','val_201','2008-04-08','11' -'217','val_217','2008-04-08','11' -'164','val_164','2008-04-08','11' -'431','val_431','2008-04-08','11' -'454','val_454','2008-04-08','11' -'478','val_478','2008-04-08','11' -'298','val_298','2008-04-08','11' -'125','val_125','2008-04-08','11' -'431','val_431','2008-04-08','11' -'164','val_164','2008-04-08','11' -'424','val_424','2008-04-08','11' -'187','val_187','2008-04-08','11' -'382','val_382','2008-04-08','11' -'5','val_5','2008-04-08','11' -'70','val_70','2008-04-08','11' -'397','val_397','2008-04-08','11' -'480','val_480','2008-04-08','11' -'291','val_291','2008-04-08','11' -'24','val_24','2008-04-08','11' -'351','val_351','2008-04-08','11' -'255','val_255','2008-04-08','11' -'104','val_104','2008-04-08','11' -'70','val_70','2008-04-08','11' -'163','val_163','2008-04-08','11' -'438','val_438','2008-04-08','11' -'119','val_119','2008-04-08','11' -'414','val_414','2008-04-08','11' -'200','val_200','2008-04-08','11' -'491','val_491','2008-04-08','11' -'237','val_237','2008-04-08','11' -'439','val_439','2008-04-08','11' -'360','val_360','2008-04-08','11' -'248','val_248','2008-04-08','11' -'479','val_479','2008-04-08','11' -'305','val_305','2008-04-08','11' -'417','val_417','2008-04-08','11' -'199','val_199','2008-04-08','11' -'444','val_444','2008-04-08','11' -'120','val_120','2008-04-08','11' -'429','val_429','2008-04-08','11' -'169','val_169','2008-04-08','11' -'443','val_443','2008-04-08','11' -'323','val_323','2008-04-08','11' -'325','val_325','2008-04-08','11' -'277','val_277','2008-04-08','11' -'230','val_230','2008-04-08','11' -'478','val_478','2008-04-08','11' -'178','val_178','2008-04-08','11' -'468','val_468','2008-04-08','11' -'310','val_310','2008-04-08','11' -'317','val_317','2008-04-08','11' -'333','val_333','2008-04-08','11' -'493','val_493','2008-04-08','11' -'460','val_460','2008-04-08','11' -'207','val_207','2008-04-08','11' -'249','val_249','2008-04-08','11' -'265','val_265','2008-04-08','11' -'480','val_480','2008-04-08','11' -'83','val_83','2008-04-08','11' -'136','val_136','2008-04-08','11' -'353','val_353','2008-04-08','11' -'172','val_172','2008-04-08','11' -'214','val_214','2008-04-08','11' -'462','val_462','2008-04-08','11' -'233','val_233','2008-04-08','11' -'406','val_406','2008-04-08','11' -'133','val_133','2008-04-08','11' -'175','val_175','2008-04-08','11' -'189','val_189','2008-04-08','11' -'454','val_454','2008-04-08','11' -'375','val_375','2008-04-08','11' -'401','val_401','2008-04-08','11' -'421','val_421','2008-04-08','11' -'407','val_407','2008-04-08','11' -'384','val_384','2008-04-08','11' -'256','val_256','2008-04-08','11' -'26','val_26','2008-04-08','11' -'134','val_134','2008-04-08','11' -'67','val_67','2008-04-08','11' -'384','val_384','2008-04-08','11' -'379','val_379','2008-04-08','11' -'18','val_18','2008-04-08','11' -'462','val_462','2008-04-08','11' -'492','val_492','2008-04-08','11' -'100','val_100','2008-04-08','11' -'298','val_298','2008-04-08','11' -'9','val_9','2008-04-08','11' -'341','val_341','2008-04-08','11' -'498','val_498','2008-04-08','11' -'146','val_146','2008-04-08','11' -'458','val_458','2008-04-08','11' -'362','val_362','2008-04-08','11' -'186','val_186','2008-04-08','11' -'285','val_285','2008-04-08','11' -'348','val_348','2008-04-08','11' -'167','val_167','2008-04-08','11' -'18','val_18','2008-04-08','11' -'273','val_273','2008-04-08','11' -'183','val_183','2008-04-08','11' -'281','val_281','2008-04-08','11' -'344','val_344','2008-04-08','11' -'97','val_97','2008-04-08','11' -'469','val_469','2008-04-08','11' -'315','val_315','2008-04-08','11' -'84','val_84','2008-04-08','11' -'28','val_28','2008-04-08','11' -'37','val_37','2008-04-08','11' -'448','val_448','2008-04-08','11' -'152','val_152','2008-04-08','11' -'348','val_348','2008-04-08','11' -'307','val_307','2008-04-08','11' -'194','val_194','2008-04-08','11' -'414','val_414','2008-04-08','11' -'477','val_477','2008-04-08','11' -'222','val_222','2008-04-08','11' -'126','val_126','2008-04-08','11' -'90','val_90','2008-04-08','11' -'169','val_169','2008-04-08','11' -'403','val_403','2008-04-08','11' -'400','val_400','2008-04-08','11' -'200','val_200','2008-04-08','11' -'97','val_97','2008-04-08','11' -'238','val_238','2008-04-08','12' -'86','val_86','2008-04-08','12' -'311','val_311','2008-04-08','12' -'27','val_27','2008-04-08','12' -'165','val_165','2008-04-08','12' -'409','val_409','2008-04-08','12' -'255','val_255','2008-04-08','12' -'278','val_278','2008-04-08','12' -'98','val_98','2008-04-08','12' -'484','val_484','2008-04-08','12' -'265','val_265','2008-04-08','12' -'193','val_193','2008-04-08','12' -'401','val_401','2008-04-08','12' -'150','val_150','2008-04-08','12' -'273','val_273','2008-04-08','12' -'224','val_224','2008-04-08','12' -'369','val_369','2008-04-08','12' -'66','val_66','2008-04-08','12' -'128','val_128','2008-04-08','12' -'213','val_213','2008-04-08','12' -'146','val_146','2008-04-08','12' -'406','val_406','2008-04-08','12' -'429','val_429','2008-04-08','12' -'374','val_374','2008-04-08','12' -'152','val_152','2008-04-08','12' -'469','val_469','2008-04-08','12' -'145','val_145','2008-04-08','12' -'495','val_495','2008-04-08','12' -'37','val_37','2008-04-08','12' -'327','val_327','2008-04-08','12' -'281','val_281','2008-04-08','12' -'277','val_277','2008-04-08','12' -'209','val_209','2008-04-08','12' -'15','val_15','2008-04-08','12' -'82','val_82','2008-04-08','12' -'403','val_403','2008-04-08','12' -'166','val_166','2008-04-08','12' -'417','val_417','2008-04-08','12' -'430','val_430','2008-04-08','12' -'252','val_252','2008-04-08','12' -'292','val_292','2008-04-08','12' -'219','val_219','2008-04-08','12' -'287','val_287','2008-04-08','12' -'153','val_153','2008-04-08','12' -'193','val_193','2008-04-08','12' -'338','val_338','2008-04-08','12' -'446','val_446','2008-04-08','12' -'459','val_459','2008-04-08','12' -'394','val_394','2008-04-08','12' -'237','val_237','2008-04-08','12' -'482','val_482','2008-04-08','12' -'174','val_174','2008-04-08','12' -'413','val_413','2008-04-08','12' -'494','val_494','2008-04-08','12' -'207','val_207','2008-04-08','12' -'199','val_199','2008-04-08','12' -'466','val_466','2008-04-08','12' -'208','val_208','2008-04-08','12' -'174','val_174','2008-04-08','12' -'399','val_399','2008-04-08','12' -'396','val_396','2008-04-08','12' -'247','val_247','2008-04-08','12' -'417','val_417','2008-04-08','12' -'489','val_489','2008-04-08','12' -'162','val_162','2008-04-08','12' -'377','val_377','2008-04-08','12' -'397','val_397','2008-04-08','12' -'309','val_309','2008-04-08','12' -'365','val_365','2008-04-08','12' -'266','val_266','2008-04-08','12' -'439','val_439','2008-04-08','12' -'342','val_342','2008-04-08','12' -'367','val_367','2008-04-08','12' -'325','val_325','2008-04-08','12' -'167','val_167','2008-04-08','12' -'195','val_195','2008-04-08','12' -'475','val_475','2008-04-08','12' -'17','val_17','2008-04-08','12' -'113','val_113','2008-04-08','12' -'155','val_155','2008-04-08','12' -'203','val_203','2008-04-08','12' -'339','val_339','2008-04-08','12' -'0','val_0','2008-04-08','12' -'455','val_455','2008-04-08','12' -'128','val_128','2008-04-08','12' -'311','val_311','2008-04-08','12' -'316','val_316','2008-04-08','12' -'57','val_57','2008-04-08','12' -'302','val_302','2008-04-08','12' -'205','val_205','2008-04-08','12' -'149','val_149','2008-04-08','12' -'438','val_438','2008-04-08','12' -'345','val_345','2008-04-08','12' -'129','val_129','2008-04-08','12' -'170','val_170','2008-04-08','12' -'20','val_20','2008-04-08','12' -'489','val_489','2008-04-08','12' -'157','val_157','2008-04-08','12' -'378','val_378','2008-04-08','12' -'221','val_221','2008-04-08','12' -'92','val_92','2008-04-08','12' -'111','val_111','2008-04-08','12' -'47','val_47','2008-04-08','12' -'72','val_72','2008-04-08','12' -'4','val_4','2008-04-08','12' -'280','val_280','2008-04-08','12' -'35','val_35','2008-04-08','12' -'427','val_427','2008-04-08','12' -'277','val_277','2008-04-08','12' -'208','val_208','2008-04-08','12' -'356','val_356','2008-04-08','12' -'399','val_399','2008-04-08','12' -'169','val_169','2008-04-08','12' -'382','val_382','2008-04-08','12' -'498','val_498','2008-04-08','12' -'125','val_125','2008-04-08','12' -'386','val_386','2008-04-08','12' -'437','val_437','2008-04-08','12' -'469','val_469','2008-04-08','12' -'192','val_192','2008-04-08','12' -'286','val_286','2008-04-08','12' -'187','val_187','2008-04-08','12' -'176','val_176','2008-04-08','12' -'54','val_54','2008-04-08','12' -'459','val_459','2008-04-08','12' -'51','val_51','2008-04-08','12' -'138','val_138','2008-04-08','12' -'103','val_103','2008-04-08','12' -'239','val_239','2008-04-08','12' -'213','val_213','2008-04-08','12' -'216','val_216','2008-04-08','12' -'430','val_430','2008-04-08','12' -'278','val_278','2008-04-08','12' -'176','val_176','2008-04-08','12' -'289','val_289','2008-04-08','12' -'221','val_221','2008-04-08','12' -'65','val_65','2008-04-08','12' -'318','val_318','2008-04-08','12' -'332','val_332','2008-04-08','12' -'311','val_311','2008-04-08','12' -'275','val_275','2008-04-08','12' -'137','val_137','2008-04-08','12' -'241','val_241','2008-04-08','12' -'83','val_83','2008-04-08','12' -'333','val_333','2008-04-08','12' -'180','val_180','2008-04-08','12' -'284','val_284','2008-04-08','12' -'12','val_12','2008-04-08','12' -'230','val_230','2008-04-08','12' -'181','val_181','2008-04-08','12' -'67','val_67','2008-04-08','12' -'260','val_260','2008-04-08','12' -'404','val_404','2008-04-08','12' -'384','val_384','2008-04-08','12' -'489','val_489','2008-04-08','12' -'353','val_353','2008-04-08','12' -'373','val_373','2008-04-08','12' -'272','val_272','2008-04-08','12' -'138','val_138','2008-04-08','12' -'217','val_217','2008-04-08','12' -'84','val_84','2008-04-08','12' -'348','val_348','2008-04-08','12' -'466','val_466','2008-04-08','12' -'58','val_58','2008-04-08','12' -'8','val_8','2008-04-08','12' -'411','val_411','2008-04-08','12' -'230','val_230','2008-04-08','12' -'208','val_208','2008-04-08','12' -'348','val_348','2008-04-08','12' -'24','val_24','2008-04-08','12' -'463','val_463','2008-04-08','12' -'431','val_431','2008-04-08','12' -'179','val_179','2008-04-08','12' -'172','val_172','2008-04-08','12' -'42','val_42','2008-04-08','12' -'129','val_129','2008-04-08','12' -'158','val_158','2008-04-08','12' -'119','val_119','2008-04-08','12' -'496','val_496','2008-04-08','12' -'0','val_0','2008-04-08','12' -'322','val_322','2008-04-08','12' -'197','val_197','2008-04-08','12' -'468','val_468','2008-04-08','12' -'393','val_393','2008-04-08','12' -'454','val_454','2008-04-08','12' -'100','val_100','2008-04-08','12' -'298','val_298','2008-04-08','12' -'199','val_199','2008-04-08','12' -'191','val_191','2008-04-08','12' -'418','val_418','2008-04-08','12' -'96','val_96','2008-04-08','12' -'26','val_26','2008-04-08','12' -'165','val_165','2008-04-08','12' -'327','val_327','2008-04-08','12' -'230','val_230','2008-04-08','12' -'205','val_205','2008-04-08','12' -'120','val_120','2008-04-08','12' -'131','val_131','2008-04-08','12' -'51','val_51','2008-04-08','12' -'404','val_404','2008-04-08','12' -'43','val_43','2008-04-08','12' -'436','val_436','2008-04-08','12' -'156','val_156','2008-04-08','12' -'469','val_469','2008-04-08','12' -'468','val_468','2008-04-08','12' -'308','val_308','2008-04-08','12' -'95','val_95','2008-04-08','12' -'196','val_196','2008-04-08','12' -'288','val_288','2008-04-08','12' -'481','val_481','2008-04-08','12' -'457','val_457','2008-04-08','12' -'98','val_98','2008-04-08','12' -'282','val_282','2008-04-08','12' -'197','val_197','2008-04-08','12' -'187','val_187','2008-04-08','12' -'318','val_318','2008-04-08','12' -'318','val_318','2008-04-08','12' -'409','val_409','2008-04-08','12' -'470','val_470','2008-04-08','12' -'137','val_137','2008-04-08','12' -'369','val_369','2008-04-08','12' -'316','val_316','2008-04-08','12' -'169','val_169','2008-04-08','12' -'413','val_413','2008-04-08','12' -'85','val_85','2008-04-08','12' -'77','val_77','2008-04-08','12' -'0','val_0','2008-04-08','12' -'490','val_490','2008-04-08','12' -'87','val_87','2008-04-08','12' -'364','val_364','2008-04-08','12' -'179','val_179','2008-04-08','12' -'118','val_118','2008-04-08','12' -'134','val_134','2008-04-08','12' -'395','val_395','2008-04-08','12' -'282','val_282','2008-04-08','12' -'138','val_138','2008-04-08','12' -'238','val_238','2008-04-08','12' -'419','val_419','2008-04-08','12' -'15','val_15','2008-04-08','12' -'118','val_118','2008-04-08','12' -'72','val_72','2008-04-08','12' -'90','val_90','2008-04-08','12' -'307','val_307','2008-04-08','12' -'19','val_19','2008-04-08','12' -'435','val_435','2008-04-08','12' -'10','val_10','2008-04-08','12' -'277','val_277','2008-04-08','12' -'273','val_273','2008-04-08','12' -'306','val_306','2008-04-08','12' -'224','val_224','2008-04-08','12' -'309','val_309','2008-04-08','12' -'389','val_389','2008-04-08','12' -'327','val_327','2008-04-08','12' -'242','val_242','2008-04-08','12' -'369','val_369','2008-04-08','12' -'392','val_392','2008-04-08','12' -'272','val_272','2008-04-08','12' -'331','val_331','2008-04-08','12' -'401','val_401','2008-04-08','12' -'242','val_242','2008-04-08','12' -'452','val_452','2008-04-08','12' -'177','val_177','2008-04-08','12' -'226','val_226','2008-04-08','12' -'5','val_5','2008-04-08','12' -'497','val_497','2008-04-08','12' -'402','val_402','2008-04-08','12' -'396','val_396','2008-04-08','12' -'317','val_317','2008-04-08','12' -'395','val_395','2008-04-08','12' -'58','val_58','2008-04-08','12' -'35','val_35','2008-04-08','12' -'336','val_336','2008-04-08','12' -'95','val_95','2008-04-08','12' -'11','val_11','2008-04-08','12' -'168','val_168','2008-04-08','12' -'34','val_34','2008-04-08','12' -'229','val_229','2008-04-08','12' -'233','val_233','2008-04-08','12' -'143','val_143','2008-04-08','12' -'472','val_472','2008-04-08','12' -'322','val_322','2008-04-08','12' -'498','val_498','2008-04-08','12' -'160','val_160','2008-04-08','12' -'195','val_195','2008-04-08','12' -'42','val_42','2008-04-08','12' -'321','val_321','2008-04-08','12' -'430','val_430','2008-04-08','12' -'119','val_119','2008-04-08','12' -'489','val_489','2008-04-08','12' -'458','val_458','2008-04-08','12' -'78','val_78','2008-04-08','12' -'76','val_76','2008-04-08','12' -'41','val_41','2008-04-08','12' -'223','val_223','2008-04-08','12' -'492','val_492','2008-04-08','12' -'149','val_149','2008-04-08','12' -'449','val_449','2008-04-08','12' -'218','val_218','2008-04-08','12' -'228','val_228','2008-04-08','12' -'138','val_138','2008-04-08','12' -'453','val_453','2008-04-08','12' -'30','val_30','2008-04-08','12' -'209','val_209','2008-04-08','12' -'64','val_64','2008-04-08','12' -'468','val_468','2008-04-08','12' -'76','val_76','2008-04-08','12' -'74','val_74','2008-04-08','12' -'342','val_342','2008-04-08','12' -'69','val_69','2008-04-08','12' -'230','val_230','2008-04-08','12' -'33','val_33','2008-04-08','12' -'368','val_368','2008-04-08','12' -'103','val_103','2008-04-08','12' -'296','val_296','2008-04-08','12' -'113','val_113','2008-04-08','12' -'216','val_216','2008-04-08','12' -'367','val_367','2008-04-08','12' -'344','val_344','2008-04-08','12' -'167','val_167','2008-04-08','12' -'274','val_274','2008-04-08','12' -'219','val_219','2008-04-08','12' -'239','val_239','2008-04-08','12' -'485','val_485','2008-04-08','12' -'116','val_116','2008-04-08','12' -'223','val_223','2008-04-08','12' -'256','val_256','2008-04-08','12' -'263','val_263','2008-04-08','12' -'70','val_70','2008-04-08','12' -'487','val_487','2008-04-08','12' -'480','val_480','2008-04-08','12' -'401','val_401','2008-04-08','12' -'288','val_288','2008-04-08','12' -'191','val_191','2008-04-08','12' -'5','val_5','2008-04-08','12' -'244','val_244','2008-04-08','12' -'438','val_438','2008-04-08','12' -'128','val_128','2008-04-08','12' -'467','val_467','2008-04-08','12' -'432','val_432','2008-04-08','12' -'202','val_202','2008-04-08','12' -'316','val_316','2008-04-08','12' -'229','val_229','2008-04-08','12' -'469','val_469','2008-04-08','12' -'463','val_463','2008-04-08','12' -'280','val_280','2008-04-08','12' -'2','val_2','2008-04-08','12' -'35','val_35','2008-04-08','12' -'283','val_283','2008-04-08','12' -'331','val_331','2008-04-08','12' -'235','val_235','2008-04-08','12' -'80','val_80','2008-04-08','12' -'44','val_44','2008-04-08','12' -'193','val_193','2008-04-08','12' -'321','val_321','2008-04-08','12' -'335','val_335','2008-04-08','12' -'104','val_104','2008-04-08','12' -'466','val_466','2008-04-08','12' -'366','val_366','2008-04-08','12' -'175','val_175','2008-04-08','12' -'403','val_403','2008-04-08','12' -'483','val_483','2008-04-08','12' -'53','val_53','2008-04-08','12' -'105','val_105','2008-04-08','12' -'257','val_257','2008-04-08','12' -'406','val_406','2008-04-08','12' -'409','val_409','2008-04-08','12' -'190','val_190','2008-04-08','12' -'406','val_406','2008-04-08','12' -'401','val_401','2008-04-08','12' -'114','val_114','2008-04-08','12' -'258','val_258','2008-04-08','12' -'90','val_90','2008-04-08','12' -'203','val_203','2008-04-08','12' -'262','val_262','2008-04-08','12' -'348','val_348','2008-04-08','12' -'424','val_424','2008-04-08','12' -'12','val_12','2008-04-08','12' -'396','val_396','2008-04-08','12' -'201','val_201','2008-04-08','12' -'217','val_217','2008-04-08','12' -'164','val_164','2008-04-08','12' -'431','val_431','2008-04-08','12' -'454','val_454','2008-04-08','12' -'478','val_478','2008-04-08','12' -'298','val_298','2008-04-08','12' -'125','val_125','2008-04-08','12' -'431','val_431','2008-04-08','12' -'164','val_164','2008-04-08','12' -'424','val_424','2008-04-08','12' -'187','val_187','2008-04-08','12' -'382','val_382','2008-04-08','12' -'5','val_5','2008-04-08','12' -'70','val_70','2008-04-08','12' -'397','val_397','2008-04-08','12' -'480','val_480','2008-04-08','12' -'291','val_291','2008-04-08','12' -'24','val_24','2008-04-08','12' -'351','val_351','2008-04-08','12' -'255','val_255','2008-04-08','12' -'104','val_104','2008-04-08','12' -'70','val_70','2008-04-08','12' -'163','val_163','2008-04-08','12' -'438','val_438','2008-04-08','12' -'119','val_119','2008-04-08','12' -'414','val_414','2008-04-08','12' -'200','val_200','2008-04-08','12' -'491','val_491','2008-04-08','12' -'237','val_237','2008-04-08','12' -'439','val_439','2008-04-08','12' -'360','val_360','2008-04-08','12' -'248','val_248','2008-04-08','12' -'479','val_479','2008-04-08','12' -'305','val_305','2008-04-08','12' -'417','val_417','2008-04-08','12' -'199','val_199','2008-04-08','12' -'444','val_444','2008-04-08','12' -'120','val_120','2008-04-08','12' -'429','val_429','2008-04-08','12' -'169','val_169','2008-04-08','12' -'443','val_443','2008-04-08','12' -'323','val_323','2008-04-08','12' -'325','val_325','2008-04-08','12' -'277','val_277','2008-04-08','12' -'230','val_230','2008-04-08','12' -'478','val_478','2008-04-08','12' -'178','val_178','2008-04-08','12' -'468','val_468','2008-04-08','12' -'310','val_310','2008-04-08','12' -'317','val_317','2008-04-08','12' -'333','val_333','2008-04-08','12' -'493','val_493','2008-04-08','12' -'460','val_460','2008-04-08','12' -'207','val_207','2008-04-08','12' -'249','val_249','2008-04-08','12' -'265','val_265','2008-04-08','12' -'480','val_480','2008-04-08','12' -'83','val_83','2008-04-08','12' -'136','val_136','2008-04-08','12' -'353','val_353','2008-04-08','12' -'172','val_172','2008-04-08','12' -'214','val_214','2008-04-08','12' -'462','val_462','2008-04-08','12' -'233','val_233','2008-04-08','12' -'406','val_406','2008-04-08','12' -'133','val_133','2008-04-08','12' -'175','val_175','2008-04-08','12' -'189','val_189','2008-04-08','12' -'454','val_454','2008-04-08','12' -'375','val_375','2008-04-08','12' -'401','val_401','2008-04-08','12' -'421','val_421','2008-04-08','12' -'407','val_407','2008-04-08','12' -'384','val_384','2008-04-08','12' -'256','val_256','2008-04-08','12' -'26','val_26','2008-04-08','12' -'134','val_134','2008-04-08','12' -'67','val_67','2008-04-08','12' -'384','val_384','2008-04-08','12' -'379','val_379','2008-04-08','12' -'18','val_18','2008-04-08','12' -'462','val_462','2008-04-08','12' -'492','val_492','2008-04-08','12' -'100','val_100','2008-04-08','12' -'298','val_298','2008-04-08','12' -'9','val_9','2008-04-08','12' -'341','val_341','2008-04-08','12' -'498','val_498','2008-04-08','12' -'146','val_146','2008-04-08','12' -'458','val_458','2008-04-08','12' -'362','val_362','2008-04-08','12' -'186','val_186','2008-04-08','12' -'285','val_285','2008-04-08','12' -'348','val_348','2008-04-08','12' -'167','val_167','2008-04-08','12' -'18','val_18','2008-04-08','12' -'273','val_273','2008-04-08','12' -'183','val_183','2008-04-08','12' -'281','val_281','2008-04-08','12' -'344','val_344','2008-04-08','12' -'97','val_97','2008-04-08','12' -'469','val_469','2008-04-08','12' -'315','val_315','2008-04-08','12' -'84','val_84','2008-04-08','12' -'28','val_28','2008-04-08','12' -'37','val_37','2008-04-08','12' -'448','val_448','2008-04-08','12' -'152','val_152','2008-04-08','12' -'348','val_348','2008-04-08','12' -'307','val_307','2008-04-08','12' -'194','val_194','2008-04-08','12' -'414','val_414','2008-04-08','12' -'477','val_477','2008-04-08','12' -'222','val_222','2008-04-08','12' -'126','val_126','2008-04-08','12' -'90','val_90','2008-04-08','12' -'169','val_169','2008-04-08','12' -'403','val_403','2008-04-08','12' -'400','val_400','2008-04-08','12' -'200','val_200','2008-04-08','12' -'97','val_97','2008-04-08','12' -1,000 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/input_part1.q.out ql/src/test/results/beelinepositive/input_part1.q.out deleted file mode 100644 index ed01e63..0000000 --- ql/src/test/results/beelinepositive/input_part1.q.out +++ /dev/null @@ -1,421 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input_part1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input_part1.q ->>> CREATE TABLE dest1(key INT, value STRING, hr STRING, ds STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN EXTENDED -FROM srcpart -INSERT OVERWRITE TABLE dest1 SELECT srcpart.key, srcpart.value, srcpart.hr, srcpart.ds WHERE srcpart.key < 100 and srcpart.ds = '2008-04-08' and srcpart.hr = '12'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL srcpart) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL srcpart) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL srcpart) hr)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL srcpart) ds))) (TOK_WHERE (and (and (< (. (TOK_TABLE_OR_COL srcpart) key) 100) (= (. (TOK_TABLE_OR_COL srcpart) ds) '2008-04-08')) (= (. (TOK_TABLE_OR_COL srcpart) hr) '12')))))' -'' -'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' -' Alias -> Map Operator Tree:' -' srcpart ' -' TableScan' -' alias: srcpart' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (key < 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: hr' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,hr,ds' -' columns.types int:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part1.db/dest1' -' name input_part1.dest1' -' serialization.ddl struct dest1 { i32 key, string value, string hr, string ds}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: input_part1.dest1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/input_part1.db/srcpart/ds=2008-04-08/hr=12 [srcpart]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/input_part1.db/srcpart/ds=2008-04-08/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part1.db/srcpart/ds=2008-04-08/hr=12' -' name input_part1.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part1.db/srcpart' -' name input_part1.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: input_part1.srcpart' -' name: input_part1.srcpart' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,hr,ds' -' columns.types int:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part1.db/dest1' -' name input_part1.dest1' -' serialization.ddl struct dest1 { i32 key, string value, string hr, string ds}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: input_part1.dest1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,hr,ds' -' columns.types int:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part1.db/dest1' -' name input_part1.dest1' -' serialization.ddl struct dest1 { i32 key, string value, string hr, string ds}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: input_part1.dest1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,hr,ds' -' columns.types int:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part1.db/dest1' -' name input_part1.dest1' -' serialization.ddl struct dest1 { i32 key, string value, string hr, string ds}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,hr,ds' -' columns.types int:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part1.db/dest1' -' name input_part1.dest1' -' serialization.ddl struct dest1 { i32 key, string value, string hr, string ds}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: input_part1.dest1' -' name: input_part1.dest1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,hr,ds' -' columns.types int:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part1.db/dest1' -' name input_part1.dest1' -' serialization.ddl struct dest1 { i32 key, string value, string hr, string ds}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: input_part1.dest1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,hr,ds' -' columns.types int:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part1.db/dest1' -' name input_part1.dest1' -' serialization.ddl struct dest1 { i32 key, string value, string hr, string ds}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,hr,ds' -' columns.types int:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part1.db/dest1' -' name input_part1.dest1' -' serialization.ddl struct dest1 { i32 key, string value, string hr, string ds}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: input_part1.dest1' -' name: input_part1.dest1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -316 rows selected ->>> ->>> FROM srcpart -INSERT OVERWRITE TABLE dest1 SELECT srcpart.key, srcpart.value, srcpart.hr, srcpart.ds WHERE srcpart.key < 100 and srcpart.ds = '2008-04-08' and srcpart.hr = '12'; -'_col0','_col1','_col2','_col3' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','value','hr','ds' -'86','val_86','12','2008-04-08' -'27','val_27','12','2008-04-08' -'98','val_98','12','2008-04-08' -'66','val_66','12','2008-04-08' -'37','val_37','12','2008-04-08' -'15','val_15','12','2008-04-08' -'82','val_82','12','2008-04-08' -'17','val_17','12','2008-04-08' -'0','val_0','12','2008-04-08' -'57','val_57','12','2008-04-08' -'20','val_20','12','2008-04-08' -'92','val_92','12','2008-04-08' -'47','val_47','12','2008-04-08' -'72','val_72','12','2008-04-08' -'4','val_4','12','2008-04-08' -'35','val_35','12','2008-04-08' -'54','val_54','12','2008-04-08' -'51','val_51','12','2008-04-08' -'65','val_65','12','2008-04-08' -'83','val_83','12','2008-04-08' -'12','val_12','12','2008-04-08' -'67','val_67','12','2008-04-08' -'84','val_84','12','2008-04-08' -'58','val_58','12','2008-04-08' -'8','val_8','12','2008-04-08' -'24','val_24','12','2008-04-08' -'42','val_42','12','2008-04-08' -'0','val_0','12','2008-04-08' -'96','val_96','12','2008-04-08' -'26','val_26','12','2008-04-08' -'51','val_51','12','2008-04-08' -'43','val_43','12','2008-04-08' -'95','val_95','12','2008-04-08' -'98','val_98','12','2008-04-08' -'85','val_85','12','2008-04-08' -'77','val_77','12','2008-04-08' -'0','val_0','12','2008-04-08' -'87','val_87','12','2008-04-08' -'15','val_15','12','2008-04-08' -'72','val_72','12','2008-04-08' -'90','val_90','12','2008-04-08' -'19','val_19','12','2008-04-08' -'10','val_10','12','2008-04-08' -'5','val_5','12','2008-04-08' -'58','val_58','12','2008-04-08' -'35','val_35','12','2008-04-08' -'95','val_95','12','2008-04-08' -'11','val_11','12','2008-04-08' -'34','val_34','12','2008-04-08' -'42','val_42','12','2008-04-08' -'78','val_78','12','2008-04-08' -'76','val_76','12','2008-04-08' -'41','val_41','12','2008-04-08' -'30','val_30','12','2008-04-08' -'64','val_64','12','2008-04-08' -'76','val_76','12','2008-04-08' -'74','val_74','12','2008-04-08' -'69','val_69','12','2008-04-08' -'33','val_33','12','2008-04-08' -'70','val_70','12','2008-04-08' -'5','val_5','12','2008-04-08' -'2','val_2','12','2008-04-08' -'35','val_35','12','2008-04-08' -'80','val_80','12','2008-04-08' -'44','val_44','12','2008-04-08' -'53','val_53','12','2008-04-08' -'90','val_90','12','2008-04-08' -'12','val_12','12','2008-04-08' -'5','val_5','12','2008-04-08' -'70','val_70','12','2008-04-08' -'24','val_24','12','2008-04-08' -'70','val_70','12','2008-04-08' -'83','val_83','12','2008-04-08' -'26','val_26','12','2008-04-08' -'67','val_67','12','2008-04-08' -'18','val_18','12','2008-04-08' -'9','val_9','12','2008-04-08' -'18','val_18','12','2008-04-08' -'97','val_97','12','2008-04-08' -'84','val_84','12','2008-04-08' -'28','val_28','12','2008-04-08' -'37','val_37','12','2008-04-08' -'90','val_90','12','2008-04-08' -'97','val_97','12','2008-04-08' -84 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/input_part10.q.out ql/src/test/results/beelinepositive/input_part10.q.out deleted file mode 100644 index e5fa5d2..0000000 --- ql/src/test/results/beelinepositive/input_part10.q.out +++ /dev/null @@ -1,99 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input_part10.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input_part10.q ->>> CREATE TABLE part_special ( -a STRING, -b STRING -) PARTITIONED BY ( -ds STRING, -ts STRING -); -No rows affected ->>> ->>> EXPLAIN -INSERT OVERWRITE TABLE part_special PARTITION(ds='2008 04 08', ts = '10:11:12=455') -SELECT 1, 2 FROM src LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME part_special) (TOK_PARTSPEC (TOK_PARTVAL ds '2008 04 08') (TOK_PARTVAL ts '10:11:12=455')))) (TOK_SELECT (TOK_SELEXPR 1) (TOK_SELEXPR 2)) (TOK_LIMIT 1)))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: 1' -' type: int' -' expr: 2' -' type: int' -' outputColumnNames: _col0, _col1' -' Limit' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' Reduce Operator Tree:' -' Extract' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: input_part10.part_special' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' partition:' -' ds 2008 04 08' -' ts 10:11:12=455' -' 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: input_part10.part_special' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -60 rows selected ->>> ->>> INSERT OVERWRITE TABLE part_special PARTITION(ds='2008 04 08', ts = '10:11:12=455') -SELECT 1, 2 FROM src LIMIT 1; -'_c0','_c1' -No rows selected ->>> ->>> DESCRIBE EXTENDED part_special PARTITION(ds='2008 04 08', ts = '10:11:12=455'); -'col_name','data_type','comment' -'a','string','' -'b','string','' -'ds','string','' -'ts','string','' -'','','' -'Detailed Partition Information','Partition(values:[2008 04 08, 10:11:12=455], dbName:input_part10, tableName:part_special, createTime:!!UNIXTIME!!, lastAccessTime:0, sd:StorageDescriptor(cols:[FieldSchema(name:a, type:string, comment:null), FieldSchema(name:b, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:ts, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/input_part10.db/part_special/ds=2008 04 08/ts=10%3A11%3A12%3D455, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), parameters:{numFiles=1, transient_lastDdlTime=!!UNIXTIME!!, totalSize=4, numRows=1, rawDataSize=3})','' -6 rows selected ->>> ->>> SELECT * FROM part_special WHERE ds='2008 04 08' AND ts = '10:11:12=455'; -'a','b','ds','ts' -'1','2','2008 04 08','10:11:12=455' -1 row selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/input_part2.q.out ql/src/test/results/beelinepositive/input_part2.q.out deleted file mode 100644 index 167d719..0000000 --- ql/src/test/results/beelinepositive/input_part2.q.out +++ /dev/null @@ -1,810 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input_part2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input_part2.q ->>> CREATE TABLE dest1(key INT, value STRING, hr STRING, ds STRING) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE dest2(key INT, value STRING, hr STRING, ds STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN EXTENDED -FROM srcpart -INSERT OVERWRITE TABLE dest1 SELECT srcpart.key, srcpart.value, srcpart.hr, srcpart.ds WHERE srcpart.key < 100 and srcpart.ds = '2008-04-08' and srcpart.hr = '12' -INSERT OVERWRITE TABLE dest2 SELECT srcpart.key, srcpart.value, srcpart.hr, srcpart.ds WHERE srcpart.key < 100 and srcpart.ds = '2008-04-09' and srcpart.hr = '12'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL srcpart) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL srcpart) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL srcpart) hr)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL srcpart) ds))) (TOK_WHERE (and (and (< (. (TOK_TABLE_OR_COL srcpart) key) 100) (= (. (TOK_TABLE_OR_COL srcpart) ds) '2008-04-08')) (= (. (TOK_TABLE_OR_COL srcpart) hr) '12')))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest2))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL srcpart) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL srcpart) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL srcpart) hr)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL srcpart) ds))) (TOK_WHERE (and (and (< (. (TOK_TABLE_OR_COL srcpart) key) 100) (= (. (TOK_TABLE_OR_COL srcpart) ds) '2008-04-09')) (= (. (TOK_TABLE_OR_COL srcpart) hr) '12')))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-8 depends on stages: Stage-2 , consists of Stage-5, Stage-4, Stage-6' -' Stage-5' -' Stage-0 depends on stages: Stage-5, Stage-4, Stage-7' -' Stage-3 depends on stages: Stage-0' -' Stage-4' -' Stage-6' -' Stage-7 depends on stages: Stage-6' -' Stage-14 depends on stages: Stage-2 , consists of Stage-11, Stage-10, Stage-12' -' Stage-11' -' Stage-1 depends on stages: Stage-11, Stage-10, Stage-13' -' Stage-9 depends on stages: Stage-1' -' Stage-10' -' Stage-12' -' Stage-13 depends on stages: Stage-12' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' srcpart ' -' TableScan' -' alias: srcpart' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((key < 100.0) and (ds = '2008-04-08'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: hr' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,hr,ds' -' columns.types int:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part2.db/dest1' -' name input_part2.dest1' -' serialization.ddl struct dest1 { i32 key, string value, string hr, string ds}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: input_part2.dest1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((key < 100.0) and (ds = '2008-04-09'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: hr' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,hr,ds' -' columns.types int:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part2.db/dest2' -' name input_part2.dest2' -' serialization.ddl struct dest2 { i32 key, string value, string hr, string ds}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: input_part2.dest2' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/input_part2.db/srcpart/ds=2008-04-08/hr=12 [srcpart]' -' !!{hive.metastore.warehouse.dir}!!/input_part2.db/srcpart/ds=2008-04-09/hr=12 [srcpart]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/input_part2.db/srcpart/ds=2008-04-08/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part2.db/srcpart/ds=2008-04-08/hr=12' -' name input_part2.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part2.db/srcpart' -' name input_part2.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: input_part2.srcpart' -' name: input_part2.srcpart' -' !!{hive.metastore.warehouse.dir}!!/input_part2.db/srcpart/ds=2008-04-09/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-09' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part2.db/srcpart/ds=2008-04-09/hr=12' -' name input_part2.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part2.db/srcpart' -' name input_part2.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: input_part2.srcpart' -' name: input_part2.srcpart' -'' -' Stage: Stage-8' -' Conditional Operator' -'' -' Stage: Stage-5' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,hr,ds' -' columns.types int:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part2.db/dest1' -' name input_part2.dest1' -' serialization.ddl struct dest1 { i32 key, string value, string hr, string ds}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: input_part2.dest1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,hr,ds' -' columns.types int:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part2.db/dest1' -' name input_part2.dest1' -' serialization.ddl struct dest1 { i32 key, string value, string hr, string ds}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: input_part2.dest1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10004' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,hr,ds' -' columns.types int:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part2.db/dest1' -' name input_part2.dest1' -' serialization.ddl struct dest1 { i32 key, string value, string hr, string ds}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,hr,ds' -' columns.types int:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part2.db/dest1' -' name input_part2.dest1' -' serialization.ddl struct dest1 { i32 key, string value, string hr, string ds}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: input_part2.dest1' -' name: input_part2.dest1' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,hr,ds' -' columns.types int:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part2.db/dest1' -' name input_part2.dest1' -' serialization.ddl struct dest1 { i32 key, string value, string hr, string ds}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: input_part2.dest1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10004' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,hr,ds' -' columns.types int:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part2.db/dest1' -' name input_part2.dest1' -' serialization.ddl struct dest1 { i32 key, string value, string hr, string ds}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,hr,ds' -' columns.types int:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part2.db/dest1' -' name input_part2.dest1' -' serialization.ddl struct dest1 { i32 key, string value, string hr, string ds}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: input_part2.dest1' -' name: input_part2.dest1' -'' -' Stage: Stage-7' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-14' -' Conditional Operator' -'' -' Stage: Stage-11' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,hr,ds' -' columns.types int:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part2.db/dest2' -' name input_part2.dest2' -' serialization.ddl struct dest2 { i32 key, string value, string hr, string ds}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: input_part2.dest2' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-9' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-10' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,hr,ds' -' columns.types int:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part2.db/dest2' -' name input_part2.dest2' -' serialization.ddl struct dest2 { i32 key, string value, string hr, string ds}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: input_part2.dest2' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10005' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,hr,ds' -' columns.types int:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part2.db/dest2' -' name input_part2.dest2' -' serialization.ddl struct dest2 { i32 key, string value, string hr, string ds}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,hr,ds' -' columns.types int:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part2.db/dest2' -' name input_part2.dest2' -' serialization.ddl struct dest2 { i32 key, string value, string hr, string ds}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: input_part2.dest2' -' name: input_part2.dest2' -'' -' Stage: Stage-12' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,hr,ds' -' columns.types int:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part2.db/dest2' -' name input_part2.dest2' -' serialization.ddl struct dest2 { i32 key, string value, string hr, string ds}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: input_part2.dest2' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10005' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,hr,ds' -' columns.types int:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part2.db/dest2' -' name input_part2.dest2' -' serialization.ddl struct dest2 { i32 key, string value, string hr, string ds}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,hr,ds' -' columns.types int:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part2.db/dest2' -' name input_part2.dest2' -' serialization.ddl struct dest2 { i32 key, string value, string hr, string ds}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: input_part2.dest2' -' name: input_part2.dest2' -'' -' Stage: Stage-13' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -613 rows selected ->>> ->>> FROM srcpart -INSERT OVERWRITE TABLE dest1 SELECT srcpart.key, srcpart.value, srcpart.hr, srcpart.ds WHERE srcpart.key < 100 and srcpart.ds = '2008-04-08' and srcpart.hr = '12' -INSERT OVERWRITE TABLE dest2 SELECT srcpart.key, srcpart.value, srcpart.hr, srcpart.ds WHERE srcpart.key < 100 and srcpart.ds = '2008-04-09' and srcpart.hr = '12'; -'_col0','_col1','_col2','_col3' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1 sort by key,value,ds,hr; -'key','value','hr','ds' -'0','val_0','12','2008-04-08' -'0','val_0','12','2008-04-08' -'0','val_0','12','2008-04-08' -'2','val_2','12','2008-04-08' -'4','val_4','12','2008-04-08' -'5','val_5','12','2008-04-08' -'5','val_5','12','2008-04-08' -'5','val_5','12','2008-04-08' -'8','val_8','12','2008-04-08' -'9','val_9','12','2008-04-08' -'10','val_10','12','2008-04-08' -'11','val_11','12','2008-04-08' -'12','val_12','12','2008-04-08' -'12','val_12','12','2008-04-08' -'15','val_15','12','2008-04-08' -'15','val_15','12','2008-04-08' -'17','val_17','12','2008-04-08' -'18','val_18','12','2008-04-08' -'18','val_18','12','2008-04-08' -'19','val_19','12','2008-04-08' -'20','val_20','12','2008-04-08' -'24','val_24','12','2008-04-08' -'24','val_24','12','2008-04-08' -'26','val_26','12','2008-04-08' -'26','val_26','12','2008-04-08' -'27','val_27','12','2008-04-08' -'28','val_28','12','2008-04-08' -'30','val_30','12','2008-04-08' -'33','val_33','12','2008-04-08' -'34','val_34','12','2008-04-08' -'35','val_35','12','2008-04-08' -'35','val_35','12','2008-04-08' -'35','val_35','12','2008-04-08' -'37','val_37','12','2008-04-08' -'37','val_37','12','2008-04-08' -'41','val_41','12','2008-04-08' -'42','val_42','12','2008-04-08' -'42','val_42','12','2008-04-08' -'43','val_43','12','2008-04-08' -'44','val_44','12','2008-04-08' -'47','val_47','12','2008-04-08' -'51','val_51','12','2008-04-08' -'51','val_51','12','2008-04-08' -'53','val_53','12','2008-04-08' -'54','val_54','12','2008-04-08' -'57','val_57','12','2008-04-08' -'58','val_58','12','2008-04-08' -'58','val_58','12','2008-04-08' -'64','val_64','12','2008-04-08' -'65','val_65','12','2008-04-08' -'66','val_66','12','2008-04-08' -'67','val_67','12','2008-04-08' -'67','val_67','12','2008-04-08' -'69','val_69','12','2008-04-08' -'70','val_70','12','2008-04-08' -'70','val_70','12','2008-04-08' -'70','val_70','12','2008-04-08' -'72','val_72','12','2008-04-08' -'72','val_72','12','2008-04-08' -'74','val_74','12','2008-04-08' -'76','val_76','12','2008-04-08' -'76','val_76','12','2008-04-08' -'77','val_77','12','2008-04-08' -'78','val_78','12','2008-04-08' -'80','val_80','12','2008-04-08' -'82','val_82','12','2008-04-08' -'83','val_83','12','2008-04-08' -'83','val_83','12','2008-04-08' -'84','val_84','12','2008-04-08' -'84','val_84','12','2008-04-08' -'85','val_85','12','2008-04-08' -'86','val_86','12','2008-04-08' -'87','val_87','12','2008-04-08' -'90','val_90','12','2008-04-08' -'90','val_90','12','2008-04-08' -'90','val_90','12','2008-04-08' -'92','val_92','12','2008-04-08' -'95','val_95','12','2008-04-08' -'95','val_95','12','2008-04-08' -'96','val_96','12','2008-04-08' -'97','val_97','12','2008-04-08' -'97','val_97','12','2008-04-08' -'98','val_98','12','2008-04-08' -'98','val_98','12','2008-04-08' -84 rows selected ->>> SELECT dest2.* FROM dest2 sort by key,value,ds,hr; -'key','value','hr','ds' -'0','val_0','12','2008-04-09' -'0','val_0','12','2008-04-09' -'0','val_0','12','2008-04-09' -'2','val_2','12','2008-04-09' -'4','val_4','12','2008-04-09' -'5','val_5','12','2008-04-09' -'5','val_5','12','2008-04-09' -'5','val_5','12','2008-04-09' -'8','val_8','12','2008-04-09' -'9','val_9','12','2008-04-09' -'10','val_10','12','2008-04-09' -'11','val_11','12','2008-04-09' -'12','val_12','12','2008-04-09' -'12','val_12','12','2008-04-09' -'15','val_15','12','2008-04-09' -'15','val_15','12','2008-04-09' -'17','val_17','12','2008-04-09' -'18','val_18','12','2008-04-09' -'18','val_18','12','2008-04-09' -'19','val_19','12','2008-04-09' -'20','val_20','12','2008-04-09' -'24','val_24','12','2008-04-09' -'24','val_24','12','2008-04-09' -'26','val_26','12','2008-04-09' -'26','val_26','12','2008-04-09' -'27','val_27','12','2008-04-09' -'28','val_28','12','2008-04-09' -'30','val_30','12','2008-04-09' -'33','val_33','12','2008-04-09' -'34','val_34','12','2008-04-09' -'35','val_35','12','2008-04-09' -'35','val_35','12','2008-04-09' -'35','val_35','12','2008-04-09' -'37','val_37','12','2008-04-09' -'37','val_37','12','2008-04-09' -'41','val_41','12','2008-04-09' -'42','val_42','12','2008-04-09' -'42','val_42','12','2008-04-09' -'43','val_43','12','2008-04-09' -'44','val_44','12','2008-04-09' -'47','val_47','12','2008-04-09' -'51','val_51','12','2008-04-09' -'51','val_51','12','2008-04-09' -'53','val_53','12','2008-04-09' -'54','val_54','12','2008-04-09' -'57','val_57','12','2008-04-09' -'58','val_58','12','2008-04-09' -'58','val_58','12','2008-04-09' -'64','val_64','12','2008-04-09' -'65','val_65','12','2008-04-09' -'66','val_66','12','2008-04-09' -'67','val_67','12','2008-04-09' -'67','val_67','12','2008-04-09' -'69','val_69','12','2008-04-09' -'70','val_70','12','2008-04-09' -'70','val_70','12','2008-04-09' -'70','val_70','12','2008-04-09' -'72','val_72','12','2008-04-09' -'72','val_72','12','2008-04-09' -'74','val_74','12','2008-04-09' -'76','val_76','12','2008-04-09' -'76','val_76','12','2008-04-09' -'77','val_77','12','2008-04-09' -'78','val_78','12','2008-04-09' -'80','val_80','12','2008-04-09' -'82','val_82','12','2008-04-09' -'83','val_83','12','2008-04-09' -'83','val_83','12','2008-04-09' -'84','val_84','12','2008-04-09' -'84','val_84','12','2008-04-09' -'85','val_85','12','2008-04-09' -'86','val_86','12','2008-04-09' -'87','val_87','12','2008-04-09' -'90','val_90','12','2008-04-09' -'90','val_90','12','2008-04-09' -'90','val_90','12','2008-04-09' -'92','val_92','12','2008-04-09' -'95','val_95','12','2008-04-09' -'95','val_95','12','2008-04-09' -'96','val_96','12','2008-04-09' -'97','val_97','12','2008-04-09' -'97','val_97','12','2008-04-09' -'98','val_98','12','2008-04-09' -'98','val_98','12','2008-04-09' -84 rows selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/input_part3.q.out ql/src/test/results/beelinepositive/input_part3.q.out deleted file mode 100644 index 8851485..0000000 --- ql/src/test/results/beelinepositive/input_part3.q.out +++ /dev/null @@ -1,538 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input_part3.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input_part3.q ->>> EXPLAIN -SELECT x.* FROM SRCPART x WHERE x.ds = '2008-04-08' and x.hr = 11; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME SRCPART) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME x)))) (TOK_WHERE (and (= (. (TOK_TABLE_OR_COL x) ds) '2008-04-08') (= (. (TOK_TABLE_OR_COL x) hr) 11)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -' Processor Tree:' -' TableScan' -' alias: x' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' ListSink' -'' -'' -27 rows selected ->>> ->>> SELECT x.* FROM SRCPART x WHERE x.ds = '2008-04-08' and x.hr = 11; -'key','value','ds','hr' -'238','val_238','2008-04-08','11' -'86','val_86','2008-04-08','11' -'311','val_311','2008-04-08','11' -'27','val_27','2008-04-08','11' -'165','val_165','2008-04-08','11' -'409','val_409','2008-04-08','11' -'255','val_255','2008-04-08','11' -'278','val_278','2008-04-08','11' -'98','val_98','2008-04-08','11' -'484','val_484','2008-04-08','11' -'265','val_265','2008-04-08','11' -'193','val_193','2008-04-08','11' -'401','val_401','2008-04-08','11' -'150','val_150','2008-04-08','11' -'273','val_273','2008-04-08','11' -'224','val_224','2008-04-08','11' -'369','val_369','2008-04-08','11' -'66','val_66','2008-04-08','11' -'128','val_128','2008-04-08','11' -'213','val_213','2008-04-08','11' -'146','val_146','2008-04-08','11' -'406','val_406','2008-04-08','11' -'429','val_429','2008-04-08','11' -'374','val_374','2008-04-08','11' -'152','val_152','2008-04-08','11' -'469','val_469','2008-04-08','11' -'145','val_145','2008-04-08','11' -'495','val_495','2008-04-08','11' -'37','val_37','2008-04-08','11' -'327','val_327','2008-04-08','11' -'281','val_281','2008-04-08','11' -'277','val_277','2008-04-08','11' -'209','val_209','2008-04-08','11' -'15','val_15','2008-04-08','11' -'82','val_82','2008-04-08','11' -'403','val_403','2008-04-08','11' -'166','val_166','2008-04-08','11' -'417','val_417','2008-04-08','11' -'430','val_430','2008-04-08','11' -'252','val_252','2008-04-08','11' -'292','val_292','2008-04-08','11' -'219','val_219','2008-04-08','11' -'287','val_287','2008-04-08','11' -'153','val_153','2008-04-08','11' -'193','val_193','2008-04-08','11' -'338','val_338','2008-04-08','11' -'446','val_446','2008-04-08','11' -'459','val_459','2008-04-08','11' -'394','val_394','2008-04-08','11' -'237','val_237','2008-04-08','11' -'482','val_482','2008-04-08','11' -'174','val_174','2008-04-08','11' -'413','val_413','2008-04-08','11' -'494','val_494','2008-04-08','11' -'207','val_207','2008-04-08','11' -'199','val_199','2008-04-08','11' -'466','val_466','2008-04-08','11' -'208','val_208','2008-04-08','11' -'174','val_174','2008-04-08','11' -'399','val_399','2008-04-08','11' -'396','val_396','2008-04-08','11' -'247','val_247','2008-04-08','11' -'417','val_417','2008-04-08','11' -'489','val_489','2008-04-08','11' -'162','val_162','2008-04-08','11' -'377','val_377','2008-04-08','11' -'397','val_397','2008-04-08','11' -'309','val_309','2008-04-08','11' -'365','val_365','2008-04-08','11' -'266','val_266','2008-04-08','11' -'439','val_439','2008-04-08','11' -'342','val_342','2008-04-08','11' -'367','val_367','2008-04-08','11' -'325','val_325','2008-04-08','11' -'167','val_167','2008-04-08','11' -'195','val_195','2008-04-08','11' -'475','val_475','2008-04-08','11' -'17','val_17','2008-04-08','11' -'113','val_113','2008-04-08','11' -'155','val_155','2008-04-08','11' -'203','val_203','2008-04-08','11' -'339','val_339','2008-04-08','11' -'0','val_0','2008-04-08','11' -'455','val_455','2008-04-08','11' -'128','val_128','2008-04-08','11' -'311','val_311','2008-04-08','11' -'316','val_316','2008-04-08','11' -'57','val_57','2008-04-08','11' -'302','val_302','2008-04-08','11' -'205','val_205','2008-04-08','11' -'149','val_149','2008-04-08','11' -'438','val_438','2008-04-08','11' -'345','val_345','2008-04-08','11' -'129','val_129','2008-04-08','11' -'170','val_170','2008-04-08','11' -'20','val_20','2008-04-08','11' -'489','val_489','2008-04-08','11' -'157','val_157','2008-04-08','11' -'378','val_378','2008-04-08','11' -'221','val_221','2008-04-08','11' -'92','val_92','2008-04-08','11' -'111','val_111','2008-04-08','11' -'47','val_47','2008-04-08','11' -'72','val_72','2008-04-08','11' -'4','val_4','2008-04-08','11' -'280','val_280','2008-04-08','11' -'35','val_35','2008-04-08','11' -'427','val_427','2008-04-08','11' -'277','val_277','2008-04-08','11' -'208','val_208','2008-04-08','11' -'356','val_356','2008-04-08','11' -'399','val_399','2008-04-08','11' -'169','val_169','2008-04-08','11' -'382','val_382','2008-04-08','11' -'498','val_498','2008-04-08','11' -'125','val_125','2008-04-08','11' -'386','val_386','2008-04-08','11' -'437','val_437','2008-04-08','11' -'469','val_469','2008-04-08','11' -'192','val_192','2008-04-08','11' -'286','val_286','2008-04-08','11' -'187','val_187','2008-04-08','11' -'176','val_176','2008-04-08','11' -'54','val_54','2008-04-08','11' -'459','val_459','2008-04-08','11' -'51','val_51','2008-04-08','11' -'138','val_138','2008-04-08','11' -'103','val_103','2008-04-08','11' -'239','val_239','2008-04-08','11' -'213','val_213','2008-04-08','11' -'216','val_216','2008-04-08','11' -'430','val_430','2008-04-08','11' -'278','val_278','2008-04-08','11' -'176','val_176','2008-04-08','11' -'289','val_289','2008-04-08','11' -'221','val_221','2008-04-08','11' -'65','val_65','2008-04-08','11' -'318','val_318','2008-04-08','11' -'332','val_332','2008-04-08','11' -'311','val_311','2008-04-08','11' -'275','val_275','2008-04-08','11' -'137','val_137','2008-04-08','11' -'241','val_241','2008-04-08','11' -'83','val_83','2008-04-08','11' -'333','val_333','2008-04-08','11' -'180','val_180','2008-04-08','11' -'284','val_284','2008-04-08','11' -'12','val_12','2008-04-08','11' -'230','val_230','2008-04-08','11' -'181','val_181','2008-04-08','11' -'67','val_67','2008-04-08','11' -'260','val_260','2008-04-08','11' -'404','val_404','2008-04-08','11' -'384','val_384','2008-04-08','11' -'489','val_489','2008-04-08','11' -'353','val_353','2008-04-08','11' -'373','val_373','2008-04-08','11' -'272','val_272','2008-04-08','11' -'138','val_138','2008-04-08','11' -'217','val_217','2008-04-08','11' -'84','val_84','2008-04-08','11' -'348','val_348','2008-04-08','11' -'466','val_466','2008-04-08','11' -'58','val_58','2008-04-08','11' -'8','val_8','2008-04-08','11' -'411','val_411','2008-04-08','11' -'230','val_230','2008-04-08','11' -'208','val_208','2008-04-08','11' -'348','val_348','2008-04-08','11' -'24','val_24','2008-04-08','11' -'463','val_463','2008-04-08','11' -'431','val_431','2008-04-08','11' -'179','val_179','2008-04-08','11' -'172','val_172','2008-04-08','11' -'42','val_42','2008-04-08','11' -'129','val_129','2008-04-08','11' -'158','val_158','2008-04-08','11' -'119','val_119','2008-04-08','11' -'496','val_496','2008-04-08','11' -'0','val_0','2008-04-08','11' -'322','val_322','2008-04-08','11' -'197','val_197','2008-04-08','11' -'468','val_468','2008-04-08','11' -'393','val_393','2008-04-08','11' -'454','val_454','2008-04-08','11' -'100','val_100','2008-04-08','11' -'298','val_298','2008-04-08','11' -'199','val_199','2008-04-08','11' -'191','val_191','2008-04-08','11' -'418','val_418','2008-04-08','11' -'96','val_96','2008-04-08','11' -'26','val_26','2008-04-08','11' -'165','val_165','2008-04-08','11' -'327','val_327','2008-04-08','11' -'230','val_230','2008-04-08','11' -'205','val_205','2008-04-08','11' -'120','val_120','2008-04-08','11' -'131','val_131','2008-04-08','11' -'51','val_51','2008-04-08','11' -'404','val_404','2008-04-08','11' -'43','val_43','2008-04-08','11' -'436','val_436','2008-04-08','11' -'156','val_156','2008-04-08','11' -'469','val_469','2008-04-08','11' -'468','val_468','2008-04-08','11' -'308','val_308','2008-04-08','11' -'95','val_95','2008-04-08','11' -'196','val_196','2008-04-08','11' -'288','val_288','2008-04-08','11' -'481','val_481','2008-04-08','11' -'457','val_457','2008-04-08','11' -'98','val_98','2008-04-08','11' -'282','val_282','2008-04-08','11' -'197','val_197','2008-04-08','11' -'187','val_187','2008-04-08','11' -'318','val_318','2008-04-08','11' -'318','val_318','2008-04-08','11' -'409','val_409','2008-04-08','11' -'470','val_470','2008-04-08','11' -'137','val_137','2008-04-08','11' -'369','val_369','2008-04-08','11' -'316','val_316','2008-04-08','11' -'169','val_169','2008-04-08','11' -'413','val_413','2008-04-08','11' -'85','val_85','2008-04-08','11' -'77','val_77','2008-04-08','11' -'0','val_0','2008-04-08','11' -'490','val_490','2008-04-08','11' -'87','val_87','2008-04-08','11' -'364','val_364','2008-04-08','11' -'179','val_179','2008-04-08','11' -'118','val_118','2008-04-08','11' -'134','val_134','2008-04-08','11' -'395','val_395','2008-04-08','11' -'282','val_282','2008-04-08','11' -'138','val_138','2008-04-08','11' -'238','val_238','2008-04-08','11' -'419','val_419','2008-04-08','11' -'15','val_15','2008-04-08','11' -'118','val_118','2008-04-08','11' -'72','val_72','2008-04-08','11' -'90','val_90','2008-04-08','11' -'307','val_307','2008-04-08','11' -'19','val_19','2008-04-08','11' -'435','val_435','2008-04-08','11' -'10','val_10','2008-04-08','11' -'277','val_277','2008-04-08','11' -'273','val_273','2008-04-08','11' -'306','val_306','2008-04-08','11' -'224','val_224','2008-04-08','11' -'309','val_309','2008-04-08','11' -'389','val_389','2008-04-08','11' -'327','val_327','2008-04-08','11' -'242','val_242','2008-04-08','11' -'369','val_369','2008-04-08','11' -'392','val_392','2008-04-08','11' -'272','val_272','2008-04-08','11' -'331','val_331','2008-04-08','11' -'401','val_401','2008-04-08','11' -'242','val_242','2008-04-08','11' -'452','val_452','2008-04-08','11' -'177','val_177','2008-04-08','11' -'226','val_226','2008-04-08','11' -'5','val_5','2008-04-08','11' -'497','val_497','2008-04-08','11' -'402','val_402','2008-04-08','11' -'396','val_396','2008-04-08','11' -'317','val_317','2008-04-08','11' -'395','val_395','2008-04-08','11' -'58','val_58','2008-04-08','11' -'35','val_35','2008-04-08','11' -'336','val_336','2008-04-08','11' -'95','val_95','2008-04-08','11' -'11','val_11','2008-04-08','11' -'168','val_168','2008-04-08','11' -'34','val_34','2008-04-08','11' -'229','val_229','2008-04-08','11' -'233','val_233','2008-04-08','11' -'143','val_143','2008-04-08','11' -'472','val_472','2008-04-08','11' -'322','val_322','2008-04-08','11' -'498','val_498','2008-04-08','11' -'160','val_160','2008-04-08','11' -'195','val_195','2008-04-08','11' -'42','val_42','2008-04-08','11' -'321','val_321','2008-04-08','11' -'430','val_430','2008-04-08','11' -'119','val_119','2008-04-08','11' -'489','val_489','2008-04-08','11' -'458','val_458','2008-04-08','11' -'78','val_78','2008-04-08','11' -'76','val_76','2008-04-08','11' -'41','val_41','2008-04-08','11' -'223','val_223','2008-04-08','11' -'492','val_492','2008-04-08','11' -'149','val_149','2008-04-08','11' -'449','val_449','2008-04-08','11' -'218','val_218','2008-04-08','11' -'228','val_228','2008-04-08','11' -'138','val_138','2008-04-08','11' -'453','val_453','2008-04-08','11' -'30','val_30','2008-04-08','11' -'209','val_209','2008-04-08','11' -'64','val_64','2008-04-08','11' -'468','val_468','2008-04-08','11' -'76','val_76','2008-04-08','11' -'74','val_74','2008-04-08','11' -'342','val_342','2008-04-08','11' -'69','val_69','2008-04-08','11' -'230','val_230','2008-04-08','11' -'33','val_33','2008-04-08','11' -'368','val_368','2008-04-08','11' -'103','val_103','2008-04-08','11' -'296','val_296','2008-04-08','11' -'113','val_113','2008-04-08','11' -'216','val_216','2008-04-08','11' -'367','val_367','2008-04-08','11' -'344','val_344','2008-04-08','11' -'167','val_167','2008-04-08','11' -'274','val_274','2008-04-08','11' -'219','val_219','2008-04-08','11' -'239','val_239','2008-04-08','11' -'485','val_485','2008-04-08','11' -'116','val_116','2008-04-08','11' -'223','val_223','2008-04-08','11' -'256','val_256','2008-04-08','11' -'263','val_263','2008-04-08','11' -'70','val_70','2008-04-08','11' -'487','val_487','2008-04-08','11' -'480','val_480','2008-04-08','11' -'401','val_401','2008-04-08','11' -'288','val_288','2008-04-08','11' -'191','val_191','2008-04-08','11' -'5','val_5','2008-04-08','11' -'244','val_244','2008-04-08','11' -'438','val_438','2008-04-08','11' -'128','val_128','2008-04-08','11' -'467','val_467','2008-04-08','11' -'432','val_432','2008-04-08','11' -'202','val_202','2008-04-08','11' -'316','val_316','2008-04-08','11' -'229','val_229','2008-04-08','11' -'469','val_469','2008-04-08','11' -'463','val_463','2008-04-08','11' -'280','val_280','2008-04-08','11' -'2','val_2','2008-04-08','11' -'35','val_35','2008-04-08','11' -'283','val_283','2008-04-08','11' -'331','val_331','2008-04-08','11' -'235','val_235','2008-04-08','11' -'80','val_80','2008-04-08','11' -'44','val_44','2008-04-08','11' -'193','val_193','2008-04-08','11' -'321','val_321','2008-04-08','11' -'335','val_335','2008-04-08','11' -'104','val_104','2008-04-08','11' -'466','val_466','2008-04-08','11' -'366','val_366','2008-04-08','11' -'175','val_175','2008-04-08','11' -'403','val_403','2008-04-08','11' -'483','val_483','2008-04-08','11' -'53','val_53','2008-04-08','11' -'105','val_105','2008-04-08','11' -'257','val_257','2008-04-08','11' -'406','val_406','2008-04-08','11' -'409','val_409','2008-04-08','11' -'190','val_190','2008-04-08','11' -'406','val_406','2008-04-08','11' -'401','val_401','2008-04-08','11' -'114','val_114','2008-04-08','11' -'258','val_258','2008-04-08','11' -'90','val_90','2008-04-08','11' -'203','val_203','2008-04-08','11' -'262','val_262','2008-04-08','11' -'348','val_348','2008-04-08','11' -'424','val_424','2008-04-08','11' -'12','val_12','2008-04-08','11' -'396','val_396','2008-04-08','11' -'201','val_201','2008-04-08','11' -'217','val_217','2008-04-08','11' -'164','val_164','2008-04-08','11' -'431','val_431','2008-04-08','11' -'454','val_454','2008-04-08','11' -'478','val_478','2008-04-08','11' -'298','val_298','2008-04-08','11' -'125','val_125','2008-04-08','11' -'431','val_431','2008-04-08','11' -'164','val_164','2008-04-08','11' -'424','val_424','2008-04-08','11' -'187','val_187','2008-04-08','11' -'382','val_382','2008-04-08','11' -'5','val_5','2008-04-08','11' -'70','val_70','2008-04-08','11' -'397','val_397','2008-04-08','11' -'480','val_480','2008-04-08','11' -'291','val_291','2008-04-08','11' -'24','val_24','2008-04-08','11' -'351','val_351','2008-04-08','11' -'255','val_255','2008-04-08','11' -'104','val_104','2008-04-08','11' -'70','val_70','2008-04-08','11' -'163','val_163','2008-04-08','11' -'438','val_438','2008-04-08','11' -'119','val_119','2008-04-08','11' -'414','val_414','2008-04-08','11' -'200','val_200','2008-04-08','11' -'491','val_491','2008-04-08','11' -'237','val_237','2008-04-08','11' -'439','val_439','2008-04-08','11' -'360','val_360','2008-04-08','11' -'248','val_248','2008-04-08','11' -'479','val_479','2008-04-08','11' -'305','val_305','2008-04-08','11' -'417','val_417','2008-04-08','11' -'199','val_199','2008-04-08','11' -'444','val_444','2008-04-08','11' -'120','val_120','2008-04-08','11' -'429','val_429','2008-04-08','11' -'169','val_169','2008-04-08','11' -'443','val_443','2008-04-08','11' -'323','val_323','2008-04-08','11' -'325','val_325','2008-04-08','11' -'277','val_277','2008-04-08','11' -'230','val_230','2008-04-08','11' -'478','val_478','2008-04-08','11' -'178','val_178','2008-04-08','11' -'468','val_468','2008-04-08','11' -'310','val_310','2008-04-08','11' -'317','val_317','2008-04-08','11' -'333','val_333','2008-04-08','11' -'493','val_493','2008-04-08','11' -'460','val_460','2008-04-08','11' -'207','val_207','2008-04-08','11' -'249','val_249','2008-04-08','11' -'265','val_265','2008-04-08','11' -'480','val_480','2008-04-08','11' -'83','val_83','2008-04-08','11' -'136','val_136','2008-04-08','11' -'353','val_353','2008-04-08','11' -'172','val_172','2008-04-08','11' -'214','val_214','2008-04-08','11' -'462','val_462','2008-04-08','11' -'233','val_233','2008-04-08','11' -'406','val_406','2008-04-08','11' -'133','val_133','2008-04-08','11' -'175','val_175','2008-04-08','11' -'189','val_189','2008-04-08','11' -'454','val_454','2008-04-08','11' -'375','val_375','2008-04-08','11' -'401','val_401','2008-04-08','11' -'421','val_421','2008-04-08','11' -'407','val_407','2008-04-08','11' -'384','val_384','2008-04-08','11' -'256','val_256','2008-04-08','11' -'26','val_26','2008-04-08','11' -'134','val_134','2008-04-08','11' -'67','val_67','2008-04-08','11' -'384','val_384','2008-04-08','11' -'379','val_379','2008-04-08','11' -'18','val_18','2008-04-08','11' -'462','val_462','2008-04-08','11' -'492','val_492','2008-04-08','11' -'100','val_100','2008-04-08','11' -'298','val_298','2008-04-08','11' -'9','val_9','2008-04-08','11' -'341','val_341','2008-04-08','11' -'498','val_498','2008-04-08','11' -'146','val_146','2008-04-08','11' -'458','val_458','2008-04-08','11' -'362','val_362','2008-04-08','11' -'186','val_186','2008-04-08','11' -'285','val_285','2008-04-08','11' -'348','val_348','2008-04-08','11' -'167','val_167','2008-04-08','11' -'18','val_18','2008-04-08','11' -'273','val_273','2008-04-08','11' -'183','val_183','2008-04-08','11' -'281','val_281','2008-04-08','11' -'344','val_344','2008-04-08','11' -'97','val_97','2008-04-08','11' -'469','val_469','2008-04-08','11' -'315','val_315','2008-04-08','11' -'84','val_84','2008-04-08','11' -'28','val_28','2008-04-08','11' -'37','val_37','2008-04-08','11' -'448','val_448','2008-04-08','11' -'152','val_152','2008-04-08','11' -'348','val_348','2008-04-08','11' -'307','val_307','2008-04-08','11' -'194','val_194','2008-04-08','11' -'414','val_414','2008-04-08','11' -'477','val_477','2008-04-08','11' -'222','val_222','2008-04-08','11' -'126','val_126','2008-04-08','11' -'90','val_90','2008-04-08','11' -'169','val_169','2008-04-08','11' -'403','val_403','2008-04-08','11' -'400','val_400','2008-04-08','11' -'200','val_200','2008-04-08','11' -'97','val_97','2008-04-08','11' -500 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/input_part4.q.out ql/src/test/results/beelinepositive/input_part4.q.out deleted file mode 100644 index 0351fe1..0000000 --- ql/src/test/results/beelinepositive/input_part4.q.out +++ /dev/null @@ -1,42 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input_part4.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input_part4.q ->>> EXPLAIN -SELECT x.* FROM SRCPART x WHERE x.ds = '2008-04-08' and x.hr = 15; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME SRCPART) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME x)))) (TOK_WHERE (and (= (. (TOK_TABLE_OR_COL x) ds) '2008-04-08') (= (. (TOK_TABLE_OR_COL x) hr) 15)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -' Processor Tree:' -' TableScan' -' alias: x' -' Filter Operator' -' predicate:' -' expr: ((ds = '2008-04-08') and (hr = 15.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' ListSink' -'' -'' -31 rows selected ->>> ->>> SELECT x.* FROM SRCPART x WHERE x.ds = '2008-04-08' and x.hr = 15; -'key','value','ds','hr' -No rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/input_part5.q.out ql/src/test/results/beelinepositive/input_part5.q.out deleted file mode 100644 index 4a44008..0000000 --- ql/src/test/results/beelinepositive/input_part5.q.out +++ /dev/null @@ -1,289 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input_part5.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input_part5.q ->>> ->>> create table tmptable(key string, value string, hr string, ds string); -No rows affected ->>> ->>> EXPLAIN -insert overwrite table tmptable -SELECT x.* FROM SRCPART x WHERE x.ds = '2008-04-08' and x.key < 100; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME SRCPART) x)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME tmptable))) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME x)))) (TOK_WHERE (and (= (. (TOK_TABLE_OR_COL x) ds) '2008-04-08') (< (. (TOK_TABLE_OR_COL x) key) 100)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' x ' -' TableScan' -' alias: x' -' Filter Operator' -' predicate:' -' expr: (key < 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: input_part5.tmptable' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: input_part5.tmptable' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: input_part5.tmptable' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: input_part5.tmptable' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -99 rows selected ->>> ->>> insert overwrite table tmptable -SELECT x.* FROM SRCPART x WHERE x.ds = '2008-04-08' and x.key < 100; -'key','value','ds','hr' -No rows selected ->>> ->>> select * from tmptable x sort by x.key,x.value,x.ds,x.hr; -'key','value','hr','ds' -'0','val_0','2008-04-08','11' -'0','val_0','2008-04-08','11' -'0','val_0','2008-04-08','11' -'0','val_0','2008-04-08','12' -'0','val_0','2008-04-08','12' -'0','val_0','2008-04-08','12' -'10','val_10','2008-04-08','11' -'10','val_10','2008-04-08','12' -'11','val_11','2008-04-08','11' -'11','val_11','2008-04-08','12' -'12','val_12','2008-04-08','11' -'12','val_12','2008-04-08','11' -'12','val_12','2008-04-08','12' -'12','val_12','2008-04-08','12' -'15','val_15','2008-04-08','11' -'15','val_15','2008-04-08','11' -'15','val_15','2008-04-08','12' -'15','val_15','2008-04-08','12' -'17','val_17','2008-04-08','11' -'17','val_17','2008-04-08','12' -'18','val_18','2008-04-08','11' -'18','val_18','2008-04-08','11' -'18','val_18','2008-04-08','12' -'18','val_18','2008-04-08','12' -'19','val_19','2008-04-08','11' -'19','val_19','2008-04-08','12' -'2','val_2','2008-04-08','11' -'2','val_2','2008-04-08','12' -'20','val_20','2008-04-08','11' -'20','val_20','2008-04-08','12' -'24','val_24','2008-04-08','11' -'24','val_24','2008-04-08','11' -'24','val_24','2008-04-08','12' -'24','val_24','2008-04-08','12' -'26','val_26','2008-04-08','11' -'26','val_26','2008-04-08','11' -'26','val_26','2008-04-08','12' -'26','val_26','2008-04-08','12' -'27','val_27','2008-04-08','11' -'27','val_27','2008-04-08','12' -'28','val_28','2008-04-08','11' -'28','val_28','2008-04-08','12' -'30','val_30','2008-04-08','11' -'30','val_30','2008-04-08','12' -'33','val_33','2008-04-08','11' -'33','val_33','2008-04-08','12' -'34','val_34','2008-04-08','11' -'34','val_34','2008-04-08','12' -'35','val_35','2008-04-08','11' -'35','val_35','2008-04-08','11' -'35','val_35','2008-04-08','11' -'35','val_35','2008-04-08','12' -'35','val_35','2008-04-08','12' -'35','val_35','2008-04-08','12' -'37','val_37','2008-04-08','11' -'37','val_37','2008-04-08','11' -'37','val_37','2008-04-08','12' -'37','val_37','2008-04-08','12' -'4','val_4','2008-04-08','11' -'4','val_4','2008-04-08','12' -'41','val_41','2008-04-08','11' -'41','val_41','2008-04-08','12' -'42','val_42','2008-04-08','11' -'42','val_42','2008-04-08','11' -'42','val_42','2008-04-08','12' -'42','val_42','2008-04-08','12' -'43','val_43','2008-04-08','11' -'43','val_43','2008-04-08','12' -'44','val_44','2008-04-08','11' -'44','val_44','2008-04-08','12' -'47','val_47','2008-04-08','11' -'47','val_47','2008-04-08','12' -'5','val_5','2008-04-08','11' -'5','val_5','2008-04-08','11' -'5','val_5','2008-04-08','11' -'5','val_5','2008-04-08','12' -'5','val_5','2008-04-08','12' -'5','val_5','2008-04-08','12' -'51','val_51','2008-04-08','11' -'51','val_51','2008-04-08','11' -'51','val_51','2008-04-08','12' -'51','val_51','2008-04-08','12' -'53','val_53','2008-04-08','11' -'53','val_53','2008-04-08','12' -'54','val_54','2008-04-08','11' -'54','val_54','2008-04-08','12' -'57','val_57','2008-04-08','11' -'57','val_57','2008-04-08','12' -'58','val_58','2008-04-08','11' -'58','val_58','2008-04-08','11' -'58','val_58','2008-04-08','12' -'58','val_58','2008-04-08','12' -'64','val_64','2008-04-08','11' -'64','val_64','2008-04-08','12' -'65','val_65','2008-04-08','11' -'65','val_65','2008-04-08','12' -'66','val_66','2008-04-08','11' -'66','val_66','2008-04-08','12' -'67','val_67','2008-04-08','11' -'67','val_67','2008-04-08','11' -'67','val_67','2008-04-08','12' -'67','val_67','2008-04-08','12' -'69','val_69','2008-04-08','11' -'69','val_69','2008-04-08','12' -'70','val_70','2008-04-08','11' -'70','val_70','2008-04-08','11' -'70','val_70','2008-04-08','11' -'70','val_70','2008-04-08','12' -'70','val_70','2008-04-08','12' -'70','val_70','2008-04-08','12' -'72','val_72','2008-04-08','11' -'72','val_72','2008-04-08','11' -'72','val_72','2008-04-08','12' -'72','val_72','2008-04-08','12' -'74','val_74','2008-04-08','11' -'74','val_74','2008-04-08','12' -'76','val_76','2008-04-08','11' -'76','val_76','2008-04-08','11' -'76','val_76','2008-04-08','12' -'76','val_76','2008-04-08','12' -'77','val_77','2008-04-08','11' -'77','val_77','2008-04-08','12' -'78','val_78','2008-04-08','11' -'78','val_78','2008-04-08','12' -'8','val_8','2008-04-08','11' -'8','val_8','2008-04-08','12' -'80','val_80','2008-04-08','11' -'80','val_80','2008-04-08','12' -'82','val_82','2008-04-08','11' -'82','val_82','2008-04-08','12' -'83','val_83','2008-04-08','11' -'83','val_83','2008-04-08','11' -'83','val_83','2008-04-08','12' -'83','val_83','2008-04-08','12' -'84','val_84','2008-04-08','11' -'84','val_84','2008-04-08','11' -'84','val_84','2008-04-08','12' -'84','val_84','2008-04-08','12' -'85','val_85','2008-04-08','11' -'85','val_85','2008-04-08','12' -'86','val_86','2008-04-08','11' -'86','val_86','2008-04-08','12' -'87','val_87','2008-04-08','11' -'87','val_87','2008-04-08','12' -'9','val_9','2008-04-08','11' -'9','val_9','2008-04-08','12' -'90','val_90','2008-04-08','11' -'90','val_90','2008-04-08','11' -'90','val_90','2008-04-08','11' -'90','val_90','2008-04-08','12' -'90','val_90','2008-04-08','12' -'90','val_90','2008-04-08','12' -'92','val_92','2008-04-08','11' -'92','val_92','2008-04-08','12' -'95','val_95','2008-04-08','11' -'95','val_95','2008-04-08','11' -'95','val_95','2008-04-08','12' -'95','val_95','2008-04-08','12' -'96','val_96','2008-04-08','11' -'96','val_96','2008-04-08','12' -'97','val_97','2008-04-08','11' -'97','val_97','2008-04-08','11' -'97','val_97','2008-04-08','12' -'97','val_97','2008-04-08','12' -'98','val_98','2008-04-08','11' -'98','val_98','2008-04-08','11' -'98','val_98','2008-04-08','12' -'98','val_98','2008-04-08','12' -168 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/input_part6.q.out ql/src/test/results/beelinepositive/input_part6.q.out deleted file mode 100644 index 1252a14..0000000 --- ql/src/test/results/beelinepositive/input_part6.q.out +++ /dev/null @@ -1,53 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input_part6.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input_part6.q ->>> EXPLAIN -SELECT x.* FROM SRCPART x WHERE x.ds = 2008-04-08 LIMIT 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME SRCPART) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME x)))) (TOK_WHERE (= (. (TOK_TABLE_OR_COL x) ds) (- (- 2008 04) 08))) (TOK_LIMIT 10)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x ' -' TableScan' -' alias: x' -' Filter Operator' -' predicate:' -' expr: (ds = ((2008 - 4) - 8))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 10' -'' -'' -42 rows selected ->>> ->>> SELECT x.* FROM SRCPART x WHERE x.ds = 2008-04-08 LIMIT 10; -'key','value','ds','hr' -No rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/input_part7.q.out ql/src/test/results/beelinepositive/input_part7.q.out deleted file mode 100644 index 6b3c050..0000000 --- ql/src/test/results/beelinepositive/input_part7.q.out +++ /dev/null @@ -1,606 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input_part7.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input_part7.q ->>> EXPLAIN EXTENDED -SELECT * FROM ( -SELECT X.* FROM SRCPART X WHERE X.ds = '2008-04-08' and X.key < 100 -UNION ALL -SELECT Y.* FROM SRCPART Y WHERE Y.ds = '2008-04-08' and Y.key < 100 -) A -SORT BY A.key, A.value, A.ds, A.hr; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME SRCPART) X)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME X)))) (TOK_WHERE (and (= (. (TOK_TABLE_OR_COL X) ds) '2008-04-08') (< (. (TOK_TABLE_OR_COL X) key) 100))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME SRCPART) Y)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME Y)))) (TOK_WHERE (and (= (. (TOK_TABLE_OR_COL Y) ds) '2008-04-08') (< (. (TOK_TABLE_OR_COL Y) key) 100)))))) A)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL A) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL A) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL A) ds)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL A) hr)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1:a-subquery1:x ' -' TableScan' -' alias: x' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (key < 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' sort order: ++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' null-subquery2:a-subquery2:y ' -' TableScan' -' alias: y' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (key < 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' sort order: ++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/input_part7.db/srcpart/ds=2008-04-08/hr=11 [null-subquery1:a-subquery1:x, null-subquery2:a-subquery2:y]' -' !!{hive.metastore.warehouse.dir}!!/input_part7.db/srcpart/ds=2008-04-08/hr=12 [null-subquery1:a-subquery1:x, null-subquery2:a-subquery2:y]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/input_part7.db/srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part7.db/srcpart/ds=2008-04-08/hr=11' -' name input_part7.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part7.db/srcpart' -' name input_part7.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: input_part7.srcpart' -' name: input_part7.srcpart' -' !!{hive.metastore.warehouse.dir}!!/input_part7.db/srcpart/ds=2008-04-08/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part7.db/srcpart/ds=2008-04-08/hr=12' -' name input_part7.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part7.db/srcpart' -' name input_part7.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: input_part7.srcpart' -' name: input_part7.srcpart' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string:string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -249 rows selected ->>> ->>> SELECT * FROM ( -SELECT X.* FROM SRCPART X WHERE X.ds = '2008-04-08' and X.key < 100 -UNION ALL -SELECT Y.* FROM SRCPART Y WHERE Y.ds = '2008-04-08' and Y.key < 100 -) A -SORT BY A.key, A.value, A.ds, A.hr; -'key','value','ds','hr' -'0','val_0','2008-04-08','11' -'0','val_0','2008-04-08','11' -'0','val_0','2008-04-08','11' -'0','val_0','2008-04-08','11' -'0','val_0','2008-04-08','11' -'0','val_0','2008-04-08','11' -'0','val_0','2008-04-08','12' -'0','val_0','2008-04-08','12' -'0','val_0','2008-04-08','12' -'0','val_0','2008-04-08','12' -'0','val_0','2008-04-08','12' -'0','val_0','2008-04-08','12' -'10','val_10','2008-04-08','11' -'10','val_10','2008-04-08','11' -'10','val_10','2008-04-08','12' -'10','val_10','2008-04-08','12' -'11','val_11','2008-04-08','11' -'11','val_11','2008-04-08','11' -'11','val_11','2008-04-08','12' -'11','val_11','2008-04-08','12' -'12','val_12','2008-04-08','11' -'12','val_12','2008-04-08','11' -'12','val_12','2008-04-08','11' -'12','val_12','2008-04-08','11' -'12','val_12','2008-04-08','12' -'12','val_12','2008-04-08','12' -'12','val_12','2008-04-08','12' -'12','val_12','2008-04-08','12' -'15','val_15','2008-04-08','11' -'15','val_15','2008-04-08','11' -'15','val_15','2008-04-08','11' -'15','val_15','2008-04-08','11' -'15','val_15','2008-04-08','12' -'15','val_15','2008-04-08','12' -'15','val_15','2008-04-08','12' -'15','val_15','2008-04-08','12' -'17','val_17','2008-04-08','11' -'17','val_17','2008-04-08','11' -'17','val_17','2008-04-08','12' -'17','val_17','2008-04-08','12' -'18','val_18','2008-04-08','11' -'18','val_18','2008-04-08','11' -'18','val_18','2008-04-08','11' -'18','val_18','2008-04-08','11' -'18','val_18','2008-04-08','12' -'18','val_18','2008-04-08','12' -'18','val_18','2008-04-08','12' -'18','val_18','2008-04-08','12' -'19','val_19','2008-04-08','11' -'19','val_19','2008-04-08','11' -'19','val_19','2008-04-08','12' -'19','val_19','2008-04-08','12' -'2','val_2','2008-04-08','11' -'2','val_2','2008-04-08','11' -'2','val_2','2008-04-08','12' -'2','val_2','2008-04-08','12' -'20','val_20','2008-04-08','11' -'20','val_20','2008-04-08','11' -'20','val_20','2008-04-08','12' -'20','val_20','2008-04-08','12' -'24','val_24','2008-04-08','11' -'24','val_24','2008-04-08','11' -'24','val_24','2008-04-08','11' -'24','val_24','2008-04-08','11' -'24','val_24','2008-04-08','12' -'24','val_24','2008-04-08','12' -'24','val_24','2008-04-08','12' -'24','val_24','2008-04-08','12' -'26','val_26','2008-04-08','11' -'26','val_26','2008-04-08','11' -'26','val_26','2008-04-08','11' -'26','val_26','2008-04-08','11' -'26','val_26','2008-04-08','12' -'26','val_26','2008-04-08','12' -'26','val_26','2008-04-08','12' -'26','val_26','2008-04-08','12' -'27','val_27','2008-04-08','11' -'27','val_27','2008-04-08','11' -'27','val_27','2008-04-08','12' -'27','val_27','2008-04-08','12' -'28','val_28','2008-04-08','11' -'28','val_28','2008-04-08','11' -'28','val_28','2008-04-08','12' -'28','val_28','2008-04-08','12' -'30','val_30','2008-04-08','11' -'30','val_30','2008-04-08','11' -'30','val_30','2008-04-08','12' -'30','val_30','2008-04-08','12' -'33','val_33','2008-04-08','11' -'33','val_33','2008-04-08','11' -'33','val_33','2008-04-08','12' -'33','val_33','2008-04-08','12' -'34','val_34','2008-04-08','11' -'34','val_34','2008-04-08','11' -'34','val_34','2008-04-08','12' -'34','val_34','2008-04-08','12' -'35','val_35','2008-04-08','11' -'35','val_35','2008-04-08','11' -'35','val_35','2008-04-08','11' -'35','val_35','2008-04-08','11' -'35','val_35','2008-04-08','11' -'35','val_35','2008-04-08','11' -'35','val_35','2008-04-08','12' -'35','val_35','2008-04-08','12' -'35','val_35','2008-04-08','12' -'35','val_35','2008-04-08','12' -'35','val_35','2008-04-08','12' -'35','val_35','2008-04-08','12' -'37','val_37','2008-04-08','11' -'37','val_37','2008-04-08','11' -'37','val_37','2008-04-08','11' -'37','val_37','2008-04-08','11' -'37','val_37','2008-04-08','12' -'37','val_37','2008-04-08','12' -'37','val_37','2008-04-08','12' -'37','val_37','2008-04-08','12' -'4','val_4','2008-04-08','11' -'4','val_4','2008-04-08','11' -'4','val_4','2008-04-08','12' -'4','val_4','2008-04-08','12' -'41','val_41','2008-04-08','11' -'41','val_41','2008-04-08','11' -'41','val_41','2008-04-08','12' -'41','val_41','2008-04-08','12' -'42','val_42','2008-04-08','11' -'42','val_42','2008-04-08','11' -'42','val_42','2008-04-08','11' -'42','val_42','2008-04-08','11' -'42','val_42','2008-04-08','12' -'42','val_42','2008-04-08','12' -'42','val_42','2008-04-08','12' -'42','val_42','2008-04-08','12' -'43','val_43','2008-04-08','11' -'43','val_43','2008-04-08','11' -'43','val_43','2008-04-08','12' -'43','val_43','2008-04-08','12' -'44','val_44','2008-04-08','11' -'44','val_44','2008-04-08','11' -'44','val_44','2008-04-08','12' -'44','val_44','2008-04-08','12' -'47','val_47','2008-04-08','11' -'47','val_47','2008-04-08','11' -'47','val_47','2008-04-08','12' -'47','val_47','2008-04-08','12' -'5','val_5','2008-04-08','11' -'5','val_5','2008-04-08','11' -'5','val_5','2008-04-08','11' -'5','val_5','2008-04-08','11' -'5','val_5','2008-04-08','11' -'5','val_5','2008-04-08','11' -'5','val_5','2008-04-08','12' -'5','val_5','2008-04-08','12' -'5','val_5','2008-04-08','12' -'5','val_5','2008-04-08','12' -'5','val_5','2008-04-08','12' -'5','val_5','2008-04-08','12' -'51','val_51','2008-04-08','11' -'51','val_51','2008-04-08','11' -'51','val_51','2008-04-08','11' -'51','val_51','2008-04-08','11' -'51','val_51','2008-04-08','12' -'51','val_51','2008-04-08','12' -'51','val_51','2008-04-08','12' -'51','val_51','2008-04-08','12' -'53','val_53','2008-04-08','11' -'53','val_53','2008-04-08','11' -'53','val_53','2008-04-08','12' -'53','val_53','2008-04-08','12' -'54','val_54','2008-04-08','11' -'54','val_54','2008-04-08','11' -'54','val_54','2008-04-08','12' -'54','val_54','2008-04-08','12' -'57','val_57','2008-04-08','11' -'57','val_57','2008-04-08','11' -'57','val_57','2008-04-08','12' -'57','val_57','2008-04-08','12' -'58','val_58','2008-04-08','11' -'58','val_58','2008-04-08','11' -'58','val_58','2008-04-08','11' -'58','val_58','2008-04-08','11' -'58','val_58','2008-04-08','12' -'58','val_58','2008-04-08','12' -'58','val_58','2008-04-08','12' -'58','val_58','2008-04-08','12' -'64','val_64','2008-04-08','11' -'64','val_64','2008-04-08','11' -'64','val_64','2008-04-08','12' -'64','val_64','2008-04-08','12' -'65','val_65','2008-04-08','11' -'65','val_65','2008-04-08','11' -'65','val_65','2008-04-08','12' -'65','val_65','2008-04-08','12' -'66','val_66','2008-04-08','11' -'66','val_66','2008-04-08','11' -'66','val_66','2008-04-08','12' -'66','val_66','2008-04-08','12' -'67','val_67','2008-04-08','11' -'67','val_67','2008-04-08','11' -'67','val_67','2008-04-08','11' -'67','val_67','2008-04-08','11' -'67','val_67','2008-04-08','12' -'67','val_67','2008-04-08','12' -'67','val_67','2008-04-08','12' -'67','val_67','2008-04-08','12' -'69','val_69','2008-04-08','11' -'69','val_69','2008-04-08','11' -'69','val_69','2008-04-08','12' -'69','val_69','2008-04-08','12' -'70','val_70','2008-04-08','11' -'70','val_70','2008-04-08','11' -'70','val_70','2008-04-08','11' -'70','val_70','2008-04-08','11' -'70','val_70','2008-04-08','11' -'70','val_70','2008-04-08','11' -'70','val_70','2008-04-08','12' -'70','val_70','2008-04-08','12' -'70','val_70','2008-04-08','12' -'70','val_70','2008-04-08','12' -'70','val_70','2008-04-08','12' -'70','val_70','2008-04-08','12' -'72','val_72','2008-04-08','11' -'72','val_72','2008-04-08','11' -'72','val_72','2008-04-08','11' -'72','val_72','2008-04-08','11' -'72','val_72','2008-04-08','12' -'72','val_72','2008-04-08','12' -'72','val_72','2008-04-08','12' -'72','val_72','2008-04-08','12' -'74','val_74','2008-04-08','11' -'74','val_74','2008-04-08','11' -'74','val_74','2008-04-08','12' -'74','val_74','2008-04-08','12' -'76','val_76','2008-04-08','11' -'76','val_76','2008-04-08','11' -'76','val_76','2008-04-08','11' -'76','val_76','2008-04-08','11' -'76','val_76','2008-04-08','12' -'76','val_76','2008-04-08','12' -'76','val_76','2008-04-08','12' -'76','val_76','2008-04-08','12' -'77','val_77','2008-04-08','11' -'77','val_77','2008-04-08','11' -'77','val_77','2008-04-08','12' -'77','val_77','2008-04-08','12' -'78','val_78','2008-04-08','11' -'78','val_78','2008-04-08','11' -'78','val_78','2008-04-08','12' -'78','val_78','2008-04-08','12' -'8','val_8','2008-04-08','11' -'8','val_8','2008-04-08','11' -'8','val_8','2008-04-08','12' -'8','val_8','2008-04-08','12' -'80','val_80','2008-04-08','11' -'80','val_80','2008-04-08','11' -'80','val_80','2008-04-08','12' -'80','val_80','2008-04-08','12' -'82','val_82','2008-04-08','11' -'82','val_82','2008-04-08','11' -'82','val_82','2008-04-08','12' -'82','val_82','2008-04-08','12' -'83','val_83','2008-04-08','11' -'83','val_83','2008-04-08','11' -'83','val_83','2008-04-08','11' -'83','val_83','2008-04-08','11' -'83','val_83','2008-04-08','12' -'83','val_83','2008-04-08','12' -'83','val_83','2008-04-08','12' -'83','val_83','2008-04-08','12' -'84','val_84','2008-04-08','11' -'84','val_84','2008-04-08','11' -'84','val_84','2008-04-08','11' -'84','val_84','2008-04-08','11' -'84','val_84','2008-04-08','12' -'84','val_84','2008-04-08','12' -'84','val_84','2008-04-08','12' -'84','val_84','2008-04-08','12' -'85','val_85','2008-04-08','11' -'85','val_85','2008-04-08','11' -'85','val_85','2008-04-08','12' -'85','val_85','2008-04-08','12' -'86','val_86','2008-04-08','11' -'86','val_86','2008-04-08','11' -'86','val_86','2008-04-08','12' -'86','val_86','2008-04-08','12' -'87','val_87','2008-04-08','11' -'87','val_87','2008-04-08','11' -'87','val_87','2008-04-08','12' -'87','val_87','2008-04-08','12' -'9','val_9','2008-04-08','11' -'9','val_9','2008-04-08','11' -'9','val_9','2008-04-08','12' -'9','val_9','2008-04-08','12' -'90','val_90','2008-04-08','11' -'90','val_90','2008-04-08','11' -'90','val_90','2008-04-08','11' -'90','val_90','2008-04-08','11' -'90','val_90','2008-04-08','11' -'90','val_90','2008-04-08','11' -'90','val_90','2008-04-08','12' -'90','val_90','2008-04-08','12' -'90','val_90','2008-04-08','12' -'90','val_90','2008-04-08','12' -'90','val_90','2008-04-08','12' -'90','val_90','2008-04-08','12' -'92','val_92','2008-04-08','11' -'92','val_92','2008-04-08','11' -'92','val_92','2008-04-08','12' -'92','val_92','2008-04-08','12' -'95','val_95','2008-04-08','11' -'95','val_95','2008-04-08','11' -'95','val_95','2008-04-08','11' -'95','val_95','2008-04-08','11' -'95','val_95','2008-04-08','12' -'95','val_95','2008-04-08','12' -'95','val_95','2008-04-08','12' -'95','val_95','2008-04-08','12' -'96','val_96','2008-04-08','11' -'96','val_96','2008-04-08','11' -'96','val_96','2008-04-08','12' -'96','val_96','2008-04-08','12' -'97','val_97','2008-04-08','11' -'97','val_97','2008-04-08','11' -'97','val_97','2008-04-08','11' -'97','val_97','2008-04-08','11' -'97','val_97','2008-04-08','12' -'97','val_97','2008-04-08','12' -'97','val_97','2008-04-08','12' -'97','val_97','2008-04-08','12' -'98','val_98','2008-04-08','11' -'98','val_98','2008-04-08','11' -'98','val_98','2008-04-08','11' -'98','val_98','2008-04-08','11' -'98','val_98','2008-04-08','12' -'98','val_98','2008-04-08','12' -'98','val_98','2008-04-08','12' -'98','val_98','2008-04-08','12' -336 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/input_part8.q.out ql/src/test/results/beelinepositive/input_part8.q.out deleted file mode 100644 index 579ca6b..0000000 --- ql/src/test/results/beelinepositive/input_part8.q.out +++ /dev/null @@ -1,49 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input_part8.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input_part8.q ->>> EXPLAIN -SELECT x.* FROM SRCPART x WHERE ds = '2008-04-08' LIMIT 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME SRCPART) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME x)))) (TOK_WHERE (= (TOK_TABLE_OR_COL ds) '2008-04-08')) (TOK_LIMIT 10)))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Fetch Operator' -' limit: 10' -' Processor Tree:' -' TableScan' -' alias: x' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Limit' -' ListSink' -'' -'' -28 rows selected ->>> ->>> SELECT x.* FROM SRCPART x WHERE ds = '2008-04-08' LIMIT 10; -'key','value','ds','hr' -'238','val_238','2008-04-08','11' -'86','val_86','2008-04-08','11' -'311','val_311','2008-04-08','11' -'27','val_27','2008-04-08','11' -'165','val_165','2008-04-08','11' -'409','val_409','2008-04-08','11' -'255','val_255','2008-04-08','11' -'278','val_278','2008-04-08','11' -'98','val_98','2008-04-08','11' -'484','val_484','2008-04-08','11' -10 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/input_part9.q.out ql/src/test/results/beelinepositive/input_part9.q.out deleted file mode 100644 index 825f4d5..0000000 --- ql/src/test/results/beelinepositive/input_part9.q.out +++ /dev/null @@ -1,1192 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input_part9.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input_part9.q ->>> EXPLAIN EXTENDED -SELECT x.* FROM SRCPART x WHERE key IS NOT NULL AND ds = '2008-04-08' order by x.key, x.hr; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME SRCPART) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME x)))) (TOK_WHERE (AND (TOK_FUNCTION TOK_ISNOTNULL (TOK_TABLE_OR_COL key)) (= (TOK_TABLE_OR_COL ds) '2008-04-08'))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL x) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL x) hr)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x ' -' TableScan' -' alias: x' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: key is not null' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col3' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/input_part9.db/srcpart/ds=2008-04-08/hr=11 [x]' -' !!{hive.metastore.warehouse.dir}!!/input_part9.db/srcpart/ds=2008-04-08/hr=12 [x]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/input_part9.db/srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part9.db/srcpart/ds=2008-04-08/hr=11' -' name input_part9.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part9.db/srcpart' -' name input_part9.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: input_part9.srcpart' -' name: input_part9.srcpart' -' !!{hive.metastore.warehouse.dir}!!/input_part9.db/srcpart/ds=2008-04-08/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part9.db/srcpart/ds=2008-04-08/hr=12' -' name input_part9.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/input_part9.db/srcpart' -' name input_part9.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: input_part9.srcpart' -' name: input_part9.srcpart' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string:string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -180 rows selected ->>> ->>> SELECT x.* FROM SRCPART x WHERE key IS NOT NULL AND ds = '2008-04-08' order by x.key, x.hr; -'key','value','ds','hr' -'0','val_0','2008-04-08','11' -'0','val_0','2008-04-08','11' -'0','val_0','2008-04-08','11' -'0','val_0','2008-04-08','12' -'0','val_0','2008-04-08','12' -'0','val_0','2008-04-08','12' -'10','val_10','2008-04-08','11' -'10','val_10','2008-04-08','12' -'100','val_100','2008-04-08','11' -'100','val_100','2008-04-08','11' -'100','val_100','2008-04-08','12' -'100','val_100','2008-04-08','12' -'103','val_103','2008-04-08','11' -'103','val_103','2008-04-08','11' -'103','val_103','2008-04-08','12' -'103','val_103','2008-04-08','12' -'104','val_104','2008-04-08','11' -'104','val_104','2008-04-08','11' -'104','val_104','2008-04-08','12' -'104','val_104','2008-04-08','12' -'105','val_105','2008-04-08','11' -'105','val_105','2008-04-08','12' -'11','val_11','2008-04-08','11' -'11','val_11','2008-04-08','12' -'111','val_111','2008-04-08','11' -'111','val_111','2008-04-08','12' -'113','val_113','2008-04-08','11' -'113','val_113','2008-04-08','11' -'113','val_113','2008-04-08','12' -'113','val_113','2008-04-08','12' -'114','val_114','2008-04-08','11' -'114','val_114','2008-04-08','12' -'116','val_116','2008-04-08','11' -'116','val_116','2008-04-08','12' -'118','val_118','2008-04-08','11' -'118','val_118','2008-04-08','11' -'118','val_118','2008-04-08','12' -'118','val_118','2008-04-08','12' -'119','val_119','2008-04-08','11' -'119','val_119','2008-04-08','11' -'119','val_119','2008-04-08','11' -'119','val_119','2008-04-08','12' -'119','val_119','2008-04-08','12' -'119','val_119','2008-04-08','12' -'12','val_12','2008-04-08','11' -'12','val_12','2008-04-08','11' -'12','val_12','2008-04-08','12' -'12','val_12','2008-04-08','12' -'120','val_120','2008-04-08','11' -'120','val_120','2008-04-08','11' -'120','val_120','2008-04-08','12' -'120','val_120','2008-04-08','12' -'125','val_125','2008-04-08','11' -'125','val_125','2008-04-08','11' -'125','val_125','2008-04-08','12' -'125','val_125','2008-04-08','12' -'126','val_126','2008-04-08','11' -'126','val_126','2008-04-08','12' -'128','val_128','2008-04-08','11' -'128','val_128','2008-04-08','11' -'128','val_128','2008-04-08','11' -'128','val_128','2008-04-08','12' -'128','val_128','2008-04-08','12' -'128','val_128','2008-04-08','12' -'129','val_129','2008-04-08','11' -'129','val_129','2008-04-08','11' -'129','val_129','2008-04-08','12' -'129','val_129','2008-04-08','12' -'131','val_131','2008-04-08','11' -'131','val_131','2008-04-08','12' -'133','val_133','2008-04-08','11' -'133','val_133','2008-04-08','12' -'134','val_134','2008-04-08','11' -'134','val_134','2008-04-08','11' -'134','val_134','2008-04-08','12' -'134','val_134','2008-04-08','12' -'136','val_136','2008-04-08','11' -'136','val_136','2008-04-08','12' -'137','val_137','2008-04-08','11' -'137','val_137','2008-04-08','11' -'137','val_137','2008-04-08','12' -'137','val_137','2008-04-08','12' -'138','val_138','2008-04-08','11' -'138','val_138','2008-04-08','11' -'138','val_138','2008-04-08','11' -'138','val_138','2008-04-08','11' -'138','val_138','2008-04-08','12' -'138','val_138','2008-04-08','12' -'138','val_138','2008-04-08','12' -'138','val_138','2008-04-08','12' -'143','val_143','2008-04-08','11' -'143','val_143','2008-04-08','12' -'145','val_145','2008-04-08','11' -'145','val_145','2008-04-08','12' -'146','val_146','2008-04-08','11' -'146','val_146','2008-04-08','11' -'146','val_146','2008-04-08','12' -'146','val_146','2008-04-08','12' -'149','val_149','2008-04-08','11' -'149','val_149','2008-04-08','11' -'149','val_149','2008-04-08','12' -'149','val_149','2008-04-08','12' -'15','val_15','2008-04-08','11' -'15','val_15','2008-04-08','11' -'15','val_15','2008-04-08','12' -'15','val_15','2008-04-08','12' -'150','val_150','2008-04-08','11' -'150','val_150','2008-04-08','12' -'152','val_152','2008-04-08','11' -'152','val_152','2008-04-08','11' -'152','val_152','2008-04-08','12' -'152','val_152','2008-04-08','12' -'153','val_153','2008-04-08','11' -'153','val_153','2008-04-08','12' -'155','val_155','2008-04-08','11' -'155','val_155','2008-04-08','12' -'156','val_156','2008-04-08','11' -'156','val_156','2008-04-08','12' -'157','val_157','2008-04-08','11' -'157','val_157','2008-04-08','12' -'158','val_158','2008-04-08','11' -'158','val_158','2008-04-08','12' -'160','val_160','2008-04-08','11' -'160','val_160','2008-04-08','12' -'162','val_162','2008-04-08','11' -'162','val_162','2008-04-08','12' -'163','val_163','2008-04-08','11' -'163','val_163','2008-04-08','12' -'164','val_164','2008-04-08','11' -'164','val_164','2008-04-08','11' -'164','val_164','2008-04-08','12' -'164','val_164','2008-04-08','12' -'165','val_165','2008-04-08','11' -'165','val_165','2008-04-08','11' -'165','val_165','2008-04-08','12' -'165','val_165','2008-04-08','12' -'166','val_166','2008-04-08','11' -'166','val_166','2008-04-08','12' -'167','val_167','2008-04-08','11' -'167','val_167','2008-04-08','11' -'167','val_167','2008-04-08','11' -'167','val_167','2008-04-08','12' -'167','val_167','2008-04-08','12' -'167','val_167','2008-04-08','12' -'168','val_168','2008-04-08','11' -'168','val_168','2008-04-08','12' -'169','val_169','2008-04-08','11' -'169','val_169','2008-04-08','11' -'169','val_169','2008-04-08','11' -'169','val_169','2008-04-08','11' -'169','val_169','2008-04-08','12' -'169','val_169','2008-04-08','12' -'169','val_169','2008-04-08','12' -'169','val_169','2008-04-08','12' -'17','val_17','2008-04-08','11' -'17','val_17','2008-04-08','12' -'170','val_170','2008-04-08','11' -'170','val_170','2008-04-08','12' -'172','val_172','2008-04-08','11' -'172','val_172','2008-04-08','11' -'172','val_172','2008-04-08','12' -'172','val_172','2008-04-08','12' -'174','val_174','2008-04-08','11' -'174','val_174','2008-04-08','11' -'174','val_174','2008-04-08','12' -'174','val_174','2008-04-08','12' -'175','val_175','2008-04-08','11' -'175','val_175','2008-04-08','11' -'175','val_175','2008-04-08','12' -'175','val_175','2008-04-08','12' -'176','val_176','2008-04-08','11' -'176','val_176','2008-04-08','11' -'176','val_176','2008-04-08','12' -'176','val_176','2008-04-08','12' -'177','val_177','2008-04-08','11' -'177','val_177','2008-04-08','12' -'178','val_178','2008-04-08','11' -'178','val_178','2008-04-08','12' -'179','val_179','2008-04-08','11' -'179','val_179','2008-04-08','11' -'179','val_179','2008-04-08','12' -'179','val_179','2008-04-08','12' -'18','val_18','2008-04-08','11' -'18','val_18','2008-04-08','11' -'18','val_18','2008-04-08','12' -'18','val_18','2008-04-08','12' -'180','val_180','2008-04-08','11' -'180','val_180','2008-04-08','12' -'181','val_181','2008-04-08','11' -'181','val_181','2008-04-08','12' -'183','val_183','2008-04-08','11' -'183','val_183','2008-04-08','12' -'186','val_186','2008-04-08','11' -'186','val_186','2008-04-08','12' -'187','val_187','2008-04-08','11' -'187','val_187','2008-04-08','11' -'187','val_187','2008-04-08','11' -'187','val_187','2008-04-08','12' -'187','val_187','2008-04-08','12' -'187','val_187','2008-04-08','12' -'189','val_189','2008-04-08','11' -'189','val_189','2008-04-08','12' -'19','val_19','2008-04-08','11' -'19','val_19','2008-04-08','12' -'190','val_190','2008-04-08','11' -'190','val_190','2008-04-08','12' -'191','val_191','2008-04-08','11' -'191','val_191','2008-04-08','11' -'191','val_191','2008-04-08','12' -'191','val_191','2008-04-08','12' -'192','val_192','2008-04-08','11' -'192','val_192','2008-04-08','12' -'193','val_193','2008-04-08','11' -'193','val_193','2008-04-08','11' -'193','val_193','2008-04-08','11' -'193','val_193','2008-04-08','12' -'193','val_193','2008-04-08','12' -'193','val_193','2008-04-08','12' -'194','val_194','2008-04-08','11' -'194','val_194','2008-04-08','12' -'195','val_195','2008-04-08','11' -'195','val_195','2008-04-08','11' -'195','val_195','2008-04-08','12' -'195','val_195','2008-04-08','12' -'196','val_196','2008-04-08','11' -'196','val_196','2008-04-08','12' -'197','val_197','2008-04-08','11' -'197','val_197','2008-04-08','11' -'197','val_197','2008-04-08','12' -'197','val_197','2008-04-08','12' -'199','val_199','2008-04-08','11' -'199','val_199','2008-04-08','11' -'199','val_199','2008-04-08','11' -'199','val_199','2008-04-08','12' -'199','val_199','2008-04-08','12' -'199','val_199','2008-04-08','12' -'2','val_2','2008-04-08','11' -'2','val_2','2008-04-08','12' -'20','val_20','2008-04-08','11' -'20','val_20','2008-04-08','12' -'200','val_200','2008-04-08','11' -'200','val_200','2008-04-08','11' -'200','val_200','2008-04-08','12' -'200','val_200','2008-04-08','12' -'201','val_201','2008-04-08','11' -'201','val_201','2008-04-08','12' -'202','val_202','2008-04-08','11' -'202','val_202','2008-04-08','12' -'203','val_203','2008-04-08','11' -'203','val_203','2008-04-08','11' -'203','val_203','2008-04-08','12' -'203','val_203','2008-04-08','12' -'205','val_205','2008-04-08','11' -'205','val_205','2008-04-08','11' -'205','val_205','2008-04-08','12' -'205','val_205','2008-04-08','12' -'207','val_207','2008-04-08','11' -'207','val_207','2008-04-08','11' -'207','val_207','2008-04-08','12' -'207','val_207','2008-04-08','12' -'208','val_208','2008-04-08','11' -'208','val_208','2008-04-08','11' -'208','val_208','2008-04-08','11' -'208','val_208','2008-04-08','12' -'208','val_208','2008-04-08','12' -'208','val_208','2008-04-08','12' -'209','val_209','2008-04-08','11' -'209','val_209','2008-04-08','11' -'209','val_209','2008-04-08','12' -'209','val_209','2008-04-08','12' -'213','val_213','2008-04-08','11' -'213','val_213','2008-04-08','11' -'213','val_213','2008-04-08','12' -'213','val_213','2008-04-08','12' -'214','val_214','2008-04-08','11' -'214','val_214','2008-04-08','12' -'216','val_216','2008-04-08','11' -'216','val_216','2008-04-08','11' -'216','val_216','2008-04-08','12' -'216','val_216','2008-04-08','12' -'217','val_217','2008-04-08','11' -'217','val_217','2008-04-08','11' -'217','val_217','2008-04-08','12' -'217','val_217','2008-04-08','12' -'218','val_218','2008-04-08','11' -'218','val_218','2008-04-08','12' -'219','val_219','2008-04-08','11' -'219','val_219','2008-04-08','11' -'219','val_219','2008-04-08','12' -'219','val_219','2008-04-08','12' -'221','val_221','2008-04-08','11' -'221','val_221','2008-04-08','11' -'221','val_221','2008-04-08','12' -'221','val_221','2008-04-08','12' -'222','val_222','2008-04-08','11' -'222','val_222','2008-04-08','12' -'223','val_223','2008-04-08','11' -'223','val_223','2008-04-08','11' -'223','val_223','2008-04-08','12' -'223','val_223','2008-04-08','12' -'224','val_224','2008-04-08','11' -'224','val_224','2008-04-08','11' -'224','val_224','2008-04-08','12' -'224','val_224','2008-04-08','12' -'226','val_226','2008-04-08','11' -'226','val_226','2008-04-08','12' -'228','val_228','2008-04-08','11' -'228','val_228','2008-04-08','12' -'229','val_229','2008-04-08','11' -'229','val_229','2008-04-08','11' -'229','val_229','2008-04-08','12' -'229','val_229','2008-04-08','12' -'230','val_230','2008-04-08','11' -'230','val_230','2008-04-08','11' -'230','val_230','2008-04-08','11' -'230','val_230','2008-04-08','11' -'230','val_230','2008-04-08','11' -'230','val_230','2008-04-08','12' -'230','val_230','2008-04-08','12' -'230','val_230','2008-04-08','12' -'230','val_230','2008-04-08','12' -'230','val_230','2008-04-08','12' -'233','val_233','2008-04-08','11' -'233','val_233','2008-04-08','11' -'233','val_233','2008-04-08','12' -'233','val_233','2008-04-08','12' -'235','val_235','2008-04-08','11' -'235','val_235','2008-04-08','12' -'237','val_237','2008-04-08','11' -'237','val_237','2008-04-08','11' -'237','val_237','2008-04-08','12' -'237','val_237','2008-04-08','12' -'238','val_238','2008-04-08','11' -'238','val_238','2008-04-08','11' -'238','val_238','2008-04-08','12' -'238','val_238','2008-04-08','12' -'239','val_239','2008-04-08','11' -'239','val_239','2008-04-08','11' -'239','val_239','2008-04-08','12' -'239','val_239','2008-04-08','12' -'24','val_24','2008-04-08','11' -'24','val_24','2008-04-08','11' -'24','val_24','2008-04-08','12' -'24','val_24','2008-04-08','12' -'241','val_241','2008-04-08','11' -'241','val_241','2008-04-08','12' -'242','val_242','2008-04-08','11' -'242','val_242','2008-04-08','11' -'242','val_242','2008-04-08','12' -'242','val_242','2008-04-08','12' -'244','val_244','2008-04-08','11' -'244','val_244','2008-04-08','12' -'247','val_247','2008-04-08','11' -'247','val_247','2008-04-08','12' -'248','val_248','2008-04-08','11' -'248','val_248','2008-04-08','12' -'249','val_249','2008-04-08','11' -'249','val_249','2008-04-08','12' -'252','val_252','2008-04-08','11' -'252','val_252','2008-04-08','12' -'255','val_255','2008-04-08','11' -'255','val_255','2008-04-08','11' -'255','val_255','2008-04-08','12' -'255','val_255','2008-04-08','12' -'256','val_256','2008-04-08','11' -'256','val_256','2008-04-08','11' -'256','val_256','2008-04-08','12' -'256','val_256','2008-04-08','12' -'257','val_257','2008-04-08','11' -'257','val_257','2008-04-08','12' -'258','val_258','2008-04-08','11' -'258','val_258','2008-04-08','12' -'26','val_26','2008-04-08','11' -'26','val_26','2008-04-08','11' -'26','val_26','2008-04-08','12' -'26','val_26','2008-04-08','12' -'260','val_260','2008-04-08','11' -'260','val_260','2008-04-08','12' -'262','val_262','2008-04-08','11' -'262','val_262','2008-04-08','12' -'263','val_263','2008-04-08','11' -'263','val_263','2008-04-08','12' -'265','val_265','2008-04-08','11' -'265','val_265','2008-04-08','11' -'265','val_265','2008-04-08','12' -'265','val_265','2008-04-08','12' -'266','val_266','2008-04-08','11' -'266','val_266','2008-04-08','12' -'27','val_27','2008-04-08','11' -'27','val_27','2008-04-08','12' -'272','val_272','2008-04-08','11' -'272','val_272','2008-04-08','11' -'272','val_272','2008-04-08','12' -'272','val_272','2008-04-08','12' -'273','val_273','2008-04-08','11' -'273','val_273','2008-04-08','11' -'273','val_273','2008-04-08','11' -'273','val_273','2008-04-08','12' -'273','val_273','2008-04-08','12' -'273','val_273','2008-04-08','12' -'274','val_274','2008-04-08','11' -'274','val_274','2008-04-08','12' -'275','val_275','2008-04-08','11' -'275','val_275','2008-04-08','12' -'277','val_277','2008-04-08','11' -'277','val_277','2008-04-08','11' -'277','val_277','2008-04-08','11' -'277','val_277','2008-04-08','11' -'277','val_277','2008-04-08','12' -'277','val_277','2008-04-08','12' -'277','val_277','2008-04-08','12' -'277','val_277','2008-04-08','12' -'278','val_278','2008-04-08','11' -'278','val_278','2008-04-08','11' -'278','val_278','2008-04-08','12' -'278','val_278','2008-04-08','12' -'28','val_28','2008-04-08','11' -'28','val_28','2008-04-08','12' -'280','val_280','2008-04-08','11' -'280','val_280','2008-04-08','11' -'280','val_280','2008-04-08','12' -'280','val_280','2008-04-08','12' -'281','val_281','2008-04-08','11' -'281','val_281','2008-04-08','11' -'281','val_281','2008-04-08','12' -'281','val_281','2008-04-08','12' -'282','val_282','2008-04-08','11' -'282','val_282','2008-04-08','11' -'282','val_282','2008-04-08','12' -'282','val_282','2008-04-08','12' -'283','val_283','2008-04-08','11' -'283','val_283','2008-04-08','12' -'284','val_284','2008-04-08','11' -'284','val_284','2008-04-08','12' -'285','val_285','2008-04-08','11' -'285','val_285','2008-04-08','12' -'286','val_286','2008-04-08','11' -'286','val_286','2008-04-08','12' -'287','val_287','2008-04-08','11' -'287','val_287','2008-04-08','12' -'288','val_288','2008-04-08','11' -'288','val_288','2008-04-08','11' -'288','val_288','2008-04-08','12' -'288','val_288','2008-04-08','12' -'289','val_289','2008-04-08','11' -'289','val_289','2008-04-08','12' -'291','val_291','2008-04-08','11' -'291','val_291','2008-04-08','12' -'292','val_292','2008-04-08','11' -'292','val_292','2008-04-08','12' -'296','val_296','2008-04-08','11' -'296','val_296','2008-04-08','12' -'298','val_298','2008-04-08','11' -'298','val_298','2008-04-08','11' -'298','val_298','2008-04-08','11' -'298','val_298','2008-04-08','12' -'298','val_298','2008-04-08','12' -'298','val_298','2008-04-08','12' -'30','val_30','2008-04-08','11' -'30','val_30','2008-04-08','12' -'302','val_302','2008-04-08','11' -'302','val_302','2008-04-08','12' -'305','val_305','2008-04-08','11' -'305','val_305','2008-04-08','12' -'306','val_306','2008-04-08','11' -'306','val_306','2008-04-08','12' -'307','val_307','2008-04-08','11' -'307','val_307','2008-04-08','11' -'307','val_307','2008-04-08','12' -'307','val_307','2008-04-08','12' -'308','val_308','2008-04-08','11' -'308','val_308','2008-04-08','12' -'309','val_309','2008-04-08','11' -'309','val_309','2008-04-08','11' -'309','val_309','2008-04-08','12' -'309','val_309','2008-04-08','12' -'310','val_310','2008-04-08','11' -'310','val_310','2008-04-08','12' -'311','val_311','2008-04-08','11' -'311','val_311','2008-04-08','11' -'311','val_311','2008-04-08','11' -'311','val_311','2008-04-08','12' -'311','val_311','2008-04-08','12' -'311','val_311','2008-04-08','12' -'315','val_315','2008-04-08','11' -'315','val_315','2008-04-08','12' -'316','val_316','2008-04-08','11' -'316','val_316','2008-04-08','11' -'316','val_316','2008-04-08','11' -'316','val_316','2008-04-08','12' -'316','val_316','2008-04-08','12' -'316','val_316','2008-04-08','12' -'317','val_317','2008-04-08','11' -'317','val_317','2008-04-08','11' -'317','val_317','2008-04-08','12' -'317','val_317','2008-04-08','12' -'318','val_318','2008-04-08','11' -'318','val_318','2008-04-08','11' -'318','val_318','2008-04-08','11' -'318','val_318','2008-04-08','12' -'318','val_318','2008-04-08','12' -'318','val_318','2008-04-08','12' -'321','val_321','2008-04-08','11' -'321','val_321','2008-04-08','11' -'321','val_321','2008-04-08','12' -'321','val_321','2008-04-08','12' -'322','val_322','2008-04-08','11' -'322','val_322','2008-04-08','11' -'322','val_322','2008-04-08','12' -'322','val_322','2008-04-08','12' -'323','val_323','2008-04-08','11' -'323','val_323','2008-04-08','12' -'325','val_325','2008-04-08','11' -'325','val_325','2008-04-08','11' -'325','val_325','2008-04-08','12' -'325','val_325','2008-04-08','12' -'327','val_327','2008-04-08','11' -'327','val_327','2008-04-08','11' -'327','val_327','2008-04-08','11' -'327','val_327','2008-04-08','12' -'327','val_327','2008-04-08','12' -'327','val_327','2008-04-08','12' -'33','val_33','2008-04-08','11' -'33','val_33','2008-04-08','12' -'331','val_331','2008-04-08','11' -'331','val_331','2008-04-08','11' -'331','val_331','2008-04-08','12' -'331','val_331','2008-04-08','12' -'332','val_332','2008-04-08','11' -'332','val_332','2008-04-08','12' -'333','val_333','2008-04-08','11' -'333','val_333','2008-04-08','11' -'333','val_333','2008-04-08','12' -'333','val_333','2008-04-08','12' -'335','val_335','2008-04-08','11' -'335','val_335','2008-04-08','12' -'336','val_336','2008-04-08','11' -'336','val_336','2008-04-08','12' -'338','val_338','2008-04-08','11' -'338','val_338','2008-04-08','12' -'339','val_339','2008-04-08','11' -'339','val_339','2008-04-08','12' -'34','val_34','2008-04-08','11' -'34','val_34','2008-04-08','12' -'341','val_341','2008-04-08','11' -'341','val_341','2008-04-08','12' -'342','val_342','2008-04-08','11' -'342','val_342','2008-04-08','11' -'342','val_342','2008-04-08','12' -'342','val_342','2008-04-08','12' -'344','val_344','2008-04-08','11' -'344','val_344','2008-04-08','11' -'344','val_344','2008-04-08','12' -'344','val_344','2008-04-08','12' -'345','val_345','2008-04-08','11' -'345','val_345','2008-04-08','12' -'348','val_348','2008-04-08','11' -'348','val_348','2008-04-08','11' -'348','val_348','2008-04-08','11' -'348','val_348','2008-04-08','11' -'348','val_348','2008-04-08','11' -'348','val_348','2008-04-08','12' -'348','val_348','2008-04-08','12' -'348','val_348','2008-04-08','12' -'348','val_348','2008-04-08','12' -'348','val_348','2008-04-08','12' -'35','val_35','2008-04-08','11' -'35','val_35','2008-04-08','11' -'35','val_35','2008-04-08','11' -'35','val_35','2008-04-08','12' -'35','val_35','2008-04-08','12' -'35','val_35','2008-04-08','12' -'351','val_351','2008-04-08','11' -'351','val_351','2008-04-08','12' -'353','val_353','2008-04-08','11' -'353','val_353','2008-04-08','11' -'353','val_353','2008-04-08','12' -'353','val_353','2008-04-08','12' -'356','val_356','2008-04-08','11' -'356','val_356','2008-04-08','12' -'360','val_360','2008-04-08','11' -'360','val_360','2008-04-08','12' -'362','val_362','2008-04-08','11' -'362','val_362','2008-04-08','12' -'364','val_364','2008-04-08','11' -'364','val_364','2008-04-08','12' -'365','val_365','2008-04-08','11' -'365','val_365','2008-04-08','12' -'366','val_366','2008-04-08','11' -'366','val_366','2008-04-08','12' -'367','val_367','2008-04-08','11' -'367','val_367','2008-04-08','11' -'367','val_367','2008-04-08','12' -'367','val_367','2008-04-08','12' -'368','val_368','2008-04-08','11' -'368','val_368','2008-04-08','12' -'369','val_369','2008-04-08','11' -'369','val_369','2008-04-08','11' -'369','val_369','2008-04-08','11' -'369','val_369','2008-04-08','12' -'369','val_369','2008-04-08','12' -'369','val_369','2008-04-08','12' -'37','val_37','2008-04-08','11' -'37','val_37','2008-04-08','11' -'37','val_37','2008-04-08','12' -'37','val_37','2008-04-08','12' -'373','val_373','2008-04-08','11' -'373','val_373','2008-04-08','12' -'374','val_374','2008-04-08','11' -'374','val_374','2008-04-08','12' -'375','val_375','2008-04-08','11' -'375','val_375','2008-04-08','12' -'377','val_377','2008-04-08','11' -'377','val_377','2008-04-08','12' -'378','val_378','2008-04-08','11' -'378','val_378','2008-04-08','12' -'379','val_379','2008-04-08','11' -'379','val_379','2008-04-08','12' -'382','val_382','2008-04-08','11' -'382','val_382','2008-04-08','11' -'382','val_382','2008-04-08','12' -'382','val_382','2008-04-08','12' -'384','val_384','2008-04-08','11' -'384','val_384','2008-04-08','11' -'384','val_384','2008-04-08','11' -'384','val_384','2008-04-08','12' -'384','val_384','2008-04-08','12' -'384','val_384','2008-04-08','12' -'386','val_386','2008-04-08','11' -'386','val_386','2008-04-08','12' -'389','val_389','2008-04-08','11' -'389','val_389','2008-04-08','12' -'392','val_392','2008-04-08','11' -'392','val_392','2008-04-08','12' -'393','val_393','2008-04-08','11' -'393','val_393','2008-04-08','12' -'394','val_394','2008-04-08','11' -'394','val_394','2008-04-08','12' -'395','val_395','2008-04-08','11' -'395','val_395','2008-04-08','11' -'395','val_395','2008-04-08','12' -'395','val_395','2008-04-08','12' -'396','val_396','2008-04-08','11' -'396','val_396','2008-04-08','11' -'396','val_396','2008-04-08','11' -'396','val_396','2008-04-08','12' -'396','val_396','2008-04-08','12' -'396','val_396','2008-04-08','12' -'397','val_397','2008-04-08','11' -'397','val_397','2008-04-08','11' -'397','val_397','2008-04-08','12' -'397','val_397','2008-04-08','12' -'399','val_399','2008-04-08','11' -'399','val_399','2008-04-08','11' -'399','val_399','2008-04-08','12' -'399','val_399','2008-04-08','12' -'4','val_4','2008-04-08','11' -'4','val_4','2008-04-08','12' -'400','val_400','2008-04-08','11' -'400','val_400','2008-04-08','12' -'401','val_401','2008-04-08','11' -'401','val_401','2008-04-08','11' -'401','val_401','2008-04-08','11' -'401','val_401','2008-04-08','11' -'401','val_401','2008-04-08','11' -'401','val_401','2008-04-08','12' -'401','val_401','2008-04-08','12' -'401','val_401','2008-04-08','12' -'401','val_401','2008-04-08','12' -'401','val_401','2008-04-08','12' -'402','val_402','2008-04-08','11' -'402','val_402','2008-04-08','12' -'403','val_403','2008-04-08','11' -'403','val_403','2008-04-08','11' -'403','val_403','2008-04-08','11' -'403','val_403','2008-04-08','12' -'403','val_403','2008-04-08','12' -'403','val_403','2008-04-08','12' -'404','val_404','2008-04-08','11' -'404','val_404','2008-04-08','11' -'404','val_404','2008-04-08','12' -'404','val_404','2008-04-08','12' -'406','val_406','2008-04-08','11' -'406','val_406','2008-04-08','11' -'406','val_406','2008-04-08','11' -'406','val_406','2008-04-08','11' -'406','val_406','2008-04-08','12' -'406','val_406','2008-04-08','12' -'406','val_406','2008-04-08','12' -'406','val_406','2008-04-08','12' -'407','val_407','2008-04-08','11' -'407','val_407','2008-04-08','12' -'409','val_409','2008-04-08','11' -'409','val_409','2008-04-08','11' -'409','val_409','2008-04-08','11' -'409','val_409','2008-04-08','12' -'409','val_409','2008-04-08','12' -'409','val_409','2008-04-08','12' -'41','val_41','2008-04-08','11' -'41','val_41','2008-04-08','12' -'411','val_411','2008-04-08','11' -'411','val_411','2008-04-08','12' -'413','val_413','2008-04-08','11' -'413','val_413','2008-04-08','11' -'413','val_413','2008-04-08','12' -'413','val_413','2008-04-08','12' -'414','val_414','2008-04-08','11' -'414','val_414','2008-04-08','11' -'414','val_414','2008-04-08','12' -'414','val_414','2008-04-08','12' -'417','val_417','2008-04-08','11' -'417','val_417','2008-04-08','11' -'417','val_417','2008-04-08','11' -'417','val_417','2008-04-08','12' -'417','val_417','2008-04-08','12' -'417','val_417','2008-04-08','12' -'418','val_418','2008-04-08','11' -'418','val_418','2008-04-08','12' -'419','val_419','2008-04-08','11' -'419','val_419','2008-04-08','12' -'42','val_42','2008-04-08','11' -'42','val_42','2008-04-08','11' -'42','val_42','2008-04-08','12' -'42','val_42','2008-04-08','12' -'421','val_421','2008-04-08','11' -'421','val_421','2008-04-08','12' -'424','val_424','2008-04-08','11' -'424','val_424','2008-04-08','11' -'424','val_424','2008-04-08','12' -'424','val_424','2008-04-08','12' -'427','val_427','2008-04-08','11' -'427','val_427','2008-04-08','12' -'429','val_429','2008-04-08','11' -'429','val_429','2008-04-08','11' -'429','val_429','2008-04-08','12' -'429','val_429','2008-04-08','12' -'43','val_43','2008-04-08','11' -'43','val_43','2008-04-08','12' -'430','val_430','2008-04-08','11' -'430','val_430','2008-04-08','11' -'430','val_430','2008-04-08','11' -'430','val_430','2008-04-08','12' -'430','val_430','2008-04-08','12' -'430','val_430','2008-04-08','12' -'431','val_431','2008-04-08','11' -'431','val_431','2008-04-08','11' -'431','val_431','2008-04-08','11' -'431','val_431','2008-04-08','12' -'431','val_431','2008-04-08','12' -'431','val_431','2008-04-08','12' -'432','val_432','2008-04-08','11' -'432','val_432','2008-04-08','12' -'435','val_435','2008-04-08','11' -'435','val_435','2008-04-08','12' -'436','val_436','2008-04-08','11' -'436','val_436','2008-04-08','12' -'437','val_437','2008-04-08','11' -'437','val_437','2008-04-08','12' -'438','val_438','2008-04-08','11' -'438','val_438','2008-04-08','11' -'438','val_438','2008-04-08','11' -'438','val_438','2008-04-08','12' -'438','val_438','2008-04-08','12' -'438','val_438','2008-04-08','12' -'439','val_439','2008-04-08','11' -'439','val_439','2008-04-08','11' -'439','val_439','2008-04-08','12' -'439','val_439','2008-04-08','12' -'44','val_44','2008-04-08','11' -'44','val_44','2008-04-08','12' -'443','val_443','2008-04-08','11' -'443','val_443','2008-04-08','12' -'444','val_444','2008-04-08','11' -'444','val_444','2008-04-08','12' -'446','val_446','2008-04-08','11' -'446','val_446','2008-04-08','12' -'448','val_448','2008-04-08','11' -'448','val_448','2008-04-08','12' -'449','val_449','2008-04-08','11' -'449','val_449','2008-04-08','12' -'452','val_452','2008-04-08','11' -'452','val_452','2008-04-08','12' -'453','val_453','2008-04-08','11' -'453','val_453','2008-04-08','12' -'454','val_454','2008-04-08','11' -'454','val_454','2008-04-08','11' -'454','val_454','2008-04-08','11' -'454','val_454','2008-04-08','12' -'454','val_454','2008-04-08','12' -'454','val_454','2008-04-08','12' -'455','val_455','2008-04-08','11' -'455','val_455','2008-04-08','12' -'457','val_457','2008-04-08','11' -'457','val_457','2008-04-08','12' -'458','val_458','2008-04-08','11' -'458','val_458','2008-04-08','11' -'458','val_458','2008-04-08','12' -'458','val_458','2008-04-08','12' -'459','val_459','2008-04-08','11' -'459','val_459','2008-04-08','11' -'459','val_459','2008-04-08','12' -'459','val_459','2008-04-08','12' -'460','val_460','2008-04-08','11' -'460','val_460','2008-04-08','12' -'462','val_462','2008-04-08','11' -'462','val_462','2008-04-08','11' -'462','val_462','2008-04-08','12' -'462','val_462','2008-04-08','12' -'463','val_463','2008-04-08','11' -'463','val_463','2008-04-08','11' -'463','val_463','2008-04-08','12' -'463','val_463','2008-04-08','12' -'466','val_466','2008-04-08','11' -'466','val_466','2008-04-08','11' -'466','val_466','2008-04-08','11' -'466','val_466','2008-04-08','12' -'466','val_466','2008-04-08','12' -'466','val_466','2008-04-08','12' -'467','val_467','2008-04-08','11' -'467','val_467','2008-04-08','12' -'468','val_468','2008-04-08','11' -'468','val_468','2008-04-08','11' -'468','val_468','2008-04-08','11' -'468','val_468','2008-04-08','11' -'468','val_468','2008-04-08','12' -'468','val_468','2008-04-08','12' -'468','val_468','2008-04-08','12' -'468','val_468','2008-04-08','12' -'469','val_469','2008-04-08','11' -'469','val_469','2008-04-08','11' -'469','val_469','2008-04-08','11' -'469','val_469','2008-04-08','11' -'469','val_469','2008-04-08','11' -'469','val_469','2008-04-08','12' -'469','val_469','2008-04-08','12' -'469','val_469','2008-04-08','12' -'469','val_469','2008-04-08','12' -'469','val_469','2008-04-08','12' -'47','val_47','2008-04-08','11' -'47','val_47','2008-04-08','12' -'470','val_470','2008-04-08','11' -'470','val_470','2008-04-08','12' -'472','val_472','2008-04-08','11' -'472','val_472','2008-04-08','12' -'475','val_475','2008-04-08','11' -'475','val_475','2008-04-08','12' -'477','val_477','2008-04-08','11' -'477','val_477','2008-04-08','12' -'478','val_478','2008-04-08','11' -'478','val_478','2008-04-08','11' -'478','val_478','2008-04-08','12' -'478','val_478','2008-04-08','12' -'479','val_479','2008-04-08','11' -'479','val_479','2008-04-08','12' -'480','val_480','2008-04-08','11' -'480','val_480','2008-04-08','11' -'480','val_480','2008-04-08','11' -'480','val_480','2008-04-08','12' -'480','val_480','2008-04-08','12' -'480','val_480','2008-04-08','12' -'481','val_481','2008-04-08','11' -'481','val_481','2008-04-08','12' -'482','val_482','2008-04-08','11' -'482','val_482','2008-04-08','12' -'483','val_483','2008-04-08','11' -'483','val_483','2008-04-08','12' -'484','val_484','2008-04-08','11' -'484','val_484','2008-04-08','12' -'485','val_485','2008-04-08','11' -'485','val_485','2008-04-08','12' -'487','val_487','2008-04-08','11' -'487','val_487','2008-04-08','12' -'489','val_489','2008-04-08','11' -'489','val_489','2008-04-08','11' -'489','val_489','2008-04-08','11' -'489','val_489','2008-04-08','11' -'489','val_489','2008-04-08','12' -'489','val_489','2008-04-08','12' -'489','val_489','2008-04-08','12' -'489','val_489','2008-04-08','12' -'490','val_490','2008-04-08','11' -'490','val_490','2008-04-08','12' -'491','val_491','2008-04-08','11' -'491','val_491','2008-04-08','12' -'492','val_492','2008-04-08','11' -'492','val_492','2008-04-08','11' -'492','val_492','2008-04-08','12' -'492','val_492','2008-04-08','12' -'493','val_493','2008-04-08','11' -'493','val_493','2008-04-08','12' -'494','val_494','2008-04-08','11' -'494','val_494','2008-04-08','12' -'495','val_495','2008-04-08','11' -'495','val_495','2008-04-08','12' -'496','val_496','2008-04-08','11' -'496','val_496','2008-04-08','12' -'497','val_497','2008-04-08','11' -'497','val_497','2008-04-08','12' -'498','val_498','2008-04-08','11' -'498','val_498','2008-04-08','11' -'498','val_498','2008-04-08','11' -'498','val_498','2008-04-08','12' -'498','val_498','2008-04-08','12' -'498','val_498','2008-04-08','12' -'5','val_5','2008-04-08','11' -'5','val_5','2008-04-08','11' -'5','val_5','2008-04-08','11' -'5','val_5','2008-04-08','12' -'5','val_5','2008-04-08','12' -'5','val_5','2008-04-08','12' -'51','val_51','2008-04-08','11' -'51','val_51','2008-04-08','11' -'51','val_51','2008-04-08','12' -'51','val_51','2008-04-08','12' -'53','val_53','2008-04-08','11' -'53','val_53','2008-04-08','12' -'54','val_54','2008-04-08','11' -'54','val_54','2008-04-08','12' -'57','val_57','2008-04-08','11' -'57','val_57','2008-04-08','12' -'58','val_58','2008-04-08','11' -'58','val_58','2008-04-08','11' -'58','val_58','2008-04-08','12' -'58','val_58','2008-04-08','12' -'64','val_64','2008-04-08','11' -'64','val_64','2008-04-08','12' -'65','val_65','2008-04-08','11' -'65','val_65','2008-04-08','12' -'66','val_66','2008-04-08','11' -'66','val_66','2008-04-08','12' -'67','val_67','2008-04-08','11' -'67','val_67','2008-04-08','11' -'67','val_67','2008-04-08','12' -'67','val_67','2008-04-08','12' -'69','val_69','2008-04-08','11' -'69','val_69','2008-04-08','12' -'70','val_70','2008-04-08','11' -'70','val_70','2008-04-08','11' -'70','val_70','2008-04-08','11' -'70','val_70','2008-04-08','12' -'70','val_70','2008-04-08','12' -'70','val_70','2008-04-08','12' -'72','val_72','2008-04-08','11' -'72','val_72','2008-04-08','11' -'72','val_72','2008-04-08','12' -'72','val_72','2008-04-08','12' -'74','val_74','2008-04-08','11' -'74','val_74','2008-04-08','12' -'76','val_76','2008-04-08','11' -'76','val_76','2008-04-08','11' -'76','val_76','2008-04-08','12' -'76','val_76','2008-04-08','12' -'77','val_77','2008-04-08','11' -'77','val_77','2008-04-08','12' -'78','val_78','2008-04-08','11' -'78','val_78','2008-04-08','12' -'8','val_8','2008-04-08','11' -'8','val_8','2008-04-08','12' -'80','val_80','2008-04-08','11' -'80','val_80','2008-04-08','12' -'82','val_82','2008-04-08','11' -'82','val_82','2008-04-08','12' -'83','val_83','2008-04-08','11' -'83','val_83','2008-04-08','11' -'83','val_83','2008-04-08','12' -'83','val_83','2008-04-08','12' -'84','val_84','2008-04-08','11' -'84','val_84','2008-04-08','11' -'84','val_84','2008-04-08','12' -'84','val_84','2008-04-08','12' -'85','val_85','2008-04-08','11' -'85','val_85','2008-04-08','12' -'86','val_86','2008-04-08','11' -'86','val_86','2008-04-08','12' -'87','val_87','2008-04-08','11' -'87','val_87','2008-04-08','12' -'9','val_9','2008-04-08','11' -'9','val_9','2008-04-08','12' -'90','val_90','2008-04-08','11' -'90','val_90','2008-04-08','11' -'90','val_90','2008-04-08','11' -'90','val_90','2008-04-08','12' -'90','val_90','2008-04-08','12' -'90','val_90','2008-04-08','12' -'92','val_92','2008-04-08','11' -'92','val_92','2008-04-08','12' -'95','val_95','2008-04-08','11' -'95','val_95','2008-04-08','11' -'95','val_95','2008-04-08','12' -'95','val_95','2008-04-08','12' -'96','val_96','2008-04-08','11' -'96','val_96','2008-04-08','12' -'97','val_97','2008-04-08','11' -'97','val_97','2008-04-08','11' -'97','val_97','2008-04-08','12' -'97','val_97','2008-04-08','12' -'98','val_98','2008-04-08','11' -'98','val_98','2008-04-08','11' -'98','val_98','2008-04-08','12' -'98','val_98','2008-04-08','12' -1,000 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/input_testsequencefile.q.out ql/src/test/results/beelinepositive/input_testsequencefile.q.out deleted file mode 100644 index 74ca34a..0000000 --- ql/src/test/results/beelinepositive/input_testsequencefile.q.out +++ /dev/null @@ -1,625 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input_testsequencefile.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input_testsequencefile.q ->>> set mapred.output.compress=true; -No rows affected ->>> set mapred.output.compression.type=BLOCK; -No rows affected ->>> ->>> CREATE TABLE dest4_sequencefile(key INT, value STRING) STORED AS SEQUENCEFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest4_sequencefile SELECT src.key, src.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest4_sequencefile))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: input_testsequencefile.dest4_sequencefile' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: input_testsequencefile.dest4_sequencefile' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: input_testsequencefile.dest4_sequencefile' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: input_testsequencefile.dest4_sequencefile' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -98 rows selected ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest4_sequencefile SELECT src.key, src.value; -'_col0','_col1' -No rows selected ->>> ->>> set mapred.output.compress=false; -No rows affected ->>> SELECT dest4_sequencefile.* FROM dest4_sequencefile; -'key','value' -'238','val_238' -'86','val_86' -'311','val_311' -'27','val_27' -'165','val_165' -'409','val_409' -'255','val_255' -'278','val_278' -'98','val_98' -'484','val_484' -'265','val_265' -'193','val_193' -'401','val_401' -'150','val_150' -'273','val_273' -'224','val_224' -'369','val_369' -'66','val_66' -'128','val_128' -'213','val_213' -'146','val_146' -'406','val_406' -'429','val_429' -'374','val_374' -'152','val_152' -'469','val_469' -'145','val_145' -'495','val_495' -'37','val_37' -'327','val_327' -'281','val_281' -'277','val_277' -'209','val_209' -'15','val_15' -'82','val_82' -'403','val_403' -'166','val_166' -'417','val_417' -'430','val_430' -'252','val_252' -'292','val_292' -'219','val_219' -'287','val_287' -'153','val_153' -'193','val_193' -'338','val_338' -'446','val_446' -'459','val_459' -'394','val_394' -'237','val_237' -'482','val_482' -'174','val_174' -'413','val_413' -'494','val_494' -'207','val_207' -'199','val_199' -'466','val_466' -'208','val_208' -'174','val_174' -'399','val_399' -'396','val_396' -'247','val_247' -'417','val_417' -'489','val_489' -'162','val_162' -'377','val_377' -'397','val_397' -'309','val_309' -'365','val_365' -'266','val_266' -'439','val_439' -'342','val_342' -'367','val_367' -'325','val_325' -'167','val_167' -'195','val_195' -'475','val_475' -'17','val_17' -'113','val_113' -'155','val_155' -'203','val_203' -'339','val_339' -'0','val_0' -'455','val_455' -'128','val_128' -'311','val_311' -'316','val_316' -'57','val_57' -'302','val_302' -'205','val_205' -'149','val_149' -'438','val_438' -'345','val_345' -'129','val_129' -'170','val_170' -'20','val_20' -'489','val_489' -'157','val_157' -'378','val_378' -'221','val_221' -'92','val_92' -'111','val_111' -'47','val_47' -'72','val_72' -'4','val_4' -'280','val_280' -'35','val_35' -'427','val_427' -'277','val_277' -'208','val_208' -'356','val_356' -'399','val_399' -'169','val_169' -'382','val_382' -'498','val_498' -'125','val_125' -'386','val_386' -'437','val_437' -'469','val_469' -'192','val_192' -'286','val_286' -'187','val_187' -'176','val_176' -'54','val_54' -'459','val_459' -'51','val_51' -'138','val_138' -'103','val_103' -'239','val_239' -'213','val_213' -'216','val_216' -'430','val_430' -'278','val_278' -'176','val_176' -'289','val_289' -'221','val_221' -'65','val_65' -'318','val_318' -'332','val_332' -'311','val_311' -'275','val_275' -'137','val_137' -'241','val_241' -'83','val_83' -'333','val_333' -'180','val_180' -'284','val_284' -'12','val_12' -'230','val_230' -'181','val_181' -'67','val_67' -'260','val_260' -'404','val_404' -'384','val_384' -'489','val_489' -'353','val_353' -'373','val_373' -'272','val_272' -'138','val_138' -'217','val_217' -'84','val_84' -'348','val_348' -'466','val_466' -'58','val_58' -'8','val_8' -'411','val_411' -'230','val_230' -'208','val_208' -'348','val_348' -'24','val_24' -'463','val_463' -'431','val_431' -'179','val_179' -'172','val_172' -'42','val_42' -'129','val_129' -'158','val_158' -'119','val_119' -'496','val_496' -'0','val_0' -'322','val_322' -'197','val_197' -'468','val_468' -'393','val_393' -'454','val_454' -'100','val_100' -'298','val_298' -'199','val_199' -'191','val_191' -'418','val_418' -'96','val_96' -'26','val_26' -'165','val_165' -'327','val_327' -'230','val_230' -'205','val_205' -'120','val_120' -'131','val_131' -'51','val_51' -'404','val_404' -'43','val_43' -'436','val_436' -'156','val_156' -'469','val_469' -'468','val_468' -'308','val_308' -'95','val_95' -'196','val_196' -'288','val_288' -'481','val_481' -'457','val_457' -'98','val_98' -'282','val_282' -'197','val_197' -'187','val_187' -'318','val_318' -'318','val_318' -'409','val_409' -'470','val_470' -'137','val_137' -'369','val_369' -'316','val_316' -'169','val_169' -'413','val_413' -'85','val_85' -'77','val_77' -'0','val_0' -'490','val_490' -'87','val_87' -'364','val_364' -'179','val_179' -'118','val_118' -'134','val_134' -'395','val_395' -'282','val_282' -'138','val_138' -'238','val_238' -'419','val_419' -'15','val_15' -'118','val_118' -'72','val_72' -'90','val_90' -'307','val_307' -'19','val_19' -'435','val_435' -'10','val_10' -'277','val_277' -'273','val_273' -'306','val_306' -'224','val_224' -'309','val_309' -'389','val_389' -'327','val_327' -'242','val_242' -'369','val_369' -'392','val_392' -'272','val_272' -'331','val_331' -'401','val_401' -'242','val_242' -'452','val_452' -'177','val_177' -'226','val_226' -'5','val_5' -'497','val_497' -'402','val_402' -'396','val_396' -'317','val_317' -'395','val_395' -'58','val_58' -'35','val_35' -'336','val_336' -'95','val_95' -'11','val_11' -'168','val_168' -'34','val_34' -'229','val_229' -'233','val_233' -'143','val_143' -'472','val_472' -'322','val_322' -'498','val_498' -'160','val_160' -'195','val_195' -'42','val_42' -'321','val_321' -'430','val_430' -'119','val_119' -'489','val_489' -'458','val_458' -'78','val_78' -'76','val_76' -'41','val_41' -'223','val_223' -'492','val_492' -'149','val_149' -'449','val_449' -'218','val_218' -'228','val_228' -'138','val_138' -'453','val_453' -'30','val_30' -'209','val_209' -'64','val_64' -'468','val_468' -'76','val_76' -'74','val_74' -'342','val_342' -'69','val_69' -'230','val_230' -'33','val_33' -'368','val_368' -'103','val_103' -'296','val_296' -'113','val_113' -'216','val_216' -'367','val_367' -'344','val_344' -'167','val_167' -'274','val_274' -'219','val_219' -'239','val_239' -'485','val_485' -'116','val_116' -'223','val_223' -'256','val_256' -'263','val_263' -'70','val_70' -'487','val_487' -'480','val_480' -'401','val_401' -'288','val_288' -'191','val_191' -'5','val_5' -'244','val_244' -'438','val_438' -'128','val_128' -'467','val_467' -'432','val_432' -'202','val_202' -'316','val_316' -'229','val_229' -'469','val_469' -'463','val_463' -'280','val_280' -'2','val_2' -'35','val_35' -'283','val_283' -'331','val_331' -'235','val_235' -'80','val_80' -'44','val_44' -'193','val_193' -'321','val_321' -'335','val_335' -'104','val_104' -'466','val_466' -'366','val_366' -'175','val_175' -'403','val_403' -'483','val_483' -'53','val_53' -'105','val_105' -'257','val_257' -'406','val_406' -'409','val_409' -'190','val_190' -'406','val_406' -'401','val_401' -'114','val_114' -'258','val_258' -'90','val_90' -'203','val_203' -'262','val_262' -'348','val_348' -'424','val_424' -'12','val_12' -'396','val_396' -'201','val_201' -'217','val_217' -'164','val_164' -'431','val_431' -'454','val_454' -'478','val_478' -'298','val_298' -'125','val_125' -'431','val_431' -'164','val_164' -'424','val_424' -'187','val_187' -'382','val_382' -'5','val_5' -'70','val_70' -'397','val_397' -'480','val_480' -'291','val_291' -'24','val_24' -'351','val_351' -'255','val_255' -'104','val_104' -'70','val_70' -'163','val_163' -'438','val_438' -'119','val_119' -'414','val_414' -'200','val_200' -'491','val_491' -'237','val_237' -'439','val_439' -'360','val_360' -'248','val_248' -'479','val_479' -'305','val_305' -'417','val_417' -'199','val_199' -'444','val_444' -'120','val_120' -'429','val_429' -'169','val_169' -'443','val_443' -'323','val_323' -'325','val_325' -'277','val_277' -'230','val_230' -'478','val_478' -'178','val_178' -'468','val_468' -'310','val_310' -'317','val_317' -'333','val_333' -'493','val_493' -'460','val_460' -'207','val_207' -'249','val_249' -'265','val_265' -'480','val_480' -'83','val_83' -'136','val_136' -'353','val_353' -'172','val_172' -'214','val_214' -'462','val_462' -'233','val_233' -'406','val_406' -'133','val_133' -'175','val_175' -'189','val_189' -'454','val_454' -'375','val_375' -'401','val_401' -'421','val_421' -'407','val_407' -'384','val_384' -'256','val_256' -'26','val_26' -'134','val_134' -'67','val_67' -'384','val_384' -'379','val_379' -'18','val_18' -'462','val_462' -'492','val_492' -'100','val_100' -'298','val_298' -'9','val_9' -'341','val_341' -'498','val_498' -'146','val_146' -'458','val_458' -'362','val_362' -'186','val_186' -'285','val_285' -'348','val_348' -'167','val_167' -'18','val_18' -'273','val_273' -'183','val_183' -'281','val_281' -'344','val_344' -'97','val_97' -'469','val_469' -'315','val_315' -'84','val_84' -'28','val_28' -'37','val_37' -'448','val_448' -'152','val_152' -'348','val_348' -'307','val_307' -'194','val_194' -'414','val_414' -'477','val_477' -'222','val_222' -'126','val_126' -'90','val_90' -'169','val_169' -'403','val_403' -'400','val_400' -'200','val_200' -'97','val_97' -500 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/input_testxpath.q.out ql/src/test/results/beelinepositive/input_testxpath.q.out deleted file mode 100644 index 19b44c9..0000000 --- ql/src/test/results/beelinepositive/input_testxpath.q.out +++ /dev/null @@ -1,124 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input_testxpath.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input_testxpath.q ->>> CREATE TABLE dest1(key INT, value STRING, mapvalue STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src_thrift -INSERT OVERWRITE TABLE dest1 SELECT src_thrift.lint[1], src_thrift.lintstring[0].mystring, src_thrift.mstringstring['key_2']; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src_thrift))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR ([ (. (TOK_TABLE_OR_COL src_thrift) lint) 1)) (TOK_SELEXPR (. ([ (. (TOK_TABLE_OR_COL src_thrift) lintstring) 0) mystring)) (TOK_SELEXPR ([ (. (TOK_TABLE_OR_COL src_thrift) mstringstring) 'key_2')))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src_thrift ' -' TableScan' -' alias: src_thrift' -' Select Operator' -' expressions:' -' expr: lint[1]' -' type: int' -' expr: lintstring[0].mystring' -' type: string' -' expr: mstringstring['key_2']' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: input_testxpath.dest1' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: input_testxpath.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: input_testxpath.dest1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: input_testxpath.dest1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -93 rows selected ->>> ->>> FROM src_thrift -INSERT OVERWRITE TABLE dest1 SELECT src_thrift.lint[1], src_thrift.lintstring[0].mystring, src_thrift.mstringstring['key_2']; -'_c0','mystring','_c2' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','value','mapvalue' -'0','0','' -'2','1','' -'4','8','value_2' -'6','27','' -'8','64','' -'10','125','' -'12','216','' -'14','343','' -'16','512','' -'18','729','' -'','','' -11 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/input_testxpath2.q.out ql/src/test/results/beelinepositive/input_testxpath2.q.out deleted file mode 100644 index a15a12b..0000000 --- ql/src/test/results/beelinepositive/input_testxpath2.q.out +++ /dev/null @@ -1,127 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/input_testxpath2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/input_testxpath2.q ->>> CREATE TABLE dest1(lint_size INT, lintstring_size INT, mstringstring_size INT) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src_thrift -INSERT OVERWRITE TABLE dest1 SELECT size(src_thrift.lint), size(src_thrift.lintstring), size(src_thrift.mstringstring) where src_thrift.lint IS NOT NULL AND NOT (src_thrift.mstringstring IS NULL); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src_thrift))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION size (. (TOK_TABLE_OR_COL src_thrift) lint))) (TOK_SELEXPR (TOK_FUNCTION size (. (TOK_TABLE_OR_COL src_thrift) lintstring))) (TOK_SELEXPR (TOK_FUNCTION size (. (TOK_TABLE_OR_COL src_thrift) mstringstring)))) (TOK_WHERE (AND (TOK_FUNCTION TOK_ISNOTNULL (. (TOK_TABLE_OR_COL src_thrift) lint)) (NOT (TOK_FUNCTION TOK_ISNULL (. (TOK_TABLE_OR_COL src_thrift) mstringstring)))))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src_thrift ' -' TableScan' -' alias: src_thrift' -' Filter Operator' -' predicate:' -' expr: (lint is not null and (not mstringstring is null))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: size(lint)' -' type: int' -' expr: size(lintstring)' -' type: int' -' expr: size(mstringstring)' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: input_testxpath2.dest1' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: input_testxpath2.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: input_testxpath2.dest1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: input_testxpath2.dest1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -97 rows selected ->>> ->>> FROM src_thrift -INSERT OVERWRITE TABLE dest1 SELECT size(src_thrift.lint), size(src_thrift.lintstring), size(src_thrift.mstringstring) where src_thrift.lint IS NOT NULL AND NOT (src_thrift.mstringstring IS NULL); -'_c0','_c1','_c2' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'lint_size','lintstring_size','mstringstring_size' -'3','1','1' -'3','1','1' -'3','1','1' -'3','1','1' -'3','1','1' -'3','1','1' -'3','1','1' -'3','1','1' -'3','1','1' -'3','1','1' -10 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/inputddl1.q.out ql/src/test/results/beelinepositive/inputddl1.q.out deleted file mode 100644 index a07725d..0000000 --- ql/src/test/results/beelinepositive/inputddl1.q.out +++ /dev/null @@ -1,33 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/inputddl1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/inputddl1.q ->>> EXPLAIN -CREATE TABLE INPUTDDL1(key INT, value STRING) STORED AS TEXTFILE; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_CREATETABLE (TOK_TABNAME INPUTDDL1) TOK_LIKETABLE (TOK_TABCOLLIST (TOK_TABCOL key TOK_INT) (TOK_TABCOL value TOK_STRING)) TOK_TBLTEXTFILE)' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Create Table Operator:' -' Create Table' -' columns: key int, value string' -' if not exists: false' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' # buckets: -1' -' output format: org.apache.hadoop.hive.ql.io.IgnoreKeyTextOutputFormat' -' name: INPUTDDL1' -' isExternal: false' -'' -'' -19 rows selected ->>> ->>> CREATE TABLE INPUTDDL1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> SELECT INPUTDDL1.* from INPUTDDL1; -'key','value' -No rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/inputddl2.q.out ql/src/test/results/beelinepositive/inputddl2.q.out deleted file mode 100644 index 4a6fd11..0000000 --- ql/src/test/results/beelinepositive/inputddl2.q.out +++ /dev/null @@ -1,38 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/inputddl2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/inputddl2.q ->>> EXPLAIN -CREATE TABLE INPUTDDL2(key INT, value STRING) PARTITIONED BY(ds STRING, country STRING) STORED AS TEXTFILE; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_CREATETABLE (TOK_TABNAME INPUTDDL2) TOK_LIKETABLE (TOK_TABCOLLIST (TOK_TABCOL key TOK_INT) (TOK_TABCOL value TOK_STRING)) (TOK_TABLEPARTCOLS (TOK_TABCOLLIST (TOK_TABCOL ds TOK_STRING) (TOK_TABCOL country TOK_STRING))) TOK_TBLTEXTFILE)' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Create Table Operator:' -' Create Table' -' columns: key int, value string' -' if not exists: false' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' # buckets: -1' -' output format: org.apache.hadoop.hive.ql.io.IgnoreKeyTextOutputFormat' -' partition columns: ds string, country string' -' name: INPUTDDL2' -' isExternal: false' -'' -'' -20 rows selected ->>> CREATE TABLE INPUTDDL2(key INT, value STRING) PARTITIONED BY(ds STRING, country STRING) STORED AS TEXTFILE; -No rows affected ->>> DESCRIBE INPUTDDL2; -'col_name','data_type','comment' -'key','int','' -'value','string','' -'ds','string','' -'country','string','' -4 rows selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/inputddl3.q.out ql/src/test/results/beelinepositive/inputddl3.q.out deleted file mode 100644 index e1f9e15..0000000 --- ql/src/test/results/beelinepositive/inputddl3.q.out +++ /dev/null @@ -1,35 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/inputddl3.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/inputddl3.q ->>> EXPLAIN -CREATE TABLE INPUTDDL3(key INT, value STRING) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t' STORED AS TEXTFILE; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_CREATETABLE (TOK_TABNAME INPUTDDL3) TOK_LIKETABLE (TOK_TABCOLLIST (TOK_TABCOL key TOK_INT) (TOK_TABCOL value TOK_STRING)) (TOK_TABLEROWFORMAT (TOK_SERDEPROPS (TOK_TABLEROWFORMATFIELD '\t'))) TOK_TBLTEXTFILE)' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Create Table Operator:' -' Create Table' -' columns: key int, value string' -' field delimiter: ' -' if not exists: false' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' # buckets: -1' -' output format: org.apache.hadoop.hive.ql.io.IgnoreKeyTextOutputFormat' -' name: INPUTDDL3' -' isExternal: false' -'' -'' -20 rows selected ->>> CREATE TABLE INPUTDDL3(key INT, value STRING) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t' STORED AS TEXTFILE; -No rows affected ->>> DESCRIBE INPUTDDL3; -'col_name','data_type','comment' -'key','int','' -'value','string','' -2 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/inputddl4.q.out ql/src/test/results/beelinepositive/inputddl4.q.out deleted file mode 100644 index 3437cba..0000000 --- ql/src/test/results/beelinepositive/inputddl4.q.out +++ /dev/null @@ -1,40 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/inputddl4.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/inputddl4.q ->>> -- a simple test to test sorted/clustered syntax ->>> ->>> CREATE TABLE INPUTDDL4(viewTime STRING, userid INT, -page_url STRING, referrer_url STRING, -friends ARRAY, properties MAP, -ip STRING COMMENT 'IP Address of the User') -COMMENT 'This is the page view table' -PARTITIONED BY(ds STRING, country STRING) -CLUSTERED BY(userid) SORTED BY(viewTime) INTO 32 BUCKETS; -No rows affected ->>> DESCRIBE INPUTDDL4; -'col_name','data_type','comment' -'viewtime','string','' -'userid','int','' -'page_url','string','' -'referrer_url','string','' -'friends','array','' -'properties','map','' -'ip','string','IP Address of the User' -'ds','string','' -'country','string','' -9 rows selected ->>> DESCRIBE EXTENDED INPUTDDL4; -'col_name','data_type','comment' -'viewtime','string','' -'userid','int','' -'page_url','string','' -'referrer_url','string','' -'friends','array','' -'properties','map','' -'ip','string','IP Address of the User' -'ds','string','' -'country','string','' -'','','' -'Detailed Table Information','Table(tableName:inputddl4, dbName:inputddl4, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:viewtime, type:string, comment:null), FieldSchema(name:userid, type:int, comment:null), FieldSchema(name:page_url, type:string, comment:null), FieldSchema(name:referrer_url, type:string, comment:null), FieldSchema(name:friends, type:array, comment:null), FieldSchema(name:properties, type:map, comment:null), FieldSchema(name:ip, type:string, comment:IP Address of the User), FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:country, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/inputddl4.db/inputddl4, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:32, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[userid], sortCols:[Order(col:viewtime, order:1)], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:country, type:string, comment:null)], parameters:{transient_lastDdlTime=!!UNIXTIME!!, comment=This is the page view table}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -11 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/inputddl5.q.out ql/src/test/results/beelinepositive/inputddl5.q.out deleted file mode 100644 index b6eec78..0000000 --- ql/src/test/results/beelinepositive/inputddl5.q.out +++ /dev/null @@ -1,22 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/inputddl5.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/inputddl5.q ->>> -- test for internationalization ->>> -- kv4.txt contains the utf-8 character 0xE982B5E993AE which we are verifying later on ->>> CREATE TABLE INPUTDDL5(name STRING) STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/kv4.txt' INTO TABLE INPUTDDL5; -No rows affected ->>> DESCRIBE INPUTDDL5; -'col_name','data_type','comment' -'name','string','' -1 row selected ->>> SELECT INPUTDDL5.name from INPUTDDL5; -'name' -'??' -1 row selected ->>> SELECT count(1) FROM INPUTDDL5 WHERE INPUTDDL5.name = _UTF-8 0xE982B5E993AE; -'_c0' -'1' -1 row selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/inputddl6.q.out ql/src/test/results/beelinepositive/inputddl6.q.out deleted file mode 100644 index b672db0..0000000 --- ql/src/test/results/beelinepositive/inputddl6.q.out +++ /dev/null @@ -1,66 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/inputddl6.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/inputddl6.q ->>> -- test for describe extended table ->>> -- test for describe extended table partition ->>> -- test for alter table drop partition ->>> CREATE TABLE INPUTDDL6(KEY STRING, VALUE STRING) PARTITIONED BY(ds STRING) STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/kv1.txt' INTO TABLE INPUTDDL6 PARTITION (ds='2008-04-09'); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/kv1.txt' INTO TABLE INPUTDDL6 PARTITION (ds='2008-04-08'); -No rows affected ->>> DESCRIBE EXTENDED INPUTDDL6; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'ds','string','' -'','','' -'Detailed Table Information','Table(tableName:inputddl6, dbName:inputddl6, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/inputddl6.db/inputddl6, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:ds, type:string, comment:null)], parameters:{numPartitions=2, numFiles=2, transient_lastDdlTime=!!UNIXTIME!!, totalSize=11624, numRows=0, rawDataSize=0}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -5 rows selected ->>> DESCRIBE EXTENDED INPUTDDL6 PARTITION (ds='2008-04-08'); -'col_name','data_type','comment' -'key','string','' -'value','string','' -'ds','string','' -'','','' -'Detailed Partition Information','Partition(values:[2008-04-08], dbName:inputddl6, tableName:inputddl6, createTime:!!UNIXTIME!!, lastAccessTime:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/inputddl6.db/inputddl6/ds=2008-04-08, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), parameters:{numFiles=1, transient_lastDdlTime=!!UNIXTIME!!, totalSize=5812, numRows=0, rawDataSize=0})','' -5 rows selected ->>> SHOW PARTITIONS INPUTDDL6; -'partition' -'ds=2008-04-08' -'ds=2008-04-09' -2 rows selected ->>> ALTER TABLE INPUTDDL6 DROP PARTITION (ds='2008-04-08'); -No rows affected ->>> SHOW PARTITIONS INPUTDDL6; -'partition' -'ds=2008-04-09' -1 row selected ->>> EXPLAIN -DESCRIBE EXTENDED INPUTDDL6 PARTITION (ds='2008-04-09'); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_DESCTABLE (TOK_TABTYPE INPUTDDL6 (TOK_PARTSPEC (TOK_PARTVAL ds '2008-04-09'))) EXTENDED)' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -' Stage-1 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Describe Table Operator:' -' Describe Table' -' partition:' -' ds 2008-04-09' -' table: INPUTDDL6' -'' -' Stage: Stage-1' -' Fetch Operator' -' limit: -1' -'' -'' -20 rows selected ->>> DROP TABLE INPUTDDL6; -No rows affected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/inputddl7.q.out ql/src/test/results/beelinepositive/inputddl7.q.out deleted file mode 100644 index b214af7..0000000 --- ql/src/test/results/beelinepositive/inputddl7.q.out +++ /dev/null @@ -1,78 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/inputddl7.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/inputddl7.q ->>> -- test for loading into tables with the correct file format ->>> -- test for loading into partitions with the correct file format ->>> ->>> ->>> CREATE TABLE T1(name STRING) STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/kv1.txt' INTO TABLE T1; -No rows affected ->>> SELECT COUNT(1) FROM T1; -'_c0' -'500' -1 row selected ->>> ->>> ->>> CREATE TABLE T2(name STRING) STORED AS SEQUENCEFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/kv1.seq' INTO TABLE T2; -No rows affected ->>> SELECT COUNT(1) FROM T2; -'_c0' -'500' -1 row selected ->>> ->>> ->>> CREATE TABLE T3(name STRING) PARTITIONED BY(ds STRING) STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/kv1.txt' INTO TABLE T3 PARTITION (ds='2008-04-09'); -No rows affected ->>> SELECT COUNT(1) FROM T3 where T3.ds='2008-04-09'; -'_c0' -'500' -1 row selected ->>> ->>> ->>> CREATE TABLE T4(name STRING) PARTITIONED BY(ds STRING) STORED AS SEQUENCEFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/kv1.seq' INTO TABLE T4 PARTITION (ds='2008-04-09'); -No rows affected ->>> SELECT COUNT(1) FROM T4 where T4.ds='2008-04-09'; -'_c0' -'500' -1 row selected ->>> ->>> DESCRIBE EXTENDED T1; -'col_name','data_type','comment' -'name','string','' -'','','' -'Detailed Table Information','Table(tableName:t1, dbName:inputddl7, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:name, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/inputddl7.db/t1, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{numPartitions=0, numFiles=1, transient_lastDdlTime=!!UNIXTIME!!, totalSize=5812, numRows=0, rawDataSize=0}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -3 rows selected ->>> DESCRIBE EXTENDED T2; -'col_name','data_type','comment' -'name','string','' -'','','' -'Detailed Table Information','Table(tableName:t2, dbName:inputddl7, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:name, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/inputddl7.db/t2, inputFormat:org.apache.hadoop.mapred.SequenceFileInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{numPartitions=0, numFiles=1, transient_lastDdlTime=!!UNIXTIME!!, totalSize=10508, numRows=0, rawDataSize=0}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -3 rows selected ->>> DESCRIBE EXTENDED T3 PARTITION (ds='2008-04-09'); -'col_name','data_type','comment' -'name','string','' -'ds','string','' -'','','' -'Detailed Partition Information','Partition(values:[2008-04-09], dbName:inputddl7, tableName:t3, createTime:!!UNIXTIME!!, lastAccessTime:0, sd:StorageDescriptor(cols:[FieldSchema(name:name, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/inputddl7.db/t3/ds=2008-04-09, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), parameters:{numFiles=1, transient_lastDdlTime=!!UNIXTIME!!, totalSize=5812, numRows=0, rawDataSize=0})','' -4 rows selected ->>> DESCRIBE EXTENDED T4 PARTITION (ds='2008-04-09'); -'col_name','data_type','comment' -'name','string','' -'ds','string','' -'','','' -'Detailed Partition Information','Partition(values:[2008-04-09], dbName:inputddl7, tableName:t4, createTime:!!UNIXTIME!!, lastAccessTime:0, sd:StorageDescriptor(cols:[FieldSchema(name:name, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/inputddl7.db/t4/ds=2008-04-09, inputFormat:org.apache.hadoop.mapred.SequenceFileInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), parameters:{numFiles=1, transient_lastDdlTime=!!UNIXTIME!!, totalSize=10508, numRows=0, rawDataSize=0})','' -4 rows selected ->>> ->>> ->>> ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/inputddl8.q.out ql/src/test/results/beelinepositive/inputddl8.q.out deleted file mode 100644 index 8fcdbc2..0000000 --- ql/src/test/results/beelinepositive/inputddl8.q.out +++ /dev/null @@ -1,26 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/inputddl8.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/inputddl8.q ->>> ->>> CREATE TABLE INPUTDDL8 COMMENT 'This is a thrift based table' -PARTITIONED BY(ds STRING, country STRING) -CLUSTERED BY(aint) SORTED BY(lint) INTO 32 BUCKETS -ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.thrift.ThriftDeserializer' -WITH SERDEPROPERTIES ('serialization.class' = 'org.apache.hadoop.hive.serde2.thrift.test.Complex', -'serialization.format' = 'com.facebook.thrift.protocol.TBinaryProtocol') -STORED AS SEQUENCEFILE; -No rows affected ->>> DESCRIBE EXTENDED INPUTDDL8; -'col_name','data_type','comment' -'aint','int','from deserializer' -'astring','string','from deserializer' -'lint','array','from deserializer' -'lstring','array','from deserializer' -'lintstring','array>','from deserializer' -'mstringstring','map','from deserializer' -'ds','string','' -'country','string','' -'','','' -'Detailed Table Information','Table(tableName:inputddl8, dbName:inputddl8, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[], location:!!{hive.metastore.warehouse.dir}!!/inputddl8.db/inputddl8, inputFormat:org.apache.hadoop.mapred.SequenceFileInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat, compressed:false, numBuckets:32, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.thrift.ThriftDeserializer, parameters:{serialization.class=org.apache.hadoop.hive.serde2.thrift.test.Complex, serialization.format=com.facebook.thrift.protocol.TBinaryProtocol}), bucketCols:[aint], sortCols:[Order(col:lint, order:1)], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:country, type:string, comment:null)], parameters:{transient_lastDdlTime=!!UNIXTIME!!, comment=This is a thrift based table}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -10 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/insert1_overwrite_partitions.q.out ql/src/test/results/beelinepositive/insert1_overwrite_partitions.q.out deleted file mode 100644 index f026e66..0000000 --- ql/src/test/results/beelinepositive/insert1_overwrite_partitions.q.out +++ /dev/null @@ -1,259 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/insert1_overwrite_partitions.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/insert1_overwrite_partitions.q ->>> CREATE TABLE sourceTable (one string,two string) PARTITIONED BY (ds string,hr string); -No rows affected ->>> ->>> load data local inpath '../data/files/kv1.txt' INTO TABLE sourceTable partition(ds='2011-11-11', hr='11'); -No rows affected ->>> ->>> load data local inpath '../data/files/kv3.txt' INTO TABLE sourceTable partition(ds='2011-11-11', hr='12'); -No rows affected ->>> ->>> CREATE TABLE destinTable (one string,two string) PARTITIONED BY (ds string,hr string); -No rows affected ->>> ->>> EXPLAIN INSERT OVERWRITE TABLE destinTable PARTITION (ds='2011-11-11', hr='11') if not exists -SELECT one,two FROM sourceTable WHERE ds='2011-11-11' AND hr='11' order by one desc, two desc limit 5; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME sourceTable))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME destinTable) (TOK_PARTSPEC (TOK_PARTVAL ds '2011-11-11') (TOK_PARTVAL hr '11'))) TOK_IFNOTEXISTS) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL one)) (TOK_SELEXPR (TOK_TABLE_OR_COL two))) (TOK_WHERE (AND (= (TOK_TABLE_OR_COL ds) '2011-11-11') (= (TOK_TABLE_OR_COL hr) '11'))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEDESC (TOK_TABLE_OR_COL one)) (TOK_TABSORTCOLNAMEDESC (TOK_TABLE_OR_COL two))) (TOK_LIMIT 5)))' -'' -'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' -' Map Reduce' -' Alias -> Map Operator Tree:' -' sourcetable ' -' TableScan' -' alias: sourcetable' -' Select Operator' -' expressions:' -' expr: one' -' type: string' -' expr: two' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: --' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: --' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: insert1_overwrite_partitions.destintable' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' partition:' -' ds 2011-11-11' -' hr 11' -' 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: insert1_overwrite_partitions.destintable' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -'' -92 rows selected ->>> ->>> INSERT OVERWRITE TABLE destinTable PARTITION (ds='2011-11-11', hr='11') if not exists -SELECT one,two FROM sourceTable WHERE ds='2011-11-11' AND hr='11' order by one desc, two desc limit 5; -'one','two' -No rows selected ->>> ->>> select one,two from destinTable order by one desc, two desc; -'one','two' -'98','val_98' -'98','val_98' -'97','val_97' -'97','val_97' -'96','val_96' -5 rows selected ->>> ->>> EXPLAIN INSERT OVERWRITE TABLE destinTable PARTITION (ds='2011-11-11', hr='11') if not exists -SELECT one,two FROM sourceTable WHERE ds='2011-11-11' AND hr='12' order by one desc, two desc limit 5; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME sourceTable))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME destinTable) (TOK_PARTSPEC (TOK_PARTVAL ds '2011-11-11') (TOK_PARTVAL hr '11'))) TOK_IFNOTEXISTS) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL one)) (TOK_SELEXPR (TOK_TABLE_OR_COL two))) (TOK_WHERE (AND (= (TOK_TABLE_OR_COL ds) '2011-11-11') (= (TOK_TABLE_OR_COL hr) '12'))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEDESC (TOK_TABLE_OR_COL one)) (TOK_TABSORTCOLNAMEDESC (TOK_TABLE_OR_COL two))) (TOK_LIMIT 5)))' -'' -'STAGE DEPENDENCIES:' -'' -'STAGE PLANS:' -'STAGE PLANS:' -7 rows selected ->>> ->>> INSERT OVERWRITE TABLE destinTable PARTITION (ds='2011-11-11', hr='11') if not exists -SELECT one,two FROM sourceTable WHERE ds='2011-11-11' AND hr='12' order by one desc, two desc limit 5; -No rows affected ->>> ->>> select one,two from destinTable order by one desc, two desc; -'one','two' -'98','val_98' -'98','val_98' -'97','val_97' -'97','val_97' -'96','val_96' -5 rows selected ->>> ->>> drop table destinTable; -No rows affected ->>> ->>> CREATE TABLE destinTable (one string,two string); -No rows affected ->>> ->>> EXPLAIN INSERT OVERWRITE TABLE destinTable SELECT one,two FROM sourceTable WHERE ds='2011-11-11' AND hr='11' order by one desc, two desc limit 5; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME sourceTable))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME destinTable))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL one)) (TOK_SELEXPR (TOK_TABLE_OR_COL two))) (TOK_WHERE (AND (= (TOK_TABLE_OR_COL ds) '2011-11-11') (= (TOK_TABLE_OR_COL hr) '11'))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEDESC (TOK_TABLE_OR_COL one)) (TOK_TABSORTCOLNAMEDESC (TOK_TABLE_OR_COL two))) (TOK_LIMIT 5)))' -'' -'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' -' Map Reduce' -' Alias -> Map Operator Tree:' -' sourcetable ' -' TableScan' -' alias: sourcetable' -' Select Operator' -' expressions:' -' expr: one' -' type: string' -' expr: two' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: --' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: --' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: insert1_overwrite_partitions.destintable' -'' -' 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: insert1_overwrite_partitions.destintable' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -'' -89 rows selected ->>> ->>> INSERT OVERWRITE TABLE destinTable SELECT one,two FROM sourceTable WHERE ds='2011-11-11' AND hr='11' order by one desc, two desc limit 5; -'one','two' -No rows selected ->>> ->>> drop table destinTable; -No rows affected ->>> ->>> drop table sourceTable; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/insert_compressed.q.out ql/src/test/results/beelinepositive/insert_compressed.q.out deleted file mode 100644 index 70a6585..0000000 --- ql/src/test/results/beelinepositive/insert_compressed.q.out +++ /dev/null @@ -1,37 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/insert_compressed.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/insert_compressed.q ->>> set hive.exec.compress.output=true; -No rows affected ->>> ->>> drop table insert_compressed; -No rows affected ->>> create table insert_compressed (key int, value string); -No rows affected ->>> ->>> insert overwrite table insert_compressed select * from src; -'_col0','_col1' -No rows selected ->>> select count(*) from insert_compressed; -'_c0' -'500' -1 row selected ->>> ->>> insert into table insert_compressed select * from src; -'_col0','_col1' -No rows selected ->>> select count(*) from insert_compressed; -'_c0' -'500' -1 row selected ->>> ->>> insert into table insert_compressed select * from src; -'_col0','_col1' -No rows selected ->>> select count(*) from insert_compressed; -'_c0' -'500' -1 row selected ->>> ->>> drop table insert_compressed; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/insert_into1.q.out ql/src/test/results/beelinepositive/insert_into1.q.out deleted file mode 100644 index 5919dde..0000000 --- ql/src/test/results/beelinepositive/insert_into1.q.out +++ /dev/null @@ -1,248 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/insert_into1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/insert_into1.q ->>> DROP TABLE insert_into1; -No rows affected ->>> ->>> CREATE TABLE insert_into1 (key int, value string); -No rows affected ->>> ->>> EXPLAIN INSERT INTO TABLE insert_into1 SELECT * from src LIMIT 100; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_INSERT_INTO (TOK_TAB (TOK_TABNAME insert_into1))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_LIMIT 100)))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: insert_into1.insert_into1' -'' -' 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: insert_into1.insert_into1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -64 rows selected ->>> INSERT INTO TABLE insert_into1 SELECT * from src LIMIT 100; -'_col0','_col1' -No rows selected ->>> SELECT SUM(HASH(c)) FROM ( -SELECT TRANSFORM(*) USING 'tr \t _' AS (c) FROM insert_into1 -) t; -'_c0' -'10226524244' -1 row selected ->>> ->>> EXPLAIN INSERT INTO TABLE insert_into1 SELECT * FROM src LIMIT 100; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_INSERT_INTO (TOK_TAB (TOK_TABNAME insert_into1))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_LIMIT 100)))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: insert_into1.insert_into1' -'' -' 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: insert_into1.insert_into1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -64 rows selected ->>> INSERT INTO TABLE insert_into1 SELECT * FROM src LIMIT 100; -'_col0','_col1' -No rows selected ->>> SELECT SUM(HASH(c)) FROM ( -SELECT TRANSFORM(*) USING 'tr \t _' AS (c) FROM insert_into1 -) t; -'_c0' -'10226524244' -1 row selected ->>> ->>> SELECT COUNT(*) FROM insert_into1; -'_c0' -'100' -1 row selected ->>> ->>> EXPLAIN INSERT OVERWRITE TABLE insert_into1 SELECT * FROM src LIMIT 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME insert_into1))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_LIMIT 10)))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: insert_into1.insert_into1' -'' -' 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: insert_into1.insert_into1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -64 rows selected ->>> INSERT OVERWRITE TABLE insert_into1 SELECT * FROM src LIMIT 10; -'_col0','_col1' -No rows selected ->>> SELECT SUM(HASH(c)) FROM ( -SELECT TRANSFORM(*) USING 'tr \t _' AS (c) FROM insert_into1 -) t; -'_c0' -'-826625916' -1 row selected ->>> ->>> ->>> DROP TABLE insert_into1; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/insert_into2.q.out ql/src/test/results/beelinepositive/insert_into2.q.out deleted file mode 100644 index 84d02ad..0000000 --- ql/src/test/results/beelinepositive/insert_into2.q.out +++ /dev/null @@ -1,261 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/insert_into2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/insert_into2.q ->>> DROP TABLE insert_into2; -No rows affected ->>> CREATE TABLE insert_into2 (key int, value string) -PARTITIONED BY (ds string); -No rows affected ->>> ->>> EXPLAIN INSERT INTO TABLE insert_into2 PARTITION (ds='1') -SELECT * FROM src LIMIT 100; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_INSERT_INTO (TOK_TAB (TOK_TABNAME insert_into2) (TOK_PARTSPEC (TOK_PARTVAL ds '1')))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_LIMIT 100)))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: insert_into2.insert_into2' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' partition:' -' ds 1' -' 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: insert_into2.insert_into2' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -66 rows selected ->>> INSERT INTO TABLE insert_into2 PARTITION (ds='1') SELECT * FROM src limit 100; -'_col0','_col1' -No rows selected ->>> INSERT INTO TABLE insert_into2 PARTITION (ds='1') SELECT * FROM src limit 100; -'_col0','_col1' -No rows selected ->>> SELECT COUNT(*) FROM insert_into2 WHERE ds='1'; -'_c0' -'100' -1 row selected ->>> SELECT SUM(HASH(c)) FROM ( -SELECT TRANSFORM(*) USING 'tr \t _' AS (c) FROM insert_into2 -) t; -'_c0' -'-12079977252' -1 row selected ->>> ->>> EXPLAIN INSERT OVERWRITE TABLE insert_into2 PARTITION (ds='2') -SELECT * FROM src LIMIT 100; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME insert_into2) (TOK_PARTSPEC (TOK_PARTVAL ds '2')))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_LIMIT 100)))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: insert_into2.insert_into2' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' partition:' -' ds 2' -' 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: insert_into2.insert_into2' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -66 rows selected ->>> INSERT OVERWRITE TABLE insert_into2 PARTITION (ds='2') -SELECT * FROM src LIMIT 100; -'_col0','_col1' -No rows selected ->>> ->>> SELECT SUM(HASH(c)) FROM ( -SELECT TRANSFORM(*) USING 'tr \t _' AS (c) FROM insert_into2 -) t; -'_c0' -'-24159954404' -1 row selected ->>> ->>> EXPLAIN INSERT OVERWRITE TABLE insert_into2 PARTITION (ds='2') -SELECT * FROM src LIMIT 50; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME insert_into2) (TOK_PARTSPEC (TOK_PARTVAL ds '2')))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_LIMIT 50)))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: insert_into2.insert_into2' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' partition:' -' ds 2' -' 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: insert_into2.insert_into2' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -66 rows selected ->>> INSERT OVERWRITE TABLE insert_into2 PARTITION (ds='2') -SELECT * FROM src LIMIT 50; -'_col0','_col1' -No rows selected ->>> SELECT SUM(HASH(c)) FROM ( -SELECT TRANSFORM(*) USING 'tr \t _' AS (c) FROM insert_into2 -) t; -'_c0' -'-15020882804' -1 row selected ->>> ->>> DROP TABLE insert_into2; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/insert_into3.q.out ql/src/test/results/beelinepositive/insert_into3.q.out deleted file mode 100644 index 0365204..0000000 --- ql/src/test/results/beelinepositive/insert_into3.q.out +++ /dev/null @@ -1,309 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/insert_into3.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/insert_into3.q ->>> DROP TABLE insert_into3a; -No rows affected ->>> DROP TABLE insert_into3b; -No rows affected ->>> ->>> CREATE TABLE insert_into3a (key int, value string); -No rows affected ->>> CREATE TABLE insert_into3b (key int, value string); -No rows affected ->>> ->>> EXPLAIN FROM src INSERT INTO TABLE insert_into3a SELECT * LIMIT 50 -INSERT INTO TABLE insert_into3b SELECT * LIMIT 100; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_INSERT_INTO (TOK_TAB (TOK_TABNAME insert_into3a))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_LIMIT 50)) (TOK_INSERT (TOK_INSERT_INTO (TOK_TAB (TOK_TABNAME insert_into3b))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_LIMIT 100)))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-0 depends on stages: Stage-2' -' Stage-3 depends on stages: Stage-0' -' Stage-4 depends on stages: Stage-2' -' Stage-1 depends on stages: Stage-4' -' Stage-5 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Reduce Operator Tree:' -' Extract' -' Limit' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: insert_into3.insert_into3a' -'' -' 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: insert_into3.insert_into3a' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: insert_into3.insert_into3b' -'' -' Stage: Stage-1' -' 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: insert_into3.insert_into3b' -'' -' Stage: Stage-5' -' Stats-Aggr Operator' -'' -'' -125 rows selected ->>> FROM src INSERT INTO TABLE insert_into3a SELECT * LIMIT 50 -INSERT INTO TABLE insert_into3b SELECT * LIMIT 100; -'_col0','_col1' -No rows selected ->>> SELECT SUM(HASH(c)) FROM ( -SELECT TRANSFORM(*) USING 'tr \t _' AS (c) FROM insert_into3a -) t; -'_c0' -'7813690682' -1 row selected ->>> SELECT SUM(HASH(c)) FROM ( -SELECT TRANSFORM(*) USING 'tr \t _' AS (c) FROM insert_into3b -) t; -'_c0' -'10226524244' -1 row selected ->>> ->>> EXPLAIN FROM src INSERT OVERWRITE TABLE insert_into3a SELECT * LIMIT 10 -INSERT INTO TABLE insert_into3b SELECT * LIMIT 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME insert_into3a))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_LIMIT 10)) (TOK_INSERT (TOK_INSERT_INTO (TOK_TAB (TOK_TABNAME insert_into3b))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_LIMIT 10)))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-0 depends on stages: Stage-2' -' Stage-3 depends on stages: Stage-0' -' Stage-4 depends on stages: Stage-2' -' Stage-1 depends on stages: Stage-4' -' Stage-5 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Reduce Operator Tree:' -' Extract' -' Limit' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: insert_into3.insert_into3a' -'' -' 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: insert_into3.insert_into3a' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: insert_into3.insert_into3b' -'' -' Stage: Stage-1' -' 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: insert_into3.insert_into3b' -'' -' Stage: Stage-5' -' Stats-Aggr Operator' -'' -'' -125 rows selected ->>> FROM src INSERT OVERWRITE TABLE insert_into3a SELECT * LIMIT 10 -INSERT INTO TABLE insert_into3b SELECT * LIMIT 10; -'_col0','_col1' -No rows selected ->>> SELECT SUM(HASH(c)) FROM ( -SELECT TRANSFORM(*) USING 'tr \t _' AS (c) FROM insert_into3a -) t; -'_c0' -'-826625916' -1 row selected ->>> SELECT SUM(HASH(c)) FROM ( -SELECT TRANSFORM(*) USING 'tr \t _' AS (c) FROM insert_into3b -) t; -'_c0' -'-826625916' -1 row selected ->>> ->>> DROP TABLE insert_into3a; -No rows affected ->>> DROP TABLE insert_into3b; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/insert_into4.q.out ql/src/test/results/beelinepositive/insert_into4.q.out deleted file mode 100644 index 925c7b6..0000000 --- ql/src/test/results/beelinepositive/insert_into4.q.out +++ /dev/null @@ -1,280 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/insert_into4.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/insert_into4.q ->>> set hive.merge.smallfiles.avgsize=16000000; -No rows affected ->>> ->>> DROP TABLE insert_into4a; -No rows affected ->>> DROP TABLE insert_into4b; -No rows affected ->>> ->>> CREATE TABLE insert_into4a (key int, value string); -No rows affected ->>> CREATE TABLE insert_into4b (key int, value string); -No rows affected ->>> ->>> EXPLAIN INSERT INTO TABLE insert_into4a SELECT * FROM src LIMIT 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_INSERT_INTO (TOK_TAB (TOK_TABNAME insert_into4a))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_LIMIT 10)))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: insert_into4.insert_into4a' -'' -' 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: insert_into4.insert_into4a' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -64 rows selected ->>> INSERT INTO TABLE insert_into4a SELECT * FROM src LIMIT 10; -'_col0','_col1' -No rows selected ->>> SELECT SUM(HASH(c)) FROM ( -SELECT TRANSFORM(*) USING 'tr \t _' AS (c) FROM insert_into4a -) t; -'_c0' -'-826625916' -1 row selected ->>> ->>> EXPLAIN INSERT INTO TABLE insert_into4a SELECT * FROM src LIMIT 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_INSERT_INTO (TOK_TAB (TOK_TABNAME insert_into4a))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_LIMIT 10)))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: insert_into4.insert_into4a' -'' -' 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: insert_into4.insert_into4a' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -64 rows selected ->>> INSERT INTO TABLE insert_into4a SELECT * FROM src LIMIT 10; -'_col0','_col1' -No rows selected ->>> SELECT SUM(HASH(c)) FROM ( -SELECT TRANSFORM(*) USING 'tr \t _' AS (c) FROM insert_into4a -) t; -'_c0' -'-826625916' -1 row selected ->>> ->>> --At this point insert_into4a has 2 files (if INSERT INTO merges isn't fixed) ->>> ->>> EXPLAIN INSERT INTO TABLE insert_into4b SELECT * FROM insert_into4a; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME insert_into4a))) (TOK_INSERT (TOK_INSERT_INTO (TOK_TAB (TOK_TABNAME insert_into4b))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'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' -' Alias -> Map Operator Tree:' -' insert_into4a ' -' TableScan' -' alias: insert_into4a' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: insert_into4.insert_into4b' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: insert_into4.insert_into4b' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: insert_into4.insert_into4b' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: insert_into4.insert_into4b' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -91 rows selected ->>> INSERT INTO TABLE insert_into4b SELECT * FROM insert_into4a; -'key','value' -No rows selected ->>> SELECT SUM(HASH(c)) FROM ( -SELECT TRANSFORM(*) USING 'tr \t _' AS (c) FROM insert_into4b -) t; -'_c0' -'-826625916' -1 row selected ->>> ->>> DROP TABLE insert_into4a; -No rows affected ->>> DROP TABLE insert_into4b; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/insert_into5.q.out ql/src/test/results/beelinepositive/insert_into5.q.out deleted file mode 100644 index 5b75df7..0000000 --- ql/src/test/results/beelinepositive/insert_into5.q.out +++ /dev/null @@ -1,404 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/insert_into5.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/insert_into5.q ->>> DROP TABLE insert_into5a; -No rows affected ->>> DROP TABLE insert_into5b; -No rows affected ->>> ->>> CREATE TABLE insert_into5a (key int, value string); -No rows affected ->>> CREATE TABLE insert_into5b (key int, value string) PARTITIONED BY (ds string); -No rows affected ->>> ->>> EXPLAIN INSERT INTO TABLE insert_into5a SELECT 1, 'one' FROM src LIMIT 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_INSERT_INTO (TOK_TAB (TOK_TABNAME insert_into5a))) (TOK_SELECT (TOK_SELEXPR 1) (TOK_SELEXPR 'one')) (TOK_LIMIT 10)))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: 1' -' type: int' -' expr: 'one'' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: insert_into5.insert_into5a' -'' -' 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: insert_into5.insert_into5a' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -57 rows selected ->>> INSERT INTO TABLE insert_into5a SELECT 1, 'one' FROM src LIMIT 10; -'_c0','_c1' -No rows selected ->>> SELECT SUM(HASH(c)) FROM ( -SELECT TRANSFORM(*) USING 'tr \t _' AS (c) FROM insert_into5a -) t; -'_c0' -'481928560' -1 row selected ->>> ->>> EXPLAIN INSERT INTO TABLE insert_into5a SELECT * FROM insert_into5a; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME insert_into5a))) (TOK_INSERT (TOK_INSERT_INTO (TOK_TAB (TOK_TABNAME insert_into5a))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'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' -' Alias -> Map Operator Tree:' -' insert_into5a ' -' TableScan' -' alias: insert_into5a' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: insert_into5.insert_into5a' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: insert_into5.insert_into5a' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: insert_into5.insert_into5a' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: insert_into5.insert_into5a' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -91 rows selected ->>> INSERT INTO TABLE insert_into5a SELECT * FROM insert_into5a; -'key','value' -No rows selected ->>> SELECT SUM(HASH(c)) FROM ( -SELECT TRANSFORM(*) USING 'tr \t _' AS (c) FROM insert_into5a -) t; -'_c0' -'481928560' -1 row selected ->>> ->>> EXPLAIN INSERT INTO TABLE insert_into5b PARTITION (ds='1') -SELECT * FROM insert_into5a; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME insert_into5a))) (TOK_INSERT (TOK_INSERT_INTO (TOK_TAB (TOK_TABNAME insert_into5b) (TOK_PARTSPEC (TOK_PARTVAL ds '1')))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'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' -' Alias -> Map Operator Tree:' -' insert_into5a ' -' TableScan' -' alias: insert_into5a' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: insert_into5.insert_into5b' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' partition:' -' ds 1' -' 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: insert_into5.insert_into5b' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: insert_into5.insert_into5b' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: insert_into5.insert_into5b' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -93 rows selected ->>> INSERT INTO TABLE insert_into5b PARTITION (ds='1') SELECT * FROM insert_into5a; -'key','value' -No rows selected ->>> SELECT SUM(HASH(c)) FROM ( -SELECT TRANSFORM(*) USING 'tr \t _' AS (c) FROM insert_into5b -) t; -'_c0' -'-9313026460' -1 row selected ->>> ->>> EXPLAIN INSERT INTO TABLE insert_into5b PARTITION (ds='1') -SELECT key, value FROM insert_into5b; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME insert_into5b))) (TOK_INSERT (TOK_INSERT_INTO (TOK_TAB (TOK_TABNAME insert_into5b) (TOK_PARTSPEC (TOK_PARTVAL ds '1')))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' insert_into5b ' -' TableScan' -' alias: insert_into5b' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: insert_into5.insert_into5b' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' partition:' -' ds 1' -' 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: insert_into5.insert_into5b' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: insert_into5.insert_into5b' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: insert_into5.insert_into5b' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -93 rows selected ->>> INSERT INTO TABLE insert_into5b PARTITION (ds='1') -SELECT key, value FROM insert_into5b; -'key','value' -No rows selected ->>> SELECT SUM(HASH(c)) FROM ( -SELECT TRANSFORM(*) USING 'tr \t _' AS (c) FROM insert_into5b -) t; -'_c0' -'-9313026460' -1 row selected ->>> ->>> DROP TABLE insert_into5a; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/insert_into6.q.out ql/src/test/results/beelinepositive/insert_into6.q.out deleted file mode 100644 index 84e96b5..0000000 --- ql/src/test/results/beelinepositive/insert_into6.q.out +++ /dev/null @@ -1,220 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/insert_into6.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/insert_into6.q ->>> set hive.exec.dynamic.partition.mode=nonstrict; -No rows affected ->>> set hive.exec.dynamic.partition=true; -No rows affected ->>> ->>> DROP TABLE insert_into6a; -No rows affected ->>> DROP TABLE insert_into6b; -No rows affected ->>> CREATE TABLE insert_into6a (key int, value string) PARTITIONED BY (ds string); -No rows affected ->>> CREATE TABLE insert_into6b (key int, value string) PARTITIONED BY (ds string); -No rows affected ->>> ->>> EXPLAIN INSERT INTO TABLE insert_into6a PARTITION (ds='1') -SELECT * FROM src LIMIT 150; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_INSERT_INTO (TOK_TAB (TOK_TABNAME insert_into6a) (TOK_PARTSPEC (TOK_PARTVAL ds '1')))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_LIMIT 150)))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: insert_into6.insert_into6a' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' partition:' -' ds 1' -' 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: insert_into6.insert_into6a' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -66 rows selected ->>> INSERT INTO TABLE insert_into6a PARTITION (ds='1') SELECT * FROM src LIMIT 150; -'_col0','_col1' -No rows selected ->>> INSERT INTO TABLE insert_into6a PARTITION (ds='2') SELECT * FROM src LIMIT 100; -'_col0','_col1' -No rows selected ->>> SELECT SUM(HASH(c)) FROM ( -SELECT TRANSFORM(*) USING 'tr \t _' AS (c) FROM insert_into6a -) t; -'_c0' -'-35226404960' -1 row selected ->>> ->>> EXPLAIN INSERT INTO TABLE insert_into6b PARTITION (ds) -SELECT * FROM insert_into6a; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME insert_into6a))) (TOK_INSERT (TOK_INSERT_INTO (TOK_TAB (TOK_TABNAME insert_into6b) (TOK_PARTSPEC (TOK_PARTVAL ds)))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'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' -' Alias -> Map Operator Tree:' -' insert_into6a ' -' TableScan' -' alias: insert_into6a' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: insert_into6.insert_into6b' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' partition:' -' ds ' -' 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: insert_into6.insert_into6b' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: insert_into6.insert_into6b' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: insert_into6.insert_into6b' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -95 rows selected ->>> INSERT INTO TABLE insert_into6b PARTITION (ds) SELECT * FROM insert_into6a; -'key','value','ds' -No rows selected ->>> SELECT SUM(HASH(c)) FROM ( -SELECT TRANSFORM(*) USING 'tr \t _' AS (c) FROM insert_into6b -) t; -'_c0' -'-35226404960' -1 row selected ->>> ->>> SHOW PARTITIONS insert_into6b; -'partition' -'ds=1' -'ds=2' -2 rows selected ->>> ->>> DROP TABLE insert_into6a; -No rows affected ->>> DROP TABLE insert_into6b; -No rows affected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/join0.q.out ql/src/test/results/beelinepositive/join0.q.out deleted file mode 100644 index 0c732a5..0000000 --- ql/src/test/results/beelinepositive/join0.q.out +++ /dev/null @@ -1,255 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join0.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join0.q ->>> EXPLAIN -SELECT src1.key as k1, src1.value as v1, -src2.key as k2, src2.value as v2 FROM -(SELECT * FROM src WHERE src.key < 10) src1 -JOIN -(SELECT * FROM src WHERE src.key < 10) src2 -SORT BY k1, v1, k2, v2; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (< (. (TOK_TABLE_OR_COL src) key) 10)))) src1) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (< (. (TOK_TABLE_OR_COL src) key) 10)))) src2))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key) k1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) value) v1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) key) k2) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) value) v2)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL k1)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL v1)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL k2)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL v2)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 10.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' sort order: ' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' src2:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 10.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' sort order: ' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' sort order: ++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -122 rows selected ->>> ->>> EXPLAIN FORMATTED -SELECT src1.key as k1, src1.value as v1, -src2.key as k2, src2.value as v2 FROM -(SELECT * FROM src WHERE src.key < 10) src1 -JOIN -(SELECT * FROM src WHERE src.key < 10) src2 -SORT BY k1, v1, k2, v2; -'Explain' -'{"STAGE PLANS":{"Stage-2":{"Map Reduce":{"Reduce Operator Tree:":{"OP_!!ELIDED!!":{"FS_!!ELIDED!!":{"File Output Operator":{"GlobalTableId:":"0","compressed:":"false","table:":{"input format:":"org.apache.hadoop.mapred.TextInputFormat","output format:":"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat"}}}}},"Alias -> Map Operator Tree:":{"file:!!{hive.exec.scratchdir}!!":{"TS_!!ELIDED!!":{"RS_!!ELIDED!!":{"Reduce Output Operator":{"Map-reduce partition columns:":"","sort order:":"++++","tag:":"-1","value expressions:":"{\"type:\":\"string\",\"expr:\":\"_col0\"}, {\"type:\":\"string\",\"expr:\":\"_col1\"}, {\"type:\":\"string\",\"expr:\":\"_col2\"}, {\"type:\":\"string\",\"expr:\":\"_col3\"}","key expressions:":"{\"type:\":\"string\",\"expr:\":\"_col0\"}, {\"type:\":\"string\",\"expr:\":\"_col1\"}, {\"type:\":\"string\",\"expr:\":\"_col2\"}, {\"type:\":\"string\",\"expr:\":\"_col3\"}"}}}}},"Percentage Sample:":{}}},"Stage-1":{"Map Reduce":{"Reduce Operator Tree:":{"JOIN_!!ELIDED!!":{"SEL_!!ELIDED!!":{"FS_!!ELIDED!!":{"File Output Operator":{"GlobalTableId:":"0","compressed:":"false","table:":{"input format:":"org.apache.hadoop.mapred.SequenceFileInputFormat","output format:":"org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat"}}}}}},"Alias -> Map Operator Tree:":{"src2:src":{"TS_!!ELIDED!!":{"FIL_!!ELIDED!!":{"SEL_!!ELIDED!!":{"RS_!!ELIDED!!":{"Reduce Output Operator":{"Map-reduce partition columns:":"","sort order:":"","tag:":"1","value expressions:":"{\"type:\":\"string\",\"expr:\":\"_col0\"}, {\"type:\":\"string\",\"expr:\":\"_col1\"}","key expressions:":""}}}}}},"src1:src":{"TS_!!ELIDED!!":{"FIL_!!ELIDED!!":{"SEL_!!ELIDED!!":{"RS_!!ELIDED!!":{"Reduce Output Operator":{"Map-reduce partition columns:":"","sort order:":"","tag:":"0","value expressions:":"{\"type:\":\"string\",\"expr:\":\"_col0\"}, {\"type:\":\"string\",\"expr:\":\"_col1\"}","key expressions:":""}}}}}}},"Percentage Sample:":{}}},"Stage-0":{"Fetch Operator":{"limit:":"-1"}}},"STAGE DEPENDENCIES":{"Stage-2":{"DEPENDENT STAGES":"Stage-1"},"Stage-1":{"ROOT STAGE":"TRUE"},"Stage-0":{"ROOT STAGE":"TRUE"}},"ABSTRACT SYNTAX TREE":"(TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (< (. (TOK_TABLE_OR_COL src) key) 10)))) src1) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (< (. (TOK_TABLE_OR_COL src) key) 10)))) src2))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key) k1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) value) v1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) key) k2) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) value) v2)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL k1)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL v1)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL k2)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL v2)))))"}' -1 row selected ->>> ->>> SELECT src1.key as k1, src1.value as v1, -src2.key as k2, src2.value as v2 FROM -(SELECT * FROM src WHERE src.key < 10) src1 -JOIN -(SELECT * FROM src WHERE src.key < 10) src2 -SORT BY k1, v1, k2, v2; -'k1','v1','k2','v2' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','2','val_2' -'0','val_0','2','val_2' -'0','val_0','2','val_2' -'0','val_0','4','val_4' -'0','val_0','4','val_4' -'0','val_0','4','val_4' -'0','val_0','5','val_5' -'0','val_0','5','val_5' -'0','val_0','5','val_5' -'0','val_0','5','val_5' -'0','val_0','5','val_5' -'0','val_0','5','val_5' -'0','val_0','5','val_5' -'0','val_0','5','val_5' -'0','val_0','5','val_5' -'0','val_0','8','val_8' -'0','val_0','8','val_8' -'0','val_0','8','val_8' -'0','val_0','9','val_9' -'0','val_0','9','val_9' -'0','val_0','9','val_9' -'2','val_2','0','val_0' -'2','val_2','0','val_0' -'2','val_2','0','val_0' -'2','val_2','2','val_2' -'2','val_2','4','val_4' -'2','val_2','5','val_5' -'2','val_2','5','val_5' -'2','val_2','5','val_5' -'2','val_2','8','val_8' -'2','val_2','9','val_9' -'4','val_4','0','val_0' -'4','val_4','0','val_0' -'4','val_4','0','val_0' -'4','val_4','2','val_2' -'4','val_4','4','val_4' -'4','val_4','5','val_5' -'4','val_4','5','val_5' -'4','val_4','5','val_5' -'4','val_4','8','val_8' -'4','val_4','9','val_9' -'5','val_5','0','val_0' -'5','val_5','0','val_0' -'5','val_5','0','val_0' -'5','val_5','0','val_0' -'5','val_5','0','val_0' -'5','val_5','0','val_0' -'5','val_5','0','val_0' -'5','val_5','0','val_0' -'5','val_5','0','val_0' -'5','val_5','2','val_2' -'5','val_5','2','val_2' -'5','val_5','2','val_2' -'5','val_5','4','val_4' -'5','val_5','4','val_4' -'5','val_5','4','val_4' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','8','val_8' -'5','val_5','8','val_8' -'5','val_5','8','val_8' -'5','val_5','9','val_9' -'5','val_5','9','val_9' -'5','val_5','9','val_9' -'8','val_8','0','val_0' -'8','val_8','0','val_0' -'8','val_8','0','val_0' -'8','val_8','2','val_2' -'8','val_8','4','val_4' -'8','val_8','5','val_5' -'8','val_8','5','val_5' -'8','val_8','5','val_5' -'8','val_8','8','val_8' -'8','val_8','9','val_9' -'9','val_9','0','val_0' -'9','val_9','0','val_0' -'9','val_9','0','val_0' -'9','val_9','2','val_2' -'9','val_9','4','val_4' -'9','val_9','5','val_5' -'9','val_9','5','val_5' -'9','val_9','5','val_5' -'9','val_9','8','val_8' -'9','val_9','9','val_9' -100 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/join1.q.out ql/src/test/results/beelinepositive/join1.q.out deleted file mode 100644 index 37e9818..0000000 --- ql/src/test/results/beelinepositive/join1.q.out +++ /dev/null @@ -1,1138 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join1.q ->>> set hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> CREATE TABLE dest_j1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src src1 JOIN src src2 ON (src1.key = src2.key) -INSERT OVERWRITE TABLE dest_j1 SELECT src1.key, src2.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2) (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_j1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) value)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: join1.dest_j1' -'' -' 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: join1.dest_j1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -88 rows selected ->>> ->>> FROM src src1 JOIN src src2 ON (src1.key = src2.key) -INSERT OVERWRITE TABLE dest_j1 SELECT src1.key, src2.value; -'_col0','_col1' -No rows selected ->>> ->>> SELECT dest_j1.* FROM dest_j1; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'10','val_10' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'105','val_105' -'11','val_11' -'111','val_111' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'114','val_114' -'116','val_116' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'126','val_126' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'131','val_131' -'133','val_133' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'136','val_136' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'143','val_143' -'145','val_145' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'150','val_150' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'153','val_153' -'155','val_155' -'156','val_156' -'157','val_157' -'158','val_158' -'160','val_160' -'162','val_162' -'163','val_163' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'166','val_166' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'168','val_168' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'17','val_17' -'170','val_170' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'177','val_177' -'178','val_178' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'180','val_180' -'181','val_181' -'183','val_183' -'186','val_186' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'189','val_189' -'19','val_19' -'190','val_190' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'192','val_192' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'194','val_194' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'196','val_196' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'2','val_2' -'20','val_20' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'201','val_201' -'202','val_202' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'214','val_214' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'218','val_218' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'222','val_222' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'226','val_226' -'228','val_228' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'235','val_235' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'241','val_241' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'244','val_244' -'247','val_247' -'248','val_248' -'249','val_249' -'252','val_252' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'257','val_257' -'258','val_258' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'260','val_260' -'262','val_262' -'263','val_263' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'266','val_266' -'27','val_27' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'274','val_274' -'275','val_275' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'28','val_28' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'283','val_283' -'284','val_284' -'285','val_285' -'286','val_286' -'287','val_287' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'289','val_289' -'291','val_291' -'292','val_292' -'296','val_296' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'30','val_30' -'302','val_302' -'305','val_305' -'306','val_306' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'308','val_308' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'310','val_310' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'315','val_315' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'323','val_323' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'33','val_33' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'332','val_332' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'335','val_335' -'336','val_336' -'338','val_338' -'339','val_339' -'34','val_34' -'341','val_341' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'345','val_345' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'351','val_351' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'356','val_356' -'360','val_360' -'362','val_362' -'364','val_364' -'365','val_365' -'366','val_366' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'368','val_368' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'373','val_373' -'374','val_374' -'375','val_375' -'377','val_377' -'378','val_378' -'379','val_379' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'386','val_386' -'389','val_389' -'392','val_392' -'393','val_393' -'394','val_394' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'4','val_4' -'400','val_400' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'402','val_402' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'407','val_407' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'41','val_41' -'411','val_411' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'418','val_418' -'419','val_419' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'421','val_421' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'427','val_427' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'43','val_43' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'432','val_432' -'435','val_435' -'436','val_436' -'437','val_437' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'44','val_44' -'443','val_443' -'444','val_444' -'446','val_446' -'448','val_448' -'449','val_449' -'452','val_452' -'453','val_453' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'455','val_455' -'457','val_457' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'460','val_460' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'467','val_467' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'47','val_47' -'470','val_470' -'472','val_472' -'475','val_475' -'477','val_477' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'479','val_479' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'481','val_481' -'482','val_482' -'483','val_483' -'484','val_484' -'485','val_485' -'487','val_487' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'490','val_490' -'491','val_491' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'493','val_493' -'494','val_494' -'495','val_495' -'496','val_496' -'497','val_497' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'53','val_53' -'54','val_54' -'57','val_57' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'64','val_64' -'65','val_65' -'66','val_66' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'69','val_69' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'74','val_74' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'77','val_77' -'78','val_78' -'8','val_8' -'80','val_80' -'82','val_82' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'9','val_9' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'96','val_96' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -1,028 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/join10.q.out ql/src/test/results/beelinepositive/join10.q.out deleted file mode 100644 index 13d8979..0000000 --- ql/src/test/results/beelinepositive/join10.q.out +++ /dev/null @@ -1,1128 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join10.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join10.q ->>> EXPLAIN FROM -(SELECT src.* FROM src) x -JOIN -(SELECT src.* FROM src) Y -ON (x.key = Y.key) -SELECT Y.*; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))))) x) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))))) Y) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL Y) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME Y))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' y:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -80 rows selected ->>> ->>> FROM -(SELECT src.* FROM src) x -JOIN -(SELECT src.* FROM src) Y -ON (x.key = Y.key) -SELECT Y.*; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'10','val_10' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'105','val_105' -'11','val_11' -'111','val_111' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'114','val_114' -'116','val_116' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'126','val_126' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'131','val_131' -'133','val_133' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'136','val_136' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'143','val_143' -'145','val_145' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'150','val_150' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'153','val_153' -'155','val_155' -'156','val_156' -'157','val_157' -'158','val_158' -'160','val_160' -'162','val_162' -'163','val_163' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'166','val_166' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'168','val_168' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'17','val_17' -'170','val_170' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'177','val_177' -'178','val_178' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'180','val_180' -'181','val_181' -'183','val_183' -'186','val_186' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'189','val_189' -'19','val_19' -'190','val_190' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'192','val_192' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'194','val_194' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'196','val_196' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'2','val_2' -'20','val_20' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'201','val_201' -'202','val_202' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'214','val_214' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'218','val_218' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'222','val_222' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'226','val_226' -'228','val_228' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'235','val_235' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'241','val_241' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'244','val_244' -'247','val_247' -'248','val_248' -'249','val_249' -'252','val_252' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'257','val_257' -'258','val_258' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'260','val_260' -'262','val_262' -'263','val_263' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'266','val_266' -'27','val_27' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'274','val_274' -'275','val_275' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'28','val_28' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'283','val_283' -'284','val_284' -'285','val_285' -'286','val_286' -'287','val_287' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'289','val_289' -'291','val_291' -'292','val_292' -'296','val_296' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'30','val_30' -'302','val_302' -'305','val_305' -'306','val_306' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'308','val_308' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'310','val_310' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'315','val_315' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'323','val_323' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'33','val_33' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'332','val_332' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'335','val_335' -'336','val_336' -'338','val_338' -'339','val_339' -'34','val_34' -'341','val_341' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'345','val_345' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'351','val_351' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'356','val_356' -'360','val_360' -'362','val_362' -'364','val_364' -'365','val_365' -'366','val_366' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'368','val_368' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'373','val_373' -'374','val_374' -'375','val_375' -'377','val_377' -'378','val_378' -'379','val_379' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'386','val_386' -'389','val_389' -'392','val_392' -'393','val_393' -'394','val_394' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'4','val_4' -'400','val_400' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'402','val_402' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'407','val_407' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'41','val_41' -'411','val_411' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'418','val_418' -'419','val_419' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'421','val_421' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'427','val_427' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'43','val_43' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'432','val_432' -'435','val_435' -'436','val_436' -'437','val_437' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'44','val_44' -'443','val_443' -'444','val_444' -'446','val_446' -'448','val_448' -'449','val_449' -'452','val_452' -'453','val_453' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'455','val_455' -'457','val_457' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'460','val_460' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'467','val_467' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'47','val_47' -'470','val_470' -'472','val_472' -'475','val_475' -'477','val_477' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'479','val_479' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'481','val_481' -'482','val_482' -'483','val_483' -'484','val_484' -'485','val_485' -'487','val_487' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'490','val_490' -'491','val_491' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'493','val_493' -'494','val_494' -'495','val_495' -'496','val_496' -'497','val_497' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'53','val_53' -'54','val_54' -'57','val_57' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'64','val_64' -'65','val_65' -'66','val_66' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'69','val_69' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'74','val_74' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'77','val_77' -'78','val_78' -'8','val_8' -'80','val_80' -'82','val_82' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'9','val_9' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'96','val_96' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -1,028 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/join11.q.out ql/src/test/results/beelinepositive/join11.q.out deleted file mode 100644 index 0f6c3f1..0000000 --- ql/src/test/results/beelinepositive/join11.q.out +++ /dev/null @@ -1,258 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join11.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join11.q ->>> EXPLAIN -SELECT src1.c1, src2.c4 -FROM -(SELECT src.key as c1, src.value as c2 from src) src1 -JOIN -(SELECT src.key as c3, src.value as c4 from src) src2 -ON src1.c1 = src2.c3 AND src1.c1 < 100; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c2)))) src1) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c4)))) src2) (AND (= (. (TOK_TABLE_OR_COL src1) c1) (. (TOK_TABLE_OR_COL src2) c3)) (< (. (TOK_TABLE_OR_COL src1) c1) 100)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) c1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) c4)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' src2:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -89 rows selected ->>> ->>> SELECT src1.c1, src2.c4 -FROM -(SELECT src.key as c1, src.value as c2 from src) src1 -JOIN -(SELECT src.key as c3, src.value as c4 from src) src2 -ON src1.c1 = src2.c3 AND src1.c1 < 100; -'c1','c4' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'10','val_10' -'11','val_11' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'17','val_17' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'19','val_19' -'2','val_2' -'20','val_20' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'27','val_27' -'28','val_28' -'30','val_30' -'33','val_33' -'34','val_34' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'4','val_4' -'41','val_41' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'43','val_43' -'44','val_44' -'47','val_47' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'53','val_53' -'54','val_54' -'57','val_57' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'64','val_64' -'65','val_65' -'66','val_66' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'69','val_69' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'74','val_74' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'77','val_77' -'78','val_78' -'8','val_8' -'80','val_80' -'82','val_82' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'9','val_9' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'96','val_96' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -148 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/join12.q.out ql/src/test/results/beelinepositive/join12.q.out deleted file mode 100644 index 24f1600..0000000 --- ql/src/test/results/beelinepositive/join12.q.out +++ /dev/null @@ -1,371 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join12.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join12.q ->>> EXPLAIN -SELECT src1.c1, src2.c4 -FROM -(SELECT src.key as c1, src.value as c2 from src) src1 -JOIN -(SELECT src.key as c3, src.value as c4 from src) src2 -ON src1.c1 = src2.c3 AND src1.c1 < 100 -JOIN -(SELECT src.key as c5, src.value as c6 from src) src3 -ON src1.c1 = src3.c5 AND src3.c5 < 80; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c2)))) src1) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c4)))) src2) (AND (= (. (TOK_TABLE_OR_COL src1) c1) (. (TOK_TABLE_OR_COL src2) c3)) (< (. (TOK_TABLE_OR_COL src1) c1) 100))) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c5) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c6)))) src3) (AND (= (. (TOK_TABLE_OR_COL src1) c1) (. (TOK_TABLE_OR_COL src3) c5)) (< (. (TOK_TABLE_OR_COL src3) c5) 80)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) c1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) c4)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: ((key < 100.0) and (key < 80.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' src2:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: ((key < 100.0) and (key < 80.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col1' -' type: string' -' src3:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: ((key < 80.0) and (key < 100.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 2' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 0 to 2' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col1}' -' 2 ' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -112 rows selected ->>> ->>> SELECT src1.c1, src2.c4 -FROM -(SELECT src.key as c1, src.value as c2 from src) src1 -JOIN -(SELECT src.key as c3, src.value as c4 from src) src2 -ON src1.c1 = src2.c3 AND src1.c1 < 100 -JOIN -(SELECT src.key as c5, src.value as c6 from src) src3 -ON src1.c1 = src3.c5 AND src3.c5 < 80; -'c1','c4' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'10','val_10' -'11','val_11' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'17','val_17' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'19','val_19' -'2','val_2' -'20','val_20' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'27','val_27' -'28','val_28' -'30','val_30' -'33','val_33' -'34','val_34' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'4','val_4' -'41','val_41' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'43','val_43' -'44','val_44' -'47','val_47' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'53','val_53' -'54','val_54' -'57','val_57' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'64','val_64' -'65','val_65' -'66','val_66' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'69','val_69' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'74','val_74' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'77','val_77' -'78','val_78' -'8','val_8' -'9','val_9' -232 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/join13.q.out ql/src/test/results/beelinepositive/join13.q.out deleted file mode 100644 index 72b0241..0000000 --- ql/src/test/results/beelinepositive/join13.q.out +++ /dev/null @@ -1,338 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join13.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join13.q ->>> EXPLAIN -SELECT src1.c1, src2.c4 -FROM -(SELECT src.key as c1, src.value as c2 from src) src1 -JOIN -(SELECT src.key as c3, src.value as c4 from src) src2 -ON src1.c1 = src2.c3 AND src1.c1 < 100 -JOIN -(SELECT src.key as c5, src.value as c6 from src) src3 -ON src1.c1 + src2.c3 = src3.c5 AND src3.c5 < 200; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c2)))) src1) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c4)))) src2) (AND (= (. (TOK_TABLE_OR_COL src1) c1) (. (TOK_TABLE_OR_COL src2) c3)) (< (. (TOK_TABLE_OR_COL src1) c1) 100))) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c5) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c6)))) src3) (AND (= (+ (. (TOK_TABLE_OR_COL src1) c1) (. (TOK_TABLE_OR_COL src2) c3)) (. (TOK_TABLE_OR_COL src3) c5)) (< (. (TOK_TABLE_OR_COL src3) c5) 200)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) c1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) c4)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' src2:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: (_col0 + _col2)' -' type: double' -' sort order: +' -' Map-reduce partition columns:' -' expr: (_col0 + _col2)' -' type: double' -' tag: 0' -' value expressions:' -' expr: _col3' -' type: string' -' expr: _col0' -' type: string' -' src3:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 200.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: UDFToDouble(_col0)' -' type: double' -' sort order: +' -' Map-reduce partition columns:' -' expr: UDFToDouble(_col0)' -' type: double' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col1} {VALUE._col2}' -' 1 ' -' handleSkewJoin: false' -' outputColumnNames: _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -147 rows selected ->>> ->>> SELECT src1.c1, src2.c4 -FROM -(SELECT src.key as c1, src.value as c2 from src) src1 -JOIN -(SELECT src.key as c3, src.value as c4 from src) src2 -ON src1.c1 = src2.c3 AND src1.c1 < 100 -JOIN -(SELECT src.key as c5, src.value as c6 from src) src3 -ON src1.c1 + src2.c3 = src3.c5 AND src3.c5 < 200; -'c1','c4' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'2','val_2' -'4','val_4' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'9','val_9' -'9','val_9' -'10','val_10' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'17','val_17' -'27','val_27' -'33','val_33' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'41','val_41' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'43','val_43' -'57','val_57' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'64','val_64' -'64','val_64' -'64','val_64' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'78','val_78' -'80','val_80' -'82','val_82' -'82','val_82' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'85','val_85' -'86','val_86' -'86','val_86' -'87','val_87' -'87','val_87' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'96','val_96' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -164 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/join14.q.out ql/src/test/results/beelinepositive/join14.q.out deleted file mode 100644 index 90a3ce6..0000000 --- ql/src/test/results/beelinepositive/join14.q.out +++ /dev/null @@ -1,1873 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join14.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join14.q ->>> CREATE TABLE dest1(c1 INT, c2 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> set mapred.job.tracker=does.notexist.com:666; -No rows affected ->>> set hive.exec.mode.local.auto=true; -No rows affected ->>> ->>> EXPLAIN -FROM src JOIN srcpart ON src.key = srcpart.key AND srcpart.ds = '2008-04-08' and src.key > 100 -INSERT OVERWRITE TABLE dest1 SELECT src.key, srcpart.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src)) (TOK_TABREF (TOK_TABNAME srcpart)) (and (AND (= (. (TOK_TABLE_OR_COL src) key) (. (TOK_TABLE_OR_COL srcpart) key)) (= (. (TOK_TABLE_OR_COL srcpart) ds) '2008-04-08')) (> (. (TOK_TABLE_OR_COL src) key) 100)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL srcpart) value)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key > 100.0)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' srcpart ' -' TableScan' -' alias: srcpart' -' Filter Operator' -' predicate:' -' expr: (key > 100.0)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: join14.dest1' -'' -' 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: join14.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -96 rows selected ->>> ->>> FROM src JOIN srcpart ON src.key = srcpart.key AND srcpart.ds = '2008-04-08' and src.key > 100 -INSERT OVERWRITE TABLE dest1 SELECT src.key, srcpart.value; -'_col0','_col1' -No rows selected ->>> ->>> select dest1.* from dest1; -'c1','c2' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'105','val_105' -'105','val_105' -'111','val_111' -'111','val_111' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'114','val_114' -'114','val_114' -'116','val_116' -'116','val_116' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'126','val_126' -'126','val_126' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'131','val_131' -'131','val_131' -'133','val_133' -'133','val_133' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'136','val_136' -'136','val_136' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'143','val_143' -'143','val_143' -'145','val_145' -'145','val_145' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'150','val_150' -'150','val_150' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'153','val_153' -'153','val_153' -'155','val_155' -'155','val_155' -'156','val_156' -'156','val_156' -'157','val_157' -'157','val_157' -'158','val_158' -'158','val_158' -'160','val_160' -'160','val_160' -'162','val_162' -'162','val_162' -'163','val_163' -'163','val_163' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'166','val_166' -'166','val_166' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'168','val_168' -'168','val_168' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'170','val_170' -'170','val_170' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'177','val_177' -'177','val_177' -'178','val_178' -'178','val_178' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'180','val_180' -'180','val_180' -'181','val_181' -'181','val_181' -'183','val_183' -'183','val_183' -'186','val_186' -'186','val_186' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'189','val_189' -'189','val_189' -'190','val_190' -'190','val_190' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'192','val_192' -'192','val_192' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'194','val_194' -'194','val_194' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'196','val_196' -'196','val_196' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'201','val_201' -'201','val_201' -'202','val_202' -'202','val_202' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'214','val_214' -'214','val_214' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'218','val_218' -'218','val_218' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'222','val_222' -'222','val_222' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'226','val_226' -'226','val_226' -'228','val_228' -'228','val_228' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'235','val_235' -'235','val_235' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'241','val_241' -'241','val_241' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'244','val_244' -'244','val_244' -'247','val_247' -'247','val_247' -'248','val_248' -'248','val_248' -'249','val_249' -'249','val_249' -'252','val_252' -'252','val_252' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'257','val_257' -'257','val_257' -'258','val_258' -'258','val_258' -'260','val_260' -'260','val_260' -'262','val_262' -'262','val_262' -'263','val_263' -'263','val_263' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'266','val_266' -'266','val_266' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'274','val_274' -'274','val_274' -'275','val_275' -'275','val_275' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'283','val_283' -'283','val_283' -'284','val_284' -'284','val_284' -'285','val_285' -'285','val_285' -'286','val_286' -'286','val_286' -'287','val_287' -'287','val_287' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'289','val_289' -'289','val_289' -'291','val_291' -'291','val_291' -'292','val_292' -'292','val_292' -'296','val_296' -'296','val_296' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'302','val_302' -'302','val_302' -'305','val_305' -'305','val_305' -'306','val_306' -'306','val_306' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'308','val_308' -'308','val_308' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'310','val_310' -'310','val_310' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'315','val_315' -'315','val_315' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'323','val_323' -'323','val_323' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'332','val_332' -'332','val_332' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'335','val_335' -'335','val_335' -'336','val_336' -'336','val_336' -'338','val_338' -'338','val_338' -'339','val_339' -'339','val_339' -'341','val_341' -'341','val_341' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'345','val_345' -'345','val_345' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'351','val_351' -'351','val_351' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'356','val_356' -'356','val_356' -'360','val_360' -'360','val_360' -'362','val_362' -'362','val_362' -'364','val_364' -'364','val_364' -'365','val_365' -'365','val_365' -'366','val_366' -'366','val_366' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'368','val_368' -'368','val_368' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'373','val_373' -'373','val_373' -'374','val_374' -'374','val_374' -'375','val_375' -'375','val_375' -'377','val_377' -'377','val_377' -'378','val_378' -'378','val_378' -'379','val_379' -'379','val_379' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'386','val_386' -'386','val_386' -'389','val_389' -'389','val_389' -'392','val_392' -'392','val_392' -'393','val_393' -'393','val_393' -'394','val_394' -'394','val_394' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'400','val_400' -'400','val_400' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'402','val_402' -'402','val_402' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'407','val_407' -'407','val_407' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'411','val_411' -'411','val_411' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'418','val_418' -'418','val_418' -'419','val_419' -'419','val_419' -'421','val_421' -'421','val_421' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'427','val_427' -'427','val_427' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'432','val_432' -'432','val_432' -'435','val_435' -'435','val_435' -'436','val_436' -'436','val_436' -'437','val_437' -'437','val_437' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'443','val_443' -'443','val_443' -'444','val_444' -'444','val_444' -'446','val_446' -'446','val_446' -'448','val_448' -'448','val_448' -'449','val_449' -'449','val_449' -'452','val_452' -'452','val_452' -'453','val_453' -'453','val_453' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'455','val_455' -'455','val_455' -'457','val_457' -'457','val_457' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'460','val_460' -'460','val_460' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'467','val_467' -'467','val_467' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'470','val_470' -'470','val_470' -'472','val_472' -'472','val_472' -'475','val_475' -'475','val_475' -'477','val_477' -'477','val_477' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'479','val_479' -'479','val_479' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'481','val_481' -'481','val_481' -'482','val_482' -'482','val_482' -'483','val_483' -'483','val_483' -'484','val_484' -'484','val_484' -'485','val_485' -'485','val_485' -'487','val_487' -'487','val_487' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'490','val_490' -'490','val_490' -'491','val_491' -'491','val_491' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'493','val_493' -'493','val_493' -'494','val_494' -'494','val_494' -'495','val_495' -'495','val_495' -'496','val_496' -'496','val_496' -'497','val_497' -'497','val_497' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -1,752 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/join15.q.out ql/src/test/results/beelinepositive/join15.q.out deleted file mode 100644 index a9fc684..0000000 --- ql/src/test/results/beelinepositive/join15.q.out +++ /dev/null @@ -1,1151 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join15.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join15.q ->>> EXPLAIN -SELECT * FROM src src1 JOIN src src2 ON (src1.key = src2.key) SORT BY src1.key, src1.value, src2.key, src2.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2) (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' sort order: ++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -112 rows selected ->>> ->>> SELECT * FROM src src1 JOIN src src2 ON (src1.key = src2.key) SORT BY src1.key, src1.value, src2.key, src2.value; -'key','value','key','value' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'10','val_10','10','val_10' -'100','val_100','100','val_100' -'100','val_100','100','val_100' -'100','val_100','100','val_100' -'100','val_100','100','val_100' -'103','val_103','103','val_103' -'103','val_103','103','val_103' -'103','val_103','103','val_103' -'103','val_103','103','val_103' -'104','val_104','104','val_104' -'104','val_104','104','val_104' -'104','val_104','104','val_104' -'104','val_104','104','val_104' -'105','val_105','105','val_105' -'11','val_11','11','val_11' -'111','val_111','111','val_111' -'113','val_113','113','val_113' -'113','val_113','113','val_113' -'113','val_113','113','val_113' -'113','val_113','113','val_113' -'114','val_114','114','val_114' -'116','val_116','116','val_116' -'118','val_118','118','val_118' -'118','val_118','118','val_118' -'118','val_118','118','val_118' -'118','val_118','118','val_118' -'119','val_119','119','val_119' -'119','val_119','119','val_119' -'119','val_119','119','val_119' -'119','val_119','119','val_119' -'119','val_119','119','val_119' -'119','val_119','119','val_119' -'119','val_119','119','val_119' -'119','val_119','119','val_119' -'119','val_119','119','val_119' -'12','val_12','12','val_12' -'12','val_12','12','val_12' -'12','val_12','12','val_12' -'12','val_12','12','val_12' -'120','val_120','120','val_120' -'120','val_120','120','val_120' -'120','val_120','120','val_120' -'120','val_120','120','val_120' -'125','val_125','125','val_125' -'125','val_125','125','val_125' -'125','val_125','125','val_125' -'125','val_125','125','val_125' -'126','val_126','126','val_126' -'128','val_128','128','val_128' -'128','val_128','128','val_128' -'128','val_128','128','val_128' -'128','val_128','128','val_128' -'128','val_128','128','val_128' -'128','val_128','128','val_128' -'128','val_128','128','val_128' -'128','val_128','128','val_128' -'128','val_128','128','val_128' -'129','val_129','129','val_129' -'129','val_129','129','val_129' -'129','val_129','129','val_129' -'129','val_129','129','val_129' -'131','val_131','131','val_131' -'133','val_133','133','val_133' -'134','val_134','134','val_134' -'134','val_134','134','val_134' -'134','val_134','134','val_134' -'134','val_134','134','val_134' -'136','val_136','136','val_136' -'137','val_137','137','val_137' -'137','val_137','137','val_137' -'137','val_137','137','val_137' -'137','val_137','137','val_137' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'143','val_143','143','val_143' -'145','val_145','145','val_145' -'146','val_146','146','val_146' -'146','val_146','146','val_146' -'146','val_146','146','val_146' -'146','val_146','146','val_146' -'149','val_149','149','val_149' -'149','val_149','149','val_149' -'149','val_149','149','val_149' -'149','val_149','149','val_149' -'15','val_15','15','val_15' -'15','val_15','15','val_15' -'15','val_15','15','val_15' -'15','val_15','15','val_15' -'150','val_150','150','val_150' -'152','val_152','152','val_152' -'152','val_152','152','val_152' -'152','val_152','152','val_152' -'152','val_152','152','val_152' -'153','val_153','153','val_153' -'155','val_155','155','val_155' -'156','val_156','156','val_156' -'157','val_157','157','val_157' -'158','val_158','158','val_158' -'160','val_160','160','val_160' -'162','val_162','162','val_162' -'163','val_163','163','val_163' -'164','val_164','164','val_164' -'164','val_164','164','val_164' -'164','val_164','164','val_164' -'164','val_164','164','val_164' -'165','val_165','165','val_165' -'165','val_165','165','val_165' -'165','val_165','165','val_165' -'165','val_165','165','val_165' -'166','val_166','166','val_166' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'168','val_168','168','val_168' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'17','val_17','17','val_17' -'170','val_170','170','val_170' -'172','val_172','172','val_172' -'172','val_172','172','val_172' -'172','val_172','172','val_172' -'172','val_172','172','val_172' -'174','val_174','174','val_174' -'174','val_174','174','val_174' -'174','val_174','174','val_174' -'174','val_174','174','val_174' -'175','val_175','175','val_175' -'175','val_175','175','val_175' -'175','val_175','175','val_175' -'175','val_175','175','val_175' -'176','val_176','176','val_176' -'176','val_176','176','val_176' -'176','val_176','176','val_176' -'176','val_176','176','val_176' -'177','val_177','177','val_177' -'178','val_178','178','val_178' -'179','val_179','179','val_179' -'179','val_179','179','val_179' -'179','val_179','179','val_179' -'179','val_179','179','val_179' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'180','val_180','180','val_180' -'181','val_181','181','val_181' -'183','val_183','183','val_183' -'186','val_186','186','val_186' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'189','val_189','189','val_189' -'19','val_19','19','val_19' -'190','val_190','190','val_190' -'191','val_191','191','val_191' -'191','val_191','191','val_191' -'191','val_191','191','val_191' -'191','val_191','191','val_191' -'192','val_192','192','val_192' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'194','val_194','194','val_194' -'195','val_195','195','val_195' -'195','val_195','195','val_195' -'195','val_195','195','val_195' -'195','val_195','195','val_195' -'196','val_196','196','val_196' -'197','val_197','197','val_197' -'197','val_197','197','val_197' -'197','val_197','197','val_197' -'197','val_197','197','val_197' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'2','val_2','2','val_2' -'20','val_20','20','val_20' -'200','val_200','200','val_200' -'200','val_200','200','val_200' -'200','val_200','200','val_200' -'200','val_200','200','val_200' -'201','val_201','201','val_201' -'202','val_202','202','val_202' -'203','val_203','203','val_203' -'203','val_203','203','val_203' -'203','val_203','203','val_203' -'203','val_203','203','val_203' -'205','val_205','205','val_205' -'205','val_205','205','val_205' -'205','val_205','205','val_205' -'205','val_205','205','val_205' -'207','val_207','207','val_207' -'207','val_207','207','val_207' -'207','val_207','207','val_207' -'207','val_207','207','val_207' -'208','val_208','208','val_208' -'208','val_208','208','val_208' -'208','val_208','208','val_208' -'208','val_208','208','val_208' -'208','val_208','208','val_208' -'208','val_208','208','val_208' -'208','val_208','208','val_208' -'208','val_208','208','val_208' -'208','val_208','208','val_208' -'209','val_209','209','val_209' -'209','val_209','209','val_209' -'209','val_209','209','val_209' -'209','val_209','209','val_209' -'213','val_213','213','val_213' -'213','val_213','213','val_213' -'213','val_213','213','val_213' -'213','val_213','213','val_213' -'214','val_214','214','val_214' -'216','val_216','216','val_216' -'216','val_216','216','val_216' -'216','val_216','216','val_216' -'216','val_216','216','val_216' -'217','val_217','217','val_217' -'217','val_217','217','val_217' -'217','val_217','217','val_217' -'217','val_217','217','val_217' -'218','val_218','218','val_218' -'219','val_219','219','val_219' -'219','val_219','219','val_219' -'219','val_219','219','val_219' -'219','val_219','219','val_219' -'221','val_221','221','val_221' -'221','val_221','221','val_221' -'221','val_221','221','val_221' -'221','val_221','221','val_221' -'222','val_222','222','val_222' -'223','val_223','223','val_223' -'223','val_223','223','val_223' -'223','val_223','223','val_223' -'223','val_223','223','val_223' -'224','val_224','224','val_224' -'224','val_224','224','val_224' -'224','val_224','224','val_224' -'224','val_224','224','val_224' -'226','val_226','226','val_226' -'228','val_228','228','val_228' -'229','val_229','229','val_229' -'229','val_229','229','val_229' -'229','val_229','229','val_229' -'229','val_229','229','val_229' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'233','val_233','233','val_233' -'233','val_233','233','val_233' -'233','val_233','233','val_233' -'233','val_233','233','val_233' -'235','val_235','235','val_235' -'237','val_237','237','val_237' -'237','val_237','237','val_237' -'237','val_237','237','val_237' -'237','val_237','237','val_237' -'238','val_238','238','val_238' -'238','val_238','238','val_238' -'238','val_238','238','val_238' -'238','val_238','238','val_238' -'239','val_239','239','val_239' -'239','val_239','239','val_239' -'239','val_239','239','val_239' -'239','val_239','239','val_239' -'24','val_24','24','val_24' -'24','val_24','24','val_24' -'24','val_24','24','val_24' -'24','val_24','24','val_24' -'241','val_241','241','val_241' -'242','val_242','242','val_242' -'242','val_242','242','val_242' -'242','val_242','242','val_242' -'242','val_242','242','val_242' -'244','val_244','244','val_244' -'247','val_247','247','val_247' -'248','val_248','248','val_248' -'249','val_249','249','val_249' -'252','val_252','252','val_252' -'255','val_255','255','val_255' -'255','val_255','255','val_255' -'255','val_255','255','val_255' -'255','val_255','255','val_255' -'256','val_256','256','val_256' -'256','val_256','256','val_256' -'256','val_256','256','val_256' -'256','val_256','256','val_256' -'257','val_257','257','val_257' -'258','val_258','258','val_258' -'26','val_26','26','val_26' -'26','val_26','26','val_26' -'26','val_26','26','val_26' -'26','val_26','26','val_26' -'260','val_260','260','val_260' -'262','val_262','262','val_262' -'263','val_263','263','val_263' -'265','val_265','265','val_265' -'265','val_265','265','val_265' -'265','val_265','265','val_265' -'265','val_265','265','val_265' -'266','val_266','266','val_266' -'27','val_27','27','val_27' -'272','val_272','272','val_272' -'272','val_272','272','val_272' -'272','val_272','272','val_272' -'272','val_272','272','val_272' -'273','val_273','273','val_273' -'273','val_273','273','val_273' -'273','val_273','273','val_273' -'273','val_273','273','val_273' -'273','val_273','273','val_273' -'273','val_273','273','val_273' -'273','val_273','273','val_273' -'273','val_273','273','val_273' -'273','val_273','273','val_273' -'274','val_274','274','val_274' -'275','val_275','275','val_275' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'278','val_278','278','val_278' -'278','val_278','278','val_278' -'278','val_278','278','val_278' -'278','val_278','278','val_278' -'28','val_28','28','val_28' -'280','val_280','280','val_280' -'280','val_280','280','val_280' -'280','val_280','280','val_280' -'280','val_280','280','val_280' -'281','val_281','281','val_281' -'281','val_281','281','val_281' -'281','val_281','281','val_281' -'281','val_281','281','val_281' -'282','val_282','282','val_282' -'282','val_282','282','val_282' -'282','val_282','282','val_282' -'282','val_282','282','val_282' -'283','val_283','283','val_283' -'284','val_284','284','val_284' -'285','val_285','285','val_285' -'286','val_286','286','val_286' -'287','val_287','287','val_287' -'288','val_288','288','val_288' -'288','val_288','288','val_288' -'288','val_288','288','val_288' -'288','val_288','288','val_288' -'289','val_289','289','val_289' -'291','val_291','291','val_291' -'292','val_292','292','val_292' -'296','val_296','296','val_296' -'298','val_298','298','val_298' -'298','val_298','298','val_298' -'298','val_298','298','val_298' -'298','val_298','298','val_298' -'298','val_298','298','val_298' -'298','val_298','298','val_298' -'298','val_298','298','val_298' -'298','val_298','298','val_298' -'298','val_298','298','val_298' -'30','val_30','30','val_30' -'302','val_302','302','val_302' -'305','val_305','305','val_305' -'306','val_306','306','val_306' -'307','val_307','307','val_307' -'307','val_307','307','val_307' -'307','val_307','307','val_307' -'307','val_307','307','val_307' -'308','val_308','308','val_308' -'309','val_309','309','val_309' -'309','val_309','309','val_309' -'309','val_309','309','val_309' -'309','val_309','309','val_309' -'310','val_310','310','val_310' -'311','val_311','311','val_311' -'311','val_311','311','val_311' -'311','val_311','311','val_311' -'311','val_311','311','val_311' -'311','val_311','311','val_311' -'311','val_311','311','val_311' -'311','val_311','311','val_311' -'311','val_311','311','val_311' -'311','val_311','311','val_311' -'315','val_315','315','val_315' -'316','val_316','316','val_316' -'316','val_316','316','val_316' -'316','val_316','316','val_316' -'316','val_316','316','val_316' -'316','val_316','316','val_316' -'316','val_316','316','val_316' -'316','val_316','316','val_316' -'316','val_316','316','val_316' -'316','val_316','316','val_316' -'317','val_317','317','val_317' -'317','val_317','317','val_317' -'317','val_317','317','val_317' -'317','val_317','317','val_317' -'318','val_318','318','val_318' -'318','val_318','318','val_318' -'318','val_318','318','val_318' -'318','val_318','318','val_318' -'318','val_318','318','val_318' -'318','val_318','318','val_318' -'318','val_318','318','val_318' -'318','val_318','318','val_318' -'318','val_318','318','val_318' -'321','val_321','321','val_321' -'321','val_321','321','val_321' -'321','val_321','321','val_321' -'321','val_321','321','val_321' -'322','val_322','322','val_322' -'322','val_322','322','val_322' -'322','val_322','322','val_322' -'322','val_322','322','val_322' -'323','val_323','323','val_323' -'325','val_325','325','val_325' -'325','val_325','325','val_325' -'325','val_325','325','val_325' -'325','val_325','325','val_325' -'327','val_327','327','val_327' -'327','val_327','327','val_327' -'327','val_327','327','val_327' -'327','val_327','327','val_327' -'327','val_327','327','val_327' -'327','val_327','327','val_327' -'327','val_327','327','val_327' -'327','val_327','327','val_327' -'327','val_327','327','val_327' -'33','val_33','33','val_33' -'331','val_331','331','val_331' -'331','val_331','331','val_331' -'331','val_331','331','val_331' -'331','val_331','331','val_331' -'332','val_332','332','val_332' -'333','val_333','333','val_333' -'333','val_333','333','val_333' -'333','val_333','333','val_333' -'333','val_333','333','val_333' -'335','val_335','335','val_335' -'336','val_336','336','val_336' -'338','val_338','338','val_338' -'339','val_339','339','val_339' -'34','val_34','34','val_34' -'341','val_341','341','val_341' -'342','val_342','342','val_342' -'342','val_342','342','val_342' -'342','val_342','342','val_342' -'342','val_342','342','val_342' -'344','val_344','344','val_344' -'344','val_344','344','val_344' -'344','val_344','344','val_344' -'344','val_344','344','val_344' -'345','val_345','345','val_345' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'351','val_351','351','val_351' -'353','val_353','353','val_353' -'353','val_353','353','val_353' -'353','val_353','353','val_353' -'353','val_353','353','val_353' -'356','val_356','356','val_356' -'360','val_360','360','val_360' -'362','val_362','362','val_362' -'364','val_364','364','val_364' -'365','val_365','365','val_365' -'366','val_366','366','val_366' -'367','val_367','367','val_367' -'367','val_367','367','val_367' -'367','val_367','367','val_367' -'367','val_367','367','val_367' -'368','val_368','368','val_368' -'369','val_369','369','val_369' -'369','val_369','369','val_369' -'369','val_369','369','val_369' -'369','val_369','369','val_369' -'369','val_369','369','val_369' -'369','val_369','369','val_369' -'369','val_369','369','val_369' -'369','val_369','369','val_369' -'369','val_369','369','val_369' -'37','val_37','37','val_37' -'37','val_37','37','val_37' -'37','val_37','37','val_37' -'37','val_37','37','val_37' -'373','val_373','373','val_373' -'374','val_374','374','val_374' -'375','val_375','375','val_375' -'377','val_377','377','val_377' -'378','val_378','378','val_378' -'379','val_379','379','val_379' -'382','val_382','382','val_382' -'382','val_382','382','val_382' -'382','val_382','382','val_382' -'382','val_382','382','val_382' -'384','val_384','384','val_384' -'384','val_384','384','val_384' -'384','val_384','384','val_384' -'384','val_384','384','val_384' -'384','val_384','384','val_384' -'384','val_384','384','val_384' -'384','val_384','384','val_384' -'384','val_384','384','val_384' -'384','val_384','384','val_384' -'386','val_386','386','val_386' -'389','val_389','389','val_389' -'392','val_392','392','val_392' -'393','val_393','393','val_393' -'394','val_394','394','val_394' -'395','val_395','395','val_395' -'395','val_395','395','val_395' -'395','val_395','395','val_395' -'395','val_395','395','val_395' -'396','val_396','396','val_396' -'396','val_396','396','val_396' -'396','val_396','396','val_396' -'396','val_396','396','val_396' -'396','val_396','396','val_396' -'396','val_396','396','val_396' -'396','val_396','396','val_396' -'396','val_396','396','val_396' -'396','val_396','396','val_396' -'397','val_397','397','val_397' -'397','val_397','397','val_397' -'397','val_397','397','val_397' -'397','val_397','397','val_397' -'399','val_399','399','val_399' -'399','val_399','399','val_399' -'399','val_399','399','val_399' -'399','val_399','399','val_399' -'4','val_4','4','val_4' -'400','val_400','400','val_400' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'402','val_402','402','val_402' -'403','val_403','403','val_403' -'403','val_403','403','val_403' -'403','val_403','403','val_403' -'403','val_403','403','val_403' -'403','val_403','403','val_403' -'403','val_403','403','val_403' -'403','val_403','403','val_403' -'403','val_403','403','val_403' -'403','val_403','403','val_403' -'404','val_404','404','val_404' -'404','val_404','404','val_404' -'404','val_404','404','val_404' -'404','val_404','404','val_404' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'407','val_407','407','val_407' -'409','val_409','409','val_409' -'409','val_409','409','val_409' -'409','val_409','409','val_409' -'409','val_409','409','val_409' -'409','val_409','409','val_409' -'409','val_409','409','val_409' -'409','val_409','409','val_409' -'409','val_409','409','val_409' -'409','val_409','409','val_409' -'41','val_41','41','val_41' -'411','val_411','411','val_411' -'413','val_413','413','val_413' -'413','val_413','413','val_413' -'413','val_413','413','val_413' -'413','val_413','413','val_413' -'414','val_414','414','val_414' -'414','val_414','414','val_414' -'414','val_414','414','val_414' -'414','val_414','414','val_414' -'417','val_417','417','val_417' -'417','val_417','417','val_417' -'417','val_417','417','val_417' -'417','val_417','417','val_417' -'417','val_417','417','val_417' -'417','val_417','417','val_417' -'417','val_417','417','val_417' -'417','val_417','417','val_417' -'417','val_417','417','val_417' -'418','val_418','418','val_418' -'419','val_419','419','val_419' -'42','val_42','42','val_42' -'42','val_42','42','val_42' -'42','val_42','42','val_42' -'42','val_42','42','val_42' -'421','val_421','421','val_421' -'424','val_424','424','val_424' -'424','val_424','424','val_424' -'424','val_424','424','val_424' -'424','val_424','424','val_424' -'427','val_427','427','val_427' -'429','val_429','429','val_429' -'429','val_429','429','val_429' -'429','val_429','429','val_429' -'429','val_429','429','val_429' -'43','val_43','43','val_43' -'430','val_430','430','val_430' -'430','val_430','430','val_430' -'430','val_430','430','val_430' -'430','val_430','430','val_430' -'430','val_430','430','val_430' -'430','val_430','430','val_430' -'430','val_430','430','val_430' -'430','val_430','430','val_430' -'430','val_430','430','val_430' -'431','val_431','431','val_431' -'431','val_431','431','val_431' -'431','val_431','431','val_431' -'431','val_431','431','val_431' -'431','val_431','431','val_431' -'431','val_431','431','val_431' -'431','val_431','431','val_431' -'431','val_431','431','val_431' -'431','val_431','431','val_431' -'432','val_432','432','val_432' -'435','val_435','435','val_435' -'436','val_436','436','val_436' -'437','val_437','437','val_437' -'438','val_438','438','val_438' -'438','val_438','438','val_438' -'438','val_438','438','val_438' -'438','val_438','438','val_438' -'438','val_438','438','val_438' -'438','val_438','438','val_438' -'438','val_438','438','val_438' -'438','val_438','438','val_438' -'438','val_438','438','val_438' -'439','val_439','439','val_439' -'439','val_439','439','val_439' -'439','val_439','439','val_439' -'439','val_439','439','val_439' -'44','val_44','44','val_44' -'443','val_443','443','val_443' -'444','val_444','444','val_444' -'446','val_446','446','val_446' -'448','val_448','448','val_448' -'449','val_449','449','val_449' -'452','val_452','452','val_452' -'453','val_453','453','val_453' -'454','val_454','454','val_454' -'454','val_454','454','val_454' -'454','val_454','454','val_454' -'454','val_454','454','val_454' -'454','val_454','454','val_454' -'454','val_454','454','val_454' -'454','val_454','454','val_454' -'454','val_454','454','val_454' -'454','val_454','454','val_454' -'455','val_455','455','val_455' -'457','val_457','457','val_457' -'458','val_458','458','val_458' -'458','val_458','458','val_458' -'458','val_458','458','val_458' -'458','val_458','458','val_458' -'459','val_459','459','val_459' -'459','val_459','459','val_459' -'459','val_459','459','val_459' -'459','val_459','459','val_459' -'460','val_460','460','val_460' -'462','val_462','462','val_462' -'462','val_462','462','val_462' -'462','val_462','462','val_462' -'462','val_462','462','val_462' -'463','val_463','463','val_463' -'463','val_463','463','val_463' -'463','val_463','463','val_463' -'463','val_463','463','val_463' -'466','val_466','466','val_466' -'466','val_466','466','val_466' -'466','val_466','466','val_466' -'466','val_466','466','val_466' -'466','val_466','466','val_466' -'466','val_466','466','val_466' -'466','val_466','466','val_466' -'466','val_466','466','val_466' -'466','val_466','466','val_466' -'467','val_467','467','val_467' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'47','val_47','47','val_47' -'470','val_470','470','val_470' -'472','val_472','472','val_472' -'475','val_475','475','val_475' -'477','val_477','477','val_477' -'478','val_478','478','val_478' -'478','val_478','478','val_478' -'478','val_478','478','val_478' -'478','val_478','478','val_478' -'479','val_479','479','val_479' -'480','val_480','480','val_480' -'480','val_480','480','val_480' -'480','val_480','480','val_480' -'480','val_480','480','val_480' -'480','val_480','480','val_480' -'480','val_480','480','val_480' -'480','val_480','480','val_480' -'480','val_480','480','val_480' -'480','val_480','480','val_480' -'481','val_481','481','val_481' -'482','val_482','482','val_482' -'483','val_483','483','val_483' -'484','val_484','484','val_484' -'485','val_485','485','val_485' -'487','val_487','487','val_487' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'490','val_490','490','val_490' -'491','val_491','491','val_491' -'492','val_492','492','val_492' -'492','val_492','492','val_492' -'492','val_492','492','val_492' -'492','val_492','492','val_492' -'493','val_493','493','val_493' -'494','val_494','494','val_494' -'495','val_495','495','val_495' -'496','val_496','496','val_496' -'497','val_497','497','val_497' -'498','val_498','498','val_498' -'498','val_498','498','val_498' -'498','val_498','498','val_498' -'498','val_498','498','val_498' -'498','val_498','498','val_498' -'498','val_498','498','val_498' -'498','val_498','498','val_498' -'498','val_498','498','val_498' -'498','val_498','498','val_498' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'51','val_51','51','val_51' -'51','val_51','51','val_51' -'51','val_51','51','val_51' -'51','val_51','51','val_51' -'53','val_53','53','val_53' -'54','val_54','54','val_54' -'57','val_57','57','val_57' -'58','val_58','58','val_58' -'58','val_58','58','val_58' -'58','val_58','58','val_58' -'58','val_58','58','val_58' -'64','val_64','64','val_64' -'65','val_65','65','val_65' -'66','val_66','66','val_66' -'67','val_67','67','val_67' -'67','val_67','67','val_67' -'67','val_67','67','val_67' -'67','val_67','67','val_67' -'69','val_69','69','val_69' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'72','val_72','72','val_72' -'72','val_72','72','val_72' -'72','val_72','72','val_72' -'72','val_72','72','val_72' -'74','val_74','74','val_74' -'76','val_76','76','val_76' -'76','val_76','76','val_76' -'76','val_76','76','val_76' -'76','val_76','76','val_76' -'77','val_77','77','val_77' -'78','val_78','78','val_78' -'8','val_8','8','val_8' -'80','val_80','80','val_80' -'82','val_82','82','val_82' -'83','val_83','83','val_83' -'83','val_83','83','val_83' -'83','val_83','83','val_83' -'83','val_83','83','val_83' -'84','val_84','84','val_84' -'84','val_84','84','val_84' -'84','val_84','84','val_84' -'84','val_84','84','val_84' -'85','val_85','85','val_85' -'86','val_86','86','val_86' -'87','val_87','87','val_87' -'9','val_9','9','val_9' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'92','val_92','92','val_92' -'95','val_95','95','val_95' -'95','val_95','95','val_95' -'95','val_95','95','val_95' -'95','val_95','95','val_95' -'96','val_96','96','val_96' -'97','val_97','97','val_97' -'97','val_97','97','val_97' -'97','val_97','97','val_97' -'97','val_97','97','val_97' -'98','val_98','98','val_98' -'98','val_98','98','val_98' -'98','val_98','98','val_98' -'98','val_98','98','val_98' -1,028 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/join16.q.out ql/src/test/results/beelinepositive/join16.q.out deleted file mode 100644 index 6a82df2..0000000 --- ql/src/test/results/beelinepositive/join16.q.out +++ /dev/null @@ -1,98 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join16.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join16.q ->>> EXPLAIN SELECT subq.key, tab.value FROM (select a.key, a.value from src a where a.key > 10 ) subq JOIN src tab ON (subq.key = tab.key and subq.key > 20 and subq.value = tab.value) where tab.value < 200; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value))) (TOK_WHERE (> (. (TOK_TABLE_OR_COL a) key) 10)))) subq) (TOK_TABREF (TOK_TABNAME src) tab) (and (and (= (. (TOK_TABLE_OR_COL subq) key) (. (TOK_TABLE_OR_COL tab) key)) (> (. (TOK_TABLE_OR_COL subq) key) 20)) (= (. (TOK_TABLE_OR_COL subq) value) (. (TOK_TABLE_OR_COL tab) value))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL subq) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL tab) value))) (TOK_WHERE (< (. (TOK_TABLE_OR_COL tab) value) 200))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subq:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (((key > 10.0) and (key > 20.0)) and (value < 200.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' tab ' -' TableScan' -' alias: tab' -' Filter Operator' -' predicate:' -' expr: ((key > 20.0) and (value < 200.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' tag: 1' -' value expressions:' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -92 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/join17.q.out ql/src/test/results/beelinepositive/join17.q.out deleted file mode 100644 index 05a3f3d..0000000 --- ql/src/test/results/beelinepositive/join17.q.out +++ /dev/null @@ -1,1233 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join17.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join17.q ->>> CREATE TABLE dest1(key1 INT, value1 STRING, key2 INT, value2 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN EXTENDED -FROM src src1 JOIN src src2 ON (src1.key = src2.key) -INSERT OVERWRITE TABLE dest1 SELECT src1.*, src2.*; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2) (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src1))) (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src2))))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' GatherStats: false' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' GatherStats: false' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Needs Tagging: true' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/join17.db/src [src2, src1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/join17.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join17.db/src' -' name join17.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join17.db/src' -' name join17.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join17.src' -' name: join17.src' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: UDFToInteger(_col2)' -' type: int' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key1,value1,key2,value2' -' columns.types int:string:int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join17.db/dest1' -' name join17.dest1' -' serialization.ddl struct dest1 { i32 key1, string value1, i32 key2, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join17.dest1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key1,value1,key2,value2' -' columns.types int:string:int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join17.db/dest1' -' name join17.dest1' -' serialization.ddl struct dest1 { i32 key1, string value1, i32 key2, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join17.dest1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -185 rows selected ->>> ->>> FROM src src1 JOIN src src2 ON (src1.key = src2.key) -INSERT OVERWRITE TABLE dest1 SELECT src1.*, src2.*; -'_col0','_col1','_col2','_col3' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key1','value1','key2','value2' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'10','val_10','10','val_10' -'100','val_100','100','val_100' -'100','val_100','100','val_100' -'100','val_100','100','val_100' -'100','val_100','100','val_100' -'103','val_103','103','val_103' -'103','val_103','103','val_103' -'103','val_103','103','val_103' -'103','val_103','103','val_103' -'104','val_104','104','val_104' -'104','val_104','104','val_104' -'104','val_104','104','val_104' -'104','val_104','104','val_104' -'105','val_105','105','val_105' -'11','val_11','11','val_11' -'111','val_111','111','val_111' -'113','val_113','113','val_113' -'113','val_113','113','val_113' -'113','val_113','113','val_113' -'113','val_113','113','val_113' -'114','val_114','114','val_114' -'116','val_116','116','val_116' -'118','val_118','118','val_118' -'118','val_118','118','val_118' -'118','val_118','118','val_118' -'118','val_118','118','val_118' -'119','val_119','119','val_119' -'119','val_119','119','val_119' -'119','val_119','119','val_119' -'119','val_119','119','val_119' -'119','val_119','119','val_119' -'119','val_119','119','val_119' -'119','val_119','119','val_119' -'119','val_119','119','val_119' -'119','val_119','119','val_119' -'12','val_12','12','val_12' -'12','val_12','12','val_12' -'12','val_12','12','val_12' -'12','val_12','12','val_12' -'120','val_120','120','val_120' -'120','val_120','120','val_120' -'120','val_120','120','val_120' -'120','val_120','120','val_120' -'125','val_125','125','val_125' -'125','val_125','125','val_125' -'125','val_125','125','val_125' -'125','val_125','125','val_125' -'126','val_126','126','val_126' -'128','val_128','128','val_128' -'128','val_128','128','val_128' -'128','val_128','128','val_128' -'128','val_128','128','val_128' -'128','val_128','128','val_128' -'128','val_128','128','val_128' -'128','val_128','128','val_128' -'128','val_128','128','val_128' -'128','val_128','128','val_128' -'129','val_129','129','val_129' -'129','val_129','129','val_129' -'129','val_129','129','val_129' -'129','val_129','129','val_129' -'131','val_131','131','val_131' -'133','val_133','133','val_133' -'134','val_134','134','val_134' -'134','val_134','134','val_134' -'134','val_134','134','val_134' -'134','val_134','134','val_134' -'136','val_136','136','val_136' -'137','val_137','137','val_137' -'137','val_137','137','val_137' -'137','val_137','137','val_137' -'137','val_137','137','val_137' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'143','val_143','143','val_143' -'145','val_145','145','val_145' -'146','val_146','146','val_146' -'146','val_146','146','val_146' -'146','val_146','146','val_146' -'146','val_146','146','val_146' -'149','val_149','149','val_149' -'149','val_149','149','val_149' -'149','val_149','149','val_149' -'149','val_149','149','val_149' -'15','val_15','15','val_15' -'15','val_15','15','val_15' -'15','val_15','15','val_15' -'15','val_15','15','val_15' -'150','val_150','150','val_150' -'152','val_152','152','val_152' -'152','val_152','152','val_152' -'152','val_152','152','val_152' -'152','val_152','152','val_152' -'153','val_153','153','val_153' -'155','val_155','155','val_155' -'156','val_156','156','val_156' -'157','val_157','157','val_157' -'158','val_158','158','val_158' -'160','val_160','160','val_160' -'162','val_162','162','val_162' -'163','val_163','163','val_163' -'164','val_164','164','val_164' -'164','val_164','164','val_164' -'164','val_164','164','val_164' -'164','val_164','164','val_164' -'165','val_165','165','val_165' -'165','val_165','165','val_165' -'165','val_165','165','val_165' -'165','val_165','165','val_165' -'166','val_166','166','val_166' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'168','val_168','168','val_168' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'17','val_17','17','val_17' -'170','val_170','170','val_170' -'172','val_172','172','val_172' -'172','val_172','172','val_172' -'172','val_172','172','val_172' -'172','val_172','172','val_172' -'174','val_174','174','val_174' -'174','val_174','174','val_174' -'174','val_174','174','val_174' -'174','val_174','174','val_174' -'175','val_175','175','val_175' -'175','val_175','175','val_175' -'175','val_175','175','val_175' -'175','val_175','175','val_175' -'176','val_176','176','val_176' -'176','val_176','176','val_176' -'176','val_176','176','val_176' -'176','val_176','176','val_176' -'177','val_177','177','val_177' -'178','val_178','178','val_178' -'179','val_179','179','val_179' -'179','val_179','179','val_179' -'179','val_179','179','val_179' -'179','val_179','179','val_179' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'180','val_180','180','val_180' -'181','val_181','181','val_181' -'183','val_183','183','val_183' -'186','val_186','186','val_186' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'189','val_189','189','val_189' -'19','val_19','19','val_19' -'190','val_190','190','val_190' -'191','val_191','191','val_191' -'191','val_191','191','val_191' -'191','val_191','191','val_191' -'191','val_191','191','val_191' -'192','val_192','192','val_192' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'194','val_194','194','val_194' -'195','val_195','195','val_195' -'195','val_195','195','val_195' -'195','val_195','195','val_195' -'195','val_195','195','val_195' -'196','val_196','196','val_196' -'197','val_197','197','val_197' -'197','val_197','197','val_197' -'197','val_197','197','val_197' -'197','val_197','197','val_197' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'2','val_2','2','val_2' -'20','val_20','20','val_20' -'200','val_200','200','val_200' -'200','val_200','200','val_200' -'200','val_200','200','val_200' -'200','val_200','200','val_200' -'201','val_201','201','val_201' -'202','val_202','202','val_202' -'203','val_203','203','val_203' -'203','val_203','203','val_203' -'203','val_203','203','val_203' -'203','val_203','203','val_203' -'205','val_205','205','val_205' -'205','val_205','205','val_205' -'205','val_205','205','val_205' -'205','val_205','205','val_205' -'207','val_207','207','val_207' -'207','val_207','207','val_207' -'207','val_207','207','val_207' -'207','val_207','207','val_207' -'208','val_208','208','val_208' -'208','val_208','208','val_208' -'208','val_208','208','val_208' -'208','val_208','208','val_208' -'208','val_208','208','val_208' -'208','val_208','208','val_208' -'208','val_208','208','val_208' -'208','val_208','208','val_208' -'208','val_208','208','val_208' -'209','val_209','209','val_209' -'209','val_209','209','val_209' -'209','val_209','209','val_209' -'209','val_209','209','val_209' -'213','val_213','213','val_213' -'213','val_213','213','val_213' -'213','val_213','213','val_213' -'213','val_213','213','val_213' -'214','val_214','214','val_214' -'216','val_216','216','val_216' -'216','val_216','216','val_216' -'216','val_216','216','val_216' -'216','val_216','216','val_216' -'217','val_217','217','val_217' -'217','val_217','217','val_217' -'217','val_217','217','val_217' -'217','val_217','217','val_217' -'218','val_218','218','val_218' -'219','val_219','219','val_219' -'219','val_219','219','val_219' -'219','val_219','219','val_219' -'219','val_219','219','val_219' -'221','val_221','221','val_221' -'221','val_221','221','val_221' -'221','val_221','221','val_221' -'221','val_221','221','val_221' -'222','val_222','222','val_222' -'223','val_223','223','val_223' -'223','val_223','223','val_223' -'223','val_223','223','val_223' -'223','val_223','223','val_223' -'224','val_224','224','val_224' -'224','val_224','224','val_224' -'224','val_224','224','val_224' -'224','val_224','224','val_224' -'226','val_226','226','val_226' -'228','val_228','228','val_228' -'229','val_229','229','val_229' -'229','val_229','229','val_229' -'229','val_229','229','val_229' -'229','val_229','229','val_229' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'233','val_233','233','val_233' -'233','val_233','233','val_233' -'233','val_233','233','val_233' -'233','val_233','233','val_233' -'235','val_235','235','val_235' -'237','val_237','237','val_237' -'237','val_237','237','val_237' -'237','val_237','237','val_237' -'237','val_237','237','val_237' -'238','val_238','238','val_238' -'238','val_238','238','val_238' -'238','val_238','238','val_238' -'238','val_238','238','val_238' -'239','val_239','239','val_239' -'239','val_239','239','val_239' -'239','val_239','239','val_239' -'239','val_239','239','val_239' -'24','val_24','24','val_24' -'24','val_24','24','val_24' -'24','val_24','24','val_24' -'24','val_24','24','val_24' -'241','val_241','241','val_241' -'242','val_242','242','val_242' -'242','val_242','242','val_242' -'242','val_242','242','val_242' -'242','val_242','242','val_242' -'244','val_244','244','val_244' -'247','val_247','247','val_247' -'248','val_248','248','val_248' -'249','val_249','249','val_249' -'252','val_252','252','val_252' -'255','val_255','255','val_255' -'255','val_255','255','val_255' -'255','val_255','255','val_255' -'255','val_255','255','val_255' -'256','val_256','256','val_256' -'256','val_256','256','val_256' -'256','val_256','256','val_256' -'256','val_256','256','val_256' -'257','val_257','257','val_257' -'258','val_258','258','val_258' -'26','val_26','26','val_26' -'26','val_26','26','val_26' -'26','val_26','26','val_26' -'26','val_26','26','val_26' -'260','val_260','260','val_260' -'262','val_262','262','val_262' -'263','val_263','263','val_263' -'265','val_265','265','val_265' -'265','val_265','265','val_265' -'265','val_265','265','val_265' -'265','val_265','265','val_265' -'266','val_266','266','val_266' -'27','val_27','27','val_27' -'272','val_272','272','val_272' -'272','val_272','272','val_272' -'272','val_272','272','val_272' -'272','val_272','272','val_272' -'273','val_273','273','val_273' -'273','val_273','273','val_273' -'273','val_273','273','val_273' -'273','val_273','273','val_273' -'273','val_273','273','val_273' -'273','val_273','273','val_273' -'273','val_273','273','val_273' -'273','val_273','273','val_273' -'273','val_273','273','val_273' -'274','val_274','274','val_274' -'275','val_275','275','val_275' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'278','val_278','278','val_278' -'278','val_278','278','val_278' -'278','val_278','278','val_278' -'278','val_278','278','val_278' -'28','val_28','28','val_28' -'280','val_280','280','val_280' -'280','val_280','280','val_280' -'280','val_280','280','val_280' -'280','val_280','280','val_280' -'281','val_281','281','val_281' -'281','val_281','281','val_281' -'281','val_281','281','val_281' -'281','val_281','281','val_281' -'282','val_282','282','val_282' -'282','val_282','282','val_282' -'282','val_282','282','val_282' -'282','val_282','282','val_282' -'283','val_283','283','val_283' -'284','val_284','284','val_284' -'285','val_285','285','val_285' -'286','val_286','286','val_286' -'287','val_287','287','val_287' -'288','val_288','288','val_288' -'288','val_288','288','val_288' -'288','val_288','288','val_288' -'288','val_288','288','val_288' -'289','val_289','289','val_289' -'291','val_291','291','val_291' -'292','val_292','292','val_292' -'296','val_296','296','val_296' -'298','val_298','298','val_298' -'298','val_298','298','val_298' -'298','val_298','298','val_298' -'298','val_298','298','val_298' -'298','val_298','298','val_298' -'298','val_298','298','val_298' -'298','val_298','298','val_298' -'298','val_298','298','val_298' -'298','val_298','298','val_298' -'30','val_30','30','val_30' -'302','val_302','302','val_302' -'305','val_305','305','val_305' -'306','val_306','306','val_306' -'307','val_307','307','val_307' -'307','val_307','307','val_307' -'307','val_307','307','val_307' -'307','val_307','307','val_307' -'308','val_308','308','val_308' -'309','val_309','309','val_309' -'309','val_309','309','val_309' -'309','val_309','309','val_309' -'309','val_309','309','val_309' -'310','val_310','310','val_310' -'311','val_311','311','val_311' -'311','val_311','311','val_311' -'311','val_311','311','val_311' -'311','val_311','311','val_311' -'311','val_311','311','val_311' -'311','val_311','311','val_311' -'311','val_311','311','val_311' -'311','val_311','311','val_311' -'311','val_311','311','val_311' -'315','val_315','315','val_315' -'316','val_316','316','val_316' -'316','val_316','316','val_316' -'316','val_316','316','val_316' -'316','val_316','316','val_316' -'316','val_316','316','val_316' -'316','val_316','316','val_316' -'316','val_316','316','val_316' -'316','val_316','316','val_316' -'316','val_316','316','val_316' -'317','val_317','317','val_317' -'317','val_317','317','val_317' -'317','val_317','317','val_317' -'317','val_317','317','val_317' -'318','val_318','318','val_318' -'318','val_318','318','val_318' -'318','val_318','318','val_318' -'318','val_318','318','val_318' -'318','val_318','318','val_318' -'318','val_318','318','val_318' -'318','val_318','318','val_318' -'318','val_318','318','val_318' -'318','val_318','318','val_318' -'321','val_321','321','val_321' -'321','val_321','321','val_321' -'321','val_321','321','val_321' -'321','val_321','321','val_321' -'322','val_322','322','val_322' -'322','val_322','322','val_322' -'322','val_322','322','val_322' -'322','val_322','322','val_322' -'323','val_323','323','val_323' -'325','val_325','325','val_325' -'325','val_325','325','val_325' -'325','val_325','325','val_325' -'325','val_325','325','val_325' -'327','val_327','327','val_327' -'327','val_327','327','val_327' -'327','val_327','327','val_327' -'327','val_327','327','val_327' -'327','val_327','327','val_327' -'327','val_327','327','val_327' -'327','val_327','327','val_327' -'327','val_327','327','val_327' -'327','val_327','327','val_327' -'33','val_33','33','val_33' -'331','val_331','331','val_331' -'331','val_331','331','val_331' -'331','val_331','331','val_331' -'331','val_331','331','val_331' -'332','val_332','332','val_332' -'333','val_333','333','val_333' -'333','val_333','333','val_333' -'333','val_333','333','val_333' -'333','val_333','333','val_333' -'335','val_335','335','val_335' -'336','val_336','336','val_336' -'338','val_338','338','val_338' -'339','val_339','339','val_339' -'34','val_34','34','val_34' -'341','val_341','341','val_341' -'342','val_342','342','val_342' -'342','val_342','342','val_342' -'342','val_342','342','val_342' -'342','val_342','342','val_342' -'344','val_344','344','val_344' -'344','val_344','344','val_344' -'344','val_344','344','val_344' -'344','val_344','344','val_344' -'345','val_345','345','val_345' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'351','val_351','351','val_351' -'353','val_353','353','val_353' -'353','val_353','353','val_353' -'353','val_353','353','val_353' -'353','val_353','353','val_353' -'356','val_356','356','val_356' -'360','val_360','360','val_360' -'362','val_362','362','val_362' -'364','val_364','364','val_364' -'365','val_365','365','val_365' -'366','val_366','366','val_366' -'367','val_367','367','val_367' -'367','val_367','367','val_367' -'367','val_367','367','val_367' -'367','val_367','367','val_367' -'368','val_368','368','val_368' -'369','val_369','369','val_369' -'369','val_369','369','val_369' -'369','val_369','369','val_369' -'369','val_369','369','val_369' -'369','val_369','369','val_369' -'369','val_369','369','val_369' -'369','val_369','369','val_369' -'369','val_369','369','val_369' -'369','val_369','369','val_369' -'37','val_37','37','val_37' -'37','val_37','37','val_37' -'37','val_37','37','val_37' -'37','val_37','37','val_37' -'373','val_373','373','val_373' -'374','val_374','374','val_374' -'375','val_375','375','val_375' -'377','val_377','377','val_377' -'378','val_378','378','val_378' -'379','val_379','379','val_379' -'382','val_382','382','val_382' -'382','val_382','382','val_382' -'382','val_382','382','val_382' -'382','val_382','382','val_382' -'384','val_384','384','val_384' -'384','val_384','384','val_384' -'384','val_384','384','val_384' -'384','val_384','384','val_384' -'384','val_384','384','val_384' -'384','val_384','384','val_384' -'384','val_384','384','val_384' -'384','val_384','384','val_384' -'384','val_384','384','val_384' -'386','val_386','386','val_386' -'389','val_389','389','val_389' -'392','val_392','392','val_392' -'393','val_393','393','val_393' -'394','val_394','394','val_394' -'395','val_395','395','val_395' -'395','val_395','395','val_395' -'395','val_395','395','val_395' -'395','val_395','395','val_395' -'396','val_396','396','val_396' -'396','val_396','396','val_396' -'396','val_396','396','val_396' -'396','val_396','396','val_396' -'396','val_396','396','val_396' -'396','val_396','396','val_396' -'396','val_396','396','val_396' -'396','val_396','396','val_396' -'396','val_396','396','val_396' -'397','val_397','397','val_397' -'397','val_397','397','val_397' -'397','val_397','397','val_397' -'397','val_397','397','val_397' -'399','val_399','399','val_399' -'399','val_399','399','val_399' -'399','val_399','399','val_399' -'399','val_399','399','val_399' -'4','val_4','4','val_4' -'400','val_400','400','val_400' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'402','val_402','402','val_402' -'403','val_403','403','val_403' -'403','val_403','403','val_403' -'403','val_403','403','val_403' -'403','val_403','403','val_403' -'403','val_403','403','val_403' -'403','val_403','403','val_403' -'403','val_403','403','val_403' -'403','val_403','403','val_403' -'403','val_403','403','val_403' -'404','val_404','404','val_404' -'404','val_404','404','val_404' -'404','val_404','404','val_404' -'404','val_404','404','val_404' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'407','val_407','407','val_407' -'409','val_409','409','val_409' -'409','val_409','409','val_409' -'409','val_409','409','val_409' -'409','val_409','409','val_409' -'409','val_409','409','val_409' -'409','val_409','409','val_409' -'409','val_409','409','val_409' -'409','val_409','409','val_409' -'409','val_409','409','val_409' -'41','val_41','41','val_41' -'411','val_411','411','val_411' -'413','val_413','413','val_413' -'413','val_413','413','val_413' -'413','val_413','413','val_413' -'413','val_413','413','val_413' -'414','val_414','414','val_414' -'414','val_414','414','val_414' -'414','val_414','414','val_414' -'414','val_414','414','val_414' -'417','val_417','417','val_417' -'417','val_417','417','val_417' -'417','val_417','417','val_417' -'417','val_417','417','val_417' -'417','val_417','417','val_417' -'417','val_417','417','val_417' -'417','val_417','417','val_417' -'417','val_417','417','val_417' -'417','val_417','417','val_417' -'418','val_418','418','val_418' -'419','val_419','419','val_419' -'42','val_42','42','val_42' -'42','val_42','42','val_42' -'42','val_42','42','val_42' -'42','val_42','42','val_42' -'421','val_421','421','val_421' -'424','val_424','424','val_424' -'424','val_424','424','val_424' -'424','val_424','424','val_424' -'424','val_424','424','val_424' -'427','val_427','427','val_427' -'429','val_429','429','val_429' -'429','val_429','429','val_429' -'429','val_429','429','val_429' -'429','val_429','429','val_429' -'43','val_43','43','val_43' -'430','val_430','430','val_430' -'430','val_430','430','val_430' -'430','val_430','430','val_430' -'430','val_430','430','val_430' -'430','val_430','430','val_430' -'430','val_430','430','val_430' -'430','val_430','430','val_430' -'430','val_430','430','val_430' -'430','val_430','430','val_430' -'431','val_431','431','val_431' -'431','val_431','431','val_431' -'431','val_431','431','val_431' -'431','val_431','431','val_431' -'431','val_431','431','val_431' -'431','val_431','431','val_431' -'431','val_431','431','val_431' -'431','val_431','431','val_431' -'431','val_431','431','val_431' -'432','val_432','432','val_432' -'435','val_435','435','val_435' -'436','val_436','436','val_436' -'437','val_437','437','val_437' -'438','val_438','438','val_438' -'438','val_438','438','val_438' -'438','val_438','438','val_438' -'438','val_438','438','val_438' -'438','val_438','438','val_438' -'438','val_438','438','val_438' -'438','val_438','438','val_438' -'438','val_438','438','val_438' -'438','val_438','438','val_438' -'439','val_439','439','val_439' -'439','val_439','439','val_439' -'439','val_439','439','val_439' -'439','val_439','439','val_439' -'44','val_44','44','val_44' -'443','val_443','443','val_443' -'444','val_444','444','val_444' -'446','val_446','446','val_446' -'448','val_448','448','val_448' -'449','val_449','449','val_449' -'452','val_452','452','val_452' -'453','val_453','453','val_453' -'454','val_454','454','val_454' -'454','val_454','454','val_454' -'454','val_454','454','val_454' -'454','val_454','454','val_454' -'454','val_454','454','val_454' -'454','val_454','454','val_454' -'454','val_454','454','val_454' -'454','val_454','454','val_454' -'454','val_454','454','val_454' -'455','val_455','455','val_455' -'457','val_457','457','val_457' -'458','val_458','458','val_458' -'458','val_458','458','val_458' -'458','val_458','458','val_458' -'458','val_458','458','val_458' -'459','val_459','459','val_459' -'459','val_459','459','val_459' -'459','val_459','459','val_459' -'459','val_459','459','val_459' -'460','val_460','460','val_460' -'462','val_462','462','val_462' -'462','val_462','462','val_462' -'462','val_462','462','val_462' -'462','val_462','462','val_462' -'463','val_463','463','val_463' -'463','val_463','463','val_463' -'463','val_463','463','val_463' -'463','val_463','463','val_463' -'466','val_466','466','val_466' -'466','val_466','466','val_466' -'466','val_466','466','val_466' -'466','val_466','466','val_466' -'466','val_466','466','val_466' -'466','val_466','466','val_466' -'466','val_466','466','val_466' -'466','val_466','466','val_466' -'466','val_466','466','val_466' -'467','val_467','467','val_467' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'47','val_47','47','val_47' -'470','val_470','470','val_470' -'472','val_472','472','val_472' -'475','val_475','475','val_475' -'477','val_477','477','val_477' -'478','val_478','478','val_478' -'478','val_478','478','val_478' -'478','val_478','478','val_478' -'478','val_478','478','val_478' -'479','val_479','479','val_479' -'480','val_480','480','val_480' -'480','val_480','480','val_480' -'480','val_480','480','val_480' -'480','val_480','480','val_480' -'480','val_480','480','val_480' -'480','val_480','480','val_480' -'480','val_480','480','val_480' -'480','val_480','480','val_480' -'480','val_480','480','val_480' -'481','val_481','481','val_481' -'482','val_482','482','val_482' -'483','val_483','483','val_483' -'484','val_484','484','val_484' -'485','val_485','485','val_485' -'487','val_487','487','val_487' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'490','val_490','490','val_490' -'491','val_491','491','val_491' -'492','val_492','492','val_492' -'492','val_492','492','val_492' -'492','val_492','492','val_492' -'492','val_492','492','val_492' -'493','val_493','493','val_493' -'494','val_494','494','val_494' -'495','val_495','495','val_495' -'496','val_496','496','val_496' -'497','val_497','497','val_497' -'498','val_498','498','val_498' -'498','val_498','498','val_498' -'498','val_498','498','val_498' -'498','val_498','498','val_498' -'498','val_498','498','val_498' -'498','val_498','498','val_498' -'498','val_498','498','val_498' -'498','val_498','498','val_498' -'498','val_498','498','val_498' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'51','val_51','51','val_51' -'51','val_51','51','val_51' -'51','val_51','51','val_51' -'51','val_51','51','val_51' -'53','val_53','53','val_53' -'54','val_54','54','val_54' -'57','val_57','57','val_57' -'58','val_58','58','val_58' -'58','val_58','58','val_58' -'58','val_58','58','val_58' -'58','val_58','58','val_58' -'64','val_64','64','val_64' -'65','val_65','65','val_65' -'66','val_66','66','val_66' -'67','val_67','67','val_67' -'67','val_67','67','val_67' -'67','val_67','67','val_67' -'67','val_67','67','val_67' -'69','val_69','69','val_69' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'72','val_72','72','val_72' -'72','val_72','72','val_72' -'72','val_72','72','val_72' -'72','val_72','72','val_72' -'74','val_74','74','val_74' -'76','val_76','76','val_76' -'76','val_76','76','val_76' -'76','val_76','76','val_76' -'76','val_76','76','val_76' -'77','val_77','77','val_77' -'78','val_78','78','val_78' -'8','val_8','8','val_8' -'80','val_80','80','val_80' -'82','val_82','82','val_82' -'83','val_83','83','val_83' -'83','val_83','83','val_83' -'83','val_83','83','val_83' -'83','val_83','83','val_83' -'84','val_84','84','val_84' -'84','val_84','84','val_84' -'84','val_84','84','val_84' -'84','val_84','84','val_84' -'85','val_85','85','val_85' -'86','val_86','86','val_86' -'87','val_87','87','val_87' -'9','val_9','9','val_9' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'92','val_92','92','val_92' -'95','val_95','95','val_95' -'95','val_95','95','val_95' -'95','val_95','95','val_95' -'95','val_95','95','val_95' -'96','val_96','96','val_96' -'97','val_97','97','val_97' -'97','val_97','97','val_97' -'97','val_97','97','val_97' -'97','val_97','97','val_97' -'98','val_98','98','val_98' -'98','val_98','98','val_98' -'98','val_98','98','val_98' -'98','val_98','98','val_98' -1,028 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/join18.q.out ql/src/test/results/beelinepositive/join18.q.out deleted file mode 100644 index fda6d0b..0000000 --- ql/src/test/results/beelinepositive/join18.q.out +++ /dev/null @@ -1,536 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join18.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join18.q ->>> EXPLAIN -SELECT a.key, a.value, b.key, b.value -FROM -( -SELECT src1.key as key, count(src1.value) AS value FROM src src1 group by src1.key -) a -FULL OUTER JOIN -( -SELECT src2.key as key, count(distinct(src2.value)) AS value -FROM src1 src2 group by src2.key -) b -ON (a.key = b.key); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_FULLOUTERJOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) src1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key) key) (TOK_SELEXPR (TOK_FUNCTION count (. (TOK_TABLE_OR_COL src1) value)) value)) (TOK_GROUPBY (. (TOK_TABLE_OR_COL src1) key)))) a) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src1) src2)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) key) key) (TOK_SELEXPR (TOK_FUNCTIONDI count (. (TOK_TABLE_OR_COL src2) value)) value)) (TOK_GROUPBY (. (TOK_TABLE_OR_COL src2) key)))) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-3' -' Stage-3 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b:src2 ' -' TableScan' -' alias: src2' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT value)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col1:0._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' $INTNAME1 ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Outer Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: string' -' expr: _col3' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a:src1 ' -' TableScan' -' alias: src1' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: count(value)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -195 rows selected ->>> ->>> SELECT a.key, a.value, b.key, b.value -FROM -( -SELECT src1.key as key, count(src1.value) AS value FROM src src1 group by src1.key -) a -FULL OUTER JOIN -( -SELECT src2.key as key, count(distinct(src2.value)) AS value -FROM src1 src2 group by src2.key -) b -ON (a.key = b.key); -'key','value','key','value' -'','','','7' -'0','3','','' -'10','1','','' -'100','2','','' -'103','2','','' -'104','2','','' -'105','1','','' -'11','1','','' -'111','1','','' -'113','2','','' -'114','1','','' -'116','1','','' -'118','2','','' -'119','3','','' -'12','2','','' -'120','2','','' -'125','2','','' -'126','1','','' -'128','3','128','1' -'129','2','','' -'131','1','','' -'133','1','','' -'134','2','','' -'136','1','','' -'137','2','','' -'138','4','','' -'143','1','','' -'145','1','','' -'146','2','146','1' -'149','2','','' -'15','2','','' -'150','1','150','1' -'152','2','','' -'153','1','','' -'155','1','','' -'156','1','','' -'157','1','','' -'158','1','','' -'160','1','','' -'162','1','','' -'163','1','','' -'164','2','','' -'165','2','','' -'166','1','','' -'167','3','','' -'168','1','','' -'169','4','','' -'17','1','','' -'170','1','','' -'172','2','','' -'174','2','','' -'175','2','','' -'176','2','','' -'177','1','','' -'178','1','','' -'179','2','','' -'18','2','','' -'180','1','','' -'181','1','','' -'183','1','','' -'186','1','','' -'187','3','','' -'189','1','','' -'19','1','','' -'190','1','','' -'191','2','','' -'192','1','','' -'193','3','','' -'194','1','','' -'195','2','','' -'196','1','','' -'197','2','','' -'199','3','','' -'2','1','','' -'20','1','','' -'200','2','','' -'201','1','','' -'202','1','','' -'203','2','','' -'205','2','','' -'207','2','','' -'208','3','','' -'209','2','','' -'213','2','213','1' -'214','1','','' -'216','2','','' -'217','2','','' -'218','1','','' -'219','2','','' -'221','2','','' -'222','1','','' -'223','2','','' -'224','2','224','1' -'226','1','','' -'228','1','','' -'229','2','','' -'230','5','','' -'233','2','','' -'235','1','','' -'237','2','','' -'238','2','238','1' -'239','2','','' -'24','2','','' -'241','1','','' -'242','2','','' -'244','1','','' -'247','1','','' -'248','1','','' -'249','1','','' -'252','1','','' -'255','2','255','1' -'256','2','','' -'257','1','','' -'258','1','','' -'26','2','','' -'260','1','','' -'262','1','','' -'263','1','','' -'265','2','','' -'266','1','','' -'27','1','','' -'272','2','','' -'273','3','273','1' -'274','1','','' -'275','1','','' -'277','4','','' -'278','2','278','1' -'28','1','','' -'280','2','','' -'281','2','','' -'282','2','','' -'283','1','','' -'284','1','','' -'285','1','','' -'286','1','','' -'287','1','','' -'288','2','','' -'289','1','','' -'291','1','','' -'292','1','','' -'296','1','','' -'298','3','','' -'30','1','','' -'302','1','','' -'305','1','','' -'306','1','','' -'307','2','','' -'308','1','','' -'309','2','','' -'310','1','','' -'311','3','311','1' -'315','1','','' -'316','3','','' -'317','2','','' -'318','3','','' -'321','2','','' -'322','2','','' -'323','1','','' -'325','2','','' -'327','3','','' -'33','1','','' -'331','2','','' -'332','1','','' -'333','2','','' -'335','1','','' -'336','1','','' -'338','1','','' -'339','1','','' -'34','1','','' -'341','1','','' -'342','2','','' -'344','2','','' -'345','1','','' -'348','5','','' -'35','3','','' -'351','1','','' -'353','2','','' -'356','1','','' -'360','1','','' -'362','1','','' -'364','1','','' -'365','1','','' -'366','1','','' -'367','2','','' -'368','1','','' -'369','3','369','1' -'37','2','','' -'373','1','','' -'374','1','','' -'375','1','','' -'377','1','','' -'378','1','','' -'379','1','','' -'382','2','','' -'384','3','','' -'386','1','','' -'389','1','','' -'392','1','','' -'393','1','','' -'394','1','','' -'395','2','','' -'396','3','','' -'397','2','','' -'399','2','','' -'4','1','','' -'400','1','','' -'401','5','401','1' -'402','1','','' -'403','3','','' -'404','2','','' -'406','4','406','1' -'407','1','','' -'409','3','','' -'41','1','','' -'411','1','','' -'413','2','','' -'414','2','','' -'417','3','','' -'418','1','','' -'419','1','','' -'42','2','','' -'421','1','','' -'424','2','','' -'427','1','','' -'429','2','','' -'43','1','','' -'430','3','','' -'431','3','','' -'432','1','','' -'435','1','','' -'436','1','','' -'437','1','','' -'438','3','','' -'439','2','','' -'44','1','','' -'443','1','','' -'444','1','','' -'446','1','','' -'448','1','','' -'449','1','','' -'452','1','','' -'453','1','','' -'454','3','','' -'455','1','','' -'457','1','','' -'458','2','','' -'459','2','','' -'460','1','','' -'462','2','','' -'463','2','','' -'466','3','','' -'467','1','','' -'468','4','','' -'469','5','','' -'47','1','','' -'470','1','','' -'472','1','','' -'475','1','','' -'477','1','','' -'478','2','','' -'479','1','','' -'480','3','','' -'481','1','','' -'482','1','','' -'483','1','','' -'484','1','','' -'485','1','','' -'487','1','','' -'489','4','','' -'490','1','','' -'491','1','','' -'492','2','','' -'493','1','','' -'494','1','','' -'495','1','','' -'496','1','','' -'497','1','','' -'498','3','','' -'5','3','','' -'51','2','','' -'53','1','','' -'54','1','','' -'57','1','','' -'58','2','','' -'64','1','','' -'65','1','','' -'66','1','66','1' -'67','2','','' -'69','1','','' -'70','3','','' -'72','2','','' -'74','1','','' -'76','2','','' -'77','1','','' -'78','1','','' -'8','1','','' -'80','1','','' -'82','1','','' -'83','2','','' -'84','2','','' -'85','1','','' -'86','1','','' -'87','1','','' -'9','1','','' -'90','3','','' -'92','1','','' -'95','2','','' -'96','1','','' -'97','2','','' -'98','2','98','1' -310 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/join18_multi_distinct.q.out ql/src/test/results/beelinepositive/join18_multi_distinct.q.out deleted file mode 100644 index 1c99b4e..0000000 --- ql/src/test/results/beelinepositive/join18_multi_distinct.q.out +++ /dev/null @@ -1,608 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join18_multi_distinct.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join18_multi_distinct.q ->>> EXPLAIN -SELECT a.key, a.value, b.key, b.value1, b.value2 -FROM -( -SELECT src1.key as key, count(src1.value) AS value FROM src src1 group by src1.key -) a -FULL OUTER JOIN -( -SELECT src2.key as key, count(distinct(src2.value)) AS value1, -count(distinct(src2.key)) AS value2 -FROM src1 src2 group by src2.key -) b -ON (a.key = b.key) ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value1 ASC, b.value2 ASC; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_FULLOUTERJOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) src1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key) key) (TOK_SELEXPR (TOK_FUNCTION count (. (TOK_TABLE_OR_COL src1) value)) value)) (TOK_GROUPBY (. (TOK_TABLE_OR_COL src1) key)))) a) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src1) src2)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) key) key) (TOK_SELEXPR (TOK_FUNCTIONDI count (. (TOK_TABLE_OR_COL src2) value)) value1) (TOK_SELEXPR (TOK_FUNCTIONDI count (. (TOK_TABLE_OR_COL src2) key)) value2)) (TOK_GROUPBY (. (TOK_TABLE_OR_COL src2) key)))) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value2))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL b) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL b) value1)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL b) value2)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-4' -' Stage-3 depends on stages: Stage-2' -' Stage-4 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b:src2 ' -' TableScan' -' alias: src2' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT value)' -' expr: count(DISTINCT key)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' expr: _col3' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col1:0._col0)' -' expr: count(DISTINCT KEY._col1:1._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col1:1._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: bigint' -' $INTNAME1 ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Outer Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1} {VALUE._col2}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: string' -' expr: _col3' -' type: bigint' -' expr: _col4' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: string' -' expr: _col3' -' type: bigint' -' expr: _col4' -' type: bigint' -' sort order: +++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: string' -' expr: _col3' -' type: bigint' -' expr: _col4' -' type: bigint' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a:src1 ' -' TableScan' -' alias: src1' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: count(value)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -244 rows selected ->>> ->>> SELECT a.key, a.value, b.key, b.value1, b.value2 -FROM -( -SELECT src1.key as key, count(src1.value) AS value FROM src src1 group by src1.key -) a -FULL OUTER JOIN -( -SELECT src2.key as key, count(distinct(src2.value)) AS value1, -count(distinct(src2.key)) AS value2 -FROM src1 src2 group by src2.key -) b -ON (a.key = b.key) ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value1 ASC, b.value2 ASC; -'key','value','key','value1','value2' -'','','','1','0' -'','','','1','0' -'','','','1','0' -'','','','1','1' -'','','val_146','1','0' -'','','val_150','1','0' -'','','val_165','1','0' -'','','val_193','1','0' -'','','val_213','1','0' -'','','val_238','1','0' -'','','val_255','1','0' -'','','val_265','1','0' -'','','val_27','1','0' -'','','val_273','1','0' -'','','val_278','1','0' -'','','val_311','1','0' -'','','val_401','1','0' -'','','val_406','1','0' -'','','val_409','1','0' -'','','val_484','1','0' -'','','val_66','1','0' -'','','val_98','1','0' -'0','3','','','' -'10','1','','','' -'100','2','','','' -'103','2','','','' -'104','2','','','' -'105','1','','','' -'11','1','','','' -'111','1','','','' -'113','2','','','' -'114','1','','','' -'116','1','','','' -'118','2','','','' -'119','3','','','' -'12','2','','','' -'120','2','','','' -'125','2','','','' -'126','1','','','' -'128','3','128','0','1' -'129','2','','','' -'131','1','','','' -'133','1','','','' -'134','2','','','' -'136','1','','','' -'137','2','','','' -'138','4','','','' -'143','1','','','' -'145','1','','','' -'146','2','146','0','1' -'149','2','','','' -'15','2','','','' -'150','1','150','0','1' -'152','2','','','' -'153','1','','','' -'155','1','','','' -'156','1','','','' -'157','1','','','' -'158','1','','','' -'160','1','','','' -'162','1','','','' -'163','1','','','' -'164','2','','','' -'165','2','','','' -'166','1','','','' -'167','3','','','' -'168','1','','','' -'169','4','','','' -'17','1','','','' -'170','1','','','' -'172','2','','','' -'174','2','','','' -'175','2','','','' -'176','2','','','' -'177','1','','','' -'178','1','','','' -'179','2','','','' -'18','2','','','' -'180','1','','','' -'181','1','','','' -'183','1','','','' -'186','1','','','' -'187','3','','','' -'189','1','','','' -'19','1','','','' -'190','1','','','' -'191','2','','','' -'192','1','','','' -'193','3','','','' -'194','1','','','' -'195','2','','','' -'196','1','','','' -'197','2','','','' -'199','3','','','' -'2','1','','','' -'20','1','','','' -'200','2','','','' -'201','1','','','' -'202','1','','','' -'203','2','','','' -'205','2','','','' -'207','2','','','' -'208','3','','','' -'209','2','','','' -'213','2','213','0','1' -'214','1','','','' -'216','2','','','' -'217','2','','','' -'218','1','','','' -'219','2','','','' -'221','2','','','' -'222','1','','','' -'223','2','','','' -'224','2','224','0','1' -'226','1','','','' -'228','1','','','' -'229','2','','','' -'230','5','','','' -'233','2','','','' -'235','1','','','' -'237','2','','','' -'238','2','238','0','1' -'239','2','','','' -'24','2','','','' -'241','1','','','' -'242','2','','','' -'244','1','','','' -'247','1','','','' -'248','1','','','' -'249','1','','','' -'252','1','','','' -'255','2','255','0','1' -'256','2','','','' -'257','1','','','' -'258','1','','','' -'26','2','','','' -'260','1','','','' -'262','1','','','' -'263','1','','','' -'265','2','','','' -'266','1','','','' -'27','1','','','' -'272','2','','','' -'273','3','273','0','1' -'274','1','','','' -'275','1','','','' -'277','4','','','' -'278','2','278','0','1' -'28','1','','','' -'280','2','','','' -'281','2','','','' -'282','2','','','' -'283','1','','','' -'284','1','','','' -'285','1','','','' -'286','1','','','' -'287','1','','','' -'288','2','','','' -'289','1','','','' -'291','1','','','' -'292','1','','','' -'296','1','','','' -'298','3','','','' -'30','1','','','' -'302','1','','','' -'305','1','','','' -'306','1','','','' -'307','2','','','' -'308','1','','','' -'309','2','','','' -'310','1','','','' -'311','3','311','0','1' -'315','1','','','' -'316','3','','','' -'317','2','','','' -'318','3','','','' -'321','2','','','' -'322','2','','','' -'323','1','','','' -'325','2','','','' -'327','3','','','' -'33','1','','','' -'331','2','','','' -'332','1','','','' -'333','2','','','' -'335','1','','','' -'336','1','','','' -'338','1','','','' -'339','1','','','' -'34','1','','','' -'341','1','','','' -'342','2','','','' -'344','2','','','' -'345','1','','','' -'348','5','','','' -'35','3','','','' -'351','1','','','' -'353','2','','','' -'356','1','','','' -'360','1','','','' -'362','1','','','' -'364','1','','','' -'365','1','','','' -'366','1','','','' -'367','2','','','' -'368','1','','','' -'369','3','369','0','1' -'37','2','','','' -'373','1','','','' -'374','1','','','' -'375','1','','','' -'377','1','','','' -'378','1','','','' -'379','1','','','' -'382','2','','','' -'384','3','','','' -'386','1','','','' -'389','1','','','' -'392','1','','','' -'393','1','','','' -'394','1','','','' -'395','2','','','' -'396','3','','','' -'397','2','','','' -'399','2','','','' -'4','1','','','' -'400','1','','','' -'401','5','401','0','1' -'402','1','','','' -'403','3','','','' -'404','2','','','' -'406','4','406','0','1' -'407','1','','','' -'409','3','','','' -'41','1','','','' -'411','1','','','' -'413','2','','','' -'414','2','','','' -'417','3','','','' -'418','1','','','' -'419','1','','','' -'42','2','','','' -'421','1','','','' -'424','2','','','' -'427','1','','','' -'429','2','','','' -'43','1','','','' -'430','3','','','' -'431','3','','','' -'432','1','','','' -'435','1','','','' -'436','1','','','' -'437','1','','','' -'438','3','','','' -'439','2','','','' -'44','1','','','' -'443','1','','','' -'444','1','','','' -'446','1','','','' -'448','1','','','' -'449','1','','','' -'452','1','','','' -'453','1','','','' -'454','3','','','' -'455','1','','','' -'457','1','','','' -'458','2','','','' -'459','2','','','' -'460','1','','','' -'462','2','','','' -'463','2','','','' -'466','3','','','' -'467','1','','','' -'468','4','','','' -'469','5','','','' -'47','1','','','' -'470','1','','','' -'472','1','','','' -'475','1','','','' -'477','1','','','' -'478','2','','','' -'479','1','','','' -'480','3','','','' -'481','1','','','' -'482','1','','','' -'483','1','','','' -'484','1','','','' -'485','1','','','' -'487','1','','','' -'489','4','','','' -'490','1','','','' -'491','1','','','' -'492','2','','','' -'493','1','','','' -'494','1','','','' -'495','1','','','' -'496','1','','','' -'497','1','','','' -'498','3','','','' -'5','3','','','' -'51','2','','','' -'53','1','','','' -'54','1','','','' -'57','1','','','' -'58','2','','','' -'64','1','','','' -'65','1','','','' -'66','1','66','0','1' -'67','2','','','' -'69','1','','','' -'70','3','','','' -'72','2','','','' -'74','1','','','' -'76','2','','','' -'77','1','','','' -'78','1','','','' -'8','1','','','' -'80','1','','','' -'82','1','','','' -'83','2','','','' -'84','2','','','' -'85','1','','','' -'86','1','','','' -'87','1','','','' -'9','1','','','' -'90','3','','','' -'92','1','','','' -'95','2','','','' -'96','1','','','' -'97','2','','','' -'98','2','98','0','1' -331 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/join19.q.out ql/src/test/results/beelinepositive/join19.q.out deleted file mode 100644 index 2a0d5aa..0000000 --- ql/src/test/results/beelinepositive/join19.q.out +++ /dev/null @@ -1,338 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join19.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join19.q ->>> CREATE TABLE triples (foo string, subject string, predicate string, object string, foo2 string); -No rows affected ->>> ->>> EXPLAIN -SELECT t11.subject, t22.object , t33.subject , t55.object, t66.object -FROM -( -SELECT t1.subject -FROM triples t1 -WHERE -t1.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__INSTANCEOF_REL' -AND -t1.object='http://ontos/OntosMiner/Common.English/ontology#Citation' -) t11 -JOIN -( -SELECT t2.subject , t2.object -FROM triples t2 -WHERE -t2.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__LABEL_REL' -) t22 -ON (t11.subject=t22.subject) -JOIN -( -SELECT t3.subject , t3.object -FROM triples t3 -WHERE -t3.predicate='http://www.ontosearch.com/2007/12/ontosofa-ns#_from' - -) t33 -ON (t11.subject=t33.object) -JOIN -( -SELECT t4.subject -FROM triples t4 -WHERE -t4.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__INSTANCEOF_REL' -AND -t4.object='http://ontos/OntosMiner/Common.English/ontology#Author' - -) t44 -ON (t44.subject=t33.subject) -JOIN -( -SELECT t5.subject, t5.object -FROM triples t5 -WHERE -t5.predicate='http://www.ontosearch.com/2007/12/ontosofa-ns#_to' -) t55 -ON (t55.subject=t44.subject) -JOIN -( -SELECT t6.subject, t6.object -FROM triples t6 -WHERE -t6.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__LABEL_REL' -) t66 -ON (t66.subject=t55.object); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_JOIN (TOK_JOIN (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME triples) t1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL t1) subject))) (TOK_WHERE (AND (= (. (TOK_TABLE_OR_COL t1) predicate) 'http://sofa.semanticweb.org/sofa/v1.0/system#__INSTANCEOF_REL') (= (. (TOK_TABLE_OR_COL t1) object) 'http://ontos/OntosMiner/Common.English/ontology#Citation'))))) t11) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME triples) t2)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL t2) subject)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL t2) object))) (TOK_WHERE (= (. (TOK_TABLE_OR_COL t2) predicate) 'http://sofa.semanticweb.org/sofa/v1.0/system#__LABEL_REL')))) t22) (= (. (TOK_TABLE_OR_COL t11) subject) (. (TOK_TABLE_OR_COL t22) subject))) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME triples) t3)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL t3) subject)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL t3) object))) (TOK_WHERE (= (. (TOK_TABLE_OR_COL t3) predicate) 'http://www.ontosearch.com/2007/12/ontosofa-ns#_from')))) t33) (= (. (TOK_TABLE_OR_COL t11) subject) (. (TOK_TABLE_OR_COL t33) object))) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME triples) t4)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL t4) subject))) (TOK_WHERE (AND (= (. (TOK_TABLE_OR_COL t4) predicate) 'http://sofa.semanticweb.org/sofa/v1.0/system#__INSTANCEOF_REL') (= (. (TOK_TABLE_OR_COL t4) object) 'http://ontos/OntosMiner/Common.English/ontology#Author'))))) t44) (= (. (TOK_TABLE_OR_COL t44) subject) (. (TOK_TABLE_OR_COL t33) subject))) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME triples) t5)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL t5) subject)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL t5) object))) (TOK_WHERE (= (. (TOK_TABLE_OR_COL t5) predicate) 'http://www.ontosearch.com/2007/12/ontosofa-ns#_to')))) t55) (= (. (TOK_TABLE_OR_COL t55) subject) (. (TOK_TABLE_OR_COL t44) subject))) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME triples) t6)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL t6) subject)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL t6) object))) (TOK_WHERE (= (. (TOK_TABLE_OR_COL t6) predicate) 'http://sofa.semanticweb.org/sofa/v1.0/system#__LABEL_REL')))) t66) (= (. (TOK_TABLE_OR_COL t66) subject) (. (TOK_TABLE_OR_COL t55) object)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL t11) subject)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL t22) object)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL t33) subject)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL t55) object)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL t66) object)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-3 depends on stages: Stage-2' -' Stage-1 depends on stages: Stage-3' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' t11:t1 ' -' TableScan' -' alias: t1' -' Filter Operator' -' predicate:' -' expr: ((predicate = 'http://sofa.semanticweb.org/sofa/v1.0/system#__INSTANCEOF_REL') and (object = 'http://ontos/OntosMiner/Common.English/ontology#Citation'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: subject' -' type: string' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' t22:t2 ' -' TableScan' -' alias: t2' -' Filter Operator' -' predicate:' -' expr: (predicate = 'http://sofa.semanticweb.org/sofa/v1.0/system#__LABEL_REL')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: subject' -' type: string' -' expr: object' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col1' -' type: string' -' t33:t3 ' -' TableScan' -' alias: t3' -' Filter Operator' -' predicate:' -' expr: (predicate = 'http://www.ontosearch.com/2007/12/ontosofa-ns#_from')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: subject' -' type: string' -' expr: object' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col1' -' type: string' -' tag: 2' -' value expressions:' -' expr: _col0' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 0 to 2' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col1}' -' 2 {VALUE._col0}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col3' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col3' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col3' -' type: string' -' expr: _col0' -' type: string' -' expr: _col2' -' type: string' -' t44:t4 ' -' TableScan' -' alias: t4' -' Filter Operator' -' predicate:' -' expr: ((predicate = 'http://sofa.semanticweb.org/sofa/v1.0/system#__INSTANCEOF_REL') and (object = 'http://ontos/OntosMiner/Common.English/ontology#Author'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: subject' -' type: string' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' t55:t5 ' -' TableScan' -' alias: t5' -' Filter Operator' -' predicate:' -' expr: (predicate = 'http://www.ontosearch.com/2007/12/ontosofa-ns#_to')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: subject' -' type: string' -' expr: object' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 2' -' value expressions:' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 1 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col2} {VALUE._col4}' -' 1 ' -' 2 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col2, _col4, _col7' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col7' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col7' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col2' -' type: string' -' expr: _col4' -' type: string' -' expr: _col7' -' type: string' -' t66:t6 ' -' TableScan' -' alias: t6' -' Filter Operator' -' predicate:' -' expr: (predicate = 'http://sofa.semanticweb.org/sofa/v1.0/system#__LABEL_REL')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: subject' -' type: string' -' expr: object' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col3} {VALUE._col5} {VALUE._col7}' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col3, _col5, _col7, _col9' -' Select Operator' -' expressions:' -' expr: _col3' -' type: string' -' expr: _col5' -' type: string' -' expr: _col0' -' type: string' -' expr: _col7' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -274 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/join2.q.out ql/src/test/results/beelinepositive/join2.q.out deleted file mode 100644 index 1e80d7e..0000000 --- ql/src/test/results/beelinepositive/join2.q.out +++ /dev/null @@ -1,628 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join2.q ->>> CREATE TABLE dest_j2(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src src1 JOIN src src2 ON (src1.key = src2.key) JOIN src src3 ON (src1.key + src2.key = src3.key) -INSERT OVERWRITE TABLE dest_j2 SELECT src1.key, src3.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2) (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key))) (TOK_TABREF (TOK_TABNAME src) src3) (= (+ (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)) (. (TOK_TABLE_OR_COL src3) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_j2))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src3) value)))))' -'' -'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' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col0}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col4' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: (_col0 + _col4)' -' type: double' -' sort order: +' -' Map-reduce partition columns:' -' expr: (_col0 + _col4)' -' type: double' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' src3 ' -' TableScan' -' alias: src3' -' Reduce Output Operator' -' key expressions:' -' expr: UDFToDouble(key)' -' type: double' -' sort order: +' -' Map-reduce partition columns:' -' expr: UDFToDouble(key)' -' type: double' -' tag: 1' -' value expressions:' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col4}' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col4, _col9' -' Select Operator' -' expressions:' -' expr: _col4' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: join2.dest_j2' -'' -' 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: join2.dest_j2' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -'' -136 rows selected ->>> ->>> FROM src src1 JOIN src src2 ON (src1.key = src2.key) JOIN src src3 ON (src1.key + src2.key = src3.key) -INSERT OVERWRITE TABLE dest_j2 SELECT src1.key, src3.value; -'_col0','_col1' -No rows selected ->>> ->>> SELECT dest_j2.* FROM dest_j2; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'2','val_4' -'4','val_8' -'5','val_10' -'5','val_10' -'5','val_10' -'5','val_10' -'5','val_10' -'5','val_10' -'5','val_10' -'5','val_10' -'5','val_10' -'9','val_18' -'9','val_18' -'10','val_20' -'12','val_24' -'12','val_24' -'12','val_24' -'12','val_24' -'12','val_24' -'12','val_24' -'12','val_24' -'12','val_24' -'15','val_30' -'15','val_30' -'15','val_30' -'15','val_30' -'17','val_34' -'27','val_54' -'33','val_66' -'35','val_70' -'35','val_70' -'35','val_70' -'35','val_70' -'35','val_70' -'35','val_70' -'35','val_70' -'35','val_70' -'35','val_70' -'35','val_70' -'35','val_70' -'35','val_70' -'35','val_70' -'35','val_70' -'35','val_70' -'35','val_70' -'35','val_70' -'35','val_70' -'35','val_70' -'35','val_70' -'35','val_70' -'35','val_70' -'35','val_70' -'35','val_70' -'35','val_70' -'35','val_70' -'35','val_70' -'37','val_74' -'37','val_74' -'37','val_74' -'37','val_74' -'41','val_82' -'42','val_84' -'42','val_84' -'42','val_84' -'42','val_84' -'42','val_84' -'42','val_84' -'42','val_84' -'42','val_84' -'43','val_86' -'57','val_114' -'58','val_116' -'58','val_116' -'58','val_116' -'58','val_116' -'64','val_128' -'64','val_128' -'64','val_128' -'67','val_134' -'67','val_134' -'67','val_134' -'67','val_134' -'67','val_134' -'67','val_134' -'67','val_134' -'67','val_134' -'69','val_138' -'69','val_138' -'69','val_138' -'69','val_138' -'76','val_152' -'76','val_152' -'76','val_152' -'76','val_152' -'76','val_152' -'76','val_152' -'76','val_152' -'76','val_152' -'78','val_156' -'80','val_160' -'82','val_164' -'82','val_164' -'83','val_166' -'83','val_166' -'83','val_166' -'83','val_166' -'84','val_168' -'84','val_168' -'84','val_168' -'84','val_168' -'85','val_170' -'86','val_172' -'86','val_172' -'87','val_174' -'87','val_174' -'90','val_180' -'90','val_180' -'90','val_180' -'90','val_180' -'90','val_180' -'90','val_180' -'90','val_180' -'90','val_180' -'90','val_180' -'95','val_190' -'95','val_190' -'95','val_190' -'95','val_190' -'96','val_192' -'97','val_194' -'97','val_194' -'97','val_194' -'97','val_194' -'98','val_196' -'98','val_196' -'98','val_196' -'98','val_196' -'100','val_200' -'100','val_200' -'100','val_200' -'100','val_200' -'100','val_200' -'100','val_200' -'100','val_200' -'100','val_200' -'104','val_208' -'104','val_208' -'104','val_208' -'104','val_208' -'104','val_208' -'104','val_208' -'104','val_208' -'104','val_208' -'104','val_208' -'104','val_208' -'104','val_208' -'104','val_208' -'111','val_222' -'113','val_226' -'113','val_226' -'113','val_226' -'113','val_226' -'114','val_228' -'119','val_238' -'119','val_238' -'119','val_238' -'119','val_238' -'119','val_238' -'119','val_238' -'119','val_238' -'119','val_238' -'119','val_238' -'119','val_238' -'119','val_238' -'119','val_238' -'119','val_238' -'119','val_238' -'119','val_238' -'119','val_238' -'119','val_238' -'119','val_238' -'126','val_252' -'128','val_256' -'128','val_256' -'128','val_256' -'128','val_256' -'128','val_256' -'128','val_256' -'128','val_256' -'128','val_256' -'128','val_256' -'128','val_256' -'128','val_256' -'128','val_256' -'128','val_256' -'128','val_256' -'128','val_256' -'128','val_256' -'128','val_256' -'128','val_256' -'129','val_258' -'129','val_258' -'129','val_258' -'129','val_258' -'131','val_262' -'133','val_266' -'136','val_272' -'136','val_272' -'137','val_274' -'137','val_274' -'137','val_274' -'137','val_274' -'143','val_286' -'146','val_292' -'146','val_292' -'146','val_292' -'146','val_292' -'149','val_298' -'149','val_298' -'149','val_298' -'149','val_298' -'149','val_298' -'149','val_298' -'149','val_298' -'149','val_298' -'149','val_298' -'149','val_298' -'149','val_298' -'149','val_298' -'153','val_306' -'155','val_310' -'158','val_316' -'158','val_316' -'158','val_316' -'166','val_332' -'168','val_336' -'169','val_338' -'169','val_338' -'169','val_338' -'169','val_338' -'169','val_338' -'169','val_338' -'169','val_338' -'169','val_338' -'169','val_338' -'169','val_338' -'169','val_338' -'169','val_338' -'169','val_338' -'169','val_338' -'169','val_338' -'169','val_338' -'172','val_344' -'172','val_344' -'172','val_344' -'172','val_344' -'172','val_344' -'172','val_344' -'172','val_344' -'172','val_344' -'174','val_348' -'174','val_348' -'174','val_348' -'174','val_348' -'174','val_348' -'174','val_348' -'174','val_348' -'174','val_348' -'174','val_348' -'174','val_348' -'174','val_348' -'174','val_348' -'174','val_348' -'174','val_348' -'174','val_348' -'174','val_348' -'174','val_348' -'174','val_348' -'174','val_348' -'174','val_348' -'178','val_356' -'180','val_360' -'181','val_362' -'183','val_366' -'187','val_374' -'187','val_374' -'187','val_374' -'187','val_374' -'187','val_374' -'187','val_374' -'187','val_374' -'187','val_374' -'187','val_374' -'189','val_378' -'191','val_382' -'191','val_382' -'191','val_382' -'191','val_382' -'191','val_382' -'191','val_382' -'191','val_382' -'191','val_382' -'192','val_384' -'192','val_384' -'192','val_384' -'193','val_386' -'193','val_386' -'193','val_386' -'193','val_386' -'193','val_386' -'193','val_386' -'193','val_386' -'193','val_386' -'193','val_386' -'196','val_392' -'197','val_394' -'197','val_394' -'197','val_394' -'197','val_394' -'200','val_400' -'200','val_400' -'200','val_400' -'200','val_400' -'201','val_402' -'202','val_404' -'202','val_404' -'203','val_406' -'203','val_406' -'203','val_406' -'203','val_406' -'203','val_406' -'203','val_406' -'203','val_406' -'203','val_406' -'203','val_406' -'203','val_406' -'203','val_406' -'203','val_406' -'203','val_406' -'203','val_406' -'203','val_406' -'203','val_406' -'207','val_414' -'207','val_414' -'207','val_414' -'207','val_414' -'207','val_414' -'207','val_414' -'207','val_414' -'207','val_414' -'209','val_418' -'209','val_418' -'209','val_418' -'209','val_418' -'216','val_432' -'216','val_432' -'216','val_432' -'216','val_432' -'218','val_436' -'219','val_438' -'219','val_438' -'219','val_438' -'219','val_438' -'219','val_438' -'219','val_438' -'219','val_438' -'219','val_438' -'219','val_438' -'219','val_438' -'219','val_438' -'219','val_438' -'222','val_444' -'223','val_446' -'223','val_446' -'223','val_446' -'223','val_446' -'224','val_448' -'224','val_448' -'224','val_448' -'224','val_448' -'226','val_452' -'229','val_458' -'229','val_458' -'229','val_458' -'229','val_458' -'229','val_458' -'229','val_458' -'229','val_458' -'229','val_458' -'230','val_460' -'230','val_460' -'230','val_460' -'230','val_460' -'230','val_460' -'230','val_460' -'230','val_460' -'230','val_460' -'230','val_460' -'230','val_460' -'230','val_460' -'230','val_460' -'230','val_460' -'230','val_460' -'230','val_460' -'230','val_460' -'230','val_460' -'230','val_460' -'230','val_460' -'230','val_460' -'230','val_460' -'230','val_460' -'230','val_460' -'230','val_460' -'230','val_460' -'233','val_466' -'233','val_466' -'233','val_466' -'233','val_466' -'233','val_466' -'233','val_466' -'233','val_466' -'233','val_466' -'233','val_466' -'233','val_466' -'233','val_466' -'233','val_466' -'235','val_470' -'239','val_478' -'239','val_478' -'239','val_478' -'239','val_478' -'239','val_478' -'239','val_478' -'239','val_478' -'239','val_478' -'241','val_482' -'242','val_484' -'242','val_484' -'242','val_484' -'242','val_484' -'247','val_494' -'248','val_496' -'249','val_498' -'249','val_498' -'249','val_498' -472 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/join20.q.out ql/src/test/results/beelinepositive/join20.q.out deleted file mode 100644 index 284bd29..0000000 --- ql/src/test/results/beelinepositive/join20.q.out +++ /dev/null @@ -1,1431 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join20.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join20.q ->>> EXPLAIN -SELECT * FROM src src1 JOIN src src2 ON (src1.key = src2.key AND src1.key < 10) RIGHT OUTER JOIN src src3 ON (src1.key = src3.key AND src3.key < 20) -SORT BY src1.key, src1.value, src2.key, src2.value, src3.key, src3.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2) (AND (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)) (< (. (TOK_TABLE_OR_COL src1) key) 10))) (TOK_TABREF (TOK_TABNAME src) src3) (AND (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src3) key)) (< (. (TOK_TABLE_OR_COL src3) key) 20)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: (key < 10.0)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: (key < 10.0)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src3 ' -' TableScan' -' alias: src3' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 2' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Right Outer Join0 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' filter predicates:' -' 0 ' -' 1 ' -' 2 {(VALUE._col0 < 20.0)}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' sort order: ++++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -155 rows selected ->>> ->>> SELECT * FROM src src1 JOIN src src2 ON (src1.key = src2.key AND src1.key < 10) RIGHT OUTER JOIN src src3 ON (src1.key = src3.key AND src3.key < 20) -SORT BY src1.key, src1.value, src2.key, src2.value, src3.key, src3.value; -'key','value','key','value','key','value' -'','','','','10','val_10' -'','','','','100','val_100' -'','','','','100','val_100' -'','','','','103','val_103' -'','','','','103','val_103' -'','','','','104','val_104' -'','','','','104','val_104' -'','','','','105','val_105' -'','','','','11','val_11' -'','','','','111','val_111' -'','','','','113','val_113' -'','','','','113','val_113' -'','','','','114','val_114' -'','','','','116','val_116' -'','','','','118','val_118' -'','','','','118','val_118' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','12','val_12' -'','','','','12','val_12' -'','','','','120','val_120' -'','','','','120','val_120' -'','','','','125','val_125' -'','','','','125','val_125' -'','','','','126','val_126' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','129','val_129' -'','','','','129','val_129' -'','','','','131','val_131' -'','','','','133','val_133' -'','','','','134','val_134' -'','','','','134','val_134' -'','','','','136','val_136' -'','','','','137','val_137' -'','','','','137','val_137' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','143','val_143' -'','','','','145','val_145' -'','','','','146','val_146' -'','','','','146','val_146' -'','','','','149','val_149' -'','','','','149','val_149' -'','','','','15','val_15' -'','','','','15','val_15' -'','','','','150','val_150' -'','','','','152','val_152' -'','','','','152','val_152' -'','','','','153','val_153' -'','','','','155','val_155' -'','','','','156','val_156' -'','','','','157','val_157' -'','','','','158','val_158' -'','','','','160','val_160' -'','','','','162','val_162' -'','','','','163','val_163' -'','','','','164','val_164' -'','','','','164','val_164' -'','','','','165','val_165' -'','','','','165','val_165' -'','','','','166','val_166' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','168','val_168' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','17','val_17' -'','','','','170','val_170' -'','','','','172','val_172' -'','','','','172','val_172' -'','','','','174','val_174' -'','','','','174','val_174' -'','','','','175','val_175' -'','','','','175','val_175' -'','','','','176','val_176' -'','','','','176','val_176' -'','','','','177','val_177' -'','','','','178','val_178' -'','','','','179','val_179' -'','','','','179','val_179' -'','','','','18','val_18' -'','','','','18','val_18' -'','','','','180','val_180' -'','','','','181','val_181' -'','','','','183','val_183' -'','','','','186','val_186' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','189','val_189' -'','','','','19','val_19' -'','','','','190','val_190' -'','','','','191','val_191' -'','','','','191','val_191' -'','','','','192','val_192' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','194','val_194' -'','','','','195','val_195' -'','','','','195','val_195' -'','','','','196','val_196' -'','','','','197','val_197' -'','','','','197','val_197' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','20','val_20' -'','','','','200','val_200' -'','','','','200','val_200' -'','','','','201','val_201' -'','','','','202','val_202' -'','','','','203','val_203' -'','','','','203','val_203' -'','','','','205','val_205' -'','','','','205','val_205' -'','','','','207','val_207' -'','','','','207','val_207' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','209','val_209' -'','','','','209','val_209' -'','','','','213','val_213' -'','','','','213','val_213' -'','','','','214','val_214' -'','','','','216','val_216' -'','','','','216','val_216' -'','','','','217','val_217' -'','','','','217','val_217' -'','','','','218','val_218' -'','','','','219','val_219' -'','','','','219','val_219' -'','','','','221','val_221' -'','','','','221','val_221' -'','','','','222','val_222' -'','','','','223','val_223' -'','','','','223','val_223' -'','','','','224','val_224' -'','','','','224','val_224' -'','','','','226','val_226' -'','','','','228','val_228' -'','','','','229','val_229' -'','','','','229','val_229' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','233','val_233' -'','','','','233','val_233' -'','','','','235','val_235' -'','','','','237','val_237' -'','','','','237','val_237' -'','','','','238','val_238' -'','','','','238','val_238' -'','','','','239','val_239' -'','','','','239','val_239' -'','','','','24','val_24' -'','','','','24','val_24' -'','','','','241','val_241' -'','','','','242','val_242' -'','','','','242','val_242' -'','','','','244','val_244' -'','','','','247','val_247' -'','','','','248','val_248' -'','','','','249','val_249' -'','','','','252','val_252' -'','','','','255','val_255' -'','','','','255','val_255' -'','','','','256','val_256' -'','','','','256','val_256' -'','','','','257','val_257' -'','','','','258','val_258' -'','','','','26','val_26' -'','','','','26','val_26' -'','','','','260','val_260' -'','','','','262','val_262' -'','','','','263','val_263' -'','','','','265','val_265' -'','','','','265','val_265' -'','','','','266','val_266' -'','','','','27','val_27' -'','','','','272','val_272' -'','','','','272','val_272' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','274','val_274' -'','','','','275','val_275' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','278','val_278' -'','','','','278','val_278' -'','','','','28','val_28' -'','','','','280','val_280' -'','','','','280','val_280' -'','','','','281','val_281' -'','','','','281','val_281' -'','','','','282','val_282' -'','','','','282','val_282' -'','','','','283','val_283' -'','','','','284','val_284' -'','','','','285','val_285' -'','','','','286','val_286' -'','','','','287','val_287' -'','','','','288','val_288' -'','','','','288','val_288' -'','','','','289','val_289' -'','','','','291','val_291' -'','','','','292','val_292' -'','','','','296','val_296' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','30','val_30' -'','','','','302','val_302' -'','','','','305','val_305' -'','','','','306','val_306' -'','','','','307','val_307' -'','','','','307','val_307' -'','','','','308','val_308' -'','','','','309','val_309' -'','','','','309','val_309' -'','','','','310','val_310' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','315','val_315' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','317','val_317' -'','','','','317','val_317' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','321','val_321' -'','','','','321','val_321' -'','','','','322','val_322' -'','','','','322','val_322' -'','','','','323','val_323' -'','','','','325','val_325' -'','','','','325','val_325' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','33','val_33' -'','','','','331','val_331' -'','','','','331','val_331' -'','','','','332','val_332' -'','','','','333','val_333' -'','','','','333','val_333' -'','','','','335','val_335' -'','','','','336','val_336' -'','','','','338','val_338' -'','','','','339','val_339' -'','','','','34','val_34' -'','','','','341','val_341' -'','','','','342','val_342' -'','','','','342','val_342' -'','','','','344','val_344' -'','','','','344','val_344' -'','','','','345','val_345' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','351','val_351' -'','','','','353','val_353' -'','','','','353','val_353' -'','','','','356','val_356' -'','','','','360','val_360' -'','','','','362','val_362' -'','','','','364','val_364' -'','','','','365','val_365' -'','','','','366','val_366' -'','','','','367','val_367' -'','','','','367','val_367' -'','','','','368','val_368' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','37','val_37' -'','','','','37','val_37' -'','','','','373','val_373' -'','','','','374','val_374' -'','','','','375','val_375' -'','','','','377','val_377' -'','','','','378','val_378' -'','','','','379','val_379' -'','','','','382','val_382' -'','','','','382','val_382' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','386','val_386' -'','','','','389','val_389' -'','','','','392','val_392' -'','','','','393','val_393' -'','','','','394','val_394' -'','','','','395','val_395' -'','','','','395','val_395' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','397','val_397' -'','','','','397','val_397' -'','','','','399','val_399' -'','','','','399','val_399' -'','','','','400','val_400' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','402','val_402' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','404','val_404' -'','','','','404','val_404' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','407','val_407' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','41','val_41' -'','','','','411','val_411' -'','','','','413','val_413' -'','','','','413','val_413' -'','','','','414','val_414' -'','','','','414','val_414' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','418','val_418' -'','','','','419','val_419' -'','','','','42','val_42' -'','','','','42','val_42' -'','','','','421','val_421' -'','','','','424','val_424' -'','','','','424','val_424' -'','','','','427','val_427' -'','','','','429','val_429' -'','','','','429','val_429' -'','','','','43','val_43' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','432','val_432' -'','','','','435','val_435' -'','','','','436','val_436' -'','','','','437','val_437' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','439','val_439' -'','','','','439','val_439' -'','','','','44','val_44' -'','','','','443','val_443' -'','','','','444','val_444' -'','','','','446','val_446' -'','','','','448','val_448' -'','','','','449','val_449' -'','','','','452','val_452' -'','','','','453','val_453' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','455','val_455' -'','','','','457','val_457' -'','','','','458','val_458' -'','','','','458','val_458' -'','','','','459','val_459' -'','','','','459','val_459' -'','','','','460','val_460' -'','','','','462','val_462' -'','','','','462','val_462' -'','','','','463','val_463' -'','','','','463','val_463' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','467','val_467' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','47','val_47' -'','','','','470','val_470' -'','','','','472','val_472' -'','','','','475','val_475' -'','','','','477','val_477' -'','','','','478','val_478' -'','','','','478','val_478' -'','','','','479','val_479' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','481','val_481' -'','','','','482','val_482' -'','','','','483','val_483' -'','','','','484','val_484' -'','','','','485','val_485' -'','','','','487','val_487' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','490','val_490' -'','','','','491','val_491' -'','','','','492','val_492' -'','','','','492','val_492' -'','','','','493','val_493' -'','','','','494','val_494' -'','','','','495','val_495' -'','','','','496','val_496' -'','','','','497','val_497' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','51','val_51' -'','','','','51','val_51' -'','','','','53','val_53' -'','','','','54','val_54' -'','','','','57','val_57' -'','','','','58','val_58' -'','','','','58','val_58' -'','','','','64','val_64' -'','','','','65','val_65' -'','','','','66','val_66' -'','','','','67','val_67' -'','','','','67','val_67' -'','','','','69','val_69' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','72','val_72' -'','','','','72','val_72' -'','','','','74','val_74' -'','','','','76','val_76' -'','','','','76','val_76' -'','','','','77','val_77' -'','','','','78','val_78' -'','','','','80','val_80' -'','','','','82','val_82' -'','','','','83','val_83' -'','','','','83','val_83' -'','','','','84','val_84' -'','','','','84','val_84' -'','','','','85','val_85' -'','','','','86','val_86' -'','','','','87','val_87' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','92','val_92' -'','','','','95','val_95' -'','','','','95','val_95' -'','','','','96','val_96' -'','','','','97','val_97' -'','','','','97','val_97' -'','','','','98','val_98' -'','','','','98','val_98' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'2','val_2','2','val_2','2','val_2' -'4','val_4','4','val_4','4','val_4' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'8','val_8','8','val_8','8','val_8' -'9','val_9','9','val_9','9','val_9' -548 rows selected ->>> ->>> ->>> EXPLAIN -SELECT * FROM src src1 JOIN src src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key < 15) RIGHT OUTER JOIN src src3 ON (src1.key = src3.key AND src3.key < 20) -SORT BY src1.key, src1.value, src2.key, src2.value, src3.key, src3.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2) (AND (AND (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)) (< (. (TOK_TABLE_OR_COL src1) key) 10)) (< (. (TOK_TABLE_OR_COL src2) key) 15))) (TOK_TABREF (TOK_TABNAME src) src3) (AND (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src3) key)) (< (. (TOK_TABLE_OR_COL src3) key) 20)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: ((key < 10.0) and (key < 15.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: ((key < 15.0) and (key < 10.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src3 ' -' TableScan' -' alias: src3' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 2' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Right Outer Join0 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' filter predicates:' -' 0 ' -' 1 ' -' 2 {(VALUE._col0 < 20.0)}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' sort order: ++++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -155 rows selected ->>> ->>> SELECT * FROM src src1 JOIN src src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key < 15) RIGHT OUTER JOIN src src3 ON (src1.key = src3.key AND src3.key < 20) -SORT BY src1.key, src1.value, src2.key, src2.value, src3.key, src3.value; -'key','value','key','value','key','value' -'','','','','10','val_10' -'','','','','100','val_100' -'','','','','100','val_100' -'','','','','103','val_103' -'','','','','103','val_103' -'','','','','104','val_104' -'','','','','104','val_104' -'','','','','105','val_105' -'','','','','11','val_11' -'','','','','111','val_111' -'','','','','113','val_113' -'','','','','113','val_113' -'','','','','114','val_114' -'','','','','116','val_116' -'','','','','118','val_118' -'','','','','118','val_118' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','12','val_12' -'','','','','12','val_12' -'','','','','120','val_120' -'','','','','120','val_120' -'','','','','125','val_125' -'','','','','125','val_125' -'','','','','126','val_126' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','129','val_129' -'','','','','129','val_129' -'','','','','131','val_131' -'','','','','133','val_133' -'','','','','134','val_134' -'','','','','134','val_134' -'','','','','136','val_136' -'','','','','137','val_137' -'','','','','137','val_137' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','143','val_143' -'','','','','145','val_145' -'','','','','146','val_146' -'','','','','146','val_146' -'','','','','149','val_149' -'','','','','149','val_149' -'','','','','15','val_15' -'','','','','15','val_15' -'','','','','150','val_150' -'','','','','152','val_152' -'','','','','152','val_152' -'','','','','153','val_153' -'','','','','155','val_155' -'','','','','156','val_156' -'','','','','157','val_157' -'','','','','158','val_158' -'','','','','160','val_160' -'','','','','162','val_162' -'','','','','163','val_163' -'','','','','164','val_164' -'','','','','164','val_164' -'','','','','165','val_165' -'','','','','165','val_165' -'','','','','166','val_166' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','168','val_168' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','17','val_17' -'','','','','170','val_170' -'','','','','172','val_172' -'','','','','172','val_172' -'','','','','174','val_174' -'','','','','174','val_174' -'','','','','175','val_175' -'','','','','175','val_175' -'','','','','176','val_176' -'','','','','176','val_176' -'','','','','177','val_177' -'','','','','178','val_178' -'','','','','179','val_179' -'','','','','179','val_179' -'','','','','18','val_18' -'','','','','18','val_18' -'','','','','180','val_180' -'','','','','181','val_181' -'','','','','183','val_183' -'','','','','186','val_186' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','189','val_189' -'','','','','19','val_19' -'','','','','190','val_190' -'','','','','191','val_191' -'','','','','191','val_191' -'','','','','192','val_192' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','194','val_194' -'','','','','195','val_195' -'','','','','195','val_195' -'','','','','196','val_196' -'','','','','197','val_197' -'','','','','197','val_197' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','20','val_20' -'','','','','200','val_200' -'','','','','200','val_200' -'','','','','201','val_201' -'','','','','202','val_202' -'','','','','203','val_203' -'','','','','203','val_203' -'','','','','205','val_205' -'','','','','205','val_205' -'','','','','207','val_207' -'','','','','207','val_207' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','209','val_209' -'','','','','209','val_209' -'','','','','213','val_213' -'','','','','213','val_213' -'','','','','214','val_214' -'','','','','216','val_216' -'','','','','216','val_216' -'','','','','217','val_217' -'','','','','217','val_217' -'','','','','218','val_218' -'','','','','219','val_219' -'','','','','219','val_219' -'','','','','221','val_221' -'','','','','221','val_221' -'','','','','222','val_222' -'','','','','223','val_223' -'','','','','223','val_223' -'','','','','224','val_224' -'','','','','224','val_224' -'','','','','226','val_226' -'','','','','228','val_228' -'','','','','229','val_229' -'','','','','229','val_229' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','233','val_233' -'','','','','233','val_233' -'','','','','235','val_235' -'','','','','237','val_237' -'','','','','237','val_237' -'','','','','238','val_238' -'','','','','238','val_238' -'','','','','239','val_239' -'','','','','239','val_239' -'','','','','24','val_24' -'','','','','24','val_24' -'','','','','241','val_241' -'','','','','242','val_242' -'','','','','242','val_242' -'','','','','244','val_244' -'','','','','247','val_247' -'','','','','248','val_248' -'','','','','249','val_249' -'','','','','252','val_252' -'','','','','255','val_255' -'','','','','255','val_255' -'','','','','256','val_256' -'','','','','256','val_256' -'','','','','257','val_257' -'','','','','258','val_258' -'','','','','26','val_26' -'','','','','26','val_26' -'','','','','260','val_260' -'','','','','262','val_262' -'','','','','263','val_263' -'','','','','265','val_265' -'','','','','265','val_265' -'','','','','266','val_266' -'','','','','27','val_27' -'','','','','272','val_272' -'','','','','272','val_272' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','274','val_274' -'','','','','275','val_275' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','278','val_278' -'','','','','278','val_278' -'','','','','28','val_28' -'','','','','280','val_280' -'','','','','280','val_280' -'','','','','281','val_281' -'','','','','281','val_281' -'','','','','282','val_282' -'','','','','282','val_282' -'','','','','283','val_283' -'','','','','284','val_284' -'','','','','285','val_285' -'','','','','286','val_286' -'','','','','287','val_287' -'','','','','288','val_288' -'','','','','288','val_288' -'','','','','289','val_289' -'','','','','291','val_291' -'','','','','292','val_292' -'','','','','296','val_296' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','30','val_30' -'','','','','302','val_302' -'','','','','305','val_305' -'','','','','306','val_306' -'','','','','307','val_307' -'','','','','307','val_307' -'','','','','308','val_308' -'','','','','309','val_309' -'','','','','309','val_309' -'','','','','310','val_310' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','315','val_315' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','317','val_317' -'','','','','317','val_317' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','321','val_321' -'','','','','321','val_321' -'','','','','322','val_322' -'','','','','322','val_322' -'','','','','323','val_323' -'','','','','325','val_325' -'','','','','325','val_325' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','33','val_33' -'','','','','331','val_331' -'','','','','331','val_331' -'','','','','332','val_332' -'','','','','333','val_333' -'','','','','333','val_333' -'','','','','335','val_335' -'','','','','336','val_336' -'','','','','338','val_338' -'','','','','339','val_339' -'','','','','34','val_34' -'','','','','341','val_341' -'','','','','342','val_342' -'','','','','342','val_342' -'','','','','344','val_344' -'','','','','344','val_344' -'','','','','345','val_345' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','351','val_351' -'','','','','353','val_353' -'','','','','353','val_353' -'','','','','356','val_356' -'','','','','360','val_360' -'','','','','362','val_362' -'','','','','364','val_364' -'','','','','365','val_365' -'','','','','366','val_366' -'','','','','367','val_367' -'','','','','367','val_367' -'','','','','368','val_368' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','37','val_37' -'','','','','37','val_37' -'','','','','373','val_373' -'','','','','374','val_374' -'','','','','375','val_375' -'','','','','377','val_377' -'','','','','378','val_378' -'','','','','379','val_379' -'','','','','382','val_382' -'','','','','382','val_382' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','386','val_386' -'','','','','389','val_389' -'','','','','392','val_392' -'','','','','393','val_393' -'','','','','394','val_394' -'','','','','395','val_395' -'','','','','395','val_395' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','397','val_397' -'','','','','397','val_397' -'','','','','399','val_399' -'','','','','399','val_399' -'','','','','400','val_400' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','402','val_402' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','404','val_404' -'','','','','404','val_404' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','407','val_407' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','41','val_41' -'','','','','411','val_411' -'','','','','413','val_413' -'','','','','413','val_413' -'','','','','414','val_414' -'','','','','414','val_414' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','418','val_418' -'','','','','419','val_419' -'','','','','42','val_42' -'','','','','42','val_42' -'','','','','421','val_421' -'','','','','424','val_424' -'','','','','424','val_424' -'','','','','427','val_427' -'','','','','429','val_429' -'','','','','429','val_429' -'','','','','43','val_43' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','432','val_432' -'','','','','435','val_435' -'','','','','436','val_436' -'','','','','437','val_437' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','439','val_439' -'','','','','439','val_439' -'','','','','44','val_44' -'','','','','443','val_443' -'','','','','444','val_444' -'','','','','446','val_446' -'','','','','448','val_448' -'','','','','449','val_449' -'','','','','452','val_452' -'','','','','453','val_453' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','455','val_455' -'','','','','457','val_457' -'','','','','458','val_458' -'','','','','458','val_458' -'','','','','459','val_459' -'','','','','459','val_459' -'','','','','460','val_460' -'','','','','462','val_462' -'','','','','462','val_462' -'','','','','463','val_463' -'','','','','463','val_463' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','467','val_467' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','47','val_47' -'','','','','470','val_470' -'','','','','472','val_472' -'','','','','475','val_475' -'','','','','477','val_477' -'','','','','478','val_478' -'','','','','478','val_478' -'','','','','479','val_479' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','481','val_481' -'','','','','482','val_482' -'','','','','483','val_483' -'','','','','484','val_484' -'','','','','485','val_485' -'','','','','487','val_487' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','490','val_490' -'','','','','491','val_491' -'','','','','492','val_492' -'','','','','492','val_492' -'','','','','493','val_493' -'','','','','494','val_494' -'','','','','495','val_495' -'','','','','496','val_496' -'','','','','497','val_497' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','51','val_51' -'','','','','51','val_51' -'','','','','53','val_53' -'','','','','54','val_54' -'','','','','57','val_57' -'','','','','58','val_58' -'','','','','58','val_58' -'','','','','64','val_64' -'','','','','65','val_65' -'','','','','66','val_66' -'','','','','67','val_67' -'','','','','67','val_67' -'','','','','69','val_69' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','72','val_72' -'','','','','72','val_72' -'','','','','74','val_74' -'','','','','76','val_76' -'','','','','76','val_76' -'','','','','77','val_77' -'','','','','78','val_78' -'','','','','80','val_80' -'','','','','82','val_82' -'','','','','83','val_83' -'','','','','83','val_83' -'','','','','84','val_84' -'','','','','84','val_84' -'','','','','85','val_85' -'','','','','86','val_86' -'','','','','87','val_87' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','92','val_92' -'','','','','95','val_95' -'','','','','95','val_95' -'','','','','96','val_96' -'','','','','97','val_97' -'','','','','97','val_97' -'','','','','98','val_98' -'','','','','98','val_98' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'2','val_2','2','val_2','2','val_2' -'4','val_4','4','val_4','4','val_4' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'8','val_8','8','val_8','8','val_8' -'9','val_9','9','val_9','9','val_9' -548 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/join21.q.out ql/src/test/results/beelinepositive/join21.q.out deleted file mode 100644 index 7a57820..0000000 --- ql/src/test/results/beelinepositive/join21.q.out +++ /dev/null @@ -1,2767 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join21.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join21.q ->>> EXPLAIN -SELECT * FROM src src1 LEFT OUTER JOIN src src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key > 10) RIGHT OUTER JOIN src src3 ON (src2.key = src3.key AND src3.key < 10) SORT BY src1.key, src1.value, src2.key, src2.value, src3.key, src3.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2) (AND (AND (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)) (< (. (TOK_TABLE_OR_COL src1) key) 10)) (> (. (TOK_TABLE_OR_COL src2) key) 10))) (TOK_TABREF (TOK_TABNAME src) src3) (AND (= (. (TOK_TABLE_OR_COL src2) key) (. (TOK_TABLE_OR_COL src3) key)) (< (. (TOK_TABLE_OR_COL src3) key) 10)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: (key > 10.0)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src3 ' -' TableScan' -' alias: src3' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 2' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' Right Outer Join1 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' filter predicates:' -' 0 {(VALUE._col0 < 10.0)}' -' 1 ' -' 2 {(VALUE._col0 < 10.0)}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' sort order: ++++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -150 rows selected ->>> ->>> SELECT * FROM src src1 LEFT OUTER JOIN src src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key > 10) RIGHT OUTER JOIN src src3 ON (src2.key = src3.key AND src3.key < 10) SORT BY src1.key, src1.value, src2.key, src2.value, src3.key, src3.value; -'key','value','key','value','key','value' -'','','','','0','val_0' -'','','','','0','val_0' -'','','','','0','val_0' -'','','','','10','val_10' -'','','','','100','val_100' -'','','','','100','val_100' -'','','','','100','val_100' -'','','','','100','val_100' -'','','','','100','val_100' -'','','','','100','val_100' -'','','','','100','val_100' -'','','','','100','val_100' -'','','','','103','val_103' -'','','','','103','val_103' -'','','','','103','val_103' -'','','','','103','val_103' -'','','','','103','val_103' -'','','','','103','val_103' -'','','','','103','val_103' -'','','','','103','val_103' -'','','','','104','val_104' -'','','','','104','val_104' -'','','','','104','val_104' -'','','','','104','val_104' -'','','','','104','val_104' -'','','','','104','val_104' -'','','','','104','val_104' -'','','','','104','val_104' -'','','','','105','val_105' -'','','','','11','val_11' -'','','','','111','val_111' -'','','','','113','val_113' -'','','','','113','val_113' -'','','','','113','val_113' -'','','','','113','val_113' -'','','','','113','val_113' -'','','','','113','val_113' -'','','','','113','val_113' -'','','','','113','val_113' -'','','','','114','val_114' -'','','','','116','val_116' -'','','','','118','val_118' -'','','','','118','val_118' -'','','','','118','val_118' -'','','','','118','val_118' -'','','','','118','val_118' -'','','','','118','val_118' -'','','','','118','val_118' -'','','','','118','val_118' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','12','val_12' -'','','','','12','val_12' -'','','','','12','val_12' -'','','','','12','val_12' -'','','','','12','val_12' -'','','','','12','val_12' -'','','','','12','val_12' -'','','','','12','val_12' -'','','','','120','val_120' -'','','','','120','val_120' -'','','','','120','val_120' -'','','','','120','val_120' -'','','','','120','val_120' -'','','','','120','val_120' -'','','','','120','val_120' -'','','','','120','val_120' -'','','','','125','val_125' -'','','','','125','val_125' -'','','','','125','val_125' -'','','','','125','val_125' -'','','','','125','val_125' -'','','','','125','val_125' -'','','','','125','val_125' -'','','','','125','val_125' -'','','','','126','val_126' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','129','val_129' -'','','','','129','val_129' -'','','','','129','val_129' -'','','','','129','val_129' -'','','','','129','val_129' -'','','','','129','val_129' -'','','','','129','val_129' -'','','','','129','val_129' -'','','','','131','val_131' -'','','','','133','val_133' -'','','','','134','val_134' -'','','','','134','val_134' -'','','','','134','val_134' -'','','','','134','val_134' -'','','','','134','val_134' -'','','','','134','val_134' -'','','','','134','val_134' -'','','','','134','val_134' -'','','','','136','val_136' -'','','','','137','val_137' -'','','','','137','val_137' -'','','','','137','val_137' -'','','','','137','val_137' -'','','','','137','val_137' -'','','','','137','val_137' -'','','','','137','val_137' -'','','','','137','val_137' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','143','val_143' -'','','','','145','val_145' -'','','','','146','val_146' -'','','','','146','val_146' -'','','','','146','val_146' -'','','','','146','val_146' -'','','','','146','val_146' -'','','','','146','val_146' -'','','','','146','val_146' -'','','','','146','val_146' -'','','','','149','val_149' -'','','','','149','val_149' -'','','','','149','val_149' -'','','','','149','val_149' -'','','','','149','val_149' -'','','','','149','val_149' -'','','','','149','val_149' -'','','','','149','val_149' -'','','','','15','val_15' -'','','','','15','val_15' -'','','','','15','val_15' -'','','','','15','val_15' -'','','','','15','val_15' -'','','','','15','val_15' -'','','','','15','val_15' -'','','','','15','val_15' -'','','','','150','val_150' -'','','','','152','val_152' -'','','','','152','val_152' -'','','','','152','val_152' -'','','','','152','val_152' -'','','','','152','val_152' -'','','','','152','val_152' -'','','','','152','val_152' -'','','','','152','val_152' -'','','','','153','val_153' -'','','','','155','val_155' -'','','','','156','val_156' -'','','','','157','val_157' -'','','','','158','val_158' -'','','','','160','val_160' -'','','','','162','val_162' -'','','','','163','val_163' -'','','','','164','val_164' -'','','','','164','val_164' -'','','','','164','val_164' -'','','','','164','val_164' -'','','','','164','val_164' -'','','','','164','val_164' -'','','','','164','val_164' -'','','','','164','val_164' -'','','','','165','val_165' -'','','','','165','val_165' -'','','','','165','val_165' -'','','','','165','val_165' -'','','','','165','val_165' -'','','','','165','val_165' -'','','','','165','val_165' -'','','','','165','val_165' -'','','','','166','val_166' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','168','val_168' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','17','val_17' -'','','','','170','val_170' -'','','','','172','val_172' -'','','','','172','val_172' -'','','','','172','val_172' -'','','','','172','val_172' -'','','','','172','val_172' -'','','','','172','val_172' -'','','','','172','val_172' -'','','','','172','val_172' -'','','','','174','val_174' -'','','','','174','val_174' -'','','','','174','val_174' -'','','','','174','val_174' -'','','','','174','val_174' -'','','','','174','val_174' -'','','','','174','val_174' -'','','','','174','val_174' -'','','','','175','val_175' -'','','','','175','val_175' -'','','','','175','val_175' -'','','','','175','val_175' -'','','','','175','val_175' -'','','','','175','val_175' -'','','','','175','val_175' -'','','','','175','val_175' -'','','','','176','val_176' -'','','','','176','val_176' -'','','','','176','val_176' -'','','','','176','val_176' -'','','','','176','val_176' -'','','','','176','val_176' -'','','','','176','val_176' -'','','','','176','val_176' -'','','','','177','val_177' -'','','','','178','val_178' -'','','','','179','val_179' -'','','','','179','val_179' -'','','','','179','val_179' -'','','','','179','val_179' -'','','','','179','val_179' -'','','','','179','val_179' -'','','','','179','val_179' -'','','','','179','val_179' -'','','','','18','val_18' -'','','','','18','val_18' -'','','','','18','val_18' -'','','','','18','val_18' -'','','','','18','val_18' -'','','','','18','val_18' -'','','','','18','val_18' -'','','','','18','val_18' -'','','','','180','val_180' -'','','','','181','val_181' -'','','','','183','val_183' -'','','','','186','val_186' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','189','val_189' -'','','','','19','val_19' -'','','','','190','val_190' -'','','','','191','val_191' -'','','','','191','val_191' -'','','','','191','val_191' -'','','','','191','val_191' -'','','','','191','val_191' -'','','','','191','val_191' -'','','','','191','val_191' -'','','','','191','val_191' -'','','','','192','val_192' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','194','val_194' -'','','','','195','val_195' -'','','','','195','val_195' -'','','','','195','val_195' -'','','','','195','val_195' -'','','','','195','val_195' -'','','','','195','val_195' -'','','','','195','val_195' -'','','','','195','val_195' -'','','','','196','val_196' -'','','','','197','val_197' -'','','','','197','val_197' -'','','','','197','val_197' -'','','','','197','val_197' -'','','','','197','val_197' -'','','','','197','val_197' -'','','','','197','val_197' -'','','','','197','val_197' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','2','val_2' -'','','','','20','val_20' -'','','','','200','val_200' -'','','','','200','val_200' -'','','','','200','val_200' -'','','','','200','val_200' -'','','','','200','val_200' -'','','','','200','val_200' -'','','','','200','val_200' -'','','','','200','val_200' -'','','','','201','val_201' -'','','','','202','val_202' -'','','','','203','val_203' -'','','','','203','val_203' -'','','','','203','val_203' -'','','','','203','val_203' -'','','','','203','val_203' -'','','','','203','val_203' -'','','','','203','val_203' -'','','','','203','val_203' -'','','','','205','val_205' -'','','','','205','val_205' -'','','','','205','val_205' -'','','','','205','val_205' -'','','','','205','val_205' -'','','','','205','val_205' -'','','','','205','val_205' -'','','','','205','val_205' -'','','','','207','val_207' -'','','','','207','val_207' -'','','','','207','val_207' -'','','','','207','val_207' -'','','','','207','val_207' -'','','','','207','val_207' -'','','','','207','val_207' -'','','','','207','val_207' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','209','val_209' -'','','','','209','val_209' -'','','','','209','val_209' -'','','','','209','val_209' -'','','','','209','val_209' -'','','','','209','val_209' -'','','','','209','val_209' -'','','','','209','val_209' -'','','','','213','val_213' -'','','','','213','val_213' -'','','','','213','val_213' -'','','','','213','val_213' -'','','','','213','val_213' -'','','','','213','val_213' -'','','','','213','val_213' -'','','','','213','val_213' -'','','','','214','val_214' -'','','','','216','val_216' -'','','','','216','val_216' -'','','','','216','val_216' -'','','','','216','val_216' -'','','','','216','val_216' -'','','','','216','val_216' -'','','','','216','val_216' -'','','','','216','val_216' -'','','','','217','val_217' -'','','','','217','val_217' -'','','','','217','val_217' -'','','','','217','val_217' -'','','','','217','val_217' -'','','','','217','val_217' -'','','','','217','val_217' -'','','','','217','val_217' -'','','','','218','val_218' -'','','','','219','val_219' -'','','','','219','val_219' -'','','','','219','val_219' -'','','','','219','val_219' -'','','','','219','val_219' -'','','','','219','val_219' -'','','','','219','val_219' -'','','','','219','val_219' -'','','','','221','val_221' -'','','','','221','val_221' -'','','','','221','val_221' -'','','','','221','val_221' -'','','','','221','val_221' -'','','','','221','val_221' -'','','','','221','val_221' -'','','','','221','val_221' -'','','','','222','val_222' -'','','','','223','val_223' -'','','','','223','val_223' -'','','','','223','val_223' -'','','','','223','val_223' -'','','','','223','val_223' -'','','','','223','val_223' -'','','','','223','val_223' -'','','','','223','val_223' -'','','','','224','val_224' -'','','','','224','val_224' -'','','','','224','val_224' -'','','','','224','val_224' -'','','','','224','val_224' -'','','','','224','val_224' -'','','','','224','val_224' -'','','','','224','val_224' -'','','','','226','val_226' -'','','','','228','val_228' -'','','','','229','val_229' -'','','','','229','val_229' -'','','','','229','val_229' -'','','','','229','val_229' -'','','','','229','val_229' -'','','','','229','val_229' -'','','','','229','val_229' -'','','','','229','val_229' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','233','val_233' -'','','','','233','val_233' -'','','','','233','val_233' -'','','','','233','val_233' -'','','','','233','val_233' -'','','','','233','val_233' -'','','','','233','val_233' -'','','','','233','val_233' -'','','','','235','val_235' -'','','','','237','val_237' -'','','','','237','val_237' -'','','','','237','val_237' -'','','','','237','val_237' -'','','','','237','val_237' -'','','','','237','val_237' -'','','','','237','val_237' -'','','','','237','val_237' -'','','','','238','val_238' -'','','','','238','val_238' -'','','','','238','val_238' -'','','','','238','val_238' -'','','','','238','val_238' -'','','','','238','val_238' -'','','','','238','val_238' -'','','','','238','val_238' -'','','','','239','val_239' -'','','','','239','val_239' -'','','','','239','val_239' -'','','','','239','val_239' -'','','','','239','val_239' -'','','','','239','val_239' -'','','','','239','val_239' -'','','','','239','val_239' -'','','','','24','val_24' -'','','','','24','val_24' -'','','','','24','val_24' -'','','','','24','val_24' -'','','','','24','val_24' -'','','','','24','val_24' -'','','','','24','val_24' -'','','','','24','val_24' -'','','','','241','val_241' -'','','','','242','val_242' -'','','','','242','val_242' -'','','','','242','val_242' -'','','','','242','val_242' -'','','','','242','val_242' -'','','','','242','val_242' -'','','','','242','val_242' -'','','','','242','val_242' -'','','','','244','val_244' -'','','','','247','val_247' -'','','','','248','val_248' -'','','','','249','val_249' -'','','','','252','val_252' -'','','','','255','val_255' -'','','','','255','val_255' -'','','','','255','val_255' -'','','','','255','val_255' -'','','','','255','val_255' -'','','','','255','val_255' -'','','','','255','val_255' -'','','','','255','val_255' -'','','','','256','val_256' -'','','','','256','val_256' -'','','','','256','val_256' -'','','','','256','val_256' -'','','','','256','val_256' -'','','','','256','val_256' -'','','','','256','val_256' -'','','','','256','val_256' -'','','','','257','val_257' -'','','','','258','val_258' -'','','','','26','val_26' -'','','','','26','val_26' -'','','','','26','val_26' -'','','','','26','val_26' -'','','','','26','val_26' -'','','','','26','val_26' -'','','','','26','val_26' -'','','','','26','val_26' -'','','','','260','val_260' -'','','','','262','val_262' -'','','','','263','val_263' -'','','','','265','val_265' -'','','','','265','val_265' -'','','','','265','val_265' -'','','','','265','val_265' -'','','','','265','val_265' -'','','','','265','val_265' -'','','','','265','val_265' -'','','','','265','val_265' -'','','','','266','val_266' -'','','','','27','val_27' -'','','','','272','val_272' -'','','','','272','val_272' -'','','','','272','val_272' -'','','','','272','val_272' -'','','','','272','val_272' -'','','','','272','val_272' -'','','','','272','val_272' -'','','','','272','val_272' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','274','val_274' -'','','','','275','val_275' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','278','val_278' -'','','','','278','val_278' -'','','','','278','val_278' -'','','','','278','val_278' -'','','','','278','val_278' -'','','','','278','val_278' -'','','','','278','val_278' -'','','','','278','val_278' -'','','','','28','val_28' -'','','','','280','val_280' -'','','','','280','val_280' -'','','','','280','val_280' -'','','','','280','val_280' -'','','','','280','val_280' -'','','','','280','val_280' -'','','','','280','val_280' -'','','','','280','val_280' -'','','','','281','val_281' -'','','','','281','val_281' -'','','','','281','val_281' -'','','','','281','val_281' -'','','','','281','val_281' -'','','','','281','val_281' -'','','','','281','val_281' -'','','','','281','val_281' -'','','','','282','val_282' -'','','','','282','val_282' -'','','','','282','val_282' -'','','','','282','val_282' -'','','','','282','val_282' -'','','','','282','val_282' -'','','','','282','val_282' -'','','','','282','val_282' -'','','','','283','val_283' -'','','','','284','val_284' -'','','','','285','val_285' -'','','','','286','val_286' -'','','','','287','val_287' -'','','','','288','val_288' -'','','','','288','val_288' -'','','','','288','val_288' -'','','','','288','val_288' -'','','','','288','val_288' -'','','','','288','val_288' -'','','','','288','val_288' -'','','','','288','val_288' -'','','','','289','val_289' -'','','','','291','val_291' -'','','','','292','val_292' -'','','','','296','val_296' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','30','val_30' -'','','','','302','val_302' -'','','','','305','val_305' -'','','','','306','val_306' -'','','','','307','val_307' -'','','','','307','val_307' -'','','','','307','val_307' -'','','','','307','val_307' -'','','','','307','val_307' -'','','','','307','val_307' -'','','','','307','val_307' -'','','','','307','val_307' -'','','','','308','val_308' -'','','','','309','val_309' -'','','','','309','val_309' -'','','','','309','val_309' -'','','','','309','val_309' -'','','','','309','val_309' -'','','','','309','val_309' -'','','','','309','val_309' -'','','','','309','val_309' -'','','','','310','val_310' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','315','val_315' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','317','val_317' -'','','','','317','val_317' -'','','','','317','val_317' -'','','','','317','val_317' -'','','','','317','val_317' -'','','','','317','val_317' -'','','','','317','val_317' -'','','','','317','val_317' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','321','val_321' -'','','','','321','val_321' -'','','','','321','val_321' -'','','','','321','val_321' -'','','','','321','val_321' -'','','','','321','val_321' -'','','','','321','val_321' -'','','','','321','val_321' -'','','','','322','val_322' -'','','','','322','val_322' -'','','','','322','val_322' -'','','','','322','val_322' -'','','','','322','val_322' -'','','','','322','val_322' -'','','','','322','val_322' -'','','','','322','val_322' -'','','','','323','val_323' -'','','','','325','val_325' -'','','','','325','val_325' -'','','','','325','val_325' -'','','','','325','val_325' -'','','','','325','val_325' -'','','','','325','val_325' -'','','','','325','val_325' -'','','','','325','val_325' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','33','val_33' -'','','','','331','val_331' -'','','','','331','val_331' -'','','','','331','val_331' -'','','','','331','val_331' -'','','','','331','val_331' -'','','','','331','val_331' -'','','','','331','val_331' -'','','','','331','val_331' -'','','','','332','val_332' -'','','','','333','val_333' -'','','','','333','val_333' -'','','','','333','val_333' -'','','','','333','val_333' -'','','','','333','val_333' -'','','','','333','val_333' -'','','','','333','val_333' -'','','','','333','val_333' -'','','','','335','val_335' -'','','','','336','val_336' -'','','','','338','val_338' -'','','','','339','val_339' -'','','','','34','val_34' -'','','','','341','val_341' -'','','','','342','val_342' -'','','','','342','val_342' -'','','','','342','val_342' -'','','','','342','val_342' -'','','','','342','val_342' -'','','','','342','val_342' -'','','','','342','val_342' -'','','','','342','val_342' -'','','','','344','val_344' -'','','','','344','val_344' -'','','','','344','val_344' -'','','','','344','val_344' -'','','','','344','val_344' -'','','','','344','val_344' -'','','','','344','val_344' -'','','','','344','val_344' -'','','','','345','val_345' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','351','val_351' -'','','','','353','val_353' -'','','','','353','val_353' -'','','','','353','val_353' -'','','','','353','val_353' -'','','','','353','val_353' -'','','','','353','val_353' -'','','','','353','val_353' -'','','','','353','val_353' -'','','','','356','val_356' -'','','','','360','val_360' -'','','','','362','val_362' -'','','','','364','val_364' -'','','','','365','val_365' -'','','','','366','val_366' -'','','','','367','val_367' -'','','','','367','val_367' -'','','','','367','val_367' -'','','','','367','val_367' -'','','','','367','val_367' -'','','','','367','val_367' -'','','','','367','val_367' -'','','','','367','val_367' -'','','','','368','val_368' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','37','val_37' -'','','','','37','val_37' -'','','','','37','val_37' -'','','','','37','val_37' -'','','','','37','val_37' -'','','','','37','val_37' -'','','','','37','val_37' -'','','','','37','val_37' -'','','','','373','val_373' -'','','','','374','val_374' -'','','','','375','val_375' -'','','','','377','val_377' -'','','','','378','val_378' -'','','','','379','val_379' -'','','','','382','val_382' -'','','','','382','val_382' -'','','','','382','val_382' -'','','','','382','val_382' -'','','','','382','val_382' -'','','','','382','val_382' -'','','','','382','val_382' -'','','','','382','val_382' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','386','val_386' -'','','','','389','val_389' -'','','','','392','val_392' -'','','','','393','val_393' -'','','','','394','val_394' -'','','','','395','val_395' -'','','','','395','val_395' -'','','','','395','val_395' -'','','','','395','val_395' -'','','','','395','val_395' -'','','','','395','val_395' -'','','','','395','val_395' -'','','','','395','val_395' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','397','val_397' -'','','','','397','val_397' -'','','','','397','val_397' -'','','','','397','val_397' -'','','','','397','val_397' -'','','','','397','val_397' -'','','','','397','val_397' -'','','','','397','val_397' -'','','','','399','val_399' -'','','','','399','val_399' -'','','','','399','val_399' -'','','','','399','val_399' -'','','','','399','val_399' -'','','','','399','val_399' -'','','','','399','val_399' -'','','','','399','val_399' -'','','','','4','val_4' -'','','','','400','val_400' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','402','val_402' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','404','val_404' -'','','','','404','val_404' -'','','','','404','val_404' -'','','','','404','val_404' -'','','','','404','val_404' -'','','','','404','val_404' -'','','','','404','val_404' -'','','','','404','val_404' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','407','val_407' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','41','val_41' -'','','','','411','val_411' -'','','','','413','val_413' -'','','','','413','val_413' -'','','','','413','val_413' -'','','','','413','val_413' -'','','','','413','val_413' -'','','','','413','val_413' -'','','','','413','val_413' -'','','','','413','val_413' -'','','','','414','val_414' -'','','','','414','val_414' -'','','','','414','val_414' -'','','','','414','val_414' -'','','','','414','val_414' -'','','','','414','val_414' -'','','','','414','val_414' -'','','','','414','val_414' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','418','val_418' -'','','','','419','val_419' -'','','','','42','val_42' -'','','','','42','val_42' -'','','','','42','val_42' -'','','','','42','val_42' -'','','','','42','val_42' -'','','','','42','val_42' -'','','','','42','val_42' -'','','','','42','val_42' -'','','','','421','val_421' -'','','','','424','val_424' -'','','','','424','val_424' -'','','','','424','val_424' -'','','','','424','val_424' -'','','','','424','val_424' -'','','','','424','val_424' -'','','','','424','val_424' -'','','','','424','val_424' -'','','','','427','val_427' -'','','','','429','val_429' -'','','','','429','val_429' -'','','','','429','val_429' -'','','','','429','val_429' -'','','','','429','val_429' -'','','','','429','val_429' -'','','','','429','val_429' -'','','','','429','val_429' -'','','','','43','val_43' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','432','val_432' -'','','','','435','val_435' -'','','','','436','val_436' -'','','','','437','val_437' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','439','val_439' -'','','','','439','val_439' -'','','','','439','val_439' -'','','','','439','val_439' -'','','','','439','val_439' -'','','','','439','val_439' -'','','','','439','val_439' -'','','','','439','val_439' -'','','','','44','val_44' -'','','','','443','val_443' -'','','','','444','val_444' -'','','','','446','val_446' -'','','','','448','val_448' -'','','','','449','val_449' -'','','','','452','val_452' -'','','','','453','val_453' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','455','val_455' -'','','','','457','val_457' -'','','','','458','val_458' -'','','','','458','val_458' -'','','','','458','val_458' -'','','','','458','val_458' -'','','','','458','val_458' -'','','','','458','val_458' -'','','','','458','val_458' -'','','','','458','val_458' -'','','','','459','val_459' -'','','','','459','val_459' -'','','','','459','val_459' -'','','','','459','val_459' -'','','','','459','val_459' -'','','','','459','val_459' -'','','','','459','val_459' -'','','','','459','val_459' -'','','','','460','val_460' -'','','','','462','val_462' -'','','','','462','val_462' -'','','','','462','val_462' -'','','','','462','val_462' -'','','','','462','val_462' -'','','','','462','val_462' -'','','','','462','val_462' -'','','','','462','val_462' -'','','','','463','val_463' -'','','','','463','val_463' -'','','','','463','val_463' -'','','','','463','val_463' -'','','','','463','val_463' -'','','','','463','val_463' -'','','','','463','val_463' -'','','','','463','val_463' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','467','val_467' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','47','val_47' -'','','','','470','val_470' -'','','','','472','val_472' -'','','','','475','val_475' -'','','','','477','val_477' -'','','','','478','val_478' -'','','','','478','val_478' -'','','','','478','val_478' -'','','','','478','val_478' -'','','','','478','val_478' -'','','','','478','val_478' -'','','','','478','val_478' -'','','','','478','val_478' -'','','','','479','val_479' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','481','val_481' -'','','','','482','val_482' -'','','','','483','val_483' -'','','','','484','val_484' -'','','','','485','val_485' -'','','','','487','val_487' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','490','val_490' -'','','','','491','val_491' -'','','','','492','val_492' -'','','','','492','val_492' -'','','','','492','val_492' -'','','','','492','val_492' -'','','','','492','val_492' -'','','','','492','val_492' -'','','','','492','val_492' -'','','','','492','val_492' -'','','','','493','val_493' -'','','','','494','val_494' -'','','','','495','val_495' -'','','','','496','val_496' -'','','','','497','val_497' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','5','val_5' -'','','','','5','val_5' -'','','','','5','val_5' -'','','','','51','val_51' -'','','','','51','val_51' -'','','','','51','val_51' -'','','','','51','val_51' -'','','','','51','val_51' -'','','','','51','val_51' -'','','','','51','val_51' -'','','','','51','val_51' -'','','','','53','val_53' -'','','','','54','val_54' -'','','','','57','val_57' -'','','','','58','val_58' -'','','','','58','val_58' -'','','','','58','val_58' -'','','','','58','val_58' -'','','','','58','val_58' -'','','','','58','val_58' -'','','','','58','val_58' -'','','','','58','val_58' -'','','','','64','val_64' -'','','','','65','val_65' -'','','','','66','val_66' -'','','','','67','val_67' -'','','','','67','val_67' -'','','','','67','val_67' -'','','','','67','val_67' -'','','','','67','val_67' -'','','','','67','val_67' -'','','','','67','val_67' -'','','','','67','val_67' -'','','','','69','val_69' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','72','val_72' -'','','','','72','val_72' -'','','','','72','val_72' -'','','','','72','val_72' -'','','','','72','val_72' -'','','','','72','val_72' -'','','','','72','val_72' -'','','','','72','val_72' -'','','','','74','val_74' -'','','','','76','val_76' -'','','','','76','val_76' -'','','','','76','val_76' -'','','','','76','val_76' -'','','','','76','val_76' -'','','','','76','val_76' -'','','','','76','val_76' -'','','','','76','val_76' -'','','','','77','val_77' -'','','','','78','val_78' -'','','','','8','val_8' -'','','','','80','val_80' -'','','','','82','val_82' -'','','','','83','val_83' -'','','','','83','val_83' -'','','','','83','val_83' -'','','','','83','val_83' -'','','','','83','val_83' -'','','','','83','val_83' -'','','','','83','val_83' -'','','','','83','val_83' -'','','','','84','val_84' -'','','','','84','val_84' -'','','','','84','val_84' -'','','','','84','val_84' -'','','','','84','val_84' -'','','','','84','val_84' -'','','','','84','val_84' -'','','','','84','val_84' -'','','','','85','val_85' -'','','','','86','val_86' -'','','','','87','val_87' -'','','','','9','val_9' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','92','val_92' -'','','','','95','val_95' -'','','','','95','val_95' -'','','','','95','val_95' -'','','','','95','val_95' -'','','','','95','val_95' -'','','','','95','val_95' -'','','','','95','val_95' -'','','','','95','val_95' -'','','','','96','val_96' -'','','','','97','val_97' -'','','','','97','val_97' -'','','','','97','val_97' -'','','','','97','val_97' -'','','','','97','val_97' -'','','','','97','val_97' -'','','','','97','val_97' -'','','','','97','val_97' -'','','','','98','val_98' -'','','','','98','val_98' -'','','','','98','val_98' -'','','','','98','val_98' -'','','','','98','val_98' -'','','','','98','val_98' -'','','','','98','val_98' -'','','','','98','val_98' -2,606 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/join22.q.out ql/src/test/results/beelinepositive/join22.q.out deleted file mode 100644 index 5e2b51e..0000000 --- ql/src/test/results/beelinepositive/join22.q.out +++ /dev/null @@ -1,130 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join22.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join22.q ->>> explain -SELECT src5.src1_value FROM (SELECT src3.*, src4.value as src4_value, src4.key as src4_key FROM src src4 JOIN (SELECT src2.*, src1.key as src1_key, src1.value as src1_value FROM src src1 JOIN src src2 ON src1.key = src2.key) src3 ON src3.src1_key = src4.key) src5; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) src4) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2) (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src2))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key) src1_key) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) value) src1_value)))) src3) (= (. (TOK_TABLE_OR_COL src3) src1_key) (. (TOK_TABLE_OR_COL src4) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src3))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src4) value) src4_value) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src4) key) src4_key)))) src5)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src5) src1_value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src5:src3:src1 ' -' TableScan' -' alias: src1' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src5:src3:src2 ' -' TableScan' -' alias: src2' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 ' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col2' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col2' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col3' -' type: string' -' src5:src4 ' -' TableScan' -' alias: src4' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 {VALUE._col3}' -' handleSkewJoin: false' -' outputColumnNames: _col7' -' Select Operator' -' expressions:' -' expr: _col7' -' type: string' -' outputColumnNames: _col3' -' Select Operator' -' expressions:' -' expr: _col3' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -123 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/join23.q.out ql/src/test/results/beelinepositive/join23.q.out deleted file mode 100644 index 45916df..0000000 --- ql/src/test/results/beelinepositive/join23.q.out +++ /dev/null @@ -1,219 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join23.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join23.q ->>> EXPLAIN -SELECT * FROM src src1 JOIN src src2 WHERE src1.key < 10 and src2.key < 10 SORT BY src1.key, src1.value, src2.key, src2.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (and (< (. (TOK_TABLE_OR_COL src1) key) 10) (< (. (TOK_TABLE_OR_COL src2) key) 10))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: (key < 10.0)' -' type: boolean' -' Reduce Output Operator' -' sort order: ' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: (key < 10.0)' -' type: boolean' -' Reduce Output Operator' -' sort order: ' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' sort order: ++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -108 rows selected ->>> ->>> SELECT * FROM src src1 JOIN src src2 WHERE src1.key < 10 and src2.key < 10 SORT BY src1.key, src1.value, src2.key, src2.value; -'key','value','key','value' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','2','val_2' -'0','val_0','2','val_2' -'0','val_0','2','val_2' -'0','val_0','4','val_4' -'0','val_0','4','val_4' -'0','val_0','4','val_4' -'0','val_0','5','val_5' -'0','val_0','5','val_5' -'0','val_0','5','val_5' -'0','val_0','5','val_5' -'0','val_0','5','val_5' -'0','val_0','5','val_5' -'0','val_0','5','val_5' -'0','val_0','5','val_5' -'0','val_0','5','val_5' -'0','val_0','8','val_8' -'0','val_0','8','val_8' -'0','val_0','8','val_8' -'0','val_0','9','val_9' -'0','val_0','9','val_9' -'0','val_0','9','val_9' -'2','val_2','0','val_0' -'2','val_2','0','val_0' -'2','val_2','0','val_0' -'2','val_2','2','val_2' -'2','val_2','4','val_4' -'2','val_2','5','val_5' -'2','val_2','5','val_5' -'2','val_2','5','val_5' -'2','val_2','8','val_8' -'2','val_2','9','val_9' -'4','val_4','0','val_0' -'4','val_4','0','val_0' -'4','val_4','0','val_0' -'4','val_4','2','val_2' -'4','val_4','4','val_4' -'4','val_4','5','val_5' -'4','val_4','5','val_5' -'4','val_4','5','val_5' -'4','val_4','8','val_8' -'4','val_4','9','val_9' -'5','val_5','0','val_0' -'5','val_5','0','val_0' -'5','val_5','0','val_0' -'5','val_5','0','val_0' -'5','val_5','0','val_0' -'5','val_5','0','val_0' -'5','val_5','0','val_0' -'5','val_5','0','val_0' -'5','val_5','0','val_0' -'5','val_5','2','val_2' -'5','val_5','2','val_2' -'5','val_5','2','val_2' -'5','val_5','4','val_4' -'5','val_5','4','val_4' -'5','val_5','4','val_4' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','8','val_8' -'5','val_5','8','val_8' -'5','val_5','8','val_8' -'5','val_5','9','val_9' -'5','val_5','9','val_9' -'5','val_5','9','val_9' -'8','val_8','0','val_0' -'8','val_8','0','val_0' -'8','val_8','0','val_0' -'8','val_8','2','val_2' -'8','val_8','4','val_4' -'8','val_8','5','val_5' -'8','val_8','5','val_5' -'8','val_8','5','val_5' -'8','val_8','8','val_8' -'8','val_8','9','val_9' -'9','val_9','0','val_0' -'9','val_9','0','val_0' -'9','val_9','0','val_0' -'9','val_9','2','val_2' -'9','val_9','4','val_4' -'9','val_9','5','val_5' -'9','val_9','5','val_5' -'9','val_9','5','val_5' -'9','val_9','8','val_8' -'9','val_9','9','val_9' -100 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/join24.q.out ql/src/test/results/beelinepositive/join24.q.out deleted file mode 100644 index ebcba5b..0000000 --- ql/src/test/results/beelinepositive/join24.q.out +++ /dev/null @@ -1,17 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join24.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join24.q ->>> create table tst1(key STRING, cnt INT); -No rows affected ->>> ->>> INSERT OVERWRITE TABLE tst1 -SELECT a.key, count(1) FROM src a group by a.key; -'_col0','_col1' -No rows selected ->>> ->>> SELECT sum(a.cnt) FROM tst1 a JOIN tst1 b ON a.key = b.key; -'_c0' -'500' -1 row selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/join25.q.out ql/src/test/results/beelinepositive/join25.q.out deleted file mode 100644 index 6a094a6..0000000 --- ql/src/test/results/beelinepositive/join25.q.out +++ /dev/null @@ -1,213 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join25.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join25.q ->>> set hive.mapjoin.numrows = 2; -No rows affected ->>> ->>> ->>> ->>> CREATE TABLE dest_j1(key INT, value STRING, val2 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -INSERT OVERWRITE TABLE dest_j1 -SELECT /*+ MAPJOIN(x) */ x.key, x.value, y.value -FROM src1 x JOIN src y ON (x.key = y.key); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src1) x) (TOK_TABREF (TOK_TABNAME src) y) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL y) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_j1))) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST x))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL y) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-9 is a root stage' -' Stage-1 depends on stages: Stage-9' -' 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-9' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' x ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' x ' -' TableScan' -' alias: x' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' y ' -' TableScan' -' alias: y' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col5' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: join25.dest_j1' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: join25.dest_j1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: join25.dest_j1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: join25.dest_j1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -146 rows selected ->>> ->>> INSERT OVERWRITE TABLE dest_j1 -SELECT /*+ MAPJOIN(x) */ x.key, x.value, y.value -FROM src1 x JOIN src y ON (x.key = y.key); -'_col0','_col1','_col2' -No rows selected ->>> ->>> select * from dest_j1 x order by x.key; -'key','value','val2' -'66','val_66','val_66' -'98','val_98','val_98' -'98','val_98','val_98' -'128','','val_128' -'128','','val_128' -'128','','val_128' -'146','val_146','val_146' -'146','val_146','val_146' -'150','val_150','val_150' -'213','val_213','val_213' -'213','val_213','val_213' -'224','','val_224' -'224','','val_224' -'238','val_238','val_238' -'238','val_238','val_238' -'255','val_255','val_255' -'255','val_255','val_255' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'278','val_278','val_278' -'278','val_278','val_278' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'369','','val_369' -'369','','val_369' -'369','','val_369' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -37 rows selected ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/join26.q.out ql/src/test/results/beelinepositive/join26.q.out deleted file mode 100644 index a67bc18..0000000 --- ql/src/test/results/beelinepositive/join26.q.out +++ /dev/null @@ -1,500 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join26.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join26.q ->>> CREATE TABLE dest_j1(key STRING, value STRING, val2 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE dest_j1 -SELECT /*+ MAPJOIN(x,y) */ x.key, z.value, y.value -FROM src1 x JOIN src y ON (x.key = y.key) -JOIN srcpart z ON (x.key = z.key and z.ds='2008-04-08' and z.hr=11); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME src1) x) (TOK_TABREF (TOK_TABNAME src) y) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL y) key))) (TOK_TABREF (TOK_TABNAME srcpart) z) (and (and (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL z) key)) (= (. (TOK_TABLE_OR_COL z) ds) '2008-04-08')) (= (. (TOK_TABLE_OR_COL z) hr) 11)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_j1))) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST x y))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL z) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL y) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-10 is a root stage' -' Stage-1 depends on stages: Stage-10' -' 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-10' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' x ' -' Fetch Operator' -' limit: -1' -' y ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' x ' -' TableScan' -' alias: x' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key}' -' 1 {value}' -' 2 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 2' -' y ' -' TableScan' -' alias: y' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key}' -' 1 {value}' -' 2 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 2' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' z ' -' TableScan' -' alias: z' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 0 to 2' -' condition expressions:' -' 0 {key}' -' 1 {value}' -' 2 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col5, _col9' -' Position of Big Table: 2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col5' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col5, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col9' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join26.db/dest_j1' -' name join26.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join26.dest_j1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/join26.db/srcpart/ds=2008-04-08/hr=11 [z]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/join26.db/srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join26.db/srcpart/ds=2008-04-08/hr=11' -' name join26.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join26.db/srcpart' -' name join26.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join26.srcpart' -' name: join26.srcpart' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join26.db/dest_j1' -' name join26.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join26.dest_j1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join26.db/dest_j1' -' name join26.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join26.dest_j1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join26.db/dest_j1' -' name join26.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join26.db/dest_j1' -' name join26.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join26.dest_j1' -' name: join26.dest_j1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join26.db/dest_j1' -' name join26.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join26.dest_j1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join26.db/dest_j1' -' name join26.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join26.db/dest_j1' -' name join26.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join26.dest_j1' -' name: join26.dest_j1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -366 rows selected ->>> ->>> INSERT OVERWRITE TABLE dest_j1 -SELECT /*+ MAPJOIN(x,y) */ x.key, z.value, y.value -FROM src1 x JOIN src y ON (x.key = y.key) -JOIN srcpart z ON (x.key = z.key and z.ds='2008-04-08' and z.hr=11); -'key','value','value' -No rows selected ->>> ->>> select * from dest_j1 x order by x.key; -'key','value','val2' -'128','val_128','val_128' -'128','val_128','val_128' -'128','val_128','val_128' -'128','val_128','val_128' -'128','val_128','val_128' -'128','val_128','val_128' -'128','val_128','val_128' -'128','val_128','val_128' -'128','val_128','val_128' -'146','val_146','val_146' -'146','val_146','val_146' -'146','val_146','val_146' -'146','val_146','val_146' -'150','val_150','val_150' -'213','val_213','val_213' -'213','val_213','val_213' -'213','val_213','val_213' -'213','val_213','val_213' -'224','val_224','val_224' -'224','val_224','val_224' -'224','val_224','val_224' -'224','val_224','val_224' -'238','val_238','val_238' -'238','val_238','val_238' -'238','val_238','val_238' -'238','val_238','val_238' -'255','val_255','val_255' -'255','val_255','val_255' -'255','val_255','val_255' -'255','val_255','val_255' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'278','val_278','val_278' -'278','val_278','val_278' -'278','val_278','val_278' -'278','val_278','val_278' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'369','val_369','val_369' -'369','val_369','val_369' -'369','val_369','val_369' -'369','val_369','val_369' -'369','val_369','val_369' -'369','val_369','val_369' -'369','val_369','val_369' -'369','val_369','val_369' -'369','val_369','val_369' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'66','val_66','val_66' -'98','val_98','val_98' -'98','val_98','val_98' -'98','val_98','val_98' -'98','val_98','val_98' -107 rows selected ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/join27.q.out ql/src/test/results/beelinepositive/join27.q.out deleted file mode 100644 index 99cd719..0000000 --- ql/src/test/results/beelinepositive/join27.q.out +++ /dev/null @@ -1,214 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join27.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join27.q ->>> ->>> ->>> CREATE TABLE dest_j1(key INT, value STRING, val2 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -INSERT OVERWRITE TABLE dest_j1 -SELECT /*+ MAPJOIN(x) */ x.key, x.value, y.value -FROM src1 x JOIN src y ON (x.value = y.value); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src1) x) (TOK_TABREF (TOK_TABNAME src) y) (= (. (TOK_TABLE_OR_COL x) value) (. (TOK_TABLE_OR_COL y) value)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_j1))) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST x))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL y) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-9 is a root stage' -' Stage-1 depends on stages: Stage-9' -' 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-9' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' x ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' x ' -' TableScan' -' alias: x' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[value]]' -' 1 [Column[value]]' -' Position of Big Table: 1' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' y ' -' TableScan' -' alias: y' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[value]]' -' 1 [Column[value]]' -' outputColumnNames: _col0, _col1, _col5' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: join27.dest_j1' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: join27.dest_j1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: join27.dest_j1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: join27.dest_j1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -146 rows selected ->>> ->>> INSERT OVERWRITE TABLE dest_j1 -SELECT /*+ MAPJOIN(x) */ x.key, x.value, y.value -FROM src1 x JOIN src y ON (x.value = y.value); -'_col0','_col1','_col2' -No rows selected ->>> ->>> select * from dest_j1 x order by x.key, x.value; -'key','value','val2' -'','val_165','val_165' -'','val_165','val_165' -'','val_193','val_193' -'','val_193','val_193' -'','val_193','val_193' -'','val_265','val_265' -'','val_265','val_265' -'','val_27','val_27' -'','val_409','val_409' -'','val_409','val_409' -'','val_409','val_409' -'','val_484','val_484' -'66','val_66','val_66' -'98','val_98','val_98' -'98','val_98','val_98' -'146','val_146','val_146' -'146','val_146','val_146' -'150','val_150','val_150' -'213','val_213','val_213' -'213','val_213','val_213' -'238','val_238','val_238' -'238','val_238','val_238' -'255','val_255','val_255' -'255','val_255','val_255' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'278','val_278','val_278' -'278','val_278','val_278' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -41 rows selected ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/join28.q.out ql/src/test/results/beelinepositive/join28.q.out deleted file mode 100644 index 3f1a3d2..0000000 --- ql/src/test/results/beelinepositive/join28.q.out +++ /dev/null @@ -1,310 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join28.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join28.q ->>> ->>> ->>> CREATE TABLE dest_j1(key STRING, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -INSERT OVERWRITE TABLE dest_j1 -SELECT /*+ MAPJOIN(z) */ subq.key1, z.value -FROM -(SELECT /*+ MAPJOIN(x) */ x.key as key1, x.value as value1, y.key as key2, y.value as value2 -FROM src1 x JOIN src y ON (x.key = y.key)) subq -JOIN srcpart z ON (subq.key1 = z.key and z.ds='2008-04-08' and z.hr=11); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src1) x) (TOK_TABREF (TOK_TABNAME src) y) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL y) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST x))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) key) key1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) value) value1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL y) key) key2) (TOK_SELEXPR (. (TOK_TABLE_OR_COL y) value) value2)))) subq) (TOK_TABREF (TOK_TABNAME srcpart) z) (and (and (= (. (TOK_TABLE_OR_COL subq) key1) (. (TOK_TABLE_OR_COL z) key)) (= (. (TOK_TABLE_OR_COL z) ds) '2008-04-08')) (= (. (TOK_TABLE_OR_COL z) hr) 11)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_j1))) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST z))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL subq) key1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL z) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-10 is a root stage' -' Stage-1 depends on stages: Stage-10' -' 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-10' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' subq:x ' -' Fetch Operator' -' limit: -1' -' z ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' subq:x ' -' TableScan' -' alias: x' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -' z ' -' TableScan' -' alias: z' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col0}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subq:y ' -' TableScan' -' alias: y' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {_col0}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: join28.dest_j1' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: join28.dest_j1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: join28.dest_j1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: join28.dest_j1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -170 rows selected ->>> ->>> INSERT OVERWRITE TABLE dest_j1 -SELECT /*+ MAPJOIN(z) */ subq.key1, z.value -FROM -(SELECT /*+ MAPJOIN(x) */ x.key as key1, x.value as value1, y.key as key2, y.value as value2 -FROM src1 x JOIN src y ON (x.key = y.key)) subq -JOIN srcpart z ON (subq.key1 = z.key and z.ds='2008-04-08' and z.hr=11); -'key1','value' -No rows selected ->>> ->>> select * from dest_j1 x order by x.key; -'key','value' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'150','val_150' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'66','val_66' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -107 rows selected ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/join29.q.out ql/src/test/results/beelinepositive/join29.q.out deleted file mode 100644 index 3f2fdb7..0000000 --- ql/src/test/results/beelinepositive/join29.q.out +++ /dev/null @@ -1,295 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join29.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join29.q ->>> CREATE TABLE dest_j1(key STRING, cnt1 INT, cnt2 INT); -No rows affected ->>> ->>> EXPLAIN -INSERT OVERWRITE TABLE dest_j1 -SELECT /*+ MAPJOIN(subq1) */ subq1.key, subq1.cnt, subq2.cnt -FROM (select x.key, count(1) as cnt from src1 x group by x.key) subq1 JOIN -(select y.key, count(1) as cnt from src y group by y.key) subq2 ON (subq1.key = subq2.key); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src1) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) key)) (TOK_SELEXPR (TOK_FUNCTION count 1) cnt)) (TOK_GROUPBY (. (TOK_TABLE_OR_COL x) key)))) subq1) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) y)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL y) key)) (TOK_SELEXPR (TOK_FUNCTION count 1) cnt)) (TOK_GROUPBY (. (TOK_TABLE_OR_COL y) key)))) subq2) (= (. (TOK_TABLE_OR_COL subq1) key) (. (TOK_TABLE_OR_COL subq2) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_j1))) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST subq1))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL subq1) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL subq1) cnt)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL subq2) cnt)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-11 depends on stages: Stage-1, Stage-9' -' Stage-2 depends on stages: Stage-11' -' Stage-8 depends on stages: Stage-2 , consists of Stage-5, Stage-4, Stage-6' -' Stage-5' -' Stage-0 depends on stages: Stage-5, Stage-4, Stage-7' -' Stage-3 depends on stages: Stage-0' -' Stage-4' -' Stage-6' -' Stage-7 depends on stages: Stage-6' -' Stage-9 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subq2:y ' -' TableScan' -' alias: y' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-11' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' file:!!{hive.exec.scratchdir}!! ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col0} {_col1}' -' 1 {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' Position of Big Table: 1' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {_col0} {_col1}' -' 1 {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' outputColumnNames: _col0, _col1, _col3' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' expr: _col3' -' type: bigint' -' outputColumnNames: _col0, _col1, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' expr: _col3' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: UDFToInteger(_col2)' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: join29.dest_j1' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-8' -' Conditional Operator' -'' -' Stage: Stage-5' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: join29.dest_j1' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: join29.dest_j1' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: join29.dest_j1' -'' -' Stage: Stage-7' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-9' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subq1:x ' -' TableScan' -' alias: x' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -'' -256 rows selected ->>> ->>> INSERT OVERWRITE TABLE dest_j1 -SELECT /*+ MAPJOIN(subq1) */ subq1.key, subq1.cnt, subq2.cnt -FROM (select x.key, count(1) as cnt from src1 x group by x.key) subq1 JOIN -(select y.key, count(1) as cnt from src y group by y.key) subq2 ON (subq1.key = subq2.key); -'_col0','_col1','_col2' -No rows selected ->>> ->>> select * from dest_j1 x order by x.key; -'key','cnt1','cnt2' -'128','1','3' -'146','1','2' -'150','1','1' -'213','1','2' -'224','1','2' -'238','1','2' -'255','1','2' -'273','1','3' -'278','1','2' -'311','1','3' -'369','1','3' -'401','1','5' -'406','1','4' -'66','1','1' -'98','1','2' -15 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/join3.q.out ql/src/test/results/beelinepositive/join3.q.out deleted file mode 100644 index 18e117a..0000000 --- ql/src/test/results/beelinepositive/join3.q.out +++ /dev/null @@ -1,2776 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join3.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join3.q ->>> CREATE TABLE dest1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src src1 JOIN src src2 ON (src1.key = src2.key) JOIN src src3 ON (src1.key = src3.key) -INSERT OVERWRITE TABLE dest1 SELECT src1.key, src3.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2) (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key))) (TOK_TABREF (TOK_TABNAME src) src3) (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src3) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src3) value)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' src3 ' -' TableScan' -' alias: src3' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 2' -' value expressions:' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 0 to 2' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 ' -' 2 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: join3.dest1' -'' -' 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: join3.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -102 rows selected ->>> ->>> FROM src src1 JOIN src src2 ON (src1.key = src2.key) JOIN src src3 ON (src1.key = src3.key) -INSERT OVERWRITE TABLE dest1 SELECT src1.key, src3.value; -'_col0','_col1' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'10','val_10' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'105','val_105' -'11','val_11' -'111','val_111' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'114','val_114' -'116','val_116' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'126','val_126' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'131','val_131' -'133','val_133' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'136','val_136' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'143','val_143' -'145','val_145' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'150','val_150' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'153','val_153' -'155','val_155' -'156','val_156' -'157','val_157' -'158','val_158' -'160','val_160' -'162','val_162' -'163','val_163' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'166','val_166' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'168','val_168' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'17','val_17' -'170','val_170' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'177','val_177' -'178','val_178' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'180','val_180' -'181','val_181' -'183','val_183' -'186','val_186' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'189','val_189' -'19','val_19' -'190','val_190' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'192','val_192' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'194','val_194' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'196','val_196' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'2','val_2' -'20','val_20' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'201','val_201' -'202','val_202' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'214','val_214' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'218','val_218' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'222','val_222' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'226','val_226' -'228','val_228' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'235','val_235' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'241','val_241' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'244','val_244' -'247','val_247' -'248','val_248' -'249','val_249' -'252','val_252' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'257','val_257' -'258','val_258' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'260','val_260' -'262','val_262' -'263','val_263' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'266','val_266' -'27','val_27' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'274','val_274' -'275','val_275' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'28','val_28' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'283','val_283' -'284','val_284' -'285','val_285' -'286','val_286' -'287','val_287' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'289','val_289' -'291','val_291' -'292','val_292' -'296','val_296' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'30','val_30' -'302','val_302' -'305','val_305' -'306','val_306' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'308','val_308' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'310','val_310' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'315','val_315' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'323','val_323' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'33','val_33' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'332','val_332' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'335','val_335' -'336','val_336' -'338','val_338' -'339','val_339' -'34','val_34' -'341','val_341' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'345','val_345' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'351','val_351' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'356','val_356' -'360','val_360' -'362','val_362' -'364','val_364' -'365','val_365' -'366','val_366' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'368','val_368' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'373','val_373' -'374','val_374' -'375','val_375' -'377','val_377' -'378','val_378' -'379','val_379' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'386','val_386' -'389','val_389' -'392','val_392' -'393','val_393' -'394','val_394' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'4','val_4' -'400','val_400' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'402','val_402' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'407','val_407' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'41','val_41' -'411','val_411' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'418','val_418' -'419','val_419' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'421','val_421' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'427','val_427' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'43','val_43' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'432','val_432' -'435','val_435' -'436','val_436' -'437','val_437' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'44','val_44' -'443','val_443' -'444','val_444' -'446','val_446' -'448','val_448' -'449','val_449' -'452','val_452' -'453','val_453' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'455','val_455' -'457','val_457' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'460','val_460' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'467','val_467' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'47','val_47' -'470','val_470' -'472','val_472' -'475','val_475' -'477','val_477' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'479','val_479' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'481','val_481' -'482','val_482' -'483','val_483' -'484','val_484' -'485','val_485' -'487','val_487' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'490','val_490' -'491','val_491' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'493','val_493' -'494','val_494' -'495','val_495' -'496','val_496' -'497','val_497' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'53','val_53' -'54','val_54' -'57','val_57' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'64','val_64' -'65','val_65' -'66','val_66' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'69','val_69' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'74','val_74' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'77','val_77' -'78','val_78' -'8','val_8' -'80','val_80' -'82','val_82' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'9','val_9' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'96','val_96' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -2,654 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/join30.q.out ql/src/test/results/beelinepositive/join30.q.out deleted file mode 100644 index 4d9aa2d..0000000 --- ql/src/test/results/beelinepositive/join30.q.out +++ /dev/null @@ -1,175 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join30.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join30.q ->>> CREATE TABLE dest_j1(key INT, cnt INT); -No rows affected ->>> ->>> EXPLAIN -INSERT OVERWRITE TABLE dest_j1 -SELECT /*+ MAPJOIN(x) */ x.key, count(1) FROM src1 x JOIN src y ON (x.key = y.key) group by x.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src1) x) (TOK_TABREF (TOK_TABNAME src) y) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL y) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_j1))) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST x))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL x) key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-5 is a root stage' -' Stage-1 depends on stages: Stage-5' -' 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-5' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' x ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' x ' -' TableScan' -' alias: x' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' y ' -' TableScan' -' alias: y' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0' -' Position of Big Table: 1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: join30.dest_j1' -'' -' 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: join30.dest_j1' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -'' -140 rows selected ->>> ->>> INSERT OVERWRITE TABLE dest_j1 -SELECT /*+ MAPJOIN(x) */ x.key, count(1) FROM src1 x JOIN src y ON (x.key = y.key) group by x.key; -'_col0','_col1' -No rows selected ->>> ->>> select * from dest_j1 x order by x.key; -'key','cnt' -'66','1' -'98','2' -'128','3' -'146','2' -'150','1' -'213','2' -'224','2' -'238','2' -'255','2' -'273','3' -'278','2' -'311','3' -'369','3' -'401','5' -'406','4' -15 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/join31.q.out ql/src/test/results/beelinepositive/join31.q.out deleted file mode 100644 index cbd1bdf..0000000 --- ql/src/test/results/beelinepositive/join31.q.out +++ /dev/null @@ -1,287 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join31.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join31.q ->>> CREATE TABLE dest_j1(key STRING, cnt INT); -No rows affected ->>> ->>> EXPLAIN -INSERT OVERWRITE TABLE dest_j1 -SELECT /*+ MAPJOIN(subq1) */ subq1.key, count(1) as cnt -FROM (select x.key, count(1) as cnt from src1 x group by x.key) subq1 JOIN -(select y.key, count(1) as cnt from src y group by y.key) subq2 ON (subq1.key = subq2.key) -group by subq1.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src1) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) key)) (TOK_SELEXPR (TOK_FUNCTION count 1) cnt)) (TOK_GROUPBY (. (TOK_TABLE_OR_COL x) key)))) subq1) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) y)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL y) key)) (TOK_SELEXPR (TOK_FUNCTION count 1) cnt)) (TOK_GROUPBY (. (TOK_TABLE_OR_COL y) key)))) subq2) (= (. (TOK_TABLE_OR_COL subq1) key) (. (TOK_TABLE_OR_COL subq2) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_j1))) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST subq1))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL subq1) key)) (TOK_SELEXPR (TOK_FUNCTION count 1) cnt)) (TOK_GROUPBY (. (TOK_TABLE_OR_COL subq1) key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-7 depends on stages: Stage-1, Stage-5' -' Stage-2 depends on stages: Stage-7' -' Stage-3 depends on stages: Stage-2' -' Stage-0 depends on stages: Stage-3' -' Stage-4 depends on stages: Stage-0' -' Stage-5 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subq2:y ' -' TableScan' -' alias: y' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-7' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' file:!!{hive.exec.scratchdir}!! ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col0}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' Position of Big Table: 1' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {_col0}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[_col0]]' -' outputColumnNames: _col0' -' Position of Big Table: 1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: join31.dest_j1' -'' -' 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: join31.dest_j1' -'' -' Stage: Stage-4' -' Stats-Aggr Operator' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subq1:x ' -' TableScan' -' alias: x' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -'' -246 rows selected ->>> ->>> INSERT OVERWRITE TABLE dest_j1 -SELECT /*+ MAPJOIN(subq1) */ subq1.key, count(1) as cnt -FROM (select x.key, count(1) as cnt from src1 x group by x.key) subq1 JOIN -(select y.key, count(1) as cnt from src y group by y.key) subq2 ON (subq1.key = subq2.key) -group by subq1.key; -'_col0','_col1' -No rows selected ->>> ->>> select * from dest_j1 x order by x.key; -'key','cnt' -'128','1' -'146','1' -'150','1' -'213','1' -'224','1' -'238','1' -'255','1' -'273','1' -'278','1' -'311','1' -'369','1' -'401','1' -'406','1' -'66','1' -'98','1' -15 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/join32.q.out ql/src/test/results/beelinepositive/join32.q.out deleted file mode 100644 index 3842a7a..0000000 --- ql/src/test/results/beelinepositive/join32.q.out +++ /dev/null @@ -1,536 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join32.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join32.q ->>> CREATE TABLE dest_j1(key STRING, value STRING, val2 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE dest_j1 -SELECT /*+ MAPJOIN(x,z) */ x.key, z.value, y.value -FROM src1 x JOIN src y ON (x.key = y.key) -JOIN srcpart z ON (x.value = z.value and z.ds='2008-04-08' and z.hr=11); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME src1) x) (TOK_TABREF (TOK_TABNAME src) y) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL y) key))) (TOK_TABREF (TOK_TABNAME srcpart) z) (and (and (= (. (TOK_TABLE_OR_COL x) value) (. (TOK_TABLE_OR_COL z) value)) (= (. (TOK_TABLE_OR_COL z) ds) '2008-04-08')) (= (. (TOK_TABLE_OR_COL z) hr) 11)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_j1))) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST x z))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL z) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL y) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-12 is a root stage' -' Stage-8 depends on stages: Stage-12' -' Stage-11 depends on stages: Stage-8' -' Stage-1 depends on stages: Stage-11' -' 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-12' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' x ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' x ' -' TableScan' -' alias: x' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -'' -' Stage: Stage-8' -' Map Reduce' -' Alias -> Map Operator Tree:' -' y ' -' TableScan' -' alias: y' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col5' -' Position of Big Table: 1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col5' -' columns.types string,string,string' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/join32.db/src [y]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/join32.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join32.db/src' -' name join32.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join32.db/src' -' name join32.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join32.src' -' name: join32.src' -'' -' Stage: Stage-11' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' z ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' z ' -' TableScan' -' alias: z' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col5} {_col0}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col1]]' -' 1 [Column[value]]' -' Position of Big Table: 0' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col5' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {_col5} {_col0}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col1]]' -' 1 [Column[value]]' -' outputColumnNames: _col1, _col4, _col9' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col1, _col4, _col9' -' Select Operator' -' expressions:' -' expr: _col4' -' type: string' -' expr: _col9' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join32.db/dest_j1' -' name join32.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join32.dest_j1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10003' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col5' -' columns.types string,string,string' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col5' -' columns.types string,string,string' -' escape.delim \' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join32.db/dest_j1' -' name join32.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join32.dest_j1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join32.db/dest_j1' -' name join32.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join32.dest_j1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join32.db/dest_j1' -' name join32.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join32.db/dest_j1' -' name join32.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join32.dest_j1' -' name: join32.dest_j1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join32.db/dest_j1' -' name join32.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join32.dest_j1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join32.db/dest_j1' -' name join32.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join32.db/dest_j1' -' name join32.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join32.dest_j1' -' name: join32.dest_j1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -424 rows selected ->>> ->>> INSERT OVERWRITE TABLE dest_j1 -SELECT /*+ MAPJOIN(x,z) */ x.key, z.value, y.value -FROM src1 x JOIN src y ON (x.key = y.key) -JOIN srcpart z ON (x.value = z.value and z.ds='2008-04-08' and z.hr=11); -'key','value','value' -No rows selected ->>> ->>> select * from dest_j1 x order by x.key; -'key','value','val2' -'146','val_146','val_146' -'146','val_146','val_146' -'146','val_146','val_146' -'146','val_146','val_146' -'150','val_150','val_150' -'213','val_213','val_213' -'213','val_213','val_213' -'213','val_213','val_213' -'213','val_213','val_213' -'238','val_238','val_238' -'238','val_238','val_238' -'238','val_238','val_238' -'238','val_238','val_238' -'255','val_255','val_255' -'255','val_255','val_255' -'255','val_255','val_255' -'255','val_255','val_255' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'278','val_278','val_278' -'278','val_278','val_278' -'278','val_278','val_278' -'278','val_278','val_278' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'66','val_66','val_66' -'98','val_98','val_98' -'98','val_98','val_98' -'98','val_98','val_98' -'98','val_98','val_98' -85 rows selected ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/join33.q.out ql/src/test/results/beelinepositive/join33.q.out deleted file mode 100644 index 9968275..0000000 --- ql/src/test/results/beelinepositive/join33.q.out +++ /dev/null @@ -1,420 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join33.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join33.q ->>> CREATE TABLE dest_j1(key STRING, value STRING, val2 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE dest_j1 -SELECT /*+ MAPJOIN(x) */ x.key, z.value, y.value -FROM src1 x JOIN src y ON (x.key = y.key) -JOIN srcpart z ON (x.value = z.value and z.ds='2008-04-08' and z.hr=11); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME src1) x) (TOK_TABREF (TOK_TABNAME src) y) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL y) key))) (TOK_TABREF (TOK_TABNAME srcpart) z) (and (and (= (. (TOK_TABLE_OR_COL x) value) (. (TOK_TABLE_OR_COL z) value)) (= (. (TOK_TABLE_OR_COL z) ds) '2008-04-08')) (= (. (TOK_TABLE_OR_COL z) hr) 11)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_j1))) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST x))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL z) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL y) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-6 is a root stage' -' Stage-3 depends on stages: Stage-6' -' Stage-1 depends on stages: Stage-3' -' Stage-0 depends on stages: Stage-1' -' Stage-2 depends on stages: Stage-0' -'' -'STAGE PLANS:' -' Stage: Stage-6' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' x ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' x ' -' TableScan' -' alias: x' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' y ' -' TableScan' -' alias: y' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col5' -' Position of Big Table: 1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col5' -' columns.types string,string,string' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/join33.db/src [y]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/join33.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join33.db/src' -' name join33.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join33.db/src' -' name join33.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join33.src' -' name: join33.src' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col5' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col1' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col5' -' type: string' -' expr: _col0' -' type: string' -' z ' -' TableScan' -' alias: z' -' GatherStats: false' -' Reduce Output Operator' -' key expressions:' -' expr: value' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: value' -' type: string' -' tag: 1' -' value expressions:' -' expr: value' -' type: string' -' Needs Tagging: true' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' !!{hive.metastore.warehouse.dir}!!/join33.db/srcpart/ds=2008-04-08/hr=11 [z]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col5' -' columns.types string,string,string' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col5' -' columns.types string,string,string' -' escape.delim \' -' !!{hive.metastore.warehouse.dir}!!/join33.db/srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join33.db/srcpart/ds=2008-04-08/hr=11' -' name join33.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join33.db/srcpart' -' name join33.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join33.srcpart' -' name: join33.srcpart' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col1} {VALUE._col4}' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col1, _col4, _col9' -' Select Operator' -' expressions:' -' expr: _col4' -' type: string' -' expr: _col9' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join33.db/dest_j1' -' name join33.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join33.dest_j1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join33.db/dest_j1' -' name join33.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join33.dest_j1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -308 rows selected ->>> ->>> INSERT OVERWRITE TABLE dest_j1 -SELECT /*+ MAPJOIN(x) */ x.key, z.value, y.value -FROM src1 x JOIN src y ON (x.key = y.key) -JOIN srcpart z ON (x.value = z.value and z.ds='2008-04-08' and z.hr=11); -'key','value','value' -No rows selected ->>> ->>> select * from dest_j1 x order by x.key; -'key','value','val2' -'146','val_146','val_146' -'146','val_146','val_146' -'146','val_146','val_146' -'146','val_146','val_146' -'150','val_150','val_150' -'213','val_213','val_213' -'213','val_213','val_213' -'213','val_213','val_213' -'213','val_213','val_213' -'238','val_238','val_238' -'238','val_238','val_238' -'238','val_238','val_238' -'238','val_238','val_238' -'255','val_255','val_255' -'255','val_255','val_255' -'255','val_255','val_255' -'255','val_255','val_255' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'278','val_278','val_278' -'278','val_278','val_278' -'278','val_278','val_278' -'278','val_278','val_278' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'66','val_66','val_66' -'98','val_98','val_98' -'98','val_98','val_98' -'98','val_98','val_98' -'98','val_98','val_98' -85 rows selected ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/join34.q.out ql/src/test/results/beelinepositive/join34.q.out deleted file mode 100644 index 865c6a9..0000000 --- ql/src/test/results/beelinepositive/join34.q.out +++ /dev/null @@ -1,495 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join34.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join34.q ->>> ->>> ->>> CREATE TABLE dest_j1(key STRING, value STRING, val2 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE dest_j1 -SELECT /*+ MAPJOIN(x) */ x.key, x.value, subq1.value -FROM -( SELECT x.key as key, x.value as value from src x where x.key < 20 -UNION ALL -SELECT x1.key as key, x1.value as value from src x1 where x1.key > 100 -) subq1 -JOIN src1 x ON (x.key = subq1.key); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) key) key) (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) value) value)) (TOK_WHERE (< (. (TOK_TABLE_OR_COL x) key) 20)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) x1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL x1) key) key) (TOK_SELEXPR (. (TOK_TABLE_OR_COL x1) value) value)) (TOK_WHERE (> (. (TOK_TABLE_OR_COL x1) key) 100))))) subq1) (TOK_TABREF (TOK_TABNAME src1) x) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL subq1) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_j1))) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST x))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL subq1) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-10 is a root stage' -' Stage-1 depends on stages: Stage-10' -' 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-10' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' x ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' x ' -' TableScan' -' alias: x' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col1}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1:subq1-subquery1:x ' -' TableScan' -' alias: x' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (key < 20.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {_col1}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[key]]' -' outputColumnNames: _col1, _col2, _col3' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join34.db/dest_j1' -' name join34.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join34.dest_j1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' null-subquery2:subq1-subquery2:x1 ' -' TableScan' -' alias: x1' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (key > 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {_col1}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[key]]' -' outputColumnNames: _col1, _col2, _col3' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join34.db/dest_j1' -' name join34.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join34.dest_j1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/join34.db/src [null-subquery1:subq1-subquery1:x, null-subquery2:subq1-subquery2:x1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/join34.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join34.db/src' -' name join34.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join34.db/src' -' name join34.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join34.src' -' name: join34.src' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join34.db/dest_j1' -' name join34.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join34.dest_j1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join34.db/dest_j1' -' name join34.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join34.dest_j1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join34.db/dest_j1' -' name join34.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join34.db/dest_j1' -' name join34.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join34.dest_j1' -' name: join34.dest_j1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join34.db/dest_j1' -' name join34.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join34.dest_j1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join34.db/dest_j1' -' name join34.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join34.db/dest_j1' -' name join34.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join34.dest_j1' -' name: join34.dest_j1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -424 rows selected ->>> ->>> INSERT OVERWRITE TABLE dest_j1 -SELECT /*+ MAPJOIN(x) */ x.key, x.value, subq1.value -FROM -( SELECT x.key as key, x.value as value from src x where x.key < 20 -UNION ALL -SELECT x1.key as key, x1.value as value from src x1 where x1.key > 100 -) subq1 -JOIN src1 x ON (x.key = subq1.key); -'key','value','value' -No rows selected ->>> ->>> select * from dest_j1 x order by x.key; -'key','value','val2' -'128','','val_128' -'128','','val_128' -'128','','val_128' -'146','val_146','val_146' -'146','val_146','val_146' -'150','val_150','val_150' -'213','val_213','val_213' -'213','val_213','val_213' -'224','','val_224' -'224','','val_224' -'238','val_238','val_238' -'238','val_238','val_238' -'255','val_255','val_255' -'255','val_255','val_255' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'278','val_278','val_278' -'278','val_278','val_278' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'369','','val_369' -'369','','val_369' -'369','','val_369' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -34 rows selected ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/join35.q.out ql/src/test/results/beelinepositive/join35.q.out deleted file mode 100644 index 5d15b77..0000000 --- ql/src/test/results/beelinepositive/join35.q.out +++ /dev/null @@ -1,697 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join35.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join35.q ->>> ->>> ->>> CREATE TABLE dest_j1(key STRING, value STRING, val2 INT) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE dest_j1 -SELECT /*+ MAPJOIN(x) */ x.key, x.value, subq1.cnt -FROM -( SELECT x.key as key, count(1) as cnt from src x where x.key < 20 group by x.key -UNION ALL -SELECT x1.key as key, count(1) as cnt from src x1 where x1.key > 100 group by x1.key -) subq1 -JOIN src1 x ON (x.key = subq1.key); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) key) key) (TOK_SELEXPR (TOK_FUNCTION count 1) cnt)) (TOK_WHERE (< (. (TOK_TABLE_OR_COL x) key) 20)) (TOK_GROUPBY (. (TOK_TABLE_OR_COL x) key)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) x1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL x1) key) key) (TOK_SELEXPR (TOK_FUNCTION count 1) cnt)) (TOK_WHERE (> (. (TOK_TABLE_OR_COL x1) key) 100)) (TOK_GROUPBY (. (TOK_TABLE_OR_COL x1) key))))) subq1) (TOK_TABREF (TOK_TABNAME src1) x) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL subq1) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_j1))) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST x))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL subq1) cnt)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-11 depends on stages: Stage-1, Stage-9' -' Stage-2 depends on stages: Stage-11' -' Stage-8 depends on stages: Stage-2 , consists of Stage-5, Stage-4, Stage-6' -' Stage-5' -' Stage-0 depends on stages: Stage-5, Stage-4, Stage-7' -' Stage-3 depends on stages: Stage-0' -' Stage-4' -' Stage-6' -' Stage-7 depends on stages: Stage-6' -' Stage-9 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1:subq1-subquery1:x ' -' TableScan' -' alias: x' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (key < 20.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/join35.db/src [null-subquery1:subq1-subquery1:x]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/join35.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join35.db/src' -' name join35.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join35.db/src' -' name join35.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join35.src' -' name: join35.src' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string,bigint' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-11' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' x ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' x ' -' TableScan' -' alias: x' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col1}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' GatherStats: false' -' Union' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {_col1}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[key]]' -' outputColumnNames: _col1, _col2, _col3' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: UDFToInteger(_col2)' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join35.db/dest_j1' -' name join35.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, i32 val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join35.dest_j1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' GatherStats: false' -' Union' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {_col1}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[key]]' -' outputColumnNames: _col1, _col2, _col3' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: UDFToInteger(_col2)' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join35.db/dest_j1' -' name join35.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, i32 val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join35.dest_j1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string,bigint' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string,bigint' -' escape.delim \' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10004' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string,bigint' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string,bigint' -' escape.delim \' -'' -' Stage: Stage-8' -' Conditional Operator' -'' -' Stage: Stage-5' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join35.db/dest_j1' -' name join35.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, i32 val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join35.dest_j1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join35.db/dest_j1' -' name join35.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, i32 val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join35.dest_j1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10003' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join35.db/dest_j1' -' name join35.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, i32 val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join35.db/dest_j1' -' name join35.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, i32 val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join35.dest_j1' -' name: join35.dest_j1' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join35.db/dest_j1' -' name join35.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, i32 val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join35.dest_j1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10003' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join35.db/dest_j1' -' name join35.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, i32 val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join35.db/dest_j1' -' name join35.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, i32 val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join35.dest_j1' -' name: join35.dest_j1' -'' -' Stage: Stage-7' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-9' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery2:subq1-subquery2:x1 ' -' TableScan' -' alias: x1' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (key > 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/join35.db/src [null-subquery2:subq1-subquery2:x1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/join35.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join35.db/src' -' name join35.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join35.db/src' -' name join35.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join35.src' -' name: join35.src' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string,bigint' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -'' -647 rows selected ->>> ->>> INSERT OVERWRITE TABLE dest_j1 -SELECT /*+ MAPJOIN(x) */ x.key, x.value, subq1.cnt -FROM -( SELECT x.key as key, count(1) as cnt from src x where x.key < 20 group by x.key -UNION ALL -SELECT x1.key as key, count(1) as cnt from src x1 where x1.key > 100 group by x1.key -) subq1 -JOIN src1 x ON (x.key = subq1.key); -'_col0','_col1','_col2' -No rows selected ->>> ->>> select * from dest_j1 x order by x.key; -'key','value','val2' -'128','','3' -'146','val_146','2' -'150','val_150','1' -'213','val_213','2' -'224','','2' -'238','val_238','2' -'255','val_255','2' -'273','val_273','3' -'278','val_278','2' -'311','val_311','3' -'369','','3' -'401','val_401','5' -'406','val_406','4' -13 rows selected ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/join36.q.out ql/src/test/results/beelinepositive/join36.q.out deleted file mode 100644 index 5c72896..0000000 --- ql/src/test/results/beelinepositive/join36.q.out +++ /dev/null @@ -1,492 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join36.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join36.q ->>> set hive.mapjoin.numrows = 2; -No rows affected ->>> ->>> ->>> ->>> ->>> ->>> CREATE TABLE tmp1(key INT, cnt INT); -No rows affected ->>> CREATE TABLE tmp2(key INT, cnt INT); -No rows affected ->>> CREATE TABLE dest_j1(key INT, value INT, val2 INT); -No rows affected ->>> ->>> INSERT OVERWRITE TABLE tmp1 -SELECT key, count(1) from src group by key; -'_col0','_col1' -No rows selected ->>> ->>> INSERT OVERWRITE TABLE tmp2 -SELECT key, count(1) from src group by key; -'_col0','_col1' -No rows selected ->>> ->>> EXPLAIN -INSERT OVERWRITE TABLE dest_j1 -SELECT /*+ MAPJOIN(x) */ x.key, x.cnt, y.cnt -FROM tmp1 x JOIN tmp2 y ON (x.key = y.key); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME tmp1) x) (TOK_TABREF (TOK_TABNAME tmp2) y) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL y) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_j1))) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST x))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) cnt)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL y) cnt)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-9 is a root stage' -' Stage-1 depends on stages: Stage-9' -' 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-9' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' x ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' x ' -' TableScan' -' alias: x' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {cnt}' -' 1 {cnt}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' y ' -' TableScan' -' alias: y' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {cnt}' -' 1 {cnt}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col5' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col5' -' type: int' -' outputColumnNames: _col0, _col1, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col5' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: join36.dest_j1' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: join36.dest_j1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: join36.dest_j1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: join36.dest_j1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -137 rows selected ->>> ->>> INSERT OVERWRITE TABLE dest_j1 -SELECT /*+ MAPJOIN(x) */ x.key, x.cnt, y.cnt -FROM tmp1 x JOIN tmp2 y ON (x.key = y.key); -'key','cnt','cnt' -No rows selected ->>> ->>> select * from dest_j1 x order by x.key; -'key','value','val2' -'0','3','3' -'2','1','1' -'4','1','1' -'5','3','3' -'8','1','1' -'9','1','1' -'10','1','1' -'11','1','1' -'12','2','2' -'15','2','2' -'17','1','1' -'18','2','2' -'19','1','1' -'20','1','1' -'24','2','2' -'26','2','2' -'27','1','1' -'28','1','1' -'30','1','1' -'33','1','1' -'34','1','1' -'35','3','3' -'37','2','2' -'41','1','1' -'42','2','2' -'43','1','1' -'44','1','1' -'47','1','1' -'51','2','2' -'53','1','1' -'54','1','1' -'57','1','1' -'58','2','2' -'64','1','1' -'65','1','1' -'66','1','1' -'67','2','2' -'69','1','1' -'70','3','3' -'72','2','2' -'74','1','1' -'76','2','2' -'77','1','1' -'78','1','1' -'80','1','1' -'82','1','1' -'83','2','2' -'84','2','2' -'85','1','1' -'86','1','1' -'87','1','1' -'90','3','3' -'92','1','1' -'95','2','2' -'96','1','1' -'97','2','2' -'98','2','2' -'100','2','2' -'103','2','2' -'104','2','2' -'105','1','1' -'111','1','1' -'113','2','2' -'114','1','1' -'116','1','1' -'118','2','2' -'119','3','3' -'120','2','2' -'125','2','2' -'126','1','1' -'128','3','3' -'129','2','2' -'131','1','1' -'133','1','1' -'134','2','2' -'136','1','1' -'137','2','2' -'138','4','4' -'143','1','1' -'145','1','1' -'146','2','2' -'149','2','2' -'150','1','1' -'152','2','2' -'153','1','1' -'155','1','1' -'156','1','1' -'157','1','1' -'158','1','1' -'160','1','1' -'162','1','1' -'163','1','1' -'164','2','2' -'165','2','2' -'166','1','1' -'167','3','3' -'168','1','1' -'169','4','4' -'170','1','1' -'172','2','2' -'174','2','2' -'175','2','2' -'176','2','2' -'177','1','1' -'178','1','1' -'179','2','2' -'180','1','1' -'181','1','1' -'183','1','1' -'186','1','1' -'187','3','3' -'189','1','1' -'190','1','1' -'191','2','2' -'192','1','1' -'193','3','3' -'194','1','1' -'195','2','2' -'196','1','1' -'197','2','2' -'199','3','3' -'200','2','2' -'201','1','1' -'202','1','1' -'203','2','2' -'205','2','2' -'207','2','2' -'208','3','3' -'209','2','2' -'213','2','2' -'214','1','1' -'216','2','2' -'217','2','2' -'218','1','1' -'219','2','2' -'221','2','2' -'222','1','1' -'223','2','2' -'224','2','2' -'226','1','1' -'228','1','1' -'229','2','2' -'230','5','5' -'233','2','2' -'235','1','1' -'237','2','2' -'238','2','2' -'239','2','2' -'241','1','1' -'242','2','2' -'244','1','1' -'247','1','1' -'248','1','1' -'249','1','1' -'252','1','1' -'255','2','2' -'256','2','2' -'257','1','1' -'258','1','1' -'260','1','1' -'262','1','1' -'263','1','1' -'265','2','2' -'266','1','1' -'272','2','2' -'273','3','3' -'274','1','1' -'275','1','1' -'277','4','4' -'278','2','2' -'280','2','2' -'281','2','2' -'282','2','2' -'283','1','1' -'284','1','1' -'285','1','1' -'286','1','1' -'287','1','1' -'288','2','2' -'289','1','1' -'291','1','1' -'292','1','1' -'296','1','1' -'298','3','3' -'302','1','1' -'305','1','1' -'306','1','1' -'307','2','2' -'308','1','1' -'309','2','2' -'310','1','1' -'311','3','3' -'315','1','1' -'316','3','3' -'317','2','2' -'318','3','3' -'321','2','2' -'322','2','2' -'323','1','1' -'325','2','2' -'327','3','3' -'331','2','2' -'332','1','1' -'333','2','2' -'335','1','1' -'336','1','1' -'338','1','1' -'339','1','1' -'341','1','1' -'342','2','2' -'344','2','2' -'345','1','1' -'348','5','5' -'351','1','1' -'353','2','2' -'356','1','1' -'360','1','1' -'362','1','1' -'364','1','1' -'365','1','1' -'366','1','1' -'367','2','2' -'368','1','1' -'369','3','3' -'373','1','1' -'374','1','1' -'375','1','1' -'377','1','1' -'378','1','1' -'379','1','1' -'382','2','2' -'384','3','3' -'386','1','1' -'389','1','1' -'392','1','1' -'393','1','1' -'394','1','1' -'395','2','2' -'396','3','3' -'397','2','2' -'399','2','2' -'400','1','1' -'401','5','5' -'402','1','1' -'403','3','3' -'404','2','2' -'406','4','4' -'407','1','1' -'409','3','3' -'411','1','1' -'413','2','2' -'414','2','2' -'417','3','3' -'418','1','1' -'419','1','1' -'421','1','1' -'424','2','2' -'427','1','1' -'429','2','2' -'430','3','3' -'431','3','3' -'432','1','1' -'435','1','1' -'436','1','1' -'437','1','1' -'438','3','3' -'439','2','2' -'443','1','1' -'444','1','1' -'446','1','1' -'448','1','1' -'449','1','1' -'452','1','1' -'453','1','1' -'454','3','3' -'455','1','1' -'457','1','1' -'458','2','2' -'459','2','2' -'460','1','1' -'462','2','2' -'463','2','2' -'466','3','3' -'467','1','1' -'468','4','4' -'469','5','5' -'470','1','1' -'472','1','1' -'475','1','1' -'477','1','1' -'478','2','2' -'479','1','1' -'480','3','3' -'481','1','1' -'482','1','1' -'483','1','1' -'484','1','1' -'485','1','1' -'487','1','1' -'489','4','4' -'490','1','1' -'491','1','1' -'492','2','2' -'493','1','1' -'494','1','1' -'495','1','1' -'496','1','1' -'497','1','1' -'498','3','3' -309 rows selected ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/join37.q.out ql/src/test/results/beelinepositive/join37.q.out deleted file mode 100644 index c1b5162..0000000 --- ql/src/test/results/beelinepositive/join37.q.out +++ /dev/null @@ -1,213 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join37.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join37.q ->>> set hive.mapjoin.numrows = 2; -No rows affected ->>> ->>> ->>> ->>> CREATE TABLE dest_j1(key INT, value STRING, val2 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -INSERT OVERWRITE TABLE dest_j1 -SELECT /*+ MAPJOIN(X) */ x.key, x.value, y.value -FROM src1 x JOIN src y ON (x.key = y.key); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src1) x) (TOK_TABREF (TOK_TABNAME src) y) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL y) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_j1))) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST X))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL y) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-9 is a root stage' -' Stage-1 depends on stages: Stage-9' -' 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-9' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' x ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' x ' -' TableScan' -' alias: x' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' y ' -' TableScan' -' alias: y' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col5' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: join37.dest_j1' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: join37.dest_j1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: join37.dest_j1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: join37.dest_j1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -146 rows selected ->>> ->>> INSERT OVERWRITE TABLE dest_j1 -SELECT /*+ MAPJOIN(X) */ x.key, x.value, y.value -FROM src1 x JOIN src y ON (x.key = y.key); -'_col0','_col1','_col2' -No rows selected ->>> ->>> select * from dest_j1 x order by x.key; -'key','value','val2' -'66','val_66','val_66' -'98','val_98','val_98' -'98','val_98','val_98' -'128','','val_128' -'128','','val_128' -'128','','val_128' -'146','val_146','val_146' -'146','val_146','val_146' -'150','val_150','val_150' -'213','val_213','val_213' -'213','val_213','val_213' -'224','','val_224' -'224','','val_224' -'238','val_238','val_238' -'238','val_238','val_238' -'255','val_255','val_255' -'255','val_255','val_255' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'278','val_278','val_278' -'278','val_278','val_278' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'369','','val_369' -'369','','val_369' -'369','','val_369' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -37 rows selected ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/join38.q.out ql/src/test/results/beelinepositive/join38.q.out deleted file mode 100644 index c3e8aa5..0000000 --- ql/src/test/results/beelinepositive/join38.q.out +++ /dev/null @@ -1,180 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join38.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join38.q ->>> ->>> ->>> create table tmp(col0 string, col1 string,col2 string,col3 string,col4 string,col5 string,col6 string,col7 string,col8 string,col9 string,col10 string,col11 string); -No rows affected ->>> ->>> insert overwrite table tmp select key, cast(key + 1 as int), key +2, key+3, key+4, cast(key+5 as int), key+6, key+7, key+8, key+9, key+10, cast(key+11 as int) from src where key = 100; -'key','_c1','_c2','_c3','_c4','_c5','_c6','_c7','_c8','_c9','_c10','_c11' -No rows selected ->>> ->>> select * from tmp; -'col0','col1','col2','col3','col4','col5','col6','col7','col8','col9','col10','col11' -'100','101','102.0','103.0','104.0','105','106.0','107.0','108.0','109.0','110.0','111' -'100','101','102.0','103.0','104.0','105','106.0','107.0','108.0','109.0','110.0','111' -2 rows selected ->>> ->>> explain -FROM src a JOIN tmp b ON (a.key = b.col11) -SELECT /*+ MAPJOIN(a) */ a.value, b.col5, count(1) as count -where b.col11 = 111 -group by a.value, b.col5; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) a) (TOK_TABREF (TOK_TABNAME tmp) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) col11)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) col5)) (TOK_SELEXPR (TOK_FUNCTION count 1) count)) (TOK_WHERE (= (. (TOK_TABLE_OR_COL b) col11) 111)) (TOK_GROUPBY (. (TOK_TABLE_OR_COL a) value) (. (TOK_TABLE_OR_COL b) col5))))' -'' -'STAGE DEPENDENCIES:' -' Stage-4 is a root stage' -' Stage-1 depends on stages: Stage-4' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-4' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' a ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (key = 111.0)' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {value}' -' 1 {col5} {col11}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[col11]]' -' Position of Big Table: 1' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (col11 = 111.0)' -' type: boolean' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {value}' -' 1 {col5} {col11}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[col11]]' -' outputColumnNames: _col1, _col9, _col15' -' Position of Big Table: 1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' expr: _col9' -' type: string' -' expr: _col15' -' type: string' -' outputColumnNames: _col1, _col9, _col15' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col1, _col9' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col1' -' type: string' -' expr: _col9' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -145 rows selected ->>> ->>> FROM src a JOIN tmp b ON (a.key = b.col11) -SELECT /*+ MAPJOIN(a) */ a.value, b.col5, count(1) as count -where b.col11 = 111 -group by a.value, b.col5; -'value','col5','count' -'val_111','105','2' -1 row selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/join39.q.out ql/src/test/results/beelinepositive/join39.q.out deleted file mode 100644 index 1cc90f4..0000000 --- ql/src/test/results/beelinepositive/join39.q.out +++ /dev/null @@ -1,744 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join39.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join39.q ->>> CREATE TABLE dest_j1(key STRING, value STRING, key1 string, val2 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> explain -INSERT OVERWRITE TABLE dest_j1 -SELECT /*+ MAPJOIN(y) */ x.key, x.value, y.key, y.value -FROM src x left outer JOIN (select * from src where key <= 100) y ON (x.key = y.key); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME src) x) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (<= (TOK_TABLE_OR_COL key) 100)))) y) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL y) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_j1))) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST y))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL y) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL y) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-9 is a root stage' -' Stage-1 depends on stages: Stage-9' -' 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-9' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' y:src ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' y:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key <= 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {_col0} {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[_col0]]' -' Position of Big Table: 0' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x ' -' TableScan' -' alias: x' -' Map Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {_col0} {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[_col0]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: join39.dest_j1' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: join39.dest_j1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: join39.dest_j1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: join39.dest_j1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -152 rows selected ->>> ->>> ->>> INSERT OVERWRITE TABLE dest_j1 -SELECT /*+ MAPJOIN(y) */ x.key, x.value, y.key, y.value -FROM src x left outer JOIN (select * from src where key <= 100) y ON (x.key = y.key); -'key','value','key','value' -No rows selected ->>> ->>> select * from dest_j1 x order by x.key; -'key','value','key1','val2' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'10','val_10','10','val_10' -'100','val_100','100','val_100' -'100','val_100','100','val_100' -'100','val_100','100','val_100' -'100','val_100','100','val_100' -'103','val_103','','' -'103','val_103','','' -'104','val_104','','' -'104','val_104','','' -'105','val_105','','' -'11','val_11','11','val_11' -'111','val_111','','' -'113','val_113','','' -'113','val_113','','' -'114','val_114','','' -'116','val_116','','' -'118','val_118','','' -'118','val_118','','' -'119','val_119','','' -'119','val_119','','' -'119','val_119','','' -'12','val_12','12','val_12' -'12','val_12','12','val_12' -'12','val_12','12','val_12' -'12','val_12','12','val_12' -'120','val_120','','' -'120','val_120','','' -'125','val_125','','' -'125','val_125','','' -'126','val_126','','' -'128','val_128','','' -'128','val_128','','' -'128','val_128','','' -'129','val_129','','' -'129','val_129','','' -'131','val_131','','' -'133','val_133','','' -'134','val_134','','' -'134','val_134','','' -'136','val_136','','' -'137','val_137','','' -'137','val_137','','' -'138','val_138','','' -'138','val_138','','' -'138','val_138','','' -'138','val_138','','' -'143','val_143','','' -'145','val_145','','' -'146','val_146','','' -'146','val_146','','' -'149','val_149','','' -'149','val_149','','' -'15','val_15','15','val_15' -'15','val_15','15','val_15' -'15','val_15','15','val_15' -'15','val_15','15','val_15' -'150','val_150','','' -'152','val_152','','' -'152','val_152','','' -'153','val_153','','' -'155','val_155','','' -'156','val_156','','' -'157','val_157','','' -'158','val_158','','' -'160','val_160','','' -'162','val_162','','' -'163','val_163','','' -'164','val_164','','' -'164','val_164','','' -'165','val_165','','' -'165','val_165','','' -'166','val_166','','' -'167','val_167','','' -'167','val_167','','' -'167','val_167','','' -'168','val_168','','' -'169','val_169','','' -'169','val_169','','' -'169','val_169','','' -'169','val_169','','' -'17','val_17','17','val_17' -'170','val_170','','' -'172','val_172','','' -'172','val_172','','' -'174','val_174','','' -'174','val_174','','' -'175','val_175','','' -'175','val_175','','' -'176','val_176','','' -'176','val_176','','' -'177','val_177','','' -'178','val_178','','' -'179','val_179','','' -'179','val_179','','' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'180','val_180','','' -'181','val_181','','' -'183','val_183','','' -'186','val_186','','' -'187','val_187','','' -'187','val_187','','' -'187','val_187','','' -'189','val_189','','' -'19','val_19','19','val_19' -'190','val_190','','' -'191','val_191','','' -'191','val_191','','' -'192','val_192','','' -'193','val_193','','' -'193','val_193','','' -'193','val_193','','' -'194','val_194','','' -'195','val_195','','' -'195','val_195','','' -'196','val_196','','' -'197','val_197','','' -'197','val_197','','' -'199','val_199','','' -'199','val_199','','' -'199','val_199','','' -'2','val_2','2','val_2' -'20','val_20','20','val_20' -'200','val_200','','' -'200','val_200','','' -'201','val_201','','' -'202','val_202','','' -'203','val_203','','' -'203','val_203','','' -'205','val_205','','' -'205','val_205','','' -'207','val_207','','' -'207','val_207','','' -'208','val_208','','' -'208','val_208','','' -'208','val_208','','' -'209','val_209','','' -'209','val_209','','' -'213','val_213','','' -'213','val_213','','' -'214','val_214','','' -'216','val_216','','' -'216','val_216','','' -'217','val_217','','' -'217','val_217','','' -'218','val_218','','' -'219','val_219','','' -'219','val_219','','' -'221','val_221','','' -'221','val_221','','' -'222','val_222','','' -'223','val_223','','' -'223','val_223','','' -'224','val_224','','' -'224','val_224','','' -'226','val_226','','' -'228','val_228','','' -'229','val_229','','' -'229','val_229','','' -'230','val_230','','' -'230','val_230','','' -'230','val_230','','' -'230','val_230','','' -'230','val_230','','' -'233','val_233','','' -'233','val_233','','' -'235','val_235','','' -'237','val_237','','' -'237','val_237','','' -'238','val_238','','' -'238','val_238','','' -'239','val_239','','' -'239','val_239','','' -'24','val_24','24','val_24' -'24','val_24','24','val_24' -'24','val_24','24','val_24' -'24','val_24','24','val_24' -'241','val_241','','' -'242','val_242','','' -'242','val_242','','' -'244','val_244','','' -'247','val_247','','' -'248','val_248','','' -'249','val_249','','' -'252','val_252','','' -'255','val_255','','' -'255','val_255','','' -'256','val_256','','' -'256','val_256','','' -'257','val_257','','' -'258','val_258','','' -'26','val_26','26','val_26' -'26','val_26','26','val_26' -'26','val_26','26','val_26' -'26','val_26','26','val_26' -'260','val_260','','' -'262','val_262','','' -'263','val_263','','' -'265','val_265','','' -'265','val_265','','' -'266','val_266','','' -'27','val_27','27','val_27' -'272','val_272','','' -'272','val_272','','' -'273','val_273','','' -'273','val_273','','' -'273','val_273','','' -'274','val_274','','' -'275','val_275','','' -'277','val_277','','' -'277','val_277','','' -'277','val_277','','' -'277','val_277','','' -'278','val_278','','' -'278','val_278','','' -'28','val_28','28','val_28' -'280','val_280','','' -'280','val_280','','' -'281','val_281','','' -'281','val_281','','' -'282','val_282','','' -'282','val_282','','' -'283','val_283','','' -'284','val_284','','' -'285','val_285','','' -'286','val_286','','' -'287','val_287','','' -'288','val_288','','' -'288','val_288','','' -'289','val_289','','' -'291','val_291','','' -'292','val_292','','' -'296','val_296','','' -'298','val_298','','' -'298','val_298','','' -'298','val_298','','' -'30','val_30','30','val_30' -'302','val_302','','' -'305','val_305','','' -'306','val_306','','' -'307','val_307','','' -'307','val_307','','' -'308','val_308','','' -'309','val_309','','' -'309','val_309','','' -'310','val_310','','' -'311','val_311','','' -'311','val_311','','' -'311','val_311','','' -'315','val_315','','' -'316','val_316','','' -'316','val_316','','' -'316','val_316','','' -'317','val_317','','' -'317','val_317','','' -'318','val_318','','' -'318','val_318','','' -'318','val_318','','' -'321','val_321','','' -'321','val_321','','' -'322','val_322','','' -'322','val_322','','' -'323','val_323','','' -'325','val_325','','' -'325','val_325','','' -'327','val_327','','' -'327','val_327','','' -'327','val_327','','' -'33','val_33','33','val_33' -'331','val_331','','' -'331','val_331','','' -'332','val_332','','' -'333','val_333','','' -'333','val_333','','' -'335','val_335','','' -'336','val_336','','' -'338','val_338','','' -'339','val_339','','' -'34','val_34','34','val_34' -'341','val_341','','' -'342','val_342','','' -'342','val_342','','' -'344','val_344','','' -'344','val_344','','' -'345','val_345','','' -'348','val_348','','' -'348','val_348','','' -'348','val_348','','' -'348','val_348','','' -'348','val_348','','' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'351','val_351','','' -'353','val_353','','' -'353','val_353','','' -'356','val_356','','' -'360','val_360','','' -'362','val_362','','' -'364','val_364','','' -'365','val_365','','' -'366','val_366','','' -'367','val_367','','' -'367','val_367','','' -'368','val_368','','' -'369','val_369','','' -'369','val_369','','' -'369','val_369','','' -'37','val_37','37','val_37' -'37','val_37','37','val_37' -'37','val_37','37','val_37' -'37','val_37','37','val_37' -'373','val_373','','' -'374','val_374','','' -'375','val_375','','' -'377','val_377','','' -'378','val_378','','' -'379','val_379','','' -'382','val_382','','' -'382','val_382','','' -'384','val_384','','' -'384','val_384','','' -'384','val_384','','' -'386','val_386','','' -'389','val_389','','' -'392','val_392','','' -'393','val_393','','' -'394','val_394','','' -'395','val_395','','' -'395','val_395','','' -'396','val_396','','' -'396','val_396','','' -'396','val_396','','' -'397','val_397','','' -'397','val_397','','' -'399','val_399','','' -'399','val_399','','' -'4','val_4','4','val_4' -'400','val_400','','' -'401','val_401','','' -'401','val_401','','' -'401','val_401','','' -'401','val_401','','' -'401','val_401','','' -'402','val_402','','' -'403','val_403','','' -'403','val_403','','' -'403','val_403','','' -'404','val_404','','' -'404','val_404','','' -'406','val_406','','' -'406','val_406','','' -'406','val_406','','' -'406','val_406','','' -'407','val_407','','' -'409','val_409','','' -'409','val_409','','' -'409','val_409','','' -'41','val_41','41','val_41' -'411','val_411','','' -'413','val_413','','' -'413','val_413','','' -'414','val_414','','' -'414','val_414','','' -'417','val_417','','' -'417','val_417','','' -'417','val_417','','' -'418','val_418','','' -'419','val_419','','' -'42','val_42','42','val_42' -'42','val_42','42','val_42' -'42','val_42','42','val_42' -'42','val_42','42','val_42' -'421','val_421','','' -'424','val_424','','' -'424','val_424','','' -'427','val_427','','' -'429','val_429','','' -'429','val_429','','' -'43','val_43','43','val_43' -'430','val_430','','' -'430','val_430','','' -'430','val_430','','' -'431','val_431','','' -'431','val_431','','' -'431','val_431','','' -'432','val_432','','' -'435','val_435','','' -'436','val_436','','' -'437','val_437','','' -'438','val_438','','' -'438','val_438','','' -'438','val_438','','' -'439','val_439','','' -'439','val_439','','' -'44','val_44','44','val_44' -'443','val_443','','' -'444','val_444','','' -'446','val_446','','' -'448','val_448','','' -'449','val_449','','' -'452','val_452','','' -'453','val_453','','' -'454','val_454','','' -'454','val_454','','' -'454','val_454','','' -'455','val_455','','' -'457','val_457','','' -'458','val_458','','' -'458','val_458','','' -'459','val_459','','' -'459','val_459','','' -'460','val_460','','' -'462','val_462','','' -'462','val_462','','' -'463','val_463','','' -'463','val_463','','' -'466','val_466','','' -'466','val_466','','' -'466','val_466','','' -'467','val_467','','' -'468','val_468','','' -'468','val_468','','' -'468','val_468','','' -'468','val_468','','' -'469','val_469','','' -'469','val_469','','' -'469','val_469','','' -'469','val_469','','' -'469','val_469','','' -'47','val_47','47','val_47' -'470','val_470','','' -'472','val_472','','' -'475','val_475','','' -'477','val_477','','' -'478','val_478','','' -'478','val_478','','' -'479','val_479','','' -'480','val_480','','' -'480','val_480','','' -'480','val_480','','' -'481','val_481','','' -'482','val_482','','' -'483','val_483','','' -'484','val_484','','' -'485','val_485','','' -'487','val_487','','' -'489','val_489','','' -'489','val_489','','' -'489','val_489','','' -'489','val_489','','' -'490','val_490','','' -'491','val_491','','' -'492','val_492','','' -'492','val_492','','' -'493','val_493','','' -'494','val_494','','' -'495','val_495','','' -'496','val_496','','' -'497','val_497','','' -'498','val_498','','' -'498','val_498','','' -'498','val_498','','' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'51','val_51','51','val_51' -'51','val_51','51','val_51' -'51','val_51','51','val_51' -'51','val_51','51','val_51' -'53','val_53','53','val_53' -'54','val_54','54','val_54' -'57','val_57','57','val_57' -'58','val_58','58','val_58' -'58','val_58','58','val_58' -'58','val_58','58','val_58' -'58','val_58','58','val_58' -'64','val_64','64','val_64' -'65','val_65','65','val_65' -'66','val_66','66','val_66' -'67','val_67','67','val_67' -'67','val_67','67','val_67' -'67','val_67','67','val_67' -'67','val_67','67','val_67' -'69','val_69','69','val_69' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'72','val_72','72','val_72' -'72','val_72','72','val_72' -'72','val_72','72','val_72' -'72','val_72','72','val_72' -'74','val_74','74','val_74' -'76','val_76','76','val_76' -'76','val_76','76','val_76' -'76','val_76','76','val_76' -'76','val_76','76','val_76' -'77','val_77','77','val_77' -'78','val_78','78','val_78' -'8','val_8','8','val_8' -'80','val_80','80','val_80' -'82','val_82','82','val_82' -'83','val_83','83','val_83' -'83','val_83','83','val_83' -'83','val_83','83','val_83' -'83','val_83','83','val_83' -'84','val_84','84','val_84' -'84','val_84','84','val_84' -'84','val_84','84','val_84' -'84','val_84','84','val_84' -'85','val_85','85','val_85' -'86','val_86','86','val_86' -'87','val_87','87','val_87' -'9','val_9','9','val_9' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'92','val_92','92','val_92' -'95','val_95','95','val_95' -'95','val_95','95','val_95' -'95','val_95','95','val_95' -'95','val_95','95','val_95' -'96','val_96','96','val_96' -'97','val_97','97','val_97' -'97','val_97','97','val_97' -'97','val_97','97','val_97' -'97','val_97','97','val_97' -'98','val_98','98','val_98' -'98','val_98','98','val_98' -'98','val_98','98','val_98' -'98','val_98','98','val_98' -566 rows selected ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/join4.q.out ql/src/test/results/beelinepositive/join4.q.out deleted file mode 100644 index 9f5e245..0000000 --- ql/src/test/results/beelinepositive/join4.q.out +++ /dev/null @@ -1,186 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join4.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join4.q ->>> CREATE TABLE dest1(c1 INT, c2 STRING, c3 INT, c4 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM ( -FROM -( -FROM src src1 SELECT src1.key AS c1, src1.value AS c2 WHERE src1.key > 10 and src1.key < 20 -) a -LEFT OUTER JOIN -( -FROM src src2 SELECT src2.key AS c3, src2.value AS c4 WHERE src2.key > 15 and src2.key < 25 -) b -ON (a.c1 = b.c3) -SELECT a.c1 AS c1, a.c2 AS c2, b.c3 AS c3, b.c4 AS c4 -) c -INSERT OVERWRITE TABLE dest1 SELECT c.c1, c.c2, c.c3, c.c4; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) src1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) value) c2)) (TOK_WHERE (and (> (. (TOK_TABLE_OR_COL src1) key) 10) (< (. (TOK_TABLE_OR_COL src1) key) 20))))) a) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) src2)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) key) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) value) c4)) (TOK_WHERE (and (> (. (TOK_TABLE_OR_COL src2) key) 15) (< (. (TOK_TABLE_OR_COL src2) key) 25))))) b) (= (. (TOK_TABLE_OR_COL a) c1) (. (TOK_TABLE_OR_COL b) c3)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) c1) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) c2) c2) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) c3) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) c4) c4)))) c)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c2)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c3)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c4)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' c:a:src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: ((key > 10.0) and (key < 20.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' c:b:src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: ((key > 15.0) and (key < 25.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: UDFToInteger(_col2)' -' type: int' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: join4.dest1' -'' -' 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: join4.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -133 rows selected ->>> ->>> FROM ( -FROM -( -FROM src src1 SELECT src1.key AS c1, src1.value AS c2 WHERE src1.key > 10 and src1.key < 20 -) a -LEFT OUTER JOIN -( -FROM src src2 SELECT src2.key AS c3, src2.value AS c4 WHERE src2.key > 15 and src2.key < 25 -) b -ON (a.c1 = b.c3) -SELECT a.c1 AS c1, a.c2 AS c2, b.c3 AS c3, b.c4 AS c4 -) c -INSERT OVERWRITE TABLE dest1 SELECT c.c1, c.c2, c.c3, c.c4; -'_col0','_col1','_col2','_col3' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'c1','c2','c3','c4' -'11','val_11','','' -'12','val_12','','' -'12','val_12','','' -'15','val_15','','' -'15','val_15','','' -'17','val_17','17','val_17' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'19','val_19','19','val_19' -11 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/join40.q.out ql/src/test/results/beelinepositive/join40.q.out deleted file mode 100644 index 8225333..0000000 --- ql/src/test/results/beelinepositive/join40.q.out +++ /dev/null @@ -1,3981 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join40.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join40.q ->>> set hive.join.cache.size=1; -No rows affected ->>> ->>> EXPLAIN SELECT x.key, x.value, y.key, y.value -FROM src x left outer JOIN (select * from src where key <= 100) y ON (x.key = y.key); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME src) x) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (<= (TOK_TABLE_OR_COL key) 100)))) y) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL y) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL y) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL y) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x ' -' TableScan' -' alias: x' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' y:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key <= 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -88 rows selected ->>> ->>> SELECT x.key, x.value, y.key, y.value -FROM src x left outer JOIN (select * from src where key <= 100) y ON (x.key = y.key); -'key','value','key','value' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'10','val_10','10','val_10' -'100','val_100','100','val_100' -'100','val_100','100','val_100' -'100','val_100','100','val_100' -'100','val_100','100','val_100' -'103','val_103','','' -'103','val_103','','' -'104','val_104','','' -'104','val_104','','' -'105','val_105','','' -'11','val_11','11','val_11' -'111','val_111','','' -'113','val_113','','' -'113','val_113','','' -'114','val_114','','' -'116','val_116','','' -'118','val_118','','' -'118','val_118','','' -'119','val_119','','' -'119','val_119','','' -'119','val_119','','' -'12','val_12','12','val_12' -'12','val_12','12','val_12' -'12','val_12','12','val_12' -'12','val_12','12','val_12' -'120','val_120','','' -'120','val_120','','' -'125','val_125','','' -'125','val_125','','' -'126','val_126','','' -'128','val_128','','' -'128','val_128','','' -'128','val_128','','' -'129','val_129','','' -'129','val_129','','' -'131','val_131','','' -'133','val_133','','' -'134','val_134','','' -'134','val_134','','' -'136','val_136','','' -'137','val_137','','' -'137','val_137','','' -'138','val_138','','' -'138','val_138','','' -'138','val_138','','' -'138','val_138','','' -'143','val_143','','' -'145','val_145','','' -'146','val_146','','' -'146','val_146','','' -'149','val_149','','' -'149','val_149','','' -'15','val_15','15','val_15' -'15','val_15','15','val_15' -'15','val_15','15','val_15' -'15','val_15','15','val_15' -'150','val_150','','' -'152','val_152','','' -'152','val_152','','' -'153','val_153','','' -'155','val_155','','' -'156','val_156','','' -'157','val_157','','' -'158','val_158','','' -'160','val_160','','' -'162','val_162','','' -'163','val_163','','' -'164','val_164','','' -'164','val_164','','' -'165','val_165','','' -'165','val_165','','' -'166','val_166','','' -'167','val_167','','' -'167','val_167','','' -'167','val_167','','' -'168','val_168','','' -'169','val_169','','' -'169','val_169','','' -'169','val_169','','' -'169','val_169','','' -'17','val_17','17','val_17' -'170','val_170','','' -'172','val_172','','' -'172','val_172','','' -'174','val_174','','' -'174','val_174','','' -'175','val_175','','' -'175','val_175','','' -'176','val_176','','' -'176','val_176','','' -'177','val_177','','' -'178','val_178','','' -'179','val_179','','' -'179','val_179','','' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'180','val_180','','' -'181','val_181','','' -'183','val_183','','' -'186','val_186','','' -'187','val_187','','' -'187','val_187','','' -'187','val_187','','' -'189','val_189','','' -'19','val_19','19','val_19' -'190','val_190','','' -'191','val_191','','' -'191','val_191','','' -'192','val_192','','' -'193','val_193','','' -'193','val_193','','' -'193','val_193','','' -'194','val_194','','' -'195','val_195','','' -'195','val_195','','' -'196','val_196','','' -'197','val_197','','' -'197','val_197','','' -'199','val_199','','' -'199','val_199','','' -'199','val_199','','' -'2','val_2','2','val_2' -'20','val_20','20','val_20' -'200','val_200','','' -'200','val_200','','' -'201','val_201','','' -'202','val_202','','' -'203','val_203','','' -'203','val_203','','' -'205','val_205','','' -'205','val_205','','' -'207','val_207','','' -'207','val_207','','' -'208','val_208','','' -'208','val_208','','' -'208','val_208','','' -'209','val_209','','' -'209','val_209','','' -'213','val_213','','' -'213','val_213','','' -'214','val_214','','' -'216','val_216','','' -'216','val_216','','' -'217','val_217','','' -'217','val_217','','' -'218','val_218','','' -'219','val_219','','' -'219','val_219','','' -'221','val_221','','' -'221','val_221','','' -'222','val_222','','' -'223','val_223','','' -'223','val_223','','' -'224','val_224','','' -'224','val_224','','' -'226','val_226','','' -'228','val_228','','' -'229','val_229','','' -'229','val_229','','' -'230','val_230','','' -'230','val_230','','' -'230','val_230','','' -'230','val_230','','' -'230','val_230','','' -'233','val_233','','' -'233','val_233','','' -'235','val_235','','' -'237','val_237','','' -'237','val_237','','' -'238','val_238','','' -'238','val_238','','' -'239','val_239','','' -'239','val_239','','' -'24','val_24','24','val_24' -'24','val_24','24','val_24' -'24','val_24','24','val_24' -'24','val_24','24','val_24' -'241','val_241','','' -'242','val_242','','' -'242','val_242','','' -'244','val_244','','' -'247','val_247','','' -'248','val_248','','' -'249','val_249','','' -'252','val_252','','' -'255','val_255','','' -'255','val_255','','' -'256','val_256','','' -'256','val_256','','' -'257','val_257','','' -'258','val_258','','' -'26','val_26','26','val_26' -'26','val_26','26','val_26' -'26','val_26','26','val_26' -'26','val_26','26','val_26' -'260','val_260','','' -'262','val_262','','' -'263','val_263','','' -'265','val_265','','' -'265','val_265','','' -'266','val_266','','' -'27','val_27','27','val_27' -'272','val_272','','' -'272','val_272','','' -'273','val_273','','' -'273','val_273','','' -'273','val_273','','' -'274','val_274','','' -'275','val_275','','' -'277','val_277','','' -'277','val_277','','' -'277','val_277','','' -'277','val_277','','' -'278','val_278','','' -'278','val_278','','' -'28','val_28','28','val_28' -'280','val_280','','' -'280','val_280','','' -'281','val_281','','' -'281','val_281','','' -'282','val_282','','' -'282','val_282','','' -'283','val_283','','' -'284','val_284','','' -'285','val_285','','' -'286','val_286','','' -'287','val_287','','' -'288','val_288','','' -'288','val_288','','' -'289','val_289','','' -'291','val_291','','' -'292','val_292','','' -'296','val_296','','' -'298','val_298','','' -'298','val_298','','' -'298','val_298','','' -'30','val_30','30','val_30' -'302','val_302','','' -'305','val_305','','' -'306','val_306','','' -'307','val_307','','' -'307','val_307','','' -'308','val_308','','' -'309','val_309','','' -'309','val_309','','' -'310','val_310','','' -'311','val_311','','' -'311','val_311','','' -'311','val_311','','' -'315','val_315','','' -'316','val_316','','' -'316','val_316','','' -'316','val_316','','' -'317','val_317','','' -'317','val_317','','' -'318','val_318','','' -'318','val_318','','' -'318','val_318','','' -'321','val_321','','' -'321','val_321','','' -'322','val_322','','' -'322','val_322','','' -'323','val_323','','' -'325','val_325','','' -'325','val_325','','' -'327','val_327','','' -'327','val_327','','' -'327','val_327','','' -'33','val_33','33','val_33' -'331','val_331','','' -'331','val_331','','' -'332','val_332','','' -'333','val_333','','' -'333','val_333','','' -'335','val_335','','' -'336','val_336','','' -'338','val_338','','' -'339','val_339','','' -'34','val_34','34','val_34' -'341','val_341','','' -'342','val_342','','' -'342','val_342','','' -'344','val_344','','' -'344','val_344','','' -'345','val_345','','' -'348','val_348','','' -'348','val_348','','' -'348','val_348','','' -'348','val_348','','' -'348','val_348','','' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'351','val_351','','' -'353','val_353','','' -'353','val_353','','' -'356','val_356','','' -'360','val_360','','' -'362','val_362','','' -'364','val_364','','' -'365','val_365','','' -'366','val_366','','' -'367','val_367','','' -'367','val_367','','' -'368','val_368','','' -'369','val_369','','' -'369','val_369','','' -'369','val_369','','' -'37','val_37','37','val_37' -'37','val_37','37','val_37' -'37','val_37','37','val_37' -'37','val_37','37','val_37' -'373','val_373','','' -'374','val_374','','' -'375','val_375','','' -'377','val_377','','' -'378','val_378','','' -'379','val_379','','' -'382','val_382','','' -'382','val_382','','' -'384','val_384','','' -'384','val_384','','' -'384','val_384','','' -'386','val_386','','' -'389','val_389','','' -'392','val_392','','' -'393','val_393','','' -'394','val_394','','' -'395','val_395','','' -'395','val_395','','' -'396','val_396','','' -'396','val_396','','' -'396','val_396','','' -'397','val_397','','' -'397','val_397','','' -'399','val_399','','' -'399','val_399','','' -'4','val_4','4','val_4' -'400','val_400','','' -'401','val_401','','' -'401','val_401','','' -'401','val_401','','' -'401','val_401','','' -'401','val_401','','' -'402','val_402','','' -'403','val_403','','' -'403','val_403','','' -'403','val_403','','' -'404','val_404','','' -'404','val_404','','' -'406','val_406','','' -'406','val_406','','' -'406','val_406','','' -'406','val_406','','' -'407','val_407','','' -'409','val_409','','' -'409','val_409','','' -'409','val_409','','' -'41','val_41','41','val_41' -'411','val_411','','' -'413','val_413','','' -'413','val_413','','' -'414','val_414','','' -'414','val_414','','' -'417','val_417','','' -'417','val_417','','' -'417','val_417','','' -'418','val_418','','' -'419','val_419','','' -'42','val_42','42','val_42' -'42','val_42','42','val_42' -'42','val_42','42','val_42' -'42','val_42','42','val_42' -'421','val_421','','' -'424','val_424','','' -'424','val_424','','' -'427','val_427','','' -'429','val_429','','' -'429','val_429','','' -'43','val_43','43','val_43' -'430','val_430','','' -'430','val_430','','' -'430','val_430','','' -'431','val_431','','' -'431','val_431','','' -'431','val_431','','' -'432','val_432','','' -'435','val_435','','' -'436','val_436','','' -'437','val_437','','' -'438','val_438','','' -'438','val_438','','' -'438','val_438','','' -'439','val_439','','' -'439','val_439','','' -'44','val_44','44','val_44' -'443','val_443','','' -'444','val_444','','' -'446','val_446','','' -'448','val_448','','' -'449','val_449','','' -'452','val_452','','' -'453','val_453','','' -'454','val_454','','' -'454','val_454','','' -'454','val_454','','' -'455','val_455','','' -'457','val_457','','' -'458','val_458','','' -'458','val_458','','' -'459','val_459','','' -'459','val_459','','' -'460','val_460','','' -'462','val_462','','' -'462','val_462','','' -'463','val_463','','' -'463','val_463','','' -'466','val_466','','' -'466','val_466','','' -'466','val_466','','' -'467','val_467','','' -'468','val_468','','' -'468','val_468','','' -'468','val_468','','' -'468','val_468','','' -'469','val_469','','' -'469','val_469','','' -'469','val_469','','' -'469','val_469','','' -'469','val_469','','' -'47','val_47','47','val_47' -'470','val_470','','' -'472','val_472','','' -'475','val_475','','' -'477','val_477','','' -'478','val_478','','' -'478','val_478','','' -'479','val_479','','' -'480','val_480','','' -'480','val_480','','' -'480','val_480','','' -'481','val_481','','' -'482','val_482','','' -'483','val_483','','' -'484','val_484','','' -'485','val_485','','' -'487','val_487','','' -'489','val_489','','' -'489','val_489','','' -'489','val_489','','' -'489','val_489','','' -'490','val_490','','' -'491','val_491','','' -'492','val_492','','' -'492','val_492','','' -'493','val_493','','' -'494','val_494','','' -'495','val_495','','' -'496','val_496','','' -'497','val_497','','' -'498','val_498','','' -'498','val_498','','' -'498','val_498','','' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'51','val_51','51','val_51' -'51','val_51','51','val_51' -'51','val_51','51','val_51' -'51','val_51','51','val_51' -'53','val_53','53','val_53' -'54','val_54','54','val_54' -'57','val_57','57','val_57' -'58','val_58','58','val_58' -'58','val_58','58','val_58' -'58','val_58','58','val_58' -'58','val_58','58','val_58' -'64','val_64','64','val_64' -'65','val_65','65','val_65' -'66','val_66','66','val_66' -'67','val_67','67','val_67' -'67','val_67','67','val_67' -'67','val_67','67','val_67' -'67','val_67','67','val_67' -'69','val_69','69','val_69' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'72','val_72','72','val_72' -'72','val_72','72','val_72' -'72','val_72','72','val_72' -'72','val_72','72','val_72' -'74','val_74','74','val_74' -'76','val_76','76','val_76' -'76','val_76','76','val_76' -'76','val_76','76','val_76' -'76','val_76','76','val_76' -'77','val_77','77','val_77' -'78','val_78','78','val_78' -'8','val_8','8','val_8' -'80','val_80','80','val_80' -'82','val_82','82','val_82' -'83','val_83','83','val_83' -'83','val_83','83','val_83' -'83','val_83','83','val_83' -'83','val_83','83','val_83' -'84','val_84','84','val_84' -'84','val_84','84','val_84' -'84','val_84','84','val_84' -'84','val_84','84','val_84' -'85','val_85','85','val_85' -'86','val_86','86','val_86' -'87','val_87','87','val_87' -'9','val_9','9','val_9' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'92','val_92','92','val_92' -'95','val_95','95','val_95' -'95','val_95','95','val_95' -'95','val_95','95','val_95' -'95','val_95','95','val_95' -'96','val_96','96','val_96' -'97','val_97','97','val_97' -'97','val_97','97','val_97' -'97','val_97','97','val_97' -'97','val_97','97','val_97' -'98','val_98','98','val_98' -'98','val_98','98','val_98' -'98','val_98','98','val_98' -'98','val_98','98','val_98' -566 rows selected ->>> ->>> ->>> EXPLAIN select src1.key, src2.value -FROM src src1 JOIN src src2 ON (src1.key = src2.key); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2) (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -69 rows selected ->>> ->>> select src1.key, src2.value -FROM src src1 JOIN src src2 ON (src1.key = src2.key); -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'10','val_10' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'105','val_105' -'11','val_11' -'111','val_111' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'114','val_114' -'116','val_116' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'126','val_126' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'131','val_131' -'133','val_133' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'136','val_136' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'143','val_143' -'145','val_145' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'150','val_150' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'153','val_153' -'155','val_155' -'156','val_156' -'157','val_157' -'158','val_158' -'160','val_160' -'162','val_162' -'163','val_163' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'166','val_166' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'168','val_168' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'17','val_17' -'170','val_170' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'177','val_177' -'178','val_178' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'180','val_180' -'181','val_181' -'183','val_183' -'186','val_186' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'189','val_189' -'19','val_19' -'190','val_190' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'192','val_192' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'194','val_194' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'196','val_196' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'2','val_2' -'20','val_20' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'201','val_201' -'202','val_202' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'214','val_214' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'218','val_218' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'222','val_222' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'226','val_226' -'228','val_228' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'235','val_235' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'241','val_241' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'244','val_244' -'247','val_247' -'248','val_248' -'249','val_249' -'252','val_252' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'257','val_257' -'258','val_258' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'260','val_260' -'262','val_262' -'263','val_263' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'266','val_266' -'27','val_27' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'274','val_274' -'275','val_275' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'28','val_28' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'283','val_283' -'284','val_284' -'285','val_285' -'286','val_286' -'287','val_287' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'289','val_289' -'291','val_291' -'292','val_292' -'296','val_296' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'30','val_30' -'302','val_302' -'305','val_305' -'306','val_306' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'308','val_308' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'310','val_310' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'315','val_315' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'323','val_323' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'33','val_33' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'332','val_332' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'335','val_335' -'336','val_336' -'338','val_338' -'339','val_339' -'34','val_34' -'341','val_341' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'345','val_345' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'351','val_351' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'356','val_356' -'360','val_360' -'362','val_362' -'364','val_364' -'365','val_365' -'366','val_366' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'368','val_368' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'373','val_373' -'374','val_374' -'375','val_375' -'377','val_377' -'378','val_378' -'379','val_379' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'386','val_386' -'389','val_389' -'392','val_392' -'393','val_393' -'394','val_394' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'4','val_4' -'400','val_400' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'402','val_402' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'407','val_407' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'41','val_41' -'411','val_411' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'418','val_418' -'419','val_419' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'421','val_421' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'427','val_427' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'43','val_43' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'432','val_432' -'435','val_435' -'436','val_436' -'437','val_437' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'44','val_44' -'443','val_443' -'444','val_444' -'446','val_446' -'448','val_448' -'449','val_449' -'452','val_452' -'453','val_453' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'455','val_455' -'457','val_457' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'460','val_460' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'467','val_467' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'47','val_47' -'470','val_470' -'472','val_472' -'475','val_475' -'477','val_477' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'479','val_479' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'481','val_481' -'482','val_482' -'483','val_483' -'484','val_484' -'485','val_485' -'487','val_487' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'490','val_490' -'491','val_491' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'493','val_493' -'494','val_494' -'495','val_495' -'496','val_496' -'497','val_497' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'53','val_53' -'54','val_54' -'57','val_57' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'64','val_64' -'65','val_65' -'66','val_66' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'69','val_69' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'74','val_74' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'77','val_77' -'78','val_78' -'8','val_8' -'80','val_80' -'82','val_82' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'9','val_9' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'96','val_96' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -1,028 rows selected ->>> ->>> ->>> EXPLAIN -SELECT * FROM src src1 JOIN src src2 ON (src1.key = src2.key AND src1.key < 10) RIGHT OUTER JOIN src src3 ON (src1.key = src3.key AND src3.key < 20) -SORT BY src1.key, src1.value, src2.key, src2.value, src3.key, src3.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2) (AND (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)) (< (. (TOK_TABLE_OR_COL src1) key) 10))) (TOK_TABREF (TOK_TABNAME src) src3) (AND (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src3) key)) (< (. (TOK_TABLE_OR_COL src3) key) 20)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: (key < 10.0)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: (key < 10.0)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src3 ' -' TableScan' -' alias: src3' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 2' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Right Outer Join0 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' filter predicates:' -' 0 ' -' 1 ' -' 2 {(VALUE._col0 < 20.0)}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' sort order: ++++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -155 rows selected ->>> ->>> SELECT * FROM src src1 JOIN src src2 ON (src1.key = src2.key AND src1.key < 10) RIGHT OUTER JOIN src src3 ON (src1.key = src3.key AND src3.key < 20) -SORT BY src1.key, src1.value, src2.key, src2.value, src3.key, src3.value; -'key','value','key','value','key','value' -'','','','','10','val_10' -'','','','','100','val_100' -'','','','','100','val_100' -'','','','','103','val_103' -'','','','','103','val_103' -'','','','','104','val_104' -'','','','','104','val_104' -'','','','','105','val_105' -'','','','','11','val_11' -'','','','','111','val_111' -'','','','','113','val_113' -'','','','','113','val_113' -'','','','','114','val_114' -'','','','','116','val_116' -'','','','','118','val_118' -'','','','','118','val_118' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','12','val_12' -'','','','','12','val_12' -'','','','','120','val_120' -'','','','','120','val_120' -'','','','','125','val_125' -'','','','','125','val_125' -'','','','','126','val_126' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','129','val_129' -'','','','','129','val_129' -'','','','','131','val_131' -'','','','','133','val_133' -'','','','','134','val_134' -'','','','','134','val_134' -'','','','','136','val_136' -'','','','','137','val_137' -'','','','','137','val_137' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','143','val_143' -'','','','','145','val_145' -'','','','','146','val_146' -'','','','','146','val_146' -'','','','','149','val_149' -'','','','','149','val_149' -'','','','','15','val_15' -'','','','','15','val_15' -'','','','','150','val_150' -'','','','','152','val_152' -'','','','','152','val_152' -'','','','','153','val_153' -'','','','','155','val_155' -'','','','','156','val_156' -'','','','','157','val_157' -'','','','','158','val_158' -'','','','','160','val_160' -'','','','','162','val_162' -'','','','','163','val_163' -'','','','','164','val_164' -'','','','','164','val_164' -'','','','','165','val_165' -'','','','','165','val_165' -'','','','','166','val_166' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','168','val_168' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','17','val_17' -'','','','','170','val_170' -'','','','','172','val_172' -'','','','','172','val_172' -'','','','','174','val_174' -'','','','','174','val_174' -'','','','','175','val_175' -'','','','','175','val_175' -'','','','','176','val_176' -'','','','','176','val_176' -'','','','','177','val_177' -'','','','','178','val_178' -'','','','','179','val_179' -'','','','','179','val_179' -'','','','','18','val_18' -'','','','','18','val_18' -'','','','','180','val_180' -'','','','','181','val_181' -'','','','','183','val_183' -'','','','','186','val_186' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','189','val_189' -'','','','','19','val_19' -'','','','','190','val_190' -'','','','','191','val_191' -'','','','','191','val_191' -'','','','','192','val_192' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','194','val_194' -'','','','','195','val_195' -'','','','','195','val_195' -'','','','','196','val_196' -'','','','','197','val_197' -'','','','','197','val_197' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','20','val_20' -'','','','','200','val_200' -'','','','','200','val_200' -'','','','','201','val_201' -'','','','','202','val_202' -'','','','','203','val_203' -'','','','','203','val_203' -'','','','','205','val_205' -'','','','','205','val_205' -'','','','','207','val_207' -'','','','','207','val_207' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','209','val_209' -'','','','','209','val_209' -'','','','','213','val_213' -'','','','','213','val_213' -'','','','','214','val_214' -'','','','','216','val_216' -'','','','','216','val_216' -'','','','','217','val_217' -'','','','','217','val_217' -'','','','','218','val_218' -'','','','','219','val_219' -'','','','','219','val_219' -'','','','','221','val_221' -'','','','','221','val_221' -'','','','','222','val_222' -'','','','','223','val_223' -'','','','','223','val_223' -'','','','','224','val_224' -'','','','','224','val_224' -'','','','','226','val_226' -'','','','','228','val_228' -'','','','','229','val_229' -'','','','','229','val_229' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','233','val_233' -'','','','','233','val_233' -'','','','','235','val_235' -'','','','','237','val_237' -'','','','','237','val_237' -'','','','','238','val_238' -'','','','','238','val_238' -'','','','','239','val_239' -'','','','','239','val_239' -'','','','','24','val_24' -'','','','','24','val_24' -'','','','','241','val_241' -'','','','','242','val_242' -'','','','','242','val_242' -'','','','','244','val_244' -'','','','','247','val_247' -'','','','','248','val_248' -'','','','','249','val_249' -'','','','','252','val_252' -'','','','','255','val_255' -'','','','','255','val_255' -'','','','','256','val_256' -'','','','','256','val_256' -'','','','','257','val_257' -'','','','','258','val_258' -'','','','','26','val_26' -'','','','','26','val_26' -'','','','','260','val_260' -'','','','','262','val_262' -'','','','','263','val_263' -'','','','','265','val_265' -'','','','','265','val_265' -'','','','','266','val_266' -'','','','','27','val_27' -'','','','','272','val_272' -'','','','','272','val_272' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','274','val_274' -'','','','','275','val_275' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','278','val_278' -'','','','','278','val_278' -'','','','','28','val_28' -'','','','','280','val_280' -'','','','','280','val_280' -'','','','','281','val_281' -'','','','','281','val_281' -'','','','','282','val_282' -'','','','','282','val_282' -'','','','','283','val_283' -'','','','','284','val_284' -'','','','','285','val_285' -'','','','','286','val_286' -'','','','','287','val_287' -'','','','','288','val_288' -'','','','','288','val_288' -'','','','','289','val_289' -'','','','','291','val_291' -'','','','','292','val_292' -'','','','','296','val_296' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','30','val_30' -'','','','','302','val_302' -'','','','','305','val_305' -'','','','','306','val_306' -'','','','','307','val_307' -'','','','','307','val_307' -'','','','','308','val_308' -'','','','','309','val_309' -'','','','','309','val_309' -'','','','','310','val_310' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','315','val_315' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','317','val_317' -'','','','','317','val_317' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','321','val_321' -'','','','','321','val_321' -'','','','','322','val_322' -'','','','','322','val_322' -'','','','','323','val_323' -'','','','','325','val_325' -'','','','','325','val_325' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','33','val_33' -'','','','','331','val_331' -'','','','','331','val_331' -'','','','','332','val_332' -'','','','','333','val_333' -'','','','','333','val_333' -'','','','','335','val_335' -'','','','','336','val_336' -'','','','','338','val_338' -'','','','','339','val_339' -'','','','','34','val_34' -'','','','','341','val_341' -'','','','','342','val_342' -'','','','','342','val_342' -'','','','','344','val_344' -'','','','','344','val_344' -'','','','','345','val_345' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','351','val_351' -'','','','','353','val_353' -'','','','','353','val_353' -'','','','','356','val_356' -'','','','','360','val_360' -'','','','','362','val_362' -'','','','','364','val_364' -'','','','','365','val_365' -'','','','','366','val_366' -'','','','','367','val_367' -'','','','','367','val_367' -'','','','','368','val_368' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','37','val_37' -'','','','','37','val_37' -'','','','','373','val_373' -'','','','','374','val_374' -'','','','','375','val_375' -'','','','','377','val_377' -'','','','','378','val_378' -'','','','','379','val_379' -'','','','','382','val_382' -'','','','','382','val_382' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','386','val_386' -'','','','','389','val_389' -'','','','','392','val_392' -'','','','','393','val_393' -'','','','','394','val_394' -'','','','','395','val_395' -'','','','','395','val_395' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','397','val_397' -'','','','','397','val_397' -'','','','','399','val_399' -'','','','','399','val_399' -'','','','','400','val_400' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','402','val_402' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','404','val_404' -'','','','','404','val_404' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','407','val_407' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','41','val_41' -'','','','','411','val_411' -'','','','','413','val_413' -'','','','','413','val_413' -'','','','','414','val_414' -'','','','','414','val_414' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','418','val_418' -'','','','','419','val_419' -'','','','','42','val_42' -'','','','','42','val_42' -'','','','','421','val_421' -'','','','','424','val_424' -'','','','','424','val_424' -'','','','','427','val_427' -'','','','','429','val_429' -'','','','','429','val_429' -'','','','','43','val_43' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','432','val_432' -'','','','','435','val_435' -'','','','','436','val_436' -'','','','','437','val_437' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','439','val_439' -'','','','','439','val_439' -'','','','','44','val_44' -'','','','','443','val_443' -'','','','','444','val_444' -'','','','','446','val_446' -'','','','','448','val_448' -'','','','','449','val_449' -'','','','','452','val_452' -'','','','','453','val_453' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','455','val_455' -'','','','','457','val_457' -'','','','','458','val_458' -'','','','','458','val_458' -'','','','','459','val_459' -'','','','','459','val_459' -'','','','','460','val_460' -'','','','','462','val_462' -'','','','','462','val_462' -'','','','','463','val_463' -'','','','','463','val_463' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','467','val_467' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','47','val_47' -'','','','','470','val_470' -'','','','','472','val_472' -'','','','','475','val_475' -'','','','','477','val_477' -'','','','','478','val_478' -'','','','','478','val_478' -'','','','','479','val_479' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','481','val_481' -'','','','','482','val_482' -'','','','','483','val_483' -'','','','','484','val_484' -'','','','','485','val_485' -'','','','','487','val_487' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','490','val_490' -'','','','','491','val_491' -'','','','','492','val_492' -'','','','','492','val_492' -'','','','','493','val_493' -'','','','','494','val_494' -'','','','','495','val_495' -'','','','','496','val_496' -'','','','','497','val_497' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','51','val_51' -'','','','','51','val_51' -'','','','','53','val_53' -'','','','','54','val_54' -'','','','','57','val_57' -'','','','','58','val_58' -'','','','','58','val_58' -'','','','','64','val_64' -'','','','','65','val_65' -'','','','','66','val_66' -'','','','','67','val_67' -'','','','','67','val_67' -'','','','','69','val_69' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','72','val_72' -'','','','','72','val_72' -'','','','','74','val_74' -'','','','','76','val_76' -'','','','','76','val_76' -'','','','','77','val_77' -'','','','','78','val_78' -'','','','','80','val_80' -'','','','','82','val_82' -'','','','','83','val_83' -'','','','','83','val_83' -'','','','','84','val_84' -'','','','','84','val_84' -'','','','','85','val_85' -'','','','','86','val_86' -'','','','','87','val_87' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','92','val_92' -'','','','','95','val_95' -'','','','','95','val_95' -'','','','','96','val_96' -'','','','','97','val_97' -'','','','','97','val_97' -'','','','','98','val_98' -'','','','','98','val_98' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'2','val_2','2','val_2','2','val_2' -'4','val_4','4','val_4','4','val_4' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'8','val_8','8','val_8','8','val_8' -'9','val_9','9','val_9','9','val_9' -548 rows selected ->>> ->>> ->>> EXPLAIN -SELECT * FROM src src1 JOIN src src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key < 15) RIGHT OUTER JOIN src src3 ON (src1.key = src3.key AND src3.key < 20) -SORT BY src1.key, src1.value, src2.key, src2.value, src3.key, src3.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2) (AND (AND (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)) (< (. (TOK_TABLE_OR_COL src1) key) 10)) (< (. (TOK_TABLE_OR_COL src2) key) 15))) (TOK_TABREF (TOK_TABNAME src) src3) (AND (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src3) key)) (< (. (TOK_TABLE_OR_COL src3) key) 20)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: ((key < 10.0) and (key < 15.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: ((key < 15.0) and (key < 10.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src3 ' -' TableScan' -' alias: src3' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 2' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Right Outer Join0 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' filter predicates:' -' 0 ' -' 1 ' -' 2 {(VALUE._col0 < 20.0)}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' sort order: ++++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -155 rows selected ->>> ->>> SELECT * FROM src src1 JOIN src src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key < 15) RIGHT OUTER JOIN src src3 ON (src1.key = src3.key AND src3.key < 20) -SORT BY src1.key, src1.value, src2.key, src2.value, src3.key, src3.value; -'key','value','key','value','key','value' -'','','','','10','val_10' -'','','','','100','val_100' -'','','','','100','val_100' -'','','','','103','val_103' -'','','','','103','val_103' -'','','','','104','val_104' -'','','','','104','val_104' -'','','','','105','val_105' -'','','','','11','val_11' -'','','','','111','val_111' -'','','','','113','val_113' -'','','','','113','val_113' -'','','','','114','val_114' -'','','','','116','val_116' -'','','','','118','val_118' -'','','','','118','val_118' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','119','val_119' -'','','','','12','val_12' -'','','','','12','val_12' -'','','','','120','val_120' -'','','','','120','val_120' -'','','','','125','val_125' -'','','','','125','val_125' -'','','','','126','val_126' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','128','val_128' -'','','','','129','val_129' -'','','','','129','val_129' -'','','','','131','val_131' -'','','','','133','val_133' -'','','','','134','val_134' -'','','','','134','val_134' -'','','','','136','val_136' -'','','','','137','val_137' -'','','','','137','val_137' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','138','val_138' -'','','','','143','val_143' -'','','','','145','val_145' -'','','','','146','val_146' -'','','','','146','val_146' -'','','','','149','val_149' -'','','','','149','val_149' -'','','','','15','val_15' -'','','','','15','val_15' -'','','','','150','val_150' -'','','','','152','val_152' -'','','','','152','val_152' -'','','','','153','val_153' -'','','','','155','val_155' -'','','','','156','val_156' -'','','','','157','val_157' -'','','','','158','val_158' -'','','','','160','val_160' -'','','','','162','val_162' -'','','','','163','val_163' -'','','','','164','val_164' -'','','','','164','val_164' -'','','','','165','val_165' -'','','','','165','val_165' -'','','','','166','val_166' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','167','val_167' -'','','','','168','val_168' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','169','val_169' -'','','','','17','val_17' -'','','','','170','val_170' -'','','','','172','val_172' -'','','','','172','val_172' -'','','','','174','val_174' -'','','','','174','val_174' -'','','','','175','val_175' -'','','','','175','val_175' -'','','','','176','val_176' -'','','','','176','val_176' -'','','','','177','val_177' -'','','','','178','val_178' -'','','','','179','val_179' -'','','','','179','val_179' -'','','','','18','val_18' -'','','','','18','val_18' -'','','','','180','val_180' -'','','','','181','val_181' -'','','','','183','val_183' -'','','','','186','val_186' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','187','val_187' -'','','','','189','val_189' -'','','','','19','val_19' -'','','','','190','val_190' -'','','','','191','val_191' -'','','','','191','val_191' -'','','','','192','val_192' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','193','val_193' -'','','','','194','val_194' -'','','','','195','val_195' -'','','','','195','val_195' -'','','','','196','val_196' -'','','','','197','val_197' -'','','','','197','val_197' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','199','val_199' -'','','','','20','val_20' -'','','','','200','val_200' -'','','','','200','val_200' -'','','','','201','val_201' -'','','','','202','val_202' -'','','','','203','val_203' -'','','','','203','val_203' -'','','','','205','val_205' -'','','','','205','val_205' -'','','','','207','val_207' -'','','','','207','val_207' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','208','val_208' -'','','','','209','val_209' -'','','','','209','val_209' -'','','','','213','val_213' -'','','','','213','val_213' -'','','','','214','val_214' -'','','','','216','val_216' -'','','','','216','val_216' -'','','','','217','val_217' -'','','','','217','val_217' -'','','','','218','val_218' -'','','','','219','val_219' -'','','','','219','val_219' -'','','','','221','val_221' -'','','','','221','val_221' -'','','','','222','val_222' -'','','','','223','val_223' -'','','','','223','val_223' -'','','','','224','val_224' -'','','','','224','val_224' -'','','','','226','val_226' -'','','','','228','val_228' -'','','','','229','val_229' -'','','','','229','val_229' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','230','val_230' -'','','','','233','val_233' -'','','','','233','val_233' -'','','','','235','val_235' -'','','','','237','val_237' -'','','','','237','val_237' -'','','','','238','val_238' -'','','','','238','val_238' -'','','','','239','val_239' -'','','','','239','val_239' -'','','','','24','val_24' -'','','','','24','val_24' -'','','','','241','val_241' -'','','','','242','val_242' -'','','','','242','val_242' -'','','','','244','val_244' -'','','','','247','val_247' -'','','','','248','val_248' -'','','','','249','val_249' -'','','','','252','val_252' -'','','','','255','val_255' -'','','','','255','val_255' -'','','','','256','val_256' -'','','','','256','val_256' -'','','','','257','val_257' -'','','','','258','val_258' -'','','','','26','val_26' -'','','','','26','val_26' -'','','','','260','val_260' -'','','','','262','val_262' -'','','','','263','val_263' -'','','','','265','val_265' -'','','','','265','val_265' -'','','','','266','val_266' -'','','','','27','val_27' -'','','','','272','val_272' -'','','','','272','val_272' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','273','val_273' -'','','','','274','val_274' -'','','','','275','val_275' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','277','val_277' -'','','','','278','val_278' -'','','','','278','val_278' -'','','','','28','val_28' -'','','','','280','val_280' -'','','','','280','val_280' -'','','','','281','val_281' -'','','','','281','val_281' -'','','','','282','val_282' -'','','','','282','val_282' -'','','','','283','val_283' -'','','','','284','val_284' -'','','','','285','val_285' -'','','','','286','val_286' -'','','','','287','val_287' -'','','','','288','val_288' -'','','','','288','val_288' -'','','','','289','val_289' -'','','','','291','val_291' -'','','','','292','val_292' -'','','','','296','val_296' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','298','val_298' -'','','','','30','val_30' -'','','','','302','val_302' -'','','','','305','val_305' -'','','','','306','val_306' -'','','','','307','val_307' -'','','','','307','val_307' -'','','','','308','val_308' -'','','','','309','val_309' -'','','','','309','val_309' -'','','','','310','val_310' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','311','val_311' -'','','','','315','val_315' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','316','val_316' -'','','','','317','val_317' -'','','','','317','val_317' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','318','val_318' -'','','','','321','val_321' -'','','','','321','val_321' -'','','','','322','val_322' -'','','','','322','val_322' -'','','','','323','val_323' -'','','','','325','val_325' -'','','','','325','val_325' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','327','val_327' -'','','','','33','val_33' -'','','','','331','val_331' -'','','','','331','val_331' -'','','','','332','val_332' -'','','','','333','val_333' -'','','','','333','val_333' -'','','','','335','val_335' -'','','','','336','val_336' -'','','','','338','val_338' -'','','','','339','val_339' -'','','','','34','val_34' -'','','','','341','val_341' -'','','','','342','val_342' -'','','','','342','val_342' -'','','','','344','val_344' -'','','','','344','val_344' -'','','','','345','val_345' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','348','val_348' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','35','val_35' -'','','','','351','val_351' -'','','','','353','val_353' -'','','','','353','val_353' -'','','','','356','val_356' -'','','','','360','val_360' -'','','','','362','val_362' -'','','','','364','val_364' -'','','','','365','val_365' -'','','','','366','val_366' -'','','','','367','val_367' -'','','','','367','val_367' -'','','','','368','val_368' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','369','val_369' -'','','','','37','val_37' -'','','','','37','val_37' -'','','','','373','val_373' -'','','','','374','val_374' -'','','','','375','val_375' -'','','','','377','val_377' -'','','','','378','val_378' -'','','','','379','val_379' -'','','','','382','val_382' -'','','','','382','val_382' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','384','val_384' -'','','','','386','val_386' -'','','','','389','val_389' -'','','','','392','val_392' -'','','','','393','val_393' -'','','','','394','val_394' -'','','','','395','val_395' -'','','','','395','val_395' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','396','val_396' -'','','','','397','val_397' -'','','','','397','val_397' -'','','','','399','val_399' -'','','','','399','val_399' -'','','','','400','val_400' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','401','val_401' -'','','','','402','val_402' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','403','val_403' -'','','','','404','val_404' -'','','','','404','val_404' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','406','val_406' -'','','','','407','val_407' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','409','val_409' -'','','','','41','val_41' -'','','','','411','val_411' -'','','','','413','val_413' -'','','','','413','val_413' -'','','','','414','val_414' -'','','','','414','val_414' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','417','val_417' -'','','','','418','val_418' -'','','','','419','val_419' -'','','','','42','val_42' -'','','','','42','val_42' -'','','','','421','val_421' -'','','','','424','val_424' -'','','','','424','val_424' -'','','','','427','val_427' -'','','','','429','val_429' -'','','','','429','val_429' -'','','','','43','val_43' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','430','val_430' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','431','val_431' -'','','','','432','val_432' -'','','','','435','val_435' -'','','','','436','val_436' -'','','','','437','val_437' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','438','val_438' -'','','','','439','val_439' -'','','','','439','val_439' -'','','','','44','val_44' -'','','','','443','val_443' -'','','','','444','val_444' -'','','','','446','val_446' -'','','','','448','val_448' -'','','','','449','val_449' -'','','','','452','val_452' -'','','','','453','val_453' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','454','val_454' -'','','','','455','val_455' -'','','','','457','val_457' -'','','','','458','val_458' -'','','','','458','val_458' -'','','','','459','val_459' -'','','','','459','val_459' -'','','','','460','val_460' -'','','','','462','val_462' -'','','','','462','val_462' -'','','','','463','val_463' -'','','','','463','val_463' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','466','val_466' -'','','','','467','val_467' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','468','val_468' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','469','val_469' -'','','','','47','val_47' -'','','','','470','val_470' -'','','','','472','val_472' -'','','','','475','val_475' -'','','','','477','val_477' -'','','','','478','val_478' -'','','','','478','val_478' -'','','','','479','val_479' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','480','val_480' -'','','','','481','val_481' -'','','','','482','val_482' -'','','','','483','val_483' -'','','','','484','val_484' -'','','','','485','val_485' -'','','','','487','val_487' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','489','val_489' -'','','','','490','val_490' -'','','','','491','val_491' -'','','','','492','val_492' -'','','','','492','val_492' -'','','','','493','val_493' -'','','','','494','val_494' -'','','','','495','val_495' -'','','','','496','val_496' -'','','','','497','val_497' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','498','val_498' -'','','','','51','val_51' -'','','','','51','val_51' -'','','','','53','val_53' -'','','','','54','val_54' -'','','','','57','val_57' -'','','','','58','val_58' -'','','','','58','val_58' -'','','','','64','val_64' -'','','','','65','val_65' -'','','','','66','val_66' -'','','','','67','val_67' -'','','','','67','val_67' -'','','','','69','val_69' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','70','val_70' -'','','','','72','val_72' -'','','','','72','val_72' -'','','','','74','val_74' -'','','','','76','val_76' -'','','','','76','val_76' -'','','','','77','val_77' -'','','','','78','val_78' -'','','','','80','val_80' -'','','','','82','val_82' -'','','','','83','val_83' -'','','','','83','val_83' -'','','','','84','val_84' -'','','','','84','val_84' -'','','','','85','val_85' -'','','','','86','val_86' -'','','','','87','val_87' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','90','val_90' -'','','','','92','val_92' -'','','','','95','val_95' -'','','','','95','val_95' -'','','','','96','val_96' -'','','','','97','val_97' -'','','','','97','val_97' -'','','','','98','val_98' -'','','','','98','val_98' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'0','val_0','0','val_0','0','val_0' -'2','val_2','2','val_2','2','val_2' -'4','val_4','4','val_4','4','val_4' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'5','val_5','5','val_5','5','val_5' -'8','val_8','8','val_8','8','val_8' -'9','val_9','9','val_9','9','val_9' -548 rows selected ->>> ->>> ->>> EXPLAIN -SELECT /*+ MAPJOIN(y) */ x.key, x.value, y.key, y.value -FROM src x left outer JOIN (select * from src where key <= 100) y ON (x.key = y.key); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME src) x) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (<= (TOK_TABLE_OR_COL key) 100)))) y) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL y) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST y))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL y) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL y) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-3 is a root stage' -' Stage-1 depends on stages: Stage-3' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-3' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' y:src ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' y:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key <= 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {_col0} {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[_col0]]' -' Position of Big Table: 0' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x ' -' TableScan' -' alias: x' -' Map Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {_col0} {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[_col0]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -94 rows selected ->>> ->>> SELECT /*+ MAPJOIN(y) */ x.key, x.value, y.key, y.value -FROM src x left outer JOIN (select * from src where key <= 100) y ON (x.key = y.key); -'key','value','key','value' -'238','val_238','','' -'86','val_86','86','val_86' -'311','val_311','','' -'27','val_27','27','val_27' -'165','val_165','','' -'409','val_409','','' -'255','val_255','','' -'278','val_278','','' -'98','val_98','98','val_98' -'98','val_98','98','val_98' -'484','val_484','','' -'265','val_265','','' -'193','val_193','','' -'401','val_401','','' -'150','val_150','','' -'273','val_273','','' -'224','val_224','','' -'369','val_369','','' -'66','val_66','66','val_66' -'128','val_128','','' -'213','val_213','','' -'146','val_146','','' -'406','val_406','','' -'429','val_429','','' -'374','val_374','','' -'152','val_152','','' -'469','val_469','','' -'145','val_145','','' -'495','val_495','','' -'37','val_37','37','val_37' -'37','val_37','37','val_37' -'327','val_327','','' -'281','val_281','','' -'277','val_277','','' -'209','val_209','','' -'15','val_15','15','val_15' -'15','val_15','15','val_15' -'82','val_82','82','val_82' -'403','val_403','','' -'166','val_166','','' -'417','val_417','','' -'430','val_430','','' -'252','val_252','','' -'292','val_292','','' -'219','val_219','','' -'287','val_287','','' -'153','val_153','','' -'193','val_193','','' -'338','val_338','','' -'446','val_446','','' -'459','val_459','','' -'394','val_394','','' -'237','val_237','','' -'482','val_482','','' -'174','val_174','','' -'413','val_413','','' -'494','val_494','','' -'207','val_207','','' -'199','val_199','','' -'466','val_466','','' -'208','val_208','','' -'174','val_174','','' -'399','val_399','','' -'396','val_396','','' -'247','val_247','','' -'417','val_417','','' -'489','val_489','','' -'162','val_162','','' -'377','val_377','','' -'397','val_397','','' -'309','val_309','','' -'365','val_365','','' -'266','val_266','','' -'439','val_439','','' -'342','val_342','','' -'367','val_367','','' -'325','val_325','','' -'167','val_167','','' -'195','val_195','','' -'475','val_475','','' -'17','val_17','17','val_17' -'113','val_113','','' -'155','val_155','','' -'203','val_203','','' -'339','val_339','','' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'455','val_455','','' -'128','val_128','','' -'311','val_311','','' -'316','val_316','','' -'57','val_57','57','val_57' -'302','val_302','','' -'205','val_205','','' -'149','val_149','','' -'438','val_438','','' -'345','val_345','','' -'129','val_129','','' -'170','val_170','','' -'20','val_20','20','val_20' -'489','val_489','','' -'157','val_157','','' -'378','val_378','','' -'221','val_221','','' -'92','val_92','92','val_92' -'111','val_111','','' -'47','val_47','47','val_47' -'72','val_72','72','val_72' -'72','val_72','72','val_72' -'4','val_4','4','val_4' -'280','val_280','','' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'427','val_427','','' -'277','val_277','','' -'208','val_208','','' -'356','val_356','','' -'399','val_399','','' -'169','val_169','','' -'382','val_382','','' -'498','val_498','','' -'125','val_125','','' -'386','val_386','','' -'437','val_437','','' -'469','val_469','','' -'192','val_192','','' -'286','val_286','','' -'187','val_187','','' -'176','val_176','','' -'54','val_54','54','val_54' -'459','val_459','','' -'51','val_51','51','val_51' -'51','val_51','51','val_51' -'138','val_138','','' -'103','val_103','','' -'239','val_239','','' -'213','val_213','','' -'216','val_216','','' -'430','val_430','','' -'278','val_278','','' -'176','val_176','','' -'289','val_289','','' -'221','val_221','','' -'65','val_65','65','val_65' -'318','val_318','','' -'332','val_332','','' -'311','val_311','','' -'275','val_275','','' -'137','val_137','','' -'241','val_241','','' -'83','val_83','83','val_83' -'83','val_83','83','val_83' -'333','val_333','','' -'180','val_180','','' -'284','val_284','','' -'12','val_12','12','val_12' -'12','val_12','12','val_12' -'230','val_230','','' -'181','val_181','','' -'67','val_67','67','val_67' -'67','val_67','67','val_67' -'260','val_260','','' -'404','val_404','','' -'384','val_384','','' -'489','val_489','','' -'353','val_353','','' -'373','val_373','','' -'272','val_272','','' -'138','val_138','','' -'217','val_217','','' -'84','val_84','84','val_84' -'84','val_84','84','val_84' -'348','val_348','','' -'466','val_466','','' -'58','val_58','58','val_58' -'58','val_58','58','val_58' -'8','val_8','8','val_8' -'411','val_411','','' -'230','val_230','','' -'208','val_208','','' -'348','val_348','','' -'24','val_24','24','val_24' -'24','val_24','24','val_24' -'463','val_463','','' -'431','val_431','','' -'179','val_179','','' -'172','val_172','','' -'42','val_42','42','val_42' -'42','val_42','42','val_42' -'129','val_129','','' -'158','val_158','','' -'119','val_119','','' -'496','val_496','','' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'322','val_322','','' -'197','val_197','','' -'468','val_468','','' -'393','val_393','','' -'454','val_454','','' -'100','val_100','100','val_100' -'100','val_100','100','val_100' -'298','val_298','','' -'199','val_199','','' -'191','val_191','','' -'418','val_418','','' -'96','val_96','96','val_96' -'26','val_26','26','val_26' -'26','val_26','26','val_26' -'165','val_165','','' -'327','val_327','','' -'230','val_230','','' -'205','val_205','','' -'120','val_120','','' -'131','val_131','','' -'51','val_51','51','val_51' -'51','val_51','51','val_51' -'404','val_404','','' -'43','val_43','43','val_43' -'436','val_436','','' -'156','val_156','','' -'469','val_469','','' -'468','val_468','','' -'308','val_308','','' -'95','val_95','95','val_95' -'95','val_95','95','val_95' -'196','val_196','','' -'288','val_288','','' -'481','val_481','','' -'457','val_457','','' -'98','val_98','98','val_98' -'98','val_98','98','val_98' -'282','val_282','','' -'197','val_197','','' -'187','val_187','','' -'318','val_318','','' -'318','val_318','','' -'409','val_409','','' -'470','val_470','','' -'137','val_137','','' -'369','val_369','','' -'316','val_316','','' -'169','val_169','','' -'413','val_413','','' -'85','val_85','85','val_85' -'77','val_77','77','val_77' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'490','val_490','','' -'87','val_87','87','val_87' -'364','val_364','','' -'179','val_179','','' -'118','val_118','','' -'134','val_134','','' -'395','val_395','','' -'282','val_282','','' -'138','val_138','','' -'238','val_238','','' -'419','val_419','','' -'15','val_15','15','val_15' -'15','val_15','15','val_15' -'118','val_118','','' -'72','val_72','72','val_72' -'72','val_72','72','val_72' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'307','val_307','','' -'19','val_19','19','val_19' -'435','val_435','','' -'10','val_10','10','val_10' -'277','val_277','','' -'273','val_273','','' -'306','val_306','','' -'224','val_224','','' -'309','val_309','','' -'389','val_389','','' -'327','val_327','','' -'242','val_242','','' -'369','val_369','','' -'392','val_392','','' -'272','val_272','','' -'331','val_331','','' -'401','val_401','','' -'242','val_242','','' -'452','val_452','','' -'177','val_177','','' -'226','val_226','','' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'497','val_497','','' -'402','val_402','','' -'396','val_396','','' -'317','val_317','','' -'395','val_395','','' -'58','val_58','58','val_58' -'58','val_58','58','val_58' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'336','val_336','','' -'95','val_95','95','val_95' -'95','val_95','95','val_95' -'11','val_11','11','val_11' -'168','val_168','','' -'34','val_34','34','val_34' -'229','val_229','','' -'233','val_233','','' -'143','val_143','','' -'472','val_472','','' -'322','val_322','','' -'498','val_498','','' -'160','val_160','','' -'195','val_195','','' -'42','val_42','42','val_42' -'42','val_42','42','val_42' -'321','val_321','','' -'430','val_430','','' -'119','val_119','','' -'489','val_489','','' -'458','val_458','','' -'78','val_78','78','val_78' -'76','val_76','76','val_76' -'76','val_76','76','val_76' -'41','val_41','41','val_41' -'223','val_223','','' -'492','val_492','','' -'149','val_149','','' -'449','val_449','','' -'218','val_218','','' -'228','val_228','','' -'138','val_138','','' -'453','val_453','','' -'30','val_30','30','val_30' -'209','val_209','','' -'64','val_64','64','val_64' -'468','val_468','','' -'76','val_76','76','val_76' -'76','val_76','76','val_76' -'74','val_74','74','val_74' -'342','val_342','','' -'69','val_69','69','val_69' -'230','val_230','','' -'33','val_33','33','val_33' -'368','val_368','','' -'103','val_103','','' -'296','val_296','','' -'113','val_113','','' -'216','val_216','','' -'367','val_367','','' -'344','val_344','','' -'167','val_167','','' -'274','val_274','','' -'219','val_219','','' -'239','val_239','','' -'485','val_485','','' -'116','val_116','','' -'223','val_223','','' -'256','val_256','','' -'263','val_263','','' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'487','val_487','','' -'480','val_480','','' -'401','val_401','','' -'288','val_288','','' -'191','val_191','','' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'244','val_244','','' -'438','val_438','','' -'128','val_128','','' -'467','val_467','','' -'432','val_432','','' -'202','val_202','','' -'316','val_316','','' -'229','val_229','','' -'469','val_469','','' -'463','val_463','','' -'280','val_280','','' -'2','val_2','2','val_2' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'283','val_283','','' -'331','val_331','','' -'235','val_235','','' -'80','val_80','80','val_80' -'44','val_44','44','val_44' -'193','val_193','','' -'321','val_321','','' -'335','val_335','','' -'104','val_104','','' -'466','val_466','','' -'366','val_366','','' -'175','val_175','','' -'403','val_403','','' -'483','val_483','','' -'53','val_53','53','val_53' -'105','val_105','','' -'257','val_257','','' -'406','val_406','','' -'409','val_409','','' -'190','val_190','','' -'406','val_406','','' -'401','val_401','','' -'114','val_114','','' -'258','val_258','','' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'203','val_203','','' -'262','val_262','','' -'348','val_348','','' -'424','val_424','','' -'12','val_12','12','val_12' -'12','val_12','12','val_12' -'396','val_396','','' -'201','val_201','','' -'217','val_217','','' -'164','val_164','','' -'431','val_431','','' -'454','val_454','','' -'478','val_478','','' -'298','val_298','','' -'125','val_125','','' -'431','val_431','','' -'164','val_164','','' -'424','val_424','','' -'187','val_187','','' -'382','val_382','','' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'397','val_397','','' -'480','val_480','','' -'291','val_291','','' -'24','val_24','24','val_24' -'24','val_24','24','val_24' -'351','val_351','','' -'255','val_255','','' -'104','val_104','','' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'163','val_163','','' -'438','val_438','','' -'119','val_119','','' -'414','val_414','','' -'200','val_200','','' -'491','val_491','','' -'237','val_237','','' -'439','val_439','','' -'360','val_360','','' -'248','val_248','','' -'479','val_479','','' -'305','val_305','','' -'417','val_417','','' -'199','val_199','','' -'444','val_444','','' -'120','val_120','','' -'429','val_429','','' -'169','val_169','','' -'443','val_443','','' -'323','val_323','','' -'325','val_325','','' -'277','val_277','','' -'230','val_230','','' -'478','val_478','','' -'178','val_178','','' -'468','val_468','','' -'310','val_310','','' -'317','val_317','','' -'333','val_333','','' -'493','val_493','','' -'460','val_460','','' -'207','val_207','','' -'249','val_249','','' -'265','val_265','','' -'480','val_480','','' -'83','val_83','83','val_83' -'83','val_83','83','val_83' -'136','val_136','','' -'353','val_353','','' -'172','val_172','','' -'214','val_214','','' -'462','val_462','','' -'233','val_233','','' -'406','val_406','','' -'133','val_133','','' -'175','val_175','','' -'189','val_189','','' -'454','val_454','','' -'375','val_375','','' -'401','val_401','','' -'421','val_421','','' -'407','val_407','','' -'384','val_384','','' -'256','val_256','','' -'26','val_26','26','val_26' -'26','val_26','26','val_26' -'134','val_134','','' -'67','val_67','67','val_67' -'67','val_67','67','val_67' -'384','val_384','','' -'379','val_379','','' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'462','val_462','','' -'492','val_492','','' -'100','val_100','100','val_100' -'100','val_100','100','val_100' -'298','val_298','','' -'9','val_9','9','val_9' -'341','val_341','','' -'498','val_498','','' -'146','val_146','','' -'458','val_458','','' -'362','val_362','','' -'186','val_186','','' -'285','val_285','','' -'348','val_348','','' -'167','val_167','','' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'273','val_273','','' -'183','val_183','','' -'281','val_281','','' -'344','val_344','','' -'97','val_97','97','val_97' -'97','val_97','97','val_97' -'469','val_469','','' -'315','val_315','','' -'84','val_84','84','val_84' -'84','val_84','84','val_84' -'28','val_28','28','val_28' -'37','val_37','37','val_37' -'37','val_37','37','val_37' -'448','val_448','','' -'152','val_152','','' -'348','val_348','','' -'307','val_307','','' -'194','val_194','','' -'414','val_414','','' -'477','val_477','','' -'222','val_222','','' -'126','val_126','','' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'169','val_169','','' -'403','val_403','','' -'400','val_400','','' -'200','val_200','','' -'97','val_97','97','val_97' -'97','val_97','97','val_97' -566 rows selected ->>> ->>> EXPLAIN -SELECT COUNT(1) FROM SRC A JOIN SRC B ON (A.KEY=B.KEY); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME SRC) A) (TOK_TABREF (TOK_TABNAME SRC) B) (= (. (TOK_TABLE_OR_COL A) KEY) (. (TOK_TABLE_OR_COL B) KEY)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION COUNT 1)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -92 rows selected ->>> ->>> SELECT COUNT(1) FROM SRC A JOIN SRC B ON (A.KEY=B.KEY); -'_c0' -'1028' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/join5.q.out ql/src/test/results/beelinepositive/join5.q.out deleted file mode 100644 index 546b528..0000000 --- ql/src/test/results/beelinepositive/join5.q.out +++ /dev/null @@ -1,184 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join5.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join5.q ->>> CREATE TABLE dest1(c1 INT, c2 STRING, c3 INT, c4 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM ( -FROM -( -FROM src src1 SELECT src1.key AS c1, src1.value AS c2 WHERE src1.key > 10 and src1.key < 20 -) a -RIGHT OUTER JOIN -( -FROM src src2 SELECT src2.key AS c3, src2.value AS c4 WHERE src2.key > 15 and src2.key < 25 -) b -ON (a.c1 = b.c3) -SELECT a.c1 AS c1, a.c2 AS c2, b.c3 AS c3, b.c4 AS c4 -) c -INSERT OVERWRITE TABLE dest1 SELECT c.c1, c.c2, c.c3, c.c4; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) src1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) value) c2)) (TOK_WHERE (and (> (. (TOK_TABLE_OR_COL src1) key) 10) (< (. (TOK_TABLE_OR_COL src1) key) 20))))) a) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) src2)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) key) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) value) c4)) (TOK_WHERE (and (> (. (TOK_TABLE_OR_COL src2) key) 15) (< (. (TOK_TABLE_OR_COL src2) key) 25))))) b) (= (. (TOK_TABLE_OR_COL a) c1) (. (TOK_TABLE_OR_COL b) c3)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) c1) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) c2) c2) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) c3) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) c4) c4)))) c)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c2)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c3)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c4)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' c:a:src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: ((key > 10.0) and (key < 20.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' c:b:src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: ((key > 15.0) and (key < 25.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: UDFToInteger(_col2)' -' type: int' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: join5.dest1' -'' -' 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: join5.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -133 rows selected ->>> ->>> FROM ( -FROM -( -FROM src src1 SELECT src1.key AS c1, src1.value AS c2 WHERE src1.key > 10 and src1.key < 20 -) a -RIGHT OUTER JOIN -( -FROM src src2 SELECT src2.key AS c3, src2.value AS c4 WHERE src2.key > 15 and src2.key < 25 -) b -ON (a.c1 = b.c3) -SELECT a.c1 AS c1, a.c2 AS c2, b.c3 AS c3, b.c4 AS c4 -) c -INSERT OVERWRITE TABLE dest1 SELECT c.c1, c.c2, c.c3, c.c4; -'_col0','_col1','_col2','_col3' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'c1','c2','c3','c4' -'17','val_17','17','val_17' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'19','val_19','19','val_19' -'','','20','val_20' -'','','24','val_24' -'','','24','val_24' -9 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/join6.q.out ql/src/test/results/beelinepositive/join6.q.out deleted file mode 100644 index 8f4dd53..0000000 --- ql/src/test/results/beelinepositive/join6.q.out +++ /dev/null @@ -1,190 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join6.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join6.q ->>> CREATE TABLE dest1(c1 INT, c2 STRING, c3 INT, c4 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM ( -FROM -( -FROM src src1 SELECT src1.key AS c1, src1.value AS c2 WHERE src1.key > 10 and src1.key < 20 -) a -FULL OUTER JOIN -( -FROM src src2 SELECT src2.key AS c3, src2.value AS c4 WHERE src2.key > 15 and src2.key < 25 -) b -ON (a.c1 = b.c3) -SELECT a.c1 AS c1, a.c2 AS c2, b.c3 AS c3, b.c4 AS c4 -) c -INSERT OVERWRITE TABLE dest1 SELECT c.c1, c.c2, c.c3, c.c4; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_FULLOUTERJOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) src1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) value) c2)) (TOK_WHERE (and (> (. (TOK_TABLE_OR_COL src1) key) 10) (< (. (TOK_TABLE_OR_COL src1) key) 20))))) a) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) src2)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) key) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) value) c4)) (TOK_WHERE (and (> (. (TOK_TABLE_OR_COL src2) key) 15) (< (. (TOK_TABLE_OR_COL src2) key) 25))))) b) (= (. (TOK_TABLE_OR_COL a) c1) (. (TOK_TABLE_OR_COL b) c3)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) c1) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) c2) c2) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) c3) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) c4) c4)))) c)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c2)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c3)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c4)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' c:a:src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: ((key > 10.0) and (key < 20.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' c:b:src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: ((key > 15.0) and (key < 25.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Outer Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: UDFToInteger(_col2)' -' type: int' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: join6.dest1' -'' -' 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: join6.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -133 rows selected ->>> ->>> FROM ( -FROM -( -FROM src src1 SELECT src1.key AS c1, src1.value AS c2 WHERE src1.key > 10 and src1.key < 20 -) a -FULL OUTER JOIN -( -FROM src src2 SELECT src2.key AS c3, src2.value AS c4 WHERE src2.key > 15 and src2.key < 25 -) b -ON (a.c1 = b.c3) -SELECT a.c1 AS c1, a.c2 AS c2, b.c3 AS c3, b.c4 AS c4 -) c -INSERT OVERWRITE TABLE dest1 SELECT c.c1, c.c2, c.c3, c.c4; -'_col0','_col1','_col2','_col3' -No rows selected ->>> ->>> ->>> SELECT dest1.* FROM dest1; -'c1','c2','c3','c4' -'11','val_11','','' -'12','val_12','','' -'12','val_12','','' -'15','val_15','','' -'15','val_15','','' -'17','val_17','17','val_17' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'19','val_19','19','val_19' -'','','20','val_20' -'','','24','val_24' -'','','24','val_24' -14 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/join7.q.out ql/src/test/results/beelinepositive/join7.q.out deleted file mode 100644 index 98cb981..0000000 --- ql/src/test/results/beelinepositive/join7.q.out +++ /dev/null @@ -1,243 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join7.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join7.q ->>> CREATE TABLE dest1(c1 INT, c2 STRING, c3 INT, c4 STRING, c5 INT, c6 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM ( -FROM -( -FROM src src1 SELECT src1.key AS c1, src1.value AS c2 WHERE src1.key > 10 and src1.key < 20 -) a -FULL OUTER JOIN -( -FROM src src2 SELECT src2.key AS c3, src2.value AS c4 WHERE src2.key > 15 and src2.key < 25 -) b -ON (a.c1 = b.c3) -LEFT OUTER JOIN -( -FROM src src3 SELECT src3.key AS c5, src3.value AS c6 WHERE src3.key > 20 and src3.key < 25 -) c -ON (a.c1 = c.c5) -SELECT a.c1 AS c1, a.c2 AS c2, b.c3 AS c3, b.c4 AS c4, c.c5 AS c5, c.c6 AS c6 -) c -INSERT OVERWRITE TABLE dest1 SELECT c.c1, c.c2, c.c3, c.c4, c.c5, c.c6; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_FULLOUTERJOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) src1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) value) c2)) (TOK_WHERE (and (> (. (TOK_TABLE_OR_COL src1) key) 10) (< (. (TOK_TABLE_OR_COL src1) key) 20))))) a) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) src2)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) key) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) value) c4)) (TOK_WHERE (and (> (. (TOK_TABLE_OR_COL src2) key) 15) (< (. (TOK_TABLE_OR_COL src2) key) 25))))) b) (= (. (TOK_TABLE_OR_COL a) c1) (. (TOK_TABLE_OR_COL b) c3))) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) src3)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src3) key) c5) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src3) value) c6)) (TOK_WHERE (and (> (. (TOK_TABLE_OR_COL src3) key) 20) (< (. (TOK_TABLE_OR_COL src3) key) 25))))) c) (= (. (TOK_TABLE_OR_COL a) c1) (. (TOK_TABLE_OR_COL c) c5)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) c1) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) c2) c2) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) c3) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) c4) c4) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c5) c5) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c6) c6)))) c)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c2)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c3)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c4)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c5)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c6)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' c:a:src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: ((key > 10.0) and (key < 20.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' c:b:src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: ((key > 15.0) and (key < 25.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' c:c:src3 ' -' TableScan' -' alias: src3' -' Filter Operator' -' predicate:' -' expr: ((key > 20.0) and (key < 25.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 2' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Outer Join 0 to 1' -' Left Outer Join0 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: UDFToInteger(_col2)' -' type: int' -' expr: _col3' -' type: string' -' expr: UDFToInteger(_col4)' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: join7.dest1' -'' -' 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: join7.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -175 rows selected ->>> ->>> FROM ( -FROM -( -FROM src src1 SELECT src1.key AS c1, src1.value AS c2 WHERE src1.key > 10 and src1.key < 20 -) a -FULL OUTER JOIN -( -FROM src src2 SELECT src2.key AS c3, src2.value AS c4 WHERE src2.key > 15 and src2.key < 25 -) b -ON (a.c1 = b.c3) -LEFT OUTER JOIN -( -FROM src src3 SELECT src3.key AS c5, src3.value AS c6 WHERE src3.key > 20 and src3.key < 25 -) c -ON (a.c1 = c.c5) -SELECT a.c1 AS c1, a.c2 AS c2, b.c3 AS c3, b.c4 AS c4, c.c5 AS c5, c.c6 AS c6 -) c -INSERT OVERWRITE TABLE dest1 SELECT c.c1, c.c2, c.c3, c.c4, c.c5, c.c6; -'_col0','_col1','_col2','_col3','_col4','_col5' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'c1','c2','c3','c4','c5','c6' -'11','val_11','','','','' -'12','val_12','','','','' -'12','val_12','','','','' -'15','val_15','','','','' -'15','val_15','','','','' -'17','val_17','17','val_17','','' -'18','val_18','18','val_18','','' -'18','val_18','18','val_18','','' -'18','val_18','18','val_18','','' -'18','val_18','18','val_18','','' -'19','val_19','19','val_19','','' -'','','20','val_20','','' -'','','24','val_24','','' -'','','24','val_24','','' -'','','24','val_24','','' -'','','24','val_24','','' -16 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/join8.q.out ql/src/test/results/beelinepositive/join8.q.out deleted file mode 100644 index 62e3cb4..0000000 --- ql/src/test/results/beelinepositive/join8.q.out +++ /dev/null @@ -1,184 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join8.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join8.q ->>> CREATE TABLE dest1(c1 INT, c2 STRING, c3 INT, c4 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM ( -FROM -( -FROM src src1 SELECT src1.key AS c1, src1.value AS c2 WHERE src1.key > 10 and src1.key < 20 -) a -LEFT OUTER JOIN -( -FROM src src2 SELECT src2.key AS c3, src2.value AS c4 WHERE src2.key > 15 and src2.key < 25 -) b -ON (a.c1 = b.c3) -SELECT a.c1 AS c1, a.c2 AS c2, b.c3 AS c3, b.c4 AS c4 -) c -INSERT OVERWRITE TABLE dest1 SELECT c.c1, c.c2, c.c3, c.c4 where c.c3 IS NULL AND c.c1 IS NOT NULL; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) src1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) value) c2)) (TOK_WHERE (and (> (. (TOK_TABLE_OR_COL src1) key) 10) (< (. (TOK_TABLE_OR_COL src1) key) 20))))) a) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) src2)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) key) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) value) c4)) (TOK_WHERE (and (> (. (TOK_TABLE_OR_COL src2) key) 15) (< (. (TOK_TABLE_OR_COL src2) key) 25))))) b) (= (. (TOK_TABLE_OR_COL a) c1) (. (TOK_TABLE_OR_COL b) c3)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) c1) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) c2) c2) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) c3) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) c4) c4)))) c)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c2)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c3)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c4))) (TOK_WHERE (AND (TOK_FUNCTION TOK_ISNULL (. (TOK_TABLE_OR_COL c) c3)) (TOK_FUNCTION TOK_ISNOTNULL (. (TOK_TABLE_OR_COL c) c1))))))' -'' -'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' -' Alias -> Map Operator Tree:' -' c:a:src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: (((key > 10.0) and (key < 20.0)) and key is not null)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' c:b:src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: (((key > 15.0) and (key < 25.0)) and key is not null)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Filter Operator' -' predicate:' -' expr: _col2 is null' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: UDFToInteger(_col2)' -' type: int' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: join8.dest1' -'' -' 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: join8.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -137 rows selected ->>> ->>> FROM ( -FROM -( -FROM src src1 SELECT src1.key AS c1, src1.value AS c2 WHERE src1.key > 10 and src1.key < 20 -) a -LEFT OUTER JOIN -( -FROM src src2 SELECT src2.key AS c3, src2.value AS c4 WHERE src2.key > 15 and src2.key < 25 -) b -ON (a.c1 = b.c3) -SELECT a.c1 AS c1, a.c2 AS c2, b.c3 AS c3, b.c4 AS c4 -) c -INSERT OVERWRITE TABLE dest1 SELECT c.c1, c.c2, c.c3, c.c4 where c.c3 IS NULL AND c.c1 IS NOT NULL; -'_col0','_col1','_col2','_col3' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'c1','c2','c3','c4' -'11','val_11','','' -'12','val_12','','' -'12','val_12','','' -'15','val_15','','' -'15','val_15','','' -5 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/join9.q.out ql/src/test/results/beelinepositive/join9.q.out deleted file mode 100644 index 8095f95..0000000 --- ql/src/test/results/beelinepositive/join9.q.out +++ /dev/null @@ -1,1277 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join9.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join9.q ->>> CREATE TABLE dest1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN EXTENDED -FROM srcpart src1 JOIN src src2 ON (src1.key = src2.key) -INSERT OVERWRITE TABLE dest1 SELECT src1.key, src2.value where src1.ds = '2008-04-08' and src1.hr = '12'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcpart) src1) (TOK_TABREF (TOK_TABNAME src) src2) (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) value))) (TOK_WHERE (and (= (. (TOK_TABLE_OR_COL src1) ds) '2008-04-08') (= (. (TOK_TABLE_OR_COL src1) hr) '12')))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' GatherStats: false' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' GatherStats: false' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: value' -' type: string' -' Needs Tagging: true' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/join9.db/src [src2]' -' !!{hive.metastore.warehouse.dir}!!/join9.db/srcpart/ds=2008-04-08/hr=12 [src1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/join9.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join9.db/src' -' name join9.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join9.db/src' -' name join9.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join9.src' -' name: join9.src' -' !!{hive.metastore.warehouse.dir}!!/join9.db/srcpart/ds=2008-04-08/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join9.db/srcpart/ds=2008-04-08/hr=12' -' name join9.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join9.db/srcpart' -' name join9.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join9.srcpart' -' name: join9.srcpart' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col2} {VALUE._col3}' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col2, _col3, _col7' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col7' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join9.db/dest1' -' name join9.dest1' -' serialization.ddl struct dest1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join9.dest1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join9.db/dest1' -' name join9.dest1' -' serialization.ddl struct dest1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join9.dest1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -229 rows selected ->>> ->>> FROM srcpart src1 JOIN src src2 ON (src1.key = src2.key) -INSERT OVERWRITE TABLE dest1 SELECT src1.key, src2.value where src1.ds = '2008-04-08' and src1.hr = '12'; -'_col0','_col1' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'10','val_10' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'105','val_105' -'11','val_11' -'111','val_111' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'114','val_114' -'116','val_116' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'126','val_126' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'131','val_131' -'133','val_133' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'136','val_136' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'143','val_143' -'145','val_145' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'150','val_150' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'153','val_153' -'155','val_155' -'156','val_156' -'157','val_157' -'158','val_158' -'160','val_160' -'162','val_162' -'163','val_163' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'166','val_166' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'168','val_168' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'17','val_17' -'170','val_170' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'177','val_177' -'178','val_178' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'180','val_180' -'181','val_181' -'183','val_183' -'186','val_186' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'189','val_189' -'19','val_19' -'190','val_190' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'192','val_192' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'194','val_194' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'196','val_196' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'2','val_2' -'20','val_20' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'201','val_201' -'202','val_202' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'214','val_214' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'218','val_218' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'222','val_222' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'226','val_226' -'228','val_228' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'235','val_235' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'241','val_241' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'244','val_244' -'247','val_247' -'248','val_248' -'249','val_249' -'252','val_252' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'257','val_257' -'258','val_258' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'260','val_260' -'262','val_262' -'263','val_263' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'266','val_266' -'27','val_27' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'274','val_274' -'275','val_275' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'28','val_28' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'283','val_283' -'284','val_284' -'285','val_285' -'286','val_286' -'287','val_287' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'289','val_289' -'291','val_291' -'292','val_292' -'296','val_296' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'30','val_30' -'302','val_302' -'305','val_305' -'306','val_306' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'308','val_308' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'310','val_310' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'315','val_315' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'323','val_323' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'33','val_33' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'332','val_332' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'335','val_335' -'336','val_336' -'338','val_338' -'339','val_339' -'34','val_34' -'341','val_341' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'345','val_345' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'351','val_351' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'356','val_356' -'360','val_360' -'362','val_362' -'364','val_364' -'365','val_365' -'366','val_366' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'368','val_368' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'373','val_373' -'374','val_374' -'375','val_375' -'377','val_377' -'378','val_378' -'379','val_379' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'386','val_386' -'389','val_389' -'392','val_392' -'393','val_393' -'394','val_394' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'4','val_4' -'400','val_400' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'402','val_402' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'407','val_407' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'41','val_41' -'411','val_411' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'418','val_418' -'419','val_419' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'421','val_421' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'427','val_427' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'43','val_43' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'432','val_432' -'435','val_435' -'436','val_436' -'437','val_437' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'44','val_44' -'443','val_443' -'444','val_444' -'446','val_446' -'448','val_448' -'449','val_449' -'452','val_452' -'453','val_453' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'455','val_455' -'457','val_457' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'460','val_460' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'467','val_467' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'47','val_47' -'470','val_470' -'472','val_472' -'475','val_475' -'477','val_477' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'479','val_479' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'481','val_481' -'482','val_482' -'483','val_483' -'484','val_484' -'485','val_485' -'487','val_487' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'490','val_490' -'491','val_491' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'493','val_493' -'494','val_494' -'495','val_495' -'496','val_496' -'497','val_497' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'53','val_53' -'54','val_54' -'57','val_57' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'64','val_64' -'65','val_65' -'66','val_66' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'69','val_69' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'74','val_74' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'77','val_77' -'78','val_78' -'8','val_8' -'80','val_80' -'82','val_82' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'9','val_9' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'96','val_96' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -1,028 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/join_1to1.q.out ql/src/test/results/beelinepositive/join_1to1.q.out deleted file mode 100644 index 813bc51..0000000 --- ql/src/test/results/beelinepositive/join_1to1.q.out +++ /dev/null @@ -1,1153 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join_1to1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join_1to1.q ->>> ->>> CREATE TABLE join_1to1_1(key1 int, key2 int, value int); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/in5.txt' INTO TABLE join_1to1_1; -No rows affected ->>> ->>> CREATE TABLE join_1to1_2(key1 int, key2 int, value int); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/in6.txt' INTO TABLE join_1to1_2; -No rows affected ->>> ->>> ->>> set hive.outerjoin.supports.filters=false; -No rows affected ->>> ->>> set hive.join.emit.interval=5; -No rows affected ->>> ->>> SELECT * FROM join_1to1_1 a join join_1to1_2 b on a.key1 = b.key1 ORDER BY a.key1 ASC, a.key2 ASC, a.value ASC, b.key1 ASC, b.key2 ASC, b.value ASC; -'key1','key2','value','key1','key2','value' -'5','10005','66','5','10005','66' -'20','10020','66','20','10020','66' -'25','10025','88','25','10025','66' -'30','10030','66','30','10030','88' -'35','10035','88','35','10035','88' -'40','10040','66','40','10040','66' -'40','10040','66','40','10040','88' -'40','10040','88','40','10040','66' -'40','10040','88','40','10040','88' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','88' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','88' -'50','10050','88','50','10050','88' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -30 rows selected ->>> SELECT * FROM join_1to1_1 a full outer join join_1to1_2 b on a.key1 = b.key1 ORDER BY a.key1 ASC, a.key2 ASC, a.value ASC, b.key1 ASC, b.key2 ASC, b.value ASC; -'key1','key2','value','key1','key2','value' -'','','','','','66' -'','','','','10050','66' -'','','','10','10010','66' -'','','66','','','' -'','10050','66','','','' -'5','10005','66','5','10005','66' -'15','10015','66','','','' -'20','10020','66','20','10020','66' -'25','10025','88','25','10025','66' -'30','10030','66','30','10030','88' -'35','10035','88','35','10035','88' -'40','10040','66','40','10040','66' -'40','10040','66','40','10040','88' -'40','10040','88','40','10040','66' -'40','10040','88','40','10040','88' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','88' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','88' -'50','10050','88','50','10050','88' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -36 rows selected ->>> SELECT * FROM join_1to1_1 a full outer join join_1to1_2 b on a.key1 = b.key1 and a.value = 66 and b.value = 66 ORDER BY a.key1 ASC, a.key2 ASC, a.value ASC, b.key1 ASC, b.key2 ASC, b.value ASC; -'key1','key2','value','key1','key2','value' -'','','','','','66' -'','','','','10050','66' -'','','','10','10010','66' -'','','','25','10025','66' -'','','','80','10040','66' -'','','','80','10040','66' -'','','66','','','' -'','10050','66','','','' -'5','10005','66','5','10005','66' -'15','10015','66','','','' -'20','10020','66','20','10020','66' -'30','10030','66','','','' -'40','10040','66','40','10040','66' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'70','10040','66','','','' -'70','10040','66','','','' -21 rows selected ->>> SELECT * FROM join_1to1_1 a full outer join join_1to1_2 b on a.key1 = b.key1 and a.key2 = b.key2 ORDER BY a.key1 ASC, a.key2 ASC, a.value ASC, b.key1 ASC, b.key2 ASC, b.value ASC; -'key1','key2','value','key1','key2','value' -'','','','','','66' -'','','','','10050','66' -'','','','10','10010','66' -'','','66','','','' -'','10050','66','','','' -'5','10005','66','5','10005','66' -'15','10015','66','','','' -'20','10020','66','20','10020','66' -'25','10025','88','25','10025','66' -'30','10030','66','30','10030','88' -'35','10035','88','35','10035','88' -'40','10040','66','40','10040','66' -'40','10040','66','40','10040','88' -'40','10040','88','40','10040','66' -'40','10040','88','40','10040','88' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','88' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','88' -'50','10050','88','50','10050','88' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -36 rows selected ->>> SELECT * FROM join_1to1_1 a full outer join join_1to1_2 b on a.key1 = b.key1 and a.key2 = b.key2 and a.value = 66 and b.value = 66 ORDER BY a.key1 ASC, a.key2 ASC, a.value ASC, b.key1 ASC, b.key2 ASC, b.value ASC; -'key1','key2','value','key1','key2','value' -'','','','','','66' -'','','','','10050','66' -'','','','10','10010','66' -'','','','25','10025','66' -'','','','80','10040','66' -'','','','80','10040','66' -'','','66','','','' -'','10050','66','','','' -'5','10005','66','5','10005','66' -'15','10015','66','','','' -'20','10020','66','20','10020','66' -'30','10030','66','','','' -'40','10040','66','40','10040','66' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'70','10040','66','','','' -'70','10040','66','','','' -21 rows selected ->>> ->>> set hive.join.emit.interval=2; -No rows affected ->>> SELECT * FROM join_1to1_1 a join join_1to1_2 b on a.key1 = b.key1 ORDER BY a.key1 ASC, a.key2 ASC, a.value ASC, b.key1 ASC, b.key2 ASC, b.value ASC; -'key1','key2','value','key1','key2','value' -'5','10005','66','5','10005','66' -'20','10020','66','20','10020','66' -'25','10025','88','25','10025','66' -'30','10030','66','30','10030','88' -'35','10035','88','35','10035','88' -'40','10040','66','40','10040','66' -'40','10040','66','40','10040','88' -'40','10040','88','40','10040','66' -'40','10040','88','40','10040','88' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','88' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','88' -'50','10050','88','50','10050','88' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -30 rows selected ->>> SELECT * FROM join_1to1_1 a full outer join join_1to1_2 b on a.key1 = b.key1 ORDER BY a.key1 ASC, a.key2 ASC, a.value ASC, b.key1 ASC, b.key2 ASC, b.value ASC; -'key1','key2','value','key1','key2','value' -'','','','','','66' -'','','','','10050','66' -'','','','10','10010','66' -'','','66','','','' -'','10050','66','','','' -'5','10005','66','5','10005','66' -'15','10015','66','','','' -'20','10020','66','20','10020','66' -'25','10025','88','25','10025','66' -'30','10030','66','30','10030','88' -'35','10035','88','35','10035','88' -'40','10040','66','40','10040','66' -'40','10040','66','40','10040','88' -'40','10040','88','40','10040','66' -'40','10040','88','40','10040','88' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','88' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','88' -'50','10050','88','50','10050','88' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -36 rows selected ->>> SELECT * FROM join_1to1_1 a full outer join join_1to1_2 b on a.key1 = b.key1 and a.value = 66 and b.value = 66 ORDER BY a.key1 ASC, a.key2 ASC, a.value ASC, b.key1 ASC, b.key2 ASC, b.value ASC; -'key1','key2','value','key1','key2','value' -'','','','','','66' -'','','','','10050','66' -'','','','10','10010','66' -'','','','25','10025','66' -'','','','80','10040','66' -'','','','80','10040','66' -'','','66','','','' -'','10050','66','','','' -'5','10005','66','5','10005','66' -'15','10015','66','','','' -'20','10020','66','20','10020','66' -'30','10030','66','','','' -'40','10040','66','40','10040','66' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'70','10040','66','','','' -'70','10040','66','','','' -21 rows selected ->>> SELECT * FROM join_1to1_1 a full outer join join_1to1_2 b on a.key1 = b.key1 and a.key2 = b.key2 ORDER BY a.key1 ASC, a.key2 ASC, a.value ASC, b.key1 ASC, b.key2 ASC, b.value ASC; -'key1','key2','value','key1','key2','value' -'','','','','','66' -'','','','','10050','66' -'','','','10','10010','66' -'','','66','','','' -'','10050','66','','','' -'5','10005','66','5','10005','66' -'15','10015','66','','','' -'20','10020','66','20','10020','66' -'25','10025','88','25','10025','66' -'30','10030','66','30','10030','88' -'35','10035','88','35','10035','88' -'40','10040','66','40','10040','66' -'40','10040','66','40','10040','88' -'40','10040','88','40','10040','66' -'40','10040','88','40','10040','88' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','88' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','88' -'50','10050','88','50','10050','88' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -36 rows selected ->>> SELECT * FROM join_1to1_1 a full outer join join_1to1_2 b on a.key1 = b.key1 and a.key2 = b.key2 and a.value = 66 and b.value = 66 ORDER BY a.key1 ASC, a.key2 ASC, a.value ASC, b.key1 ASC, b.key2 ASC, b.value ASC; -'key1','key2','value','key1','key2','value' -'','','','','','66' -'','','','','10050','66' -'','','','10','10010','66' -'','','','25','10025','66' -'','','','80','10040','66' -'','','','80','10040','66' -'','','66','','','' -'','10050','66','','','' -'5','10005','66','5','10005','66' -'15','10015','66','','','' -'20','10020','66','20','10020','66' -'30','10030','66','','','' -'40','10040','66','40','10040','66' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'70','10040','66','','','' -'70','10040','66','','','' -21 rows selected ->>> ->>> set hive.join.emit.interval=1; -No rows affected ->>> SELECT * FROM join_1to1_1 a join join_1to1_2 b on a.key1 = b.key1 ORDER BY a.key1 ASC, a.key2 ASC, a.value ASC, b.key1 ASC, b.key2 ASC, b.value ASC; -'key1','key2','value','key1','key2','value' -'5','10005','66','5','10005','66' -'20','10020','66','20','10020','66' -'25','10025','88','25','10025','66' -'30','10030','66','30','10030','88' -'35','10035','88','35','10035','88' -'40','10040','66','40','10040','66' -'40','10040','66','40','10040','88' -'40','10040','88','40','10040','66' -'40','10040','88','40','10040','88' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','88' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','88' -'50','10050','88','50','10050','88' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -30 rows selected ->>> SELECT * FROM join_1to1_1 a full outer join join_1to1_2 b on a.key1 = b.key1 ORDER BY a.key1 ASC, a.key2 ASC, a.value ASC, b.key1 ASC, b.key2 ASC, b.value ASC; -'key1','key2','value','key1','key2','value' -'','','','','','66' -'','','','','10050','66' -'','','','10','10010','66' -'','','66','','','' -'','10050','66','','','' -'5','10005','66','5','10005','66' -'15','10015','66','','','' -'20','10020','66','20','10020','66' -'25','10025','88','25','10025','66' -'30','10030','66','30','10030','88' -'35','10035','88','35','10035','88' -'40','10040','66','40','10040','66' -'40','10040','66','40','10040','88' -'40','10040','88','40','10040','66' -'40','10040','88','40','10040','88' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','88' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','88' -'50','10050','88','50','10050','88' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -36 rows selected ->>> SELECT * FROM join_1to1_1 a full outer join join_1to1_2 b on a.key1 = b.key1 and a.value = 66 and b.value = 66 ORDER BY a.key1 ASC, a.key2 ASC, a.value ASC, b.key1 ASC, b.key2 ASC, b.value ASC; -'key1','key2','value','key1','key2','value' -'','','','','','66' -'','','','','10050','66' -'','','','10','10010','66' -'','','','25','10025','66' -'','','','80','10040','66' -'','','','80','10040','66' -'','','66','','','' -'','10050','66','','','' -'5','10005','66','5','10005','66' -'15','10015','66','','','' -'20','10020','66','20','10020','66' -'30','10030','66','','','' -'40','10040','66','40','10040','66' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'70','10040','66','','','' -'70','10040','66','','','' -21 rows selected ->>> SELECT * FROM join_1to1_1 a full outer join join_1to1_2 b on a.key1 = b.key1 and a.key2 = b.key2 ORDER BY a.key1 ASC, a.key2 ASC, a.value ASC, b.key1 ASC, b.key2 ASC, b.value ASC; -'key1','key2','value','key1','key2','value' -'','','','','','66' -'','','','','10050','66' -'','','','10','10010','66' -'','','66','','','' -'','10050','66','','','' -'5','10005','66','5','10005','66' -'15','10015','66','','','' -'20','10020','66','20','10020','66' -'25','10025','88','25','10025','66' -'30','10030','66','30','10030','88' -'35','10035','88','35','10035','88' -'40','10040','66','40','10040','66' -'40','10040','66','40','10040','88' -'40','10040','88','40','10040','66' -'40','10040','88','40','10040','88' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','88' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','88' -'50','10050','88','50','10050','88' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -36 rows selected ->>> SELECT * FROM join_1to1_1 a full outer join join_1to1_2 b on a.key1 = b.key1 and a.key2 = b.key2 and a.value = 66 and b.value = 66 ORDER BY a.key1 ASC, a.key2 ASC, a.value ASC, b.key1 ASC, b.key2 ASC, b.value ASC; -'key1','key2','value','key1','key2','value' -'','','','','','66' -'','','','','10050','66' -'','','','10','10010','66' -'','','','25','10025','66' -'','','','80','10040','66' -'','','','80','10040','66' -'','','66','','','' -'','10050','66','','','' -'5','10005','66','5','10005','66' -'15','10015','66','','','' -'20','10020','66','20','10020','66' -'30','10030','66','','','' -'40','10040','66','40','10040','66' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'70','10040','66','','','' -'70','10040','66','','','' -21 rows selected ->>> ->>> ->>> ->>> set hive.outerjoin.supports.filters=true; -No rows affected ->>> ->>> set hive.join.emit.interval=5; -No rows affected ->>> ->>> SELECT * FROM join_1to1_1 a join join_1to1_2 b on a.key1 = b.key1 ORDER BY a.key1 ASC, a.key2 ASC, a.value ASC, b.key1 ASC, b.key2 ASC, b.value ASC; -'key1','key2','value','key1','key2','value' -'5','10005','66','5','10005','66' -'20','10020','66','20','10020','66' -'25','10025','88','25','10025','66' -'30','10030','66','30','10030','88' -'35','10035','88','35','10035','88' -'40','10040','66','40','10040','66' -'40','10040','66','40','10040','88' -'40','10040','88','40','10040','66' -'40','10040','88','40','10040','88' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','88' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','88' -'50','10050','88','50','10050','88' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -30 rows selected ->>> SELECT * FROM join_1to1_1 a full outer join join_1to1_2 b on a.key1 = b.key1 ORDER BY a.key1 ASC, a.key2 ASC, a.value ASC, b.key1 ASC, b.key2 ASC, b.value ASC; -'key1','key2','value','key1','key2','value' -'','','','','','66' -'','','','','10050','66' -'','','','10','10010','66' -'','','66','','','' -'','10050','66','','','' -'5','10005','66','5','10005','66' -'15','10015','66','','','' -'20','10020','66','20','10020','66' -'25','10025','88','25','10025','66' -'30','10030','66','30','10030','88' -'35','10035','88','35','10035','88' -'40','10040','66','40','10040','66' -'40','10040','66','40','10040','88' -'40','10040','88','40','10040','66' -'40','10040','88','40','10040','88' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','88' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','88' -'50','10050','88','50','10050','88' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -36 rows selected ->>> SELECT * FROM join_1to1_1 a full outer join join_1to1_2 b on a.key1 = b.key1 and a.value = 66 and b.value = 66 ORDER BY a.key1 ASC, a.key2 ASC, a.value ASC, b.key1 ASC, b.key2 ASC, b.value ASC; -'key1','key2','value','key1','key2','value' -'','','','','','66' -'','','','','10050','66' -'','','','10','10010','66' -'','','','30','10030','88' -'','','','35','10035','88' -'','','','40','10040','88' -'','','','40','10040','88' -'','','','50','10050','88' -'','','','50','10050','88' -'','','','50','10050','88' -'','','','70','10040','88' -'','','','70','10040','88' -'','','','70','10040','88' -'','','','70','10040','88' -'','','66','','','' -'','10050','66','','','' -'5','10005','66','5','10005','66' -'15','10015','66','','','' -'20','10020','66','20','10020','66' -'25','10025','88','','','' -'30','10030','66','','','' -'35','10035','88','','','' -'40','10040','66','','','' -'40','10040','66','40','10040','66' -'40','10040','88','','','' -'40','10040','88','','','' -'50','10050','66','','','' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','66' -'50','10050','88','','','' -'50','10050','88','','','' -'50','10050','88','','','' -'50','10050','88','','','' -'50','10050','88','','','' -'50','10050','88','','','' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'70','10040','66','','','' -'70','10040','66','','','' -'70','10040','66','','','' -'70','10040','66','','','' -'80','10040','88','','','' -'80','10040','88','','','' -'80','10040','88','','','' -'80','10040','88','','','' -47 rows selected ->>> SELECT * FROM join_1to1_1 a full outer join join_1to1_2 b on a.key1 = b.key1 and a.key2 = b.key2 ORDER BY a.key1 ASC, a.key2 ASC, a.value ASC, b.key1 ASC, b.key2 ASC, b.value ASC; -'key1','key2','value','key1','key2','value' -'','','','','','66' -'','','','','10050','66' -'','','','10','10010','66' -'','','66','','','' -'','10050','66','','','' -'5','10005','66','5','10005','66' -'15','10015','66','','','' -'20','10020','66','20','10020','66' -'25','10025','88','25','10025','66' -'30','10030','66','30','10030','88' -'35','10035','88','35','10035','88' -'40','10040','66','40','10040','66' -'40','10040','66','40','10040','88' -'40','10040','88','40','10040','66' -'40','10040','88','40','10040','88' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','88' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','88' -'50','10050','88','50','10050','88' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -36 rows selected ->>> SELECT * FROM join_1to1_1 a full outer join join_1to1_2 b on a.key1 = b.key1 and a.key2 = b.key2 and a.value = 66 and b.value = 66 ORDER BY a.key1 ASC, a.key2 ASC, a.value ASC, b.key1 ASC, b.key2 ASC, b.value ASC; -'key1','key2','value','key1','key2','value' -'','','','','','66' -'','','','','10050','66' -'','','','10','10010','66' -'','','','30','10030','88' -'','','','35','10035','88' -'','','','40','10040','88' -'','','','40','10040','88' -'','','','50','10050','88' -'','','','50','10050','88' -'','','','50','10050','88' -'','','','70','10040','88' -'','','','70','10040','88' -'','','','70','10040','88' -'','','','70','10040','88' -'','','66','','','' -'','10050','66','','','' -'5','10005','66','5','10005','66' -'15','10015','66','','','' -'20','10020','66','20','10020','66' -'25','10025','88','','','' -'30','10030','66','','','' -'35','10035','88','','','' -'40','10040','66','','','' -'40','10040','66','40','10040','66' -'40','10040','88','','','' -'40','10040','88','','','' -'50','10050','66','','','' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','66' -'50','10050','88','','','' -'50','10050','88','','','' -'50','10050','88','','','' -'50','10050','88','','','' -'50','10050','88','','','' -'50','10050','88','','','' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'70','10040','66','','','' -'70','10040','66','','','' -'70','10040','66','','','' -'70','10040','66','','','' -'80','10040','88','','','' -'80','10040','88','','','' -'80','10040','88','','','' -'80','10040','88','','','' -47 rows selected ->>> ->>> set hive.join.emit.interval=2; -No rows affected ->>> SELECT * FROM join_1to1_1 a join join_1to1_2 b on a.key1 = b.key1 ORDER BY a.key1 ASC, a.key2 ASC, a.value ASC, b.key1 ASC, b.key2 ASC, b.value ASC; -'key1','key2','value','key1','key2','value' -'5','10005','66','5','10005','66' -'20','10020','66','20','10020','66' -'25','10025','88','25','10025','66' -'30','10030','66','30','10030','88' -'35','10035','88','35','10035','88' -'40','10040','66','40','10040','66' -'40','10040','66','40','10040','88' -'40','10040','88','40','10040','66' -'40','10040','88','40','10040','88' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','88' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','88' -'50','10050','88','50','10050','88' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -30 rows selected ->>> SELECT * FROM join_1to1_1 a full outer join join_1to1_2 b on a.key1 = b.key1 ORDER BY a.key1 ASC, a.key2 ASC, a.value ASC, b.key1 ASC, b.key2 ASC, b.value ASC; -'key1','key2','value','key1','key2','value' -'','','','','','66' -'','','','','10050','66' -'','','','10','10010','66' -'','','66','','','' -'','10050','66','','','' -'5','10005','66','5','10005','66' -'15','10015','66','','','' -'20','10020','66','20','10020','66' -'25','10025','88','25','10025','66' -'30','10030','66','30','10030','88' -'35','10035','88','35','10035','88' -'40','10040','66','40','10040','66' -'40','10040','66','40','10040','88' -'40','10040','88','40','10040','66' -'40','10040','88','40','10040','88' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','88' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','88' -'50','10050','88','50','10050','88' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -36 rows selected ->>> SELECT * FROM join_1to1_1 a full outer join join_1to1_2 b on a.key1 = b.key1 and a.value = 66 and b.value = 66 ORDER BY a.key1 ASC, a.key2 ASC, a.value ASC, b.key1 ASC, b.key2 ASC, b.value ASC; -'key1','key2','value','key1','key2','value' -'','','','','','66' -'','','','','10050','66' -'','','','10','10010','66' -'','','','30','10030','88' -'','','','35','10035','88' -'','','','40','10040','88' -'','','','40','10040','88' -'','','','50','10050','88' -'','','','50','10050','88' -'','','','50','10050','88' -'','','','70','10040','88' -'','','','70','10040','88' -'','','','70','10040','88' -'','','','70','10040','88' -'','','66','','','' -'','10050','66','','','' -'5','10005','66','5','10005','66' -'15','10015','66','','','' -'20','10020','66','20','10020','66' -'25','10025','88','','','' -'30','10030','66','','','' -'35','10035','88','','','' -'40','10040','66','','','' -'40','10040','66','40','10040','66' -'40','10040','88','','','' -'40','10040','88','','','' -'50','10050','66','','','' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','66' -'50','10050','88','','','' -'50','10050','88','','','' -'50','10050','88','','','' -'50','10050','88','','','' -'50','10050','88','','','' -'50','10050','88','','','' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'70','10040','66','','','' -'70','10040','66','','','' -'70','10040','66','','','' -'70','10040','66','','','' -'80','10040','88','','','' -'80','10040','88','','','' -'80','10040','88','','','' -'80','10040','88','','','' -47 rows selected ->>> SELECT * FROM join_1to1_1 a full outer join join_1to1_2 b on a.key1 = b.key1 and a.key2 = b.key2 ORDER BY a.key1 ASC, a.key2 ASC, a.value ASC, b.key1 ASC, b.key2 ASC, b.value ASC; -'key1','key2','value','key1','key2','value' -'','','','','','66' -'','','','','10050','66' -'','','','10','10010','66' -'','','66','','','' -'','10050','66','','','' -'5','10005','66','5','10005','66' -'15','10015','66','','','' -'20','10020','66','20','10020','66' -'25','10025','88','25','10025','66' -'30','10030','66','30','10030','88' -'35','10035','88','35','10035','88' -'40','10040','66','40','10040','66' -'40','10040','66','40','10040','88' -'40','10040','88','40','10040','66' -'40','10040','88','40','10040','88' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','88' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','88' -'50','10050','88','50','10050','88' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -36 rows selected ->>> SELECT * FROM join_1to1_1 a full outer join join_1to1_2 b on a.key1 = b.key1 and a.key2 = b.key2 and a.value = 66 and b.value = 66 ORDER BY a.key1 ASC, a.key2 ASC, a.value ASC, b.key1 ASC, b.key2 ASC, b.value ASC; -'key1','key2','value','key1','key2','value' -'','','','','','66' -'','','','','10050','66' -'','','','10','10010','66' -'','','','30','10030','88' -'','','','35','10035','88' -'','','','40','10040','88' -'','','','40','10040','88' -'','','','50','10050','88' -'','','','50','10050','88' -'','','','50','10050','88' -'','','','70','10040','88' -'','','','70','10040','88' -'','','','70','10040','88' -'','','','70','10040','88' -'','','66','','','' -'','10050','66','','','' -'5','10005','66','5','10005','66' -'15','10015','66','','','' -'20','10020','66','20','10020','66' -'25','10025','88','','','' -'30','10030','66','','','' -'35','10035','88','','','' -'40','10040','66','','','' -'40','10040','66','40','10040','66' -'40','10040','88','','','' -'40','10040','88','','','' -'50','10050','66','','','' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','66' -'50','10050','88','','','' -'50','10050','88','','','' -'50','10050','88','','','' -'50','10050','88','','','' -'50','10050','88','','','' -'50','10050','88','','','' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'70','10040','66','','','' -'70','10040','66','','','' -'70','10040','66','','','' -'70','10040','66','','','' -'80','10040','88','','','' -'80','10040','88','','','' -'80','10040','88','','','' -'80','10040','88','','','' -47 rows selected ->>> ->>> set hive.join.emit.interval=1; -No rows affected ->>> SELECT * FROM join_1to1_1 a join join_1to1_2 b on a.key1 = b.key1 ORDER BY a.key1 ASC, a.key2 ASC, a.value ASC, b.key1 ASC, b.key2 ASC, b.value ASC; -'key1','key2','value','key1','key2','value' -'5','10005','66','5','10005','66' -'20','10020','66','20','10020','66' -'25','10025','88','25','10025','66' -'30','10030','66','30','10030','88' -'35','10035','88','35','10035','88' -'40','10040','66','40','10040','66' -'40','10040','66','40','10040','88' -'40','10040','88','40','10040','66' -'40','10040','88','40','10040','88' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','88' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','88' -'50','10050','88','50','10050','88' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -30 rows selected ->>> SELECT * FROM join_1to1_1 a full outer join join_1to1_2 b on a.key1 = b.key1 ORDER BY a.key1 ASC, a.key2 ASC, a.value ASC, b.key1 ASC, b.key2 ASC, b.value ASC; -'key1','key2','value','key1','key2','value' -'','','','','','66' -'','','','','10050','66' -'','','','10','10010','66' -'','','66','','','' -'','10050','66','','','' -'5','10005','66','5','10005','66' -'15','10015','66','','','' -'20','10020','66','20','10020','66' -'25','10025','88','25','10025','66' -'30','10030','66','30','10030','88' -'35','10035','88','35','10035','88' -'40','10040','66','40','10040','66' -'40','10040','66','40','10040','88' -'40','10040','88','40','10040','66' -'40','10040','88','40','10040','88' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','88' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','88' -'50','10050','88','50','10050','88' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -36 rows selected ->>> SELECT * FROM join_1to1_1 a full outer join join_1to1_2 b on a.key1 = b.key1 and a.value = 66 and b.value = 66 ORDER BY a.key1 ASC, a.key2 ASC, a.value ASC, b.key1 ASC, b.key2 ASC, b.value ASC; -'key1','key2','value','key1','key2','value' -'','','','','','66' -'','','','','10050','66' -'','','','10','10010','66' -'','','','30','10030','88' -'','','','35','10035','88' -'','','','40','10040','88' -'','','','40','10040','88' -'','','','50','10050','88' -'','','','50','10050','88' -'','','','50','10050','88' -'','','','70','10040','88' -'','','','70','10040','88' -'','','','70','10040','88' -'','','','70','10040','88' -'','','66','','','' -'','10050','66','','','' -'5','10005','66','5','10005','66' -'15','10015','66','','','' -'20','10020','66','20','10020','66' -'25','10025','88','','','' -'30','10030','66','','','' -'35','10035','88','','','' -'40','10040','66','','','' -'40','10040','66','40','10040','66' -'40','10040','88','','','' -'40','10040','88','','','' -'50','10050','66','','','' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','66' -'50','10050','88','','','' -'50','10050','88','','','' -'50','10050','88','','','' -'50','10050','88','','','' -'50','10050','88','','','' -'50','10050','88','','','' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'70','10040','66','','','' -'70','10040','66','','','' -'70','10040','66','','','' -'70','10040','66','','','' -'80','10040','88','','','' -'80','10040','88','','','' -'80','10040','88','','','' -'80','10040','88','','','' -47 rows selected ->>> SELECT * FROM join_1to1_1 a full outer join join_1to1_2 b on a.key1 = b.key1 and a.key2 = b.key2 ORDER BY a.key1 ASC, a.key2 ASC, a.value ASC, b.key1 ASC, b.key2 ASC, b.value ASC; -'key1','key2','value','key1','key2','value' -'','','','','','66' -'','','','','10050','66' -'','','','10','10010','66' -'','','66','','','' -'','10050','66','','','' -'5','10005','66','5','10005','66' -'15','10015','66','','','' -'20','10020','66','20','10020','66' -'25','10025','88','25','10025','66' -'30','10030','66','30','10030','88' -'35','10035','88','35','10035','88' -'40','10040','66','40','10040','66' -'40','10040','66','40','10040','88' -'40','10040','88','40','10040','66' -'40','10040','88','40','10040','88' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','88' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','88' -'50','10050','88','50','10050','88' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -36 rows selected ->>> SELECT * FROM join_1to1_1 a full outer join join_1to1_2 b on a.key1 = b.key1 and a.key2 = b.key2 and a.value = 66 and b.value = 66 ORDER BY a.key1 ASC, a.key2 ASC, a.value ASC, b.key1 ASC, b.key2 ASC, b.value ASC; -'key1','key2','value','key1','key2','value' -'','','','','','66' -'','','','','10050','66' -'','','','10','10010','66' -'','','','30','10030','88' -'','','','35','10035','88' -'','','','40','10040','88' -'','','','40','10040','88' -'','','','50','10050','88' -'','','','50','10050','88' -'','','','50','10050','88' -'','','','70','10040','88' -'','','','70','10040','88' -'','','','70','10040','88' -'','','','70','10040','88' -'','','66','','','' -'','10050','66','','','' -'5','10005','66','5','10005','66' -'15','10015','66','','','' -'20','10020','66','20','10020','66' -'25','10025','88','','','' -'30','10030','66','','','' -'35','10035','88','','','' -'40','10040','66','','','' -'40','10040','66','40','10040','66' -'40','10040','88','','','' -'40','10040','88','','','' -'50','10050','66','','','' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','66' -'50','10050','88','','','' -'50','10050','88','','','' -'50','10050','88','','','' -'50','10050','88','','','' -'50','10050','88','','','' -'50','10050','88','','','' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'70','10040','66','','','' -'70','10040','66','','','' -'70','10040','66','','','' -'70','10040','66','','','' -'80','10040','88','','','' -'80','10040','88','','','' -'80','10040','88','','','' -'80','10040','88','','','' -47 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/join_casesensitive.q.out ql/src/test/results/beelinepositive/join_casesensitive.q.out deleted file mode 100644 index d7a7647..0000000 --- ql/src/test/results/beelinepositive/join_casesensitive.q.out +++ /dev/null @@ -1,102 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join_casesensitive.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join_casesensitive.q ->>> ->>> CREATE TABLE joinone(key1 int, key2 int, value int); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/in5.txt' INTO TABLE joinone; -No rows affected ->>> ->>> CREATE TABLE joinTwo(key1 int, key2 int, value int); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/in6.txt' INTO TABLE joinTwo; -No rows affected ->>> ->>> SELECT * FROM joinone JOIN joinTwo ON(joinone.key2=joinTwo.key2) ORDER BY joinone.key1 ASC, joinone.key2 ASC, joinone.value ASC, joinTwo.key1 ASC, joinTwo.key2 ASC, joinTwo.value ASC; -'key1','key2','value','key1','key2','value' -'','10050','66','','10050','66' -'','10050','66','50','10050','66' -'','10050','66','50','10050','66' -'','10050','66','50','10050','88' -'5','10005','66','5','10005','66' -'20','10020','66','20','10020','66' -'25','10025','88','25','10025','66' -'30','10030','66','30','10030','88' -'35','10035','88','35','10035','88' -'40','10040','66','40','10040','66' -'40','10040','66','40','10040','88' -'40','10040','66','60','10040','66' -'40','10040','66','60','10040','66' -'40','10040','66','70','10040','88' -'40','10040','66','70','10040','88' -'40','10040','66','80','10040','66' -'40','10040','66','80','10040','66' -'40','10040','88','40','10040','66' -'40','10040','88','40','10040','88' -'40','10040','88','60','10040','66' -'40','10040','88','60','10040','66' -'40','10040','88','70','10040','88' -'40','10040','88','70','10040','88' -'40','10040','88','80','10040','66' -'40','10040','88','80','10040','66' -'50','10050','66','','10050','66' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','66' -'50','10050','66','50','10050','88' -'50','10050','88','','10050','66' -'50','10050','88','','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','66' -'50','10050','88','50','10050','88' -'50','10050','88','50','10050','88' -'60','10040','66','40','10040','66' -'60','10040','66','40','10040','66' -'60','10040','66','40','10040','88' -'60','10040','66','40','10040','88' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','60','10040','66' -'60','10040','66','70','10040','88' -'60','10040','66','70','10040','88' -'60','10040','66','70','10040','88' -'60','10040','66','70','10040','88' -'60','10040','66','80','10040','66' -'60','10040','66','80','10040','66' -'60','10040','66','80','10040','66' -'60','10040','66','80','10040','66' -'70','10040','66','40','10040','66' -'70','10040','66','40','10040','66' -'70','10040','66','40','10040','88' -'70','10040','66','40','10040','88' -'70','10040','66','60','10040','66' -'70','10040','66','60','10040','66' -'70','10040','66','60','10040','66' -'70','10040','66','60','10040','66' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','70','10040','88' -'70','10040','66','80','10040','66' -'70','10040','66','80','10040','66' -'70','10040','66','80','10040','66' -'70','10040','66','80','10040','66' -'80','10040','88','40','10040','66' -'80','10040','88','40','10040','66' -'80','10040','88','40','10040','88' -'80','10040','88','40','10040','88' -'80','10040','88','60','10040','66' -'80','10040','88','60','10040','66' -'80','10040','88','60','10040','66' -'80','10040','88','60','10040','66' -'80','10040','88','70','10040','88' -'80','10040','88','70','10040','88' -'80','10040','88','70','10040','88' -'80','10040','88','70','10040','88' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -'80','10040','88','80','10040','66' -85 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/join_empty.q.out ql/src/test/results/beelinepositive/join_empty.q.out deleted file mode 100644 index 9040f9b..0000000 --- ql/src/test/results/beelinepositive/join_empty.q.out +++ /dev/null @@ -1,25 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join_empty.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join_empty.q ->>> create table srcpart_empty(key int, value string) partitioned by (ds string); -No rows affected ->>> create table src2_empty (key int, value string); -No rows affected ->>> ->>> select /*+mapjoin(a)*/ a.key, b.value from srcpart_empty a join src b on a.key=b.key; -'key','value' -No rows selected ->>> select /*+mapjoin(a)*/ a.key, b.value from src2_empty a join src b on a.key=b.key; -'key','value' -No rows selected ->>> ->>> set hive.mapred.mode=nonstrict; -No rows affected ->>> set hive.auto.convert.join = true; -No rows affected ->>> select a.key, b.value from srcpart_empty a join src b on a.key=b.key; -'key','value' -No rows selected ->>> select a.key, b.value from src2_empty a join src b on a.key=b.key; -'key','value' -No rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/join_filters.q.out ql/src/test/results/beelinepositive/join_filters.q.out deleted file mode 100644 index b5af648..0000000 --- ql/src/test/results/beelinepositive/join_filters.q.out +++ /dev/null @@ -1,675 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join_filters.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join_filters.q ->>> CREATE TABLE myinput1(key int, value int); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/in3.txt' INTO TABLE myinput1; -No rows affected ->>> ->>> SELECT * FROM myinput1 a JOIN myinput1 b on a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT * FROM myinput1 a LEFT OUTER JOIN myinput1 b on a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','40','','' -'12','35','','' -'48','','','' -'100','100','100','100' -4 rows selected ->>> SELECT * FROM myinput1 a RIGHT OUTER JOIN myinput1 b on a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','','','40' -'','','12','35' -'','','48','' -'100','100','100','100' -4 rows selected ->>> SELECT * FROM myinput1 a FULL OUTER JOIN myinput1 b on a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','','','40' -'','','','40' -'','','','40' -'','','','40' -'','','12','35' -'','','12','35' -'','','12','35' -'','','12','35' -'','','48','' -'','','48','' -'','','48','' -'','','48','' -'','40','','' -'','40','','' -'','40','','' -'','40','','' -'12','35','','' -'12','35','','' -'12','35','','' -'12','35','','' -'48','','','' -'48','','','' -'48','','','' -'48','','','' -'100','100','','' -'100','100','','' -'100','100','','' -'100','100','100','100' -28 rows selected ->>> ->>> SELECT * FROM myinput1 a JOIN myinput1 b ON a.key = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT * FROM myinput1 a JOIN myinput1 b ON a.key = b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT * FROM myinput1 a JOIN myinput1 b ON a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT * FROM myinput1 a JOIN myinput1 b ON a.value = b.value and a.key=b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> ->>> SELECT * FROM myinput1 a LEFT OUTER JOIN myinput1 b ON a.key = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','40','','' -'12','35','','' -'48','','','' -'100','100','100','100' -4 rows selected ->>> SELECT * FROM myinput1 a LEFT OUTER JOIN myinput1 b ON a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','40','','' -'12','35','','' -'48','','','' -'100','100','100','100' -4 rows selected ->>> SELECT * FROM myinput1 a LEFT OUTER JOIN myinput1 b ON a.key = b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','40','','' -'12','35','','' -'48','','','' -'100','100','100','100' -4 rows selected ->>> SELECT * FROM myinput1 a LEFT OUTER JOIN myinput1 b ON a.key = b.key and a.value=b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','40','','' -'12','35','','' -'48','','','' -'100','100','100','100' -4 rows selected ->>> ->>> SELECT * FROM myinput1 a RIGHT OUTER JOIN myinput1 b ON a.key = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','','','40' -'','','12','35' -'','','48','' -'100','100','100','100' -4 rows selected ->>> SELECT * FROM myinput1 a RIGHT OUTER JOIN myinput1 b ON a.key = b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','','','40' -'','','12','35' -'','','48','' -'100','100','100','100' -4 rows selected ->>> SELECT * FROM myinput1 a RIGHT OUTER JOIN myinput1 b ON a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','','','40' -'','','12','35' -'','','48','' -'100','100','100','100' -4 rows selected ->>> SELECT * FROM myinput1 a RIGHT OUTER JOIN myinput1 b ON a.key=b.key and a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','','','40' -'','','12','35' -'','','48','' -'100','100','100','100' -4 rows selected ->>> ->>> SELECT * FROM myinput1 a FULL OUTER JOIN myinput1 b ON a.key = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','','','40' -'','','12','35' -'','','48','' -'','40','','' -'12','35','','' -'48','','','' -'100','100','100','100' -7 rows selected ->>> SELECT * FROM myinput1 a FULL OUTER JOIN myinput1 b ON a.key = b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','','','40' -'','','12','35' -'','','48','' -'','40','','' -'12','35','','' -'48','','','' -'100','100','100','100' -7 rows selected ->>> SELECT * FROM myinput1 a FULL OUTER JOIN myinput1 b ON a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','','','40' -'','','12','35' -'','','48','' -'','40','','' -'12','35','','' -'48','','','' -'100','100','100','100' -7 rows selected ->>> SELECT * FROM myinput1 a FULL OUTER JOIN myinput1 b ON a.value = b.value and a.key=b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','','','40' -'','','12','35' -'','','48','' -'','40','','' -'12','35','','' -'48','','','' -'100','100','100','100' -7 rows selected ->>> ->>> SELECT * from myinput1 a LEFT OUTER JOIN myinput1 b ON (a.value=b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value) RIGHT OUTER JOIN myinput1 c ON (b.value=c.value AND c.key > 40 AND c.value > 50 AND c.key = c.value AND b.key > 40 AND b.value > 50 AND b.key = b.value) ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC, c.key ASC, c.value ASC; -'key','value','key','value','key','value' -'','','','','','40' -'','','','','12','35' -'','','','','48','' -'100','100','100','100','100','100' -4 rows selected ->>> SELECT * from myinput1 a RIGHT OUTER JOIN myinput1 b ON (a.value=b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value) LEFT OUTER JOIN myinput1 c ON (b.value=c.value AND c.key > 40 AND c.value > 50 AND c.key = c.value AND b.key > 40 AND b.value > 50 AND b.key = b.value) ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC, c.key ASC, c.value ASC; -'key','value','key','value','key','value' -'','','','40','','' -'','','12','35','','' -'','','48','','','' -'100','100','100','100','100','100' -4 rows selected ->>> SELECT * FROM myinput1 a LEFT OUTER JOIN myinput1 b RIGHT OUTER JOIN myinput1 c ON a.value = b.value and b.value = c.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value AND c.key > 40 AND c.value > 50 AND c.key = c.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC, c.key ASC, c.value ASC; -'key','value','key','value','key','value' -'','','','','','40' -'','','','','12','35' -'','','','','48','' -'100','100','100','100','100','100' -4 rows selected ->>> SELECT * from myinput1 a LEFT OUTER JOIN myinput1 b ON (a.value=b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value) RIGHT OUTER JOIN myinput1 c ON (b.key=c.key AND c.key > 40 AND c.value > 50 AND c.key = c.value AND b.key > 40 AND b.value > 50 AND b.key = b.value) ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC, c.key ASC, c.value ASC; -'key','value','key','value','key','value' -'','','','','','40' -'','','','','12','35' -'','','','','48','' -'100','100','100','100','100','100' -4 rows selected ->>> SELECT * from myinput1 a RIGHT OUTER JOIN myinput1 b ON (a.value=b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value) LEFT OUTER JOIN myinput1 c ON (b.key=c.key AND c.key > 40 AND c.value > 50 AND c.key = c.value AND b.key > 40 AND b.value > 50 AND b.key = b.value) ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC, c.key ASC, c.value ASC; -'key','value','key','value','key','value' -'','','','40','','' -'','','12','35','','' -'','','48','','','' -'100','100','100','100','100','100' -4 rows selected ->>> SELECT * FROM myinput1 a LEFT OUTER JOIN myinput1 b RIGHT OUTER JOIN myinput1 c ON a.value = b.value and b.key = c.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value AND c.key > 40 AND c.value > 50 AND c.key = c.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC, c.key ASC, c.value ASC; -'key','value','key','value','key','value' -'','','','','','40' -'','','','','12','35' -'','','','','48','' -'100','100','100','100','100','100' -4 rows selected ->>> ->>> SELECT /*+ MAPJOIN(a) */ * FROM myinput1 a JOIN myinput1 b on a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT /*+ MAPJOIN(a) */ * FROM myinput1 a JOIN myinput1 b ON a.key = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT /*+ MAPJOIN(a) */ * FROM myinput1 a JOIN myinput1 b ON a.key = b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT /*+ MAPJOIN(a) */ * FROM myinput1 a JOIN myinput1 b ON a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT /*+ MAPJOIN(a) */ * FROM myinput1 a JOIN myinput1 b ON a.value = b.value and a.key = b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> ->>> SELECT /*+ MAPJOIN(b) */ * FROM myinput1 a JOIN myinput1 b on a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM myinput1 a JOIN myinput1 b ON a.key = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM myinput1 a JOIN myinput1 b ON a.key = b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM myinput1 a JOIN myinput1 b ON a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM myinput1 a JOIN myinput1 b ON a.value = b.value and a.key = b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> ->>> SELECT /*+ MAPJOIN(b) */ * FROM myinput1 a LEFT OUTER JOIN myinput1 b ON a.key = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','40','','' -'12','35','','' -'48','','','' -'100','100','100','100' -4 rows selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM myinput1 a LEFT OUTER JOIN myinput1 b ON a.key = b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','40','','' -'12','35','','' -'48','','','' -'100','100','100','100' -4 rows selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM myinput1 a LEFT OUTER JOIN myinput1 b ON a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','40','','' -'12','35','','' -'48','','','' -'100','100','100','100' -4 rows selected ->>> ->>> SELECT /*+ MAPJOIN(a) */ * FROM myinput1 a RIGHT OUTER JOIN myinput1 b ON a.key = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','','','40' -'','','12','35' -'','','48','' -'100','100','100','100' -4 rows selected ->>> SELECT /*+ MAPJOIN(a) */ * FROM myinput1 a RIGHT OUTER JOIN myinput1 b ON a.key = b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','','','40' -'','','12','35' -'','','48','' -'100','100','100','100' -4 rows selected ->>> SELECT /*+ MAPJOIN(a) */ * FROM myinput1 a RIGHT OUTER JOIN myinput1 b ON a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','','','40' -'','','12','35' -'','','48','' -'100','100','100','100' -4 rows selected ->>> ->>> CREATE TABLE smb_input1(key int, value int) CLUSTERED BY (key) SORTED BY (key) INTO 2 BUCKETS; -No rows affected ->>> CREATE TABLE smb_input2(key int, value int) CLUSTERED BY (value) SORTED BY (value) INTO 2 BUCKETS; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/in1.txt' into table smb_input1; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/in2.txt' into table smb_input1; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/in1.txt' into table smb_input2; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/in2.txt' into table smb_input2; -No rows affected ->>> ->>> SET hive.optimize.bucketmapjoin = true; -No rows affected ->>> SET hive.optimize.bucketmapjoin.sortedmerge = true; -No rows affected ->>> SET hive.input.format = org.apache.hadoop.hive.ql.io.BucketizedHiveInputFormat; -No rows affected ->>> ->>> SELECT /*+ MAPJOIN(a) */ * FROM smb_input1 a JOIN smb_input1 b ON a.key = b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -'200','200','200','200' -2 rows selected ->>> SELECT /*+ MAPJOIN(a) */ * FROM smb_input1 a JOIN smb_input2 b ON a.key = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -'200','200','200','200' -2 rows selected ->>> SELECT /*+ MAPJOIN(a) */ * FROM smb_input2 a JOIN smb_input2 b ON a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -'200','200','200','200' -2 rows selected ->>> SELECT /*+ MAPJOIN(a) */ * FROM smb_input1 a JOIN smb_input1 b ON a.key = b.key AND a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -'200','200','200','200' -2 rows selected ->>> ->>> SELECT /*+ MAPJOIN(b) */ * FROM smb_input1 a JOIN smb_input1 b ON a.key = b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -'200','200','200','200' -2 rows selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM smb_input1 a JOIN smb_input2 b ON a.key = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -'200','200','200','200' -2 rows selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM smb_input2 a JOIN smb_input2 b ON a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -'200','200','200','200' -2 rows selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM smb_input2 a JOIN smb_input2 b ON a.key = b.key AND a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -'200','200','200','200' -2 rows selected ->>> ->>> SELECT /*+ MAPJOIN(b) */ * FROM smb_input1 a LEFT OUTER JOIN smb_input1 b ON a.key = b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','35','','' -'','135','','' -'48','','','' -'100','100','100','100' -'148','','','' -'200','200','200','200' -6 rows selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM smb_input1 a LEFT OUTER JOIN smb_input2 b ON a.key = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','35','','' -'','135','','' -'48','','','' -'100','100','100','100' -'148','','','' -'200','200','200','200' -6 rows selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM smb_input2 a LEFT OUTER JOIN smb_input2 b ON a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','35','','' -'','135','','' -'48','','','' -'100','100','100','100' -'148','','','' -'200','200','200','200' -6 rows selected ->>> ->>> SELECT /*+ MAPJOIN(a) */ * FROM smb_input1 a RIGHT OUTER JOIN smb_input1 b ON a.key = b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','','','35' -'','','','135' -'','','48','' -'','','148','' -'100','100','100','100' -'200','200','200','200' -6 rows selected ->>> SELECT /*+ MAPJOIN(a) */ * FROM smb_input1 a RIGHT OUTER JOIN smb_input2 b ON a.key = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','','','35' -'','','','135' -'','','48','' -'','','148','' -'100','100','100','100' -'200','200','200','200' -6 rows selected ->>> SELECT /*+ MAPJOIN(a) */ * FROM smb_input2 a RIGHT OUTER JOIN smb_input2 b ON a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','','','35' -'','','','135' -'','','48','' -'','','148','' -'100','100','100','100' -'200','200','200','200' -6 rows selected ->>> ->>> SET hive.outerjoin.supports.filters = false; -No rows affected ->>> ->>> SELECT * FROM myinput1 a JOIN myinput1 b on a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT * FROM myinput1 a LEFT OUTER JOIN myinput1 b on a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT * FROM myinput1 a RIGHT OUTER JOIN myinput1 b on a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT * FROM myinput1 a FULL OUTER JOIN myinput1 b on a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> ->>> SELECT * FROM myinput1 a JOIN myinput1 b ON a.key = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT * FROM myinput1 a JOIN myinput1 b ON a.key = b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT * FROM myinput1 a JOIN myinput1 b ON a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT * FROM myinput1 a JOIN myinput1 b ON a.value = b.value and a.key=b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> ->>> SELECT * FROM myinput1 a LEFT OUTER JOIN myinput1 b ON a.key = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT * FROM myinput1 a LEFT OUTER JOIN myinput1 b ON a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT * FROM myinput1 a LEFT OUTER JOIN myinput1 b ON a.key = b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT * FROM myinput1 a LEFT OUTER JOIN myinput1 b ON a.key = b.key and a.value=b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> ->>> SELECT * FROM myinput1 a RIGHT OUTER JOIN myinput1 b ON a.key = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT * FROM myinput1 a RIGHT OUTER JOIN myinput1 b ON a.key = b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT * FROM myinput1 a RIGHT OUTER JOIN myinput1 b ON a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT * FROM myinput1 a RIGHT OUTER JOIN myinput1 b ON a.key=b.key and a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> ->>> SELECT * FROM myinput1 a FULL OUTER JOIN myinput1 b ON a.key = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT * FROM myinput1 a FULL OUTER JOIN myinput1 b ON a.key = b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT * FROM myinput1 a FULL OUTER JOIN myinput1 b ON a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT * FROM myinput1 a FULL OUTER JOIN myinput1 b ON a.value = b.value and a.key=b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> ->>> SELECT * from myinput1 a LEFT OUTER JOIN myinput1 b ON (a.value=b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value) RIGHT OUTER JOIN myinput1 c ON (b.value=c.value AND c.key > 40 AND c.value > 50 AND c.key = c.value AND b.key > 40 AND b.value > 50 AND b.key = b.value) ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC, c.key ASC, c.value ASC; -'key','value','key','value','key','value' -'100','100','100','100','100','100' -1 row selected ->>> SELECT * from myinput1 a RIGHT OUTER JOIN myinput1 b ON (a.value=b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value) LEFT OUTER JOIN myinput1 c ON (b.value=c.value AND c.key > 40 AND c.value > 50 AND c.key = c.value AND b.key > 40 AND b.value > 50 AND b.key = b.value) ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC, c.key ASC, c.value ASC; -'key','value','key','value','key','value' -'100','100','100','100','100','100' -1 row selected ->>> SELECT * FROM myinput1 a LEFT OUTER JOIN myinput1 b RIGHT OUTER JOIN myinput1 c ON a.value = b.value and b.value = c.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value AND c.key > 40 AND c.value > 50 AND c.key = c.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC, c.key ASC, c.value ASC; -'key','value','key','value','key','value' -'100','100','100','100','100','100' -1 row selected ->>> SELECT * from myinput1 a LEFT OUTER JOIN myinput1 b ON (a.value=b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value) RIGHT OUTER JOIN myinput1 c ON (b.key=c.key AND c.key > 40 AND c.value > 50 AND c.key = c.value AND b.key > 40 AND b.value > 50 AND b.key = b.value) ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC, c.key ASC, c.value ASC; -'key','value','key','value','key','value' -'100','100','100','100','100','100' -1 row selected ->>> SELECT * from myinput1 a RIGHT OUTER JOIN myinput1 b ON (a.value=b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value) LEFT OUTER JOIN myinput1 c ON (b.key=c.key AND c.key > 40 AND c.value > 50 AND c.key = c.value AND b.key > 40 AND b.value > 50 AND b.key = b.value) ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC, c.key ASC, c.value ASC; -'key','value','key','value','key','value' -'100','100','100','100','100','100' -1 row selected ->>> SELECT * FROM myinput1 a LEFT OUTER JOIN myinput1 b RIGHT OUTER JOIN myinput1 c ON a.value = b.value and b.key = c.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value AND c.key > 40 AND c.value > 50 AND c.key = c.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC, c.key ASC, c.value ASC; -'key','value','key','value','key','value' -'100','100','100','100','100','100' -1 row selected ->>> ->>> SELECT /*+ MAPJOIN(a) */ * FROM myinput1 a JOIN myinput1 b on a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT /*+ MAPJOIN(a) */ * FROM myinput1 a JOIN myinput1 b ON a.key = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT /*+ MAPJOIN(a) */ * FROM myinput1 a JOIN myinput1 b ON a.key = b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT /*+ MAPJOIN(a) */ * FROM myinput1 a JOIN myinput1 b ON a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT /*+ MAPJOIN(a) */ * FROM myinput1 a JOIN myinput1 b ON a.value = b.value and a.key = b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> ->>> SELECT /*+ MAPJOIN(b) */ * FROM myinput1 a JOIN myinput1 b on a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM myinput1 a JOIN myinput1 b ON a.key = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM myinput1 a JOIN myinput1 b ON a.key = b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM myinput1 a JOIN myinput1 b ON a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM myinput1 a JOIN myinput1 b ON a.value = b.value and a.key = b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> ->>> SELECT /*+ MAPJOIN(b) */ * FROM myinput1 a LEFT OUTER JOIN myinput1 b ON a.key = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM myinput1 a LEFT OUTER JOIN myinput1 b ON a.key = b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM myinput1 a LEFT OUTER JOIN myinput1 b ON a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> ->>> SELECT /*+ MAPJOIN(a) */ * FROM myinput1 a RIGHT OUTER JOIN myinput1 b ON a.key = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT /*+ MAPJOIN(a) */ * FROM myinput1 a RIGHT OUTER JOIN myinput1 b ON a.key = b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT /*+ MAPJOIN(a) */ * FROM myinput1 a RIGHT OUTER JOIN myinput1 b ON a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> ->>> SELECT /*+ MAPJOIN(a) */ * FROM smb_input1 a JOIN smb_input1 b ON a.key = b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -'200','200','200','200' -2 rows selected ->>> SELECT /*+ MAPJOIN(a) */ * FROM smb_input1 a JOIN smb_input2 b ON a.key = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -'200','200','200','200' -2 rows selected ->>> SELECT /*+ MAPJOIN(a) */ * FROM smb_input2 a JOIN smb_input2 b ON a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -'200','200','200','200' -2 rows selected ->>> SELECT /*+ MAPJOIN(a) */ * FROM smb_input1 a JOIN smb_input1 b ON a.key = b.key AND a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -'200','200','200','200' -2 rows selected ->>> ->>> SELECT /*+ MAPJOIN(b) */ * FROM smb_input1 a JOIN smb_input1 b ON a.key = b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -'200','200','200','200' -2 rows selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM smb_input1 a JOIN smb_input2 b ON a.key = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -'200','200','200','200' -2 rows selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM smb_input2 a JOIN smb_input2 b ON a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -'200','200','200','200' -2 rows selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM smb_input2 a JOIN smb_input2 b ON a.key = b.key AND a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -'200','200','200','200' -2 rows selected ->>> ->>> SELECT /*+ MAPJOIN(b) */ * FROM smb_input1 a LEFT OUTER JOIN smb_input1 b ON a.key = b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -'200','200','200','200' -2 rows selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM smb_input1 a LEFT OUTER JOIN smb_input2 b ON a.key = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -'200','200','200','200' -2 rows selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM smb_input2 a LEFT OUTER JOIN smb_input2 b ON a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -'200','200','200','200' -2 rows selected ->>> ->>> SELECT /*+ MAPJOIN(a) */ * FROM smb_input1 a RIGHT OUTER JOIN smb_input1 b ON a.key = b.key AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -'200','200','200','200' -2 rows selected ->>> SELECT /*+ MAPJOIN(a) */ * FROM smb_input1 a RIGHT OUTER JOIN smb_input2 b ON a.key = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -'200','200','200','200' -2 rows selected ->>> SELECT /*+ MAPJOIN(a) */ * FROM smb_input2 a RIGHT OUTER JOIN smb_input2 b ON a.value = b.value AND a.key > 40 AND a.value > 50 AND a.key = a.value AND b.key > 40 AND b.value > 50 AND b.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -'200','200','200','200' -2 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/join_filters_overlap.q.out ql/src/test/results/beelinepositive/join_filters_overlap.q.out deleted file mode 100644 index c61f563..0000000 --- ql/src/test/results/beelinepositive/join_filters_overlap.q.out +++ /dev/null @@ -1,1055 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join_filters_overlap.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join_filters_overlap.q ->>> -- HIVE-3411 Filter predicates on outer join overlapped on single alias is not handled properly ->>> ->>> create table a as SELECT 100 as key, a.value as value FROM src LATERAL VIEW explode(array(40, 50, 60)) a as value limit 3; -'key','value' -No rows selected ->>> ->>> -- overlap on a ->>> explain extended select * from a left outer join a b on (a.key=b.key AND a.value=50 AND b.value=50) left outer join a c on (a.key=c.key AND a.value=60 AND c.value=60); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME a)) (TOK_TABREF (TOK_TABNAME a) b) (AND (AND (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL a) value) 50)) (= (. (TOK_TABLE_OR_COL b) value) 50))) (TOK_TABREF (TOK_TABNAME a) c) (AND (AND (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL c) key)) (= (. (TOK_TABLE_OR_COL a) value) 60)) (= (. (TOK_TABLE_OR_COL c) value) 60)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (value = 50)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 1' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' c ' -' TableScan' -' alias: c' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (value = 60)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 2' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' Needs Tagging: true' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/join_filters_overlap.db/a [b, c, a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/join_filters_overlap.db/a ' -' Partition' -' base file name: a' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join_filters_overlap.db/a' -' name join_filters_overlap.a' -' numFiles 1' -' numPartitions 0' -' numRows 3' -' rawDataSize 18' -' serialization.ddl struct a { i32 key, i32 value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 21' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join_filters_overlap.db/a' -' name join_filters_overlap.a' -' numFiles 1' -' numPartitions 0' -' numRows 3' -' rawDataSize 18' -' serialization.ddl struct a { i32 key, i32 value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 21' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join_filters_overlap.a' -' name: join_filters_overlap.a' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' Left Outer Join0 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' filter mappings:' -' 0 [1, 1, 2, 1]' -' filter predicates:' -' 0 {(VALUE._col1 = 50)} {(VALUE._col1 = 60)}' -' 1 ' -' 2 ' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col4' -' type: int' -' expr: _col5' -' type: int' -' expr: _col8' -' type: int' -' expr: _col9' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3,_col4,_col5' -' columns.types int:int:int:int:int:int' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -180 rows selected ->>> select * from a left outer join a b on (a.key=b.key AND a.value=50 AND b.value=50) left outer join a c on (a.key=c.key AND a.value=60 AND c.value=60); -'key','value','key','value','key','value' -'100','40','','','','' -'100','50','100','50','','' -'100','60','','','100','60' -3 rows selected ->>> select /*+ MAPJOIN(b,c)*/ * from a left outer join a b on (a.key=b.key AND a.value=50 AND b.value=50) left outer join a c on (a.key=c.key AND a.value=60 AND c.value=60); -'key','value','key','value','key','value' -'100','40','','','','' -'100','50','100','50','','' -'100','60','','','100','60' -3 rows selected ->>> ->>> -- overlap on b ->>> explain extended select * from a right outer join a b on (a.key=b.key AND a.value=50 AND b.value=50) left outer join a c on (b.key=c.key AND b.value=60 AND c.value=60); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_RIGHTOUTERJOIN (TOK_TABREF (TOK_TABNAME a)) (TOK_TABREF (TOK_TABNAME a) b) (AND (AND (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL a) value) 50)) (= (. (TOK_TABLE_OR_COL b) value) 50))) (TOK_TABREF (TOK_TABNAME a) c) (AND (AND (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key)) (= (. (TOK_TABLE_OR_COL b) value) 60)) (= (. (TOK_TABLE_OR_COL c) value) 60)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (value = 50)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 1' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' c ' -' TableScan' -' alias: c' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (value = 60)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 2' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' Needs Tagging: true' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/join_filters_overlap.db/a [b, c, a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/join_filters_overlap.db/a ' -' Partition' -' base file name: a' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join_filters_overlap.db/a' -' name join_filters_overlap.a' -' numFiles 1' -' numPartitions 0' -' numRows 3' -' rawDataSize 18' -' serialization.ddl struct a { i32 key, i32 value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 21' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join_filters_overlap.db/a' -' name join_filters_overlap.a' -' numFiles 1' -' numPartitions 0' -' numRows 3' -' rawDataSize 18' -' serialization.ddl struct a { i32 key, i32 value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 21' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join_filters_overlap.a' -' name: join_filters_overlap.a' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' Left Outer Join1 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' filter mappings:' -' 1 [0, 1, 2, 1]' -' filter predicates:' -' 0 ' -' 1 {(VALUE._col1 = 50)} {(VALUE._col1 = 60)}' -' 2 ' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col4' -' type: int' -' expr: _col5' -' type: int' -' expr: _col8' -' type: int' -' expr: _col9' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3,_col4,_col5' -' columns.types int:int:int:int:int:int' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -180 rows selected ->>> select * from a right outer join a b on (a.key=b.key AND a.value=50 AND b.value=50) left outer join a c on (b.key=c.key AND b.value=60 AND c.value=60); -'key','value','key','value','key','value' -'','','100','40','','' -'100','50','100','50','','' -'','','100','60','100','60' -3 rows selected ->>> select /*+ MAPJOIN(a,c)*/ * from a right outer join a b on (a.key=b.key AND a.value=50 AND b.value=50) left outer join a c on (b.key=c.key AND b.value=60 AND c.value=60); -'key','value','key','value','key','value' -'','','100','40','','' -'100','50','100','50','','' -'','','100','60','100','60' -3 rows selected ->>> ->>> -- overlap on b with two filters for each ->>> explain extended select * from a right outer join a b on (a.key=b.key AND a.value=50 AND b.value=50 AND b.value>10) left outer join a c on (b.key=c.key AND b.value=60 AND b.value>20 AND c.value=60); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_RIGHTOUTERJOIN (TOK_TABREF (TOK_TABNAME a)) (TOK_TABREF (TOK_TABNAME a) b) (AND (AND (AND (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL a) value) 50)) (= (. (TOK_TABLE_OR_COL b) value) 50)) (> (. (TOK_TABLE_OR_COL b) value) 10))) (TOK_TABREF (TOK_TABNAME a) c) (AND (AND (AND (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key)) (= (. (TOK_TABLE_OR_COL b) value) 60)) (> (. (TOK_TABLE_OR_COL b) value) 20)) (= (. (TOK_TABLE_OR_COL c) value) 60)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (value = 50)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 1' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' c ' -' TableScan' -' alias: c' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (value = 60)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 2' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' Needs Tagging: true' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/join_filters_overlap.db/a [b, c, a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/join_filters_overlap.db/a ' -' Partition' -' base file name: a' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join_filters_overlap.db/a' -' name join_filters_overlap.a' -' numFiles 1' -' numPartitions 0' -' numRows 3' -' rawDataSize 18' -' serialization.ddl struct a { i32 key, i32 value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 21' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join_filters_overlap.db/a' -' name join_filters_overlap.a' -' numFiles 1' -' numPartitions 0' -' numRows 3' -' rawDataSize 18' -' serialization.ddl struct a { i32 key, i32 value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 21' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join_filters_overlap.a' -' name: join_filters_overlap.a' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' Left Outer Join1 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' filter mappings:' -' 1 [0, 2, 2, 2]' -' filter predicates:' -' 0 ' -' 1 {(VALUE._col1 = 50)} {(VALUE._col1 > 10)} {(VALUE._col1 = 60)} {(VALUE._col1 > 20)}' -' 2 ' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col4' -' type: int' -' expr: _col5' -' type: int' -' expr: _col8' -' type: int' -' expr: _col9' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3,_col4,_col5' -' columns.types int:int:int:int:int:int' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -180 rows selected ->>> select * from a right outer join a b on (a.key=b.key AND a.value=50 AND b.value=50 AND b.value>10) left outer join a c on (b.key=c.key AND b.value=60 AND b.value>20 AND c.value=60); -'key','value','key','value','key','value' -'','','100','40','','' -'100','50','100','50','','' -'','','100','60','100','60' -3 rows selected ->>> select /*+ MAPJOIN(a,c)*/ * from a right outer join a b on (a.key=b.key AND a.value=50 AND b.value=50 AND b.value>10) left outer join a c on (b.key=c.key AND b.value=60 AND b.value>20 AND c.value=60); -'key','value','key','value','key','value' -'','','100','40','','' -'100','50','100','50','','' -'','','100','60','100','60' -3 rows selected ->>> ->>> -- overlap on a, b ->>> explain extended select * from a full outer join a b on (a.key=b.key AND a.value=50 AND b.value=50) left outer join a c on (b.key=c.key AND b.value=60 AND c.value=60) left outer join a d on (a.key=d.key AND a.value=40 AND d.value=40); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_LEFTOUTERJOIN (TOK_FULLOUTERJOIN (TOK_TABREF (TOK_TABNAME a)) (TOK_TABREF (TOK_TABNAME a) b) (AND (AND (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL a) value) 50)) (= (. (TOK_TABLE_OR_COL b) value) 50))) (TOK_TABREF (TOK_TABNAME a) c) (AND (AND (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key)) (= (. (TOK_TABLE_OR_COL b) value) 60)) (= (. (TOK_TABLE_OR_COL c) value) 60))) (TOK_TABREF (TOK_TABNAME a) d) (AND (AND (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL d) key)) (= (. (TOK_TABLE_OR_COL a) value) 40)) (= (. (TOK_TABLE_OR_COL d) value) 40)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 1' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' c ' -' TableScan' -' alias: c' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (value = 60)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 3' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' d ' -' TableScan' -' alias: d' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (value = 40)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 2' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' Needs Tagging: true' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/join_filters_overlap.db/a [d, b, c, a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/join_filters_overlap.db/a ' -' Partition' -' base file name: a' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join_filters_overlap.db/a' -' name join_filters_overlap.a' -' numFiles 1' -' numPartitions 0' -' numRows 3' -' rawDataSize 18' -' serialization.ddl struct a { i32 key, i32 value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 21' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join_filters_overlap.db/a' -' name join_filters_overlap.a' -' numFiles 1' -' numPartitions 0' -' numRows 3' -' rawDataSize 18' -' serialization.ddl struct a { i32 key, i32 value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 21' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join_filters_overlap.a' -' name: join_filters_overlap.a' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Outer Join 0 to 1' -' Left Outer Join0 to 2' -' Left Outer Join1 to 3' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' 3 {VALUE._col0} {VALUE._col1}' -' filter mappings:' -' 0 [1, 1, 2, 1]' -' 1 [0, 1, 3, 1]' -' filter predicates:' -' 0 {(VALUE._col1 = 50)} {(VALUE._col1 = 40)}' -' 1 {(VALUE._col1 = 50)} {(VALUE._col1 = 60)}' -' 2 ' -' 3 ' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9, _col12, _col13' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col4' -' type: int' -' expr: _col5' -' type: int' -' expr: _col12' -' type: int' -' expr: _col13' -' type: int' -' expr: _col8' -' type: int' -' expr: _col9' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3,_col4,_col5,_col6,_col7' -' columns.types int:int:int:int:int:int:int:int' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -206 rows selected ->>> select * from a full outer join a b on (a.key=b.key AND a.value=50 AND b.value=50) left outer join a c on (b.key=c.key AND b.value=60 AND c.value=60) left outer join a d on (a.key=d.key AND a.value=40 AND d.value=40); -'key','value','key','value','key','value','key','value' -'100','40','','','','','100','40' -'','','100','40','','','','' -'100','40','','','','','100','40' -'100','40','','','','','100','40' -'','','100','60','100','60','','' -'100','50','','','','','','' -'','','100','40','','','','' -'100','50','100','50','','','','' -'100','50','','','','','','' -'','','100','60','100','60','','' -'100','60','','','','','','' -'','','100','40','','','','' -'100','60','','','','','','' -'100','60','','','','','','' -'','','100','60','100','60','','' -15 rows selected ->>> ->>> -- triple overlap on a ->>> explain extended select * from a left outer join a b on (a.key=b.key AND a.value=50 AND b.value=50) left outer join a c on (a.key=c.key AND a.value=60 AND c.value=60) left outer join a d on (a.key=d.key AND a.value=40 AND d.value=40); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_LEFTOUTERJOIN (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME a)) (TOK_TABREF (TOK_TABNAME a) b) (AND (AND (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL a) value) 50)) (= (. (TOK_TABLE_OR_COL b) value) 50))) (TOK_TABREF (TOK_TABNAME a) c) (AND (AND (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL c) key)) (= (. (TOK_TABLE_OR_COL a) value) 60)) (= (. (TOK_TABLE_OR_COL c) value) 60))) (TOK_TABREF (TOK_TABNAME a) d) (AND (AND (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL d) key)) (= (. (TOK_TABLE_OR_COL a) value) 40)) (= (. (TOK_TABLE_OR_COL d) value) 40)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (value = 50)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 1' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' c ' -' TableScan' -' alias: c' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (value = 60)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 2' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' d ' -' TableScan' -' alias: d' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (value = 40)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 3' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' Needs Tagging: true' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/join_filters_overlap.db/a [d, b, c, a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/join_filters_overlap.db/a ' -' Partition' -' base file name: a' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join_filters_overlap.db/a' -' name join_filters_overlap.a' -' numFiles 1' -' numPartitions 0' -' numRows 3' -' rawDataSize 18' -' serialization.ddl struct a { i32 key, i32 value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 21' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:int' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join_filters_overlap.db/a' -' name join_filters_overlap.a' -' numFiles 1' -' numPartitions 0' -' numRows 3' -' rawDataSize 18' -' serialization.ddl struct a { i32 key, i32 value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 21' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join_filters_overlap.a' -' name: join_filters_overlap.a' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' Left Outer Join0 to 2' -' Left Outer Join0 to 3' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' 3 {VALUE._col0} {VALUE._col1}' -' filter mappings:' -' 0 [1, 1, 2, 1, 3, 1]' -' filter predicates:' -' 0 {(VALUE._col1 = 50)} {(VALUE._col1 = 60)} {(VALUE._col1 = 40)}' -' 1 ' -' 2 ' -' 3 ' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9, _col12, _col13' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col4' -' type: int' -' expr: _col5' -' type: int' -' expr: _col8' -' type: int' -' expr: _col9' -' type: int' -' expr: _col12' -' type: int' -' expr: _col13' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3,_col4,_col5,_col6,_col7' -' columns.types int:int:int:int:int:int:int:int' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -210 rows selected ->>> select * from a left outer join a b on (a.key=b.key AND a.value=50 AND b.value=50) left outer join a c on (a.key=c.key AND a.value=60 AND c.value=60) left outer join a d on (a.key=d.key AND a.value=40 AND d.value=40); -'key','value','key','value','key','value','key','value' -'100','40','','','','','100','40' -'100','50','100','50','','','','' -'100','60','','','100','60','','' -3 rows selected ->>> select /*+ MAPJOIN(b,c, d)*/ * from a left outer join a b on (a.key=b.key AND a.value=50 AND b.value=50) left outer join a c on (a.key=c.key AND a.value=60 AND c.value=60) left outer join a d on (a.key=d.key AND a.value=40 AND d.value=40); -'key','value','key','value','key','value','key','value' -'100','40','','','','','100','40' -'100','50','100','50','','','','' -'100','60','','','100','60','','' -3 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/join_hive_626.q.out ql/src/test/results/beelinepositive/join_hive_626.q.out deleted file mode 100644 index e1a65ec..0000000 --- ql/src/test/results/beelinepositive/join_hive_626.q.out +++ /dev/null @@ -1,167 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join_hive_626.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join_hive_626.q ->>> ->>> ->>> ->>> ->>> create table hive_foo (foo_id int, foo_name string, foo_a string, foo_b string, -foo_c string, foo_d string) row format delimited fields terminated by ',' -stored as textfile; -No rows affected ->>> ->>> create table hive_bar (bar_id int, bar_0 int, foo_id int, bar_1 int, bar_name -string, bar_a string, bar_b string, bar_c string, bar_d string) row format -delimited fields terminated by ',' stored as textfile; -No rows affected ->>> ->>> create table hive_count (bar_id int, n int) row format delimited fields -terminated by ',' stored as textfile; -No rows affected ->>> ->>> load data local inpath '../data/files/hive_626_foo.txt' overwrite into table hive_foo; -No rows affected ->>> load data local inpath '../data/files/hive_626_bar.txt' overwrite into table hive_bar; -No rows affected ->>> load data local inpath '../data/files/hive_626_count.txt' overwrite into table hive_count; -No rows affected ->>> ->>> explain -select hive_foo.foo_name, hive_bar.bar_name, n from hive_foo join hive_bar on hive_foo.foo_id = -hive_bar.foo_id join hive_count on hive_count.bar_id = hive_bar.bar_id; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME hive_foo)) (TOK_TABREF (TOK_TABNAME hive_bar)) (= (. (TOK_TABLE_OR_COL hive_foo) foo_id) (. (TOK_TABLE_OR_COL hive_bar) foo_id))) (TOK_TABREF (TOK_TABNAME hive_count)) (= (. (TOK_TABLE_OR_COL hive_count) bar_id) (. (TOK_TABLE_OR_COL hive_bar) bar_id)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL hive_foo) foo_name)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL hive_bar) bar_name)) (TOK_SELEXPR (TOK_TABLE_OR_COL n)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' hive_bar ' -' TableScan' -' alias: hive_bar' -' Reduce Output Operator' -' key expressions:' -' expr: foo_id' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: foo_id' -' type: int' -' tag: 1' -' value expressions:' -' expr: bar_id' -' type: int' -' expr: bar_name' -' type: string' -' hive_foo ' -' TableScan' -' alias: hive_foo' -' Reduce Output Operator' -' key expressions:' -' expr: foo_id' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: foo_id' -' type: int' -' tag: 0' -' value expressions:' -' expr: foo_name' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col4}' -' handleSkewJoin: false' -' outputColumnNames: _col1, _col8, _col12' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col8' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col8' -' type: int' -' tag: 0' -' value expressions:' -' expr: _col1' -' type: string' -' expr: _col12' -' type: string' -' hive_count ' -' TableScan' -' alias: hive_count' -' Reduce Output Operator' -' key expressions:' -' expr: bar_id' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: bar_id' -' type: int' -' tag: 1' -' value expressions:' -' expr: n' -' type: int' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col1} {VALUE._col12}' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col1, _col12, _col20' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' expr: _col12' -' type: string' -' expr: _col20' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -123 rows selected ->>> ->>> select hive_foo.foo_name, hive_bar.bar_name, n from hive_foo join hive_bar on hive_foo.foo_id = -hive_bar.foo_id join hive_count on hive_count.bar_id = hive_bar.bar_id; -'foo_name','bar_name','n' -'foo1','bar10','2' -1 row selected ->>> ->>> ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/join_map_ppr.q.out ql/src/test/results/beelinepositive/join_map_ppr.q.out deleted file mode 100644 index e815106..0000000 --- ql/src/test/results/beelinepositive/join_map_ppr.q.out +++ /dev/null @@ -1,1057 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join_map_ppr.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join_map_ppr.q ->>> CREATE TABLE dest_j1(key STRING, value STRING, val2 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE dest_j1 -SELECT /*+ MAPJOIN(x,y) */ x.key, z.value, y.value -FROM src1 x JOIN src y ON (x.key = y.key) -JOIN srcpart z ON (x.key = z.key) -WHERE z.ds='2008-04-08' and z.hr=11; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME src1) x) (TOK_TABREF (TOK_TABNAME src) y) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL y) key))) (TOK_TABREF (TOK_TABNAME srcpart) z) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL z) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_j1))) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST x y))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL z) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL y) value))) (TOK_WHERE (and (= (. (TOK_TABLE_OR_COL z) ds) '2008-04-08') (= (. (TOK_TABLE_OR_COL z) hr) 11)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-10 is a root stage' -' Stage-1 depends on stages: Stage-10' -' 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-10' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' x ' -' Fetch Operator' -' limit: -1' -' y ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' x ' -' TableScan' -' alias: x' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key}' -' 1 {value}' -' 2 {value} {ds} {hr}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 2' -' y ' -' TableScan' -' alias: y' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key}' -' 1 {value}' -' 2 {value} {ds} {hr}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 2' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' z ' -' TableScan' -' alias: z' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 0 to 2' -' condition expressions:' -' 0 {key}' -' 1 {value}' -' 2 {value} {ds} {hr}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col5, _col9, _col10, _col11' -' Position of Big Table: 2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col5' -' type: string' -' expr: _col9' -' type: string' -' expr: _col10' -' type: string' -' expr: _col11' -' type: string' -' outputColumnNames: _col0, _col5, _col9, _col10, _col11' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col9' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join_map_ppr.db/dest_j1' -' name join_map_ppr.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join_map_ppr.dest_j1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/join_map_ppr.db/srcpart/ds=2008-04-08/hr=11 [z]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/join_map_ppr.db/srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join_map_ppr.db/srcpart/ds=2008-04-08/hr=11' -' name join_map_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join_map_ppr.db/srcpart' -' name join_map_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join_map_ppr.srcpart' -' name: join_map_ppr.srcpart' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join_map_ppr.db/dest_j1' -' name join_map_ppr.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join_map_ppr.dest_j1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join_map_ppr.db/dest_j1' -' name join_map_ppr.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join_map_ppr.dest_j1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join_map_ppr.db/dest_j1' -' name join_map_ppr.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join_map_ppr.db/dest_j1' -' name join_map_ppr.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join_map_ppr.dest_j1' -' name: join_map_ppr.dest_j1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join_map_ppr.db/dest_j1' -' name join_map_ppr.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join_map_ppr.dest_j1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join_map_ppr.db/dest_j1' -' name join_map_ppr.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join_map_ppr.db/dest_j1' -' name join_map_ppr.dest_j1' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join_map_ppr.dest_j1' -' name: join_map_ppr.dest_j1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -370 rows selected ->>> ->>> INSERT OVERWRITE TABLE dest_j1 -SELECT /*+ MAPJOIN(x,y) */ x.key, z.value, y.value -FROM src1 x JOIN src y ON (x.key = y.key) -JOIN srcpart z ON (x.key = z.key) -WHERE z.ds='2008-04-08' and z.hr=11; -'key','value','value' -No rows selected ->>> ->>> select * from dest_j1 x order by x.key; -'key','value','val2' -'128','val_128','val_128' -'128','val_128','val_128' -'128','val_128','val_128' -'128','val_128','val_128' -'128','val_128','val_128' -'128','val_128','val_128' -'128','val_128','val_128' -'128','val_128','val_128' -'128','val_128','val_128' -'146','val_146','val_146' -'146','val_146','val_146' -'146','val_146','val_146' -'146','val_146','val_146' -'150','val_150','val_150' -'213','val_213','val_213' -'213','val_213','val_213' -'213','val_213','val_213' -'213','val_213','val_213' -'224','val_224','val_224' -'224','val_224','val_224' -'224','val_224','val_224' -'224','val_224','val_224' -'238','val_238','val_238' -'238','val_238','val_238' -'238','val_238','val_238' -'238','val_238','val_238' -'255','val_255','val_255' -'255','val_255','val_255' -'255','val_255','val_255' -'255','val_255','val_255' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'278','val_278','val_278' -'278','val_278','val_278' -'278','val_278','val_278' -'278','val_278','val_278' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'369','val_369','val_369' -'369','val_369','val_369' -'369','val_369','val_369' -'369','val_369','val_369' -'369','val_369','val_369' -'369','val_369','val_369' -'369','val_369','val_369' -'369','val_369','val_369' -'369','val_369','val_369' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'66','val_66','val_66' -'98','val_98','val_98' -'98','val_98','val_98' -'98','val_98','val_98' -'98','val_98','val_98' -107 rows selected ->>> ->>> CREATE TABLE src_copy(key int, value string); -No rows affected ->>> CREATE TABLE src1_copy(key string, value string); -No rows affected ->>> INSERT OVERWRITE TABLE src_copy select key, value from src; -'_col0','_col1' -No rows selected ->>> INSERT OVERWRITE TABLE src1_copy select key, value from src1; -'key','value' -No rows selected ->>> ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE dest_j1 -SELECT /*+ MAPJOIN(x,y) */ x.key, z.value, y.value -FROM src1_copy x JOIN src_copy y ON (x.key = y.key) -JOIN srcpart z ON (x.key = z.key) -WHERE z.ds='2008-04-08' and z.hr=11; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME src1_copy) x) (TOK_TABREF (TOK_TABNAME src_copy) y) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL y) key))) (TOK_TABREF (TOK_TABNAME srcpart) z) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL z) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_j1))) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST x y))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL z) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL y) value))) (TOK_WHERE (and (= (. (TOK_TABLE_OR_COL z) ds) '2008-04-08') (= (. (TOK_TABLE_OR_COL z) hr) 11)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-10 is a root stage' -' Stage-1 depends on stages: Stage-10' -' 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-10' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' x ' -' Fetch Operator' -' limit: -1' -' y ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' x ' -' TableScan' -' alias: x' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key}' -' 1 {value}' -' 2 {value} {ds} {hr}' -' handleSkewJoin: false' -' keys:' -' 0 [class org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge(Column[key]()]' -' 1 [class org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge(Column[key]()]' -' 2 [class org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge(Column[key]()]' -' Position of Big Table: 2' -' y ' -' TableScan' -' alias: y' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key}' -' 1 {value}' -' 2 {value} {ds} {hr}' -' handleSkewJoin: false' -' keys:' -' 0 [class org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge(Column[key]()]' -' 1 [class org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge(Column[key]()]' -' 2 [class org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge(Column[key]()]' -' Position of Big Table: 2' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' z ' -' TableScan' -' alias: z' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 0 to 2' -' condition expressions:' -' 0 {key}' -' 1 {value}' -' 2 {value} {ds} {hr}' -' handleSkewJoin: false' -' keys:' -' 0 [class org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge(Column[key]()]' -' 1 [class org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge(Column[key]()]' -' 2 [class org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge(Column[key]()]' -' outputColumnNames: _col0, _col5, _col9, _col10, _col11' -' Position of Big Table: 2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col5' -' type: string' -' expr: _col9' -' type: string' -' expr: _col10' -' type: string' -' expr: _col11' -' type: string' -' outputColumnNames: _col0, _col5, _col9, _col10, _col11' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col9' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join_map_ppr.db/dest_j1' -' name join_map_ppr.dest_j1' -' numFiles 1' -' numPartitions 0' -' numRows 107' -' rawDataSize 2018' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2125' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join_map_ppr.dest_j1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/join_map_ppr.db/srcpart/ds=2008-04-08/hr=11 [z]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/join_map_ppr.db/srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join_map_ppr.db/srcpart/ds=2008-04-08/hr=11' -' name join_map_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join_map_ppr.db/srcpart' -' name join_map_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join_map_ppr.srcpart' -' name: join_map_ppr.srcpart' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join_map_ppr.db/dest_j1' -' name join_map_ppr.dest_j1' -' numFiles 1' -' numPartitions 0' -' numRows 107' -' rawDataSize 2018' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2125' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join_map_ppr.dest_j1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join_map_ppr.db/dest_j1' -' name join_map_ppr.dest_j1' -' numFiles 1' -' numPartitions 0' -' numRows 107' -' rawDataSize 2018' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2125' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join_map_ppr.dest_j1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join_map_ppr.db/dest_j1' -' name join_map_ppr.dest_j1' -' numFiles 1' -' numPartitions 0' -' numRows 107' -' rawDataSize 2018' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2125' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join_map_ppr.db/dest_j1' -' name join_map_ppr.dest_j1' -' numFiles 1' -' numPartitions 0' -' numRows 107' -' rawDataSize 2018' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2125' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join_map_ppr.dest_j1' -' name: join_map_ppr.dest_j1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join_map_ppr.db/dest_j1' -' name join_map_ppr.dest_j1' -' numFiles 1' -' numPartitions 0' -' numRows 107' -' rawDataSize 2018' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2125' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join_map_ppr.dest_j1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join_map_ppr.db/dest_j1' -' name join_map_ppr.dest_j1' -' numFiles 1' -' numPartitions 0' -' numRows 107' -' rawDataSize 2018' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2125' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,val2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/join_map_ppr.db/dest_j1' -' name join_map_ppr.dest_j1' -' numFiles 1' -' numPartitions 0' -' numRows 107' -' rawDataSize 2018' -' serialization.ddl struct dest_j1 { string key, string value, string val2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2125' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: join_map_ppr.dest_j1' -' name: join_map_ppr.dest_j1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -410 rows selected ->>> ->>> INSERT OVERWRITE TABLE dest_j1 -SELECT /*+ MAPJOIN(x,y) */ x.key, z.value, y.value -FROM src1_copy x JOIN src_copy y ON (x.key = y.key) -JOIN srcpart z ON (x.key = z.key) -WHERE z.ds='2008-04-08' and z.hr=11; -'key','value','value' -No rows selected ->>> ->>> select * from dest_j1 x order by x.key; -'key','value','val2' -'128','val_128','val_128' -'128','val_128','val_128' -'128','val_128','val_128' -'128','val_128','val_128' -'128','val_128','val_128' -'128','val_128','val_128' -'128','val_128','val_128' -'128','val_128','val_128' -'128','val_128','val_128' -'146','val_146','val_146' -'146','val_146','val_146' -'146','val_146','val_146' -'146','val_146','val_146' -'150','val_150','val_150' -'213','val_213','val_213' -'213','val_213','val_213' -'213','val_213','val_213' -'213','val_213','val_213' -'224','val_224','val_224' -'224','val_224','val_224' -'224','val_224','val_224' -'224','val_224','val_224' -'238','val_238','val_238' -'238','val_238','val_238' -'238','val_238','val_238' -'238','val_238','val_238' -'255','val_255','val_255' -'255','val_255','val_255' -'255','val_255','val_255' -'255','val_255','val_255' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'278','val_278','val_278' -'278','val_278','val_278' -'278','val_278','val_278' -'278','val_278','val_278' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'369','val_369','val_369' -'369','val_369','val_369' -'369','val_369','val_369' -'369','val_369','val_369' -'369','val_369','val_369' -'369','val_369','val_369' -'369','val_369','val_369' -'369','val_369','val_369' -'369','val_369','val_369' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'66','val_66','val_66' -'98','val_98','val_98' -'98','val_98','val_98' -'98','val_98','val_98' -'98','val_98','val_98' -107 rows selected ->>> ->>> ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/join_nulls.q.out ql/src/test/results/beelinepositive/join_nulls.q.out deleted file mode 100644 index e272a23..0000000 --- ql/src/test/results/beelinepositive/join_nulls.q.out +++ /dev/null @@ -1,360 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join_nulls.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join_nulls.q ->>> CREATE TABLE myinput1(key int, value int); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/in1.txt' INTO TABLE myinput1; -No rows affected ->>> ->>> SELECT * FROM myinput1 a JOIN myinput1 b ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','35','','35' -'','35','48','' -'','35','100','100' -'48','','','35' -'48','','48','' -'48','','100','100' -'100','100','','35' -'100','100','48','' -'100','100','100','100' -9 rows selected ->>> SELECT * FROM myinput1 a LEFT OUTER JOIN myinput1 b ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','35','','35' -'','35','48','' -'','35','100','100' -'48','','','35' -'48','','48','' -'48','','100','100' -'100','100','','35' -'100','100','48','' -'100','100','100','100' -9 rows selected ->>> SELECT * FROM myinput1 a RIGHT OUTER JOIN myinput1 b ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','35','','35' -'','35','48','' -'','35','100','100' -'48','','','35' -'48','','48','' -'48','','100','100' -'100','100','','35' -'100','100','48','' -'100','100','100','100' -9 rows selected ->>> SELECT * FROM myinput1 a JOIN myinput1 b ON a.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT * FROM myinput1 a JOIN myinput1 b ON a.key = b.key ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'48','','48','' -'100','100','100','100' -2 rows selected ->>> SELECT * FROM myinput1 a JOIN myinput1 b ON a.value = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','35','','35' -'100','100','100','100' -2 rows selected ->>> SELECT * FROM myinput1 a JOIN myinput1 b ON a.value = b.value and a.key=b.key ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT * FROM myinput1 a LEFT OUTER JOIN myinput1 b ON a.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','35','','' -'48','','','' -'100','100','100','100' -3 rows selected ->>> SELECT * FROM myinput1 a LEFT OUTER JOIN myinput1 b ON a.value = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','35','','35' -'48','','','' -'100','100','100','100' -3 rows selected ->>> SELECT * FROM myinput1 a LEFT OUTER JOIN myinput1 b ON a.key = b.key ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','35','','' -'48','','48','' -'100','100','100','100' -3 rows selected ->>> SELECT * FROM myinput1 a LEFT OUTER JOIN myinput1 b ON a.key = b.key and a.value=b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','35','','' -'48','','','' -'100','100','100','100' -3 rows selected ->>> SELECT * FROM myinput1 a RIGHT OUTER JOIN myinput1 b ON a.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','','','35' -'','','48','' -'100','100','100','100' -3 rows selected ->>> SELECT * FROM myinput1 a RIGHT OUTER JOIN myinput1 b ON a.key = b.key ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','','','35' -'48','','48','' -'100','100','100','100' -3 rows selected ->>> SELECT * FROM myinput1 a RIGHT OUTER JOIN myinput1 b ON a.value = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','','48','' -'','35','','35' -'100','100','100','100' -3 rows selected ->>> SELECT * FROM myinput1 a RIGHT OUTER JOIN myinput1 b ON a.key=b.key and a.value = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','','','35' -'','','48','' -'100','100','100','100' -3 rows selected ->>> SELECT * FROM myinput1 a FULL OUTER JOIN myinput1 b ON a.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','','','35' -'','','48','' -'','35','','' -'48','','','' -'100','100','100','100' -5 rows selected ->>> SELECT * FROM myinput1 a FULL OUTER JOIN myinput1 b ON a.key = b.key ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','','','35' -'','35','','' -'48','','48','' -'100','100','100','100' -4 rows selected ->>> SELECT * FROM myinput1 a FULL OUTER JOIN myinput1 b ON a.value = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','','48','' -'','35','','35' -'48','','','' -'100','100','100','100' -4 rows selected ->>> SELECT * FROM myinput1 a FULL OUTER JOIN myinput1 b ON a.value = b.value and a.key=b.key ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','','','35' -'','','48','' -'','35','','' -'48','','','' -'100','100','100','100' -5 rows selected ->>> ->>> SELECT * from myinput1 a LEFT OUTER JOIN myinput1 b ON (a.value=b.value) RIGHT OUTER JOIN myinput1 c ON (b.value=c.value) ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value','key','value' -'','','','','48','' -'','35','','35','','35' -'100','100','100','100','100','100' -3 rows selected ->>> SELECT * from myinput1 a RIGHT OUTER JOIN myinput1 b ON (a.value=b.value) LEFT OUTER JOIN myinput1 c ON (b.value=c.value) ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value','key','value' -'','','48','','','' -'','35','','35','','35' -'100','100','100','100','100','100' -3 rows selected ->>> SELECT * FROM myinput1 a LEFT OUTER JOIN myinput1 b RIGHT OUTER JOIN myinput1 c ON a.value = b.value and b.value = c.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value','key','value' -'','','','','48','' -'','35','','35','','35' -'100','100','100','100','100','100' -3 rows selected ->>> ->>> SELECT /*+ MAPJOIN(a) */ * FROM myinput1 a JOIN myinput1 b ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','35','','35' -'','35','48','' -'','35','100','100' -'48','','','35' -'48','','48','' -'48','','100','100' -'100','100','','35' -'100','100','48','' -'100','100','100','100' -9 rows selected ->>> SELECT /*+ MAPJOIN(a) */ * FROM myinput1 a JOIN myinput1 b ON a.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT /*+ MAPJOIN(a) */ * FROM myinput1 a JOIN myinput1 b ON a.key = b.key ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'48','','48','' -'100','100','100','100' -2 rows selected ->>> SELECT /*+ MAPJOIN(a) */ * FROM myinput1 a JOIN myinput1 b ON a.value = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','35','','35' -'100','100','100','100' -2 rows selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM myinput1 a JOIN myinput1 b ON a.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM myinput1 a JOIN myinput1 b ON a.key = b.key ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'48','','48','' -'100','100','100','100' -2 rows selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM myinput1 a JOIN myinput1 b ON a.value = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','35','','35' -'100','100','100','100' -2 rows selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM myinput1 a JOIN myinput1 b ON a.value = b.value and a.key = b.key ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -1 row selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM myinput1 a LEFT OUTER JOIN myinput1 b ON a.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','35','','' -'48','','','' -'100','100','100','100' -3 rows selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM myinput1 a LEFT OUTER JOIN myinput1 b ON a.key = b.key ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','35','','' -'48','','48','' -'100','100','100','100' -3 rows selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM myinput1 a LEFT OUTER JOIN myinput1 b ON a.value = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','35','','35' -'48','','','' -'100','100','100','100' -3 rows selected ->>> SELECT /*+ MAPJOIN(a) */ * FROM myinput1 a RIGHT OUTER JOIN myinput1 b ON a.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','','','35' -'','','48','' -'100','100','100','100' -3 rows selected ->>> SELECT /*+ MAPJOIN(a) */ * FROM myinput1 a RIGHT OUTER JOIN myinput1 b ON a.key = b.key ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','','','35' -'48','','48','' -'100','100','100','100' -3 rows selected ->>> SELECT /*+ MAPJOIN(a) */ * FROM myinput1 a RIGHT OUTER JOIN myinput1 b ON a.value = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','','48','' -'','35','','35' -'100','100','100','100' -3 rows selected ->>> ->>> CREATE TABLE smb_input1(key int, value int) CLUSTERED BY (key) SORTED BY (key) INTO 2 BUCKETS; -No rows affected ->>> CREATE TABLE smb_input2(key int, value int) CLUSTERED BY (value) SORTED BY (value) INTO 2 BUCKETS; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/in1.txt' into table smb_input1; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/in2.txt' into table smb_input1; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/in1.txt' into table smb_input2; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/in2.txt' into table smb_input2; -No rows affected ->>> ->>> SET hive.optimize.bucketmapJOIN = true; -No rows affected ->>> SET hive.optimize.bucketmapJOIN.sortedmerge = true; -No rows affected ->>> SET hive.input.format = org.apache.hadoop.hive.ql.io.BucketizedHiveInputFormat; -No rows affected ->>> ->>> SELECT /*+ MAPJOIN(a) */ * FROM smb_input1 a JOIN smb_input1 b ON a.key = b.key ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'48','','48','' -'100','100','100','100' -'148','','148','' -'200','200','200','200' -4 rows selected ->>> SELECT /*+ MAPJOIN(a) */ * FROM smb_input1 a JOIN smb_input1 b ON a.key = b.key AND a.value = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -'200','200','200','200' -2 rows selected ->>> SELECT /*+ MAPJOIN(a) */ * FROM smb_input1 a RIGHT OUTER JOIN smb_input1 b ON a.key = b.key ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','','','35' -'','','','135' -'48','','48','' -'100','100','100','100' -'148','','148','' -'200','200','200','200' -6 rows selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM smb_input1 a JOIN smb_input1 b ON a.key = b.key ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'48','','48','' -'100','100','100','100' -'148','','148','' -'200','200','200','200' -4 rows selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM smb_input1 a LEFT OUTER JOIN smb_input1 b ON a.key = b.key ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','35','','' -'','135','','' -'48','','48','' -'100','100','100','100' -'148','','148','' -'200','200','200','200' -6 rows selected ->>> ->>> SELECT /*+ MAPJOIN(a) */ * FROM smb_input1 a JOIN smb_input2 b ON a.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -'200','200','200','200' -2 rows selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM smb_input1 a JOIN smb_input2 b ON a.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'100','100','100','100' -'200','200','200','200' -2 rows selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM smb_input1 a LEFT OUTER JOIN smb_input2 b ON a.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','35','','' -'','135','','' -'48','','','' -'100','100','100','100' -'148','','','' -'200','200','200','200' -6 rows selected ->>> SELECT /*+ MAPJOIN(a) */ * FROM smb_input1 a RIGHT OUTER JOIN smb_input2 b ON a.key = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','','','35' -'','','','135' -'','','48','' -'','','148','' -'100','100','100','100' -'200','200','200','200' -6 rows selected ->>> ->>> SELECT /*+ MAPJOIN(a) */ * FROM smb_input2 a JOIN smb_input2 b ON a.value = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','35','','35' -'','135','','135' -'100','100','100','100' -'200','200','200','200' -4 rows selected ->>> SELECT /*+ MAPJOIN(a) */ * FROM smb_input2 a RIGHT OUTER JOIN smb_input2 b ON a.value = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','','48','' -'','','148','' -'','35','','35' -'','135','','135' -'100','100','100','100' -'200','200','200','200' -6 rows selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM smb_input2 a JOIN smb_input2 b ON a.value = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','35','','35' -'','135','','135' -'100','100','100','100' -'200','200','200','200' -4 rows selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM smb_input2 a LEFT OUTER JOIN smb_input2 b ON a.value = b.value ORDER BY a.key ASC, a.value ASC, b.key ASC, b.value ASC; -'key','value','key','value' -'','35','','35' -'','135','','135' -'48','','','' -'100','100','100','100' -'148','','','' -'200','200','200','200' -6 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/join_nullsafe.q.out ql/src/test/results/beelinepositive/join_nullsafe.q.out deleted file mode 100644 index af5cb13..0000000 --- ql/src/test/results/beelinepositive/join_nullsafe.q.out +++ /dev/null @@ -1,1556 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join_nullsafe.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join_nullsafe.q ->>> set hive.nullsafe.equijoin=true; -No rows affected ->>> ->>> CREATE TABLE myinput1(key int, value int); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/in8.txt' INTO TABLE myinput1; -No rows affected ->>> ->>> -- merging ->>> explain select * from myinput1 a join myinput1 b on a.key<=>b.value ORDER BY a.key, a.value, b.key, b.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME myinput1) a) (TOK_TABREF (TOK_TABNAME myinput1) b) (<=> (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) value)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL b) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL b) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: value' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: value' -' type: int' -' tag: 1' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' nullSafes: [true]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col4' -' type: int' -' expr: _col5' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: int' -' expr: _col3' -' type: int' -' sort order: ++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: int' -' expr: _col3' -' type: int' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -113 rows selected ->>> select * from myinput1 a join myinput1 b on a.key<=>b.value ORDER BY a.key, a.value, b.key, b.value; -'key','value','key','value' -'','','','' -'','','10','' -'','','48','' -'','10','','' -'','10','10','' -'','10','48','' -'','35','','' -'','35','10','' -'','35','48','' -'10','','','10' -'100','100','100','100' -11 rows selected ->>> ->>> explain select * from myinput1 a join myinput1 b on a.key<=>b.value join myinput1 c on a.key=c.key ORDER BY a.key, a.value, b.key, b.value, c.key, c.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME myinput1) a) (TOK_TABREF (TOK_TABNAME myinput1) b) (<=> (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) value))) (TOK_TABREF (TOK_TABNAME myinput1) c) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL b) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL b) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL c) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL c) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: value' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: value' -' type: int' -' tag: 1' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' c ' -' TableScan' -' alias: c' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 2' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 0 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col4' -' type: int' -' expr: _col5' -' type: int' -' expr: _col8' -' type: int' -' expr: _col9' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: int' -' expr: _col3' -' type: int' -' expr: _col4' -' type: int' -' expr: _col5' -' type: int' -' sort order: ++++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: int' -' expr: _col3' -' type: int' -' expr: _col4' -' type: int' -' expr: _col5' -' type: int' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -143 rows selected ->>> select * from myinput1 a join myinput1 b on a.key<=>b.value join myinput1 c on a.key=c.key ORDER BY a.key, a.value, b.key, b.value, c.key, c.value; -'key','value','key','value','key','value' -'10','','','10','10','' -'100','100','100','100','100','100' -2 rows selected ->>> ->>> explain select * from myinput1 a join myinput1 b on a.key<=>b.value join myinput1 c on a.key<=>c.key ORDER BY a.key, a.value, b.key, b.value, c.key, c.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME myinput1) a) (TOK_TABREF (TOK_TABNAME myinput1) b) (<=> (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) value))) (TOK_TABREF (TOK_TABNAME myinput1) c) (<=> (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL b) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL b) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL c) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL c) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: value' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: value' -' type: int' -' tag: 1' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' c ' -' TableScan' -' alias: c' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 2' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 0 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' nullSafes: [true]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col4' -' type: int' -' expr: _col5' -' type: int' -' expr: _col8' -' type: int' -' expr: _col9' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: int' -' expr: _col3' -' type: int' -' expr: _col4' -' type: int' -' expr: _col5' -' type: int' -' sort order: ++++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: int' -' expr: _col3' -' type: int' -' expr: _col4' -' type: int' -' expr: _col5' -' type: int' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -144 rows selected ->>> select * from myinput1 a join myinput1 b on a.key<=>b.value join myinput1 c on a.key<=>c.key ORDER BY a.key, a.value, b.key, b.value, c.key, c.value; -'key','value','key','value','key','value' -'','','','','','' -'','','','','','10' -'','','','','','35' -'','','10','','','' -'','','10','','','10' -'','','10','','','35' -'','','48','','','' -'','','48','','','10' -'','','48','','','35' -'','10','','','','' -'','10','','','','10' -'','10','','','','35' -'','10','10','','','' -'','10','10','','','10' -'','10','10','','','35' -'','10','48','','','' -'','10','48','','','10' -'','10','48','','','35' -'','35','','','','' -'','35','','','','10' -'','35','','','','35' -'','35','10','','','' -'','35','10','','','10' -'','35','10','','','35' -'','35','48','','','' -'','35','48','','','10' -'','35','48','','','35' -'10','','','10','10','' -'100','100','100','100','100','100' -29 rows selected ->>> ->>> explain select * from myinput1 a join myinput1 b on a.key<=>b.value AND a.value=b.key join myinput1 c on a.key<=>c.key AND a.value=c.value ORDER BY a.key, a.value, b.key, b.value, c.key, c.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME myinput1) a) (TOK_TABREF (TOK_TABNAME myinput1) b) (AND (<=> (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) value)) (= (. (TOK_TABLE_OR_COL a) value) (. (TOK_TABLE_OR_COL b) key)))) (TOK_TABREF (TOK_TABNAME myinput1) c) (AND (<=> (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL c) key)) (= (. (TOK_TABLE_OR_COL a) value) (. (TOK_TABLE_OR_COL c) value))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL b) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL b) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL c) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL c) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' tag: 0' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: value' -' type: int' -' expr: key' -' type: int' -' sort order: ++' -' Map-reduce partition columns:' -' expr: value' -' type: int' -' expr: key' -' type: int' -' tag: 1' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' c ' -' TableScan' -' alias: c' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' tag: 2' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 0 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' nullSafes: [true, false]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col4' -' type: int' -' expr: _col5' -' type: int' -' expr: _col8' -' type: int' -' expr: _col9' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: int' -' expr: _col3' -' type: int' -' expr: _col4' -' type: int' -' expr: _col5' -' type: int' -' sort order: ++++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: int' -' expr: _col3' -' type: int' -' expr: _col4' -' type: int' -' expr: _col5' -' type: int' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -156 rows selected ->>> select * from myinput1 a join myinput1 b on a.key<=>b.value AND a.value=b.key join myinput1 c on a.key<=>c.key AND a.value=c.value ORDER BY a.key, a.value, b.key, b.value, c.key, c.value; -'key','value','key','value','key','value' -'','10','10','','','10' -'100','100','100','100','100','100' -2 rows selected ->>> ->>> explain select * from myinput1 a join myinput1 b on a.key<=>b.value AND a.value<=>b.key join myinput1 c on a.key<=>c.key AND a.value<=>c.value ORDER BY a.key, a.value, b.key, b.value, c.key, c.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME myinput1) a) (TOK_TABREF (TOK_TABNAME myinput1) b) (AND (<=> (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) value)) (<=> (. (TOK_TABLE_OR_COL a) value) (. (TOK_TABLE_OR_COL b) key)))) (TOK_TABREF (TOK_TABNAME myinput1) c) (AND (<=> (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL c) key)) (<=> (. (TOK_TABLE_OR_COL a) value) (. (TOK_TABLE_OR_COL c) value))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL b) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL b) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL c) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL c) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' tag: 0' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: value' -' type: int' -' expr: key' -' type: int' -' sort order: ++' -' Map-reduce partition columns:' -' expr: value' -' type: int' -' expr: key' -' type: int' -' tag: 1' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' c ' -' TableScan' -' alias: c' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' tag: 2' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 0 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' nullSafes: [true, true]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col4' -' type: int' -' expr: _col5' -' type: int' -' expr: _col8' -' type: int' -' expr: _col9' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: int' -' expr: _col3' -' type: int' -' expr: _col4' -' type: int' -' expr: _col5' -' type: int' -' sort order: ++++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: int' -' expr: _col3' -' type: int' -' expr: _col4' -' type: int' -' expr: _col5' -' type: int' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -156 rows selected ->>> select * from myinput1 a join myinput1 b on a.key<=>b.value AND a.value<=>b.key join myinput1 c on a.key<=>c.key AND a.value<=>c.value ORDER BY a.key, a.value, b.key, b.value, c.key, c.value; -'key','value','key','value','key','value' -'','','','','','' -'','10','10','','','10' -'10','','','10','10','' -'100','100','100','100','100','100' -4 rows selected ->>> ->>> -- outer joins ->>> SELECT * FROM myinput1 a LEFT OUTER JOIN myinput1 b ON a.key<=>b.value ORDER BY a.key, a.value, b.key, b.value; -'key','value','key','value' -'','','','' -'','','10','' -'','','48','' -'','10','','' -'','10','10','' -'','10','48','' -'','35','','' -'','35','10','' -'','35','48','' -'10','','','10' -'48','','','' -'100','100','100','100' -12 rows selected ->>> SELECT * FROM myinput1 a RIGHT OUTER JOIN myinput1 b ON a.key<=>b.value ORDER BY a.key, a.value, b.key, b.value; -'key','value','key','value' -'','','','' -'','','','35' -'','','10','' -'','','48','' -'','10','','' -'','10','10','' -'','10','48','' -'','35','','' -'','35','10','' -'','35','48','' -'10','','','10' -'100','100','100','100' -12 rows selected ->>> SELECT * FROM myinput1 a FULL OUTER JOIN myinput1 b ON a.key<=>b.value ORDER BY a.key, a.value, b.key, b.value; -'key','value','key','value' -'','','','' -'','','','35' -'','','10','' -'','','48','' -'','10','','' -'','10','10','' -'','10','48','' -'','35','','' -'','35','10','' -'','35','48','' -'10','','','10' -'48','','','' -'100','100','100','100' -13 rows selected ->>> ->>> -- map joins ->>> SELECT /*+ MAPJOIN(a) */ * FROM myinput1 a JOIN myinput1 b ON a.key<=>b.value ORDER BY a.key, a.value, b.key, b.value; -'key','value','key','value' -'','','','' -'','','10','' -'','','48','' -'','10','','' -'','10','10','' -'','10','48','' -'','35','','' -'','35','10','' -'','35','48','' -'10','','','10' -'100','100','100','100' -11 rows selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM myinput1 a JOIN myinput1 b ON a.key<=>b.value ORDER BY a.key, a.value, b.key, b.value; -'key','value','key','value' -'','','','' -'','','10','' -'','','48','' -'','10','','' -'','10','10','' -'','10','48','' -'','35','','' -'','35','10','' -'','35','48','' -'10','','','10' -'100','100','100','100' -11 rows selected ->>> ->>> -- smbs ->>> CREATE TABLE smb_input1(key int, value int) CLUSTERED BY (key) SORTED BY (key) INTO 2 BUCKETS; -No rows affected ->>> CREATE TABLE smb_input2(key int, value int) CLUSTERED BY (value) SORTED BY (value) INTO 2 BUCKETS; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/in8.txt' into table smb_input1; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/in9.txt' into table smb_input1; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/in8.txt' into table smb_input2; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/in9.txt' into table smb_input2; -No rows affected ->>> ->>> SET hive.optimize.bucketmapJOIN = true; -No rows affected ->>> SET hive.optimize.bucketmapJOIN.sortedmerge = true; -No rows affected ->>> SET hive.input.format = org.apache.hadoop.hive.ql.io.BucketizedHiveInputFormat; -No rows affected ->>> ->>> SELECT /*+ MAPJOIN(a) */ * FROM smb_input1 a JOIN smb_input1 b ON a.key <=> b.key ORDER BY a.key, a.value, b.key, b.value; -'key','value','key','value' -'','','','' -'','','','' -'','','','' -'','','','' -'','','','10' -'','','','10' -'','','','35' -'','','','35' -'','','','110' -'','','','110' -'','','','135' -'','','','135' -'','10','','' -'','10','','' -'','10','','10' -'','10','','35' -'','10','','110' -'','10','','135' -'','35','','' -'','35','','' -'','35','','10' -'','35','','35' -'','35','','110' -'','35','','135' -'','110','','' -'','110','','' -'','110','','10' -'','110','','35' -'','110','','110' -'','110','','135' -'','135','','' -'','135','','' -'','135','','10' -'','135','','35' -'','135','','110' -'','135','','135' -'10','','10','' -'48','','48','' -'100','100','100','100' -'110','','110','' -'148','','148','' -'200','200','200','200' -42 rows selected ->>> SELECT /*+ MAPJOIN(a) */ * FROM smb_input1 a JOIN smb_input1 b ON a.key <=> b.key AND a.value <=> b.value ORDER BY a.key, a.value, b.key, b.value; -'key','value','key','value' -'','','','' -'','','','' -'','','','' -'','','','' -'100','100','100','100' -'200','200','200','200' -6 rows selected ->>> SELECT /*+ MAPJOIN(a) */ * FROM smb_input1 a RIGHT OUTER JOIN smb_input1 b ON a.key <=> b.key ORDER BY a.key, a.value, b.key, b.value; -'key','value','key','value' -'','','','' -'','','','' -'','','','' -'','','','' -'','','','10' -'','','','10' -'','','','35' -'','','','35' -'','','','110' -'','','','110' -'','','','135' -'','','','135' -'','10','','' -'','10','','' -'','10','','10' -'','10','','35' -'','10','','110' -'','10','','135' -'','35','','' -'','35','','' -'','35','','10' -'','35','','35' -'','35','','110' -'','35','','135' -'','110','','' -'','110','','' -'','110','','10' -'','110','','35' -'','110','','110' -'','110','','135' -'','135','','' -'','135','','' -'','135','','10' -'','135','','35' -'','135','','110' -'','135','','135' -'10','','10','' -'48','','48','' -'100','100','100','100' -'110','','110','' -'148','','148','' -'200','200','200','200' -42 rows selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM smb_input1 a JOIN smb_input1 b ON a.key <=> b.key ORDER BY a.key, a.value, b.key, b.value; -'key','value','key','value' -'','','','' -'','','','' -'','','','' -'','','','' -'','','','10' -'','','','10' -'','','','35' -'','','','35' -'','','','110' -'','','','110' -'','','','135' -'','','','135' -'','10','','' -'','10','','' -'','10','','10' -'','10','','35' -'','10','','110' -'','10','','135' -'','35','','' -'','35','','' -'','35','','10' -'','35','','35' -'','35','','110' -'','35','','135' -'','110','','' -'','110','','' -'','110','','10' -'','110','','35' -'','110','','110' -'','110','','135' -'','135','','' -'','135','','' -'','135','','10' -'','135','','35' -'','135','','110' -'','135','','135' -'10','','10','' -'48','','48','' -'100','100','100','100' -'110','','110','' -'148','','148','' -'200','200','200','200' -42 rows selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM smb_input1 a LEFT OUTER JOIN smb_input1 b ON a.key <=> b.key ORDER BY a.key, a.value, b.key, b.value; -'key','value','key','value' -'','','','' -'','','','' -'','','','' -'','','','' -'','','','10' -'','','','10' -'','','','35' -'','','','35' -'','','','110' -'','','','110' -'','','','135' -'','','','135' -'','10','','' -'','10','','' -'','10','','10' -'','10','','35' -'','10','','110' -'','10','','135' -'','35','','' -'','35','','' -'','35','','10' -'','35','','35' -'','35','','110' -'','35','','135' -'','110','','' -'','110','','' -'','110','','10' -'','110','','35' -'','110','','110' -'','110','','135' -'','135','','' -'','135','','' -'','135','','10' -'','135','','35' -'','135','','110' -'','135','','135' -'10','','10','' -'48','','48','' -'100','100','100','100' -'110','','110','' -'148','','148','' -'200','200','200','200' -42 rows selected ->>> ->>> SELECT /*+ MAPJOIN(a) */ * FROM smb_input1 a JOIN smb_input2 b ON a.key <=> b.value ORDER BY a.key, a.value, b.key, b.value; -'key','value','key','value' -'','','','' -'','','','' -'','','','' -'','','','' -'','','10','' -'','','10','' -'','','48','' -'','','48','' -'','','110','' -'','','110','' -'','','148','' -'','','148','' -'','10','','' -'','10','','' -'','10','10','' -'','10','48','' -'','10','110','' -'','10','148','' -'','35','','' -'','35','','' -'','35','10','' -'','35','48','' -'','35','110','' -'','35','148','' -'','110','','' -'','110','','' -'','110','10','' -'','110','48','' -'','110','110','' -'','110','148','' -'','135','','' -'','135','','' -'','135','10','' -'','135','48','' -'','135','110','' -'','135','148','' -'10','','','10' -'100','100','100','100' -'110','','','110' -'200','200','200','200' -40 rows selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM smb_input1 a JOIN smb_input2 b ON a.key <=> b.value ORDER BY a.key, a.value, b.key, b.value; -'key','value','key','value' -'','','','' -'','','','' -'','','','' -'','','','' -'','','10','' -'','','10','' -'','','48','' -'','','48','' -'','','110','' -'','','110','' -'','','148','' -'','','148','' -'','10','','' -'','10','','' -'','10','10','' -'','10','48','' -'','10','110','' -'','10','148','' -'','35','','' -'','35','','' -'','35','10','' -'','35','48','' -'','35','110','' -'','35','148','' -'','110','','' -'','110','','' -'','110','10','' -'','110','48','' -'','110','110','' -'','110','148','' -'','135','','' -'','135','','' -'','135','10','' -'','135','48','' -'','135','110','' -'','135','148','' -'10','','','10' -'100','100','100','100' -'110','','','110' -'200','200','200','200' -40 rows selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM smb_input1 a LEFT OUTER JOIN smb_input2 b ON a.key <=> b.value ORDER BY a.key, a.value, b.key, b.value; -'key','value','key','value' -'','','','' -'','','','' -'','','','' -'','','','' -'','','10','' -'','','10','' -'','','48','' -'','','48','' -'','','110','' -'','','110','' -'','','148','' -'','','148','' -'','10','','' -'','10','','' -'','10','10','' -'','10','48','' -'','10','110','' -'','10','148','' -'','35','','' -'','35','','' -'','35','10','' -'','35','48','' -'','35','110','' -'','35','148','' -'','110','','' -'','110','','' -'','110','10','' -'','110','48','' -'','110','110','' -'','110','148','' -'','135','','' -'','135','','' -'','135','10','' -'','135','48','' -'','135','110','' -'','135','148','' -'10','','','10' -'48','','','' -'100','100','100','100' -'110','','','110' -'148','','','' -'200','200','200','200' -42 rows selected ->>> SELECT /*+ MAPJOIN(a) */ * FROM smb_input1 a RIGHT OUTER JOIN smb_input2 b ON a.key <=> b.value ORDER BY a.key, a.value, b.key, b.value; -'key','value','key','value' -'','','','' -'','','','' -'','','','' -'','','','' -'','','','35' -'','','','135' -'','','10','' -'','','10','' -'','','48','' -'','','48','' -'','','110','' -'','','110','' -'','','148','' -'','','148','' -'','10','','' -'','10','','' -'','10','10','' -'','10','48','' -'','10','110','' -'','10','148','' -'','35','','' -'','35','','' -'','35','10','' -'','35','48','' -'','35','110','' -'','35','148','' -'','110','','' -'','110','','' -'','110','10','' -'','110','48','' -'','110','110','' -'','110','148','' -'','135','','' -'','135','','' -'','135','10','' -'','135','48','' -'','135','110','' -'','135','148','' -'10','','','10' -'100','100','100','100' -'110','','','110' -'200','200','200','200' -42 rows selected ->>> ->>> SELECT /*+ MAPJOIN(a) */ * FROM smb_input2 a JOIN smb_input2 b ON a.value <=> b.value ORDER BY a.key, a.value, b.key, b.value; -'key','value','key','value' -'','','','' -'','','','' -'','','','' -'','','','' -'','','10','' -'','','10','' -'','','48','' -'','','48','' -'','','110','' -'','','110','' -'','','148','' -'','','148','' -'','10','','10' -'','35','','35' -'','110','','110' -'','135','','135' -'10','','','' -'10','','','' -'10','','10','' -'10','','48','' -'10','','110','' -'10','','148','' -'48','','','' -'48','','','' -'48','','10','' -'48','','48','' -'48','','110','' -'48','','148','' -'100','100','100','100' -'110','','','' -'110','','','' -'110','','10','' -'110','','48','' -'110','','110','' -'110','','148','' -'148','','','' -'148','','','' -'148','','10','' -'148','','48','' -'148','','110','' -'148','','148','' -'200','200','200','200' -42 rows selected ->>> SELECT /*+ MAPJOIN(a) */ * FROM smb_input2 a RIGHT OUTER JOIN smb_input2 b ON a.value <=> b.value ORDER BY a.key, a.value, b.key, b.value; -'key','value','key','value' -'','','','' -'','','','' -'','','','' -'','','','' -'','','10','' -'','','10','' -'','','48','' -'','','48','' -'','','110','' -'','','110','' -'','','148','' -'','','148','' -'','10','','10' -'','35','','35' -'','110','','110' -'','135','','135' -'10','','','' -'10','','','' -'10','','10','' -'10','','48','' -'10','','110','' -'10','','148','' -'48','','','' -'48','','','' -'48','','10','' -'48','','48','' -'48','','110','' -'48','','148','' -'100','100','100','100' -'110','','','' -'110','','','' -'110','','10','' -'110','','48','' -'110','','110','' -'110','','148','' -'148','','','' -'148','','','' -'148','','10','' -'148','','48','' -'148','','110','' -'148','','148','' -'200','200','200','200' -42 rows selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM smb_input2 a JOIN smb_input2 b ON a.value <=> b.value ORDER BY a.key, a.value, b.key, b.value; -'key','value','key','value' -'','','','' -'','','','' -'','','','' -'','','','' -'','','10','' -'','','10','' -'','','48','' -'','','48','' -'','','110','' -'','','110','' -'','','148','' -'','','148','' -'','10','','10' -'','35','','35' -'','110','','110' -'','135','','135' -'10','','','' -'10','','','' -'10','','10','' -'10','','48','' -'10','','110','' -'10','','148','' -'48','','','' -'48','','','' -'48','','10','' -'48','','48','' -'48','','110','' -'48','','148','' -'100','100','100','100' -'110','','','' -'110','','','' -'110','','10','' -'110','','48','' -'110','','110','' -'110','','148','' -'148','','','' -'148','','','' -'148','','10','' -'148','','48','' -'148','','110','' -'148','','148','' -'200','200','200','200' -42 rows selected ->>> SELECT /*+ MAPJOIN(b) */ * FROM smb_input2 a LEFT OUTER JOIN smb_input2 b ON a.value <=> b.value ORDER BY a.key, a.value, b.key, b.value; -'key','value','key','value' -'','','','' -'','','','' -'','','','' -'','','','' -'','','10','' -'','','10','' -'','','48','' -'','','48','' -'','','110','' -'','','110','' -'','','148','' -'','','148','' -'','10','','10' -'','35','','35' -'','110','','110' -'','135','','135' -'10','','','' -'10','','','' -'10','','10','' -'10','','48','' -'10','','110','' -'10','','148','' -'48','','','' -'48','','','' -'48','','10','' -'48','','48','' -'48','','110','' -'48','','148','' -'100','100','100','100' -'110','','','' -'110','','','' -'110','','10','' -'110','','48','' -'110','','110','' -'110','','148','' -'148','','','' -'148','','','' -'148','','10','' -'148','','48','' -'148','','110','' -'148','','148','' -'200','200','200','200' -42 rows selected ->>> ->>> --HIVE-3315 join predicate transitive ->>> explain select * from myinput1 a join myinput1 b on a.key<=>b.value AND a.key is NULL; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME myinput1) a) (TOK_TABREF (TOK_TABNAME myinput1) b) (AND (<=> (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) value)) (TOK_FUNCTION TOK_ISNULL (. (TOK_TABLE_OR_COL a) key))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: key is null' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: value is null' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: value' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: value' -' type: int' -' tag: 1' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' nullSafes: [true]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col4' -' type: int' -' expr: _col5' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -86 rows selected ->>> select * from myinput1 a join myinput1 b on a.key<=>b.value AND a.key is NULL; -'key','value','key','value' -'','','','' -'','','10','' -'','','48','' -'','10','','' -'','10','10','' -'','10','48','' -'','35','','' -'','35','10','' -'','35','48','' -9 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/join_rc.q.out ql/src/test/results/beelinepositive/join_rc.q.out deleted file mode 100644 index 1b21e16..0000000 --- ql/src/test/results/beelinepositive/join_rc.q.out +++ /dev/null @@ -1,1126 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join_rc.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join_rc.q ->>> ->>> ->>> create table join_rc1(key string, value string) stored as RCFile; -No rows affected ->>> create table join_rc2(key string, value string) stored as RCFile; -No rows affected ->>> insert overwrite table join_rc1 select * from src; -'key','value' -No rows selected ->>> insert overwrite table join_rc2 select * from src; -'key','value' -No rows selected ->>> ->>> explain -select join_rc1.key, join_rc2.value -FROM join_rc1 JOIN join_rc2 ON join_rc1.key = join_rc2.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME join_rc1)) (TOK_TABREF (TOK_TABNAME join_rc2)) (= (. (TOK_TABLE_OR_COL join_rc1) key) (. (TOK_TABLE_OR_COL join_rc2) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL join_rc1) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL join_rc2) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' join_rc1 ' -' TableScan' -' alias: join_rc1' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' join_rc2 ' -' TableScan' -' alias: join_rc2' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -69 rows selected ->>> ->>> select join_rc1.key, join_rc2.value -FROM join_rc1 JOIN join_rc2 ON join_rc1.key = join_rc2.key; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'10','val_10' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'105','val_105' -'11','val_11' -'111','val_111' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'114','val_114' -'116','val_116' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'126','val_126' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'131','val_131' -'133','val_133' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'136','val_136' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'143','val_143' -'145','val_145' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'150','val_150' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'153','val_153' -'155','val_155' -'156','val_156' -'157','val_157' -'158','val_158' -'160','val_160' -'162','val_162' -'163','val_163' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'166','val_166' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'168','val_168' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'17','val_17' -'170','val_170' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'177','val_177' -'178','val_178' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'180','val_180' -'181','val_181' -'183','val_183' -'186','val_186' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'189','val_189' -'19','val_19' -'190','val_190' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'192','val_192' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'194','val_194' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'196','val_196' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'2','val_2' -'20','val_20' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'201','val_201' -'202','val_202' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'214','val_214' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'218','val_218' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'222','val_222' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'226','val_226' -'228','val_228' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'235','val_235' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'241','val_241' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'244','val_244' -'247','val_247' -'248','val_248' -'249','val_249' -'252','val_252' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'257','val_257' -'258','val_258' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'260','val_260' -'262','val_262' -'263','val_263' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'266','val_266' -'27','val_27' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'274','val_274' -'275','val_275' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'28','val_28' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'283','val_283' -'284','val_284' -'285','val_285' -'286','val_286' -'287','val_287' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'289','val_289' -'291','val_291' -'292','val_292' -'296','val_296' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'30','val_30' -'302','val_302' -'305','val_305' -'306','val_306' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'308','val_308' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'310','val_310' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'315','val_315' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'323','val_323' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'33','val_33' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'332','val_332' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'335','val_335' -'336','val_336' -'338','val_338' -'339','val_339' -'34','val_34' -'341','val_341' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'345','val_345' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'351','val_351' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'356','val_356' -'360','val_360' -'362','val_362' -'364','val_364' -'365','val_365' -'366','val_366' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'368','val_368' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'373','val_373' -'374','val_374' -'375','val_375' -'377','val_377' -'378','val_378' -'379','val_379' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'386','val_386' -'389','val_389' -'392','val_392' -'393','val_393' -'394','val_394' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'4','val_4' -'400','val_400' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'402','val_402' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'407','val_407' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'41','val_41' -'411','val_411' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'418','val_418' -'419','val_419' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'421','val_421' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'427','val_427' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'43','val_43' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'432','val_432' -'435','val_435' -'436','val_436' -'437','val_437' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'44','val_44' -'443','val_443' -'444','val_444' -'446','val_446' -'448','val_448' -'449','val_449' -'452','val_452' -'453','val_453' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'455','val_455' -'457','val_457' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'460','val_460' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'467','val_467' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'47','val_47' -'470','val_470' -'472','val_472' -'475','val_475' -'477','val_477' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'479','val_479' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'481','val_481' -'482','val_482' -'483','val_483' -'484','val_484' -'485','val_485' -'487','val_487' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'490','val_490' -'491','val_491' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'493','val_493' -'494','val_494' -'495','val_495' -'496','val_496' -'497','val_497' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'53','val_53' -'54','val_54' -'57','val_57' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'64','val_64' -'65','val_65' -'66','val_66' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'69','val_69' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'74','val_74' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'77','val_77' -'78','val_78' -'8','val_8' -'80','val_80' -'82','val_82' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'9','val_9' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'96','val_96' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -1,028 rows selected ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/join_reorder.q.out ql/src/test/results/beelinepositive/join_reorder.q.out deleted file mode 100644 index e314849..0000000 --- ql/src/test/results/beelinepositive/join_reorder.q.out +++ /dev/null @@ -1,742 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join_reorder.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join_reorder.q ->>> ->>> ->>> ->>> ->>> CREATE TABLE T1(key STRING, val STRING) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE T2(key STRING, val STRING) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE T3(key STRING, val STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T1.txt' INTO TABLE T1; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/T2.txt' INTO TABLE T2; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/T3.txt' INTO TABLE T3; -No rows affected ->>> ->>> EXPLAIN FROM T1 a JOIN src c ON c.key+1=a.key -SELECT a.key, a.val, c.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME src) c) (= (+ (. (TOK_TABLE_OR_COL c) key) 1) (. (TOK_TABLE_OR_COL a) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) val)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: UDFToDouble(key)' -' type: double' -' sort order: +' -' Map-reduce partition columns:' -' expr: UDFToDouble(key)' -' type: double' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' c ' -' TableScan' -' alias: c' -' Reduce Output Operator' -' key expressions:' -' expr: (key + 1)' -' type: double' -' sort order: +' -' Map-reduce partition columns:' -' expr: (key + 1)' -' type: double' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -73 rows selected ->>> ->>> EXPLAIN FROM T1 a JOIN src c ON c.key+1=a.key -SELECT /*+ STREAMTABLE(a) */ a.key, a.val, c.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME src) c) (= (+ (. (TOK_TABLE_OR_COL c) key) 1) (. (TOK_TABLE_OR_COL a) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_STREAMTABLE (TOK_HINTARGLIST a))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) val)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: UDFToDouble(key)' -' type: double' -' sort order: +' -' Map-reduce partition columns:' -' expr: UDFToDouble(key)' -' type: double' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' c ' -' TableScan' -' alias: c' -' Reduce Output Operator' -' key expressions:' -' expr: (key + 1)' -' type: double' -' sort order: +' -' Map-reduce partition columns:' -' expr: (key + 1)' -' type: double' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -73 rows selected ->>> ->>> FROM T1 a JOIN src c ON c.key+1=a.key -SELECT a.key, a.val, c.key; -'key','val','key' -'1','11','0' -'1','11','0' -'1','11','0' -'3','13','2' -4 rows selected ->>> ->>> FROM T1 a JOIN src c ON c.key+1=a.key -SELECT /*+ STREAMTABLE(a) */ a.key, a.val, c.key; -'key','val','key' -'1','11','0' -'1','11','0' -'1','11','0' -'3','13','2' -4 rows selected ->>> ->>> EXPLAIN FROM T1 a -LEFT OUTER JOIN T2 b ON (b.key=a.key) -RIGHT OUTER JOIN T3 c ON (c.val = a.val) -SELECT a.key, b.key, a.val, c.val; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL a) key))) (TOK_TABREF (TOK_TABNAME T3) c) (= (. (TOK_TABLE_OR_COL c) val) (. (TOK_TABLE_OR_COL a) val)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) val)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) val)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col1' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col4' -' type: string' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' c ' -' TableScan' -' alias: c' -' Reduce Output Operator' -' key expressions:' -' expr: val' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: val' -' type: string' -' tag: 1' -' value expressions:' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col4} {VALUE._col5}' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col4, _col5, _col9' -' Select Operator' -' expressions:' -' expr: _col4' -' type: string' -' expr: _col0' -' type: string' -' expr: _col5' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -127 rows selected ->>> ->>> EXPLAIN FROM T1 a -LEFT OUTER JOIN T2 b ON (b.key=a.key) -RIGHT OUTER JOIN T3 c ON (c.val = a.val) -SELECT /*+ STREAMTABLE(a) */ a.key, b.key, a.val, c.val; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL a) key))) (TOK_TABREF (TOK_TABNAME T3) c) (= (. (TOK_TABLE_OR_COL c) val) (. (TOK_TABLE_OR_COL a) val)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_STREAMTABLE (TOK_HINTARGLIST a))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) val)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) val)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col1' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col4' -' type: string' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' c ' -' TableScan' -' alias: c' -' Reduce Output Operator' -' key expressions:' -' expr: val' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: val' -' type: string' -' tag: 0' -' value expressions:' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col4} {VALUE._col5}' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col4, _col5, _col9' -' Select Operator' -' expressions:' -' expr: _col4' -' type: string' -' expr: _col0' -' type: string' -' expr: _col5' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -127 rows selected ->>> ->>> FROM T1 a -LEFT OUTER JOIN T2 b ON (b.key=a.key) -RIGHT OUTER JOIN T3 c ON (c.val = a.val) -SELECT a.key, b.key, a.val, c.val; -'key','key','val','val' -'2','2','12','12' -'','','','14' -'','','','16' -'7','','17','17' -4 rows selected ->>> ->>> FROM T1 a -LEFT OUTER JOIN T2 b ON (b.key=a.key) -RIGHT OUTER JOIN T3 c ON (c.val = a.val) -SELECT /*+ STREAMTABLE(a) */ a.key, b.key, a.val, c.val; -'key','key','val','val' -'2','2','12','12' -'','','','14' -'','','','16' -'7','','17','17' -4 rows selected ->>> ->>> EXPLAIN FROM UNIQUEJOIN -PRESERVE T1 a (a.key, a.val), -PRESERVE T2 b (b.key, b.val), -PRESERVE T3 c (c.key, c.val) -SELECT a.key, b.key, c.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_UNIQUEJOIN PRESERVE (TOK_TABREF (TOK_TABNAME T1) a) (TOK_EXPLIST (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL a) val)) PRESERVE (TOK_TABREF (TOK_TABNAME T2) b) (TOK_EXPLIST (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL b) val)) PRESERVE (TOK_TABREF (TOK_TABNAME T3) c) (TOK_EXPLIST (. (TOK_TABLE_OR_COL c) key) (. (TOK_TABLE_OR_COL c) val)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' c ' -' TableScan' -' alias: c' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' tag: 2' -' value expressions:' -' expr: key' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Unique Join0 to 0' -' Unique Join0 to 0' -' Unique Join0 to 0' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col0}' -' 2 {VALUE._col0}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col4, _col8' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col4' -' type: string' -' expr: _col8' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -100 rows selected ->>> ->>> EXPLAIN FROM UNIQUEJOIN -PRESERVE T1 a (a.key, a.val), -PRESERVE T2 b (b.key, b.val), -PRESERVE T3 c (c.key, c.val) -SELECT /*+ STREAMTABLE(b) */ a.key, b.key, c.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_UNIQUEJOIN PRESERVE (TOK_TABREF (TOK_TABNAME T1) a) (TOK_EXPLIST (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL a) val)) PRESERVE (TOK_TABREF (TOK_TABNAME T2) b) (TOK_EXPLIST (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL b) val)) PRESERVE (TOK_TABREF (TOK_TABNAME T3) c) (TOK_EXPLIST (. (TOK_TABLE_OR_COL c) key) (. (TOK_TABLE_OR_COL c) val)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_STREAMTABLE (TOK_HINTARGLIST b))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' tag: 2' -' value expressions:' -' expr: key' -' type: string' -' c ' -' TableScan' -' alias: c' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Unique Join0 to 0' -' Unique Join0 to 0' -' Unique Join0 to 0' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col0}' -' 2 {VALUE._col0}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col4, _col8' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col4' -' type: string' -' expr: _col8' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -100 rows selected ->>> ->>> FROM UNIQUEJOIN -PRESERVE T1 a (a.key, a.val), -PRESERVE T2 b (b.key, b.val), -PRESERVE T3 c (c.key, c.val) -SELECT a.key, b.key, c.key; -'key','key','key' -'1','','' -'2','','2' -'','2','' -'3','3','' -'','4','4' -'','5','' -'','','6' -'7','','7' -'8','8','' -'8','8','' -'8','','' -11 rows selected ->>> ->>> FROM UNIQUEJOIN -PRESERVE T1 a (a.key, a.val), -PRESERVE T2 b (b.key, b.val), -PRESERVE T3 c (c.key, c.val) -SELECT /*+ STREAMTABLE(b) */ a.key, b.key, c.key; -'key','key','key' -'1','','' -'2','','2' -'','2','' -'3','3','' -'','4','4' -'','5','' -'','','6' -'7','','7' -'8','8','' -'8','8','' -'8','','' -11 rows selected ->>> ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/join_reorder2.q.out ql/src/test/results/beelinepositive/join_reorder2.q.out deleted file mode 100644 index 0c022a9..0000000 --- ql/src/test/results/beelinepositive/join_reorder2.q.out +++ /dev/null @@ -1,388 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join_reorder2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join_reorder2.q ->>> ->>> ->>> ->>> ->>> ->>> CREATE TABLE T1(key STRING, val STRING) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE T2(key STRING, val STRING) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE T3(key STRING, val STRING) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE T4(key STRING, val STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T1.txt' INTO TABLE T1; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/T2.txt' INTO TABLE T2; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/T3.txt' INTO TABLE T3; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/T1.txt' INTO TABLE T4; -No rows affected ->>> ->>> EXPLAIN -SELECT /*+ STREAMTABLE(a) */ * -FROM T1 a JOIN T2 b ON a.key = b.key -JOIN T3 c ON b.key = c.key -JOIN T4 d ON c.key = d.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME T3) c) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key))) (TOK_TABREF (TOK_TABNAME T4) d) (= (. (TOK_TABLE_OR_COL c) key) (. (TOK_TABLE_OR_COL d) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_STREAMTABLE (TOK_HINTARGLIST a))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 3' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' c ' -' TableScan' -' alias: c' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 2' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' d ' -' TableScan' -' alias: d' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 1 to 2' -' Inner Join 2 to 3' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' 3 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9, _col12, _col13' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' expr: _col12' -' type: string' -' expr: _col13' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -123 rows selected ->>> ->>> SELECT /*+ STREAMTABLE(a) */ * -FROM T1 a JOIN T2 b ON a.key = b.key -JOIN T3 c ON b.key = c.key -JOIN T4 d ON c.key = d.key; -'key','val','key','val','key','val','key','val' -'2','12','2','22','2','12','2','12' -1 row selected ->>> ->>> ->>> EXPLAIN -SELECT /*+ STREAMTABLE(a) */ * -FROM T1 a JOIN T2 b ON a.key = b.key -JOIN T3 c ON a.val = c.val -JOIN T4 d ON a.key + 1 = d.key + 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME T3) c) (= (. (TOK_TABLE_OR_COL a) val) (. (TOK_TABLE_OR_COL c) val))) (TOK_TABREF (TOK_TABNAME T4) d) (= (+ (. (TOK_TABLE_OR_COL a) key) 1) (+ (. (TOK_TABLE_OR_COL d) key) 1)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_STREAMTABLE (TOK_HINTARGLIST a))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-3 depends on stages: Stage-2' -' Stage-1 depends on stages: Stage-3' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col1' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' c ' -' TableScan' -' alias: c' -' Reduce Output Operator' -' key expressions:' -' expr: val' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: val' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1} {VALUE._col4} {VALUE._col5}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: (_col4 + 1)' -' type: double' -' sort order: +' -' Map-reduce partition columns:' -' expr: (_col4 + 1)' -' type: double' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' d ' -' TableScan' -' alias: d' -' Reduce Output Operator' -' key expressions:' -' expr: (key + 1)' -' type: double' -' sort order: +' -' Map-reduce partition columns:' -' expr: (key + 1)' -' type: double' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1} {VALUE._col4} {VALUE._col5} {VALUE._col8} {VALUE._col9}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9, _col12, _col13' -' Select Operator' -' expressions:' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col12' -' type: string' -' expr: _col13' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -200 rows selected ->>> ->>> ->>> SELECT /*+ STREAMTABLE(a) */ * -FROM T1 a JOIN T2 b ON a.key = b.key -JOIN T3 c ON a.val = c.val -JOIN T4 d ON a.key + 1 = d.key + 1; -'key','val','key','val','key','val','key','val' -'2','12','2','22','2','12','2','12' -1 row selected ->>> ->>> ->>> ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/join_reorder3.q.out ql/src/test/results/beelinepositive/join_reorder3.q.out deleted file mode 100644 index 25a6695..0000000 --- ql/src/test/results/beelinepositive/join_reorder3.q.out +++ /dev/null @@ -1,388 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join_reorder3.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join_reorder3.q ->>> ->>> ->>> ->>> ->>> ->>> CREATE TABLE T1(key STRING, val STRING) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE T2(key STRING, val STRING) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE T3(key STRING, val STRING) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE T4(key STRING, val STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T1.txt' INTO TABLE T1; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/T2.txt' INTO TABLE T2; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/T3.txt' INTO TABLE T3; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/T1.txt' INTO TABLE T4; -No rows affected ->>> ->>> EXPLAIN -SELECT /*+ STREAMTABLE(a,c) */ * -FROM T1 a JOIN T2 b ON a.key = b.key -JOIN T3 c ON b.key = c.key -JOIN T4 d ON c.key = d.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME T3) c) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key))) (TOK_TABREF (TOK_TABNAME T4) d) (= (. (TOK_TABLE_OR_COL c) key) (. (TOK_TABLE_OR_COL d) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_STREAMTABLE (TOK_HINTARGLIST a c))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 3' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' c ' -' TableScan' -' alias: c' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 2' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' d ' -' TableScan' -' alias: d' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 1 to 2' -' Inner Join 2 to 3' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' 3 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9, _col12, _col13' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' expr: _col12' -' type: string' -' expr: _col13' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -123 rows selected ->>> ->>> SELECT /*+ STREAMTABLE(a,c) */ * -FROM T1 a JOIN T2 b ON a.key = b.key -JOIN T3 c ON b.key = c.key -JOIN T4 d ON c.key = d.key; -'key','val','key','val','key','val','key','val' -'2','12','2','22','2','12','2','12' -1 row selected ->>> ->>> ->>> EXPLAIN -SELECT /*+ STREAMTABLE(a,c) */ * -FROM T1 a JOIN T2 b ON a.key = b.key -JOIN T3 c ON a.val = c.val -JOIN T4 d ON a.key + 1 = d.key + 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME T3) c) (= (. (TOK_TABLE_OR_COL a) val) (. (TOK_TABLE_OR_COL c) val))) (TOK_TABREF (TOK_TABNAME T4) d) (= (+ (. (TOK_TABLE_OR_COL a) key) 1) (+ (. (TOK_TABLE_OR_COL d) key) 1)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_STREAMTABLE (TOK_HINTARGLIST a c))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-3 depends on stages: Stage-2' -' Stage-1 depends on stages: Stage-3' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col1' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' c ' -' TableScan' -' alias: c' -' Reduce Output Operator' -' key expressions:' -' expr: val' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: val' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1} {VALUE._col4} {VALUE._col5}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: (_col4 + 1)' -' type: double' -' sort order: +' -' Map-reduce partition columns:' -' expr: (_col4 + 1)' -' type: double' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' d ' -' TableScan' -' alias: d' -' Reduce Output Operator' -' key expressions:' -' expr: (key + 1)' -' type: double' -' sort order: +' -' Map-reduce partition columns:' -' expr: (key + 1)' -' type: double' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1} {VALUE._col4} {VALUE._col5} {VALUE._col8} {VALUE._col9}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9, _col12, _col13' -' Select Operator' -' expressions:' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col12' -' type: string' -' expr: _col13' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -200 rows selected ->>> ->>> ->>> SELECT /*+ STREAMTABLE(a,c) */ * -FROM T1 a JOIN T2 b ON a.key = b.key -JOIN T3 c ON a.val = c.val -JOIN T4 d ON a.key + 1 = d.key + 1; -'key','val','key','val','key','val','key','val' -'2','12','2','22','2','12','2','12' -1 row selected ->>> ->>> ->>> ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/join_view.q.out ql/src/test/results/beelinepositive/join_view.q.out deleted file mode 100644 index 998d1cb..0000000 --- ql/src/test/results/beelinepositive/join_view.q.out +++ /dev/null @@ -1,121 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/join_view.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/join_view.q ->>> drop table invites; -No rows affected ->>> drop table invites2; -No rows affected ->>> create table invites (foo int, bar string) partitioned by (ds string); -No rows affected ->>> create table invites2 (foo int, bar string) partitioned by (ds string); -No rows affected ->>> ->>> set hive.mapred.mode=strict; -No rows affected ->>> ->>> -- test join views: see HIVE-1989 ->>> ->>> create view v as select invites.bar, invites2.foo, invites2.ds from invites join invites2 on invites.ds=invites2.ds; -'bar','foo','ds' -No rows selected ->>> ->>> explain select * from v where ds='2011-09-01'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME v))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (= (TOK_TABLE_OR_COL ds) '2011-09-01'))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' v:invites ' -' TableScan' -' alias: invites' -' Filter Operator' -' predicate:' -' expr: (ds = '2011-09-01')' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: ds' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: ds' -' type: string' -' tag: 0' -' value expressions:' -' expr: bar' -' type: string' -' v:invites2 ' -' TableScan' -' alias: invites2' -' Filter Operator' -' predicate:' -' expr: (ds = '2011-09-01')' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: ds' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: ds' -' type: string' -' tag: 1' -' value expressions:' -' expr: foo' -' type: int' -' expr: ds' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col2}' -' handleSkewJoin: false' -' outputColumnNames: _col1, _col5, _col7' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' expr: _col5' -' type: int' -' expr: _col7' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: int' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -90 rows selected ->>> ->>> drop view v; -No rows affected ->>> drop table invites; -No rows affected ->>> drop table invites2; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/keyword_1.q.out ql/src/test/results/beelinepositive/keyword_1.q.out deleted file mode 100644 index 9fbd22f..0000000 --- ql/src/test/results/beelinepositive/keyword_1.q.out +++ /dev/null @@ -1,94 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/keyword_1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/keyword_1.q ->>> create table test_user (user string, `group` string); -No rows affected ->>> grant select on table test_user to user hive_test; -No rows affected ->>> ->>> explain select user from test_user; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME test_user))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL user)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' test_user ' -' TableScan' -' alias: test_user' -' Select Operator' -' expressions:' -' expr: user' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -31 rows selected ->>> ->>> show grant user hive_test on table test_user; -No rows affected ->>> ->>> drop table test_user; -No rows affected ->>> ->>> create table test_user (role string, `group` string); -No rows affected ->>> grant select on table test_user to user hive_test; -No rows affected ->>> ->>> explain select role from test_user; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME test_user))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL role)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' test_user ' -' TableScan' -' alias: test_user' -' Select Operator' -' expressions:' -' expr: role' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -31 rows selected ->>> ->>> show grant user hive_test on table test_user; -No rows affected ->>> ->>> drop table test_user; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/lateral_view_cp.q.out ql/src/test/results/beelinepositive/lateral_view_cp.q.out deleted file mode 100644 index 7929973..0000000 --- ql/src/test/results/beelinepositive/lateral_view_cp.q.out +++ /dev/null @@ -1,155 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/lateral_view_cp.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/lateral_view_cp.q ->>> --HIVE 3226 ->>> drop table array_valued_src; -No rows affected ->>> create table array_valued_src (key string, value array); -No rows affected ->>> insert overwrite table array_valued_src select key, array(value) from src; -'key','_c1' -No rows selected ->>> ->>> -- replace sel(*) to sel(exprs) for reflecting CP result properly ->>> explain select count(val) from (select a.key as key, b.value as array_val from src a join array_valued_src b on a.key=b.key) i lateral view explode (array_val) c as val; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LATERAL_VIEW (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION explode (TOK_TABLE_OR_COL array_val)) val (TOK_TABALIAS c))) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) a) (TOK_TABREF (TOK_TABNAME array_valued_src) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key) key) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value) array_val)))) i))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count (TOK_TABLE_OR_COL val))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' i:a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' i:b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: value' -' type: array' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col5' -' Select Operator' -' expressions:' -' expr: _col5' -' type: array' -' outputColumnNames: _col1' -' Lateral View Forward' -' Select Operator' -' Lateral View Join Operator' -' outputColumnNames: _col2' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' outputColumnNames: _col2' -' Group By Operator' -' aggregations:' -' expr: count(_col2)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Select Operator' -' expressions:' -' expr: _col1' -' type: array' -' outputColumnNames: _col0' -' UDTF Operator' -' function name: explode' -' Lateral View Join Operator' -' outputColumnNames: _col2' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' outputColumnNames: _col2' -' Group By Operator' -' aggregations:' -' expr: count(_col2)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -135 rows selected ->>> select count(val) from (select a.key as key, b.value as array_val from src a join array_valued_src b on a.key=b.key) i lateral view explode (array_val) c as val; -'_c0' -'1028' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/lateral_view_ppd.q.out ql/src/test/results/beelinepositive/lateral_view_ppd.q.out deleted file mode 100644 index af0ef7b..0000000 --- ql/src/test/results/beelinepositive/lateral_view_ppd.q.out +++ /dev/null @@ -1,501 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/lateral_view_ppd.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/lateral_view_ppd.q ->>> set hive.optimize.ppd=true; -No rows affected ->>> ->>> EXPLAIN SELECT value, myCol FROM (SELECT * FROM src LATERAL VIEW explode(array(1,2,3)) myTable AS myCol) a WHERE key='0'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_LATERAL_VIEW (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION explode (TOK_FUNCTION array 1 2 3)) myCol (TOK_TABALIAS myTable))) (TOK_TABREF (TOK_TABNAME src)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)))) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL myCol))) (TOK_WHERE (= (TOK_TABLE_OR_COL key) '0'))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key = '0')' -' type: boolean' -' Lateral View Forward' -' Select Operator' -' SELECT * : (no compute)' -' Lateral View Join Operator' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' expr: _col2' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Select Operator' -' expressions:' -' expr: array(1,2,3)' -' type: array' -' outputColumnNames: _col0' -' UDTF Operator' -' function name: explode' -' Lateral View Join Operator' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' expr: _col2' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -82 rows selected ->>> SELECT value, myCol FROM (SELECT * FROM src LATERAL VIEW explode(array(1,2,3)) myTable AS myCol) a WHERE key='0'; -'value','mycol' -'val_0','1' -'val_0','2' -'val_0','3' -'val_0','1' -'val_0','2' -'val_0','3' -'val_0','1' -'val_0','2' -'val_0','3' -9 rows selected ->>> ->>> EXPLAIN SELECT value, myCol FROM (SELECT * FROM src LATERAL VIEW explode(array(1,2,3)) myTable AS myCol) a WHERE key='0' AND myCol=1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_LATERAL_VIEW (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION explode (TOK_FUNCTION array 1 2 3)) myCol (TOK_TABALIAS myTable))) (TOK_TABREF (TOK_TABNAME src)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)))) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL myCol))) (TOK_WHERE (AND (= (TOK_TABLE_OR_COL key) '0') (= (TOK_TABLE_OR_COL myCol) 1)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key = '0')' -' type: boolean' -' Lateral View Forward' -' Select Operator' -' SELECT * : (no compute)' -' Lateral View Join Operator' -' outputColumnNames: _col0, _col1, _col2' -' Filter Operator' -' predicate:' -' expr: ((_col0 = '0') and (_col2 = 1))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' expr: _col2' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Select Operator' -' expressions:' -' expr: array(1,2,3)' -' type: array' -' outputColumnNames: _col0' -' UDTF Operator' -' function name: explode' -' Lateral View Join Operator' -' outputColumnNames: _col0, _col1, _col2' -' Filter Operator' -' predicate:' -' expr: ((_col0 = '0') and (_col2 = 1))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' expr: _col2' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -90 rows selected ->>> SELECT value, myCol FROM (SELECT * FROM src LATERAL VIEW explode(array(1,2,3)) myTable AS myCol) a WHERE key='0' AND myCol=1; -'value','mycol' -'val_0','1' -'val_0','1' -'val_0','1' -3 rows selected ->>> ->>> EXPLAIN SELECT value, myCol FROM (SELECT * FROM srcpart LATERAL VIEW explode(array(1,2,3)) myTable AS myCol) a WHERE ds='2008-04-08' AND hr="12" LIMIT 12; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_LATERAL_VIEW (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION explode (TOK_FUNCTION array 1 2 3)) myCol (TOK_TABALIAS myTable))) (TOK_TABREF (TOK_TABNAME srcpart)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)))) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL myCol))) (TOK_WHERE (AND (= (TOK_TABLE_OR_COL ds) '2008-04-08') (= (TOK_TABLE_OR_COL hr) "12"))) (TOK_LIMIT 12)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a:srcpart ' -' TableScan' -' alias: srcpart' -' Lateral View Forward' -' Select Operator' -' expressions:' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: value, ds, hr' -' Lateral View Join Operator' -' outputColumnNames: _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: int' -' outputColumnNames: _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' outputColumnNames: _col0, _col1' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Select Operator' -' expressions:' -' expr: array(1,2,3)' -' type: array' -' outputColumnNames: _col0' -' UDTF Operator' -' function name: explode' -' Lateral View Join Operator' -' outputColumnNames: _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: int' -' outputColumnNames: _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' outputColumnNames: _col0, _col1' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 12' -'' -'' -91 rows selected ->>> SELECT value, myCol FROM (SELECT * FROM srcpart LATERAL VIEW explode(array(1,2,3)) myTable AS myCol) a WHERE ds='2008-04-08' AND hr="12" LIMIT 12; -'value','mycol' -'val_238','1' -'val_238','2' -'val_238','3' -'val_86','1' -'val_86','2' -'val_86','3' -'val_311','1' -'val_311','2' -'val_311','3' -'val_27','1' -'val_27','2' -'val_27','3' -12 rows selected ->>> ->>> EXPLAIN SELECT value, myCol FROM (SELECT * FROM src LATERAL VIEW explode(array(1,2,3)) myTable AS myCol LATERAL VIEW explode(array(1,2,3)) myTable2 AS myCol2) a WHERE key='0'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_LATERAL_VIEW (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION explode (TOK_FUNCTION array 1 2 3)) myCol2 (TOK_TABALIAS myTable2))) (TOK_LATERAL_VIEW (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION explode (TOK_FUNCTION array 1 2 3)) myCol (TOK_TABALIAS myTable))) (TOK_TABREF (TOK_TABNAME src))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)))) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL myCol))) (TOK_WHERE (= (TOK_TABLE_OR_COL key) '0'))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key = '0')' -' type: boolean' -' Lateral View Forward' -' Select Operator' -' SELECT * : (no compute)' -' Lateral View Join Operator' -' outputColumnNames: _col0, _col1, _col2' -' Lateral View Forward' -' Select Operator' -' SELECT * : (no compute)' -' Lateral View Join Operator' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' expr: _col2' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Select Operator' -' expressions:' -' expr: array(1,2,3)' -' type: array' -' outputColumnNames: _col0' -' UDTF Operator' -' function name: explode' -' Lateral View Join Operator' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' expr: _col2' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Select Operator' -' expressions:' -' expr: array(1,2,3)' -' type: array' -' outputColumnNames: _col0' -' UDTF Operator' -' function name: explode' -' Lateral View Join Operator' -' outputColumnNames: _col0, _col1, _col2' -' Lateral View Forward' -' Select Operator' -' SELECT * : (no compute)' -' Lateral View Join Operator' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' expr: _col2' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Select Operator' -' expressions:' -' expr: array(1,2,3)' -' type: array' -' outputColumnNames: _col0' -' UDTF Operator' -' function name: explode' -' Lateral View Join Operator' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' expr: _col2' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -154 rows selected ->>> SELECT value, myCol FROM (SELECT * FROM src LATERAL VIEW explode(array(1,2,3)) myTable AS myCol LATERAL VIEW explode(array(1,2,3)) myTable2 AS myCol2) a WHERE key='0'; -'value','mycol' -'val_0','1' -'val_0','1' -'val_0','1' -'val_0','2' -'val_0','2' -'val_0','2' -'val_0','3' -'val_0','3' -'val_0','3' -'val_0','1' -'val_0','1' -'val_0','1' -'val_0','2' -'val_0','2' -'val_0','2' -'val_0','3' -'val_0','3' -'val_0','3' -'val_0','1' -'val_0','1' -'val_0','1' -'val_0','2' -'val_0','2' -'val_0','2' -'val_0','3' -'val_0','3' -'val_0','3' -27 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/leftsemijoin.q.out ql/src/test/results/beelinepositive/leftsemijoin.q.out deleted file mode 100644 index 6cfbf12..0000000 --- ql/src/test/results/beelinepositive/leftsemijoin.q.out +++ /dev/null @@ -1,48 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/leftsemijoin.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/leftsemijoin.q ->>> drop table sales; -No rows affected ->>> drop table things; -No rows affected ->>> ->>> set hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> ->>> CREATE TABLE sales (name STRING, id INT) -ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t'; -No rows affected ->>> ->>> CREATE TABLE things (id INT, name STRING) partitioned by (ds string) -ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t'; -No rows affected ->>> ->>> load data local inpath '../data/files/sales.txt' INTO TABLE sales; -No rows affected ->>> load data local inpath '../data/files/things.txt' INTO TABLE things partition(ds='2011-10-23'); -No rows affected ->>> load data local inpath '../data/files/things2.txt' INTO TABLE things partition(ds='2011-10-24'); -No rows affected ->>> ->>> SELECT name,id FROM sales ORDER BY name ASC, id ASC; -'name','id' -'Hank','2' -'Joe','2' -2 rows selected ->>> ->>> SELECT id,name FROM things ORDER BY id ASC, name ASC; -'id','name' -'2','Tie' -'2','Tie' -2 rows selected ->>> ->>> SELECT name,id FROM sales LEFT SEMI JOIN things ON (sales.id = things.id) ORDER BY name ASC, id ASC; -'name','id' -'Hank','2' -'Joe','2' -2 rows selected ->>> ->>> drop table sales; -No rows affected ->>> drop table things; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/lineage1.q.out ql/src/test/results/beelinepositive/lineage1.q.out deleted file mode 100644 index 088d711..0000000 --- ql/src/test/results/beelinepositive/lineage1.q.out +++ /dev/null @@ -1,275 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/lineage1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/lineage1.q ->>> ->>> ->>> CREATE TABLE dest_l1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> ->>> EXPLAIN -INSERT OVERWRITE TABLE dest_l1 -SELECT j.* -FROM (SELECT t1.key, p1.value -FROM src1 t1 -LEFT OUTER JOIN src p1 -ON (t1.key = p1.key) -UNION ALL -SELECT t2.key, p2.value -FROM src1 t2 -LEFT OUTER JOIN src p2 -ON (t2.key = p2.key)) j; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME src1) t1) (TOK_TABREF (TOK_TABNAME src) p1) (= (. (TOK_TABLE_OR_COL t1) key) (. (TOK_TABLE_OR_COL p1) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL t1) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL p1) value))))) (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME src1) t2) (TOK_TABREF (TOK_TABNAME src) p2) (= (. (TOK_TABLE_OR_COL t2) key) (. (TOK_TABLE_OR_COL p2) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL t2) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL p2) value)))))) j)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_l1))) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME j))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-9' -' Stage-8 depends on stages: Stage-2 , consists of Stage-5, Stage-4, Stage-6' -' Stage-5' -' Stage-0 depends on stages: Stage-5, Stage-4, Stage-7' -' Stage-3 depends on stages: Stage-0' -' Stage-4' -' Stage-6' -' Stage-7 depends on stages: Stage-6' -' Stage-9 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1:j-subquery1:p1 ' -' TableScan' -' alias: p1' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: value' -' type: string' -' null-subquery1:j-subquery1:t1 ' -' TableScan' -' alias: t1' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: lineage1.dest_l1' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: lineage1.dest_l1' -'' -' Stage: Stage-8' -' Conditional Operator' -'' -' Stage: Stage-5' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: lineage1.dest_l1' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: lineage1.dest_l1' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: lineage1.dest_l1' -'' -' Stage: Stage-7' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-9' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery2:j-subquery2:p2 ' -' TableScan' -' alias: p2' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: value' -' type: string' -' null-subquery2:j-subquery2:t2 ' -' TableScan' -' alias: t2' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -'' -237 rows selected ->>> ->>> INSERT OVERWRITE TABLE dest_l1 -SELECT j.* -FROM (SELECT t1.key, p1.value -FROM src1 t1 -LEFT OUTER JOIN src p1 -ON (t1.key = p1.key) -UNION ALL -SELECT t2.key, p2.value -FROM src1 t2 -LEFT OUTER JOIN src p2 -ON (t2.key = p2.key)) j; -'_col0','_col1' -No rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/literal_double.q.out ql/src/test/results/beelinepositive/literal_double.q.out deleted file mode 100644 index 957dd69..0000000 --- ql/src/test/results/beelinepositive/literal_double.q.out +++ /dev/null @@ -1,59 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/literal_double.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/literal_double.q ->>> EXPLAIN SELECT 3.14, -3.14, 3.14e8, 3.14e-8, -3.14e8, -3.14e-8, 3.14e+8, 3.14E8, 3.14E-8 FROM src LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 3.14) (TOK_SELEXPR (- 3.14)) (TOK_SELEXPR 3.14e8) (TOK_SELEXPR 3.14e-8) (TOK_SELEXPR (- 3.14e8)) (TOK_SELEXPR (- 3.14e-8)) (TOK_SELEXPR 3.14e+8) (TOK_SELEXPR 3.14E8) (TOK_SELEXPR 3.14E-8)) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: 3.14' -' type: double' -' expr: (- 3.14)' -' type: double' -' expr: 3.14E8' -' type: double' -' expr: 3.14E-8' -' type: double' -' expr: (- 3.14E8)' -' type: double' -' expr: (- 3.14E-8)' -' type: double' -' expr: 3.14E8' -' type: double' -' expr: 3.14E8' -' type: double' -' expr: 3.14E-8' -' type: double' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -48 rows selected ->>> SELECT 3.14, -3.14, 3.14e8, 3.14e-8, -3.14e8, -3.14e-8, 3.14e+8, 3.14E8, 3.14E-8 FROM src LIMIT 1; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6','_c7','_c8' -'3.14','-3.14','3.14E8','3.14E-8','-3.14E8','-3.14E-8','3.14E8','3.14E8','3.14E-8' -1 row selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/literal_ints.q.out ql/src/test/results/beelinepositive/literal_ints.q.out deleted file mode 100644 index eb1b176..0000000 --- ql/src/test/results/beelinepositive/literal_ints.q.out +++ /dev/null @@ -1,49 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/literal_ints.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/literal_ints.q ->>> EXPLAIN SELECT 100, 100Y, 100S, 100L FROM src LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 100) (TOK_SELEXPR 100Y) (TOK_SELEXPR 100S) (TOK_SELEXPR 100L)) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: 100' -' type: int' -' expr: 100' -' type: tinyint' -' expr: 100' -' type: smallint' -' expr: 100' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -38 rows selected ->>> ->>> SELECT 100, 100Y, 100S, 100L FROM src LIMIT 1; -'_c0','_c1','_c2','_c3' -'100','100','100','100' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/literal_string.q.out ql/src/test/results/beelinepositive/literal_string.q.out deleted file mode 100644 index 9565ea3..0000000 --- ql/src/test/results/beelinepositive/literal_string.q.out +++ /dev/null @@ -1,71 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/literal_string.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/literal_string.q ->>> EXPLAIN SELECT 'face''book', 'face' 'book', 'face' -'book', -"face""book", "face" "book", "face" -"book", -'face' 'bo' 'ok', 'face'"book", -"face"'book', 'facebook' FROM src LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 'face''book') (TOK_SELEXPR (TOK_STRINGLITERALSEQUENCE 'face' 'book')) (TOK_SELEXPR (TOK_STRINGLITERALSEQUENCE 'face' 'book')) (TOK_SELEXPR "face""book") (TOK_SELEXPR (TOK_STRINGLITERALSEQUENCE "face" "book")) (TOK_SELEXPR (TOK_STRINGLITERALSEQUENCE "face" "book")) (TOK_SELEXPR (TOK_STRINGLITERALSEQUENCE 'face' 'bo' 'ok')) (TOK_SELEXPR 'face'"book") (TOK_SELEXPR "face"'book') (TOK_SELEXPR 'facebook')) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: 'facebook'' -' type: string' -' expr: 'facebook'' -' type: string' -' expr: 'facebook'' -' type: string' -' expr: 'facebook'' -' type: string' -' expr: 'facebook'' -' type: string' -' expr: 'facebook'' -' type: string' -' expr: 'facebook'' -' type: string' -' expr: 'facebook'' -' type: string' -' expr: 'facebook'' -' type: string' -' expr: 'facebook'' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -50 rows selected ->>> ->>> SELECT 'face''book', 'face' 'book', 'face' -'book', -"face""book", "face" "book", "face" -"book", -'face' 'bo' 'ok', 'face'"book", -"face"'book', 'facebook' FROM src LIMIT 1; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6','_c7','_c8','_c9' -'facebook','facebook','facebook','facebook','facebook','facebook','facebook','facebook','facebook','facebook' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/load_dyn_part1.q.out ql/src/test/results/beelinepositive/load_dyn_part1.q.out deleted file mode 100644 index 1f77f93..0000000 --- ql/src/test/results/beelinepositive/load_dyn_part1.q.out +++ /dev/null @@ -1,2254 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/load_dyn_part1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/load_dyn_part1.q ->>> show partitions srcpart; -'partition' -'ds=2008-04-08/hr=11' -'ds=2008-04-08/hr=12' -'ds=2008-04-09/hr=11' -'ds=2008-04-09/hr=12' -4 rows selected ->>> ->>> ->>> ->>> ->>> create table if not exists nzhang_part1 like srcpart; -No rows affected ->>> create table if not exists nzhang_part2 like srcpart; -No rows affected ->>> describe extended nzhang_part1; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'ds','string','' -'hr','string','' -'','','' -'Detailed Table Information','Table(tableName:nzhang_part1, dbName:load_dyn_part1, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:hr, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/load_dyn_part1.db/nzhang_part1, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:hr, type:string, comment:null)], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -6 rows selected ->>> ->>> set hive.exec.dynamic.partition.mode=nonstrict; -No rows affected ->>> set hive.exec.dynamic.partition=true; -No rows affected ->>> ->>> explain -from srcpart -insert overwrite table nzhang_part1 partition (ds, hr) select key, value, ds, hr where ds <= '2008-04-08' -insert overwrite table nzhang_part2 partition(ds='2008-12-31', hr) select key, value, hr where ds > '2008-04-08'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME nzhang_part1) (TOK_PARTSPEC (TOK_PARTVAL ds) (TOK_PARTVAL hr)))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL ds)) (TOK_SELEXPR (TOK_TABLE_OR_COL hr))) (TOK_WHERE (<= (TOK_TABLE_OR_COL ds) '2008-04-08'))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME nzhang_part2) (TOK_PARTSPEC (TOK_PARTVAL ds '2008-12-31') (TOK_PARTVAL hr)))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL hr))) (TOK_WHERE (> (TOK_TABLE_OR_COL ds) '2008-04-08'))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-8 depends on stages: Stage-2 , consists of Stage-5, Stage-4, Stage-6' -' Stage-5' -' Stage-0 depends on stages: Stage-5, Stage-4, Stage-7' -' Stage-3 depends on stages: Stage-0' -' Stage-4' -' Stage-6' -' Stage-7 depends on stages: Stage-6' -' Stage-14 depends on stages: Stage-2 , consists of Stage-11, Stage-10, Stage-12' -' Stage-11' -' Stage-1 depends on stages: Stage-11, Stage-10, Stage-13' -' Stage-9 depends on stages: Stage-1' -' Stage-10' -' Stage-12' -' Stage-13 depends on stages: Stage-12' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' srcpart ' -' TableScan' -' alias: srcpart' -' Filter Operator' -' predicate:' -' expr: (ds <= '2008-04-08')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: load_dyn_part1.nzhang_part1' -' Filter Operator' -' predicate:' -' expr: (ds > '2008-04-08')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: load_dyn_part1.nzhang_part2' -'' -' Stage: Stage-8' -' Conditional Operator' -'' -' Stage: Stage-5' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: load_dyn_part1.nzhang_part1' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: load_dyn_part1.nzhang_part1' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: load_dyn_part1.nzhang_part1' -'' -' Stage: Stage-7' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-14' -' Conditional Operator' -'' -' Stage: Stage-11' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' Move Operator' -' tables:' -' partition:' -' ds 2008-12-31' -' 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: load_dyn_part1.nzhang_part2' -'' -' Stage: Stage-9' -' Stats-Aggr Operator' -'' -' Stage: Stage-10' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: load_dyn_part1.nzhang_part2' -'' -' Stage: Stage-12' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: load_dyn_part1.nzhang_part2' -'' -' Stage: Stage-13' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -187 rows selected ->>> ->>> from srcpart -insert overwrite table nzhang_part1 partition (ds, hr) select key, value, ds, hr where ds <= '2008-04-08' -insert overwrite table nzhang_part2 partition(ds='2008-12-31', hr) select key, value, hr where ds > '2008-04-08'; -'key','value','hr' -No rows selected ->>> ->>> ->>> show partitions nzhang_part1; -'partition' -'ds=2008-04-08/hr=11' -'ds=2008-04-08/hr=12' -2 rows selected ->>> show partitions nzhang_part2; -'partition' -'ds=2008-12-31/hr=11' -'ds=2008-12-31/hr=12' -2 rows selected ->>> ->>> select * from nzhang_part1 where ds is not null and hr is not null; -'key','value','ds','hr' -'238','val_238','2008-04-08','11' -'86','val_86','2008-04-08','11' -'311','val_311','2008-04-08','11' -'27','val_27','2008-04-08','11' -'165','val_165','2008-04-08','11' -'409','val_409','2008-04-08','11' -'255','val_255','2008-04-08','11' -'278','val_278','2008-04-08','11' -'98','val_98','2008-04-08','11' -'484','val_484','2008-04-08','11' -'265','val_265','2008-04-08','11' -'193','val_193','2008-04-08','11' -'401','val_401','2008-04-08','11' -'150','val_150','2008-04-08','11' -'273','val_273','2008-04-08','11' -'224','val_224','2008-04-08','11' -'369','val_369','2008-04-08','11' -'66','val_66','2008-04-08','11' -'128','val_128','2008-04-08','11' -'213','val_213','2008-04-08','11' -'146','val_146','2008-04-08','11' -'406','val_406','2008-04-08','11' -'429','val_429','2008-04-08','11' -'374','val_374','2008-04-08','11' -'152','val_152','2008-04-08','11' -'469','val_469','2008-04-08','11' -'145','val_145','2008-04-08','11' -'495','val_495','2008-04-08','11' -'37','val_37','2008-04-08','11' -'327','val_327','2008-04-08','11' -'281','val_281','2008-04-08','11' -'277','val_277','2008-04-08','11' -'209','val_209','2008-04-08','11' -'15','val_15','2008-04-08','11' -'82','val_82','2008-04-08','11' -'403','val_403','2008-04-08','11' -'166','val_166','2008-04-08','11' -'417','val_417','2008-04-08','11' -'430','val_430','2008-04-08','11' -'252','val_252','2008-04-08','11' -'292','val_292','2008-04-08','11' -'219','val_219','2008-04-08','11' -'287','val_287','2008-04-08','11' -'153','val_153','2008-04-08','11' -'193','val_193','2008-04-08','11' -'338','val_338','2008-04-08','11' -'446','val_446','2008-04-08','11' -'459','val_459','2008-04-08','11' -'394','val_394','2008-04-08','11' -'237','val_237','2008-04-08','11' -'482','val_482','2008-04-08','11' -'174','val_174','2008-04-08','11' -'413','val_413','2008-04-08','11' -'494','val_494','2008-04-08','11' -'207','val_207','2008-04-08','11' -'199','val_199','2008-04-08','11' -'466','val_466','2008-04-08','11' -'208','val_208','2008-04-08','11' -'174','val_174','2008-04-08','11' -'399','val_399','2008-04-08','11' -'396','val_396','2008-04-08','11' -'247','val_247','2008-04-08','11' -'417','val_417','2008-04-08','11' -'489','val_489','2008-04-08','11' -'162','val_162','2008-04-08','11' -'377','val_377','2008-04-08','11' -'397','val_397','2008-04-08','11' -'309','val_309','2008-04-08','11' -'365','val_365','2008-04-08','11' -'266','val_266','2008-04-08','11' -'439','val_439','2008-04-08','11' -'342','val_342','2008-04-08','11' -'367','val_367','2008-04-08','11' -'325','val_325','2008-04-08','11' -'167','val_167','2008-04-08','11' -'195','val_195','2008-04-08','11' -'475','val_475','2008-04-08','11' -'17','val_17','2008-04-08','11' -'113','val_113','2008-04-08','11' -'155','val_155','2008-04-08','11' -'203','val_203','2008-04-08','11' -'339','val_339','2008-04-08','11' -'0','val_0','2008-04-08','11' -'455','val_455','2008-04-08','11' -'128','val_128','2008-04-08','11' -'311','val_311','2008-04-08','11' -'316','val_316','2008-04-08','11' -'57','val_57','2008-04-08','11' -'302','val_302','2008-04-08','11' -'205','val_205','2008-04-08','11' -'149','val_149','2008-04-08','11' -'438','val_438','2008-04-08','11' -'345','val_345','2008-04-08','11' -'129','val_129','2008-04-08','11' -'170','val_170','2008-04-08','11' -'20','val_20','2008-04-08','11' -'489','val_489','2008-04-08','11' -'157','val_157','2008-04-08','11' -'378','val_378','2008-04-08','11' -'221','val_221','2008-04-08','11' -'92','val_92','2008-04-08','11' -'111','val_111','2008-04-08','11' -'47','val_47','2008-04-08','11' -'72','val_72','2008-04-08','11' -'4','val_4','2008-04-08','11' -'280','val_280','2008-04-08','11' -'35','val_35','2008-04-08','11' -'427','val_427','2008-04-08','11' -'277','val_277','2008-04-08','11' -'208','val_208','2008-04-08','11' -'356','val_356','2008-04-08','11' -'399','val_399','2008-04-08','11' -'169','val_169','2008-04-08','11' -'382','val_382','2008-04-08','11' -'498','val_498','2008-04-08','11' -'125','val_125','2008-04-08','11' -'386','val_386','2008-04-08','11' -'437','val_437','2008-04-08','11' -'469','val_469','2008-04-08','11' -'192','val_192','2008-04-08','11' -'286','val_286','2008-04-08','11' -'187','val_187','2008-04-08','11' -'176','val_176','2008-04-08','11' -'54','val_54','2008-04-08','11' -'459','val_459','2008-04-08','11' -'51','val_51','2008-04-08','11' -'138','val_138','2008-04-08','11' -'103','val_103','2008-04-08','11' -'239','val_239','2008-04-08','11' -'213','val_213','2008-04-08','11' -'216','val_216','2008-04-08','11' -'430','val_430','2008-04-08','11' -'278','val_278','2008-04-08','11' -'176','val_176','2008-04-08','11' -'289','val_289','2008-04-08','11' -'221','val_221','2008-04-08','11' -'65','val_65','2008-04-08','11' -'318','val_318','2008-04-08','11' -'332','val_332','2008-04-08','11' -'311','val_311','2008-04-08','11' -'275','val_275','2008-04-08','11' -'137','val_137','2008-04-08','11' -'241','val_241','2008-04-08','11' -'83','val_83','2008-04-08','11' -'333','val_333','2008-04-08','11' -'180','val_180','2008-04-08','11' -'284','val_284','2008-04-08','11' -'12','val_12','2008-04-08','11' -'230','val_230','2008-04-08','11' -'181','val_181','2008-04-08','11' -'67','val_67','2008-04-08','11' -'260','val_260','2008-04-08','11' -'404','val_404','2008-04-08','11' -'384','val_384','2008-04-08','11' -'489','val_489','2008-04-08','11' -'353','val_353','2008-04-08','11' -'373','val_373','2008-04-08','11' -'272','val_272','2008-04-08','11' -'138','val_138','2008-04-08','11' -'217','val_217','2008-04-08','11' -'84','val_84','2008-04-08','11' -'348','val_348','2008-04-08','11' -'466','val_466','2008-04-08','11' -'58','val_58','2008-04-08','11' -'8','val_8','2008-04-08','11' -'411','val_411','2008-04-08','11' -'230','val_230','2008-04-08','11' -'208','val_208','2008-04-08','11' -'348','val_348','2008-04-08','11' -'24','val_24','2008-04-08','11' -'463','val_463','2008-04-08','11' -'431','val_431','2008-04-08','11' -'179','val_179','2008-04-08','11' -'172','val_172','2008-04-08','11' -'42','val_42','2008-04-08','11' -'129','val_129','2008-04-08','11' -'158','val_158','2008-04-08','11' -'119','val_119','2008-04-08','11' -'496','val_496','2008-04-08','11' -'0','val_0','2008-04-08','11' -'322','val_322','2008-04-08','11' -'197','val_197','2008-04-08','11' -'468','val_468','2008-04-08','11' -'393','val_393','2008-04-08','11' -'454','val_454','2008-04-08','11' -'100','val_100','2008-04-08','11' -'298','val_298','2008-04-08','11' -'199','val_199','2008-04-08','11' -'191','val_191','2008-04-08','11' -'418','val_418','2008-04-08','11' -'96','val_96','2008-04-08','11' -'26','val_26','2008-04-08','11' -'165','val_165','2008-04-08','11' -'327','val_327','2008-04-08','11' -'230','val_230','2008-04-08','11' -'205','val_205','2008-04-08','11' -'120','val_120','2008-04-08','11' -'131','val_131','2008-04-08','11' -'51','val_51','2008-04-08','11' -'404','val_404','2008-04-08','11' -'43','val_43','2008-04-08','11' -'436','val_436','2008-04-08','11' -'156','val_156','2008-04-08','11' -'469','val_469','2008-04-08','11' -'468','val_468','2008-04-08','11' -'308','val_308','2008-04-08','11' -'95','val_95','2008-04-08','11' -'196','val_196','2008-04-08','11' -'288','val_288','2008-04-08','11' -'481','val_481','2008-04-08','11' -'457','val_457','2008-04-08','11' -'98','val_98','2008-04-08','11' -'282','val_282','2008-04-08','11' -'197','val_197','2008-04-08','11' -'187','val_187','2008-04-08','11' -'318','val_318','2008-04-08','11' -'318','val_318','2008-04-08','11' -'409','val_409','2008-04-08','11' -'470','val_470','2008-04-08','11' -'137','val_137','2008-04-08','11' -'369','val_369','2008-04-08','11' -'316','val_316','2008-04-08','11' -'169','val_169','2008-04-08','11' -'413','val_413','2008-04-08','11' -'85','val_85','2008-04-08','11' -'77','val_77','2008-04-08','11' -'0','val_0','2008-04-08','11' -'490','val_490','2008-04-08','11' -'87','val_87','2008-04-08','11' -'364','val_364','2008-04-08','11' -'179','val_179','2008-04-08','11' -'118','val_118','2008-04-08','11' -'134','val_134','2008-04-08','11' -'395','val_395','2008-04-08','11' -'282','val_282','2008-04-08','11' -'138','val_138','2008-04-08','11' -'238','val_238','2008-04-08','11' -'419','val_419','2008-04-08','11' -'15','val_15','2008-04-08','11' -'118','val_118','2008-04-08','11' -'72','val_72','2008-04-08','11' -'90','val_90','2008-04-08','11' -'307','val_307','2008-04-08','11' -'19','val_19','2008-04-08','11' -'435','val_435','2008-04-08','11' -'10','val_10','2008-04-08','11' -'277','val_277','2008-04-08','11' -'273','val_273','2008-04-08','11' -'306','val_306','2008-04-08','11' -'224','val_224','2008-04-08','11' -'309','val_309','2008-04-08','11' -'389','val_389','2008-04-08','11' -'327','val_327','2008-04-08','11' -'242','val_242','2008-04-08','11' -'369','val_369','2008-04-08','11' -'392','val_392','2008-04-08','11' -'272','val_272','2008-04-08','11' -'331','val_331','2008-04-08','11' -'401','val_401','2008-04-08','11' -'242','val_242','2008-04-08','11' -'452','val_452','2008-04-08','11' -'177','val_177','2008-04-08','11' -'226','val_226','2008-04-08','11' -'5','val_5','2008-04-08','11' -'497','val_497','2008-04-08','11' -'402','val_402','2008-04-08','11' -'396','val_396','2008-04-08','11' -'317','val_317','2008-04-08','11' -'395','val_395','2008-04-08','11' -'58','val_58','2008-04-08','11' -'35','val_35','2008-04-08','11' -'336','val_336','2008-04-08','11' -'95','val_95','2008-04-08','11' -'11','val_11','2008-04-08','11' -'168','val_168','2008-04-08','11' -'34','val_34','2008-04-08','11' -'229','val_229','2008-04-08','11' -'233','val_233','2008-04-08','11' -'143','val_143','2008-04-08','11' -'472','val_472','2008-04-08','11' -'322','val_322','2008-04-08','11' -'498','val_498','2008-04-08','11' -'160','val_160','2008-04-08','11' -'195','val_195','2008-04-08','11' -'42','val_42','2008-04-08','11' -'321','val_321','2008-04-08','11' -'430','val_430','2008-04-08','11' -'119','val_119','2008-04-08','11' -'489','val_489','2008-04-08','11' -'458','val_458','2008-04-08','11' -'78','val_78','2008-04-08','11' -'76','val_76','2008-04-08','11' -'41','val_41','2008-04-08','11' -'223','val_223','2008-04-08','11' -'492','val_492','2008-04-08','11' -'149','val_149','2008-04-08','11' -'449','val_449','2008-04-08','11' -'218','val_218','2008-04-08','11' -'228','val_228','2008-04-08','11' -'138','val_138','2008-04-08','11' -'453','val_453','2008-04-08','11' -'30','val_30','2008-04-08','11' -'209','val_209','2008-04-08','11' -'64','val_64','2008-04-08','11' -'468','val_468','2008-04-08','11' -'76','val_76','2008-04-08','11' -'74','val_74','2008-04-08','11' -'342','val_342','2008-04-08','11' -'69','val_69','2008-04-08','11' -'230','val_230','2008-04-08','11' -'33','val_33','2008-04-08','11' -'368','val_368','2008-04-08','11' -'103','val_103','2008-04-08','11' -'296','val_296','2008-04-08','11' -'113','val_113','2008-04-08','11' -'216','val_216','2008-04-08','11' -'367','val_367','2008-04-08','11' -'344','val_344','2008-04-08','11' -'167','val_167','2008-04-08','11' -'274','val_274','2008-04-08','11' -'219','val_219','2008-04-08','11' -'239','val_239','2008-04-08','11' -'485','val_485','2008-04-08','11' -'116','val_116','2008-04-08','11' -'223','val_223','2008-04-08','11' -'256','val_256','2008-04-08','11' -'263','val_263','2008-04-08','11' -'70','val_70','2008-04-08','11' -'487','val_487','2008-04-08','11' -'480','val_480','2008-04-08','11' -'401','val_401','2008-04-08','11' -'288','val_288','2008-04-08','11' -'191','val_191','2008-04-08','11' -'5','val_5','2008-04-08','11' -'244','val_244','2008-04-08','11' -'438','val_438','2008-04-08','11' -'128','val_128','2008-04-08','11' -'467','val_467','2008-04-08','11' -'432','val_432','2008-04-08','11' -'202','val_202','2008-04-08','11' -'316','val_316','2008-04-08','11' -'229','val_229','2008-04-08','11' -'469','val_469','2008-04-08','11' -'463','val_463','2008-04-08','11' -'280','val_280','2008-04-08','11' -'2','val_2','2008-04-08','11' -'35','val_35','2008-04-08','11' -'283','val_283','2008-04-08','11' -'331','val_331','2008-04-08','11' -'235','val_235','2008-04-08','11' -'80','val_80','2008-04-08','11' -'44','val_44','2008-04-08','11' -'193','val_193','2008-04-08','11' -'321','val_321','2008-04-08','11' -'335','val_335','2008-04-08','11' -'104','val_104','2008-04-08','11' -'466','val_466','2008-04-08','11' -'366','val_366','2008-04-08','11' -'175','val_175','2008-04-08','11' -'403','val_403','2008-04-08','11' -'483','val_483','2008-04-08','11' -'53','val_53','2008-04-08','11' -'105','val_105','2008-04-08','11' -'257','val_257','2008-04-08','11' -'406','val_406','2008-04-08','11' -'409','val_409','2008-04-08','11' -'190','val_190','2008-04-08','11' -'406','val_406','2008-04-08','11' -'401','val_401','2008-04-08','11' -'114','val_114','2008-04-08','11' -'258','val_258','2008-04-08','11' -'90','val_90','2008-04-08','11' -'203','val_203','2008-04-08','11' -'262','val_262','2008-04-08','11' -'348','val_348','2008-04-08','11' -'424','val_424','2008-04-08','11' -'12','val_12','2008-04-08','11' -'396','val_396','2008-04-08','11' -'201','val_201','2008-04-08','11' -'217','val_217','2008-04-08','11' -'164','val_164','2008-04-08','11' -'431','val_431','2008-04-08','11' -'454','val_454','2008-04-08','11' -'478','val_478','2008-04-08','11' -'298','val_298','2008-04-08','11' -'125','val_125','2008-04-08','11' -'431','val_431','2008-04-08','11' -'164','val_164','2008-04-08','11' -'424','val_424','2008-04-08','11' -'187','val_187','2008-04-08','11' -'382','val_382','2008-04-08','11' -'5','val_5','2008-04-08','11' -'70','val_70','2008-04-08','11' -'397','val_397','2008-04-08','11' -'480','val_480','2008-04-08','11' -'291','val_291','2008-04-08','11' -'24','val_24','2008-04-08','11' -'351','val_351','2008-04-08','11' -'255','val_255','2008-04-08','11' -'104','val_104','2008-04-08','11' -'70','val_70','2008-04-08','11' -'163','val_163','2008-04-08','11' -'438','val_438','2008-04-08','11' -'119','val_119','2008-04-08','11' -'414','val_414','2008-04-08','11' -'200','val_200','2008-04-08','11' -'491','val_491','2008-04-08','11' -'237','val_237','2008-04-08','11' -'439','val_439','2008-04-08','11' -'360','val_360','2008-04-08','11' -'248','val_248','2008-04-08','11' -'479','val_479','2008-04-08','11' -'305','val_305','2008-04-08','11' -'417','val_417','2008-04-08','11' -'199','val_199','2008-04-08','11' -'444','val_444','2008-04-08','11' -'120','val_120','2008-04-08','11' -'429','val_429','2008-04-08','11' -'169','val_169','2008-04-08','11' -'443','val_443','2008-04-08','11' -'323','val_323','2008-04-08','11' -'325','val_325','2008-04-08','11' -'277','val_277','2008-04-08','11' -'230','val_230','2008-04-08','11' -'478','val_478','2008-04-08','11' -'178','val_178','2008-04-08','11' -'468','val_468','2008-04-08','11' -'310','val_310','2008-04-08','11' -'317','val_317','2008-04-08','11' -'333','val_333','2008-04-08','11' -'493','val_493','2008-04-08','11' -'460','val_460','2008-04-08','11' -'207','val_207','2008-04-08','11' -'249','val_249','2008-04-08','11' -'265','val_265','2008-04-08','11' -'480','val_480','2008-04-08','11' -'83','val_83','2008-04-08','11' -'136','val_136','2008-04-08','11' -'353','val_353','2008-04-08','11' -'172','val_172','2008-04-08','11' -'214','val_214','2008-04-08','11' -'462','val_462','2008-04-08','11' -'233','val_233','2008-04-08','11' -'406','val_406','2008-04-08','11' -'133','val_133','2008-04-08','11' -'175','val_175','2008-04-08','11' -'189','val_189','2008-04-08','11' -'454','val_454','2008-04-08','11' -'375','val_375','2008-04-08','11' -'401','val_401','2008-04-08','11' -'421','val_421','2008-04-08','11' -'407','val_407','2008-04-08','11' -'384','val_384','2008-04-08','11' -'256','val_256','2008-04-08','11' -'26','val_26','2008-04-08','11' -'134','val_134','2008-04-08','11' -'67','val_67','2008-04-08','11' -'384','val_384','2008-04-08','11' -'379','val_379','2008-04-08','11' -'18','val_18','2008-04-08','11' -'462','val_462','2008-04-08','11' -'492','val_492','2008-04-08','11' -'100','val_100','2008-04-08','11' -'298','val_298','2008-04-08','11' -'9','val_9','2008-04-08','11' -'341','val_341','2008-04-08','11' -'498','val_498','2008-04-08','11' -'146','val_146','2008-04-08','11' -'458','val_458','2008-04-08','11' -'362','val_362','2008-04-08','11' -'186','val_186','2008-04-08','11' -'285','val_285','2008-04-08','11' -'348','val_348','2008-04-08','11' -'167','val_167','2008-04-08','11' -'18','val_18','2008-04-08','11' -'273','val_273','2008-04-08','11' -'183','val_183','2008-04-08','11' -'281','val_281','2008-04-08','11' -'344','val_344','2008-04-08','11' -'97','val_97','2008-04-08','11' -'469','val_469','2008-04-08','11' -'315','val_315','2008-04-08','11' -'84','val_84','2008-04-08','11' -'28','val_28','2008-04-08','11' -'37','val_37','2008-04-08','11' -'448','val_448','2008-04-08','11' -'152','val_152','2008-04-08','11' -'348','val_348','2008-04-08','11' -'307','val_307','2008-04-08','11' -'194','val_194','2008-04-08','11' -'414','val_414','2008-04-08','11' -'477','val_477','2008-04-08','11' -'222','val_222','2008-04-08','11' -'126','val_126','2008-04-08','11' -'90','val_90','2008-04-08','11' -'169','val_169','2008-04-08','11' -'403','val_403','2008-04-08','11' -'400','val_400','2008-04-08','11' -'200','val_200','2008-04-08','11' -'97','val_97','2008-04-08','11' -'238','val_238','2008-04-08','12' -'86','val_86','2008-04-08','12' -'311','val_311','2008-04-08','12' -'27','val_27','2008-04-08','12' -'165','val_165','2008-04-08','12' -'409','val_409','2008-04-08','12' -'255','val_255','2008-04-08','12' -'278','val_278','2008-04-08','12' -'98','val_98','2008-04-08','12' -'484','val_484','2008-04-08','12' -'265','val_265','2008-04-08','12' -'193','val_193','2008-04-08','12' -'401','val_401','2008-04-08','12' -'150','val_150','2008-04-08','12' -'273','val_273','2008-04-08','12' -'224','val_224','2008-04-08','12' -'369','val_369','2008-04-08','12' -'66','val_66','2008-04-08','12' -'128','val_128','2008-04-08','12' -'213','val_213','2008-04-08','12' -'146','val_146','2008-04-08','12' -'406','val_406','2008-04-08','12' -'429','val_429','2008-04-08','12' -'374','val_374','2008-04-08','12' -'152','val_152','2008-04-08','12' -'469','val_469','2008-04-08','12' -'145','val_145','2008-04-08','12' -'495','val_495','2008-04-08','12' -'37','val_37','2008-04-08','12' -'327','val_327','2008-04-08','12' -'281','val_281','2008-04-08','12' -'277','val_277','2008-04-08','12' -'209','val_209','2008-04-08','12' -'15','val_15','2008-04-08','12' -'82','val_82','2008-04-08','12' -'403','val_403','2008-04-08','12' -'166','val_166','2008-04-08','12' -'417','val_417','2008-04-08','12' -'430','val_430','2008-04-08','12' -'252','val_252','2008-04-08','12' -'292','val_292','2008-04-08','12' -'219','val_219','2008-04-08','12' -'287','val_287','2008-04-08','12' -'153','val_153','2008-04-08','12' -'193','val_193','2008-04-08','12' -'338','val_338','2008-04-08','12' -'446','val_446','2008-04-08','12' -'459','val_459','2008-04-08','12' -'394','val_394','2008-04-08','12' -'237','val_237','2008-04-08','12' -'482','val_482','2008-04-08','12' -'174','val_174','2008-04-08','12' -'413','val_413','2008-04-08','12' -'494','val_494','2008-04-08','12' -'207','val_207','2008-04-08','12' -'199','val_199','2008-04-08','12' -'466','val_466','2008-04-08','12' -'208','val_208','2008-04-08','12' -'174','val_174','2008-04-08','12' -'399','val_399','2008-04-08','12' -'396','val_396','2008-04-08','12' -'247','val_247','2008-04-08','12' -'417','val_417','2008-04-08','12' -'489','val_489','2008-04-08','12' -'162','val_162','2008-04-08','12' -'377','val_377','2008-04-08','12' -'397','val_397','2008-04-08','12' -'309','val_309','2008-04-08','12' -'365','val_365','2008-04-08','12' -'266','val_266','2008-04-08','12' -'439','val_439','2008-04-08','12' -'342','val_342','2008-04-08','12' -'367','val_367','2008-04-08','12' -'325','val_325','2008-04-08','12' -'167','val_167','2008-04-08','12' -'195','val_195','2008-04-08','12' -'475','val_475','2008-04-08','12' -'17','val_17','2008-04-08','12' -'113','val_113','2008-04-08','12' -'155','val_155','2008-04-08','12' -'203','val_203','2008-04-08','12' -'339','val_339','2008-04-08','12' -'0','val_0','2008-04-08','12' -'455','val_455','2008-04-08','12' -'128','val_128','2008-04-08','12' -'311','val_311','2008-04-08','12' -'316','val_316','2008-04-08','12' -'57','val_57','2008-04-08','12' -'302','val_302','2008-04-08','12' -'205','val_205','2008-04-08','12' -'149','val_149','2008-04-08','12' -'438','val_438','2008-04-08','12' -'345','val_345','2008-04-08','12' -'129','val_129','2008-04-08','12' -'170','val_170','2008-04-08','12' -'20','val_20','2008-04-08','12' -'489','val_489','2008-04-08','12' -'157','val_157','2008-04-08','12' -'378','val_378','2008-04-08','12' -'221','val_221','2008-04-08','12' -'92','val_92','2008-04-08','12' -'111','val_111','2008-04-08','12' -'47','val_47','2008-04-08','12' -'72','val_72','2008-04-08','12' -'4','val_4','2008-04-08','12' -'280','val_280','2008-04-08','12' -'35','val_35','2008-04-08','12' -'427','val_427','2008-04-08','12' -'277','val_277','2008-04-08','12' -'208','val_208','2008-04-08','12' -'356','val_356','2008-04-08','12' -'399','val_399','2008-04-08','12' -'169','val_169','2008-04-08','12' -'382','val_382','2008-04-08','12' -'498','val_498','2008-04-08','12' -'125','val_125','2008-04-08','12' -'386','val_386','2008-04-08','12' -'437','val_437','2008-04-08','12' -'469','val_469','2008-04-08','12' -'192','val_192','2008-04-08','12' -'286','val_286','2008-04-08','12' -'187','val_187','2008-04-08','12' -'176','val_176','2008-04-08','12' -'54','val_54','2008-04-08','12' -'459','val_459','2008-04-08','12' -'51','val_51','2008-04-08','12' -'138','val_138','2008-04-08','12' -'103','val_103','2008-04-08','12' -'239','val_239','2008-04-08','12' -'213','val_213','2008-04-08','12' -'216','val_216','2008-04-08','12' -'430','val_430','2008-04-08','12' -'278','val_278','2008-04-08','12' -'176','val_176','2008-04-08','12' -'289','val_289','2008-04-08','12' -'221','val_221','2008-04-08','12' -'65','val_65','2008-04-08','12' -'318','val_318','2008-04-08','12' -'332','val_332','2008-04-08','12' -'311','val_311','2008-04-08','12' -'275','val_275','2008-04-08','12' -'137','val_137','2008-04-08','12' -'241','val_241','2008-04-08','12' -'83','val_83','2008-04-08','12' -'333','val_333','2008-04-08','12' -'180','val_180','2008-04-08','12' -'284','val_284','2008-04-08','12' -'12','val_12','2008-04-08','12' -'230','val_230','2008-04-08','12' -'181','val_181','2008-04-08','12' -'67','val_67','2008-04-08','12' -'260','val_260','2008-04-08','12' -'404','val_404','2008-04-08','12' -'384','val_384','2008-04-08','12' -'489','val_489','2008-04-08','12' -'353','val_353','2008-04-08','12' -'373','val_373','2008-04-08','12' -'272','val_272','2008-04-08','12' -'138','val_138','2008-04-08','12' -'217','val_217','2008-04-08','12' -'84','val_84','2008-04-08','12' -'348','val_348','2008-04-08','12' -'466','val_466','2008-04-08','12' -'58','val_58','2008-04-08','12' -'8','val_8','2008-04-08','12' -'411','val_411','2008-04-08','12' -'230','val_230','2008-04-08','12' -'208','val_208','2008-04-08','12' -'348','val_348','2008-04-08','12' -'24','val_24','2008-04-08','12' -'463','val_463','2008-04-08','12' -'431','val_431','2008-04-08','12' -'179','val_179','2008-04-08','12' -'172','val_172','2008-04-08','12' -'42','val_42','2008-04-08','12' -'129','val_129','2008-04-08','12' -'158','val_158','2008-04-08','12' -'119','val_119','2008-04-08','12' -'496','val_496','2008-04-08','12' -'0','val_0','2008-04-08','12' -'322','val_322','2008-04-08','12' -'197','val_197','2008-04-08','12' -'468','val_468','2008-04-08','12' -'393','val_393','2008-04-08','12' -'454','val_454','2008-04-08','12' -'100','val_100','2008-04-08','12' -'298','val_298','2008-04-08','12' -'199','val_199','2008-04-08','12' -'191','val_191','2008-04-08','12' -'418','val_418','2008-04-08','12' -'96','val_96','2008-04-08','12' -'26','val_26','2008-04-08','12' -'165','val_165','2008-04-08','12' -'327','val_327','2008-04-08','12' -'230','val_230','2008-04-08','12' -'205','val_205','2008-04-08','12' -'120','val_120','2008-04-08','12' -'131','val_131','2008-04-08','12' -'51','val_51','2008-04-08','12' -'404','val_404','2008-04-08','12' -'43','val_43','2008-04-08','12' -'436','val_436','2008-04-08','12' -'156','val_156','2008-04-08','12' -'469','val_469','2008-04-08','12' -'468','val_468','2008-04-08','12' -'308','val_308','2008-04-08','12' -'95','val_95','2008-04-08','12' -'196','val_196','2008-04-08','12' -'288','val_288','2008-04-08','12' -'481','val_481','2008-04-08','12' -'457','val_457','2008-04-08','12' -'98','val_98','2008-04-08','12' -'282','val_282','2008-04-08','12' -'197','val_197','2008-04-08','12' -'187','val_187','2008-04-08','12' -'318','val_318','2008-04-08','12' -'318','val_318','2008-04-08','12' -'409','val_409','2008-04-08','12' -'470','val_470','2008-04-08','12' -'137','val_137','2008-04-08','12' -'369','val_369','2008-04-08','12' -'316','val_316','2008-04-08','12' -'169','val_169','2008-04-08','12' -'413','val_413','2008-04-08','12' -'85','val_85','2008-04-08','12' -'77','val_77','2008-04-08','12' -'0','val_0','2008-04-08','12' -'490','val_490','2008-04-08','12' -'87','val_87','2008-04-08','12' -'364','val_364','2008-04-08','12' -'179','val_179','2008-04-08','12' -'118','val_118','2008-04-08','12' -'134','val_134','2008-04-08','12' -'395','val_395','2008-04-08','12' -'282','val_282','2008-04-08','12' -'138','val_138','2008-04-08','12' -'238','val_238','2008-04-08','12' -'419','val_419','2008-04-08','12' -'15','val_15','2008-04-08','12' -'118','val_118','2008-04-08','12' -'72','val_72','2008-04-08','12' -'90','val_90','2008-04-08','12' -'307','val_307','2008-04-08','12' -'19','val_19','2008-04-08','12' -'435','val_435','2008-04-08','12' -'10','val_10','2008-04-08','12' -'277','val_277','2008-04-08','12' -'273','val_273','2008-04-08','12' -'306','val_306','2008-04-08','12' -'224','val_224','2008-04-08','12' -'309','val_309','2008-04-08','12' -'389','val_389','2008-04-08','12' -'327','val_327','2008-04-08','12' -'242','val_242','2008-04-08','12' -'369','val_369','2008-04-08','12' -'392','val_392','2008-04-08','12' -'272','val_272','2008-04-08','12' -'331','val_331','2008-04-08','12' -'401','val_401','2008-04-08','12' -'242','val_242','2008-04-08','12' -'452','val_452','2008-04-08','12' -'177','val_177','2008-04-08','12' -'226','val_226','2008-04-08','12' -'5','val_5','2008-04-08','12' -'497','val_497','2008-04-08','12' -'402','val_402','2008-04-08','12' -'396','val_396','2008-04-08','12' -'317','val_317','2008-04-08','12' -'395','val_395','2008-04-08','12' -'58','val_58','2008-04-08','12' -'35','val_35','2008-04-08','12' -'336','val_336','2008-04-08','12' -'95','val_95','2008-04-08','12' -'11','val_11','2008-04-08','12' -'168','val_168','2008-04-08','12' -'34','val_34','2008-04-08','12' -'229','val_229','2008-04-08','12' -'233','val_233','2008-04-08','12' -'143','val_143','2008-04-08','12' -'472','val_472','2008-04-08','12' -'322','val_322','2008-04-08','12' -'498','val_498','2008-04-08','12' -'160','val_160','2008-04-08','12' -'195','val_195','2008-04-08','12' -'42','val_42','2008-04-08','12' -'321','val_321','2008-04-08','12' -'430','val_430','2008-04-08','12' -'119','val_119','2008-04-08','12' -'489','val_489','2008-04-08','12' -'458','val_458','2008-04-08','12' -'78','val_78','2008-04-08','12' -'76','val_76','2008-04-08','12' -'41','val_41','2008-04-08','12' -'223','val_223','2008-04-08','12' -'492','val_492','2008-04-08','12' -'149','val_149','2008-04-08','12' -'449','val_449','2008-04-08','12' -'218','val_218','2008-04-08','12' -'228','val_228','2008-04-08','12' -'138','val_138','2008-04-08','12' -'453','val_453','2008-04-08','12' -'30','val_30','2008-04-08','12' -'209','val_209','2008-04-08','12' -'64','val_64','2008-04-08','12' -'468','val_468','2008-04-08','12' -'76','val_76','2008-04-08','12' -'74','val_74','2008-04-08','12' -'342','val_342','2008-04-08','12' -'69','val_69','2008-04-08','12' -'230','val_230','2008-04-08','12' -'33','val_33','2008-04-08','12' -'368','val_368','2008-04-08','12' -'103','val_103','2008-04-08','12' -'296','val_296','2008-04-08','12' -'113','val_113','2008-04-08','12' -'216','val_216','2008-04-08','12' -'367','val_367','2008-04-08','12' -'344','val_344','2008-04-08','12' -'167','val_167','2008-04-08','12' -'274','val_274','2008-04-08','12' -'219','val_219','2008-04-08','12' -'239','val_239','2008-04-08','12' -'485','val_485','2008-04-08','12' -'116','val_116','2008-04-08','12' -'223','val_223','2008-04-08','12' -'256','val_256','2008-04-08','12' -'263','val_263','2008-04-08','12' -'70','val_70','2008-04-08','12' -'487','val_487','2008-04-08','12' -'480','val_480','2008-04-08','12' -'401','val_401','2008-04-08','12' -'288','val_288','2008-04-08','12' -'191','val_191','2008-04-08','12' -'5','val_5','2008-04-08','12' -'244','val_244','2008-04-08','12' -'438','val_438','2008-04-08','12' -'128','val_128','2008-04-08','12' -'467','val_467','2008-04-08','12' -'432','val_432','2008-04-08','12' -'202','val_202','2008-04-08','12' -'316','val_316','2008-04-08','12' -'229','val_229','2008-04-08','12' -'469','val_469','2008-04-08','12' -'463','val_463','2008-04-08','12' -'280','val_280','2008-04-08','12' -'2','val_2','2008-04-08','12' -'35','val_35','2008-04-08','12' -'283','val_283','2008-04-08','12' -'331','val_331','2008-04-08','12' -'235','val_235','2008-04-08','12' -'80','val_80','2008-04-08','12' -'44','val_44','2008-04-08','12' -'193','val_193','2008-04-08','12' -'321','val_321','2008-04-08','12' -'335','val_335','2008-04-08','12' -'104','val_104','2008-04-08','12' -'466','val_466','2008-04-08','12' -'366','val_366','2008-04-08','12' -'175','val_175','2008-04-08','12' -'403','val_403','2008-04-08','12' -'483','val_483','2008-04-08','12' -'53','val_53','2008-04-08','12' -'105','val_105','2008-04-08','12' -'257','val_257','2008-04-08','12' -'406','val_406','2008-04-08','12' -'409','val_409','2008-04-08','12' -'190','val_190','2008-04-08','12' -'406','val_406','2008-04-08','12' -'401','val_401','2008-04-08','12' -'114','val_114','2008-04-08','12' -'258','val_258','2008-04-08','12' -'90','val_90','2008-04-08','12' -'203','val_203','2008-04-08','12' -'262','val_262','2008-04-08','12' -'348','val_348','2008-04-08','12' -'424','val_424','2008-04-08','12' -'12','val_12','2008-04-08','12' -'396','val_396','2008-04-08','12' -'201','val_201','2008-04-08','12' -'217','val_217','2008-04-08','12' -'164','val_164','2008-04-08','12' -'431','val_431','2008-04-08','12' -'454','val_454','2008-04-08','12' -'478','val_478','2008-04-08','12' -'298','val_298','2008-04-08','12' -'125','val_125','2008-04-08','12' -'431','val_431','2008-04-08','12' -'164','val_164','2008-04-08','12' -'424','val_424','2008-04-08','12' -'187','val_187','2008-04-08','12' -'382','val_382','2008-04-08','12' -'5','val_5','2008-04-08','12' -'70','val_70','2008-04-08','12' -'397','val_397','2008-04-08','12' -'480','val_480','2008-04-08','12' -'291','val_291','2008-04-08','12' -'24','val_24','2008-04-08','12' -'351','val_351','2008-04-08','12' -'255','val_255','2008-04-08','12' -'104','val_104','2008-04-08','12' -'70','val_70','2008-04-08','12' -'163','val_163','2008-04-08','12' -'438','val_438','2008-04-08','12' -'119','val_119','2008-04-08','12' -'414','val_414','2008-04-08','12' -'200','val_200','2008-04-08','12' -'491','val_491','2008-04-08','12' -'237','val_237','2008-04-08','12' -'439','val_439','2008-04-08','12' -'360','val_360','2008-04-08','12' -'248','val_248','2008-04-08','12' -'479','val_479','2008-04-08','12' -'305','val_305','2008-04-08','12' -'417','val_417','2008-04-08','12' -'199','val_199','2008-04-08','12' -'444','val_444','2008-04-08','12' -'120','val_120','2008-04-08','12' -'429','val_429','2008-04-08','12' -'169','val_169','2008-04-08','12' -'443','val_443','2008-04-08','12' -'323','val_323','2008-04-08','12' -'325','val_325','2008-04-08','12' -'277','val_277','2008-04-08','12' -'230','val_230','2008-04-08','12' -'478','val_478','2008-04-08','12' -'178','val_178','2008-04-08','12' -'468','val_468','2008-04-08','12' -'310','val_310','2008-04-08','12' -'317','val_317','2008-04-08','12' -'333','val_333','2008-04-08','12' -'493','val_493','2008-04-08','12' -'460','val_460','2008-04-08','12' -'207','val_207','2008-04-08','12' -'249','val_249','2008-04-08','12' -'265','val_265','2008-04-08','12' -'480','val_480','2008-04-08','12' -'83','val_83','2008-04-08','12' -'136','val_136','2008-04-08','12' -'353','val_353','2008-04-08','12' -'172','val_172','2008-04-08','12' -'214','val_214','2008-04-08','12' -'462','val_462','2008-04-08','12' -'233','val_233','2008-04-08','12' -'406','val_406','2008-04-08','12' -'133','val_133','2008-04-08','12' -'175','val_175','2008-04-08','12' -'189','val_189','2008-04-08','12' -'454','val_454','2008-04-08','12' -'375','val_375','2008-04-08','12' -'401','val_401','2008-04-08','12' -'421','val_421','2008-04-08','12' -'407','val_407','2008-04-08','12' -'384','val_384','2008-04-08','12' -'256','val_256','2008-04-08','12' -'26','val_26','2008-04-08','12' -'134','val_134','2008-04-08','12' -'67','val_67','2008-04-08','12' -'384','val_384','2008-04-08','12' -'379','val_379','2008-04-08','12' -'18','val_18','2008-04-08','12' -'462','val_462','2008-04-08','12' -'492','val_492','2008-04-08','12' -'100','val_100','2008-04-08','12' -'298','val_298','2008-04-08','12' -'9','val_9','2008-04-08','12' -'341','val_341','2008-04-08','12' -'498','val_498','2008-04-08','12' -'146','val_146','2008-04-08','12' -'458','val_458','2008-04-08','12' -'362','val_362','2008-04-08','12' -'186','val_186','2008-04-08','12' -'285','val_285','2008-04-08','12' -'348','val_348','2008-04-08','12' -'167','val_167','2008-04-08','12' -'18','val_18','2008-04-08','12' -'273','val_273','2008-04-08','12' -'183','val_183','2008-04-08','12' -'281','val_281','2008-04-08','12' -'344','val_344','2008-04-08','12' -'97','val_97','2008-04-08','12' -'469','val_469','2008-04-08','12' -'315','val_315','2008-04-08','12' -'84','val_84','2008-04-08','12' -'28','val_28','2008-04-08','12' -'37','val_37','2008-04-08','12' -'448','val_448','2008-04-08','12' -'152','val_152','2008-04-08','12' -'348','val_348','2008-04-08','12' -'307','val_307','2008-04-08','12' -'194','val_194','2008-04-08','12' -'414','val_414','2008-04-08','12' -'477','val_477','2008-04-08','12' -'222','val_222','2008-04-08','12' -'126','val_126','2008-04-08','12' -'90','val_90','2008-04-08','12' -'169','val_169','2008-04-08','12' -'403','val_403','2008-04-08','12' -'400','val_400','2008-04-08','12' -'200','val_200','2008-04-08','12' -'97','val_97','2008-04-08','12' -1,000 rows selected ->>> select * from nzhang_part2 where ds is not null and hr is not null; -'key','value','ds','hr' -'238','val_238','2008-12-31','11' -'86','val_86','2008-12-31','11' -'311','val_311','2008-12-31','11' -'27','val_27','2008-12-31','11' -'165','val_165','2008-12-31','11' -'409','val_409','2008-12-31','11' -'255','val_255','2008-12-31','11' -'278','val_278','2008-12-31','11' -'98','val_98','2008-12-31','11' -'484','val_484','2008-12-31','11' -'265','val_265','2008-12-31','11' -'193','val_193','2008-12-31','11' -'401','val_401','2008-12-31','11' -'150','val_150','2008-12-31','11' -'273','val_273','2008-12-31','11' -'224','val_224','2008-12-31','11' -'369','val_369','2008-12-31','11' -'66','val_66','2008-12-31','11' -'128','val_128','2008-12-31','11' -'213','val_213','2008-12-31','11' -'146','val_146','2008-12-31','11' -'406','val_406','2008-12-31','11' -'429','val_429','2008-12-31','11' -'374','val_374','2008-12-31','11' -'152','val_152','2008-12-31','11' -'469','val_469','2008-12-31','11' -'145','val_145','2008-12-31','11' -'495','val_495','2008-12-31','11' -'37','val_37','2008-12-31','11' -'327','val_327','2008-12-31','11' -'281','val_281','2008-12-31','11' -'277','val_277','2008-12-31','11' -'209','val_209','2008-12-31','11' -'15','val_15','2008-12-31','11' -'82','val_82','2008-12-31','11' -'403','val_403','2008-12-31','11' -'166','val_166','2008-12-31','11' -'417','val_417','2008-12-31','11' -'430','val_430','2008-12-31','11' -'252','val_252','2008-12-31','11' -'292','val_292','2008-12-31','11' -'219','val_219','2008-12-31','11' -'287','val_287','2008-12-31','11' -'153','val_153','2008-12-31','11' -'193','val_193','2008-12-31','11' -'338','val_338','2008-12-31','11' -'446','val_446','2008-12-31','11' -'459','val_459','2008-12-31','11' -'394','val_394','2008-12-31','11' -'237','val_237','2008-12-31','11' -'482','val_482','2008-12-31','11' -'174','val_174','2008-12-31','11' -'413','val_413','2008-12-31','11' -'494','val_494','2008-12-31','11' -'207','val_207','2008-12-31','11' -'199','val_199','2008-12-31','11' -'466','val_466','2008-12-31','11' -'208','val_208','2008-12-31','11' -'174','val_174','2008-12-31','11' -'399','val_399','2008-12-31','11' -'396','val_396','2008-12-31','11' -'247','val_247','2008-12-31','11' -'417','val_417','2008-12-31','11' -'489','val_489','2008-12-31','11' -'162','val_162','2008-12-31','11' -'377','val_377','2008-12-31','11' -'397','val_397','2008-12-31','11' -'309','val_309','2008-12-31','11' -'365','val_365','2008-12-31','11' -'266','val_266','2008-12-31','11' -'439','val_439','2008-12-31','11' -'342','val_342','2008-12-31','11' -'367','val_367','2008-12-31','11' -'325','val_325','2008-12-31','11' -'167','val_167','2008-12-31','11' -'195','val_195','2008-12-31','11' -'475','val_475','2008-12-31','11' -'17','val_17','2008-12-31','11' -'113','val_113','2008-12-31','11' -'155','val_155','2008-12-31','11' -'203','val_203','2008-12-31','11' -'339','val_339','2008-12-31','11' -'0','val_0','2008-12-31','11' -'455','val_455','2008-12-31','11' -'128','val_128','2008-12-31','11' -'311','val_311','2008-12-31','11' -'316','val_316','2008-12-31','11' -'57','val_57','2008-12-31','11' -'302','val_302','2008-12-31','11' -'205','val_205','2008-12-31','11' -'149','val_149','2008-12-31','11' -'438','val_438','2008-12-31','11' -'345','val_345','2008-12-31','11' -'129','val_129','2008-12-31','11' -'170','val_170','2008-12-31','11' -'20','val_20','2008-12-31','11' -'489','val_489','2008-12-31','11' -'157','val_157','2008-12-31','11' -'378','val_378','2008-12-31','11' -'221','val_221','2008-12-31','11' -'92','val_92','2008-12-31','11' -'111','val_111','2008-12-31','11' -'47','val_47','2008-12-31','11' -'72','val_72','2008-12-31','11' -'4','val_4','2008-12-31','11' -'280','val_280','2008-12-31','11' -'35','val_35','2008-12-31','11' -'427','val_427','2008-12-31','11' -'277','val_277','2008-12-31','11' -'208','val_208','2008-12-31','11' -'356','val_356','2008-12-31','11' -'399','val_399','2008-12-31','11' -'169','val_169','2008-12-31','11' -'382','val_382','2008-12-31','11' -'498','val_498','2008-12-31','11' -'125','val_125','2008-12-31','11' -'386','val_386','2008-12-31','11' -'437','val_437','2008-12-31','11' -'469','val_469','2008-12-31','11' -'192','val_192','2008-12-31','11' -'286','val_286','2008-12-31','11' -'187','val_187','2008-12-31','11' -'176','val_176','2008-12-31','11' -'54','val_54','2008-12-31','11' -'459','val_459','2008-12-31','11' -'51','val_51','2008-12-31','11' -'138','val_138','2008-12-31','11' -'103','val_103','2008-12-31','11' -'239','val_239','2008-12-31','11' -'213','val_213','2008-12-31','11' -'216','val_216','2008-12-31','11' -'430','val_430','2008-12-31','11' -'278','val_278','2008-12-31','11' -'176','val_176','2008-12-31','11' -'289','val_289','2008-12-31','11' -'221','val_221','2008-12-31','11' -'65','val_65','2008-12-31','11' -'318','val_318','2008-12-31','11' -'332','val_332','2008-12-31','11' -'311','val_311','2008-12-31','11' -'275','val_275','2008-12-31','11' -'137','val_137','2008-12-31','11' -'241','val_241','2008-12-31','11' -'83','val_83','2008-12-31','11' -'333','val_333','2008-12-31','11' -'180','val_180','2008-12-31','11' -'284','val_284','2008-12-31','11' -'12','val_12','2008-12-31','11' -'230','val_230','2008-12-31','11' -'181','val_181','2008-12-31','11' -'67','val_67','2008-12-31','11' -'260','val_260','2008-12-31','11' -'404','val_404','2008-12-31','11' -'384','val_384','2008-12-31','11' -'489','val_489','2008-12-31','11' -'353','val_353','2008-12-31','11' -'373','val_373','2008-12-31','11' -'272','val_272','2008-12-31','11' -'138','val_138','2008-12-31','11' -'217','val_217','2008-12-31','11' -'84','val_84','2008-12-31','11' -'348','val_348','2008-12-31','11' -'466','val_466','2008-12-31','11' -'58','val_58','2008-12-31','11' -'8','val_8','2008-12-31','11' -'411','val_411','2008-12-31','11' -'230','val_230','2008-12-31','11' -'208','val_208','2008-12-31','11' -'348','val_348','2008-12-31','11' -'24','val_24','2008-12-31','11' -'463','val_463','2008-12-31','11' -'431','val_431','2008-12-31','11' -'179','val_179','2008-12-31','11' -'172','val_172','2008-12-31','11' -'42','val_42','2008-12-31','11' -'129','val_129','2008-12-31','11' -'158','val_158','2008-12-31','11' -'119','val_119','2008-12-31','11' -'496','val_496','2008-12-31','11' -'0','val_0','2008-12-31','11' -'322','val_322','2008-12-31','11' -'197','val_197','2008-12-31','11' -'468','val_468','2008-12-31','11' -'393','val_393','2008-12-31','11' -'454','val_454','2008-12-31','11' -'100','val_100','2008-12-31','11' -'298','val_298','2008-12-31','11' -'199','val_199','2008-12-31','11' -'191','val_191','2008-12-31','11' -'418','val_418','2008-12-31','11' -'96','val_96','2008-12-31','11' -'26','val_26','2008-12-31','11' -'165','val_165','2008-12-31','11' -'327','val_327','2008-12-31','11' -'230','val_230','2008-12-31','11' -'205','val_205','2008-12-31','11' -'120','val_120','2008-12-31','11' -'131','val_131','2008-12-31','11' -'51','val_51','2008-12-31','11' -'404','val_404','2008-12-31','11' -'43','val_43','2008-12-31','11' -'436','val_436','2008-12-31','11' -'156','val_156','2008-12-31','11' -'469','val_469','2008-12-31','11' -'468','val_468','2008-12-31','11' -'308','val_308','2008-12-31','11' -'95','val_95','2008-12-31','11' -'196','val_196','2008-12-31','11' -'288','val_288','2008-12-31','11' -'481','val_481','2008-12-31','11' -'457','val_457','2008-12-31','11' -'98','val_98','2008-12-31','11' -'282','val_282','2008-12-31','11' -'197','val_197','2008-12-31','11' -'187','val_187','2008-12-31','11' -'318','val_318','2008-12-31','11' -'318','val_318','2008-12-31','11' -'409','val_409','2008-12-31','11' -'470','val_470','2008-12-31','11' -'137','val_137','2008-12-31','11' -'369','val_369','2008-12-31','11' -'316','val_316','2008-12-31','11' -'169','val_169','2008-12-31','11' -'413','val_413','2008-12-31','11' -'85','val_85','2008-12-31','11' -'77','val_77','2008-12-31','11' -'0','val_0','2008-12-31','11' -'490','val_490','2008-12-31','11' -'87','val_87','2008-12-31','11' -'364','val_364','2008-12-31','11' -'179','val_179','2008-12-31','11' -'118','val_118','2008-12-31','11' -'134','val_134','2008-12-31','11' -'395','val_395','2008-12-31','11' -'282','val_282','2008-12-31','11' -'138','val_138','2008-12-31','11' -'238','val_238','2008-12-31','11' -'419','val_419','2008-12-31','11' -'15','val_15','2008-12-31','11' -'118','val_118','2008-12-31','11' -'72','val_72','2008-12-31','11' -'90','val_90','2008-12-31','11' -'307','val_307','2008-12-31','11' -'19','val_19','2008-12-31','11' -'435','val_435','2008-12-31','11' -'10','val_10','2008-12-31','11' -'277','val_277','2008-12-31','11' -'273','val_273','2008-12-31','11' -'306','val_306','2008-12-31','11' -'224','val_224','2008-12-31','11' -'309','val_309','2008-12-31','11' -'389','val_389','2008-12-31','11' -'327','val_327','2008-12-31','11' -'242','val_242','2008-12-31','11' -'369','val_369','2008-12-31','11' -'392','val_392','2008-12-31','11' -'272','val_272','2008-12-31','11' -'331','val_331','2008-12-31','11' -'401','val_401','2008-12-31','11' -'242','val_242','2008-12-31','11' -'452','val_452','2008-12-31','11' -'177','val_177','2008-12-31','11' -'226','val_226','2008-12-31','11' -'5','val_5','2008-12-31','11' -'497','val_497','2008-12-31','11' -'402','val_402','2008-12-31','11' -'396','val_396','2008-12-31','11' -'317','val_317','2008-12-31','11' -'395','val_395','2008-12-31','11' -'58','val_58','2008-12-31','11' -'35','val_35','2008-12-31','11' -'336','val_336','2008-12-31','11' -'95','val_95','2008-12-31','11' -'11','val_11','2008-12-31','11' -'168','val_168','2008-12-31','11' -'34','val_34','2008-12-31','11' -'229','val_229','2008-12-31','11' -'233','val_233','2008-12-31','11' -'143','val_143','2008-12-31','11' -'472','val_472','2008-12-31','11' -'322','val_322','2008-12-31','11' -'498','val_498','2008-12-31','11' -'160','val_160','2008-12-31','11' -'195','val_195','2008-12-31','11' -'42','val_42','2008-12-31','11' -'321','val_321','2008-12-31','11' -'430','val_430','2008-12-31','11' -'119','val_119','2008-12-31','11' -'489','val_489','2008-12-31','11' -'458','val_458','2008-12-31','11' -'78','val_78','2008-12-31','11' -'76','val_76','2008-12-31','11' -'41','val_41','2008-12-31','11' -'223','val_223','2008-12-31','11' -'492','val_492','2008-12-31','11' -'149','val_149','2008-12-31','11' -'449','val_449','2008-12-31','11' -'218','val_218','2008-12-31','11' -'228','val_228','2008-12-31','11' -'138','val_138','2008-12-31','11' -'453','val_453','2008-12-31','11' -'30','val_30','2008-12-31','11' -'209','val_209','2008-12-31','11' -'64','val_64','2008-12-31','11' -'468','val_468','2008-12-31','11' -'76','val_76','2008-12-31','11' -'74','val_74','2008-12-31','11' -'342','val_342','2008-12-31','11' -'69','val_69','2008-12-31','11' -'230','val_230','2008-12-31','11' -'33','val_33','2008-12-31','11' -'368','val_368','2008-12-31','11' -'103','val_103','2008-12-31','11' -'296','val_296','2008-12-31','11' -'113','val_113','2008-12-31','11' -'216','val_216','2008-12-31','11' -'367','val_367','2008-12-31','11' -'344','val_344','2008-12-31','11' -'167','val_167','2008-12-31','11' -'274','val_274','2008-12-31','11' -'219','val_219','2008-12-31','11' -'239','val_239','2008-12-31','11' -'485','val_485','2008-12-31','11' -'116','val_116','2008-12-31','11' -'223','val_223','2008-12-31','11' -'256','val_256','2008-12-31','11' -'263','val_263','2008-12-31','11' -'70','val_70','2008-12-31','11' -'487','val_487','2008-12-31','11' -'480','val_480','2008-12-31','11' -'401','val_401','2008-12-31','11' -'288','val_288','2008-12-31','11' -'191','val_191','2008-12-31','11' -'5','val_5','2008-12-31','11' -'244','val_244','2008-12-31','11' -'438','val_438','2008-12-31','11' -'128','val_128','2008-12-31','11' -'467','val_467','2008-12-31','11' -'432','val_432','2008-12-31','11' -'202','val_202','2008-12-31','11' -'316','val_316','2008-12-31','11' -'229','val_229','2008-12-31','11' -'469','val_469','2008-12-31','11' -'463','val_463','2008-12-31','11' -'280','val_280','2008-12-31','11' -'2','val_2','2008-12-31','11' -'35','val_35','2008-12-31','11' -'283','val_283','2008-12-31','11' -'331','val_331','2008-12-31','11' -'235','val_235','2008-12-31','11' -'80','val_80','2008-12-31','11' -'44','val_44','2008-12-31','11' -'193','val_193','2008-12-31','11' -'321','val_321','2008-12-31','11' -'335','val_335','2008-12-31','11' -'104','val_104','2008-12-31','11' -'466','val_466','2008-12-31','11' -'366','val_366','2008-12-31','11' -'175','val_175','2008-12-31','11' -'403','val_403','2008-12-31','11' -'483','val_483','2008-12-31','11' -'53','val_53','2008-12-31','11' -'105','val_105','2008-12-31','11' -'257','val_257','2008-12-31','11' -'406','val_406','2008-12-31','11' -'409','val_409','2008-12-31','11' -'190','val_190','2008-12-31','11' -'406','val_406','2008-12-31','11' -'401','val_401','2008-12-31','11' -'114','val_114','2008-12-31','11' -'258','val_258','2008-12-31','11' -'90','val_90','2008-12-31','11' -'203','val_203','2008-12-31','11' -'262','val_262','2008-12-31','11' -'348','val_348','2008-12-31','11' -'424','val_424','2008-12-31','11' -'12','val_12','2008-12-31','11' -'396','val_396','2008-12-31','11' -'201','val_201','2008-12-31','11' -'217','val_217','2008-12-31','11' -'164','val_164','2008-12-31','11' -'431','val_431','2008-12-31','11' -'454','val_454','2008-12-31','11' -'478','val_478','2008-12-31','11' -'298','val_298','2008-12-31','11' -'125','val_125','2008-12-31','11' -'431','val_431','2008-12-31','11' -'164','val_164','2008-12-31','11' -'424','val_424','2008-12-31','11' -'187','val_187','2008-12-31','11' -'382','val_382','2008-12-31','11' -'5','val_5','2008-12-31','11' -'70','val_70','2008-12-31','11' -'397','val_397','2008-12-31','11' -'480','val_480','2008-12-31','11' -'291','val_291','2008-12-31','11' -'24','val_24','2008-12-31','11' -'351','val_351','2008-12-31','11' -'255','val_255','2008-12-31','11' -'104','val_104','2008-12-31','11' -'70','val_70','2008-12-31','11' -'163','val_163','2008-12-31','11' -'438','val_438','2008-12-31','11' -'119','val_119','2008-12-31','11' -'414','val_414','2008-12-31','11' -'200','val_200','2008-12-31','11' -'491','val_491','2008-12-31','11' -'237','val_237','2008-12-31','11' -'439','val_439','2008-12-31','11' -'360','val_360','2008-12-31','11' -'248','val_248','2008-12-31','11' -'479','val_479','2008-12-31','11' -'305','val_305','2008-12-31','11' -'417','val_417','2008-12-31','11' -'199','val_199','2008-12-31','11' -'444','val_444','2008-12-31','11' -'120','val_120','2008-12-31','11' -'429','val_429','2008-12-31','11' -'169','val_169','2008-12-31','11' -'443','val_443','2008-12-31','11' -'323','val_323','2008-12-31','11' -'325','val_325','2008-12-31','11' -'277','val_277','2008-12-31','11' -'230','val_230','2008-12-31','11' -'478','val_478','2008-12-31','11' -'178','val_178','2008-12-31','11' -'468','val_468','2008-12-31','11' -'310','val_310','2008-12-31','11' -'317','val_317','2008-12-31','11' -'333','val_333','2008-12-31','11' -'493','val_493','2008-12-31','11' -'460','val_460','2008-12-31','11' -'207','val_207','2008-12-31','11' -'249','val_249','2008-12-31','11' -'265','val_265','2008-12-31','11' -'480','val_480','2008-12-31','11' -'83','val_83','2008-12-31','11' -'136','val_136','2008-12-31','11' -'353','val_353','2008-12-31','11' -'172','val_172','2008-12-31','11' -'214','val_214','2008-12-31','11' -'462','val_462','2008-12-31','11' -'233','val_233','2008-12-31','11' -'406','val_406','2008-12-31','11' -'133','val_133','2008-12-31','11' -'175','val_175','2008-12-31','11' -'189','val_189','2008-12-31','11' -'454','val_454','2008-12-31','11' -'375','val_375','2008-12-31','11' -'401','val_401','2008-12-31','11' -'421','val_421','2008-12-31','11' -'407','val_407','2008-12-31','11' -'384','val_384','2008-12-31','11' -'256','val_256','2008-12-31','11' -'26','val_26','2008-12-31','11' -'134','val_134','2008-12-31','11' -'67','val_67','2008-12-31','11' -'384','val_384','2008-12-31','11' -'379','val_379','2008-12-31','11' -'18','val_18','2008-12-31','11' -'462','val_462','2008-12-31','11' -'492','val_492','2008-12-31','11' -'100','val_100','2008-12-31','11' -'298','val_298','2008-12-31','11' -'9','val_9','2008-12-31','11' -'341','val_341','2008-12-31','11' -'498','val_498','2008-12-31','11' -'146','val_146','2008-12-31','11' -'458','val_458','2008-12-31','11' -'362','val_362','2008-12-31','11' -'186','val_186','2008-12-31','11' -'285','val_285','2008-12-31','11' -'348','val_348','2008-12-31','11' -'167','val_167','2008-12-31','11' -'18','val_18','2008-12-31','11' -'273','val_273','2008-12-31','11' -'183','val_183','2008-12-31','11' -'281','val_281','2008-12-31','11' -'344','val_344','2008-12-31','11' -'97','val_97','2008-12-31','11' -'469','val_469','2008-12-31','11' -'315','val_315','2008-12-31','11' -'84','val_84','2008-12-31','11' -'28','val_28','2008-12-31','11' -'37','val_37','2008-12-31','11' -'448','val_448','2008-12-31','11' -'152','val_152','2008-12-31','11' -'348','val_348','2008-12-31','11' -'307','val_307','2008-12-31','11' -'194','val_194','2008-12-31','11' -'414','val_414','2008-12-31','11' -'477','val_477','2008-12-31','11' -'222','val_222','2008-12-31','11' -'126','val_126','2008-12-31','11' -'90','val_90','2008-12-31','11' -'169','val_169','2008-12-31','11' -'403','val_403','2008-12-31','11' -'400','val_400','2008-12-31','11' -'200','val_200','2008-12-31','11' -'97','val_97','2008-12-31','11' -'238','val_238','2008-12-31','12' -'86','val_86','2008-12-31','12' -'311','val_311','2008-12-31','12' -'27','val_27','2008-12-31','12' -'165','val_165','2008-12-31','12' -'409','val_409','2008-12-31','12' -'255','val_255','2008-12-31','12' -'278','val_278','2008-12-31','12' -'98','val_98','2008-12-31','12' -'484','val_484','2008-12-31','12' -'265','val_265','2008-12-31','12' -'193','val_193','2008-12-31','12' -'401','val_401','2008-12-31','12' -'150','val_150','2008-12-31','12' -'273','val_273','2008-12-31','12' -'224','val_224','2008-12-31','12' -'369','val_369','2008-12-31','12' -'66','val_66','2008-12-31','12' -'128','val_128','2008-12-31','12' -'213','val_213','2008-12-31','12' -'146','val_146','2008-12-31','12' -'406','val_406','2008-12-31','12' -'429','val_429','2008-12-31','12' -'374','val_374','2008-12-31','12' -'152','val_152','2008-12-31','12' -'469','val_469','2008-12-31','12' -'145','val_145','2008-12-31','12' -'495','val_495','2008-12-31','12' -'37','val_37','2008-12-31','12' -'327','val_327','2008-12-31','12' -'281','val_281','2008-12-31','12' -'277','val_277','2008-12-31','12' -'209','val_209','2008-12-31','12' -'15','val_15','2008-12-31','12' -'82','val_82','2008-12-31','12' -'403','val_403','2008-12-31','12' -'166','val_166','2008-12-31','12' -'417','val_417','2008-12-31','12' -'430','val_430','2008-12-31','12' -'252','val_252','2008-12-31','12' -'292','val_292','2008-12-31','12' -'219','val_219','2008-12-31','12' -'287','val_287','2008-12-31','12' -'153','val_153','2008-12-31','12' -'193','val_193','2008-12-31','12' -'338','val_338','2008-12-31','12' -'446','val_446','2008-12-31','12' -'459','val_459','2008-12-31','12' -'394','val_394','2008-12-31','12' -'237','val_237','2008-12-31','12' -'482','val_482','2008-12-31','12' -'174','val_174','2008-12-31','12' -'413','val_413','2008-12-31','12' -'494','val_494','2008-12-31','12' -'207','val_207','2008-12-31','12' -'199','val_199','2008-12-31','12' -'466','val_466','2008-12-31','12' -'208','val_208','2008-12-31','12' -'174','val_174','2008-12-31','12' -'399','val_399','2008-12-31','12' -'396','val_396','2008-12-31','12' -'247','val_247','2008-12-31','12' -'417','val_417','2008-12-31','12' -'489','val_489','2008-12-31','12' -'162','val_162','2008-12-31','12' -'377','val_377','2008-12-31','12' -'397','val_397','2008-12-31','12' -'309','val_309','2008-12-31','12' -'365','val_365','2008-12-31','12' -'266','val_266','2008-12-31','12' -'439','val_439','2008-12-31','12' -'342','val_342','2008-12-31','12' -'367','val_367','2008-12-31','12' -'325','val_325','2008-12-31','12' -'167','val_167','2008-12-31','12' -'195','val_195','2008-12-31','12' -'475','val_475','2008-12-31','12' -'17','val_17','2008-12-31','12' -'113','val_113','2008-12-31','12' -'155','val_155','2008-12-31','12' -'203','val_203','2008-12-31','12' -'339','val_339','2008-12-31','12' -'0','val_0','2008-12-31','12' -'455','val_455','2008-12-31','12' -'128','val_128','2008-12-31','12' -'311','val_311','2008-12-31','12' -'316','val_316','2008-12-31','12' -'57','val_57','2008-12-31','12' -'302','val_302','2008-12-31','12' -'205','val_205','2008-12-31','12' -'149','val_149','2008-12-31','12' -'438','val_438','2008-12-31','12' -'345','val_345','2008-12-31','12' -'129','val_129','2008-12-31','12' -'170','val_170','2008-12-31','12' -'20','val_20','2008-12-31','12' -'489','val_489','2008-12-31','12' -'157','val_157','2008-12-31','12' -'378','val_378','2008-12-31','12' -'221','val_221','2008-12-31','12' -'92','val_92','2008-12-31','12' -'111','val_111','2008-12-31','12' -'47','val_47','2008-12-31','12' -'72','val_72','2008-12-31','12' -'4','val_4','2008-12-31','12' -'280','val_280','2008-12-31','12' -'35','val_35','2008-12-31','12' -'427','val_427','2008-12-31','12' -'277','val_277','2008-12-31','12' -'208','val_208','2008-12-31','12' -'356','val_356','2008-12-31','12' -'399','val_399','2008-12-31','12' -'169','val_169','2008-12-31','12' -'382','val_382','2008-12-31','12' -'498','val_498','2008-12-31','12' -'125','val_125','2008-12-31','12' -'386','val_386','2008-12-31','12' -'437','val_437','2008-12-31','12' -'469','val_469','2008-12-31','12' -'192','val_192','2008-12-31','12' -'286','val_286','2008-12-31','12' -'187','val_187','2008-12-31','12' -'176','val_176','2008-12-31','12' -'54','val_54','2008-12-31','12' -'459','val_459','2008-12-31','12' -'51','val_51','2008-12-31','12' -'138','val_138','2008-12-31','12' -'103','val_103','2008-12-31','12' -'239','val_239','2008-12-31','12' -'213','val_213','2008-12-31','12' -'216','val_216','2008-12-31','12' -'430','val_430','2008-12-31','12' -'278','val_278','2008-12-31','12' -'176','val_176','2008-12-31','12' -'289','val_289','2008-12-31','12' -'221','val_221','2008-12-31','12' -'65','val_65','2008-12-31','12' -'318','val_318','2008-12-31','12' -'332','val_332','2008-12-31','12' -'311','val_311','2008-12-31','12' -'275','val_275','2008-12-31','12' -'137','val_137','2008-12-31','12' -'241','val_241','2008-12-31','12' -'83','val_83','2008-12-31','12' -'333','val_333','2008-12-31','12' -'180','val_180','2008-12-31','12' -'284','val_284','2008-12-31','12' -'12','val_12','2008-12-31','12' -'230','val_230','2008-12-31','12' -'181','val_181','2008-12-31','12' -'67','val_67','2008-12-31','12' -'260','val_260','2008-12-31','12' -'404','val_404','2008-12-31','12' -'384','val_384','2008-12-31','12' -'489','val_489','2008-12-31','12' -'353','val_353','2008-12-31','12' -'373','val_373','2008-12-31','12' -'272','val_272','2008-12-31','12' -'138','val_138','2008-12-31','12' -'217','val_217','2008-12-31','12' -'84','val_84','2008-12-31','12' -'348','val_348','2008-12-31','12' -'466','val_466','2008-12-31','12' -'58','val_58','2008-12-31','12' -'8','val_8','2008-12-31','12' -'411','val_411','2008-12-31','12' -'230','val_230','2008-12-31','12' -'208','val_208','2008-12-31','12' -'348','val_348','2008-12-31','12' -'24','val_24','2008-12-31','12' -'463','val_463','2008-12-31','12' -'431','val_431','2008-12-31','12' -'179','val_179','2008-12-31','12' -'172','val_172','2008-12-31','12' -'42','val_42','2008-12-31','12' -'129','val_129','2008-12-31','12' -'158','val_158','2008-12-31','12' -'119','val_119','2008-12-31','12' -'496','val_496','2008-12-31','12' -'0','val_0','2008-12-31','12' -'322','val_322','2008-12-31','12' -'197','val_197','2008-12-31','12' -'468','val_468','2008-12-31','12' -'393','val_393','2008-12-31','12' -'454','val_454','2008-12-31','12' -'100','val_100','2008-12-31','12' -'298','val_298','2008-12-31','12' -'199','val_199','2008-12-31','12' -'191','val_191','2008-12-31','12' -'418','val_418','2008-12-31','12' -'96','val_96','2008-12-31','12' -'26','val_26','2008-12-31','12' -'165','val_165','2008-12-31','12' -'327','val_327','2008-12-31','12' -'230','val_230','2008-12-31','12' -'205','val_205','2008-12-31','12' -'120','val_120','2008-12-31','12' -'131','val_131','2008-12-31','12' -'51','val_51','2008-12-31','12' -'404','val_404','2008-12-31','12' -'43','val_43','2008-12-31','12' -'436','val_436','2008-12-31','12' -'156','val_156','2008-12-31','12' -'469','val_469','2008-12-31','12' -'468','val_468','2008-12-31','12' -'308','val_308','2008-12-31','12' -'95','val_95','2008-12-31','12' -'196','val_196','2008-12-31','12' -'288','val_288','2008-12-31','12' -'481','val_481','2008-12-31','12' -'457','val_457','2008-12-31','12' -'98','val_98','2008-12-31','12' -'282','val_282','2008-12-31','12' -'197','val_197','2008-12-31','12' -'187','val_187','2008-12-31','12' -'318','val_318','2008-12-31','12' -'318','val_318','2008-12-31','12' -'409','val_409','2008-12-31','12' -'470','val_470','2008-12-31','12' -'137','val_137','2008-12-31','12' -'369','val_369','2008-12-31','12' -'316','val_316','2008-12-31','12' -'169','val_169','2008-12-31','12' -'413','val_413','2008-12-31','12' -'85','val_85','2008-12-31','12' -'77','val_77','2008-12-31','12' -'0','val_0','2008-12-31','12' -'490','val_490','2008-12-31','12' -'87','val_87','2008-12-31','12' -'364','val_364','2008-12-31','12' -'179','val_179','2008-12-31','12' -'118','val_118','2008-12-31','12' -'134','val_134','2008-12-31','12' -'395','val_395','2008-12-31','12' -'282','val_282','2008-12-31','12' -'138','val_138','2008-12-31','12' -'238','val_238','2008-12-31','12' -'419','val_419','2008-12-31','12' -'15','val_15','2008-12-31','12' -'118','val_118','2008-12-31','12' -'72','val_72','2008-12-31','12' -'90','val_90','2008-12-31','12' -'307','val_307','2008-12-31','12' -'19','val_19','2008-12-31','12' -'435','val_435','2008-12-31','12' -'10','val_10','2008-12-31','12' -'277','val_277','2008-12-31','12' -'273','val_273','2008-12-31','12' -'306','val_306','2008-12-31','12' -'224','val_224','2008-12-31','12' -'309','val_309','2008-12-31','12' -'389','val_389','2008-12-31','12' -'327','val_327','2008-12-31','12' -'242','val_242','2008-12-31','12' -'369','val_369','2008-12-31','12' -'392','val_392','2008-12-31','12' -'272','val_272','2008-12-31','12' -'331','val_331','2008-12-31','12' -'401','val_401','2008-12-31','12' -'242','val_242','2008-12-31','12' -'452','val_452','2008-12-31','12' -'177','val_177','2008-12-31','12' -'226','val_226','2008-12-31','12' -'5','val_5','2008-12-31','12' -'497','val_497','2008-12-31','12' -'402','val_402','2008-12-31','12' -'396','val_396','2008-12-31','12' -'317','val_317','2008-12-31','12' -'395','val_395','2008-12-31','12' -'58','val_58','2008-12-31','12' -'35','val_35','2008-12-31','12' -'336','val_336','2008-12-31','12' -'95','val_95','2008-12-31','12' -'11','val_11','2008-12-31','12' -'168','val_168','2008-12-31','12' -'34','val_34','2008-12-31','12' -'229','val_229','2008-12-31','12' -'233','val_233','2008-12-31','12' -'143','val_143','2008-12-31','12' -'472','val_472','2008-12-31','12' -'322','val_322','2008-12-31','12' -'498','val_498','2008-12-31','12' -'160','val_160','2008-12-31','12' -'195','val_195','2008-12-31','12' -'42','val_42','2008-12-31','12' -'321','val_321','2008-12-31','12' -'430','val_430','2008-12-31','12' -'119','val_119','2008-12-31','12' -'489','val_489','2008-12-31','12' -'458','val_458','2008-12-31','12' -'78','val_78','2008-12-31','12' -'76','val_76','2008-12-31','12' -'41','val_41','2008-12-31','12' -'223','val_223','2008-12-31','12' -'492','val_492','2008-12-31','12' -'149','val_149','2008-12-31','12' -'449','val_449','2008-12-31','12' -'218','val_218','2008-12-31','12' -'228','val_228','2008-12-31','12' -'138','val_138','2008-12-31','12' -'453','val_453','2008-12-31','12' -'30','val_30','2008-12-31','12' -'209','val_209','2008-12-31','12' -'64','val_64','2008-12-31','12' -'468','val_468','2008-12-31','12' -'76','val_76','2008-12-31','12' -'74','val_74','2008-12-31','12' -'342','val_342','2008-12-31','12' -'69','val_69','2008-12-31','12' -'230','val_230','2008-12-31','12' -'33','val_33','2008-12-31','12' -'368','val_368','2008-12-31','12' -'103','val_103','2008-12-31','12' -'296','val_296','2008-12-31','12' -'113','val_113','2008-12-31','12' -'216','val_216','2008-12-31','12' -'367','val_367','2008-12-31','12' -'344','val_344','2008-12-31','12' -'167','val_167','2008-12-31','12' -'274','val_274','2008-12-31','12' -'219','val_219','2008-12-31','12' -'239','val_239','2008-12-31','12' -'485','val_485','2008-12-31','12' -'116','val_116','2008-12-31','12' -'223','val_223','2008-12-31','12' -'256','val_256','2008-12-31','12' -'263','val_263','2008-12-31','12' -'70','val_70','2008-12-31','12' -'487','val_487','2008-12-31','12' -'480','val_480','2008-12-31','12' -'401','val_401','2008-12-31','12' -'288','val_288','2008-12-31','12' -'191','val_191','2008-12-31','12' -'5','val_5','2008-12-31','12' -'244','val_244','2008-12-31','12' -'438','val_438','2008-12-31','12' -'128','val_128','2008-12-31','12' -'467','val_467','2008-12-31','12' -'432','val_432','2008-12-31','12' -'202','val_202','2008-12-31','12' -'316','val_316','2008-12-31','12' -'229','val_229','2008-12-31','12' -'469','val_469','2008-12-31','12' -'463','val_463','2008-12-31','12' -'280','val_280','2008-12-31','12' -'2','val_2','2008-12-31','12' -'35','val_35','2008-12-31','12' -'283','val_283','2008-12-31','12' -'331','val_331','2008-12-31','12' -'235','val_235','2008-12-31','12' -'80','val_80','2008-12-31','12' -'44','val_44','2008-12-31','12' -'193','val_193','2008-12-31','12' -'321','val_321','2008-12-31','12' -'335','val_335','2008-12-31','12' -'104','val_104','2008-12-31','12' -'466','val_466','2008-12-31','12' -'366','val_366','2008-12-31','12' -'175','val_175','2008-12-31','12' -'403','val_403','2008-12-31','12' -'483','val_483','2008-12-31','12' -'53','val_53','2008-12-31','12' -'105','val_105','2008-12-31','12' -'257','val_257','2008-12-31','12' -'406','val_406','2008-12-31','12' -'409','val_409','2008-12-31','12' -'190','val_190','2008-12-31','12' -'406','val_406','2008-12-31','12' -'401','val_401','2008-12-31','12' -'114','val_114','2008-12-31','12' -'258','val_258','2008-12-31','12' -'90','val_90','2008-12-31','12' -'203','val_203','2008-12-31','12' -'262','val_262','2008-12-31','12' -'348','val_348','2008-12-31','12' -'424','val_424','2008-12-31','12' -'12','val_12','2008-12-31','12' -'396','val_396','2008-12-31','12' -'201','val_201','2008-12-31','12' -'217','val_217','2008-12-31','12' -'164','val_164','2008-12-31','12' -'431','val_431','2008-12-31','12' -'454','val_454','2008-12-31','12' -'478','val_478','2008-12-31','12' -'298','val_298','2008-12-31','12' -'125','val_125','2008-12-31','12' -'431','val_431','2008-12-31','12' -'164','val_164','2008-12-31','12' -'424','val_424','2008-12-31','12' -'187','val_187','2008-12-31','12' -'382','val_382','2008-12-31','12' -'5','val_5','2008-12-31','12' -'70','val_70','2008-12-31','12' -'397','val_397','2008-12-31','12' -'480','val_480','2008-12-31','12' -'291','val_291','2008-12-31','12' -'24','val_24','2008-12-31','12' -'351','val_351','2008-12-31','12' -'255','val_255','2008-12-31','12' -'104','val_104','2008-12-31','12' -'70','val_70','2008-12-31','12' -'163','val_163','2008-12-31','12' -'438','val_438','2008-12-31','12' -'119','val_119','2008-12-31','12' -'414','val_414','2008-12-31','12' -'200','val_200','2008-12-31','12' -'491','val_491','2008-12-31','12' -'237','val_237','2008-12-31','12' -'439','val_439','2008-12-31','12' -'360','val_360','2008-12-31','12' -'248','val_248','2008-12-31','12' -'479','val_479','2008-12-31','12' -'305','val_305','2008-12-31','12' -'417','val_417','2008-12-31','12' -'199','val_199','2008-12-31','12' -'444','val_444','2008-12-31','12' -'120','val_120','2008-12-31','12' -'429','val_429','2008-12-31','12' -'169','val_169','2008-12-31','12' -'443','val_443','2008-12-31','12' -'323','val_323','2008-12-31','12' -'325','val_325','2008-12-31','12' -'277','val_277','2008-12-31','12' -'230','val_230','2008-12-31','12' -'478','val_478','2008-12-31','12' -'178','val_178','2008-12-31','12' -'468','val_468','2008-12-31','12' -'310','val_310','2008-12-31','12' -'317','val_317','2008-12-31','12' -'333','val_333','2008-12-31','12' -'493','val_493','2008-12-31','12' -'460','val_460','2008-12-31','12' -'207','val_207','2008-12-31','12' -'249','val_249','2008-12-31','12' -'265','val_265','2008-12-31','12' -'480','val_480','2008-12-31','12' -'83','val_83','2008-12-31','12' -'136','val_136','2008-12-31','12' -'353','val_353','2008-12-31','12' -'172','val_172','2008-12-31','12' -'214','val_214','2008-12-31','12' -'462','val_462','2008-12-31','12' -'233','val_233','2008-12-31','12' -'406','val_406','2008-12-31','12' -'133','val_133','2008-12-31','12' -'175','val_175','2008-12-31','12' -'189','val_189','2008-12-31','12' -'454','val_454','2008-12-31','12' -'375','val_375','2008-12-31','12' -'401','val_401','2008-12-31','12' -'421','val_421','2008-12-31','12' -'407','val_407','2008-12-31','12' -'384','val_384','2008-12-31','12' -'256','val_256','2008-12-31','12' -'26','val_26','2008-12-31','12' -'134','val_134','2008-12-31','12' -'67','val_67','2008-12-31','12' -'384','val_384','2008-12-31','12' -'379','val_379','2008-12-31','12' -'18','val_18','2008-12-31','12' -'462','val_462','2008-12-31','12' -'492','val_492','2008-12-31','12' -'100','val_100','2008-12-31','12' -'298','val_298','2008-12-31','12' -'9','val_9','2008-12-31','12' -'341','val_341','2008-12-31','12' -'498','val_498','2008-12-31','12' -'146','val_146','2008-12-31','12' -'458','val_458','2008-12-31','12' -'362','val_362','2008-12-31','12' -'186','val_186','2008-12-31','12' -'285','val_285','2008-12-31','12' -'348','val_348','2008-12-31','12' -'167','val_167','2008-12-31','12' -'18','val_18','2008-12-31','12' -'273','val_273','2008-12-31','12' -'183','val_183','2008-12-31','12' -'281','val_281','2008-12-31','12' -'344','val_344','2008-12-31','12' -'97','val_97','2008-12-31','12' -'469','val_469','2008-12-31','12' -'315','val_315','2008-12-31','12' -'84','val_84','2008-12-31','12' -'28','val_28','2008-12-31','12' -'37','val_37','2008-12-31','12' -'448','val_448','2008-12-31','12' -'152','val_152','2008-12-31','12' -'348','val_348','2008-12-31','12' -'307','val_307','2008-12-31','12' -'194','val_194','2008-12-31','12' -'414','val_414','2008-12-31','12' -'477','val_477','2008-12-31','12' -'222','val_222','2008-12-31','12' -'126','val_126','2008-12-31','12' -'90','val_90','2008-12-31','12' -'169','val_169','2008-12-31','12' -'403','val_403','2008-12-31','12' -'400','val_400','2008-12-31','12' -'200','val_200','2008-12-31','12' -'97','val_97','2008-12-31','12' -1,000 rows selected ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/load_dyn_part10.q.out ql/src/test/results/beelinepositive/load_dyn_part10.q.out deleted file mode 100644 index cf4734e..0000000 --- ql/src/test/results/beelinepositive/load_dyn_part10.q.out +++ /dev/null @@ -1,1105 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/load_dyn_part10.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/load_dyn_part10.q ->>> show partitions srcpart; -'partition' -'ds=2008-04-08/hr=11' -'ds=2008-04-08/hr=12' -'ds=2008-04-09/hr=11' -'ds=2008-04-09/hr=12' -4 rows selected ->>> ->>> ->>> ->>> create table if not exists nzhang_part10 like srcpart; -No rows affected ->>> describe extended nzhang_part10; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'ds','string','' -'hr','string','' -'','','' -'Detailed Table Information','Table(tableName:nzhang_part10, dbName:load_dyn_part10, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:hr, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/load_dyn_part10.db/nzhang_part10, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:hr, type:string, comment:null)], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -6 rows selected ->>> ->>> set hive.merge.mapfiles=false; -No rows affected ->>> set hive.exec.dynamic.partition=true; -No rows affected ->>> set hive.exec.dynamic.partition.mode=nonstrict; -No rows affected ->>> ->>> explain -from srcpart -insert overwrite table nzhang_part10 partition(ds='2008-12-31', hr) select key, value, hr where ds > '2008-04-08'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME nzhang_part10) (TOK_PARTSPEC (TOK_PARTVAL ds '2008-12-31') (TOK_PARTVAL hr)))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL hr))) (TOK_WHERE (> (TOK_TABLE_OR_COL ds) '2008-04-08'))))' -'' -'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' -' Alias -> Map Operator Tree:' -' srcpart ' -' TableScan' -' alias: srcpart' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: load_dyn_part10.nzhang_part10' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' partition:' -' ds 2008-12-31' -' 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: load_dyn_part10.nzhang_part10' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -50 rows selected ->>> ->>> from srcpart -insert overwrite table nzhang_part10 partition(ds='2008-12-31', hr) select key, value, hr where ds > '2008-04-08'; -'key','value','hr' -No rows selected ->>> ->>> ->>> show partitions nzhang_part10; -'partition' -'ds=2008-12-31/hr=11' -'ds=2008-12-31/hr=12' -2 rows selected ->>> ->>> select * from nzhang_part10 where ds is not null and hr is not null; -'key','value','ds','hr' -'238','val_238','2008-12-31','11' -'86','val_86','2008-12-31','11' -'311','val_311','2008-12-31','11' -'27','val_27','2008-12-31','11' -'165','val_165','2008-12-31','11' -'409','val_409','2008-12-31','11' -'255','val_255','2008-12-31','11' -'278','val_278','2008-12-31','11' -'98','val_98','2008-12-31','11' -'484','val_484','2008-12-31','11' -'265','val_265','2008-12-31','11' -'193','val_193','2008-12-31','11' -'401','val_401','2008-12-31','11' -'150','val_150','2008-12-31','11' -'273','val_273','2008-12-31','11' -'224','val_224','2008-12-31','11' -'369','val_369','2008-12-31','11' -'66','val_66','2008-12-31','11' -'128','val_128','2008-12-31','11' -'213','val_213','2008-12-31','11' -'146','val_146','2008-12-31','11' -'406','val_406','2008-12-31','11' -'429','val_429','2008-12-31','11' -'374','val_374','2008-12-31','11' -'152','val_152','2008-12-31','11' -'469','val_469','2008-12-31','11' -'145','val_145','2008-12-31','11' -'495','val_495','2008-12-31','11' -'37','val_37','2008-12-31','11' -'327','val_327','2008-12-31','11' -'281','val_281','2008-12-31','11' -'277','val_277','2008-12-31','11' -'209','val_209','2008-12-31','11' -'15','val_15','2008-12-31','11' -'82','val_82','2008-12-31','11' -'403','val_403','2008-12-31','11' -'166','val_166','2008-12-31','11' -'417','val_417','2008-12-31','11' -'430','val_430','2008-12-31','11' -'252','val_252','2008-12-31','11' -'292','val_292','2008-12-31','11' -'219','val_219','2008-12-31','11' -'287','val_287','2008-12-31','11' -'153','val_153','2008-12-31','11' -'193','val_193','2008-12-31','11' -'338','val_338','2008-12-31','11' -'446','val_446','2008-12-31','11' -'459','val_459','2008-12-31','11' -'394','val_394','2008-12-31','11' -'237','val_237','2008-12-31','11' -'482','val_482','2008-12-31','11' -'174','val_174','2008-12-31','11' -'413','val_413','2008-12-31','11' -'494','val_494','2008-12-31','11' -'207','val_207','2008-12-31','11' -'199','val_199','2008-12-31','11' -'466','val_466','2008-12-31','11' -'208','val_208','2008-12-31','11' -'174','val_174','2008-12-31','11' -'399','val_399','2008-12-31','11' -'396','val_396','2008-12-31','11' -'247','val_247','2008-12-31','11' -'417','val_417','2008-12-31','11' -'489','val_489','2008-12-31','11' -'162','val_162','2008-12-31','11' -'377','val_377','2008-12-31','11' -'397','val_397','2008-12-31','11' -'309','val_309','2008-12-31','11' -'365','val_365','2008-12-31','11' -'266','val_266','2008-12-31','11' -'439','val_439','2008-12-31','11' -'342','val_342','2008-12-31','11' -'367','val_367','2008-12-31','11' -'325','val_325','2008-12-31','11' -'167','val_167','2008-12-31','11' -'195','val_195','2008-12-31','11' -'475','val_475','2008-12-31','11' -'17','val_17','2008-12-31','11' -'113','val_113','2008-12-31','11' -'155','val_155','2008-12-31','11' -'203','val_203','2008-12-31','11' -'339','val_339','2008-12-31','11' -'0','val_0','2008-12-31','11' -'455','val_455','2008-12-31','11' -'128','val_128','2008-12-31','11' -'311','val_311','2008-12-31','11' -'316','val_316','2008-12-31','11' -'57','val_57','2008-12-31','11' -'302','val_302','2008-12-31','11' -'205','val_205','2008-12-31','11' -'149','val_149','2008-12-31','11' -'438','val_438','2008-12-31','11' -'345','val_345','2008-12-31','11' -'129','val_129','2008-12-31','11' -'170','val_170','2008-12-31','11' -'20','val_20','2008-12-31','11' -'489','val_489','2008-12-31','11' -'157','val_157','2008-12-31','11' -'378','val_378','2008-12-31','11' -'221','val_221','2008-12-31','11' -'92','val_92','2008-12-31','11' -'111','val_111','2008-12-31','11' -'47','val_47','2008-12-31','11' -'72','val_72','2008-12-31','11' -'4','val_4','2008-12-31','11' -'280','val_280','2008-12-31','11' -'35','val_35','2008-12-31','11' -'427','val_427','2008-12-31','11' -'277','val_277','2008-12-31','11' -'208','val_208','2008-12-31','11' -'356','val_356','2008-12-31','11' -'399','val_399','2008-12-31','11' -'169','val_169','2008-12-31','11' -'382','val_382','2008-12-31','11' -'498','val_498','2008-12-31','11' -'125','val_125','2008-12-31','11' -'386','val_386','2008-12-31','11' -'437','val_437','2008-12-31','11' -'469','val_469','2008-12-31','11' -'192','val_192','2008-12-31','11' -'286','val_286','2008-12-31','11' -'187','val_187','2008-12-31','11' -'176','val_176','2008-12-31','11' -'54','val_54','2008-12-31','11' -'459','val_459','2008-12-31','11' -'51','val_51','2008-12-31','11' -'138','val_138','2008-12-31','11' -'103','val_103','2008-12-31','11' -'239','val_239','2008-12-31','11' -'213','val_213','2008-12-31','11' -'216','val_216','2008-12-31','11' -'430','val_430','2008-12-31','11' -'278','val_278','2008-12-31','11' -'176','val_176','2008-12-31','11' -'289','val_289','2008-12-31','11' -'221','val_221','2008-12-31','11' -'65','val_65','2008-12-31','11' -'318','val_318','2008-12-31','11' -'332','val_332','2008-12-31','11' -'311','val_311','2008-12-31','11' -'275','val_275','2008-12-31','11' -'137','val_137','2008-12-31','11' -'241','val_241','2008-12-31','11' -'83','val_83','2008-12-31','11' -'333','val_333','2008-12-31','11' -'180','val_180','2008-12-31','11' -'284','val_284','2008-12-31','11' -'12','val_12','2008-12-31','11' -'230','val_230','2008-12-31','11' -'181','val_181','2008-12-31','11' -'67','val_67','2008-12-31','11' -'260','val_260','2008-12-31','11' -'404','val_404','2008-12-31','11' -'384','val_384','2008-12-31','11' -'489','val_489','2008-12-31','11' -'353','val_353','2008-12-31','11' -'373','val_373','2008-12-31','11' -'272','val_272','2008-12-31','11' -'138','val_138','2008-12-31','11' -'217','val_217','2008-12-31','11' -'84','val_84','2008-12-31','11' -'348','val_348','2008-12-31','11' -'466','val_466','2008-12-31','11' -'58','val_58','2008-12-31','11' -'8','val_8','2008-12-31','11' -'411','val_411','2008-12-31','11' -'230','val_230','2008-12-31','11' -'208','val_208','2008-12-31','11' -'348','val_348','2008-12-31','11' -'24','val_24','2008-12-31','11' -'463','val_463','2008-12-31','11' -'431','val_431','2008-12-31','11' -'179','val_179','2008-12-31','11' -'172','val_172','2008-12-31','11' -'42','val_42','2008-12-31','11' -'129','val_129','2008-12-31','11' -'158','val_158','2008-12-31','11' -'119','val_119','2008-12-31','11' -'496','val_496','2008-12-31','11' -'0','val_0','2008-12-31','11' -'322','val_322','2008-12-31','11' -'197','val_197','2008-12-31','11' -'468','val_468','2008-12-31','11' -'393','val_393','2008-12-31','11' -'454','val_454','2008-12-31','11' -'100','val_100','2008-12-31','11' -'298','val_298','2008-12-31','11' -'199','val_199','2008-12-31','11' -'191','val_191','2008-12-31','11' -'418','val_418','2008-12-31','11' -'96','val_96','2008-12-31','11' -'26','val_26','2008-12-31','11' -'165','val_165','2008-12-31','11' -'327','val_327','2008-12-31','11' -'230','val_230','2008-12-31','11' -'205','val_205','2008-12-31','11' -'120','val_120','2008-12-31','11' -'131','val_131','2008-12-31','11' -'51','val_51','2008-12-31','11' -'404','val_404','2008-12-31','11' -'43','val_43','2008-12-31','11' -'436','val_436','2008-12-31','11' -'156','val_156','2008-12-31','11' -'469','val_469','2008-12-31','11' -'468','val_468','2008-12-31','11' -'308','val_308','2008-12-31','11' -'95','val_95','2008-12-31','11' -'196','val_196','2008-12-31','11' -'288','val_288','2008-12-31','11' -'481','val_481','2008-12-31','11' -'457','val_457','2008-12-31','11' -'98','val_98','2008-12-31','11' -'282','val_282','2008-12-31','11' -'197','val_197','2008-12-31','11' -'187','val_187','2008-12-31','11' -'318','val_318','2008-12-31','11' -'318','val_318','2008-12-31','11' -'409','val_409','2008-12-31','11' -'470','val_470','2008-12-31','11' -'137','val_137','2008-12-31','11' -'369','val_369','2008-12-31','11' -'316','val_316','2008-12-31','11' -'169','val_169','2008-12-31','11' -'413','val_413','2008-12-31','11' -'85','val_85','2008-12-31','11' -'77','val_77','2008-12-31','11' -'0','val_0','2008-12-31','11' -'490','val_490','2008-12-31','11' -'87','val_87','2008-12-31','11' -'364','val_364','2008-12-31','11' -'179','val_179','2008-12-31','11' -'118','val_118','2008-12-31','11' -'134','val_134','2008-12-31','11' -'395','val_395','2008-12-31','11' -'282','val_282','2008-12-31','11' -'138','val_138','2008-12-31','11' -'238','val_238','2008-12-31','11' -'419','val_419','2008-12-31','11' -'15','val_15','2008-12-31','11' -'118','val_118','2008-12-31','11' -'72','val_72','2008-12-31','11' -'90','val_90','2008-12-31','11' -'307','val_307','2008-12-31','11' -'19','val_19','2008-12-31','11' -'435','val_435','2008-12-31','11' -'10','val_10','2008-12-31','11' -'277','val_277','2008-12-31','11' -'273','val_273','2008-12-31','11' -'306','val_306','2008-12-31','11' -'224','val_224','2008-12-31','11' -'309','val_309','2008-12-31','11' -'389','val_389','2008-12-31','11' -'327','val_327','2008-12-31','11' -'242','val_242','2008-12-31','11' -'369','val_369','2008-12-31','11' -'392','val_392','2008-12-31','11' -'272','val_272','2008-12-31','11' -'331','val_331','2008-12-31','11' -'401','val_401','2008-12-31','11' -'242','val_242','2008-12-31','11' -'452','val_452','2008-12-31','11' -'177','val_177','2008-12-31','11' -'226','val_226','2008-12-31','11' -'5','val_5','2008-12-31','11' -'497','val_497','2008-12-31','11' -'402','val_402','2008-12-31','11' -'396','val_396','2008-12-31','11' -'317','val_317','2008-12-31','11' -'395','val_395','2008-12-31','11' -'58','val_58','2008-12-31','11' -'35','val_35','2008-12-31','11' -'336','val_336','2008-12-31','11' -'95','val_95','2008-12-31','11' -'11','val_11','2008-12-31','11' -'168','val_168','2008-12-31','11' -'34','val_34','2008-12-31','11' -'229','val_229','2008-12-31','11' -'233','val_233','2008-12-31','11' -'143','val_143','2008-12-31','11' -'472','val_472','2008-12-31','11' -'322','val_322','2008-12-31','11' -'498','val_498','2008-12-31','11' -'160','val_160','2008-12-31','11' -'195','val_195','2008-12-31','11' -'42','val_42','2008-12-31','11' -'321','val_321','2008-12-31','11' -'430','val_430','2008-12-31','11' -'119','val_119','2008-12-31','11' -'489','val_489','2008-12-31','11' -'458','val_458','2008-12-31','11' -'78','val_78','2008-12-31','11' -'76','val_76','2008-12-31','11' -'41','val_41','2008-12-31','11' -'223','val_223','2008-12-31','11' -'492','val_492','2008-12-31','11' -'149','val_149','2008-12-31','11' -'449','val_449','2008-12-31','11' -'218','val_218','2008-12-31','11' -'228','val_228','2008-12-31','11' -'138','val_138','2008-12-31','11' -'453','val_453','2008-12-31','11' -'30','val_30','2008-12-31','11' -'209','val_209','2008-12-31','11' -'64','val_64','2008-12-31','11' -'468','val_468','2008-12-31','11' -'76','val_76','2008-12-31','11' -'74','val_74','2008-12-31','11' -'342','val_342','2008-12-31','11' -'69','val_69','2008-12-31','11' -'230','val_230','2008-12-31','11' -'33','val_33','2008-12-31','11' -'368','val_368','2008-12-31','11' -'103','val_103','2008-12-31','11' -'296','val_296','2008-12-31','11' -'113','val_113','2008-12-31','11' -'216','val_216','2008-12-31','11' -'367','val_367','2008-12-31','11' -'344','val_344','2008-12-31','11' -'167','val_167','2008-12-31','11' -'274','val_274','2008-12-31','11' -'219','val_219','2008-12-31','11' -'239','val_239','2008-12-31','11' -'485','val_485','2008-12-31','11' -'116','val_116','2008-12-31','11' -'223','val_223','2008-12-31','11' -'256','val_256','2008-12-31','11' -'263','val_263','2008-12-31','11' -'70','val_70','2008-12-31','11' -'487','val_487','2008-12-31','11' -'480','val_480','2008-12-31','11' -'401','val_401','2008-12-31','11' -'288','val_288','2008-12-31','11' -'191','val_191','2008-12-31','11' -'5','val_5','2008-12-31','11' -'244','val_244','2008-12-31','11' -'438','val_438','2008-12-31','11' -'128','val_128','2008-12-31','11' -'467','val_467','2008-12-31','11' -'432','val_432','2008-12-31','11' -'202','val_202','2008-12-31','11' -'316','val_316','2008-12-31','11' -'229','val_229','2008-12-31','11' -'469','val_469','2008-12-31','11' -'463','val_463','2008-12-31','11' -'280','val_280','2008-12-31','11' -'2','val_2','2008-12-31','11' -'35','val_35','2008-12-31','11' -'283','val_283','2008-12-31','11' -'331','val_331','2008-12-31','11' -'235','val_235','2008-12-31','11' -'80','val_80','2008-12-31','11' -'44','val_44','2008-12-31','11' -'193','val_193','2008-12-31','11' -'321','val_321','2008-12-31','11' -'335','val_335','2008-12-31','11' -'104','val_104','2008-12-31','11' -'466','val_466','2008-12-31','11' -'366','val_366','2008-12-31','11' -'175','val_175','2008-12-31','11' -'403','val_403','2008-12-31','11' -'483','val_483','2008-12-31','11' -'53','val_53','2008-12-31','11' -'105','val_105','2008-12-31','11' -'257','val_257','2008-12-31','11' -'406','val_406','2008-12-31','11' -'409','val_409','2008-12-31','11' -'190','val_190','2008-12-31','11' -'406','val_406','2008-12-31','11' -'401','val_401','2008-12-31','11' -'114','val_114','2008-12-31','11' -'258','val_258','2008-12-31','11' -'90','val_90','2008-12-31','11' -'203','val_203','2008-12-31','11' -'262','val_262','2008-12-31','11' -'348','val_348','2008-12-31','11' -'424','val_424','2008-12-31','11' -'12','val_12','2008-12-31','11' -'396','val_396','2008-12-31','11' -'201','val_201','2008-12-31','11' -'217','val_217','2008-12-31','11' -'164','val_164','2008-12-31','11' -'431','val_431','2008-12-31','11' -'454','val_454','2008-12-31','11' -'478','val_478','2008-12-31','11' -'298','val_298','2008-12-31','11' -'125','val_125','2008-12-31','11' -'431','val_431','2008-12-31','11' -'164','val_164','2008-12-31','11' -'424','val_424','2008-12-31','11' -'187','val_187','2008-12-31','11' -'382','val_382','2008-12-31','11' -'5','val_5','2008-12-31','11' -'70','val_70','2008-12-31','11' -'397','val_397','2008-12-31','11' -'480','val_480','2008-12-31','11' -'291','val_291','2008-12-31','11' -'24','val_24','2008-12-31','11' -'351','val_351','2008-12-31','11' -'255','val_255','2008-12-31','11' -'104','val_104','2008-12-31','11' -'70','val_70','2008-12-31','11' -'163','val_163','2008-12-31','11' -'438','val_438','2008-12-31','11' -'119','val_119','2008-12-31','11' -'414','val_414','2008-12-31','11' -'200','val_200','2008-12-31','11' -'491','val_491','2008-12-31','11' -'237','val_237','2008-12-31','11' -'439','val_439','2008-12-31','11' -'360','val_360','2008-12-31','11' -'248','val_248','2008-12-31','11' -'479','val_479','2008-12-31','11' -'305','val_305','2008-12-31','11' -'417','val_417','2008-12-31','11' -'199','val_199','2008-12-31','11' -'444','val_444','2008-12-31','11' -'120','val_120','2008-12-31','11' -'429','val_429','2008-12-31','11' -'169','val_169','2008-12-31','11' -'443','val_443','2008-12-31','11' -'323','val_323','2008-12-31','11' -'325','val_325','2008-12-31','11' -'277','val_277','2008-12-31','11' -'230','val_230','2008-12-31','11' -'478','val_478','2008-12-31','11' -'178','val_178','2008-12-31','11' -'468','val_468','2008-12-31','11' -'310','val_310','2008-12-31','11' -'317','val_317','2008-12-31','11' -'333','val_333','2008-12-31','11' -'493','val_493','2008-12-31','11' -'460','val_460','2008-12-31','11' -'207','val_207','2008-12-31','11' -'249','val_249','2008-12-31','11' -'265','val_265','2008-12-31','11' -'480','val_480','2008-12-31','11' -'83','val_83','2008-12-31','11' -'136','val_136','2008-12-31','11' -'353','val_353','2008-12-31','11' -'172','val_172','2008-12-31','11' -'214','val_214','2008-12-31','11' -'462','val_462','2008-12-31','11' -'233','val_233','2008-12-31','11' -'406','val_406','2008-12-31','11' -'133','val_133','2008-12-31','11' -'175','val_175','2008-12-31','11' -'189','val_189','2008-12-31','11' -'454','val_454','2008-12-31','11' -'375','val_375','2008-12-31','11' -'401','val_401','2008-12-31','11' -'421','val_421','2008-12-31','11' -'407','val_407','2008-12-31','11' -'384','val_384','2008-12-31','11' -'256','val_256','2008-12-31','11' -'26','val_26','2008-12-31','11' -'134','val_134','2008-12-31','11' -'67','val_67','2008-12-31','11' -'384','val_384','2008-12-31','11' -'379','val_379','2008-12-31','11' -'18','val_18','2008-12-31','11' -'462','val_462','2008-12-31','11' -'492','val_492','2008-12-31','11' -'100','val_100','2008-12-31','11' -'298','val_298','2008-12-31','11' -'9','val_9','2008-12-31','11' -'341','val_341','2008-12-31','11' -'498','val_498','2008-12-31','11' -'146','val_146','2008-12-31','11' -'458','val_458','2008-12-31','11' -'362','val_362','2008-12-31','11' -'186','val_186','2008-12-31','11' -'285','val_285','2008-12-31','11' -'348','val_348','2008-12-31','11' -'167','val_167','2008-12-31','11' -'18','val_18','2008-12-31','11' -'273','val_273','2008-12-31','11' -'183','val_183','2008-12-31','11' -'281','val_281','2008-12-31','11' -'344','val_344','2008-12-31','11' -'97','val_97','2008-12-31','11' -'469','val_469','2008-12-31','11' -'315','val_315','2008-12-31','11' -'84','val_84','2008-12-31','11' -'28','val_28','2008-12-31','11' -'37','val_37','2008-12-31','11' -'448','val_448','2008-12-31','11' -'152','val_152','2008-12-31','11' -'348','val_348','2008-12-31','11' -'307','val_307','2008-12-31','11' -'194','val_194','2008-12-31','11' -'414','val_414','2008-12-31','11' -'477','val_477','2008-12-31','11' -'222','val_222','2008-12-31','11' -'126','val_126','2008-12-31','11' -'90','val_90','2008-12-31','11' -'169','val_169','2008-12-31','11' -'403','val_403','2008-12-31','11' -'400','val_400','2008-12-31','11' -'200','val_200','2008-12-31','11' -'97','val_97','2008-12-31','11' -'238','val_238','2008-12-31','12' -'86','val_86','2008-12-31','12' -'311','val_311','2008-12-31','12' -'27','val_27','2008-12-31','12' -'165','val_165','2008-12-31','12' -'409','val_409','2008-12-31','12' -'255','val_255','2008-12-31','12' -'278','val_278','2008-12-31','12' -'98','val_98','2008-12-31','12' -'484','val_484','2008-12-31','12' -'265','val_265','2008-12-31','12' -'193','val_193','2008-12-31','12' -'401','val_401','2008-12-31','12' -'150','val_150','2008-12-31','12' -'273','val_273','2008-12-31','12' -'224','val_224','2008-12-31','12' -'369','val_369','2008-12-31','12' -'66','val_66','2008-12-31','12' -'128','val_128','2008-12-31','12' -'213','val_213','2008-12-31','12' -'146','val_146','2008-12-31','12' -'406','val_406','2008-12-31','12' -'429','val_429','2008-12-31','12' -'374','val_374','2008-12-31','12' -'152','val_152','2008-12-31','12' -'469','val_469','2008-12-31','12' -'145','val_145','2008-12-31','12' -'495','val_495','2008-12-31','12' -'37','val_37','2008-12-31','12' -'327','val_327','2008-12-31','12' -'281','val_281','2008-12-31','12' -'277','val_277','2008-12-31','12' -'209','val_209','2008-12-31','12' -'15','val_15','2008-12-31','12' -'82','val_82','2008-12-31','12' -'403','val_403','2008-12-31','12' -'166','val_166','2008-12-31','12' -'417','val_417','2008-12-31','12' -'430','val_430','2008-12-31','12' -'252','val_252','2008-12-31','12' -'292','val_292','2008-12-31','12' -'219','val_219','2008-12-31','12' -'287','val_287','2008-12-31','12' -'153','val_153','2008-12-31','12' -'193','val_193','2008-12-31','12' -'338','val_338','2008-12-31','12' -'446','val_446','2008-12-31','12' -'459','val_459','2008-12-31','12' -'394','val_394','2008-12-31','12' -'237','val_237','2008-12-31','12' -'482','val_482','2008-12-31','12' -'174','val_174','2008-12-31','12' -'413','val_413','2008-12-31','12' -'494','val_494','2008-12-31','12' -'207','val_207','2008-12-31','12' -'199','val_199','2008-12-31','12' -'466','val_466','2008-12-31','12' -'208','val_208','2008-12-31','12' -'174','val_174','2008-12-31','12' -'399','val_399','2008-12-31','12' -'396','val_396','2008-12-31','12' -'247','val_247','2008-12-31','12' -'417','val_417','2008-12-31','12' -'489','val_489','2008-12-31','12' -'162','val_162','2008-12-31','12' -'377','val_377','2008-12-31','12' -'397','val_397','2008-12-31','12' -'309','val_309','2008-12-31','12' -'365','val_365','2008-12-31','12' -'266','val_266','2008-12-31','12' -'439','val_439','2008-12-31','12' -'342','val_342','2008-12-31','12' -'367','val_367','2008-12-31','12' -'325','val_325','2008-12-31','12' -'167','val_167','2008-12-31','12' -'195','val_195','2008-12-31','12' -'475','val_475','2008-12-31','12' -'17','val_17','2008-12-31','12' -'113','val_113','2008-12-31','12' -'155','val_155','2008-12-31','12' -'203','val_203','2008-12-31','12' -'339','val_339','2008-12-31','12' -'0','val_0','2008-12-31','12' -'455','val_455','2008-12-31','12' -'128','val_128','2008-12-31','12' -'311','val_311','2008-12-31','12' -'316','val_316','2008-12-31','12' -'57','val_57','2008-12-31','12' -'302','val_302','2008-12-31','12' -'205','val_205','2008-12-31','12' -'149','val_149','2008-12-31','12' -'438','val_438','2008-12-31','12' -'345','val_345','2008-12-31','12' -'129','val_129','2008-12-31','12' -'170','val_170','2008-12-31','12' -'20','val_20','2008-12-31','12' -'489','val_489','2008-12-31','12' -'157','val_157','2008-12-31','12' -'378','val_378','2008-12-31','12' -'221','val_221','2008-12-31','12' -'92','val_92','2008-12-31','12' -'111','val_111','2008-12-31','12' -'47','val_47','2008-12-31','12' -'72','val_72','2008-12-31','12' -'4','val_4','2008-12-31','12' -'280','val_280','2008-12-31','12' -'35','val_35','2008-12-31','12' -'427','val_427','2008-12-31','12' -'277','val_277','2008-12-31','12' -'208','val_208','2008-12-31','12' -'356','val_356','2008-12-31','12' -'399','val_399','2008-12-31','12' -'169','val_169','2008-12-31','12' -'382','val_382','2008-12-31','12' -'498','val_498','2008-12-31','12' -'125','val_125','2008-12-31','12' -'386','val_386','2008-12-31','12' -'437','val_437','2008-12-31','12' -'469','val_469','2008-12-31','12' -'192','val_192','2008-12-31','12' -'286','val_286','2008-12-31','12' -'187','val_187','2008-12-31','12' -'176','val_176','2008-12-31','12' -'54','val_54','2008-12-31','12' -'459','val_459','2008-12-31','12' -'51','val_51','2008-12-31','12' -'138','val_138','2008-12-31','12' -'103','val_103','2008-12-31','12' -'239','val_239','2008-12-31','12' -'213','val_213','2008-12-31','12' -'216','val_216','2008-12-31','12' -'430','val_430','2008-12-31','12' -'278','val_278','2008-12-31','12' -'176','val_176','2008-12-31','12' -'289','val_289','2008-12-31','12' -'221','val_221','2008-12-31','12' -'65','val_65','2008-12-31','12' -'318','val_318','2008-12-31','12' -'332','val_332','2008-12-31','12' -'311','val_311','2008-12-31','12' -'275','val_275','2008-12-31','12' -'137','val_137','2008-12-31','12' -'241','val_241','2008-12-31','12' -'83','val_83','2008-12-31','12' -'333','val_333','2008-12-31','12' -'180','val_180','2008-12-31','12' -'284','val_284','2008-12-31','12' -'12','val_12','2008-12-31','12' -'230','val_230','2008-12-31','12' -'181','val_181','2008-12-31','12' -'67','val_67','2008-12-31','12' -'260','val_260','2008-12-31','12' -'404','val_404','2008-12-31','12' -'384','val_384','2008-12-31','12' -'489','val_489','2008-12-31','12' -'353','val_353','2008-12-31','12' -'373','val_373','2008-12-31','12' -'272','val_272','2008-12-31','12' -'138','val_138','2008-12-31','12' -'217','val_217','2008-12-31','12' -'84','val_84','2008-12-31','12' -'348','val_348','2008-12-31','12' -'466','val_466','2008-12-31','12' -'58','val_58','2008-12-31','12' -'8','val_8','2008-12-31','12' -'411','val_411','2008-12-31','12' -'230','val_230','2008-12-31','12' -'208','val_208','2008-12-31','12' -'348','val_348','2008-12-31','12' -'24','val_24','2008-12-31','12' -'463','val_463','2008-12-31','12' -'431','val_431','2008-12-31','12' -'179','val_179','2008-12-31','12' -'172','val_172','2008-12-31','12' -'42','val_42','2008-12-31','12' -'129','val_129','2008-12-31','12' -'158','val_158','2008-12-31','12' -'119','val_119','2008-12-31','12' -'496','val_496','2008-12-31','12' -'0','val_0','2008-12-31','12' -'322','val_322','2008-12-31','12' -'197','val_197','2008-12-31','12' -'468','val_468','2008-12-31','12' -'393','val_393','2008-12-31','12' -'454','val_454','2008-12-31','12' -'100','val_100','2008-12-31','12' -'298','val_298','2008-12-31','12' -'199','val_199','2008-12-31','12' -'191','val_191','2008-12-31','12' -'418','val_418','2008-12-31','12' -'96','val_96','2008-12-31','12' -'26','val_26','2008-12-31','12' -'165','val_165','2008-12-31','12' -'327','val_327','2008-12-31','12' -'230','val_230','2008-12-31','12' -'205','val_205','2008-12-31','12' -'120','val_120','2008-12-31','12' -'131','val_131','2008-12-31','12' -'51','val_51','2008-12-31','12' -'404','val_404','2008-12-31','12' -'43','val_43','2008-12-31','12' -'436','val_436','2008-12-31','12' -'156','val_156','2008-12-31','12' -'469','val_469','2008-12-31','12' -'468','val_468','2008-12-31','12' -'308','val_308','2008-12-31','12' -'95','val_95','2008-12-31','12' -'196','val_196','2008-12-31','12' -'288','val_288','2008-12-31','12' -'481','val_481','2008-12-31','12' -'457','val_457','2008-12-31','12' -'98','val_98','2008-12-31','12' -'282','val_282','2008-12-31','12' -'197','val_197','2008-12-31','12' -'187','val_187','2008-12-31','12' -'318','val_318','2008-12-31','12' -'318','val_318','2008-12-31','12' -'409','val_409','2008-12-31','12' -'470','val_470','2008-12-31','12' -'137','val_137','2008-12-31','12' -'369','val_369','2008-12-31','12' -'316','val_316','2008-12-31','12' -'169','val_169','2008-12-31','12' -'413','val_413','2008-12-31','12' -'85','val_85','2008-12-31','12' -'77','val_77','2008-12-31','12' -'0','val_0','2008-12-31','12' -'490','val_490','2008-12-31','12' -'87','val_87','2008-12-31','12' -'364','val_364','2008-12-31','12' -'179','val_179','2008-12-31','12' -'118','val_118','2008-12-31','12' -'134','val_134','2008-12-31','12' -'395','val_395','2008-12-31','12' -'282','val_282','2008-12-31','12' -'138','val_138','2008-12-31','12' -'238','val_238','2008-12-31','12' -'419','val_419','2008-12-31','12' -'15','val_15','2008-12-31','12' -'118','val_118','2008-12-31','12' -'72','val_72','2008-12-31','12' -'90','val_90','2008-12-31','12' -'307','val_307','2008-12-31','12' -'19','val_19','2008-12-31','12' -'435','val_435','2008-12-31','12' -'10','val_10','2008-12-31','12' -'277','val_277','2008-12-31','12' -'273','val_273','2008-12-31','12' -'306','val_306','2008-12-31','12' -'224','val_224','2008-12-31','12' -'309','val_309','2008-12-31','12' -'389','val_389','2008-12-31','12' -'327','val_327','2008-12-31','12' -'242','val_242','2008-12-31','12' -'369','val_369','2008-12-31','12' -'392','val_392','2008-12-31','12' -'272','val_272','2008-12-31','12' -'331','val_331','2008-12-31','12' -'401','val_401','2008-12-31','12' -'242','val_242','2008-12-31','12' -'452','val_452','2008-12-31','12' -'177','val_177','2008-12-31','12' -'226','val_226','2008-12-31','12' -'5','val_5','2008-12-31','12' -'497','val_497','2008-12-31','12' -'402','val_402','2008-12-31','12' -'396','val_396','2008-12-31','12' -'317','val_317','2008-12-31','12' -'395','val_395','2008-12-31','12' -'58','val_58','2008-12-31','12' -'35','val_35','2008-12-31','12' -'336','val_336','2008-12-31','12' -'95','val_95','2008-12-31','12' -'11','val_11','2008-12-31','12' -'168','val_168','2008-12-31','12' -'34','val_34','2008-12-31','12' -'229','val_229','2008-12-31','12' -'233','val_233','2008-12-31','12' -'143','val_143','2008-12-31','12' -'472','val_472','2008-12-31','12' -'322','val_322','2008-12-31','12' -'498','val_498','2008-12-31','12' -'160','val_160','2008-12-31','12' -'195','val_195','2008-12-31','12' -'42','val_42','2008-12-31','12' -'321','val_321','2008-12-31','12' -'430','val_430','2008-12-31','12' -'119','val_119','2008-12-31','12' -'489','val_489','2008-12-31','12' -'458','val_458','2008-12-31','12' -'78','val_78','2008-12-31','12' -'76','val_76','2008-12-31','12' -'41','val_41','2008-12-31','12' -'223','val_223','2008-12-31','12' -'492','val_492','2008-12-31','12' -'149','val_149','2008-12-31','12' -'449','val_449','2008-12-31','12' -'218','val_218','2008-12-31','12' -'228','val_228','2008-12-31','12' -'138','val_138','2008-12-31','12' -'453','val_453','2008-12-31','12' -'30','val_30','2008-12-31','12' -'209','val_209','2008-12-31','12' -'64','val_64','2008-12-31','12' -'468','val_468','2008-12-31','12' -'76','val_76','2008-12-31','12' -'74','val_74','2008-12-31','12' -'342','val_342','2008-12-31','12' -'69','val_69','2008-12-31','12' -'230','val_230','2008-12-31','12' -'33','val_33','2008-12-31','12' -'368','val_368','2008-12-31','12' -'103','val_103','2008-12-31','12' -'296','val_296','2008-12-31','12' -'113','val_113','2008-12-31','12' -'216','val_216','2008-12-31','12' -'367','val_367','2008-12-31','12' -'344','val_344','2008-12-31','12' -'167','val_167','2008-12-31','12' -'274','val_274','2008-12-31','12' -'219','val_219','2008-12-31','12' -'239','val_239','2008-12-31','12' -'485','val_485','2008-12-31','12' -'116','val_116','2008-12-31','12' -'223','val_223','2008-12-31','12' -'256','val_256','2008-12-31','12' -'263','val_263','2008-12-31','12' -'70','val_70','2008-12-31','12' -'487','val_487','2008-12-31','12' -'480','val_480','2008-12-31','12' -'401','val_401','2008-12-31','12' -'288','val_288','2008-12-31','12' -'191','val_191','2008-12-31','12' -'5','val_5','2008-12-31','12' -'244','val_244','2008-12-31','12' -'438','val_438','2008-12-31','12' -'128','val_128','2008-12-31','12' -'467','val_467','2008-12-31','12' -'432','val_432','2008-12-31','12' -'202','val_202','2008-12-31','12' -'316','val_316','2008-12-31','12' -'229','val_229','2008-12-31','12' -'469','val_469','2008-12-31','12' -'463','val_463','2008-12-31','12' -'280','val_280','2008-12-31','12' -'2','val_2','2008-12-31','12' -'35','val_35','2008-12-31','12' -'283','val_283','2008-12-31','12' -'331','val_331','2008-12-31','12' -'235','val_235','2008-12-31','12' -'80','val_80','2008-12-31','12' -'44','val_44','2008-12-31','12' -'193','val_193','2008-12-31','12' -'321','val_321','2008-12-31','12' -'335','val_335','2008-12-31','12' -'104','val_104','2008-12-31','12' -'466','val_466','2008-12-31','12' -'366','val_366','2008-12-31','12' -'175','val_175','2008-12-31','12' -'403','val_403','2008-12-31','12' -'483','val_483','2008-12-31','12' -'53','val_53','2008-12-31','12' -'105','val_105','2008-12-31','12' -'257','val_257','2008-12-31','12' -'406','val_406','2008-12-31','12' -'409','val_409','2008-12-31','12' -'190','val_190','2008-12-31','12' -'406','val_406','2008-12-31','12' -'401','val_401','2008-12-31','12' -'114','val_114','2008-12-31','12' -'258','val_258','2008-12-31','12' -'90','val_90','2008-12-31','12' -'203','val_203','2008-12-31','12' -'262','val_262','2008-12-31','12' -'348','val_348','2008-12-31','12' -'424','val_424','2008-12-31','12' -'12','val_12','2008-12-31','12' -'396','val_396','2008-12-31','12' -'201','val_201','2008-12-31','12' -'217','val_217','2008-12-31','12' -'164','val_164','2008-12-31','12' -'431','val_431','2008-12-31','12' -'454','val_454','2008-12-31','12' -'478','val_478','2008-12-31','12' -'298','val_298','2008-12-31','12' -'125','val_125','2008-12-31','12' -'431','val_431','2008-12-31','12' -'164','val_164','2008-12-31','12' -'424','val_424','2008-12-31','12' -'187','val_187','2008-12-31','12' -'382','val_382','2008-12-31','12' -'5','val_5','2008-12-31','12' -'70','val_70','2008-12-31','12' -'397','val_397','2008-12-31','12' -'480','val_480','2008-12-31','12' -'291','val_291','2008-12-31','12' -'24','val_24','2008-12-31','12' -'351','val_351','2008-12-31','12' -'255','val_255','2008-12-31','12' -'104','val_104','2008-12-31','12' -'70','val_70','2008-12-31','12' -'163','val_163','2008-12-31','12' -'438','val_438','2008-12-31','12' -'119','val_119','2008-12-31','12' -'414','val_414','2008-12-31','12' -'200','val_200','2008-12-31','12' -'491','val_491','2008-12-31','12' -'237','val_237','2008-12-31','12' -'439','val_439','2008-12-31','12' -'360','val_360','2008-12-31','12' -'248','val_248','2008-12-31','12' -'479','val_479','2008-12-31','12' -'305','val_305','2008-12-31','12' -'417','val_417','2008-12-31','12' -'199','val_199','2008-12-31','12' -'444','val_444','2008-12-31','12' -'120','val_120','2008-12-31','12' -'429','val_429','2008-12-31','12' -'169','val_169','2008-12-31','12' -'443','val_443','2008-12-31','12' -'323','val_323','2008-12-31','12' -'325','val_325','2008-12-31','12' -'277','val_277','2008-12-31','12' -'230','val_230','2008-12-31','12' -'478','val_478','2008-12-31','12' -'178','val_178','2008-12-31','12' -'468','val_468','2008-12-31','12' -'310','val_310','2008-12-31','12' -'317','val_317','2008-12-31','12' -'333','val_333','2008-12-31','12' -'493','val_493','2008-12-31','12' -'460','val_460','2008-12-31','12' -'207','val_207','2008-12-31','12' -'249','val_249','2008-12-31','12' -'265','val_265','2008-12-31','12' -'480','val_480','2008-12-31','12' -'83','val_83','2008-12-31','12' -'136','val_136','2008-12-31','12' -'353','val_353','2008-12-31','12' -'172','val_172','2008-12-31','12' -'214','val_214','2008-12-31','12' -'462','val_462','2008-12-31','12' -'233','val_233','2008-12-31','12' -'406','val_406','2008-12-31','12' -'133','val_133','2008-12-31','12' -'175','val_175','2008-12-31','12' -'189','val_189','2008-12-31','12' -'454','val_454','2008-12-31','12' -'375','val_375','2008-12-31','12' -'401','val_401','2008-12-31','12' -'421','val_421','2008-12-31','12' -'407','val_407','2008-12-31','12' -'384','val_384','2008-12-31','12' -'256','val_256','2008-12-31','12' -'26','val_26','2008-12-31','12' -'134','val_134','2008-12-31','12' -'67','val_67','2008-12-31','12' -'384','val_384','2008-12-31','12' -'379','val_379','2008-12-31','12' -'18','val_18','2008-12-31','12' -'462','val_462','2008-12-31','12' -'492','val_492','2008-12-31','12' -'100','val_100','2008-12-31','12' -'298','val_298','2008-12-31','12' -'9','val_9','2008-12-31','12' -'341','val_341','2008-12-31','12' -'498','val_498','2008-12-31','12' -'146','val_146','2008-12-31','12' -'458','val_458','2008-12-31','12' -'362','val_362','2008-12-31','12' -'186','val_186','2008-12-31','12' -'285','val_285','2008-12-31','12' -'348','val_348','2008-12-31','12' -'167','val_167','2008-12-31','12' -'18','val_18','2008-12-31','12' -'273','val_273','2008-12-31','12' -'183','val_183','2008-12-31','12' -'281','val_281','2008-12-31','12' -'344','val_344','2008-12-31','12' -'97','val_97','2008-12-31','12' -'469','val_469','2008-12-31','12' -'315','val_315','2008-12-31','12' -'84','val_84','2008-12-31','12' -'28','val_28','2008-12-31','12' -'37','val_37','2008-12-31','12' -'448','val_448','2008-12-31','12' -'152','val_152','2008-12-31','12' -'348','val_348','2008-12-31','12' -'307','val_307','2008-12-31','12' -'194','val_194','2008-12-31','12' -'414','val_414','2008-12-31','12' -'477','val_477','2008-12-31','12' -'222','val_222','2008-12-31','12' -'126','val_126','2008-12-31','12' -'90','val_90','2008-12-31','12' -'169','val_169','2008-12-31','12' -'403','val_403','2008-12-31','12' -'400','val_400','2008-12-31','12' -'200','val_200','2008-12-31','12' -'97','val_97','2008-12-31','12' -1,000 rows selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/load_dyn_part11.q.out ql/src/test/results/beelinepositive/load_dyn_part11.q.out deleted file mode 100644 index 3bad577..0000000 --- ql/src/test/results/beelinepositive/load_dyn_part11.q.out +++ /dev/null @@ -1,2045 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/load_dyn_part11.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/load_dyn_part11.q ->>> show partitions srcpart; -'partition' -'ds=2008-04-08/hr=11' -'ds=2008-04-08/hr=12' -'ds=2008-04-09/hr=11' -'ds=2008-04-09/hr=12' -4 rows selected ->>> ->>> ->>> create table if not exists nzhang_part like srcpart; -No rows affected ->>> describe extended nzhang_part; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'ds','string','' -'hr','string','' -'','','' -'Detailed Table Information','Table(tableName:nzhang_part, dbName:load_dyn_part11, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:hr, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/load_dyn_part11.db/nzhang_part, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:hr, type:string, comment:null)], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -6 rows selected ->>> ->>> set hive.merge.mapfiles=false; -No rows affected ->>> set hive.merge.mapredfiles=false; -No rows affected ->>> set hive.exec.compress.output=true; -No rows affected ->>> set hive.exec.dynamic.partition=true; -No rows affected ->>> ->>> insert overwrite table nzhang_part partition (ds="2010-03-03", hr) select key, value, hr from srcpart where ds is not null and hr is not null; -'key','value','hr' -No rows selected ->>> ->>> select * from nzhang_part where ds = '2010-03-03' and hr = '11'; -'key','value','ds','hr' -'238','val_238','2010-03-03','11' -'86','val_86','2010-03-03','11' -'311','val_311','2010-03-03','11' -'27','val_27','2010-03-03','11' -'165','val_165','2010-03-03','11' -'409','val_409','2010-03-03','11' -'255','val_255','2010-03-03','11' -'278','val_278','2010-03-03','11' -'98','val_98','2010-03-03','11' -'484','val_484','2010-03-03','11' -'265','val_265','2010-03-03','11' -'193','val_193','2010-03-03','11' -'401','val_401','2010-03-03','11' -'150','val_150','2010-03-03','11' -'273','val_273','2010-03-03','11' -'224','val_224','2010-03-03','11' -'369','val_369','2010-03-03','11' -'66','val_66','2010-03-03','11' -'128','val_128','2010-03-03','11' -'213','val_213','2010-03-03','11' -'146','val_146','2010-03-03','11' -'406','val_406','2010-03-03','11' -'429','val_429','2010-03-03','11' -'374','val_374','2010-03-03','11' -'152','val_152','2010-03-03','11' -'469','val_469','2010-03-03','11' -'145','val_145','2010-03-03','11' -'495','val_495','2010-03-03','11' -'37','val_37','2010-03-03','11' -'327','val_327','2010-03-03','11' -'281','val_281','2010-03-03','11' -'277','val_277','2010-03-03','11' -'209','val_209','2010-03-03','11' -'15','val_15','2010-03-03','11' -'82','val_82','2010-03-03','11' -'403','val_403','2010-03-03','11' -'166','val_166','2010-03-03','11' -'417','val_417','2010-03-03','11' -'430','val_430','2010-03-03','11' -'252','val_252','2010-03-03','11' -'292','val_292','2010-03-03','11' -'219','val_219','2010-03-03','11' -'287','val_287','2010-03-03','11' -'153','val_153','2010-03-03','11' -'193','val_193','2010-03-03','11' -'338','val_338','2010-03-03','11' -'446','val_446','2010-03-03','11' -'459','val_459','2010-03-03','11' -'394','val_394','2010-03-03','11' -'237','val_237','2010-03-03','11' -'482','val_482','2010-03-03','11' -'174','val_174','2010-03-03','11' -'413','val_413','2010-03-03','11' -'494','val_494','2010-03-03','11' -'207','val_207','2010-03-03','11' -'199','val_199','2010-03-03','11' -'466','val_466','2010-03-03','11' -'208','val_208','2010-03-03','11' -'174','val_174','2010-03-03','11' -'399','val_399','2010-03-03','11' -'396','val_396','2010-03-03','11' -'247','val_247','2010-03-03','11' -'417','val_417','2010-03-03','11' -'489','val_489','2010-03-03','11' -'162','val_162','2010-03-03','11' -'377','val_377','2010-03-03','11' -'397','val_397','2010-03-03','11' -'309','val_309','2010-03-03','11' -'365','val_365','2010-03-03','11' -'266','val_266','2010-03-03','11' -'439','val_439','2010-03-03','11' -'342','val_342','2010-03-03','11' -'367','val_367','2010-03-03','11' -'325','val_325','2010-03-03','11' -'167','val_167','2010-03-03','11' -'195','val_195','2010-03-03','11' -'475','val_475','2010-03-03','11' -'17','val_17','2010-03-03','11' -'113','val_113','2010-03-03','11' -'155','val_155','2010-03-03','11' -'203','val_203','2010-03-03','11' -'339','val_339','2010-03-03','11' -'0','val_0','2010-03-03','11' -'455','val_455','2010-03-03','11' -'128','val_128','2010-03-03','11' -'311','val_311','2010-03-03','11' -'316','val_316','2010-03-03','11' -'57','val_57','2010-03-03','11' -'302','val_302','2010-03-03','11' -'205','val_205','2010-03-03','11' -'149','val_149','2010-03-03','11' -'438','val_438','2010-03-03','11' -'345','val_345','2010-03-03','11' -'129','val_129','2010-03-03','11' -'170','val_170','2010-03-03','11' -'20','val_20','2010-03-03','11' -'489','val_489','2010-03-03','11' -'157','val_157','2010-03-03','11' -'378','val_378','2010-03-03','11' -'221','val_221','2010-03-03','11' -'92','val_92','2010-03-03','11' -'111','val_111','2010-03-03','11' -'47','val_47','2010-03-03','11' -'72','val_72','2010-03-03','11' -'4','val_4','2010-03-03','11' -'280','val_280','2010-03-03','11' -'35','val_35','2010-03-03','11' -'427','val_427','2010-03-03','11' -'277','val_277','2010-03-03','11' -'208','val_208','2010-03-03','11' -'356','val_356','2010-03-03','11' -'399','val_399','2010-03-03','11' -'169','val_169','2010-03-03','11' -'382','val_382','2010-03-03','11' -'498','val_498','2010-03-03','11' -'125','val_125','2010-03-03','11' -'386','val_386','2010-03-03','11' -'437','val_437','2010-03-03','11' -'469','val_469','2010-03-03','11' -'192','val_192','2010-03-03','11' -'286','val_286','2010-03-03','11' -'187','val_187','2010-03-03','11' -'176','val_176','2010-03-03','11' -'54','val_54','2010-03-03','11' -'459','val_459','2010-03-03','11' -'51','val_51','2010-03-03','11' -'138','val_138','2010-03-03','11' -'103','val_103','2010-03-03','11' -'239','val_239','2010-03-03','11' -'213','val_213','2010-03-03','11' -'216','val_216','2010-03-03','11' -'430','val_430','2010-03-03','11' -'278','val_278','2010-03-03','11' -'176','val_176','2010-03-03','11' -'289','val_289','2010-03-03','11' -'221','val_221','2010-03-03','11' -'65','val_65','2010-03-03','11' -'318','val_318','2010-03-03','11' -'332','val_332','2010-03-03','11' -'311','val_311','2010-03-03','11' -'275','val_275','2010-03-03','11' -'137','val_137','2010-03-03','11' -'241','val_241','2010-03-03','11' -'83','val_83','2010-03-03','11' -'333','val_333','2010-03-03','11' -'180','val_180','2010-03-03','11' -'284','val_284','2010-03-03','11' -'12','val_12','2010-03-03','11' -'230','val_230','2010-03-03','11' -'181','val_181','2010-03-03','11' -'67','val_67','2010-03-03','11' -'260','val_260','2010-03-03','11' -'404','val_404','2010-03-03','11' -'384','val_384','2010-03-03','11' -'489','val_489','2010-03-03','11' -'353','val_353','2010-03-03','11' -'373','val_373','2010-03-03','11' -'272','val_272','2010-03-03','11' -'138','val_138','2010-03-03','11' -'217','val_217','2010-03-03','11' -'84','val_84','2010-03-03','11' -'348','val_348','2010-03-03','11' -'466','val_466','2010-03-03','11' -'58','val_58','2010-03-03','11' -'8','val_8','2010-03-03','11' -'411','val_411','2010-03-03','11' -'230','val_230','2010-03-03','11' -'208','val_208','2010-03-03','11' -'348','val_348','2010-03-03','11' -'24','val_24','2010-03-03','11' -'463','val_463','2010-03-03','11' -'431','val_431','2010-03-03','11' -'179','val_179','2010-03-03','11' -'172','val_172','2010-03-03','11' -'42','val_42','2010-03-03','11' -'129','val_129','2010-03-03','11' -'158','val_158','2010-03-03','11' -'119','val_119','2010-03-03','11' -'496','val_496','2010-03-03','11' -'0','val_0','2010-03-03','11' -'322','val_322','2010-03-03','11' -'197','val_197','2010-03-03','11' -'468','val_468','2010-03-03','11' -'393','val_393','2010-03-03','11' -'454','val_454','2010-03-03','11' -'100','val_100','2010-03-03','11' -'298','val_298','2010-03-03','11' -'199','val_199','2010-03-03','11' -'191','val_191','2010-03-03','11' -'418','val_418','2010-03-03','11' -'96','val_96','2010-03-03','11' -'26','val_26','2010-03-03','11' -'165','val_165','2010-03-03','11' -'327','val_327','2010-03-03','11' -'230','val_230','2010-03-03','11' -'205','val_205','2010-03-03','11' -'120','val_120','2010-03-03','11' -'131','val_131','2010-03-03','11' -'51','val_51','2010-03-03','11' -'404','val_404','2010-03-03','11' -'43','val_43','2010-03-03','11' -'436','val_436','2010-03-03','11' -'156','val_156','2010-03-03','11' -'469','val_469','2010-03-03','11' -'468','val_468','2010-03-03','11' -'308','val_308','2010-03-03','11' -'95','val_95','2010-03-03','11' -'196','val_196','2010-03-03','11' -'288','val_288','2010-03-03','11' -'481','val_481','2010-03-03','11' -'457','val_457','2010-03-03','11' -'98','val_98','2010-03-03','11' -'282','val_282','2010-03-03','11' -'197','val_197','2010-03-03','11' -'187','val_187','2010-03-03','11' -'318','val_318','2010-03-03','11' -'318','val_318','2010-03-03','11' -'409','val_409','2010-03-03','11' -'470','val_470','2010-03-03','11' -'137','val_137','2010-03-03','11' -'369','val_369','2010-03-03','11' -'316','val_316','2010-03-03','11' -'169','val_169','2010-03-03','11' -'413','val_413','2010-03-03','11' -'85','val_85','2010-03-03','11' -'77','val_77','2010-03-03','11' -'0','val_0','2010-03-03','11' -'490','val_490','2010-03-03','11' -'87','val_87','2010-03-03','11' -'364','val_364','2010-03-03','11' -'179','val_179','2010-03-03','11' -'118','val_118','2010-03-03','11' -'134','val_134','2010-03-03','11' -'395','val_395','2010-03-03','11' -'282','val_282','2010-03-03','11' -'138','val_138','2010-03-03','11' -'238','val_238','2010-03-03','11' -'419','val_419','2010-03-03','11' -'15','val_15','2010-03-03','11' -'118','val_118','2010-03-03','11' -'72','val_72','2010-03-03','11' -'90','val_90','2010-03-03','11' -'307','val_307','2010-03-03','11' -'19','val_19','2010-03-03','11' -'435','val_435','2010-03-03','11' -'10','val_10','2010-03-03','11' -'277','val_277','2010-03-03','11' -'273','val_273','2010-03-03','11' -'306','val_306','2010-03-03','11' -'224','val_224','2010-03-03','11' -'309','val_309','2010-03-03','11' -'389','val_389','2010-03-03','11' -'327','val_327','2010-03-03','11' -'242','val_242','2010-03-03','11' -'369','val_369','2010-03-03','11' -'392','val_392','2010-03-03','11' -'272','val_272','2010-03-03','11' -'331','val_331','2010-03-03','11' -'401','val_401','2010-03-03','11' -'242','val_242','2010-03-03','11' -'452','val_452','2010-03-03','11' -'177','val_177','2010-03-03','11' -'226','val_226','2010-03-03','11' -'5','val_5','2010-03-03','11' -'497','val_497','2010-03-03','11' -'402','val_402','2010-03-03','11' -'396','val_396','2010-03-03','11' -'317','val_317','2010-03-03','11' -'395','val_395','2010-03-03','11' -'58','val_58','2010-03-03','11' -'35','val_35','2010-03-03','11' -'336','val_336','2010-03-03','11' -'95','val_95','2010-03-03','11' -'11','val_11','2010-03-03','11' -'168','val_168','2010-03-03','11' -'34','val_34','2010-03-03','11' -'229','val_229','2010-03-03','11' -'233','val_233','2010-03-03','11' -'143','val_143','2010-03-03','11' -'472','val_472','2010-03-03','11' -'322','val_322','2010-03-03','11' -'498','val_498','2010-03-03','11' -'160','val_160','2010-03-03','11' -'195','val_195','2010-03-03','11' -'42','val_42','2010-03-03','11' -'321','val_321','2010-03-03','11' -'430','val_430','2010-03-03','11' -'119','val_119','2010-03-03','11' -'489','val_489','2010-03-03','11' -'458','val_458','2010-03-03','11' -'78','val_78','2010-03-03','11' -'76','val_76','2010-03-03','11' -'41','val_41','2010-03-03','11' -'223','val_223','2010-03-03','11' -'492','val_492','2010-03-03','11' -'149','val_149','2010-03-03','11' -'449','val_449','2010-03-03','11' -'218','val_218','2010-03-03','11' -'228','val_228','2010-03-03','11' -'138','val_138','2010-03-03','11' -'453','val_453','2010-03-03','11' -'30','val_30','2010-03-03','11' -'209','val_209','2010-03-03','11' -'64','val_64','2010-03-03','11' -'468','val_468','2010-03-03','11' -'76','val_76','2010-03-03','11' -'74','val_74','2010-03-03','11' -'342','val_342','2010-03-03','11' -'69','val_69','2010-03-03','11' -'230','val_230','2010-03-03','11' -'33','val_33','2010-03-03','11' -'368','val_368','2010-03-03','11' -'103','val_103','2010-03-03','11' -'296','val_296','2010-03-03','11' -'113','val_113','2010-03-03','11' -'216','val_216','2010-03-03','11' -'367','val_367','2010-03-03','11' -'344','val_344','2010-03-03','11' -'167','val_167','2010-03-03','11' -'274','val_274','2010-03-03','11' -'219','val_219','2010-03-03','11' -'239','val_239','2010-03-03','11' -'485','val_485','2010-03-03','11' -'116','val_116','2010-03-03','11' -'223','val_223','2010-03-03','11' -'256','val_256','2010-03-03','11' -'263','val_263','2010-03-03','11' -'70','val_70','2010-03-03','11' -'487','val_487','2010-03-03','11' -'480','val_480','2010-03-03','11' -'401','val_401','2010-03-03','11' -'288','val_288','2010-03-03','11' -'191','val_191','2010-03-03','11' -'5','val_5','2010-03-03','11' -'244','val_244','2010-03-03','11' -'438','val_438','2010-03-03','11' -'128','val_128','2010-03-03','11' -'467','val_467','2010-03-03','11' -'432','val_432','2010-03-03','11' -'202','val_202','2010-03-03','11' -'316','val_316','2010-03-03','11' -'229','val_229','2010-03-03','11' -'469','val_469','2010-03-03','11' -'463','val_463','2010-03-03','11' -'280','val_280','2010-03-03','11' -'2','val_2','2010-03-03','11' -'35','val_35','2010-03-03','11' -'283','val_283','2010-03-03','11' -'331','val_331','2010-03-03','11' -'235','val_235','2010-03-03','11' -'80','val_80','2010-03-03','11' -'44','val_44','2010-03-03','11' -'193','val_193','2010-03-03','11' -'321','val_321','2010-03-03','11' -'335','val_335','2010-03-03','11' -'104','val_104','2010-03-03','11' -'466','val_466','2010-03-03','11' -'366','val_366','2010-03-03','11' -'175','val_175','2010-03-03','11' -'403','val_403','2010-03-03','11' -'483','val_483','2010-03-03','11' -'53','val_53','2010-03-03','11' -'105','val_105','2010-03-03','11' -'257','val_257','2010-03-03','11' -'406','val_406','2010-03-03','11' -'409','val_409','2010-03-03','11' -'190','val_190','2010-03-03','11' -'406','val_406','2010-03-03','11' -'401','val_401','2010-03-03','11' -'114','val_114','2010-03-03','11' -'258','val_258','2010-03-03','11' -'90','val_90','2010-03-03','11' -'203','val_203','2010-03-03','11' -'262','val_262','2010-03-03','11' -'348','val_348','2010-03-03','11' -'424','val_424','2010-03-03','11' -'12','val_12','2010-03-03','11' -'396','val_396','2010-03-03','11' -'201','val_201','2010-03-03','11' -'217','val_217','2010-03-03','11' -'164','val_164','2010-03-03','11' -'431','val_431','2010-03-03','11' -'454','val_454','2010-03-03','11' -'478','val_478','2010-03-03','11' -'298','val_298','2010-03-03','11' -'125','val_125','2010-03-03','11' -'431','val_431','2010-03-03','11' -'164','val_164','2010-03-03','11' -'424','val_424','2010-03-03','11' -'187','val_187','2010-03-03','11' -'382','val_382','2010-03-03','11' -'5','val_5','2010-03-03','11' -'70','val_70','2010-03-03','11' -'397','val_397','2010-03-03','11' -'480','val_480','2010-03-03','11' -'291','val_291','2010-03-03','11' -'24','val_24','2010-03-03','11' -'351','val_351','2010-03-03','11' -'255','val_255','2010-03-03','11' -'104','val_104','2010-03-03','11' -'70','val_70','2010-03-03','11' -'163','val_163','2010-03-03','11' -'438','val_438','2010-03-03','11' -'119','val_119','2010-03-03','11' -'414','val_414','2010-03-03','11' -'200','val_200','2010-03-03','11' -'491','val_491','2010-03-03','11' -'237','val_237','2010-03-03','11' -'439','val_439','2010-03-03','11' -'360','val_360','2010-03-03','11' -'248','val_248','2010-03-03','11' -'479','val_479','2010-03-03','11' -'305','val_305','2010-03-03','11' -'417','val_417','2010-03-03','11' -'199','val_199','2010-03-03','11' -'444','val_444','2010-03-03','11' -'120','val_120','2010-03-03','11' -'429','val_429','2010-03-03','11' -'169','val_169','2010-03-03','11' -'443','val_443','2010-03-03','11' -'323','val_323','2010-03-03','11' -'325','val_325','2010-03-03','11' -'277','val_277','2010-03-03','11' -'230','val_230','2010-03-03','11' -'478','val_478','2010-03-03','11' -'178','val_178','2010-03-03','11' -'468','val_468','2010-03-03','11' -'310','val_310','2010-03-03','11' -'317','val_317','2010-03-03','11' -'333','val_333','2010-03-03','11' -'493','val_493','2010-03-03','11' -'460','val_460','2010-03-03','11' -'207','val_207','2010-03-03','11' -'249','val_249','2010-03-03','11' -'265','val_265','2010-03-03','11' -'480','val_480','2010-03-03','11' -'83','val_83','2010-03-03','11' -'136','val_136','2010-03-03','11' -'353','val_353','2010-03-03','11' -'172','val_172','2010-03-03','11' -'214','val_214','2010-03-03','11' -'462','val_462','2010-03-03','11' -'233','val_233','2010-03-03','11' -'406','val_406','2010-03-03','11' -'133','val_133','2010-03-03','11' -'175','val_175','2010-03-03','11' -'189','val_189','2010-03-03','11' -'454','val_454','2010-03-03','11' -'375','val_375','2010-03-03','11' -'401','val_401','2010-03-03','11' -'421','val_421','2010-03-03','11' -'407','val_407','2010-03-03','11' -'384','val_384','2010-03-03','11' -'256','val_256','2010-03-03','11' -'26','val_26','2010-03-03','11' -'134','val_134','2010-03-03','11' -'67','val_67','2010-03-03','11' -'384','val_384','2010-03-03','11' -'379','val_379','2010-03-03','11' -'18','val_18','2010-03-03','11' -'462','val_462','2010-03-03','11' -'492','val_492','2010-03-03','11' -'100','val_100','2010-03-03','11' -'298','val_298','2010-03-03','11' -'9','val_9','2010-03-03','11' -'341','val_341','2010-03-03','11' -'498','val_498','2010-03-03','11' -'146','val_146','2010-03-03','11' -'458','val_458','2010-03-03','11' -'362','val_362','2010-03-03','11' -'186','val_186','2010-03-03','11' -'285','val_285','2010-03-03','11' -'348','val_348','2010-03-03','11' -'167','val_167','2010-03-03','11' -'18','val_18','2010-03-03','11' -'273','val_273','2010-03-03','11' -'183','val_183','2010-03-03','11' -'281','val_281','2010-03-03','11' -'344','val_344','2010-03-03','11' -'97','val_97','2010-03-03','11' -'469','val_469','2010-03-03','11' -'315','val_315','2010-03-03','11' -'84','val_84','2010-03-03','11' -'28','val_28','2010-03-03','11' -'37','val_37','2010-03-03','11' -'448','val_448','2010-03-03','11' -'152','val_152','2010-03-03','11' -'348','val_348','2010-03-03','11' -'307','val_307','2010-03-03','11' -'194','val_194','2010-03-03','11' -'414','val_414','2010-03-03','11' -'477','val_477','2010-03-03','11' -'222','val_222','2010-03-03','11' -'126','val_126','2010-03-03','11' -'90','val_90','2010-03-03','11' -'169','val_169','2010-03-03','11' -'403','val_403','2010-03-03','11' -'400','val_400','2010-03-03','11' -'200','val_200','2010-03-03','11' -'97','val_97','2010-03-03','11' -'238','val_238','2010-03-03','11' -'86','val_86','2010-03-03','11' -'311','val_311','2010-03-03','11' -'27','val_27','2010-03-03','11' -'165','val_165','2010-03-03','11' -'409','val_409','2010-03-03','11' -'255','val_255','2010-03-03','11' -'278','val_278','2010-03-03','11' -'98','val_98','2010-03-03','11' -'484','val_484','2010-03-03','11' -'265','val_265','2010-03-03','11' -'193','val_193','2010-03-03','11' -'401','val_401','2010-03-03','11' -'150','val_150','2010-03-03','11' -'273','val_273','2010-03-03','11' -'224','val_224','2010-03-03','11' -'369','val_369','2010-03-03','11' -'66','val_66','2010-03-03','11' -'128','val_128','2010-03-03','11' -'213','val_213','2010-03-03','11' -'146','val_146','2010-03-03','11' -'406','val_406','2010-03-03','11' -'429','val_429','2010-03-03','11' -'374','val_374','2010-03-03','11' -'152','val_152','2010-03-03','11' -'469','val_469','2010-03-03','11' -'145','val_145','2010-03-03','11' -'495','val_495','2010-03-03','11' -'37','val_37','2010-03-03','11' -'327','val_327','2010-03-03','11' -'281','val_281','2010-03-03','11' -'277','val_277','2010-03-03','11' -'209','val_209','2010-03-03','11' -'15','val_15','2010-03-03','11' -'82','val_82','2010-03-03','11' -'403','val_403','2010-03-03','11' -'166','val_166','2010-03-03','11' -'417','val_417','2010-03-03','11' -'430','val_430','2010-03-03','11' -'252','val_252','2010-03-03','11' -'292','val_292','2010-03-03','11' -'219','val_219','2010-03-03','11' -'287','val_287','2010-03-03','11' -'153','val_153','2010-03-03','11' -'193','val_193','2010-03-03','11' -'338','val_338','2010-03-03','11' -'446','val_446','2010-03-03','11' -'459','val_459','2010-03-03','11' -'394','val_394','2010-03-03','11' -'237','val_237','2010-03-03','11' -'482','val_482','2010-03-03','11' -'174','val_174','2010-03-03','11' -'413','val_413','2010-03-03','11' -'494','val_494','2010-03-03','11' -'207','val_207','2010-03-03','11' -'199','val_199','2010-03-03','11' -'466','val_466','2010-03-03','11' -'208','val_208','2010-03-03','11' -'174','val_174','2010-03-03','11' -'399','val_399','2010-03-03','11' -'396','val_396','2010-03-03','11' -'247','val_247','2010-03-03','11' -'417','val_417','2010-03-03','11' -'489','val_489','2010-03-03','11' -'162','val_162','2010-03-03','11' -'377','val_377','2010-03-03','11' -'397','val_397','2010-03-03','11' -'309','val_309','2010-03-03','11' -'365','val_365','2010-03-03','11' -'266','val_266','2010-03-03','11' -'439','val_439','2010-03-03','11' -'342','val_342','2010-03-03','11' -'367','val_367','2010-03-03','11' -'325','val_325','2010-03-03','11' -'167','val_167','2010-03-03','11' -'195','val_195','2010-03-03','11' -'475','val_475','2010-03-03','11' -'17','val_17','2010-03-03','11' -'113','val_113','2010-03-03','11' -'155','val_155','2010-03-03','11' -'203','val_203','2010-03-03','11' -'339','val_339','2010-03-03','11' -'0','val_0','2010-03-03','11' -'455','val_455','2010-03-03','11' -'128','val_128','2010-03-03','11' -'311','val_311','2010-03-03','11' -'316','val_316','2010-03-03','11' -'57','val_57','2010-03-03','11' -'302','val_302','2010-03-03','11' -'205','val_205','2010-03-03','11' -'149','val_149','2010-03-03','11' -'438','val_438','2010-03-03','11' -'345','val_345','2010-03-03','11' -'129','val_129','2010-03-03','11' -'170','val_170','2010-03-03','11' -'20','val_20','2010-03-03','11' -'489','val_489','2010-03-03','11' -'157','val_157','2010-03-03','11' -'378','val_378','2010-03-03','11' -'221','val_221','2010-03-03','11' -'92','val_92','2010-03-03','11' -'111','val_111','2010-03-03','11' -'47','val_47','2010-03-03','11' -'72','val_72','2010-03-03','11' -'4','val_4','2010-03-03','11' -'280','val_280','2010-03-03','11' -'35','val_35','2010-03-03','11' -'427','val_427','2010-03-03','11' -'277','val_277','2010-03-03','11' -'208','val_208','2010-03-03','11' -'356','val_356','2010-03-03','11' -'399','val_399','2010-03-03','11' -'169','val_169','2010-03-03','11' -'382','val_382','2010-03-03','11' -'498','val_498','2010-03-03','11' -'125','val_125','2010-03-03','11' -'386','val_386','2010-03-03','11' -'437','val_437','2010-03-03','11' -'469','val_469','2010-03-03','11' -'192','val_192','2010-03-03','11' -'286','val_286','2010-03-03','11' -'187','val_187','2010-03-03','11' -'176','val_176','2010-03-03','11' -'54','val_54','2010-03-03','11' -'459','val_459','2010-03-03','11' -'51','val_51','2010-03-03','11' -'138','val_138','2010-03-03','11' -'103','val_103','2010-03-03','11' -'239','val_239','2010-03-03','11' -'213','val_213','2010-03-03','11' -'216','val_216','2010-03-03','11' -'430','val_430','2010-03-03','11' -'278','val_278','2010-03-03','11' -'176','val_176','2010-03-03','11' -'289','val_289','2010-03-03','11' -'221','val_221','2010-03-03','11' -'65','val_65','2010-03-03','11' -'318','val_318','2010-03-03','11' -'332','val_332','2010-03-03','11' -'311','val_311','2010-03-03','11' -'275','val_275','2010-03-03','11' -'137','val_137','2010-03-03','11' -'241','val_241','2010-03-03','11' -'83','val_83','2010-03-03','11' -'333','val_333','2010-03-03','11' -'180','val_180','2010-03-03','11' -'284','val_284','2010-03-03','11' -'12','val_12','2010-03-03','11' -'230','val_230','2010-03-03','11' -'181','val_181','2010-03-03','11' -'67','val_67','2010-03-03','11' -'260','val_260','2010-03-03','11' -'404','val_404','2010-03-03','11' -'384','val_384','2010-03-03','11' -'489','val_489','2010-03-03','11' -'353','val_353','2010-03-03','11' -'373','val_373','2010-03-03','11' -'272','val_272','2010-03-03','11' -'138','val_138','2010-03-03','11' -'217','val_217','2010-03-03','11' -'84','val_84','2010-03-03','11' -'348','val_348','2010-03-03','11' -'466','val_466','2010-03-03','11' -'58','val_58','2010-03-03','11' -'8','val_8','2010-03-03','11' -'411','val_411','2010-03-03','11' -'230','val_230','2010-03-03','11' -'208','val_208','2010-03-03','11' -'348','val_348','2010-03-03','11' -'24','val_24','2010-03-03','11' -'463','val_463','2010-03-03','11' -'431','val_431','2010-03-03','11' -'179','val_179','2010-03-03','11' -'172','val_172','2010-03-03','11' -'42','val_42','2010-03-03','11' -'129','val_129','2010-03-03','11' -'158','val_158','2010-03-03','11' -'119','val_119','2010-03-03','11' -'496','val_496','2010-03-03','11' -'0','val_0','2010-03-03','11' -'322','val_322','2010-03-03','11' -'197','val_197','2010-03-03','11' -'468','val_468','2010-03-03','11' -'393','val_393','2010-03-03','11' -'454','val_454','2010-03-03','11' -'100','val_100','2010-03-03','11' -'298','val_298','2010-03-03','11' -'199','val_199','2010-03-03','11' -'191','val_191','2010-03-03','11' -'418','val_418','2010-03-03','11' -'96','val_96','2010-03-03','11' -'26','val_26','2010-03-03','11' -'165','val_165','2010-03-03','11' -'327','val_327','2010-03-03','11' -'230','val_230','2010-03-03','11' -'205','val_205','2010-03-03','11' -'120','val_120','2010-03-03','11' -'131','val_131','2010-03-03','11' -'51','val_51','2010-03-03','11' -'404','val_404','2010-03-03','11' -'43','val_43','2010-03-03','11' -'436','val_436','2010-03-03','11' -'156','val_156','2010-03-03','11' -'469','val_469','2010-03-03','11' -'468','val_468','2010-03-03','11' -'308','val_308','2010-03-03','11' -'95','val_95','2010-03-03','11' -'196','val_196','2010-03-03','11' -'288','val_288','2010-03-03','11' -'481','val_481','2010-03-03','11' -'457','val_457','2010-03-03','11' -'98','val_98','2010-03-03','11' -'282','val_282','2010-03-03','11' -'197','val_197','2010-03-03','11' -'187','val_187','2010-03-03','11' -'318','val_318','2010-03-03','11' -'318','val_318','2010-03-03','11' -'409','val_409','2010-03-03','11' -'470','val_470','2010-03-03','11' -'137','val_137','2010-03-03','11' -'369','val_369','2010-03-03','11' -'316','val_316','2010-03-03','11' -'169','val_169','2010-03-03','11' -'413','val_413','2010-03-03','11' -'85','val_85','2010-03-03','11' -'77','val_77','2010-03-03','11' -'0','val_0','2010-03-03','11' -'490','val_490','2010-03-03','11' -'87','val_87','2010-03-03','11' -'364','val_364','2010-03-03','11' -'179','val_179','2010-03-03','11' -'118','val_118','2010-03-03','11' -'134','val_134','2010-03-03','11' -'395','val_395','2010-03-03','11' -'282','val_282','2010-03-03','11' -'138','val_138','2010-03-03','11' -'238','val_238','2010-03-03','11' -'419','val_419','2010-03-03','11' -'15','val_15','2010-03-03','11' -'118','val_118','2010-03-03','11' -'72','val_72','2010-03-03','11' -'90','val_90','2010-03-03','11' -'307','val_307','2010-03-03','11' -'19','val_19','2010-03-03','11' -'435','val_435','2010-03-03','11' -'10','val_10','2010-03-03','11' -'277','val_277','2010-03-03','11' -'273','val_273','2010-03-03','11' -'306','val_306','2010-03-03','11' -'224','val_224','2010-03-03','11' -'309','val_309','2010-03-03','11' -'389','val_389','2010-03-03','11' -'327','val_327','2010-03-03','11' -'242','val_242','2010-03-03','11' -'369','val_369','2010-03-03','11' -'392','val_392','2010-03-03','11' -'272','val_272','2010-03-03','11' -'331','val_331','2010-03-03','11' -'401','val_401','2010-03-03','11' -'242','val_242','2010-03-03','11' -'452','val_452','2010-03-03','11' -'177','val_177','2010-03-03','11' -'226','val_226','2010-03-03','11' -'5','val_5','2010-03-03','11' -'497','val_497','2010-03-03','11' -'402','val_402','2010-03-03','11' -'396','val_396','2010-03-03','11' -'317','val_317','2010-03-03','11' -'395','val_395','2010-03-03','11' -'58','val_58','2010-03-03','11' -'35','val_35','2010-03-03','11' -'336','val_336','2010-03-03','11' -'95','val_95','2010-03-03','11' -'11','val_11','2010-03-03','11' -'168','val_168','2010-03-03','11' -'34','val_34','2010-03-03','11' -'229','val_229','2010-03-03','11' -'233','val_233','2010-03-03','11' -'143','val_143','2010-03-03','11' -'472','val_472','2010-03-03','11' -'322','val_322','2010-03-03','11' -'498','val_498','2010-03-03','11' -'160','val_160','2010-03-03','11' -'195','val_195','2010-03-03','11' -'42','val_42','2010-03-03','11' -'321','val_321','2010-03-03','11' -'430','val_430','2010-03-03','11' -'119','val_119','2010-03-03','11' -'489','val_489','2010-03-03','11' -'458','val_458','2010-03-03','11' -'78','val_78','2010-03-03','11' -'76','val_76','2010-03-03','11' -'41','val_41','2010-03-03','11' -'223','val_223','2010-03-03','11' -'492','val_492','2010-03-03','11' -'149','val_149','2010-03-03','11' -'449','val_449','2010-03-03','11' -'218','val_218','2010-03-03','11' -'228','val_228','2010-03-03','11' -'138','val_138','2010-03-03','11' -'453','val_453','2010-03-03','11' -'30','val_30','2010-03-03','11' -'209','val_209','2010-03-03','11' -'64','val_64','2010-03-03','11' -'468','val_468','2010-03-03','11' -'76','val_76','2010-03-03','11' -'74','val_74','2010-03-03','11' -'342','val_342','2010-03-03','11' -'69','val_69','2010-03-03','11' -'230','val_230','2010-03-03','11' -'33','val_33','2010-03-03','11' -'368','val_368','2010-03-03','11' -'103','val_103','2010-03-03','11' -'296','val_296','2010-03-03','11' -'113','val_113','2010-03-03','11' -'216','val_216','2010-03-03','11' -'367','val_367','2010-03-03','11' -'344','val_344','2010-03-03','11' -'167','val_167','2010-03-03','11' -'274','val_274','2010-03-03','11' -'219','val_219','2010-03-03','11' -'239','val_239','2010-03-03','11' -'485','val_485','2010-03-03','11' -'116','val_116','2010-03-03','11' -'223','val_223','2010-03-03','11' -'256','val_256','2010-03-03','11' -'263','val_263','2010-03-03','11' -'70','val_70','2010-03-03','11' -'487','val_487','2010-03-03','11' -'480','val_480','2010-03-03','11' -'401','val_401','2010-03-03','11' -'288','val_288','2010-03-03','11' -'191','val_191','2010-03-03','11' -'5','val_5','2010-03-03','11' -'244','val_244','2010-03-03','11' -'438','val_438','2010-03-03','11' -'128','val_128','2010-03-03','11' -'467','val_467','2010-03-03','11' -'432','val_432','2010-03-03','11' -'202','val_202','2010-03-03','11' -'316','val_316','2010-03-03','11' -'229','val_229','2010-03-03','11' -'469','val_469','2010-03-03','11' -'463','val_463','2010-03-03','11' -'280','val_280','2010-03-03','11' -'2','val_2','2010-03-03','11' -'35','val_35','2010-03-03','11' -'283','val_283','2010-03-03','11' -'331','val_331','2010-03-03','11' -'235','val_235','2010-03-03','11' -'80','val_80','2010-03-03','11' -'44','val_44','2010-03-03','11' -'193','val_193','2010-03-03','11' -'321','val_321','2010-03-03','11' -'335','val_335','2010-03-03','11' -'104','val_104','2010-03-03','11' -'466','val_466','2010-03-03','11' -'366','val_366','2010-03-03','11' -'175','val_175','2010-03-03','11' -'403','val_403','2010-03-03','11' -'483','val_483','2010-03-03','11' -'53','val_53','2010-03-03','11' -'105','val_105','2010-03-03','11' -'257','val_257','2010-03-03','11' -'406','val_406','2010-03-03','11' -'409','val_409','2010-03-03','11' -'190','val_190','2010-03-03','11' -'406','val_406','2010-03-03','11' -'401','val_401','2010-03-03','11' -'114','val_114','2010-03-03','11' -'258','val_258','2010-03-03','11' -'90','val_90','2010-03-03','11' -'203','val_203','2010-03-03','11' -'262','val_262','2010-03-03','11' -'348','val_348','2010-03-03','11' -'424','val_424','2010-03-03','11' -'12','val_12','2010-03-03','11' -'396','val_396','2010-03-03','11' -'201','val_201','2010-03-03','11' -'217','val_217','2010-03-03','11' -'164','val_164','2010-03-03','11' -'431','val_431','2010-03-03','11' -'454','val_454','2010-03-03','11' -'478','val_478','2010-03-03','11' -'298','val_298','2010-03-03','11' -'125','val_125','2010-03-03','11' -'431','val_431','2010-03-03','11' -'164','val_164','2010-03-03','11' -'424','val_424','2010-03-03','11' -'187','val_187','2010-03-03','11' -'382','val_382','2010-03-03','11' -'5','val_5','2010-03-03','11' -'70','val_70','2010-03-03','11' -'397','val_397','2010-03-03','11' -'480','val_480','2010-03-03','11' -'291','val_291','2010-03-03','11' -'24','val_24','2010-03-03','11' -'351','val_351','2010-03-03','11' -'255','val_255','2010-03-03','11' -'104','val_104','2010-03-03','11' -'70','val_70','2010-03-03','11' -'163','val_163','2010-03-03','11' -'438','val_438','2010-03-03','11' -'119','val_119','2010-03-03','11' -'414','val_414','2010-03-03','11' -'200','val_200','2010-03-03','11' -'491','val_491','2010-03-03','11' -'237','val_237','2010-03-03','11' -'439','val_439','2010-03-03','11' -'360','val_360','2010-03-03','11' -'248','val_248','2010-03-03','11' -'479','val_479','2010-03-03','11' -'305','val_305','2010-03-03','11' -'417','val_417','2010-03-03','11' -'199','val_199','2010-03-03','11' -'444','val_444','2010-03-03','11' -'120','val_120','2010-03-03','11' -'429','val_429','2010-03-03','11' -'169','val_169','2010-03-03','11' -'443','val_443','2010-03-03','11' -'323','val_323','2010-03-03','11' -'325','val_325','2010-03-03','11' -'277','val_277','2010-03-03','11' -'230','val_230','2010-03-03','11' -'478','val_478','2010-03-03','11' -'178','val_178','2010-03-03','11' -'468','val_468','2010-03-03','11' -'310','val_310','2010-03-03','11' -'317','val_317','2010-03-03','11' -'333','val_333','2010-03-03','11' -'493','val_493','2010-03-03','11' -'460','val_460','2010-03-03','11' -'207','val_207','2010-03-03','11' -'249','val_249','2010-03-03','11' -'265','val_265','2010-03-03','11' -'480','val_480','2010-03-03','11' -'83','val_83','2010-03-03','11' -'136','val_136','2010-03-03','11' -'353','val_353','2010-03-03','11' -'172','val_172','2010-03-03','11' -'214','val_214','2010-03-03','11' -'462','val_462','2010-03-03','11' -'233','val_233','2010-03-03','11' -'406','val_406','2010-03-03','11' -'133','val_133','2010-03-03','11' -'175','val_175','2010-03-03','11' -'189','val_189','2010-03-03','11' -'454','val_454','2010-03-03','11' -'375','val_375','2010-03-03','11' -'401','val_401','2010-03-03','11' -'421','val_421','2010-03-03','11' -'407','val_407','2010-03-03','11' -'384','val_384','2010-03-03','11' -'256','val_256','2010-03-03','11' -'26','val_26','2010-03-03','11' -'134','val_134','2010-03-03','11' -'67','val_67','2010-03-03','11' -'384','val_384','2010-03-03','11' -'379','val_379','2010-03-03','11' -'18','val_18','2010-03-03','11' -'462','val_462','2010-03-03','11' -'492','val_492','2010-03-03','11' -'100','val_100','2010-03-03','11' -'298','val_298','2010-03-03','11' -'9','val_9','2010-03-03','11' -'341','val_341','2010-03-03','11' -'498','val_498','2010-03-03','11' -'146','val_146','2010-03-03','11' -'458','val_458','2010-03-03','11' -'362','val_362','2010-03-03','11' -'186','val_186','2010-03-03','11' -'285','val_285','2010-03-03','11' -'348','val_348','2010-03-03','11' -'167','val_167','2010-03-03','11' -'18','val_18','2010-03-03','11' -'273','val_273','2010-03-03','11' -'183','val_183','2010-03-03','11' -'281','val_281','2010-03-03','11' -'344','val_344','2010-03-03','11' -'97','val_97','2010-03-03','11' -'469','val_469','2010-03-03','11' -'315','val_315','2010-03-03','11' -'84','val_84','2010-03-03','11' -'28','val_28','2010-03-03','11' -'37','val_37','2010-03-03','11' -'448','val_448','2010-03-03','11' -'152','val_152','2010-03-03','11' -'348','val_348','2010-03-03','11' -'307','val_307','2010-03-03','11' -'194','val_194','2010-03-03','11' -'414','val_414','2010-03-03','11' -'477','val_477','2010-03-03','11' -'222','val_222','2010-03-03','11' -'126','val_126','2010-03-03','11' -'90','val_90','2010-03-03','11' -'169','val_169','2010-03-03','11' -'403','val_403','2010-03-03','11' -'400','val_400','2010-03-03','11' -'200','val_200','2010-03-03','11' -'97','val_97','2010-03-03','11' -1,000 rows selected ->>> select * from nzhang_part where ds = '2010-03-03' and hr = '12'; -'key','value','ds','hr' -'238','val_238','2010-03-03','12' -'86','val_86','2010-03-03','12' -'311','val_311','2010-03-03','12' -'27','val_27','2010-03-03','12' -'165','val_165','2010-03-03','12' -'409','val_409','2010-03-03','12' -'255','val_255','2010-03-03','12' -'278','val_278','2010-03-03','12' -'98','val_98','2010-03-03','12' -'484','val_484','2010-03-03','12' -'265','val_265','2010-03-03','12' -'193','val_193','2010-03-03','12' -'401','val_401','2010-03-03','12' -'150','val_150','2010-03-03','12' -'273','val_273','2010-03-03','12' -'224','val_224','2010-03-03','12' -'369','val_369','2010-03-03','12' -'66','val_66','2010-03-03','12' -'128','val_128','2010-03-03','12' -'213','val_213','2010-03-03','12' -'146','val_146','2010-03-03','12' -'406','val_406','2010-03-03','12' -'429','val_429','2010-03-03','12' -'374','val_374','2010-03-03','12' -'152','val_152','2010-03-03','12' -'469','val_469','2010-03-03','12' -'145','val_145','2010-03-03','12' -'495','val_495','2010-03-03','12' -'37','val_37','2010-03-03','12' -'327','val_327','2010-03-03','12' -'281','val_281','2010-03-03','12' -'277','val_277','2010-03-03','12' -'209','val_209','2010-03-03','12' -'15','val_15','2010-03-03','12' -'82','val_82','2010-03-03','12' -'403','val_403','2010-03-03','12' -'166','val_166','2010-03-03','12' -'417','val_417','2010-03-03','12' -'430','val_430','2010-03-03','12' -'252','val_252','2010-03-03','12' -'292','val_292','2010-03-03','12' -'219','val_219','2010-03-03','12' -'287','val_287','2010-03-03','12' -'153','val_153','2010-03-03','12' -'193','val_193','2010-03-03','12' -'338','val_338','2010-03-03','12' -'446','val_446','2010-03-03','12' -'459','val_459','2010-03-03','12' -'394','val_394','2010-03-03','12' -'237','val_237','2010-03-03','12' -'482','val_482','2010-03-03','12' -'174','val_174','2010-03-03','12' -'413','val_413','2010-03-03','12' -'494','val_494','2010-03-03','12' -'207','val_207','2010-03-03','12' -'199','val_199','2010-03-03','12' -'466','val_466','2010-03-03','12' -'208','val_208','2010-03-03','12' -'174','val_174','2010-03-03','12' -'399','val_399','2010-03-03','12' -'396','val_396','2010-03-03','12' -'247','val_247','2010-03-03','12' -'417','val_417','2010-03-03','12' -'489','val_489','2010-03-03','12' -'162','val_162','2010-03-03','12' -'377','val_377','2010-03-03','12' -'397','val_397','2010-03-03','12' -'309','val_309','2010-03-03','12' -'365','val_365','2010-03-03','12' -'266','val_266','2010-03-03','12' -'439','val_439','2010-03-03','12' -'342','val_342','2010-03-03','12' -'367','val_367','2010-03-03','12' -'325','val_325','2010-03-03','12' -'167','val_167','2010-03-03','12' -'195','val_195','2010-03-03','12' -'475','val_475','2010-03-03','12' -'17','val_17','2010-03-03','12' -'113','val_113','2010-03-03','12' -'155','val_155','2010-03-03','12' -'203','val_203','2010-03-03','12' -'339','val_339','2010-03-03','12' -'0','val_0','2010-03-03','12' -'455','val_455','2010-03-03','12' -'128','val_128','2010-03-03','12' -'311','val_311','2010-03-03','12' -'316','val_316','2010-03-03','12' -'57','val_57','2010-03-03','12' -'302','val_302','2010-03-03','12' -'205','val_205','2010-03-03','12' -'149','val_149','2010-03-03','12' -'438','val_438','2010-03-03','12' -'345','val_345','2010-03-03','12' -'129','val_129','2010-03-03','12' -'170','val_170','2010-03-03','12' -'20','val_20','2010-03-03','12' -'489','val_489','2010-03-03','12' -'157','val_157','2010-03-03','12' -'378','val_378','2010-03-03','12' -'221','val_221','2010-03-03','12' -'92','val_92','2010-03-03','12' -'111','val_111','2010-03-03','12' -'47','val_47','2010-03-03','12' -'72','val_72','2010-03-03','12' -'4','val_4','2010-03-03','12' -'280','val_280','2010-03-03','12' -'35','val_35','2010-03-03','12' -'427','val_427','2010-03-03','12' -'277','val_277','2010-03-03','12' -'208','val_208','2010-03-03','12' -'356','val_356','2010-03-03','12' -'399','val_399','2010-03-03','12' -'169','val_169','2010-03-03','12' -'382','val_382','2010-03-03','12' -'498','val_498','2010-03-03','12' -'125','val_125','2010-03-03','12' -'386','val_386','2010-03-03','12' -'437','val_437','2010-03-03','12' -'469','val_469','2010-03-03','12' -'192','val_192','2010-03-03','12' -'286','val_286','2010-03-03','12' -'187','val_187','2010-03-03','12' -'176','val_176','2010-03-03','12' -'54','val_54','2010-03-03','12' -'459','val_459','2010-03-03','12' -'51','val_51','2010-03-03','12' -'138','val_138','2010-03-03','12' -'103','val_103','2010-03-03','12' -'239','val_239','2010-03-03','12' -'213','val_213','2010-03-03','12' -'216','val_216','2010-03-03','12' -'430','val_430','2010-03-03','12' -'278','val_278','2010-03-03','12' -'176','val_176','2010-03-03','12' -'289','val_289','2010-03-03','12' -'221','val_221','2010-03-03','12' -'65','val_65','2010-03-03','12' -'318','val_318','2010-03-03','12' -'332','val_332','2010-03-03','12' -'311','val_311','2010-03-03','12' -'275','val_275','2010-03-03','12' -'137','val_137','2010-03-03','12' -'241','val_241','2010-03-03','12' -'83','val_83','2010-03-03','12' -'333','val_333','2010-03-03','12' -'180','val_180','2010-03-03','12' -'284','val_284','2010-03-03','12' -'12','val_12','2010-03-03','12' -'230','val_230','2010-03-03','12' -'181','val_181','2010-03-03','12' -'67','val_67','2010-03-03','12' -'260','val_260','2010-03-03','12' -'404','val_404','2010-03-03','12' -'384','val_384','2010-03-03','12' -'489','val_489','2010-03-03','12' -'353','val_353','2010-03-03','12' -'373','val_373','2010-03-03','12' -'272','val_272','2010-03-03','12' -'138','val_138','2010-03-03','12' -'217','val_217','2010-03-03','12' -'84','val_84','2010-03-03','12' -'348','val_348','2010-03-03','12' -'466','val_466','2010-03-03','12' -'58','val_58','2010-03-03','12' -'8','val_8','2010-03-03','12' -'411','val_411','2010-03-03','12' -'230','val_230','2010-03-03','12' -'208','val_208','2010-03-03','12' -'348','val_348','2010-03-03','12' -'24','val_24','2010-03-03','12' -'463','val_463','2010-03-03','12' -'431','val_431','2010-03-03','12' -'179','val_179','2010-03-03','12' -'172','val_172','2010-03-03','12' -'42','val_42','2010-03-03','12' -'129','val_129','2010-03-03','12' -'158','val_158','2010-03-03','12' -'119','val_119','2010-03-03','12' -'496','val_496','2010-03-03','12' -'0','val_0','2010-03-03','12' -'322','val_322','2010-03-03','12' -'197','val_197','2010-03-03','12' -'468','val_468','2010-03-03','12' -'393','val_393','2010-03-03','12' -'454','val_454','2010-03-03','12' -'100','val_100','2010-03-03','12' -'298','val_298','2010-03-03','12' -'199','val_199','2010-03-03','12' -'191','val_191','2010-03-03','12' -'418','val_418','2010-03-03','12' -'96','val_96','2010-03-03','12' -'26','val_26','2010-03-03','12' -'165','val_165','2010-03-03','12' -'327','val_327','2010-03-03','12' -'230','val_230','2010-03-03','12' -'205','val_205','2010-03-03','12' -'120','val_120','2010-03-03','12' -'131','val_131','2010-03-03','12' -'51','val_51','2010-03-03','12' -'404','val_404','2010-03-03','12' -'43','val_43','2010-03-03','12' -'436','val_436','2010-03-03','12' -'156','val_156','2010-03-03','12' -'469','val_469','2010-03-03','12' -'468','val_468','2010-03-03','12' -'308','val_308','2010-03-03','12' -'95','val_95','2010-03-03','12' -'196','val_196','2010-03-03','12' -'288','val_288','2010-03-03','12' -'481','val_481','2010-03-03','12' -'457','val_457','2010-03-03','12' -'98','val_98','2010-03-03','12' -'282','val_282','2010-03-03','12' -'197','val_197','2010-03-03','12' -'187','val_187','2010-03-03','12' -'318','val_318','2010-03-03','12' -'318','val_318','2010-03-03','12' -'409','val_409','2010-03-03','12' -'470','val_470','2010-03-03','12' -'137','val_137','2010-03-03','12' -'369','val_369','2010-03-03','12' -'316','val_316','2010-03-03','12' -'169','val_169','2010-03-03','12' -'413','val_413','2010-03-03','12' -'85','val_85','2010-03-03','12' -'77','val_77','2010-03-03','12' -'0','val_0','2010-03-03','12' -'490','val_490','2010-03-03','12' -'87','val_87','2010-03-03','12' -'364','val_364','2010-03-03','12' -'179','val_179','2010-03-03','12' -'118','val_118','2010-03-03','12' -'134','val_134','2010-03-03','12' -'395','val_395','2010-03-03','12' -'282','val_282','2010-03-03','12' -'138','val_138','2010-03-03','12' -'238','val_238','2010-03-03','12' -'419','val_419','2010-03-03','12' -'15','val_15','2010-03-03','12' -'118','val_118','2010-03-03','12' -'72','val_72','2010-03-03','12' -'90','val_90','2010-03-03','12' -'307','val_307','2010-03-03','12' -'19','val_19','2010-03-03','12' -'435','val_435','2010-03-03','12' -'10','val_10','2010-03-03','12' -'277','val_277','2010-03-03','12' -'273','val_273','2010-03-03','12' -'306','val_306','2010-03-03','12' -'224','val_224','2010-03-03','12' -'309','val_309','2010-03-03','12' -'389','val_389','2010-03-03','12' -'327','val_327','2010-03-03','12' -'242','val_242','2010-03-03','12' -'369','val_369','2010-03-03','12' -'392','val_392','2010-03-03','12' -'272','val_272','2010-03-03','12' -'331','val_331','2010-03-03','12' -'401','val_401','2010-03-03','12' -'242','val_242','2010-03-03','12' -'452','val_452','2010-03-03','12' -'177','val_177','2010-03-03','12' -'226','val_226','2010-03-03','12' -'5','val_5','2010-03-03','12' -'497','val_497','2010-03-03','12' -'402','val_402','2010-03-03','12' -'396','val_396','2010-03-03','12' -'317','val_317','2010-03-03','12' -'395','val_395','2010-03-03','12' -'58','val_58','2010-03-03','12' -'35','val_35','2010-03-03','12' -'336','val_336','2010-03-03','12' -'95','val_95','2010-03-03','12' -'11','val_11','2010-03-03','12' -'168','val_168','2010-03-03','12' -'34','val_34','2010-03-03','12' -'229','val_229','2010-03-03','12' -'233','val_233','2010-03-03','12' -'143','val_143','2010-03-03','12' -'472','val_472','2010-03-03','12' -'322','val_322','2010-03-03','12' -'498','val_498','2010-03-03','12' -'160','val_160','2010-03-03','12' -'195','val_195','2010-03-03','12' -'42','val_42','2010-03-03','12' -'321','val_321','2010-03-03','12' -'430','val_430','2010-03-03','12' -'119','val_119','2010-03-03','12' -'489','val_489','2010-03-03','12' -'458','val_458','2010-03-03','12' -'78','val_78','2010-03-03','12' -'76','val_76','2010-03-03','12' -'41','val_41','2010-03-03','12' -'223','val_223','2010-03-03','12' -'492','val_492','2010-03-03','12' -'149','val_149','2010-03-03','12' -'449','val_449','2010-03-03','12' -'218','val_218','2010-03-03','12' -'228','val_228','2010-03-03','12' -'138','val_138','2010-03-03','12' -'453','val_453','2010-03-03','12' -'30','val_30','2010-03-03','12' -'209','val_209','2010-03-03','12' -'64','val_64','2010-03-03','12' -'468','val_468','2010-03-03','12' -'76','val_76','2010-03-03','12' -'74','val_74','2010-03-03','12' -'342','val_342','2010-03-03','12' -'69','val_69','2010-03-03','12' -'230','val_230','2010-03-03','12' -'33','val_33','2010-03-03','12' -'368','val_368','2010-03-03','12' -'103','val_103','2010-03-03','12' -'296','val_296','2010-03-03','12' -'113','val_113','2010-03-03','12' -'216','val_216','2010-03-03','12' -'367','val_367','2010-03-03','12' -'344','val_344','2010-03-03','12' -'167','val_167','2010-03-03','12' -'274','val_274','2010-03-03','12' -'219','val_219','2010-03-03','12' -'239','val_239','2010-03-03','12' -'485','val_485','2010-03-03','12' -'116','val_116','2010-03-03','12' -'223','val_223','2010-03-03','12' -'256','val_256','2010-03-03','12' -'263','val_263','2010-03-03','12' -'70','val_70','2010-03-03','12' -'487','val_487','2010-03-03','12' -'480','val_480','2010-03-03','12' -'401','val_401','2010-03-03','12' -'288','val_288','2010-03-03','12' -'191','val_191','2010-03-03','12' -'5','val_5','2010-03-03','12' -'244','val_244','2010-03-03','12' -'438','val_438','2010-03-03','12' -'128','val_128','2010-03-03','12' -'467','val_467','2010-03-03','12' -'432','val_432','2010-03-03','12' -'202','val_202','2010-03-03','12' -'316','val_316','2010-03-03','12' -'229','val_229','2010-03-03','12' -'469','val_469','2010-03-03','12' -'463','val_463','2010-03-03','12' -'280','val_280','2010-03-03','12' -'2','val_2','2010-03-03','12' -'35','val_35','2010-03-03','12' -'283','val_283','2010-03-03','12' -'331','val_331','2010-03-03','12' -'235','val_235','2010-03-03','12' -'80','val_80','2010-03-03','12' -'44','val_44','2010-03-03','12' -'193','val_193','2010-03-03','12' -'321','val_321','2010-03-03','12' -'335','val_335','2010-03-03','12' -'104','val_104','2010-03-03','12' -'466','val_466','2010-03-03','12' -'366','val_366','2010-03-03','12' -'175','val_175','2010-03-03','12' -'403','val_403','2010-03-03','12' -'483','val_483','2010-03-03','12' -'53','val_53','2010-03-03','12' -'105','val_105','2010-03-03','12' -'257','val_257','2010-03-03','12' -'406','val_406','2010-03-03','12' -'409','val_409','2010-03-03','12' -'190','val_190','2010-03-03','12' -'406','val_406','2010-03-03','12' -'401','val_401','2010-03-03','12' -'114','val_114','2010-03-03','12' -'258','val_258','2010-03-03','12' -'90','val_90','2010-03-03','12' -'203','val_203','2010-03-03','12' -'262','val_262','2010-03-03','12' -'348','val_348','2010-03-03','12' -'424','val_424','2010-03-03','12' -'12','val_12','2010-03-03','12' -'396','val_396','2010-03-03','12' -'201','val_201','2010-03-03','12' -'217','val_217','2010-03-03','12' -'164','val_164','2010-03-03','12' -'431','val_431','2010-03-03','12' -'454','val_454','2010-03-03','12' -'478','val_478','2010-03-03','12' -'298','val_298','2010-03-03','12' -'125','val_125','2010-03-03','12' -'431','val_431','2010-03-03','12' -'164','val_164','2010-03-03','12' -'424','val_424','2010-03-03','12' -'187','val_187','2010-03-03','12' -'382','val_382','2010-03-03','12' -'5','val_5','2010-03-03','12' -'70','val_70','2010-03-03','12' -'397','val_397','2010-03-03','12' -'480','val_480','2010-03-03','12' -'291','val_291','2010-03-03','12' -'24','val_24','2010-03-03','12' -'351','val_351','2010-03-03','12' -'255','val_255','2010-03-03','12' -'104','val_104','2010-03-03','12' -'70','val_70','2010-03-03','12' -'163','val_163','2010-03-03','12' -'438','val_438','2010-03-03','12' -'119','val_119','2010-03-03','12' -'414','val_414','2010-03-03','12' -'200','val_200','2010-03-03','12' -'491','val_491','2010-03-03','12' -'237','val_237','2010-03-03','12' -'439','val_439','2010-03-03','12' -'360','val_360','2010-03-03','12' -'248','val_248','2010-03-03','12' -'479','val_479','2010-03-03','12' -'305','val_305','2010-03-03','12' -'417','val_417','2010-03-03','12' -'199','val_199','2010-03-03','12' -'444','val_444','2010-03-03','12' -'120','val_120','2010-03-03','12' -'429','val_429','2010-03-03','12' -'169','val_169','2010-03-03','12' -'443','val_443','2010-03-03','12' -'323','val_323','2010-03-03','12' -'325','val_325','2010-03-03','12' -'277','val_277','2010-03-03','12' -'230','val_230','2010-03-03','12' -'478','val_478','2010-03-03','12' -'178','val_178','2010-03-03','12' -'468','val_468','2010-03-03','12' -'310','val_310','2010-03-03','12' -'317','val_317','2010-03-03','12' -'333','val_333','2010-03-03','12' -'493','val_493','2010-03-03','12' -'460','val_460','2010-03-03','12' -'207','val_207','2010-03-03','12' -'249','val_249','2010-03-03','12' -'265','val_265','2010-03-03','12' -'480','val_480','2010-03-03','12' -'83','val_83','2010-03-03','12' -'136','val_136','2010-03-03','12' -'353','val_353','2010-03-03','12' -'172','val_172','2010-03-03','12' -'214','val_214','2010-03-03','12' -'462','val_462','2010-03-03','12' -'233','val_233','2010-03-03','12' -'406','val_406','2010-03-03','12' -'133','val_133','2010-03-03','12' -'175','val_175','2010-03-03','12' -'189','val_189','2010-03-03','12' -'454','val_454','2010-03-03','12' -'375','val_375','2010-03-03','12' -'401','val_401','2010-03-03','12' -'421','val_421','2010-03-03','12' -'407','val_407','2010-03-03','12' -'384','val_384','2010-03-03','12' -'256','val_256','2010-03-03','12' -'26','val_26','2010-03-03','12' -'134','val_134','2010-03-03','12' -'67','val_67','2010-03-03','12' -'384','val_384','2010-03-03','12' -'379','val_379','2010-03-03','12' -'18','val_18','2010-03-03','12' -'462','val_462','2010-03-03','12' -'492','val_492','2010-03-03','12' -'100','val_100','2010-03-03','12' -'298','val_298','2010-03-03','12' -'9','val_9','2010-03-03','12' -'341','val_341','2010-03-03','12' -'498','val_498','2010-03-03','12' -'146','val_146','2010-03-03','12' -'458','val_458','2010-03-03','12' -'362','val_362','2010-03-03','12' -'186','val_186','2010-03-03','12' -'285','val_285','2010-03-03','12' -'348','val_348','2010-03-03','12' -'167','val_167','2010-03-03','12' -'18','val_18','2010-03-03','12' -'273','val_273','2010-03-03','12' -'183','val_183','2010-03-03','12' -'281','val_281','2010-03-03','12' -'344','val_344','2010-03-03','12' -'97','val_97','2010-03-03','12' -'469','val_469','2010-03-03','12' -'315','val_315','2010-03-03','12' -'84','val_84','2010-03-03','12' -'28','val_28','2010-03-03','12' -'37','val_37','2010-03-03','12' -'448','val_448','2010-03-03','12' -'152','val_152','2010-03-03','12' -'348','val_348','2010-03-03','12' -'307','val_307','2010-03-03','12' -'194','val_194','2010-03-03','12' -'414','val_414','2010-03-03','12' -'477','val_477','2010-03-03','12' -'222','val_222','2010-03-03','12' -'126','val_126','2010-03-03','12' -'90','val_90','2010-03-03','12' -'169','val_169','2010-03-03','12' -'403','val_403','2010-03-03','12' -'400','val_400','2010-03-03','12' -'200','val_200','2010-03-03','12' -'97','val_97','2010-03-03','12' -'238','val_238','2010-03-03','12' -'86','val_86','2010-03-03','12' -'311','val_311','2010-03-03','12' -'27','val_27','2010-03-03','12' -'165','val_165','2010-03-03','12' -'409','val_409','2010-03-03','12' -'255','val_255','2010-03-03','12' -'278','val_278','2010-03-03','12' -'98','val_98','2010-03-03','12' -'484','val_484','2010-03-03','12' -'265','val_265','2010-03-03','12' -'193','val_193','2010-03-03','12' -'401','val_401','2010-03-03','12' -'150','val_150','2010-03-03','12' -'273','val_273','2010-03-03','12' -'224','val_224','2010-03-03','12' -'369','val_369','2010-03-03','12' -'66','val_66','2010-03-03','12' -'128','val_128','2010-03-03','12' -'213','val_213','2010-03-03','12' -'146','val_146','2010-03-03','12' -'406','val_406','2010-03-03','12' -'429','val_429','2010-03-03','12' -'374','val_374','2010-03-03','12' -'152','val_152','2010-03-03','12' -'469','val_469','2010-03-03','12' -'145','val_145','2010-03-03','12' -'495','val_495','2010-03-03','12' -'37','val_37','2010-03-03','12' -'327','val_327','2010-03-03','12' -'281','val_281','2010-03-03','12' -'277','val_277','2010-03-03','12' -'209','val_209','2010-03-03','12' -'15','val_15','2010-03-03','12' -'82','val_82','2010-03-03','12' -'403','val_403','2010-03-03','12' -'166','val_166','2010-03-03','12' -'417','val_417','2010-03-03','12' -'430','val_430','2010-03-03','12' -'252','val_252','2010-03-03','12' -'292','val_292','2010-03-03','12' -'219','val_219','2010-03-03','12' -'287','val_287','2010-03-03','12' -'153','val_153','2010-03-03','12' -'193','val_193','2010-03-03','12' -'338','val_338','2010-03-03','12' -'446','val_446','2010-03-03','12' -'459','val_459','2010-03-03','12' -'394','val_394','2010-03-03','12' -'237','val_237','2010-03-03','12' -'482','val_482','2010-03-03','12' -'174','val_174','2010-03-03','12' -'413','val_413','2010-03-03','12' -'494','val_494','2010-03-03','12' -'207','val_207','2010-03-03','12' -'199','val_199','2010-03-03','12' -'466','val_466','2010-03-03','12' -'208','val_208','2010-03-03','12' -'174','val_174','2010-03-03','12' -'399','val_399','2010-03-03','12' -'396','val_396','2010-03-03','12' -'247','val_247','2010-03-03','12' -'417','val_417','2010-03-03','12' -'489','val_489','2010-03-03','12' -'162','val_162','2010-03-03','12' -'377','val_377','2010-03-03','12' -'397','val_397','2010-03-03','12' -'309','val_309','2010-03-03','12' -'365','val_365','2010-03-03','12' -'266','val_266','2010-03-03','12' -'439','val_439','2010-03-03','12' -'342','val_342','2010-03-03','12' -'367','val_367','2010-03-03','12' -'325','val_325','2010-03-03','12' -'167','val_167','2010-03-03','12' -'195','val_195','2010-03-03','12' -'475','val_475','2010-03-03','12' -'17','val_17','2010-03-03','12' -'113','val_113','2010-03-03','12' -'155','val_155','2010-03-03','12' -'203','val_203','2010-03-03','12' -'339','val_339','2010-03-03','12' -'0','val_0','2010-03-03','12' -'455','val_455','2010-03-03','12' -'128','val_128','2010-03-03','12' -'311','val_311','2010-03-03','12' -'316','val_316','2010-03-03','12' -'57','val_57','2010-03-03','12' -'302','val_302','2010-03-03','12' -'205','val_205','2010-03-03','12' -'149','val_149','2010-03-03','12' -'438','val_438','2010-03-03','12' -'345','val_345','2010-03-03','12' -'129','val_129','2010-03-03','12' -'170','val_170','2010-03-03','12' -'20','val_20','2010-03-03','12' -'489','val_489','2010-03-03','12' -'157','val_157','2010-03-03','12' -'378','val_378','2010-03-03','12' -'221','val_221','2010-03-03','12' -'92','val_92','2010-03-03','12' -'111','val_111','2010-03-03','12' -'47','val_47','2010-03-03','12' -'72','val_72','2010-03-03','12' -'4','val_4','2010-03-03','12' -'280','val_280','2010-03-03','12' -'35','val_35','2010-03-03','12' -'427','val_427','2010-03-03','12' -'277','val_277','2010-03-03','12' -'208','val_208','2010-03-03','12' -'356','val_356','2010-03-03','12' -'399','val_399','2010-03-03','12' -'169','val_169','2010-03-03','12' -'382','val_382','2010-03-03','12' -'498','val_498','2010-03-03','12' -'125','val_125','2010-03-03','12' -'386','val_386','2010-03-03','12' -'437','val_437','2010-03-03','12' -'469','val_469','2010-03-03','12' -'192','val_192','2010-03-03','12' -'286','val_286','2010-03-03','12' -'187','val_187','2010-03-03','12' -'176','val_176','2010-03-03','12' -'54','val_54','2010-03-03','12' -'459','val_459','2010-03-03','12' -'51','val_51','2010-03-03','12' -'138','val_138','2010-03-03','12' -'103','val_103','2010-03-03','12' -'239','val_239','2010-03-03','12' -'213','val_213','2010-03-03','12' -'216','val_216','2010-03-03','12' -'430','val_430','2010-03-03','12' -'278','val_278','2010-03-03','12' -'176','val_176','2010-03-03','12' -'289','val_289','2010-03-03','12' -'221','val_221','2010-03-03','12' -'65','val_65','2010-03-03','12' -'318','val_318','2010-03-03','12' -'332','val_332','2010-03-03','12' -'311','val_311','2010-03-03','12' -'275','val_275','2010-03-03','12' -'137','val_137','2010-03-03','12' -'241','val_241','2010-03-03','12' -'83','val_83','2010-03-03','12' -'333','val_333','2010-03-03','12' -'180','val_180','2010-03-03','12' -'284','val_284','2010-03-03','12' -'12','val_12','2010-03-03','12' -'230','val_230','2010-03-03','12' -'181','val_181','2010-03-03','12' -'67','val_67','2010-03-03','12' -'260','val_260','2010-03-03','12' -'404','val_404','2010-03-03','12' -'384','val_384','2010-03-03','12' -'489','val_489','2010-03-03','12' -'353','val_353','2010-03-03','12' -'373','val_373','2010-03-03','12' -'272','val_272','2010-03-03','12' -'138','val_138','2010-03-03','12' -'217','val_217','2010-03-03','12' -'84','val_84','2010-03-03','12' -'348','val_348','2010-03-03','12' -'466','val_466','2010-03-03','12' -'58','val_58','2010-03-03','12' -'8','val_8','2010-03-03','12' -'411','val_411','2010-03-03','12' -'230','val_230','2010-03-03','12' -'208','val_208','2010-03-03','12' -'348','val_348','2010-03-03','12' -'24','val_24','2010-03-03','12' -'463','val_463','2010-03-03','12' -'431','val_431','2010-03-03','12' -'179','val_179','2010-03-03','12' -'172','val_172','2010-03-03','12' -'42','val_42','2010-03-03','12' -'129','val_129','2010-03-03','12' -'158','val_158','2010-03-03','12' -'119','val_119','2010-03-03','12' -'496','val_496','2010-03-03','12' -'0','val_0','2010-03-03','12' -'322','val_322','2010-03-03','12' -'197','val_197','2010-03-03','12' -'468','val_468','2010-03-03','12' -'393','val_393','2010-03-03','12' -'454','val_454','2010-03-03','12' -'100','val_100','2010-03-03','12' -'298','val_298','2010-03-03','12' -'199','val_199','2010-03-03','12' -'191','val_191','2010-03-03','12' -'418','val_418','2010-03-03','12' -'96','val_96','2010-03-03','12' -'26','val_26','2010-03-03','12' -'165','val_165','2010-03-03','12' -'327','val_327','2010-03-03','12' -'230','val_230','2010-03-03','12' -'205','val_205','2010-03-03','12' -'120','val_120','2010-03-03','12' -'131','val_131','2010-03-03','12' -'51','val_51','2010-03-03','12' -'404','val_404','2010-03-03','12' -'43','val_43','2010-03-03','12' -'436','val_436','2010-03-03','12' -'156','val_156','2010-03-03','12' -'469','val_469','2010-03-03','12' -'468','val_468','2010-03-03','12' -'308','val_308','2010-03-03','12' -'95','val_95','2010-03-03','12' -'196','val_196','2010-03-03','12' -'288','val_288','2010-03-03','12' -'481','val_481','2010-03-03','12' -'457','val_457','2010-03-03','12' -'98','val_98','2010-03-03','12' -'282','val_282','2010-03-03','12' -'197','val_197','2010-03-03','12' -'187','val_187','2010-03-03','12' -'318','val_318','2010-03-03','12' -'318','val_318','2010-03-03','12' -'409','val_409','2010-03-03','12' -'470','val_470','2010-03-03','12' -'137','val_137','2010-03-03','12' -'369','val_369','2010-03-03','12' -'316','val_316','2010-03-03','12' -'169','val_169','2010-03-03','12' -'413','val_413','2010-03-03','12' -'85','val_85','2010-03-03','12' -'77','val_77','2010-03-03','12' -'0','val_0','2010-03-03','12' -'490','val_490','2010-03-03','12' -'87','val_87','2010-03-03','12' -'364','val_364','2010-03-03','12' -'179','val_179','2010-03-03','12' -'118','val_118','2010-03-03','12' -'134','val_134','2010-03-03','12' -'395','val_395','2010-03-03','12' -'282','val_282','2010-03-03','12' -'138','val_138','2010-03-03','12' -'238','val_238','2010-03-03','12' -'419','val_419','2010-03-03','12' -'15','val_15','2010-03-03','12' -'118','val_118','2010-03-03','12' -'72','val_72','2010-03-03','12' -'90','val_90','2010-03-03','12' -'307','val_307','2010-03-03','12' -'19','val_19','2010-03-03','12' -'435','val_435','2010-03-03','12' -'10','val_10','2010-03-03','12' -'277','val_277','2010-03-03','12' -'273','val_273','2010-03-03','12' -'306','val_306','2010-03-03','12' -'224','val_224','2010-03-03','12' -'309','val_309','2010-03-03','12' -'389','val_389','2010-03-03','12' -'327','val_327','2010-03-03','12' -'242','val_242','2010-03-03','12' -'369','val_369','2010-03-03','12' -'392','val_392','2010-03-03','12' -'272','val_272','2010-03-03','12' -'331','val_331','2010-03-03','12' -'401','val_401','2010-03-03','12' -'242','val_242','2010-03-03','12' -'452','val_452','2010-03-03','12' -'177','val_177','2010-03-03','12' -'226','val_226','2010-03-03','12' -'5','val_5','2010-03-03','12' -'497','val_497','2010-03-03','12' -'402','val_402','2010-03-03','12' -'396','val_396','2010-03-03','12' -'317','val_317','2010-03-03','12' -'395','val_395','2010-03-03','12' -'58','val_58','2010-03-03','12' -'35','val_35','2010-03-03','12' -'336','val_336','2010-03-03','12' -'95','val_95','2010-03-03','12' -'11','val_11','2010-03-03','12' -'168','val_168','2010-03-03','12' -'34','val_34','2010-03-03','12' -'229','val_229','2010-03-03','12' -'233','val_233','2010-03-03','12' -'143','val_143','2010-03-03','12' -'472','val_472','2010-03-03','12' -'322','val_322','2010-03-03','12' -'498','val_498','2010-03-03','12' -'160','val_160','2010-03-03','12' -'195','val_195','2010-03-03','12' -'42','val_42','2010-03-03','12' -'321','val_321','2010-03-03','12' -'430','val_430','2010-03-03','12' -'119','val_119','2010-03-03','12' -'489','val_489','2010-03-03','12' -'458','val_458','2010-03-03','12' -'78','val_78','2010-03-03','12' -'76','val_76','2010-03-03','12' -'41','val_41','2010-03-03','12' -'223','val_223','2010-03-03','12' -'492','val_492','2010-03-03','12' -'149','val_149','2010-03-03','12' -'449','val_449','2010-03-03','12' -'218','val_218','2010-03-03','12' -'228','val_228','2010-03-03','12' -'138','val_138','2010-03-03','12' -'453','val_453','2010-03-03','12' -'30','val_30','2010-03-03','12' -'209','val_209','2010-03-03','12' -'64','val_64','2010-03-03','12' -'468','val_468','2010-03-03','12' -'76','val_76','2010-03-03','12' -'74','val_74','2010-03-03','12' -'342','val_342','2010-03-03','12' -'69','val_69','2010-03-03','12' -'230','val_230','2010-03-03','12' -'33','val_33','2010-03-03','12' -'368','val_368','2010-03-03','12' -'103','val_103','2010-03-03','12' -'296','val_296','2010-03-03','12' -'113','val_113','2010-03-03','12' -'216','val_216','2010-03-03','12' -'367','val_367','2010-03-03','12' -'344','val_344','2010-03-03','12' -'167','val_167','2010-03-03','12' -'274','val_274','2010-03-03','12' -'219','val_219','2010-03-03','12' -'239','val_239','2010-03-03','12' -'485','val_485','2010-03-03','12' -'116','val_116','2010-03-03','12' -'223','val_223','2010-03-03','12' -'256','val_256','2010-03-03','12' -'263','val_263','2010-03-03','12' -'70','val_70','2010-03-03','12' -'487','val_487','2010-03-03','12' -'480','val_480','2010-03-03','12' -'401','val_401','2010-03-03','12' -'288','val_288','2010-03-03','12' -'191','val_191','2010-03-03','12' -'5','val_5','2010-03-03','12' -'244','val_244','2010-03-03','12' -'438','val_438','2010-03-03','12' -'128','val_128','2010-03-03','12' -'467','val_467','2010-03-03','12' -'432','val_432','2010-03-03','12' -'202','val_202','2010-03-03','12' -'316','val_316','2010-03-03','12' -'229','val_229','2010-03-03','12' -'469','val_469','2010-03-03','12' -'463','val_463','2010-03-03','12' -'280','val_280','2010-03-03','12' -'2','val_2','2010-03-03','12' -'35','val_35','2010-03-03','12' -'283','val_283','2010-03-03','12' -'331','val_331','2010-03-03','12' -'235','val_235','2010-03-03','12' -'80','val_80','2010-03-03','12' -'44','val_44','2010-03-03','12' -'193','val_193','2010-03-03','12' -'321','val_321','2010-03-03','12' -'335','val_335','2010-03-03','12' -'104','val_104','2010-03-03','12' -'466','val_466','2010-03-03','12' -'366','val_366','2010-03-03','12' -'175','val_175','2010-03-03','12' -'403','val_403','2010-03-03','12' -'483','val_483','2010-03-03','12' -'53','val_53','2010-03-03','12' -'105','val_105','2010-03-03','12' -'257','val_257','2010-03-03','12' -'406','val_406','2010-03-03','12' -'409','val_409','2010-03-03','12' -'190','val_190','2010-03-03','12' -'406','val_406','2010-03-03','12' -'401','val_401','2010-03-03','12' -'114','val_114','2010-03-03','12' -'258','val_258','2010-03-03','12' -'90','val_90','2010-03-03','12' -'203','val_203','2010-03-03','12' -'262','val_262','2010-03-03','12' -'348','val_348','2010-03-03','12' -'424','val_424','2010-03-03','12' -'12','val_12','2010-03-03','12' -'396','val_396','2010-03-03','12' -'201','val_201','2010-03-03','12' -'217','val_217','2010-03-03','12' -'164','val_164','2010-03-03','12' -'431','val_431','2010-03-03','12' -'454','val_454','2010-03-03','12' -'478','val_478','2010-03-03','12' -'298','val_298','2010-03-03','12' -'125','val_125','2010-03-03','12' -'431','val_431','2010-03-03','12' -'164','val_164','2010-03-03','12' -'424','val_424','2010-03-03','12' -'187','val_187','2010-03-03','12' -'382','val_382','2010-03-03','12' -'5','val_5','2010-03-03','12' -'70','val_70','2010-03-03','12' -'397','val_397','2010-03-03','12' -'480','val_480','2010-03-03','12' -'291','val_291','2010-03-03','12' -'24','val_24','2010-03-03','12' -'351','val_351','2010-03-03','12' -'255','val_255','2010-03-03','12' -'104','val_104','2010-03-03','12' -'70','val_70','2010-03-03','12' -'163','val_163','2010-03-03','12' -'438','val_438','2010-03-03','12' -'119','val_119','2010-03-03','12' -'414','val_414','2010-03-03','12' -'200','val_200','2010-03-03','12' -'491','val_491','2010-03-03','12' -'237','val_237','2010-03-03','12' -'439','val_439','2010-03-03','12' -'360','val_360','2010-03-03','12' -'248','val_248','2010-03-03','12' -'479','val_479','2010-03-03','12' -'305','val_305','2010-03-03','12' -'417','val_417','2010-03-03','12' -'199','val_199','2010-03-03','12' -'444','val_444','2010-03-03','12' -'120','val_120','2010-03-03','12' -'429','val_429','2010-03-03','12' -'169','val_169','2010-03-03','12' -'443','val_443','2010-03-03','12' -'323','val_323','2010-03-03','12' -'325','val_325','2010-03-03','12' -'277','val_277','2010-03-03','12' -'230','val_230','2010-03-03','12' -'478','val_478','2010-03-03','12' -'178','val_178','2010-03-03','12' -'468','val_468','2010-03-03','12' -'310','val_310','2010-03-03','12' -'317','val_317','2010-03-03','12' -'333','val_333','2010-03-03','12' -'493','val_493','2010-03-03','12' -'460','val_460','2010-03-03','12' -'207','val_207','2010-03-03','12' -'249','val_249','2010-03-03','12' -'265','val_265','2010-03-03','12' -'480','val_480','2010-03-03','12' -'83','val_83','2010-03-03','12' -'136','val_136','2010-03-03','12' -'353','val_353','2010-03-03','12' -'172','val_172','2010-03-03','12' -'214','val_214','2010-03-03','12' -'462','val_462','2010-03-03','12' -'233','val_233','2010-03-03','12' -'406','val_406','2010-03-03','12' -'133','val_133','2010-03-03','12' -'175','val_175','2010-03-03','12' -'189','val_189','2010-03-03','12' -'454','val_454','2010-03-03','12' -'375','val_375','2010-03-03','12' -'401','val_401','2010-03-03','12' -'421','val_421','2010-03-03','12' -'407','val_407','2010-03-03','12' -'384','val_384','2010-03-03','12' -'256','val_256','2010-03-03','12' -'26','val_26','2010-03-03','12' -'134','val_134','2010-03-03','12' -'67','val_67','2010-03-03','12' -'384','val_384','2010-03-03','12' -'379','val_379','2010-03-03','12' -'18','val_18','2010-03-03','12' -'462','val_462','2010-03-03','12' -'492','val_492','2010-03-03','12' -'100','val_100','2010-03-03','12' -'298','val_298','2010-03-03','12' -'9','val_9','2010-03-03','12' -'341','val_341','2010-03-03','12' -'498','val_498','2010-03-03','12' -'146','val_146','2010-03-03','12' -'458','val_458','2010-03-03','12' -'362','val_362','2010-03-03','12' -'186','val_186','2010-03-03','12' -'285','val_285','2010-03-03','12' -'348','val_348','2010-03-03','12' -'167','val_167','2010-03-03','12' -'18','val_18','2010-03-03','12' -'273','val_273','2010-03-03','12' -'183','val_183','2010-03-03','12' -'281','val_281','2010-03-03','12' -'344','val_344','2010-03-03','12' -'97','val_97','2010-03-03','12' -'469','val_469','2010-03-03','12' -'315','val_315','2010-03-03','12' -'84','val_84','2010-03-03','12' -'28','val_28','2010-03-03','12' -'37','val_37','2010-03-03','12' -'448','val_448','2010-03-03','12' -'152','val_152','2010-03-03','12' -'348','val_348','2010-03-03','12' -'307','val_307','2010-03-03','12' -'194','val_194','2010-03-03','12' -'414','val_414','2010-03-03','12' -'477','val_477','2010-03-03','12' -'222','val_222','2010-03-03','12' -'126','val_126','2010-03-03','12' -'90','val_90','2010-03-03','12' -'169','val_169','2010-03-03','12' -'403','val_403','2010-03-03','12' -'400','val_400','2010-03-03','12' -'200','val_200','2010-03-03','12' -'97','val_97','2010-03-03','12' -1,000 rows selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/load_dyn_part12.q.out ql/src/test/results/beelinepositive/load_dyn_part12.q.out deleted file mode 100644 index e0975cb..0000000 --- ql/src/test/results/beelinepositive/load_dyn_part12.q.out +++ /dev/null @@ -1,2048 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/load_dyn_part12.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/load_dyn_part12.q ->>> show partitions srcpart; -'partition' -'ds=2008-04-08/hr=11' -'ds=2008-04-08/hr=12' -'ds=2008-04-09/hr=11' -'ds=2008-04-09/hr=12' -4 rows selected ->>> ->>> ->>> ->>> create table if not exists nzhang_part12 like srcpart; -No rows affected ->>> describe extended nzhang_part12; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'ds','string','' -'hr','string','' -'','','' -'Detailed Table Information','Table(tableName:nzhang_part12, dbName:load_dyn_part12, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:hr, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/load_dyn_part12.db/nzhang_part12, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:hr, type:string, comment:null)], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -6 rows selected ->>> ->>> set hive.merge.mapfiles=false; -No rows affected ->>> set hive.merge.mapredfiles=false; -No rows affected ->>> set hive.exec.dynamic.partition=true; -No rows affected ->>> ->>> ->>> insert overwrite table nzhang_part12 partition (ds="2010-03-03", hr) select key, value, cast(hr*2 as int) from srcpart where ds is not null and hr is not null; -'key','value','_c2' -No rows selected ->>> ->>> show partitions nzhang_part12; -'partition' -'ds=2010-03-03/hr=22' -'ds=2010-03-03/hr=24' -2 rows selected ->>> ->>> select * from nzhang_part12 where ds is not null and hr is not null; -'key','value','ds','hr' -'238','val_238','2010-03-03','22' -'86','val_86','2010-03-03','22' -'311','val_311','2010-03-03','22' -'27','val_27','2010-03-03','22' -'165','val_165','2010-03-03','22' -'409','val_409','2010-03-03','22' -'255','val_255','2010-03-03','22' -'278','val_278','2010-03-03','22' -'98','val_98','2010-03-03','22' -'484','val_484','2010-03-03','22' -'265','val_265','2010-03-03','22' -'193','val_193','2010-03-03','22' -'401','val_401','2010-03-03','22' -'150','val_150','2010-03-03','22' -'273','val_273','2010-03-03','22' -'224','val_224','2010-03-03','22' -'369','val_369','2010-03-03','22' -'66','val_66','2010-03-03','22' -'128','val_128','2010-03-03','22' -'213','val_213','2010-03-03','22' -'146','val_146','2010-03-03','22' -'406','val_406','2010-03-03','22' -'429','val_429','2010-03-03','22' -'374','val_374','2010-03-03','22' -'152','val_152','2010-03-03','22' -'469','val_469','2010-03-03','22' -'145','val_145','2010-03-03','22' -'495','val_495','2010-03-03','22' -'37','val_37','2010-03-03','22' -'327','val_327','2010-03-03','22' -'281','val_281','2010-03-03','22' -'277','val_277','2010-03-03','22' -'209','val_209','2010-03-03','22' -'15','val_15','2010-03-03','22' -'82','val_82','2010-03-03','22' -'403','val_403','2010-03-03','22' -'166','val_166','2010-03-03','22' -'417','val_417','2010-03-03','22' -'430','val_430','2010-03-03','22' -'252','val_252','2010-03-03','22' -'292','val_292','2010-03-03','22' -'219','val_219','2010-03-03','22' -'287','val_287','2010-03-03','22' -'153','val_153','2010-03-03','22' -'193','val_193','2010-03-03','22' -'338','val_338','2010-03-03','22' -'446','val_446','2010-03-03','22' -'459','val_459','2010-03-03','22' -'394','val_394','2010-03-03','22' -'237','val_237','2010-03-03','22' -'482','val_482','2010-03-03','22' -'174','val_174','2010-03-03','22' -'413','val_413','2010-03-03','22' -'494','val_494','2010-03-03','22' -'207','val_207','2010-03-03','22' -'199','val_199','2010-03-03','22' -'466','val_466','2010-03-03','22' -'208','val_208','2010-03-03','22' -'174','val_174','2010-03-03','22' -'399','val_399','2010-03-03','22' -'396','val_396','2010-03-03','22' -'247','val_247','2010-03-03','22' -'417','val_417','2010-03-03','22' -'489','val_489','2010-03-03','22' -'162','val_162','2010-03-03','22' -'377','val_377','2010-03-03','22' -'397','val_397','2010-03-03','22' -'309','val_309','2010-03-03','22' -'365','val_365','2010-03-03','22' -'266','val_266','2010-03-03','22' -'439','val_439','2010-03-03','22' -'342','val_342','2010-03-03','22' -'367','val_367','2010-03-03','22' -'325','val_325','2010-03-03','22' -'167','val_167','2010-03-03','22' -'195','val_195','2010-03-03','22' -'475','val_475','2010-03-03','22' -'17','val_17','2010-03-03','22' -'113','val_113','2010-03-03','22' -'155','val_155','2010-03-03','22' -'203','val_203','2010-03-03','22' -'339','val_339','2010-03-03','22' -'0','val_0','2010-03-03','22' -'455','val_455','2010-03-03','22' -'128','val_128','2010-03-03','22' -'311','val_311','2010-03-03','22' -'316','val_316','2010-03-03','22' -'57','val_57','2010-03-03','22' -'302','val_302','2010-03-03','22' -'205','val_205','2010-03-03','22' -'149','val_149','2010-03-03','22' -'438','val_438','2010-03-03','22' -'345','val_345','2010-03-03','22' -'129','val_129','2010-03-03','22' -'170','val_170','2010-03-03','22' -'20','val_20','2010-03-03','22' -'489','val_489','2010-03-03','22' -'157','val_157','2010-03-03','22' -'378','val_378','2010-03-03','22' -'221','val_221','2010-03-03','22' -'92','val_92','2010-03-03','22' -'111','val_111','2010-03-03','22' -'47','val_47','2010-03-03','22' -'72','val_72','2010-03-03','22' -'4','val_4','2010-03-03','22' -'280','val_280','2010-03-03','22' -'35','val_35','2010-03-03','22' -'427','val_427','2010-03-03','22' -'277','val_277','2010-03-03','22' -'208','val_208','2010-03-03','22' -'356','val_356','2010-03-03','22' -'399','val_399','2010-03-03','22' -'169','val_169','2010-03-03','22' -'382','val_382','2010-03-03','22' -'498','val_498','2010-03-03','22' -'125','val_125','2010-03-03','22' -'386','val_386','2010-03-03','22' -'437','val_437','2010-03-03','22' -'469','val_469','2010-03-03','22' -'192','val_192','2010-03-03','22' -'286','val_286','2010-03-03','22' -'187','val_187','2010-03-03','22' -'176','val_176','2010-03-03','22' -'54','val_54','2010-03-03','22' -'459','val_459','2010-03-03','22' -'51','val_51','2010-03-03','22' -'138','val_138','2010-03-03','22' -'103','val_103','2010-03-03','22' -'239','val_239','2010-03-03','22' -'213','val_213','2010-03-03','22' -'216','val_216','2010-03-03','22' -'430','val_430','2010-03-03','22' -'278','val_278','2010-03-03','22' -'176','val_176','2010-03-03','22' -'289','val_289','2010-03-03','22' -'221','val_221','2010-03-03','22' -'65','val_65','2010-03-03','22' -'318','val_318','2010-03-03','22' -'332','val_332','2010-03-03','22' -'311','val_311','2010-03-03','22' -'275','val_275','2010-03-03','22' -'137','val_137','2010-03-03','22' -'241','val_241','2010-03-03','22' -'83','val_83','2010-03-03','22' -'333','val_333','2010-03-03','22' -'180','val_180','2010-03-03','22' -'284','val_284','2010-03-03','22' -'12','val_12','2010-03-03','22' -'230','val_230','2010-03-03','22' -'181','val_181','2010-03-03','22' -'67','val_67','2010-03-03','22' -'260','val_260','2010-03-03','22' -'404','val_404','2010-03-03','22' -'384','val_384','2010-03-03','22' -'489','val_489','2010-03-03','22' -'353','val_353','2010-03-03','22' -'373','val_373','2010-03-03','22' -'272','val_272','2010-03-03','22' -'138','val_138','2010-03-03','22' -'217','val_217','2010-03-03','22' -'84','val_84','2010-03-03','22' -'348','val_348','2010-03-03','22' -'466','val_466','2010-03-03','22' -'58','val_58','2010-03-03','22' -'8','val_8','2010-03-03','22' -'411','val_411','2010-03-03','22' -'230','val_230','2010-03-03','22' -'208','val_208','2010-03-03','22' -'348','val_348','2010-03-03','22' -'24','val_24','2010-03-03','22' -'463','val_463','2010-03-03','22' -'431','val_431','2010-03-03','22' -'179','val_179','2010-03-03','22' -'172','val_172','2010-03-03','22' -'42','val_42','2010-03-03','22' -'129','val_129','2010-03-03','22' -'158','val_158','2010-03-03','22' -'119','val_119','2010-03-03','22' -'496','val_496','2010-03-03','22' -'0','val_0','2010-03-03','22' -'322','val_322','2010-03-03','22' -'197','val_197','2010-03-03','22' -'468','val_468','2010-03-03','22' -'393','val_393','2010-03-03','22' -'454','val_454','2010-03-03','22' -'100','val_100','2010-03-03','22' -'298','val_298','2010-03-03','22' -'199','val_199','2010-03-03','22' -'191','val_191','2010-03-03','22' -'418','val_418','2010-03-03','22' -'96','val_96','2010-03-03','22' -'26','val_26','2010-03-03','22' -'165','val_165','2010-03-03','22' -'327','val_327','2010-03-03','22' -'230','val_230','2010-03-03','22' -'205','val_205','2010-03-03','22' -'120','val_120','2010-03-03','22' -'131','val_131','2010-03-03','22' -'51','val_51','2010-03-03','22' -'404','val_404','2010-03-03','22' -'43','val_43','2010-03-03','22' -'436','val_436','2010-03-03','22' -'156','val_156','2010-03-03','22' -'469','val_469','2010-03-03','22' -'468','val_468','2010-03-03','22' -'308','val_308','2010-03-03','22' -'95','val_95','2010-03-03','22' -'196','val_196','2010-03-03','22' -'288','val_288','2010-03-03','22' -'481','val_481','2010-03-03','22' -'457','val_457','2010-03-03','22' -'98','val_98','2010-03-03','22' -'282','val_282','2010-03-03','22' -'197','val_197','2010-03-03','22' -'187','val_187','2010-03-03','22' -'318','val_318','2010-03-03','22' -'318','val_318','2010-03-03','22' -'409','val_409','2010-03-03','22' -'470','val_470','2010-03-03','22' -'137','val_137','2010-03-03','22' -'369','val_369','2010-03-03','22' -'316','val_316','2010-03-03','22' -'169','val_169','2010-03-03','22' -'413','val_413','2010-03-03','22' -'85','val_85','2010-03-03','22' -'77','val_77','2010-03-03','22' -'0','val_0','2010-03-03','22' -'490','val_490','2010-03-03','22' -'87','val_87','2010-03-03','22' -'364','val_364','2010-03-03','22' -'179','val_179','2010-03-03','22' -'118','val_118','2010-03-03','22' -'134','val_134','2010-03-03','22' -'395','val_395','2010-03-03','22' -'282','val_282','2010-03-03','22' -'138','val_138','2010-03-03','22' -'238','val_238','2010-03-03','22' -'419','val_419','2010-03-03','22' -'15','val_15','2010-03-03','22' -'118','val_118','2010-03-03','22' -'72','val_72','2010-03-03','22' -'90','val_90','2010-03-03','22' -'307','val_307','2010-03-03','22' -'19','val_19','2010-03-03','22' -'435','val_435','2010-03-03','22' -'10','val_10','2010-03-03','22' -'277','val_277','2010-03-03','22' -'273','val_273','2010-03-03','22' -'306','val_306','2010-03-03','22' -'224','val_224','2010-03-03','22' -'309','val_309','2010-03-03','22' -'389','val_389','2010-03-03','22' -'327','val_327','2010-03-03','22' -'242','val_242','2010-03-03','22' -'369','val_369','2010-03-03','22' -'392','val_392','2010-03-03','22' -'272','val_272','2010-03-03','22' -'331','val_331','2010-03-03','22' -'401','val_401','2010-03-03','22' -'242','val_242','2010-03-03','22' -'452','val_452','2010-03-03','22' -'177','val_177','2010-03-03','22' -'226','val_226','2010-03-03','22' -'5','val_5','2010-03-03','22' -'497','val_497','2010-03-03','22' -'402','val_402','2010-03-03','22' -'396','val_396','2010-03-03','22' -'317','val_317','2010-03-03','22' -'395','val_395','2010-03-03','22' -'58','val_58','2010-03-03','22' -'35','val_35','2010-03-03','22' -'336','val_336','2010-03-03','22' -'95','val_95','2010-03-03','22' -'11','val_11','2010-03-03','22' -'168','val_168','2010-03-03','22' -'34','val_34','2010-03-03','22' -'229','val_229','2010-03-03','22' -'233','val_233','2010-03-03','22' -'143','val_143','2010-03-03','22' -'472','val_472','2010-03-03','22' -'322','val_322','2010-03-03','22' -'498','val_498','2010-03-03','22' -'160','val_160','2010-03-03','22' -'195','val_195','2010-03-03','22' -'42','val_42','2010-03-03','22' -'321','val_321','2010-03-03','22' -'430','val_430','2010-03-03','22' -'119','val_119','2010-03-03','22' -'489','val_489','2010-03-03','22' -'458','val_458','2010-03-03','22' -'78','val_78','2010-03-03','22' -'76','val_76','2010-03-03','22' -'41','val_41','2010-03-03','22' -'223','val_223','2010-03-03','22' -'492','val_492','2010-03-03','22' -'149','val_149','2010-03-03','22' -'449','val_449','2010-03-03','22' -'218','val_218','2010-03-03','22' -'228','val_228','2010-03-03','22' -'138','val_138','2010-03-03','22' -'453','val_453','2010-03-03','22' -'30','val_30','2010-03-03','22' -'209','val_209','2010-03-03','22' -'64','val_64','2010-03-03','22' -'468','val_468','2010-03-03','22' -'76','val_76','2010-03-03','22' -'74','val_74','2010-03-03','22' -'342','val_342','2010-03-03','22' -'69','val_69','2010-03-03','22' -'230','val_230','2010-03-03','22' -'33','val_33','2010-03-03','22' -'368','val_368','2010-03-03','22' -'103','val_103','2010-03-03','22' -'296','val_296','2010-03-03','22' -'113','val_113','2010-03-03','22' -'216','val_216','2010-03-03','22' -'367','val_367','2010-03-03','22' -'344','val_344','2010-03-03','22' -'167','val_167','2010-03-03','22' -'274','val_274','2010-03-03','22' -'219','val_219','2010-03-03','22' -'239','val_239','2010-03-03','22' -'485','val_485','2010-03-03','22' -'116','val_116','2010-03-03','22' -'223','val_223','2010-03-03','22' -'256','val_256','2010-03-03','22' -'263','val_263','2010-03-03','22' -'70','val_70','2010-03-03','22' -'487','val_487','2010-03-03','22' -'480','val_480','2010-03-03','22' -'401','val_401','2010-03-03','22' -'288','val_288','2010-03-03','22' -'191','val_191','2010-03-03','22' -'5','val_5','2010-03-03','22' -'244','val_244','2010-03-03','22' -'438','val_438','2010-03-03','22' -'128','val_128','2010-03-03','22' -'467','val_467','2010-03-03','22' -'432','val_432','2010-03-03','22' -'202','val_202','2010-03-03','22' -'316','val_316','2010-03-03','22' -'229','val_229','2010-03-03','22' -'469','val_469','2010-03-03','22' -'463','val_463','2010-03-03','22' -'280','val_280','2010-03-03','22' -'2','val_2','2010-03-03','22' -'35','val_35','2010-03-03','22' -'283','val_283','2010-03-03','22' -'331','val_331','2010-03-03','22' -'235','val_235','2010-03-03','22' -'80','val_80','2010-03-03','22' -'44','val_44','2010-03-03','22' -'193','val_193','2010-03-03','22' -'321','val_321','2010-03-03','22' -'335','val_335','2010-03-03','22' -'104','val_104','2010-03-03','22' -'466','val_466','2010-03-03','22' -'366','val_366','2010-03-03','22' -'175','val_175','2010-03-03','22' -'403','val_403','2010-03-03','22' -'483','val_483','2010-03-03','22' -'53','val_53','2010-03-03','22' -'105','val_105','2010-03-03','22' -'257','val_257','2010-03-03','22' -'406','val_406','2010-03-03','22' -'409','val_409','2010-03-03','22' -'190','val_190','2010-03-03','22' -'406','val_406','2010-03-03','22' -'401','val_401','2010-03-03','22' -'114','val_114','2010-03-03','22' -'258','val_258','2010-03-03','22' -'90','val_90','2010-03-03','22' -'203','val_203','2010-03-03','22' -'262','val_262','2010-03-03','22' -'348','val_348','2010-03-03','22' -'424','val_424','2010-03-03','22' -'12','val_12','2010-03-03','22' -'396','val_396','2010-03-03','22' -'201','val_201','2010-03-03','22' -'217','val_217','2010-03-03','22' -'164','val_164','2010-03-03','22' -'431','val_431','2010-03-03','22' -'454','val_454','2010-03-03','22' -'478','val_478','2010-03-03','22' -'298','val_298','2010-03-03','22' -'125','val_125','2010-03-03','22' -'431','val_431','2010-03-03','22' -'164','val_164','2010-03-03','22' -'424','val_424','2010-03-03','22' -'187','val_187','2010-03-03','22' -'382','val_382','2010-03-03','22' -'5','val_5','2010-03-03','22' -'70','val_70','2010-03-03','22' -'397','val_397','2010-03-03','22' -'480','val_480','2010-03-03','22' -'291','val_291','2010-03-03','22' -'24','val_24','2010-03-03','22' -'351','val_351','2010-03-03','22' -'255','val_255','2010-03-03','22' -'104','val_104','2010-03-03','22' -'70','val_70','2010-03-03','22' -'163','val_163','2010-03-03','22' -'438','val_438','2010-03-03','22' -'119','val_119','2010-03-03','22' -'414','val_414','2010-03-03','22' -'200','val_200','2010-03-03','22' -'491','val_491','2010-03-03','22' -'237','val_237','2010-03-03','22' -'439','val_439','2010-03-03','22' -'360','val_360','2010-03-03','22' -'248','val_248','2010-03-03','22' -'479','val_479','2010-03-03','22' -'305','val_305','2010-03-03','22' -'417','val_417','2010-03-03','22' -'199','val_199','2010-03-03','22' -'444','val_444','2010-03-03','22' -'120','val_120','2010-03-03','22' -'429','val_429','2010-03-03','22' -'169','val_169','2010-03-03','22' -'443','val_443','2010-03-03','22' -'323','val_323','2010-03-03','22' -'325','val_325','2010-03-03','22' -'277','val_277','2010-03-03','22' -'230','val_230','2010-03-03','22' -'478','val_478','2010-03-03','22' -'178','val_178','2010-03-03','22' -'468','val_468','2010-03-03','22' -'310','val_310','2010-03-03','22' -'317','val_317','2010-03-03','22' -'333','val_333','2010-03-03','22' -'493','val_493','2010-03-03','22' -'460','val_460','2010-03-03','22' -'207','val_207','2010-03-03','22' -'249','val_249','2010-03-03','22' -'265','val_265','2010-03-03','22' -'480','val_480','2010-03-03','22' -'83','val_83','2010-03-03','22' -'136','val_136','2010-03-03','22' -'353','val_353','2010-03-03','22' -'172','val_172','2010-03-03','22' -'214','val_214','2010-03-03','22' -'462','val_462','2010-03-03','22' -'233','val_233','2010-03-03','22' -'406','val_406','2010-03-03','22' -'133','val_133','2010-03-03','22' -'175','val_175','2010-03-03','22' -'189','val_189','2010-03-03','22' -'454','val_454','2010-03-03','22' -'375','val_375','2010-03-03','22' -'401','val_401','2010-03-03','22' -'421','val_421','2010-03-03','22' -'407','val_407','2010-03-03','22' -'384','val_384','2010-03-03','22' -'256','val_256','2010-03-03','22' -'26','val_26','2010-03-03','22' -'134','val_134','2010-03-03','22' -'67','val_67','2010-03-03','22' -'384','val_384','2010-03-03','22' -'379','val_379','2010-03-03','22' -'18','val_18','2010-03-03','22' -'462','val_462','2010-03-03','22' -'492','val_492','2010-03-03','22' -'100','val_100','2010-03-03','22' -'298','val_298','2010-03-03','22' -'9','val_9','2010-03-03','22' -'341','val_341','2010-03-03','22' -'498','val_498','2010-03-03','22' -'146','val_146','2010-03-03','22' -'458','val_458','2010-03-03','22' -'362','val_362','2010-03-03','22' -'186','val_186','2010-03-03','22' -'285','val_285','2010-03-03','22' -'348','val_348','2010-03-03','22' -'167','val_167','2010-03-03','22' -'18','val_18','2010-03-03','22' -'273','val_273','2010-03-03','22' -'183','val_183','2010-03-03','22' -'281','val_281','2010-03-03','22' -'344','val_344','2010-03-03','22' -'97','val_97','2010-03-03','22' -'469','val_469','2010-03-03','22' -'315','val_315','2010-03-03','22' -'84','val_84','2010-03-03','22' -'28','val_28','2010-03-03','22' -'37','val_37','2010-03-03','22' -'448','val_448','2010-03-03','22' -'152','val_152','2010-03-03','22' -'348','val_348','2010-03-03','22' -'307','val_307','2010-03-03','22' -'194','val_194','2010-03-03','22' -'414','val_414','2010-03-03','22' -'477','val_477','2010-03-03','22' -'222','val_222','2010-03-03','22' -'126','val_126','2010-03-03','22' -'90','val_90','2010-03-03','22' -'169','val_169','2010-03-03','22' -'403','val_403','2010-03-03','22' -'400','val_400','2010-03-03','22' -'200','val_200','2010-03-03','22' -'97','val_97','2010-03-03','22' -'238','val_238','2010-03-03','22' -'86','val_86','2010-03-03','22' -'311','val_311','2010-03-03','22' -'27','val_27','2010-03-03','22' -'165','val_165','2010-03-03','22' -'409','val_409','2010-03-03','22' -'255','val_255','2010-03-03','22' -'278','val_278','2010-03-03','22' -'98','val_98','2010-03-03','22' -'484','val_484','2010-03-03','22' -'265','val_265','2010-03-03','22' -'193','val_193','2010-03-03','22' -'401','val_401','2010-03-03','22' -'150','val_150','2010-03-03','22' -'273','val_273','2010-03-03','22' -'224','val_224','2010-03-03','22' -'369','val_369','2010-03-03','22' -'66','val_66','2010-03-03','22' -'128','val_128','2010-03-03','22' -'213','val_213','2010-03-03','22' -'146','val_146','2010-03-03','22' -'406','val_406','2010-03-03','22' -'429','val_429','2010-03-03','22' -'374','val_374','2010-03-03','22' -'152','val_152','2010-03-03','22' -'469','val_469','2010-03-03','22' -'145','val_145','2010-03-03','22' -'495','val_495','2010-03-03','22' -'37','val_37','2010-03-03','22' -'327','val_327','2010-03-03','22' -'281','val_281','2010-03-03','22' -'277','val_277','2010-03-03','22' -'209','val_209','2010-03-03','22' -'15','val_15','2010-03-03','22' -'82','val_82','2010-03-03','22' -'403','val_403','2010-03-03','22' -'166','val_166','2010-03-03','22' -'417','val_417','2010-03-03','22' -'430','val_430','2010-03-03','22' -'252','val_252','2010-03-03','22' -'292','val_292','2010-03-03','22' -'219','val_219','2010-03-03','22' -'287','val_287','2010-03-03','22' -'153','val_153','2010-03-03','22' -'193','val_193','2010-03-03','22' -'338','val_338','2010-03-03','22' -'446','val_446','2010-03-03','22' -'459','val_459','2010-03-03','22' -'394','val_394','2010-03-03','22' -'237','val_237','2010-03-03','22' -'482','val_482','2010-03-03','22' -'174','val_174','2010-03-03','22' -'413','val_413','2010-03-03','22' -'494','val_494','2010-03-03','22' -'207','val_207','2010-03-03','22' -'199','val_199','2010-03-03','22' -'466','val_466','2010-03-03','22' -'208','val_208','2010-03-03','22' -'174','val_174','2010-03-03','22' -'399','val_399','2010-03-03','22' -'396','val_396','2010-03-03','22' -'247','val_247','2010-03-03','22' -'417','val_417','2010-03-03','22' -'489','val_489','2010-03-03','22' -'162','val_162','2010-03-03','22' -'377','val_377','2010-03-03','22' -'397','val_397','2010-03-03','22' -'309','val_309','2010-03-03','22' -'365','val_365','2010-03-03','22' -'266','val_266','2010-03-03','22' -'439','val_439','2010-03-03','22' -'342','val_342','2010-03-03','22' -'367','val_367','2010-03-03','22' -'325','val_325','2010-03-03','22' -'167','val_167','2010-03-03','22' -'195','val_195','2010-03-03','22' -'475','val_475','2010-03-03','22' -'17','val_17','2010-03-03','22' -'113','val_113','2010-03-03','22' -'155','val_155','2010-03-03','22' -'203','val_203','2010-03-03','22' -'339','val_339','2010-03-03','22' -'0','val_0','2010-03-03','22' -'455','val_455','2010-03-03','22' -'128','val_128','2010-03-03','22' -'311','val_311','2010-03-03','22' -'316','val_316','2010-03-03','22' -'57','val_57','2010-03-03','22' -'302','val_302','2010-03-03','22' -'205','val_205','2010-03-03','22' -'149','val_149','2010-03-03','22' -'438','val_438','2010-03-03','22' -'345','val_345','2010-03-03','22' -'129','val_129','2010-03-03','22' -'170','val_170','2010-03-03','22' -'20','val_20','2010-03-03','22' -'489','val_489','2010-03-03','22' -'157','val_157','2010-03-03','22' -'378','val_378','2010-03-03','22' -'221','val_221','2010-03-03','22' -'92','val_92','2010-03-03','22' -'111','val_111','2010-03-03','22' -'47','val_47','2010-03-03','22' -'72','val_72','2010-03-03','22' -'4','val_4','2010-03-03','22' -'280','val_280','2010-03-03','22' -'35','val_35','2010-03-03','22' -'427','val_427','2010-03-03','22' -'277','val_277','2010-03-03','22' -'208','val_208','2010-03-03','22' -'356','val_356','2010-03-03','22' -'399','val_399','2010-03-03','22' -'169','val_169','2010-03-03','22' -'382','val_382','2010-03-03','22' -'498','val_498','2010-03-03','22' -'125','val_125','2010-03-03','22' -'386','val_386','2010-03-03','22' -'437','val_437','2010-03-03','22' -'469','val_469','2010-03-03','22' -'192','val_192','2010-03-03','22' -'286','val_286','2010-03-03','22' -'187','val_187','2010-03-03','22' -'176','val_176','2010-03-03','22' -'54','val_54','2010-03-03','22' -'459','val_459','2010-03-03','22' -'51','val_51','2010-03-03','22' -'138','val_138','2010-03-03','22' -'103','val_103','2010-03-03','22' -'239','val_239','2010-03-03','22' -'213','val_213','2010-03-03','22' -'216','val_216','2010-03-03','22' -'430','val_430','2010-03-03','22' -'278','val_278','2010-03-03','22' -'176','val_176','2010-03-03','22' -'289','val_289','2010-03-03','22' -'221','val_221','2010-03-03','22' -'65','val_65','2010-03-03','22' -'318','val_318','2010-03-03','22' -'332','val_332','2010-03-03','22' -'311','val_311','2010-03-03','22' -'275','val_275','2010-03-03','22' -'137','val_137','2010-03-03','22' -'241','val_241','2010-03-03','22' -'83','val_83','2010-03-03','22' -'333','val_333','2010-03-03','22' -'180','val_180','2010-03-03','22' -'284','val_284','2010-03-03','22' -'12','val_12','2010-03-03','22' -'230','val_230','2010-03-03','22' -'181','val_181','2010-03-03','22' -'67','val_67','2010-03-03','22' -'260','val_260','2010-03-03','22' -'404','val_404','2010-03-03','22' -'384','val_384','2010-03-03','22' -'489','val_489','2010-03-03','22' -'353','val_353','2010-03-03','22' -'373','val_373','2010-03-03','22' -'272','val_272','2010-03-03','22' -'138','val_138','2010-03-03','22' -'217','val_217','2010-03-03','22' -'84','val_84','2010-03-03','22' -'348','val_348','2010-03-03','22' -'466','val_466','2010-03-03','22' -'58','val_58','2010-03-03','22' -'8','val_8','2010-03-03','22' -'411','val_411','2010-03-03','22' -'230','val_230','2010-03-03','22' -'208','val_208','2010-03-03','22' -'348','val_348','2010-03-03','22' -'24','val_24','2010-03-03','22' -'463','val_463','2010-03-03','22' -'431','val_431','2010-03-03','22' -'179','val_179','2010-03-03','22' -'172','val_172','2010-03-03','22' -'42','val_42','2010-03-03','22' -'129','val_129','2010-03-03','22' -'158','val_158','2010-03-03','22' -'119','val_119','2010-03-03','22' -'496','val_496','2010-03-03','22' -'0','val_0','2010-03-03','22' -'322','val_322','2010-03-03','22' -'197','val_197','2010-03-03','22' -'468','val_468','2010-03-03','22' -'393','val_393','2010-03-03','22' -'454','val_454','2010-03-03','22' -'100','val_100','2010-03-03','22' -'298','val_298','2010-03-03','22' -'199','val_199','2010-03-03','22' -'191','val_191','2010-03-03','22' -'418','val_418','2010-03-03','22' -'96','val_96','2010-03-03','22' -'26','val_26','2010-03-03','22' -'165','val_165','2010-03-03','22' -'327','val_327','2010-03-03','22' -'230','val_230','2010-03-03','22' -'205','val_205','2010-03-03','22' -'120','val_120','2010-03-03','22' -'131','val_131','2010-03-03','22' -'51','val_51','2010-03-03','22' -'404','val_404','2010-03-03','22' -'43','val_43','2010-03-03','22' -'436','val_436','2010-03-03','22' -'156','val_156','2010-03-03','22' -'469','val_469','2010-03-03','22' -'468','val_468','2010-03-03','22' -'308','val_308','2010-03-03','22' -'95','val_95','2010-03-03','22' -'196','val_196','2010-03-03','22' -'288','val_288','2010-03-03','22' -'481','val_481','2010-03-03','22' -'457','val_457','2010-03-03','22' -'98','val_98','2010-03-03','22' -'282','val_282','2010-03-03','22' -'197','val_197','2010-03-03','22' -'187','val_187','2010-03-03','22' -'318','val_318','2010-03-03','22' -'318','val_318','2010-03-03','22' -'409','val_409','2010-03-03','22' -'470','val_470','2010-03-03','22' -'137','val_137','2010-03-03','22' -'369','val_369','2010-03-03','22' -'316','val_316','2010-03-03','22' -'169','val_169','2010-03-03','22' -'413','val_413','2010-03-03','22' -'85','val_85','2010-03-03','22' -'77','val_77','2010-03-03','22' -'0','val_0','2010-03-03','22' -'490','val_490','2010-03-03','22' -'87','val_87','2010-03-03','22' -'364','val_364','2010-03-03','22' -'179','val_179','2010-03-03','22' -'118','val_118','2010-03-03','22' -'134','val_134','2010-03-03','22' -'395','val_395','2010-03-03','22' -'282','val_282','2010-03-03','22' -'138','val_138','2010-03-03','22' -'238','val_238','2010-03-03','22' -'419','val_419','2010-03-03','22' -'15','val_15','2010-03-03','22' -'118','val_118','2010-03-03','22' -'72','val_72','2010-03-03','22' -'90','val_90','2010-03-03','22' -'307','val_307','2010-03-03','22' -'19','val_19','2010-03-03','22' -'435','val_435','2010-03-03','22' -'10','val_10','2010-03-03','22' -'277','val_277','2010-03-03','22' -'273','val_273','2010-03-03','22' -'306','val_306','2010-03-03','22' -'224','val_224','2010-03-03','22' -'309','val_309','2010-03-03','22' -'389','val_389','2010-03-03','22' -'327','val_327','2010-03-03','22' -'242','val_242','2010-03-03','22' -'369','val_369','2010-03-03','22' -'392','val_392','2010-03-03','22' -'272','val_272','2010-03-03','22' -'331','val_331','2010-03-03','22' -'401','val_401','2010-03-03','22' -'242','val_242','2010-03-03','22' -'452','val_452','2010-03-03','22' -'177','val_177','2010-03-03','22' -'226','val_226','2010-03-03','22' -'5','val_5','2010-03-03','22' -'497','val_497','2010-03-03','22' -'402','val_402','2010-03-03','22' -'396','val_396','2010-03-03','22' -'317','val_317','2010-03-03','22' -'395','val_395','2010-03-03','22' -'58','val_58','2010-03-03','22' -'35','val_35','2010-03-03','22' -'336','val_336','2010-03-03','22' -'95','val_95','2010-03-03','22' -'11','val_11','2010-03-03','22' -'168','val_168','2010-03-03','22' -'34','val_34','2010-03-03','22' -'229','val_229','2010-03-03','22' -'233','val_233','2010-03-03','22' -'143','val_143','2010-03-03','22' -'472','val_472','2010-03-03','22' -'322','val_322','2010-03-03','22' -'498','val_498','2010-03-03','22' -'160','val_160','2010-03-03','22' -'195','val_195','2010-03-03','22' -'42','val_42','2010-03-03','22' -'321','val_321','2010-03-03','22' -'430','val_430','2010-03-03','22' -'119','val_119','2010-03-03','22' -'489','val_489','2010-03-03','22' -'458','val_458','2010-03-03','22' -'78','val_78','2010-03-03','22' -'76','val_76','2010-03-03','22' -'41','val_41','2010-03-03','22' -'223','val_223','2010-03-03','22' -'492','val_492','2010-03-03','22' -'149','val_149','2010-03-03','22' -'449','val_449','2010-03-03','22' -'218','val_218','2010-03-03','22' -'228','val_228','2010-03-03','22' -'138','val_138','2010-03-03','22' -'453','val_453','2010-03-03','22' -'30','val_30','2010-03-03','22' -'209','val_209','2010-03-03','22' -'64','val_64','2010-03-03','22' -'468','val_468','2010-03-03','22' -'76','val_76','2010-03-03','22' -'74','val_74','2010-03-03','22' -'342','val_342','2010-03-03','22' -'69','val_69','2010-03-03','22' -'230','val_230','2010-03-03','22' -'33','val_33','2010-03-03','22' -'368','val_368','2010-03-03','22' -'103','val_103','2010-03-03','22' -'296','val_296','2010-03-03','22' -'113','val_113','2010-03-03','22' -'216','val_216','2010-03-03','22' -'367','val_367','2010-03-03','22' -'344','val_344','2010-03-03','22' -'167','val_167','2010-03-03','22' -'274','val_274','2010-03-03','22' -'219','val_219','2010-03-03','22' -'239','val_239','2010-03-03','22' -'485','val_485','2010-03-03','22' -'116','val_116','2010-03-03','22' -'223','val_223','2010-03-03','22' -'256','val_256','2010-03-03','22' -'263','val_263','2010-03-03','22' -'70','val_70','2010-03-03','22' -'487','val_487','2010-03-03','22' -'480','val_480','2010-03-03','22' -'401','val_401','2010-03-03','22' -'288','val_288','2010-03-03','22' -'191','val_191','2010-03-03','22' -'5','val_5','2010-03-03','22' -'244','val_244','2010-03-03','22' -'438','val_438','2010-03-03','22' -'128','val_128','2010-03-03','22' -'467','val_467','2010-03-03','22' -'432','val_432','2010-03-03','22' -'202','val_202','2010-03-03','22' -'316','val_316','2010-03-03','22' -'229','val_229','2010-03-03','22' -'469','val_469','2010-03-03','22' -'463','val_463','2010-03-03','22' -'280','val_280','2010-03-03','22' -'2','val_2','2010-03-03','22' -'35','val_35','2010-03-03','22' -'283','val_283','2010-03-03','22' -'331','val_331','2010-03-03','22' -'235','val_235','2010-03-03','22' -'80','val_80','2010-03-03','22' -'44','val_44','2010-03-03','22' -'193','val_193','2010-03-03','22' -'321','val_321','2010-03-03','22' -'335','val_335','2010-03-03','22' -'104','val_104','2010-03-03','22' -'466','val_466','2010-03-03','22' -'366','val_366','2010-03-03','22' -'175','val_175','2010-03-03','22' -'403','val_403','2010-03-03','22' -'483','val_483','2010-03-03','22' -'53','val_53','2010-03-03','22' -'105','val_105','2010-03-03','22' -'257','val_257','2010-03-03','22' -'406','val_406','2010-03-03','22' -'409','val_409','2010-03-03','22' -'190','val_190','2010-03-03','22' -'406','val_406','2010-03-03','22' -'401','val_401','2010-03-03','22' -'114','val_114','2010-03-03','22' -'258','val_258','2010-03-03','22' -'90','val_90','2010-03-03','22' -'203','val_203','2010-03-03','22' -'262','val_262','2010-03-03','22' -'348','val_348','2010-03-03','22' -'424','val_424','2010-03-03','22' -'12','val_12','2010-03-03','22' -'396','val_396','2010-03-03','22' -'201','val_201','2010-03-03','22' -'217','val_217','2010-03-03','22' -'164','val_164','2010-03-03','22' -'431','val_431','2010-03-03','22' -'454','val_454','2010-03-03','22' -'478','val_478','2010-03-03','22' -'298','val_298','2010-03-03','22' -'125','val_125','2010-03-03','22' -'431','val_431','2010-03-03','22' -'164','val_164','2010-03-03','22' -'424','val_424','2010-03-03','22' -'187','val_187','2010-03-03','22' -'382','val_382','2010-03-03','22' -'5','val_5','2010-03-03','22' -'70','val_70','2010-03-03','22' -'397','val_397','2010-03-03','22' -'480','val_480','2010-03-03','22' -'291','val_291','2010-03-03','22' -'24','val_24','2010-03-03','22' -'351','val_351','2010-03-03','22' -'255','val_255','2010-03-03','22' -'104','val_104','2010-03-03','22' -'70','val_70','2010-03-03','22' -'163','val_163','2010-03-03','22' -'438','val_438','2010-03-03','22' -'119','val_119','2010-03-03','22' -'414','val_414','2010-03-03','22' -'200','val_200','2010-03-03','22' -'491','val_491','2010-03-03','22' -'237','val_237','2010-03-03','22' -'439','val_439','2010-03-03','22' -'360','val_360','2010-03-03','22' -'248','val_248','2010-03-03','22' -'479','val_479','2010-03-03','22' -'305','val_305','2010-03-03','22' -'417','val_417','2010-03-03','22' -'199','val_199','2010-03-03','22' -'444','val_444','2010-03-03','22' -'120','val_120','2010-03-03','22' -'429','val_429','2010-03-03','22' -'169','val_169','2010-03-03','22' -'443','val_443','2010-03-03','22' -'323','val_323','2010-03-03','22' -'325','val_325','2010-03-03','22' -'277','val_277','2010-03-03','22' -'230','val_230','2010-03-03','22' -'478','val_478','2010-03-03','22' -'178','val_178','2010-03-03','22' -'468','val_468','2010-03-03','22' -'310','val_310','2010-03-03','22' -'317','val_317','2010-03-03','22' -'333','val_333','2010-03-03','22' -'493','val_493','2010-03-03','22' -'460','val_460','2010-03-03','22' -'207','val_207','2010-03-03','22' -'249','val_249','2010-03-03','22' -'265','val_265','2010-03-03','22' -'480','val_480','2010-03-03','22' -'83','val_83','2010-03-03','22' -'136','val_136','2010-03-03','22' -'353','val_353','2010-03-03','22' -'172','val_172','2010-03-03','22' -'214','val_214','2010-03-03','22' -'462','val_462','2010-03-03','22' -'233','val_233','2010-03-03','22' -'406','val_406','2010-03-03','22' -'133','val_133','2010-03-03','22' -'175','val_175','2010-03-03','22' -'189','val_189','2010-03-03','22' -'454','val_454','2010-03-03','22' -'375','val_375','2010-03-03','22' -'401','val_401','2010-03-03','22' -'421','val_421','2010-03-03','22' -'407','val_407','2010-03-03','22' -'384','val_384','2010-03-03','22' -'256','val_256','2010-03-03','22' -'26','val_26','2010-03-03','22' -'134','val_134','2010-03-03','22' -'67','val_67','2010-03-03','22' -'384','val_384','2010-03-03','22' -'379','val_379','2010-03-03','22' -'18','val_18','2010-03-03','22' -'462','val_462','2010-03-03','22' -'492','val_492','2010-03-03','22' -'100','val_100','2010-03-03','22' -'298','val_298','2010-03-03','22' -'9','val_9','2010-03-03','22' -'341','val_341','2010-03-03','22' -'498','val_498','2010-03-03','22' -'146','val_146','2010-03-03','22' -'458','val_458','2010-03-03','22' -'362','val_362','2010-03-03','22' -'186','val_186','2010-03-03','22' -'285','val_285','2010-03-03','22' -'348','val_348','2010-03-03','22' -'167','val_167','2010-03-03','22' -'18','val_18','2010-03-03','22' -'273','val_273','2010-03-03','22' -'183','val_183','2010-03-03','22' -'281','val_281','2010-03-03','22' -'344','val_344','2010-03-03','22' -'97','val_97','2010-03-03','22' -'469','val_469','2010-03-03','22' -'315','val_315','2010-03-03','22' -'84','val_84','2010-03-03','22' -'28','val_28','2010-03-03','22' -'37','val_37','2010-03-03','22' -'448','val_448','2010-03-03','22' -'152','val_152','2010-03-03','22' -'348','val_348','2010-03-03','22' -'307','val_307','2010-03-03','22' -'194','val_194','2010-03-03','22' -'414','val_414','2010-03-03','22' -'477','val_477','2010-03-03','22' -'222','val_222','2010-03-03','22' -'126','val_126','2010-03-03','22' -'90','val_90','2010-03-03','22' -'169','val_169','2010-03-03','22' -'403','val_403','2010-03-03','22' -'400','val_400','2010-03-03','22' -'200','val_200','2010-03-03','22' -'97','val_97','2010-03-03','22' -'238','val_238','2010-03-03','24' -'86','val_86','2010-03-03','24' -'311','val_311','2010-03-03','24' -'27','val_27','2010-03-03','24' -'165','val_165','2010-03-03','24' -'409','val_409','2010-03-03','24' -'255','val_255','2010-03-03','24' -'278','val_278','2010-03-03','24' -'98','val_98','2010-03-03','24' -'484','val_484','2010-03-03','24' -'265','val_265','2010-03-03','24' -'193','val_193','2010-03-03','24' -'401','val_401','2010-03-03','24' -'150','val_150','2010-03-03','24' -'273','val_273','2010-03-03','24' -'224','val_224','2010-03-03','24' -'369','val_369','2010-03-03','24' -'66','val_66','2010-03-03','24' -'128','val_128','2010-03-03','24' -'213','val_213','2010-03-03','24' -'146','val_146','2010-03-03','24' -'406','val_406','2010-03-03','24' -'429','val_429','2010-03-03','24' -'374','val_374','2010-03-03','24' -'152','val_152','2010-03-03','24' -'469','val_469','2010-03-03','24' -'145','val_145','2010-03-03','24' -'495','val_495','2010-03-03','24' -'37','val_37','2010-03-03','24' -'327','val_327','2010-03-03','24' -'281','val_281','2010-03-03','24' -'277','val_277','2010-03-03','24' -'209','val_209','2010-03-03','24' -'15','val_15','2010-03-03','24' -'82','val_82','2010-03-03','24' -'403','val_403','2010-03-03','24' -'166','val_166','2010-03-03','24' -'417','val_417','2010-03-03','24' -'430','val_430','2010-03-03','24' -'252','val_252','2010-03-03','24' -'292','val_292','2010-03-03','24' -'219','val_219','2010-03-03','24' -'287','val_287','2010-03-03','24' -'153','val_153','2010-03-03','24' -'193','val_193','2010-03-03','24' -'338','val_338','2010-03-03','24' -'446','val_446','2010-03-03','24' -'459','val_459','2010-03-03','24' -'394','val_394','2010-03-03','24' -'237','val_237','2010-03-03','24' -'482','val_482','2010-03-03','24' -'174','val_174','2010-03-03','24' -'413','val_413','2010-03-03','24' -'494','val_494','2010-03-03','24' -'207','val_207','2010-03-03','24' -'199','val_199','2010-03-03','24' -'466','val_466','2010-03-03','24' -'208','val_208','2010-03-03','24' -'174','val_174','2010-03-03','24' -'399','val_399','2010-03-03','24' -'396','val_396','2010-03-03','24' -'247','val_247','2010-03-03','24' -'417','val_417','2010-03-03','24' -'489','val_489','2010-03-03','24' -'162','val_162','2010-03-03','24' -'377','val_377','2010-03-03','24' -'397','val_397','2010-03-03','24' -'309','val_309','2010-03-03','24' -'365','val_365','2010-03-03','24' -'266','val_266','2010-03-03','24' -'439','val_439','2010-03-03','24' -'342','val_342','2010-03-03','24' -'367','val_367','2010-03-03','24' -'325','val_325','2010-03-03','24' -'167','val_167','2010-03-03','24' -'195','val_195','2010-03-03','24' -'475','val_475','2010-03-03','24' -'17','val_17','2010-03-03','24' -'113','val_113','2010-03-03','24' -'155','val_155','2010-03-03','24' -'203','val_203','2010-03-03','24' -'339','val_339','2010-03-03','24' -'0','val_0','2010-03-03','24' -'455','val_455','2010-03-03','24' -'128','val_128','2010-03-03','24' -'311','val_311','2010-03-03','24' -'316','val_316','2010-03-03','24' -'57','val_57','2010-03-03','24' -'302','val_302','2010-03-03','24' -'205','val_205','2010-03-03','24' -'149','val_149','2010-03-03','24' -'438','val_438','2010-03-03','24' -'345','val_345','2010-03-03','24' -'129','val_129','2010-03-03','24' -'170','val_170','2010-03-03','24' -'20','val_20','2010-03-03','24' -'489','val_489','2010-03-03','24' -'157','val_157','2010-03-03','24' -'378','val_378','2010-03-03','24' -'221','val_221','2010-03-03','24' -'92','val_92','2010-03-03','24' -'111','val_111','2010-03-03','24' -'47','val_47','2010-03-03','24' -'72','val_72','2010-03-03','24' -'4','val_4','2010-03-03','24' -'280','val_280','2010-03-03','24' -'35','val_35','2010-03-03','24' -'427','val_427','2010-03-03','24' -'277','val_277','2010-03-03','24' -'208','val_208','2010-03-03','24' -'356','val_356','2010-03-03','24' -'399','val_399','2010-03-03','24' -'169','val_169','2010-03-03','24' -'382','val_382','2010-03-03','24' -'498','val_498','2010-03-03','24' -'125','val_125','2010-03-03','24' -'386','val_386','2010-03-03','24' -'437','val_437','2010-03-03','24' -'469','val_469','2010-03-03','24' -'192','val_192','2010-03-03','24' -'286','val_286','2010-03-03','24' -'187','val_187','2010-03-03','24' -'176','val_176','2010-03-03','24' -'54','val_54','2010-03-03','24' -'459','val_459','2010-03-03','24' -'51','val_51','2010-03-03','24' -'138','val_138','2010-03-03','24' -'103','val_103','2010-03-03','24' -'239','val_239','2010-03-03','24' -'213','val_213','2010-03-03','24' -'216','val_216','2010-03-03','24' -'430','val_430','2010-03-03','24' -'278','val_278','2010-03-03','24' -'176','val_176','2010-03-03','24' -'289','val_289','2010-03-03','24' -'221','val_221','2010-03-03','24' -'65','val_65','2010-03-03','24' -'318','val_318','2010-03-03','24' -'332','val_332','2010-03-03','24' -'311','val_311','2010-03-03','24' -'275','val_275','2010-03-03','24' -'137','val_137','2010-03-03','24' -'241','val_241','2010-03-03','24' -'83','val_83','2010-03-03','24' -'333','val_333','2010-03-03','24' -'180','val_180','2010-03-03','24' -'284','val_284','2010-03-03','24' -'12','val_12','2010-03-03','24' -'230','val_230','2010-03-03','24' -'181','val_181','2010-03-03','24' -'67','val_67','2010-03-03','24' -'260','val_260','2010-03-03','24' -'404','val_404','2010-03-03','24' -'384','val_384','2010-03-03','24' -'489','val_489','2010-03-03','24' -'353','val_353','2010-03-03','24' -'373','val_373','2010-03-03','24' -'272','val_272','2010-03-03','24' -'138','val_138','2010-03-03','24' -'217','val_217','2010-03-03','24' -'84','val_84','2010-03-03','24' -'348','val_348','2010-03-03','24' -'466','val_466','2010-03-03','24' -'58','val_58','2010-03-03','24' -'8','val_8','2010-03-03','24' -'411','val_411','2010-03-03','24' -'230','val_230','2010-03-03','24' -'208','val_208','2010-03-03','24' -'348','val_348','2010-03-03','24' -'24','val_24','2010-03-03','24' -'463','val_463','2010-03-03','24' -'431','val_431','2010-03-03','24' -'179','val_179','2010-03-03','24' -'172','val_172','2010-03-03','24' -'42','val_42','2010-03-03','24' -'129','val_129','2010-03-03','24' -'158','val_158','2010-03-03','24' -'119','val_119','2010-03-03','24' -'496','val_496','2010-03-03','24' -'0','val_0','2010-03-03','24' -'322','val_322','2010-03-03','24' -'197','val_197','2010-03-03','24' -'468','val_468','2010-03-03','24' -'393','val_393','2010-03-03','24' -'454','val_454','2010-03-03','24' -'100','val_100','2010-03-03','24' -'298','val_298','2010-03-03','24' -'199','val_199','2010-03-03','24' -'191','val_191','2010-03-03','24' -'418','val_418','2010-03-03','24' -'96','val_96','2010-03-03','24' -'26','val_26','2010-03-03','24' -'165','val_165','2010-03-03','24' -'327','val_327','2010-03-03','24' -'230','val_230','2010-03-03','24' -'205','val_205','2010-03-03','24' -'120','val_120','2010-03-03','24' -'131','val_131','2010-03-03','24' -'51','val_51','2010-03-03','24' -'404','val_404','2010-03-03','24' -'43','val_43','2010-03-03','24' -'436','val_436','2010-03-03','24' -'156','val_156','2010-03-03','24' -'469','val_469','2010-03-03','24' -'468','val_468','2010-03-03','24' -'308','val_308','2010-03-03','24' -'95','val_95','2010-03-03','24' -'196','val_196','2010-03-03','24' -'288','val_288','2010-03-03','24' -'481','val_481','2010-03-03','24' -'457','val_457','2010-03-03','24' -'98','val_98','2010-03-03','24' -'282','val_282','2010-03-03','24' -'197','val_197','2010-03-03','24' -'187','val_187','2010-03-03','24' -'318','val_318','2010-03-03','24' -'318','val_318','2010-03-03','24' -'409','val_409','2010-03-03','24' -'470','val_470','2010-03-03','24' -'137','val_137','2010-03-03','24' -'369','val_369','2010-03-03','24' -'316','val_316','2010-03-03','24' -'169','val_169','2010-03-03','24' -'413','val_413','2010-03-03','24' -'85','val_85','2010-03-03','24' -'77','val_77','2010-03-03','24' -'0','val_0','2010-03-03','24' -'490','val_490','2010-03-03','24' -'87','val_87','2010-03-03','24' -'364','val_364','2010-03-03','24' -'179','val_179','2010-03-03','24' -'118','val_118','2010-03-03','24' -'134','val_134','2010-03-03','24' -'395','val_395','2010-03-03','24' -'282','val_282','2010-03-03','24' -'138','val_138','2010-03-03','24' -'238','val_238','2010-03-03','24' -'419','val_419','2010-03-03','24' -'15','val_15','2010-03-03','24' -'118','val_118','2010-03-03','24' -'72','val_72','2010-03-03','24' -'90','val_90','2010-03-03','24' -'307','val_307','2010-03-03','24' -'19','val_19','2010-03-03','24' -'435','val_435','2010-03-03','24' -'10','val_10','2010-03-03','24' -'277','val_277','2010-03-03','24' -'273','val_273','2010-03-03','24' -'306','val_306','2010-03-03','24' -'224','val_224','2010-03-03','24' -'309','val_309','2010-03-03','24' -'389','val_389','2010-03-03','24' -'327','val_327','2010-03-03','24' -'242','val_242','2010-03-03','24' -'369','val_369','2010-03-03','24' -'392','val_392','2010-03-03','24' -'272','val_272','2010-03-03','24' -'331','val_331','2010-03-03','24' -'401','val_401','2010-03-03','24' -'242','val_242','2010-03-03','24' -'452','val_452','2010-03-03','24' -'177','val_177','2010-03-03','24' -'226','val_226','2010-03-03','24' -'5','val_5','2010-03-03','24' -'497','val_497','2010-03-03','24' -'402','val_402','2010-03-03','24' -'396','val_396','2010-03-03','24' -'317','val_317','2010-03-03','24' -'395','val_395','2010-03-03','24' -'58','val_58','2010-03-03','24' -'35','val_35','2010-03-03','24' -'336','val_336','2010-03-03','24' -'95','val_95','2010-03-03','24' -'11','val_11','2010-03-03','24' -'168','val_168','2010-03-03','24' -'34','val_34','2010-03-03','24' -'229','val_229','2010-03-03','24' -'233','val_233','2010-03-03','24' -'143','val_143','2010-03-03','24' -'472','val_472','2010-03-03','24' -'322','val_322','2010-03-03','24' -'498','val_498','2010-03-03','24' -'160','val_160','2010-03-03','24' -'195','val_195','2010-03-03','24' -'42','val_42','2010-03-03','24' -'321','val_321','2010-03-03','24' -'430','val_430','2010-03-03','24' -'119','val_119','2010-03-03','24' -'489','val_489','2010-03-03','24' -'458','val_458','2010-03-03','24' -'78','val_78','2010-03-03','24' -'76','val_76','2010-03-03','24' -'41','val_41','2010-03-03','24' -'223','val_223','2010-03-03','24' -'492','val_492','2010-03-03','24' -'149','val_149','2010-03-03','24' -'449','val_449','2010-03-03','24' -'218','val_218','2010-03-03','24' -'228','val_228','2010-03-03','24' -'138','val_138','2010-03-03','24' -'453','val_453','2010-03-03','24' -'30','val_30','2010-03-03','24' -'209','val_209','2010-03-03','24' -'64','val_64','2010-03-03','24' -'468','val_468','2010-03-03','24' -'76','val_76','2010-03-03','24' -'74','val_74','2010-03-03','24' -'342','val_342','2010-03-03','24' -'69','val_69','2010-03-03','24' -'230','val_230','2010-03-03','24' -'33','val_33','2010-03-03','24' -'368','val_368','2010-03-03','24' -'103','val_103','2010-03-03','24' -'296','val_296','2010-03-03','24' -'113','val_113','2010-03-03','24' -'216','val_216','2010-03-03','24' -'367','val_367','2010-03-03','24' -'344','val_344','2010-03-03','24' -'167','val_167','2010-03-03','24' -'274','val_274','2010-03-03','24' -'219','val_219','2010-03-03','24' -'239','val_239','2010-03-03','24' -'485','val_485','2010-03-03','24' -'116','val_116','2010-03-03','24' -'223','val_223','2010-03-03','24' -'256','val_256','2010-03-03','24' -'263','val_263','2010-03-03','24' -'70','val_70','2010-03-03','24' -'487','val_487','2010-03-03','24' -'480','val_480','2010-03-03','24' -'401','val_401','2010-03-03','24' -'288','val_288','2010-03-03','24' -'191','val_191','2010-03-03','24' -'5','val_5','2010-03-03','24' -'244','val_244','2010-03-03','24' -'438','val_438','2010-03-03','24' -'128','val_128','2010-03-03','24' -'467','val_467','2010-03-03','24' -'432','val_432','2010-03-03','24' -'202','val_202','2010-03-03','24' -'316','val_316','2010-03-03','24' -'229','val_229','2010-03-03','24' -'469','val_469','2010-03-03','24' -'463','val_463','2010-03-03','24' -'280','val_280','2010-03-03','24' -'2','val_2','2010-03-03','24' -'35','val_35','2010-03-03','24' -'283','val_283','2010-03-03','24' -'331','val_331','2010-03-03','24' -'235','val_235','2010-03-03','24' -'80','val_80','2010-03-03','24' -'44','val_44','2010-03-03','24' -'193','val_193','2010-03-03','24' -'321','val_321','2010-03-03','24' -'335','val_335','2010-03-03','24' -'104','val_104','2010-03-03','24' -'466','val_466','2010-03-03','24' -'366','val_366','2010-03-03','24' -'175','val_175','2010-03-03','24' -'403','val_403','2010-03-03','24' -'483','val_483','2010-03-03','24' -'53','val_53','2010-03-03','24' -'105','val_105','2010-03-03','24' -'257','val_257','2010-03-03','24' -'406','val_406','2010-03-03','24' -'409','val_409','2010-03-03','24' -'190','val_190','2010-03-03','24' -'406','val_406','2010-03-03','24' -'401','val_401','2010-03-03','24' -'114','val_114','2010-03-03','24' -'258','val_258','2010-03-03','24' -'90','val_90','2010-03-03','24' -'203','val_203','2010-03-03','24' -'262','val_262','2010-03-03','24' -'348','val_348','2010-03-03','24' -'424','val_424','2010-03-03','24' -'12','val_12','2010-03-03','24' -'396','val_396','2010-03-03','24' -'201','val_201','2010-03-03','24' -'217','val_217','2010-03-03','24' -'164','val_164','2010-03-03','24' -'431','val_431','2010-03-03','24' -'454','val_454','2010-03-03','24' -'478','val_478','2010-03-03','24' -'298','val_298','2010-03-03','24' -'125','val_125','2010-03-03','24' -'431','val_431','2010-03-03','24' -'164','val_164','2010-03-03','24' -'424','val_424','2010-03-03','24' -'187','val_187','2010-03-03','24' -'382','val_382','2010-03-03','24' -'5','val_5','2010-03-03','24' -'70','val_70','2010-03-03','24' -'397','val_397','2010-03-03','24' -'480','val_480','2010-03-03','24' -'291','val_291','2010-03-03','24' -'24','val_24','2010-03-03','24' -'351','val_351','2010-03-03','24' -'255','val_255','2010-03-03','24' -'104','val_104','2010-03-03','24' -'70','val_70','2010-03-03','24' -'163','val_163','2010-03-03','24' -'438','val_438','2010-03-03','24' -'119','val_119','2010-03-03','24' -'414','val_414','2010-03-03','24' -'200','val_200','2010-03-03','24' -'491','val_491','2010-03-03','24' -'237','val_237','2010-03-03','24' -'439','val_439','2010-03-03','24' -'360','val_360','2010-03-03','24' -'248','val_248','2010-03-03','24' -'479','val_479','2010-03-03','24' -'305','val_305','2010-03-03','24' -'417','val_417','2010-03-03','24' -'199','val_199','2010-03-03','24' -'444','val_444','2010-03-03','24' -'120','val_120','2010-03-03','24' -'429','val_429','2010-03-03','24' -'169','val_169','2010-03-03','24' -'443','val_443','2010-03-03','24' -'323','val_323','2010-03-03','24' -'325','val_325','2010-03-03','24' -'277','val_277','2010-03-03','24' -'230','val_230','2010-03-03','24' -'478','val_478','2010-03-03','24' -'178','val_178','2010-03-03','24' -'468','val_468','2010-03-03','24' -'310','val_310','2010-03-03','24' -'317','val_317','2010-03-03','24' -'333','val_333','2010-03-03','24' -'493','val_493','2010-03-03','24' -'460','val_460','2010-03-03','24' -'207','val_207','2010-03-03','24' -'249','val_249','2010-03-03','24' -'265','val_265','2010-03-03','24' -'480','val_480','2010-03-03','24' -'83','val_83','2010-03-03','24' -'136','val_136','2010-03-03','24' -'353','val_353','2010-03-03','24' -'172','val_172','2010-03-03','24' -'214','val_214','2010-03-03','24' -'462','val_462','2010-03-03','24' -'233','val_233','2010-03-03','24' -'406','val_406','2010-03-03','24' -'133','val_133','2010-03-03','24' -'175','val_175','2010-03-03','24' -'189','val_189','2010-03-03','24' -'454','val_454','2010-03-03','24' -'375','val_375','2010-03-03','24' -'401','val_401','2010-03-03','24' -'421','val_421','2010-03-03','24' -'407','val_407','2010-03-03','24' -'384','val_384','2010-03-03','24' -'256','val_256','2010-03-03','24' -'26','val_26','2010-03-03','24' -'134','val_134','2010-03-03','24' -'67','val_67','2010-03-03','24' -'384','val_384','2010-03-03','24' -'379','val_379','2010-03-03','24' -'18','val_18','2010-03-03','24' -'462','val_462','2010-03-03','24' -'492','val_492','2010-03-03','24' -'100','val_100','2010-03-03','24' -'298','val_298','2010-03-03','24' -'9','val_9','2010-03-03','24' -'341','val_341','2010-03-03','24' -'498','val_498','2010-03-03','24' -'146','val_146','2010-03-03','24' -'458','val_458','2010-03-03','24' -'362','val_362','2010-03-03','24' -'186','val_186','2010-03-03','24' -'285','val_285','2010-03-03','24' -'348','val_348','2010-03-03','24' -'167','val_167','2010-03-03','24' -'18','val_18','2010-03-03','24' -'273','val_273','2010-03-03','24' -'183','val_183','2010-03-03','24' -'281','val_281','2010-03-03','24' -'344','val_344','2010-03-03','24' -'97','val_97','2010-03-03','24' -'469','val_469','2010-03-03','24' -'315','val_315','2010-03-03','24' -'84','val_84','2010-03-03','24' -'28','val_28','2010-03-03','24' -'37','val_37','2010-03-03','24' -'448','val_448','2010-03-03','24' -'152','val_152','2010-03-03','24' -'348','val_348','2010-03-03','24' -'307','val_307','2010-03-03','24' -'194','val_194','2010-03-03','24' -'414','val_414','2010-03-03','24' -'477','val_477','2010-03-03','24' -'222','val_222','2010-03-03','24' -'126','val_126','2010-03-03','24' -'90','val_90','2010-03-03','24' -'169','val_169','2010-03-03','24' -'403','val_403','2010-03-03','24' -'400','val_400','2010-03-03','24' -'200','val_200','2010-03-03','24' -'97','val_97','2010-03-03','24' -'238','val_238','2010-03-03','24' -'86','val_86','2010-03-03','24' -'311','val_311','2010-03-03','24' -'27','val_27','2010-03-03','24' -'165','val_165','2010-03-03','24' -'409','val_409','2010-03-03','24' -'255','val_255','2010-03-03','24' -'278','val_278','2010-03-03','24' -'98','val_98','2010-03-03','24' -'484','val_484','2010-03-03','24' -'265','val_265','2010-03-03','24' -'193','val_193','2010-03-03','24' -'401','val_401','2010-03-03','24' -'150','val_150','2010-03-03','24' -'273','val_273','2010-03-03','24' -'224','val_224','2010-03-03','24' -'369','val_369','2010-03-03','24' -'66','val_66','2010-03-03','24' -'128','val_128','2010-03-03','24' -'213','val_213','2010-03-03','24' -'146','val_146','2010-03-03','24' -'406','val_406','2010-03-03','24' -'429','val_429','2010-03-03','24' -'374','val_374','2010-03-03','24' -'152','val_152','2010-03-03','24' -'469','val_469','2010-03-03','24' -'145','val_145','2010-03-03','24' -'495','val_495','2010-03-03','24' -'37','val_37','2010-03-03','24' -'327','val_327','2010-03-03','24' -'281','val_281','2010-03-03','24' -'277','val_277','2010-03-03','24' -'209','val_209','2010-03-03','24' -'15','val_15','2010-03-03','24' -'82','val_82','2010-03-03','24' -'403','val_403','2010-03-03','24' -'166','val_166','2010-03-03','24' -'417','val_417','2010-03-03','24' -'430','val_430','2010-03-03','24' -'252','val_252','2010-03-03','24' -'292','val_292','2010-03-03','24' -'219','val_219','2010-03-03','24' -'287','val_287','2010-03-03','24' -'153','val_153','2010-03-03','24' -'193','val_193','2010-03-03','24' -'338','val_338','2010-03-03','24' -'446','val_446','2010-03-03','24' -'459','val_459','2010-03-03','24' -'394','val_394','2010-03-03','24' -'237','val_237','2010-03-03','24' -'482','val_482','2010-03-03','24' -'174','val_174','2010-03-03','24' -'413','val_413','2010-03-03','24' -'494','val_494','2010-03-03','24' -'207','val_207','2010-03-03','24' -'199','val_199','2010-03-03','24' -'466','val_466','2010-03-03','24' -'208','val_208','2010-03-03','24' -'174','val_174','2010-03-03','24' -'399','val_399','2010-03-03','24' -'396','val_396','2010-03-03','24' -'247','val_247','2010-03-03','24' -'417','val_417','2010-03-03','24' -'489','val_489','2010-03-03','24' -'162','val_162','2010-03-03','24' -'377','val_377','2010-03-03','24' -'397','val_397','2010-03-03','24' -'309','val_309','2010-03-03','24' -'365','val_365','2010-03-03','24' -'266','val_266','2010-03-03','24' -'439','val_439','2010-03-03','24' -'342','val_342','2010-03-03','24' -'367','val_367','2010-03-03','24' -'325','val_325','2010-03-03','24' -'167','val_167','2010-03-03','24' -'195','val_195','2010-03-03','24' -'475','val_475','2010-03-03','24' -'17','val_17','2010-03-03','24' -'113','val_113','2010-03-03','24' -'155','val_155','2010-03-03','24' -'203','val_203','2010-03-03','24' -'339','val_339','2010-03-03','24' -'0','val_0','2010-03-03','24' -'455','val_455','2010-03-03','24' -'128','val_128','2010-03-03','24' -'311','val_311','2010-03-03','24' -'316','val_316','2010-03-03','24' -'57','val_57','2010-03-03','24' -'302','val_302','2010-03-03','24' -'205','val_205','2010-03-03','24' -'149','val_149','2010-03-03','24' -'438','val_438','2010-03-03','24' -'345','val_345','2010-03-03','24' -'129','val_129','2010-03-03','24' -'170','val_170','2010-03-03','24' -'20','val_20','2010-03-03','24' -'489','val_489','2010-03-03','24' -'157','val_157','2010-03-03','24' -'378','val_378','2010-03-03','24' -'221','val_221','2010-03-03','24' -'92','val_92','2010-03-03','24' -'111','val_111','2010-03-03','24' -'47','val_47','2010-03-03','24' -'72','val_72','2010-03-03','24' -'4','val_4','2010-03-03','24' -'280','val_280','2010-03-03','24' -'35','val_35','2010-03-03','24' -'427','val_427','2010-03-03','24' -'277','val_277','2010-03-03','24' -'208','val_208','2010-03-03','24' -'356','val_356','2010-03-03','24' -'399','val_399','2010-03-03','24' -'169','val_169','2010-03-03','24' -'382','val_382','2010-03-03','24' -'498','val_498','2010-03-03','24' -'125','val_125','2010-03-03','24' -'386','val_386','2010-03-03','24' -'437','val_437','2010-03-03','24' -'469','val_469','2010-03-03','24' -'192','val_192','2010-03-03','24' -'286','val_286','2010-03-03','24' -'187','val_187','2010-03-03','24' -'176','val_176','2010-03-03','24' -'54','val_54','2010-03-03','24' -'459','val_459','2010-03-03','24' -'51','val_51','2010-03-03','24' -'138','val_138','2010-03-03','24' -'103','val_103','2010-03-03','24' -'239','val_239','2010-03-03','24' -'213','val_213','2010-03-03','24' -'216','val_216','2010-03-03','24' -'430','val_430','2010-03-03','24' -'278','val_278','2010-03-03','24' -'176','val_176','2010-03-03','24' -'289','val_289','2010-03-03','24' -'221','val_221','2010-03-03','24' -'65','val_65','2010-03-03','24' -'318','val_318','2010-03-03','24' -'332','val_332','2010-03-03','24' -'311','val_311','2010-03-03','24' -'275','val_275','2010-03-03','24' -'137','val_137','2010-03-03','24' -'241','val_241','2010-03-03','24' -'83','val_83','2010-03-03','24' -'333','val_333','2010-03-03','24' -'180','val_180','2010-03-03','24' -'284','val_284','2010-03-03','24' -'12','val_12','2010-03-03','24' -'230','val_230','2010-03-03','24' -'181','val_181','2010-03-03','24' -'67','val_67','2010-03-03','24' -'260','val_260','2010-03-03','24' -'404','val_404','2010-03-03','24' -'384','val_384','2010-03-03','24' -'489','val_489','2010-03-03','24' -'353','val_353','2010-03-03','24' -'373','val_373','2010-03-03','24' -'272','val_272','2010-03-03','24' -'138','val_138','2010-03-03','24' -'217','val_217','2010-03-03','24' -'84','val_84','2010-03-03','24' -'348','val_348','2010-03-03','24' -'466','val_466','2010-03-03','24' -'58','val_58','2010-03-03','24' -'8','val_8','2010-03-03','24' -'411','val_411','2010-03-03','24' -'230','val_230','2010-03-03','24' -'208','val_208','2010-03-03','24' -'348','val_348','2010-03-03','24' -'24','val_24','2010-03-03','24' -'463','val_463','2010-03-03','24' -'431','val_431','2010-03-03','24' -'179','val_179','2010-03-03','24' -'172','val_172','2010-03-03','24' -'42','val_42','2010-03-03','24' -'129','val_129','2010-03-03','24' -'158','val_158','2010-03-03','24' -'119','val_119','2010-03-03','24' -'496','val_496','2010-03-03','24' -'0','val_0','2010-03-03','24' -'322','val_322','2010-03-03','24' -'197','val_197','2010-03-03','24' -'468','val_468','2010-03-03','24' -'393','val_393','2010-03-03','24' -'454','val_454','2010-03-03','24' -'100','val_100','2010-03-03','24' -'298','val_298','2010-03-03','24' -'199','val_199','2010-03-03','24' -'191','val_191','2010-03-03','24' -'418','val_418','2010-03-03','24' -'96','val_96','2010-03-03','24' -'26','val_26','2010-03-03','24' -'165','val_165','2010-03-03','24' -'327','val_327','2010-03-03','24' -'230','val_230','2010-03-03','24' -'205','val_205','2010-03-03','24' -'120','val_120','2010-03-03','24' -'131','val_131','2010-03-03','24' -'51','val_51','2010-03-03','24' -'404','val_404','2010-03-03','24' -'43','val_43','2010-03-03','24' -'436','val_436','2010-03-03','24' -'156','val_156','2010-03-03','24' -'469','val_469','2010-03-03','24' -'468','val_468','2010-03-03','24' -'308','val_308','2010-03-03','24' -'95','val_95','2010-03-03','24' -'196','val_196','2010-03-03','24' -'288','val_288','2010-03-03','24' -'481','val_481','2010-03-03','24' -'457','val_457','2010-03-03','24' -'98','val_98','2010-03-03','24' -'282','val_282','2010-03-03','24' -'197','val_197','2010-03-03','24' -'187','val_187','2010-03-03','24' -'318','val_318','2010-03-03','24' -'318','val_318','2010-03-03','24' -'409','val_409','2010-03-03','24' -'470','val_470','2010-03-03','24' -'137','val_137','2010-03-03','24' -'369','val_369','2010-03-03','24' -'316','val_316','2010-03-03','24' -'169','val_169','2010-03-03','24' -'413','val_413','2010-03-03','24' -'85','val_85','2010-03-03','24' -'77','val_77','2010-03-03','24' -'0','val_0','2010-03-03','24' -'490','val_490','2010-03-03','24' -'87','val_87','2010-03-03','24' -'364','val_364','2010-03-03','24' -'179','val_179','2010-03-03','24' -'118','val_118','2010-03-03','24' -'134','val_134','2010-03-03','24' -'395','val_395','2010-03-03','24' -'282','val_282','2010-03-03','24' -'138','val_138','2010-03-03','24' -'238','val_238','2010-03-03','24' -'419','val_419','2010-03-03','24' -'15','val_15','2010-03-03','24' -'118','val_118','2010-03-03','24' -'72','val_72','2010-03-03','24' -'90','val_90','2010-03-03','24' -'307','val_307','2010-03-03','24' -'19','val_19','2010-03-03','24' -'435','val_435','2010-03-03','24' -'10','val_10','2010-03-03','24' -'277','val_277','2010-03-03','24' -'273','val_273','2010-03-03','24' -'306','val_306','2010-03-03','24' -'224','val_224','2010-03-03','24' -'309','val_309','2010-03-03','24' -'389','val_389','2010-03-03','24' -'327','val_327','2010-03-03','24' -'242','val_242','2010-03-03','24' -'369','val_369','2010-03-03','24' -'392','val_392','2010-03-03','24' -'272','val_272','2010-03-03','24' -'331','val_331','2010-03-03','24' -'401','val_401','2010-03-03','24' -'242','val_242','2010-03-03','24' -'452','val_452','2010-03-03','24' -'177','val_177','2010-03-03','24' -'226','val_226','2010-03-03','24' -'5','val_5','2010-03-03','24' -'497','val_497','2010-03-03','24' -'402','val_402','2010-03-03','24' -'396','val_396','2010-03-03','24' -'317','val_317','2010-03-03','24' -'395','val_395','2010-03-03','24' -'58','val_58','2010-03-03','24' -'35','val_35','2010-03-03','24' -'336','val_336','2010-03-03','24' -'95','val_95','2010-03-03','24' -'11','val_11','2010-03-03','24' -'168','val_168','2010-03-03','24' -'34','val_34','2010-03-03','24' -'229','val_229','2010-03-03','24' -'233','val_233','2010-03-03','24' -'143','val_143','2010-03-03','24' -'472','val_472','2010-03-03','24' -'322','val_322','2010-03-03','24' -'498','val_498','2010-03-03','24' -'160','val_160','2010-03-03','24' -'195','val_195','2010-03-03','24' -'42','val_42','2010-03-03','24' -'321','val_321','2010-03-03','24' -'430','val_430','2010-03-03','24' -'119','val_119','2010-03-03','24' -'489','val_489','2010-03-03','24' -'458','val_458','2010-03-03','24' -'78','val_78','2010-03-03','24' -'76','val_76','2010-03-03','24' -'41','val_41','2010-03-03','24' -'223','val_223','2010-03-03','24' -'492','val_492','2010-03-03','24' -'149','val_149','2010-03-03','24' -'449','val_449','2010-03-03','24' -'218','val_218','2010-03-03','24' -'228','val_228','2010-03-03','24' -'138','val_138','2010-03-03','24' -'453','val_453','2010-03-03','24' -'30','val_30','2010-03-03','24' -'209','val_209','2010-03-03','24' -'64','val_64','2010-03-03','24' -'468','val_468','2010-03-03','24' -'76','val_76','2010-03-03','24' -'74','val_74','2010-03-03','24' -'342','val_342','2010-03-03','24' -'69','val_69','2010-03-03','24' -'230','val_230','2010-03-03','24' -'33','val_33','2010-03-03','24' -'368','val_368','2010-03-03','24' -'103','val_103','2010-03-03','24' -'296','val_296','2010-03-03','24' -'113','val_113','2010-03-03','24' -'216','val_216','2010-03-03','24' -'367','val_367','2010-03-03','24' -'344','val_344','2010-03-03','24' -'167','val_167','2010-03-03','24' -'274','val_274','2010-03-03','24' -'219','val_219','2010-03-03','24' -'239','val_239','2010-03-03','24' -'485','val_485','2010-03-03','24' -'116','val_116','2010-03-03','24' -'223','val_223','2010-03-03','24' -'256','val_256','2010-03-03','24' -'263','val_263','2010-03-03','24' -'70','val_70','2010-03-03','24' -'487','val_487','2010-03-03','24' -'480','val_480','2010-03-03','24' -'401','val_401','2010-03-03','24' -'288','val_288','2010-03-03','24' -'191','val_191','2010-03-03','24' -'5','val_5','2010-03-03','24' -'244','val_244','2010-03-03','24' -'438','val_438','2010-03-03','24' -'128','val_128','2010-03-03','24' -'467','val_467','2010-03-03','24' -'432','val_432','2010-03-03','24' -'202','val_202','2010-03-03','24' -'316','val_316','2010-03-03','24' -'229','val_229','2010-03-03','24' -'469','val_469','2010-03-03','24' -'463','val_463','2010-03-03','24' -'280','val_280','2010-03-03','24' -'2','val_2','2010-03-03','24' -'35','val_35','2010-03-03','24' -'283','val_283','2010-03-03','24' -'331','val_331','2010-03-03','24' -'235','val_235','2010-03-03','24' -'80','val_80','2010-03-03','24' -'44','val_44','2010-03-03','24' -'193','val_193','2010-03-03','24' -'321','val_321','2010-03-03','24' -'335','val_335','2010-03-03','24' -'104','val_104','2010-03-03','24' -'466','val_466','2010-03-03','24' -'366','val_366','2010-03-03','24' -'175','val_175','2010-03-03','24' -'403','val_403','2010-03-03','24' -'483','val_483','2010-03-03','24' -'53','val_53','2010-03-03','24' -'105','val_105','2010-03-03','24' -'257','val_257','2010-03-03','24' -'406','val_406','2010-03-03','24' -'409','val_409','2010-03-03','24' -'190','val_190','2010-03-03','24' -'406','val_406','2010-03-03','24' -'401','val_401','2010-03-03','24' -'114','val_114','2010-03-03','24' -'258','val_258','2010-03-03','24' -'90','val_90','2010-03-03','24' -'203','val_203','2010-03-03','24' -'262','val_262','2010-03-03','24' -'348','val_348','2010-03-03','24' -'424','val_424','2010-03-03','24' -'12','val_12','2010-03-03','24' -'396','val_396','2010-03-03','24' -'201','val_201','2010-03-03','24' -'217','val_217','2010-03-03','24' -'164','val_164','2010-03-03','24' -'431','val_431','2010-03-03','24' -'454','val_454','2010-03-03','24' -'478','val_478','2010-03-03','24' -'298','val_298','2010-03-03','24' -'125','val_125','2010-03-03','24' -'431','val_431','2010-03-03','24' -'164','val_164','2010-03-03','24' -'424','val_424','2010-03-03','24' -'187','val_187','2010-03-03','24' -'382','val_382','2010-03-03','24' -'5','val_5','2010-03-03','24' -'70','val_70','2010-03-03','24' -'397','val_397','2010-03-03','24' -'480','val_480','2010-03-03','24' -'291','val_291','2010-03-03','24' -'24','val_24','2010-03-03','24' -'351','val_351','2010-03-03','24' -'255','val_255','2010-03-03','24' -'104','val_104','2010-03-03','24' -'70','val_70','2010-03-03','24' -'163','val_163','2010-03-03','24' -'438','val_438','2010-03-03','24' -'119','val_119','2010-03-03','24' -'414','val_414','2010-03-03','24' -'200','val_200','2010-03-03','24' -'491','val_491','2010-03-03','24' -'237','val_237','2010-03-03','24' -'439','val_439','2010-03-03','24' -'360','val_360','2010-03-03','24' -'248','val_248','2010-03-03','24' -'479','val_479','2010-03-03','24' -'305','val_305','2010-03-03','24' -'417','val_417','2010-03-03','24' -'199','val_199','2010-03-03','24' -'444','val_444','2010-03-03','24' -'120','val_120','2010-03-03','24' -'429','val_429','2010-03-03','24' -'169','val_169','2010-03-03','24' -'443','val_443','2010-03-03','24' -'323','val_323','2010-03-03','24' -'325','val_325','2010-03-03','24' -'277','val_277','2010-03-03','24' -'230','val_230','2010-03-03','24' -'478','val_478','2010-03-03','24' -'178','val_178','2010-03-03','24' -'468','val_468','2010-03-03','24' -'310','val_310','2010-03-03','24' -'317','val_317','2010-03-03','24' -'333','val_333','2010-03-03','24' -'493','val_493','2010-03-03','24' -'460','val_460','2010-03-03','24' -'207','val_207','2010-03-03','24' -'249','val_249','2010-03-03','24' -'265','val_265','2010-03-03','24' -'480','val_480','2010-03-03','24' -'83','val_83','2010-03-03','24' -'136','val_136','2010-03-03','24' -'353','val_353','2010-03-03','24' -'172','val_172','2010-03-03','24' -'214','val_214','2010-03-03','24' -'462','val_462','2010-03-03','24' -'233','val_233','2010-03-03','24' -'406','val_406','2010-03-03','24' -'133','val_133','2010-03-03','24' -'175','val_175','2010-03-03','24' -'189','val_189','2010-03-03','24' -'454','val_454','2010-03-03','24' -'375','val_375','2010-03-03','24' -'401','val_401','2010-03-03','24' -'421','val_421','2010-03-03','24' -'407','val_407','2010-03-03','24' -'384','val_384','2010-03-03','24' -'256','val_256','2010-03-03','24' -'26','val_26','2010-03-03','24' -'134','val_134','2010-03-03','24' -'67','val_67','2010-03-03','24' -'384','val_384','2010-03-03','24' -'379','val_379','2010-03-03','24' -'18','val_18','2010-03-03','24' -'462','val_462','2010-03-03','24' -'492','val_492','2010-03-03','24' -'100','val_100','2010-03-03','24' -'298','val_298','2010-03-03','24' -'9','val_9','2010-03-03','24' -'341','val_341','2010-03-03','24' -'498','val_498','2010-03-03','24' -'146','val_146','2010-03-03','24' -'458','val_458','2010-03-03','24' -'362','val_362','2010-03-03','24' -'186','val_186','2010-03-03','24' -'285','val_285','2010-03-03','24' -'348','val_348','2010-03-03','24' -'167','val_167','2010-03-03','24' -'18','val_18','2010-03-03','24' -'273','val_273','2010-03-03','24' -'183','val_183','2010-03-03','24' -'281','val_281','2010-03-03','24' -'344','val_344','2010-03-03','24' -'97','val_97','2010-03-03','24' -'469','val_469','2010-03-03','24' -'315','val_315','2010-03-03','24' -'84','val_84','2010-03-03','24' -'28','val_28','2010-03-03','24' -'37','val_37','2010-03-03','24' -'448','val_448','2010-03-03','24' -'152','val_152','2010-03-03','24' -'348','val_348','2010-03-03','24' -'307','val_307','2010-03-03','24' -'194','val_194','2010-03-03','24' -'414','val_414','2010-03-03','24' -'477','val_477','2010-03-03','24' -'222','val_222','2010-03-03','24' -'126','val_126','2010-03-03','24' -'90','val_90','2010-03-03','24' -'169','val_169','2010-03-03','24' -'403','val_403','2010-03-03','24' -'400','val_400','2010-03-03','24' -'200','val_200','2010-03-03','24' -'97','val_97','2010-03-03','24' -2,000 rows selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/load_dyn_part13.q.out ql/src/test/results/beelinepositive/load_dyn_part13.q.out deleted file mode 100644 index 0ef7074..0000000 --- ql/src/test/results/beelinepositive/load_dyn_part13.q.out +++ /dev/null @@ -1,200 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/load_dyn_part13.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/load_dyn_part13.q ->>> show partitions srcpart; -'partition' -'ds=2008-04-08/hr=11' -'ds=2008-04-08/hr=12' -'ds=2008-04-09/hr=11' -'ds=2008-04-09/hr=12' -4 rows selected ->>> ->>> ->>> ->>> create table if not exists nzhang_part13 like srcpart; -No rows affected ->>> describe extended nzhang_part13; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'ds','string','' -'hr','string','' -'','','' -'Detailed Table Information','Table(tableName:nzhang_part13, dbName:load_dyn_part13, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:hr, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/load_dyn_part13.db/nzhang_part13, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:hr, type:string, comment:null)], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -6 rows selected ->>> ->>> set hive.merge.mapfiles=false; -No rows affected ->>> set hive.merge.mapredfiles=false; -No rows affected ->>> set hive.exec.dynamic.partition=true; -No rows affected ->>> ->>> explain -insert overwrite table nzhang_part13 partition (ds="2010-03-03", hr) -select * from ( -select key, value, '22' -from src -where key < 20 -union all -select key, value, '33' -from src -where key > 20 and key < 40) s; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR '22')) (TOK_WHERE (< (TOK_TABLE_OR_COL key) 20)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR '33')) (TOK_WHERE (and (> (TOK_TABLE_OR_COL key) 20) (< (TOK_TABLE_OR_COL key) 40)))))) s)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME nzhang_part13) (TOK_PARTSPEC (TOK_PARTVAL ds "2010-03-03") (TOK_PARTVAL hr)))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'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' -' Alias -> Map Operator Tree:' -' null-subquery1:s-subquery1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 20.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: '22'' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: load_dyn_part13.nzhang_part13' -' null-subquery2:s-subquery2:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: ((key > 20.0) and (key < 40.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: '33'' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: load_dyn_part13.nzhang_part13' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' partition:' -' ds 2010-03-03' -' 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: load_dyn_part13.nzhang_part13' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -98 rows selected ->>> ->>> insert overwrite table nzhang_part13 partition (ds="2010-03-03", hr) -select * from ( -select key, value, '22' -from src -where key < 20 -union all -select key, value, '33' -from src -where key > 20 and key < 40) s; -'key','value','_c2' -No rows selected ->>> ->>> show partitions nzhang_part13; -'partition' -'ds=2010-03-03/hr=22' -'ds=2010-03-03/hr=33' -2 rows selected ->>> ->>> select * from nzhang_part13 where ds is not null and hr is not null; -'key','value','ds','hr' -'15','val_15','2010-03-03','22' -'17','val_17','2010-03-03','22' -'0','val_0','2010-03-03','22' -'4','val_4','2010-03-03','22' -'12','val_12','2010-03-03','22' -'8','val_8','2010-03-03','22' -'0','val_0','2010-03-03','22' -'0','val_0','2010-03-03','22' -'15','val_15','2010-03-03','22' -'19','val_19','2010-03-03','22' -'10','val_10','2010-03-03','22' -'5','val_5','2010-03-03','22' -'11','val_11','2010-03-03','22' -'5','val_5','2010-03-03','22' -'2','val_2','2010-03-03','22' -'12','val_12','2010-03-03','22' -'5','val_5','2010-03-03','22' -'18','val_18','2010-03-03','22' -'9','val_9','2010-03-03','22' -'18','val_18','2010-03-03','22' -'27','val_27','2010-03-03','33' -'37','val_37','2010-03-03','33' -'35','val_35','2010-03-03','33' -'24','val_24','2010-03-03','33' -'26','val_26','2010-03-03','33' -'35','val_35','2010-03-03','33' -'34','val_34','2010-03-03','33' -'30','val_30','2010-03-03','33' -'33','val_33','2010-03-03','33' -'35','val_35','2010-03-03','33' -'24','val_24','2010-03-03','33' -'26','val_26','2010-03-03','33' -'28','val_28','2010-03-03','33' -'37','val_37','2010-03-03','33' -34 rows selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/load_dyn_part14.q.out ql/src/test/results/beelinepositive/load_dyn_part14.q.out deleted file mode 100644 index ddfc743..0000000 --- ql/src/test/results/beelinepositive/load_dyn_part14.q.out +++ /dev/null @@ -1,291 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/load_dyn_part14.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/load_dyn_part14.q ->>> ->>> create table if not exists nzhang_part14 (key string) -partitioned by (value string); -No rows affected ->>> ->>> describe extended nzhang_part14; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'','','' -'Detailed Table Information','Table(tableName:nzhang_part14, dbName:load_dyn_part14, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/load_dyn_part14.db/nzhang_part14, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:value, type:string, comment:null)], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -4 rows selected ->>> ->>> set hive.exec.dynamic.partition=true; -No rows affected ->>> set hive.exec.dynamic.partition.mode=nonstrict; -No rows affected ->>> ->>> explain -insert overwrite table nzhang_part14 partition(value) -select key, value from ( -select 'k1' as key, cast(null as string) as value from src limit 2 -union all -select 'k2' as key, '' as value from src limit 2 -union all -select 'k3' as key, ' ' as value from src limit 2 -) T; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 'k1' key) (TOK_SELEXPR (TOK_FUNCTION TOK_STRING TOK_NULL) value)) (TOK_LIMIT 2))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 'k2' key) (TOK_SELEXPR '' value)) (TOK_LIMIT 2)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 'k3' key) (TOK_SELEXPR ' ' value)) (TOK_LIMIT 2)))) T)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME nzhang_part14) (TOK_PARTSPEC (TOK_PARTVAL value)))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-9, Stage-10' -' Stage-8 depends on stages: Stage-2 , consists of Stage-5, Stage-4, Stage-6' -' Stage-5' -' Stage-0 depends on stages: Stage-5, Stage-4, Stage-7' -' Stage-3 depends on stages: Stage-0' -' Stage-4' -' Stage-6' -' Stage-7 depends on stages: Stage-6' -' Stage-9 is a root stage' -' Stage-10 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1-subquery2:t-subquery1-subquery2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: 'k2'' -' type: string' -' expr: ''' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: load_dyn_part14.nzhang_part14' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: load_dyn_part14.nzhang_part14' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: load_dyn_part14.nzhang_part14' -'' -' Stage: Stage-8' -' Conditional Operator' -'' -' Stage: Stage-5' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' partition:' -' value ' -' 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: load_dyn_part14.nzhang_part14' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: load_dyn_part14.nzhang_part14' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: load_dyn_part14.nzhang_part14' -'' -' Stage: Stage-7' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-9' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery2:t-subquery2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: 'k3'' -' type: string' -' expr: ' '' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-10' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1-subquery1:t-subquery1-subquery1:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: 'k1'' -' type: string' -' expr: UDFToString(null)' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -'' -228 rows selected ->>> ->>> insert overwrite table nzhang_part14 partition(value) -select key, value from ( -select 'k1' as key, cast(null as string) as value from src limit 2 -union all -select 'k2' as key, '' as value from src limit 2 -union all -select 'k3' as key, ' ' as value from src limit 2 -) T; -'key','value' -No rows selected ->>> ->>> ->>> show partitions nzhang_part14; -'partition' -'value= ' -'value=__HIVE_DEFAULT_PARTITION__' -2 rows selected ->>> ->>> select * from nzhang_part14 where value <> 'a' -order by key, value; -'key','value' -'k1','__HIVE_DEFAULT_PARTITION__' -'k1','__HIVE_DEFAULT_PARTITION__' -'k2','__HIVE_DEFAULT_PARTITION__' -'k2','__HIVE_DEFAULT_PARTITION__' -'k3',' ' -'k3',' ' -6 rows selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/load_dyn_part15.q.out ql/src/test/results/beelinepositive/load_dyn_part15.q.out deleted file mode 100644 index 1bc6805..0000000 --- ql/src/test/results/beelinepositive/load_dyn_part15.q.out +++ /dev/null @@ -1,28 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/load_dyn_part15.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/load_dyn_part15.q ->>> ->>> set hive.exec.dynamic.partition=true; -No rows affected ->>> set hive.exec.dynamic.partition.mode=nonstrict; -No rows affected ->>> ->>> create table if not exists load_dyn_part15_test (key string) -partitioned by (part_key string); -No rows affected ->>> ->>> show partitions load_dyn_part15_test; -'partition' -No rows selected ->>> ->>> INSERT OVERWRITE TABLE load_dyn_part15_test PARTITION(part_key) -SELECT key, part_key FROM src LATERAL VIEW explode(array("1","{2","3]")) myTable AS part_key; -'key','part_key' -No rows selected ->>> ->>> show partitions load_dyn_part15_test; -'partition' -'part_key=%7B2' -'part_key=1' -'part_key=3%5D' -3 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/load_dyn_part2.q.out ql/src/test/results/beelinepositive/load_dyn_part2.q.out deleted file mode 100644 index 0b1026b..0000000 --- ql/src/test/results/beelinepositive/load_dyn_part2.q.out +++ /dev/null @@ -1,2115 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/load_dyn_part2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/load_dyn_part2.q ->>> ->>> create table if not exists nzhang_part_bucket (key string, value string) -partitioned by (ds string, hr string) -clustered by (key) into 10 buckets; -No rows affected ->>> ->>> describe extended nzhang_part_bucket; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'ds','string','' -'hr','string','' -'','','' -'Detailed Table Information','Table(tableName:nzhang_part_bucket, dbName:load_dyn_part2, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:hr, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/load_dyn_part2.db/nzhang_part_bucket, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:10, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[key], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:hr, type:string, comment:null)], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -6 rows selected ->>> ->>> set hive.merge.mapfiles=false; -No rows affected ->>> set hive.enforce.bucketing=true; -No rows affected ->>> set hive.exec.dynamic.partition=true; -No rows affected ->>> ->>> explain -insert overwrite table nzhang_part_bucket partition (ds='2010-03-23', hr) select key, value, hr from srcpart where ds is not null and hr is not null; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME nzhang_part_bucket) (TOK_PARTSPEC (TOK_PARTVAL ds '2010-03-23') (TOK_PARTVAL hr)))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL hr))) (TOK_WHERE (and (TOK_FUNCTION TOK_ISNOTNULL (TOK_TABLE_OR_COL ds)) (TOK_FUNCTION TOK_ISNOTNULL (TOK_TABLE_OR_COL hr))))))' -'' -'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' -' Alias -> Map Operator Tree:' -' srcpart ' -' TableScan' -' alias: srcpart' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' sort order: ' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: load_dyn_part2.nzhang_part_bucket' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' partition:' -' ds 2010-03-23' -' 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: load_dyn_part2.nzhang_part_bucket' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -65 rows selected ->>> ->>> insert overwrite table nzhang_part_bucket partition (ds='2010-03-23', hr) select key, value, hr from srcpart where ds is not null and hr is not null; -'key','value','hr' -No rows selected ->>> ->>> show partitions nzhang_part_bucket; -'partition' -'ds=2010-03-23/hr=11' -'ds=2010-03-23/hr=12' -2 rows selected ->>> ->>> select * from nzhang_part_bucket where ds='2010-03-23' and hr='11' order by key; -'key','value','ds','hr' -'0','val_0','2010-03-23','11' -'0','val_0','2010-03-23','11' -'0','val_0','2010-03-23','11' -'0','val_0','2010-03-23','11' -'0','val_0','2010-03-23','11' -'0','val_0','2010-03-23','11' -'10','val_10','2010-03-23','11' -'10','val_10','2010-03-23','11' -'100','val_100','2010-03-23','11' -'100','val_100','2010-03-23','11' -'100','val_100','2010-03-23','11' -'100','val_100','2010-03-23','11' -'103','val_103','2010-03-23','11' -'103','val_103','2010-03-23','11' -'103','val_103','2010-03-23','11' -'103','val_103','2010-03-23','11' -'104','val_104','2010-03-23','11' -'104','val_104','2010-03-23','11' -'104','val_104','2010-03-23','11' -'104','val_104','2010-03-23','11' -'105','val_105','2010-03-23','11' -'105','val_105','2010-03-23','11' -'11','val_11','2010-03-23','11' -'11','val_11','2010-03-23','11' -'111','val_111','2010-03-23','11' -'111','val_111','2010-03-23','11' -'113','val_113','2010-03-23','11' -'113','val_113','2010-03-23','11' -'113','val_113','2010-03-23','11' -'113','val_113','2010-03-23','11' -'114','val_114','2010-03-23','11' -'114','val_114','2010-03-23','11' -'116','val_116','2010-03-23','11' -'116','val_116','2010-03-23','11' -'118','val_118','2010-03-23','11' -'118','val_118','2010-03-23','11' -'118','val_118','2010-03-23','11' -'118','val_118','2010-03-23','11' -'119','val_119','2010-03-23','11' -'119','val_119','2010-03-23','11' -'119','val_119','2010-03-23','11' -'119','val_119','2010-03-23','11' -'119','val_119','2010-03-23','11' -'119','val_119','2010-03-23','11' -'12','val_12','2010-03-23','11' -'12','val_12','2010-03-23','11' -'12','val_12','2010-03-23','11' -'12','val_12','2010-03-23','11' -'120','val_120','2010-03-23','11' -'120','val_120','2010-03-23','11' -'120','val_120','2010-03-23','11' -'120','val_120','2010-03-23','11' -'125','val_125','2010-03-23','11' -'125','val_125','2010-03-23','11' -'125','val_125','2010-03-23','11' -'125','val_125','2010-03-23','11' -'126','val_126','2010-03-23','11' -'126','val_126','2010-03-23','11' -'128','val_128','2010-03-23','11' -'128','val_128','2010-03-23','11' -'128','val_128','2010-03-23','11' -'128','val_128','2010-03-23','11' -'128','val_128','2010-03-23','11' -'128','val_128','2010-03-23','11' -'129','val_129','2010-03-23','11' -'129','val_129','2010-03-23','11' -'129','val_129','2010-03-23','11' -'129','val_129','2010-03-23','11' -'131','val_131','2010-03-23','11' -'131','val_131','2010-03-23','11' -'133','val_133','2010-03-23','11' -'133','val_133','2010-03-23','11' -'134','val_134','2010-03-23','11' -'134','val_134','2010-03-23','11' -'134','val_134','2010-03-23','11' -'134','val_134','2010-03-23','11' -'136','val_136','2010-03-23','11' -'136','val_136','2010-03-23','11' -'137','val_137','2010-03-23','11' -'137','val_137','2010-03-23','11' -'137','val_137','2010-03-23','11' -'137','val_137','2010-03-23','11' -'138','val_138','2010-03-23','11' -'138','val_138','2010-03-23','11' -'138','val_138','2010-03-23','11' -'138','val_138','2010-03-23','11' -'138','val_138','2010-03-23','11' -'138','val_138','2010-03-23','11' -'138','val_138','2010-03-23','11' -'138','val_138','2010-03-23','11' -'143','val_143','2010-03-23','11' -'143','val_143','2010-03-23','11' -'145','val_145','2010-03-23','11' -'145','val_145','2010-03-23','11' -'146','val_146','2010-03-23','11' -'146','val_146','2010-03-23','11' -'146','val_146','2010-03-23','11' -'146','val_146','2010-03-23','11' -'149','val_149','2010-03-23','11' -'149','val_149','2010-03-23','11' -'149','val_149','2010-03-23','11' -'149','val_149','2010-03-23','11' -'15','val_15','2010-03-23','11' -'15','val_15','2010-03-23','11' -'15','val_15','2010-03-23','11' -'15','val_15','2010-03-23','11' -'150','val_150','2010-03-23','11' -'150','val_150','2010-03-23','11' -'152','val_152','2010-03-23','11' -'152','val_152','2010-03-23','11' -'152','val_152','2010-03-23','11' -'152','val_152','2010-03-23','11' -'153','val_153','2010-03-23','11' -'153','val_153','2010-03-23','11' -'155','val_155','2010-03-23','11' -'155','val_155','2010-03-23','11' -'156','val_156','2010-03-23','11' -'156','val_156','2010-03-23','11' -'157','val_157','2010-03-23','11' -'157','val_157','2010-03-23','11' -'158','val_158','2010-03-23','11' -'158','val_158','2010-03-23','11' -'160','val_160','2010-03-23','11' -'160','val_160','2010-03-23','11' -'162','val_162','2010-03-23','11' -'162','val_162','2010-03-23','11' -'163','val_163','2010-03-23','11' -'163','val_163','2010-03-23','11' -'164','val_164','2010-03-23','11' -'164','val_164','2010-03-23','11' -'164','val_164','2010-03-23','11' -'164','val_164','2010-03-23','11' -'165','val_165','2010-03-23','11' -'165','val_165','2010-03-23','11' -'165','val_165','2010-03-23','11' -'165','val_165','2010-03-23','11' -'166','val_166','2010-03-23','11' -'166','val_166','2010-03-23','11' -'167','val_167','2010-03-23','11' -'167','val_167','2010-03-23','11' -'167','val_167','2010-03-23','11' -'167','val_167','2010-03-23','11' -'167','val_167','2010-03-23','11' -'167','val_167','2010-03-23','11' -'168','val_168','2010-03-23','11' -'168','val_168','2010-03-23','11' -'169','val_169','2010-03-23','11' -'169','val_169','2010-03-23','11' -'169','val_169','2010-03-23','11' -'169','val_169','2010-03-23','11' -'169','val_169','2010-03-23','11' -'169','val_169','2010-03-23','11' -'169','val_169','2010-03-23','11' -'169','val_169','2010-03-23','11' -'17','val_17','2010-03-23','11' -'17','val_17','2010-03-23','11' -'170','val_170','2010-03-23','11' -'170','val_170','2010-03-23','11' -'172','val_172','2010-03-23','11' -'172','val_172','2010-03-23','11' -'172','val_172','2010-03-23','11' -'172','val_172','2010-03-23','11' -'174','val_174','2010-03-23','11' -'174','val_174','2010-03-23','11' -'174','val_174','2010-03-23','11' -'174','val_174','2010-03-23','11' -'175','val_175','2010-03-23','11' -'175','val_175','2010-03-23','11' -'175','val_175','2010-03-23','11' -'175','val_175','2010-03-23','11' -'176','val_176','2010-03-23','11' -'176','val_176','2010-03-23','11' -'176','val_176','2010-03-23','11' -'176','val_176','2010-03-23','11' -'177','val_177','2010-03-23','11' -'177','val_177','2010-03-23','11' -'178','val_178','2010-03-23','11' -'178','val_178','2010-03-23','11' -'179','val_179','2010-03-23','11' -'179','val_179','2010-03-23','11' -'179','val_179','2010-03-23','11' -'179','val_179','2010-03-23','11' -'18','val_18','2010-03-23','11' -'18','val_18','2010-03-23','11' -'18','val_18','2010-03-23','11' -'18','val_18','2010-03-23','11' -'180','val_180','2010-03-23','11' -'180','val_180','2010-03-23','11' -'181','val_181','2010-03-23','11' -'181','val_181','2010-03-23','11' -'183','val_183','2010-03-23','11' -'183','val_183','2010-03-23','11' -'186','val_186','2010-03-23','11' -'186','val_186','2010-03-23','11' -'187','val_187','2010-03-23','11' -'187','val_187','2010-03-23','11' -'187','val_187','2010-03-23','11' -'187','val_187','2010-03-23','11' -'187','val_187','2010-03-23','11' -'187','val_187','2010-03-23','11' -'189','val_189','2010-03-23','11' -'189','val_189','2010-03-23','11' -'19','val_19','2010-03-23','11' -'19','val_19','2010-03-23','11' -'190','val_190','2010-03-23','11' -'190','val_190','2010-03-23','11' -'191','val_191','2010-03-23','11' -'191','val_191','2010-03-23','11' -'191','val_191','2010-03-23','11' -'191','val_191','2010-03-23','11' -'192','val_192','2010-03-23','11' -'192','val_192','2010-03-23','11' -'193','val_193','2010-03-23','11' -'193','val_193','2010-03-23','11' -'193','val_193','2010-03-23','11' -'193','val_193','2010-03-23','11' -'193','val_193','2010-03-23','11' -'193','val_193','2010-03-23','11' -'194','val_194','2010-03-23','11' -'194','val_194','2010-03-23','11' -'195','val_195','2010-03-23','11' -'195','val_195','2010-03-23','11' -'195','val_195','2010-03-23','11' -'195','val_195','2010-03-23','11' -'196','val_196','2010-03-23','11' -'196','val_196','2010-03-23','11' -'197','val_197','2010-03-23','11' -'197','val_197','2010-03-23','11' -'197','val_197','2010-03-23','11' -'197','val_197','2010-03-23','11' -'199','val_199','2010-03-23','11' -'199','val_199','2010-03-23','11' -'199','val_199','2010-03-23','11' -'199','val_199','2010-03-23','11' -'199','val_199','2010-03-23','11' -'199','val_199','2010-03-23','11' -'2','val_2','2010-03-23','11' -'2','val_2','2010-03-23','11' -'20','val_20','2010-03-23','11' -'20','val_20','2010-03-23','11' -'200','val_200','2010-03-23','11' -'200','val_200','2010-03-23','11' -'200','val_200','2010-03-23','11' -'200','val_200','2010-03-23','11' -'201','val_201','2010-03-23','11' -'201','val_201','2010-03-23','11' -'202','val_202','2010-03-23','11' -'202','val_202','2010-03-23','11' -'203','val_203','2010-03-23','11' -'203','val_203','2010-03-23','11' -'203','val_203','2010-03-23','11' -'203','val_203','2010-03-23','11' -'205','val_205','2010-03-23','11' -'205','val_205','2010-03-23','11' -'205','val_205','2010-03-23','11' -'205','val_205','2010-03-23','11' -'207','val_207','2010-03-23','11' -'207','val_207','2010-03-23','11' -'207','val_207','2010-03-23','11' -'207','val_207','2010-03-23','11' -'208','val_208','2010-03-23','11' -'208','val_208','2010-03-23','11' -'208','val_208','2010-03-23','11' -'208','val_208','2010-03-23','11' -'208','val_208','2010-03-23','11' -'208','val_208','2010-03-23','11' -'209','val_209','2010-03-23','11' -'209','val_209','2010-03-23','11' -'209','val_209','2010-03-23','11' -'209','val_209','2010-03-23','11' -'213','val_213','2010-03-23','11' -'213','val_213','2010-03-23','11' -'213','val_213','2010-03-23','11' -'213','val_213','2010-03-23','11' -'214','val_214','2010-03-23','11' -'214','val_214','2010-03-23','11' -'216','val_216','2010-03-23','11' -'216','val_216','2010-03-23','11' -'216','val_216','2010-03-23','11' -'216','val_216','2010-03-23','11' -'217','val_217','2010-03-23','11' -'217','val_217','2010-03-23','11' -'217','val_217','2010-03-23','11' -'217','val_217','2010-03-23','11' -'218','val_218','2010-03-23','11' -'218','val_218','2010-03-23','11' -'219','val_219','2010-03-23','11' -'219','val_219','2010-03-23','11' -'219','val_219','2010-03-23','11' -'219','val_219','2010-03-23','11' -'221','val_221','2010-03-23','11' -'221','val_221','2010-03-23','11' -'221','val_221','2010-03-23','11' -'221','val_221','2010-03-23','11' -'222','val_222','2010-03-23','11' -'222','val_222','2010-03-23','11' -'223','val_223','2010-03-23','11' -'223','val_223','2010-03-23','11' -'223','val_223','2010-03-23','11' -'223','val_223','2010-03-23','11' -'224','val_224','2010-03-23','11' -'224','val_224','2010-03-23','11' -'224','val_224','2010-03-23','11' -'224','val_224','2010-03-23','11' -'226','val_226','2010-03-23','11' -'226','val_226','2010-03-23','11' -'228','val_228','2010-03-23','11' -'228','val_228','2010-03-23','11' -'229','val_229','2010-03-23','11' -'229','val_229','2010-03-23','11' -'229','val_229','2010-03-23','11' -'229','val_229','2010-03-23','11' -'230','val_230','2010-03-23','11' -'230','val_230','2010-03-23','11' -'230','val_230','2010-03-23','11' -'230','val_230','2010-03-23','11' -'230','val_230','2010-03-23','11' -'230','val_230','2010-03-23','11' -'230','val_230','2010-03-23','11' -'230','val_230','2010-03-23','11' -'230','val_230','2010-03-23','11' -'230','val_230','2010-03-23','11' -'233','val_233','2010-03-23','11' -'233','val_233','2010-03-23','11' -'233','val_233','2010-03-23','11' -'233','val_233','2010-03-23','11' -'235','val_235','2010-03-23','11' -'235','val_235','2010-03-23','11' -'237','val_237','2010-03-23','11' -'237','val_237','2010-03-23','11' -'237','val_237','2010-03-23','11' -'237','val_237','2010-03-23','11' -'238','val_238','2010-03-23','11' -'238','val_238','2010-03-23','11' -'238','val_238','2010-03-23','11' -'238','val_238','2010-03-23','11' -'239','val_239','2010-03-23','11' -'239','val_239','2010-03-23','11' -'239','val_239','2010-03-23','11' -'239','val_239','2010-03-23','11' -'24','val_24','2010-03-23','11' -'24','val_24','2010-03-23','11' -'24','val_24','2010-03-23','11' -'24','val_24','2010-03-23','11' -'241','val_241','2010-03-23','11' -'241','val_241','2010-03-23','11' -'242','val_242','2010-03-23','11' -'242','val_242','2010-03-23','11' -'242','val_242','2010-03-23','11' -'242','val_242','2010-03-23','11' -'244','val_244','2010-03-23','11' -'244','val_244','2010-03-23','11' -'247','val_247','2010-03-23','11' -'247','val_247','2010-03-23','11' -'248','val_248','2010-03-23','11' -'248','val_248','2010-03-23','11' -'249','val_249','2010-03-23','11' -'249','val_249','2010-03-23','11' -'252','val_252','2010-03-23','11' -'252','val_252','2010-03-23','11' -'255','val_255','2010-03-23','11' -'255','val_255','2010-03-23','11' -'255','val_255','2010-03-23','11' -'255','val_255','2010-03-23','11' -'256','val_256','2010-03-23','11' -'256','val_256','2010-03-23','11' -'256','val_256','2010-03-23','11' -'256','val_256','2010-03-23','11' -'257','val_257','2010-03-23','11' -'257','val_257','2010-03-23','11' -'258','val_258','2010-03-23','11' -'258','val_258','2010-03-23','11' -'26','val_26','2010-03-23','11' -'26','val_26','2010-03-23','11' -'26','val_26','2010-03-23','11' -'26','val_26','2010-03-23','11' -'260','val_260','2010-03-23','11' -'260','val_260','2010-03-23','11' -'262','val_262','2010-03-23','11' -'262','val_262','2010-03-23','11' -'263','val_263','2010-03-23','11' -'263','val_263','2010-03-23','11' -'265','val_265','2010-03-23','11' -'265','val_265','2010-03-23','11' -'265','val_265','2010-03-23','11' -'265','val_265','2010-03-23','11' -'266','val_266','2010-03-23','11' -'266','val_266','2010-03-23','11' -'27','val_27','2010-03-23','11' -'27','val_27','2010-03-23','11' -'272','val_272','2010-03-23','11' -'272','val_272','2010-03-23','11' -'272','val_272','2010-03-23','11' -'272','val_272','2010-03-23','11' -'273','val_273','2010-03-23','11' -'273','val_273','2010-03-23','11' -'273','val_273','2010-03-23','11' -'273','val_273','2010-03-23','11' -'273','val_273','2010-03-23','11' -'273','val_273','2010-03-23','11' -'274','val_274','2010-03-23','11' -'274','val_274','2010-03-23','11' -'275','val_275','2010-03-23','11' -'275','val_275','2010-03-23','11' -'277','val_277','2010-03-23','11' -'277','val_277','2010-03-23','11' -'277','val_277','2010-03-23','11' -'277','val_277','2010-03-23','11' -'277','val_277','2010-03-23','11' -'277','val_277','2010-03-23','11' -'277','val_277','2010-03-23','11' -'277','val_277','2010-03-23','11' -'278','val_278','2010-03-23','11' -'278','val_278','2010-03-23','11' -'278','val_278','2010-03-23','11' -'278','val_278','2010-03-23','11' -'28','val_28','2010-03-23','11' -'28','val_28','2010-03-23','11' -'280','val_280','2010-03-23','11' -'280','val_280','2010-03-23','11' -'280','val_280','2010-03-23','11' -'280','val_280','2010-03-23','11' -'281','val_281','2010-03-23','11' -'281','val_281','2010-03-23','11' -'281','val_281','2010-03-23','11' -'281','val_281','2010-03-23','11' -'282','val_282','2010-03-23','11' -'282','val_282','2010-03-23','11' -'282','val_282','2010-03-23','11' -'282','val_282','2010-03-23','11' -'283','val_283','2010-03-23','11' -'283','val_283','2010-03-23','11' -'284','val_284','2010-03-23','11' -'284','val_284','2010-03-23','11' -'285','val_285','2010-03-23','11' -'285','val_285','2010-03-23','11' -'286','val_286','2010-03-23','11' -'286','val_286','2010-03-23','11' -'287','val_287','2010-03-23','11' -'287','val_287','2010-03-23','11' -'288','val_288','2010-03-23','11' -'288','val_288','2010-03-23','11' -'288','val_288','2010-03-23','11' -'288','val_288','2010-03-23','11' -'289','val_289','2010-03-23','11' -'289','val_289','2010-03-23','11' -'291','val_291','2010-03-23','11' -'291','val_291','2010-03-23','11' -'292','val_292','2010-03-23','11' -'292','val_292','2010-03-23','11' -'296','val_296','2010-03-23','11' -'296','val_296','2010-03-23','11' -'298','val_298','2010-03-23','11' -'298','val_298','2010-03-23','11' -'298','val_298','2010-03-23','11' -'298','val_298','2010-03-23','11' -'298','val_298','2010-03-23','11' -'298','val_298','2010-03-23','11' -'30','val_30','2010-03-23','11' -'30','val_30','2010-03-23','11' -'302','val_302','2010-03-23','11' -'302','val_302','2010-03-23','11' -'305','val_305','2010-03-23','11' -'305','val_305','2010-03-23','11' -'306','val_306','2010-03-23','11' -'306','val_306','2010-03-23','11' -'307','val_307','2010-03-23','11' -'307','val_307','2010-03-23','11' -'307','val_307','2010-03-23','11' -'307','val_307','2010-03-23','11' -'308','val_308','2010-03-23','11' -'308','val_308','2010-03-23','11' -'309','val_309','2010-03-23','11' -'309','val_309','2010-03-23','11' -'309','val_309','2010-03-23','11' -'309','val_309','2010-03-23','11' -'310','val_310','2010-03-23','11' -'310','val_310','2010-03-23','11' -'311','val_311','2010-03-23','11' -'311','val_311','2010-03-23','11' -'311','val_311','2010-03-23','11' -'311','val_311','2010-03-23','11' -'311','val_311','2010-03-23','11' -'311','val_311','2010-03-23','11' -'315','val_315','2010-03-23','11' -'315','val_315','2010-03-23','11' -'316','val_316','2010-03-23','11' -'316','val_316','2010-03-23','11' -'316','val_316','2010-03-23','11' -'316','val_316','2010-03-23','11' -'316','val_316','2010-03-23','11' -'316','val_316','2010-03-23','11' -'317','val_317','2010-03-23','11' -'317','val_317','2010-03-23','11' -'317','val_317','2010-03-23','11' -'317','val_317','2010-03-23','11' -'318','val_318','2010-03-23','11' -'318','val_318','2010-03-23','11' -'318','val_318','2010-03-23','11' -'318','val_318','2010-03-23','11' -'318','val_318','2010-03-23','11' -'318','val_318','2010-03-23','11' -'321','val_321','2010-03-23','11' -'321','val_321','2010-03-23','11' -'321','val_321','2010-03-23','11' -'321','val_321','2010-03-23','11' -'322','val_322','2010-03-23','11' -'322','val_322','2010-03-23','11' -'322','val_322','2010-03-23','11' -'322','val_322','2010-03-23','11' -'323','val_323','2010-03-23','11' -'323','val_323','2010-03-23','11' -'325','val_325','2010-03-23','11' -'325','val_325','2010-03-23','11' -'325','val_325','2010-03-23','11' -'325','val_325','2010-03-23','11' -'327','val_327','2010-03-23','11' -'327','val_327','2010-03-23','11' -'327','val_327','2010-03-23','11' -'327','val_327','2010-03-23','11' -'327','val_327','2010-03-23','11' -'327','val_327','2010-03-23','11' -'33','val_33','2010-03-23','11' -'33','val_33','2010-03-23','11' -'331','val_331','2010-03-23','11' -'331','val_331','2010-03-23','11' -'331','val_331','2010-03-23','11' -'331','val_331','2010-03-23','11' -'332','val_332','2010-03-23','11' -'332','val_332','2010-03-23','11' -'333','val_333','2010-03-23','11' -'333','val_333','2010-03-23','11' -'333','val_333','2010-03-23','11' -'333','val_333','2010-03-23','11' -'335','val_335','2010-03-23','11' -'335','val_335','2010-03-23','11' -'336','val_336','2010-03-23','11' -'336','val_336','2010-03-23','11' -'338','val_338','2010-03-23','11' -'338','val_338','2010-03-23','11' -'339','val_339','2010-03-23','11' -'339','val_339','2010-03-23','11' -'34','val_34','2010-03-23','11' -'34','val_34','2010-03-23','11' -'341','val_341','2010-03-23','11' -'341','val_341','2010-03-23','11' -'342','val_342','2010-03-23','11' -'342','val_342','2010-03-23','11' -'342','val_342','2010-03-23','11' -'342','val_342','2010-03-23','11' -'344','val_344','2010-03-23','11' -'344','val_344','2010-03-23','11' -'344','val_344','2010-03-23','11' -'344','val_344','2010-03-23','11' -'345','val_345','2010-03-23','11' -'345','val_345','2010-03-23','11' -'348','val_348','2010-03-23','11' -'348','val_348','2010-03-23','11' -'348','val_348','2010-03-23','11' -'348','val_348','2010-03-23','11' -'348','val_348','2010-03-23','11' -'348','val_348','2010-03-23','11' -'348','val_348','2010-03-23','11' -'348','val_348','2010-03-23','11' -'348','val_348','2010-03-23','11' -'348','val_348','2010-03-23','11' -'35','val_35','2010-03-23','11' -'35','val_35','2010-03-23','11' -'35','val_35','2010-03-23','11' -'35','val_35','2010-03-23','11' -'35','val_35','2010-03-23','11' -'35','val_35','2010-03-23','11' -'351','val_351','2010-03-23','11' -'351','val_351','2010-03-23','11' -'353','val_353','2010-03-23','11' -'353','val_353','2010-03-23','11' -'353','val_353','2010-03-23','11' -'353','val_353','2010-03-23','11' -'356','val_356','2010-03-23','11' -'356','val_356','2010-03-23','11' -'360','val_360','2010-03-23','11' -'360','val_360','2010-03-23','11' -'362','val_362','2010-03-23','11' -'362','val_362','2010-03-23','11' -'364','val_364','2010-03-23','11' -'364','val_364','2010-03-23','11' -'365','val_365','2010-03-23','11' -'365','val_365','2010-03-23','11' -'366','val_366','2010-03-23','11' -'366','val_366','2010-03-23','11' -'367','val_367','2010-03-23','11' -'367','val_367','2010-03-23','11' -'367','val_367','2010-03-23','11' -'367','val_367','2010-03-23','11' -'368','val_368','2010-03-23','11' -'368','val_368','2010-03-23','11' -'369','val_369','2010-03-23','11' -'369','val_369','2010-03-23','11' -'369','val_369','2010-03-23','11' -'369','val_369','2010-03-23','11' -'369','val_369','2010-03-23','11' -'369','val_369','2010-03-23','11' -'37','val_37','2010-03-23','11' -'37','val_37','2010-03-23','11' -'37','val_37','2010-03-23','11' -'37','val_37','2010-03-23','11' -'373','val_373','2010-03-23','11' -'373','val_373','2010-03-23','11' -'374','val_374','2010-03-23','11' -'374','val_374','2010-03-23','11' -'375','val_375','2010-03-23','11' -'375','val_375','2010-03-23','11' -'377','val_377','2010-03-23','11' -'377','val_377','2010-03-23','11' -'378','val_378','2010-03-23','11' -'378','val_378','2010-03-23','11' -'379','val_379','2010-03-23','11' -'379','val_379','2010-03-23','11' -'382','val_382','2010-03-23','11' -'382','val_382','2010-03-23','11' -'382','val_382','2010-03-23','11' -'382','val_382','2010-03-23','11' -'384','val_384','2010-03-23','11' -'384','val_384','2010-03-23','11' -'384','val_384','2010-03-23','11' -'384','val_384','2010-03-23','11' -'384','val_384','2010-03-23','11' -'384','val_384','2010-03-23','11' -'386','val_386','2010-03-23','11' -'386','val_386','2010-03-23','11' -'389','val_389','2010-03-23','11' -'389','val_389','2010-03-23','11' -'392','val_392','2010-03-23','11' -'392','val_392','2010-03-23','11' -'393','val_393','2010-03-23','11' -'393','val_393','2010-03-23','11' -'394','val_394','2010-03-23','11' -'394','val_394','2010-03-23','11' -'395','val_395','2010-03-23','11' -'395','val_395','2010-03-23','11' -'395','val_395','2010-03-23','11' -'395','val_395','2010-03-23','11' -'396','val_396','2010-03-23','11' -'396','val_396','2010-03-23','11' -'396','val_396','2010-03-23','11' -'396','val_396','2010-03-23','11' -'396','val_396','2010-03-23','11' -'396','val_396','2010-03-23','11' -'397','val_397','2010-03-23','11' -'397','val_397','2010-03-23','11' -'397','val_397','2010-03-23','11' -'397','val_397','2010-03-23','11' -'399','val_399','2010-03-23','11' -'399','val_399','2010-03-23','11' -'399','val_399','2010-03-23','11' -'399','val_399','2010-03-23','11' -'4','val_4','2010-03-23','11' -'4','val_4','2010-03-23','11' -'400','val_400','2010-03-23','11' -'400','val_400','2010-03-23','11' -'401','val_401','2010-03-23','11' -'401','val_401','2010-03-23','11' -'401','val_401','2010-03-23','11' -'401','val_401','2010-03-23','11' -'401','val_401','2010-03-23','11' -'401','val_401','2010-03-23','11' -'401','val_401','2010-03-23','11' -'401','val_401','2010-03-23','11' -'401','val_401','2010-03-23','11' -'401','val_401','2010-03-23','11' -'402','val_402','2010-03-23','11' -'402','val_402','2010-03-23','11' -'403','val_403','2010-03-23','11' -'403','val_403','2010-03-23','11' -'403','val_403','2010-03-23','11' -'403','val_403','2010-03-23','11' -'403','val_403','2010-03-23','11' -'403','val_403','2010-03-23','11' -'404','val_404','2010-03-23','11' -'404','val_404','2010-03-23','11' -'404','val_404','2010-03-23','11' -'404','val_404','2010-03-23','11' -'406','val_406','2010-03-23','11' -'406','val_406','2010-03-23','11' -'406','val_406','2010-03-23','11' -'406','val_406','2010-03-23','11' -'406','val_406','2010-03-23','11' -'406','val_406','2010-03-23','11' -'406','val_406','2010-03-23','11' -'406','val_406','2010-03-23','11' -'407','val_407','2010-03-23','11' -'407','val_407','2010-03-23','11' -'409','val_409','2010-03-23','11' -'409','val_409','2010-03-23','11' -'409','val_409','2010-03-23','11' -'409','val_409','2010-03-23','11' -'409','val_409','2010-03-23','11' -'409','val_409','2010-03-23','11' -'41','val_41','2010-03-23','11' -'41','val_41','2010-03-23','11' -'411','val_411','2010-03-23','11' -'411','val_411','2010-03-23','11' -'413','val_413','2010-03-23','11' -'413','val_413','2010-03-23','11' -'413','val_413','2010-03-23','11' -'413','val_413','2010-03-23','11' -'414','val_414','2010-03-23','11' -'414','val_414','2010-03-23','11' -'414','val_414','2010-03-23','11' -'414','val_414','2010-03-23','11' -'417','val_417','2010-03-23','11' -'417','val_417','2010-03-23','11' -'417','val_417','2010-03-23','11' -'417','val_417','2010-03-23','11' -'417','val_417','2010-03-23','11' -'417','val_417','2010-03-23','11' -'418','val_418','2010-03-23','11' -'418','val_418','2010-03-23','11' -'419','val_419','2010-03-23','11' -'419','val_419','2010-03-23','11' -'42','val_42','2010-03-23','11' -'42','val_42','2010-03-23','11' -'42','val_42','2010-03-23','11' -'42','val_42','2010-03-23','11' -'421','val_421','2010-03-23','11' -'421','val_421','2010-03-23','11' -'424','val_424','2010-03-23','11' -'424','val_424','2010-03-23','11' -'424','val_424','2010-03-23','11' -'424','val_424','2010-03-23','11' -'427','val_427','2010-03-23','11' -'427','val_427','2010-03-23','11' -'429','val_429','2010-03-23','11' -'429','val_429','2010-03-23','11' -'429','val_429','2010-03-23','11' -'429','val_429','2010-03-23','11' -'43','val_43','2010-03-23','11' -'43','val_43','2010-03-23','11' -'430','val_430','2010-03-23','11' -'430','val_430','2010-03-23','11' -'430','val_430','2010-03-23','11' -'430','val_430','2010-03-23','11' -'430','val_430','2010-03-23','11' -'430','val_430','2010-03-23','11' -'431','val_431','2010-03-23','11' -'431','val_431','2010-03-23','11' -'431','val_431','2010-03-23','11' -'431','val_431','2010-03-23','11' -'431','val_431','2010-03-23','11' -'431','val_431','2010-03-23','11' -'432','val_432','2010-03-23','11' -'432','val_432','2010-03-23','11' -'435','val_435','2010-03-23','11' -'435','val_435','2010-03-23','11' -'436','val_436','2010-03-23','11' -'436','val_436','2010-03-23','11' -'437','val_437','2010-03-23','11' -'437','val_437','2010-03-23','11' -'438','val_438','2010-03-23','11' -'438','val_438','2010-03-23','11' -'438','val_438','2010-03-23','11' -'438','val_438','2010-03-23','11' -'438','val_438','2010-03-23','11' -'438','val_438','2010-03-23','11' -'439','val_439','2010-03-23','11' -'439','val_439','2010-03-23','11' -'439','val_439','2010-03-23','11' -'439','val_439','2010-03-23','11' -'44','val_44','2010-03-23','11' -'44','val_44','2010-03-23','11' -'443','val_443','2010-03-23','11' -'443','val_443','2010-03-23','11' -'444','val_444','2010-03-23','11' -'444','val_444','2010-03-23','11' -'446','val_446','2010-03-23','11' -'446','val_446','2010-03-23','11' -'448','val_448','2010-03-23','11' -'448','val_448','2010-03-23','11' -'449','val_449','2010-03-23','11' -'449','val_449','2010-03-23','11' -'452','val_452','2010-03-23','11' -'452','val_452','2010-03-23','11' -'453','val_453','2010-03-23','11' -'453','val_453','2010-03-23','11' -'454','val_454','2010-03-23','11' -'454','val_454','2010-03-23','11' -'454','val_454','2010-03-23','11' -'454','val_454','2010-03-23','11' -'454','val_454','2010-03-23','11' -'454','val_454','2010-03-23','11' -'455','val_455','2010-03-23','11' -'455','val_455','2010-03-23','11' -'457','val_457','2010-03-23','11' -'457','val_457','2010-03-23','11' -'458','val_458','2010-03-23','11' -'458','val_458','2010-03-23','11' -'458','val_458','2010-03-23','11' -'458','val_458','2010-03-23','11' -'459','val_459','2010-03-23','11' -'459','val_459','2010-03-23','11' -'459','val_459','2010-03-23','11' -'459','val_459','2010-03-23','11' -'460','val_460','2010-03-23','11' -'460','val_460','2010-03-23','11' -'462','val_462','2010-03-23','11' -'462','val_462','2010-03-23','11' -'462','val_462','2010-03-23','11' -'462','val_462','2010-03-23','11' -'463','val_463','2010-03-23','11' -'463','val_463','2010-03-23','11' -'463','val_463','2010-03-23','11' -'463','val_463','2010-03-23','11' -'466','val_466','2010-03-23','11' -'466','val_466','2010-03-23','11' -'466','val_466','2010-03-23','11' -'466','val_466','2010-03-23','11' -'466','val_466','2010-03-23','11' -'466','val_466','2010-03-23','11' -'467','val_467','2010-03-23','11' -'467','val_467','2010-03-23','11' -'468','val_468','2010-03-23','11' -'468','val_468','2010-03-23','11' -'468','val_468','2010-03-23','11' -'468','val_468','2010-03-23','11' -'468','val_468','2010-03-23','11' -'468','val_468','2010-03-23','11' -'468','val_468','2010-03-23','11' -'468','val_468','2010-03-23','11' -'469','val_469','2010-03-23','11' -'469','val_469','2010-03-23','11' -'469','val_469','2010-03-23','11' -'469','val_469','2010-03-23','11' -'469','val_469','2010-03-23','11' -'469','val_469','2010-03-23','11' -'469','val_469','2010-03-23','11' -'469','val_469','2010-03-23','11' -'469','val_469','2010-03-23','11' -'469','val_469','2010-03-23','11' -'47','val_47','2010-03-23','11' -'47','val_47','2010-03-23','11' -'470','val_470','2010-03-23','11' -'470','val_470','2010-03-23','11' -'472','val_472','2010-03-23','11' -'472','val_472','2010-03-23','11' -'475','val_475','2010-03-23','11' -'475','val_475','2010-03-23','11' -'477','val_477','2010-03-23','11' -'477','val_477','2010-03-23','11' -'478','val_478','2010-03-23','11' -'478','val_478','2010-03-23','11' -'478','val_478','2010-03-23','11' -'478','val_478','2010-03-23','11' -'479','val_479','2010-03-23','11' -'479','val_479','2010-03-23','11' -'480','val_480','2010-03-23','11' -'480','val_480','2010-03-23','11' -'480','val_480','2010-03-23','11' -'480','val_480','2010-03-23','11' -'480','val_480','2010-03-23','11' -'480','val_480','2010-03-23','11' -'481','val_481','2010-03-23','11' -'481','val_481','2010-03-23','11' -'482','val_482','2010-03-23','11' -'482','val_482','2010-03-23','11' -'483','val_483','2010-03-23','11' -'483','val_483','2010-03-23','11' -'484','val_484','2010-03-23','11' -'484','val_484','2010-03-23','11' -'485','val_485','2010-03-23','11' -'485','val_485','2010-03-23','11' -'487','val_487','2010-03-23','11' -'487','val_487','2010-03-23','11' -'489','val_489','2010-03-23','11' -'489','val_489','2010-03-23','11' -'489','val_489','2010-03-23','11' -'489','val_489','2010-03-23','11' -'489','val_489','2010-03-23','11' -'489','val_489','2010-03-23','11' -'489','val_489','2010-03-23','11' -'489','val_489','2010-03-23','11' -'490','val_490','2010-03-23','11' -'490','val_490','2010-03-23','11' -'491','val_491','2010-03-23','11' -'491','val_491','2010-03-23','11' -'492','val_492','2010-03-23','11' -'492','val_492','2010-03-23','11' -'492','val_492','2010-03-23','11' -'492','val_492','2010-03-23','11' -'493','val_493','2010-03-23','11' -'493','val_493','2010-03-23','11' -'494','val_494','2010-03-23','11' -'494','val_494','2010-03-23','11' -'495','val_495','2010-03-23','11' -'495','val_495','2010-03-23','11' -'496','val_496','2010-03-23','11' -'496','val_496','2010-03-23','11' -'497','val_497','2010-03-23','11' -'497','val_497','2010-03-23','11' -'498','val_498','2010-03-23','11' -'498','val_498','2010-03-23','11' -'498','val_498','2010-03-23','11' -'498','val_498','2010-03-23','11' -'498','val_498','2010-03-23','11' -'498','val_498','2010-03-23','11' -'5','val_5','2010-03-23','11' -'5','val_5','2010-03-23','11' -'5','val_5','2010-03-23','11' -'5','val_5','2010-03-23','11' -'5','val_5','2010-03-23','11' -'5','val_5','2010-03-23','11' -'51','val_51','2010-03-23','11' -'51','val_51','2010-03-23','11' -'51','val_51','2010-03-23','11' -'51','val_51','2010-03-23','11' -'53','val_53','2010-03-23','11' -'53','val_53','2010-03-23','11' -'54','val_54','2010-03-23','11' -'54','val_54','2010-03-23','11' -'57','val_57','2010-03-23','11' -'57','val_57','2010-03-23','11' -'58','val_58','2010-03-23','11' -'58','val_58','2010-03-23','11' -'58','val_58','2010-03-23','11' -'58','val_58','2010-03-23','11' -'64','val_64','2010-03-23','11' -'64','val_64','2010-03-23','11' -'65','val_65','2010-03-23','11' -'65','val_65','2010-03-23','11' -'66','val_66','2010-03-23','11' -'66','val_66','2010-03-23','11' -'67','val_67','2010-03-23','11' -'67','val_67','2010-03-23','11' -'67','val_67','2010-03-23','11' -'67','val_67','2010-03-23','11' -'69','val_69','2010-03-23','11' -'69','val_69','2010-03-23','11' -'70','val_70','2010-03-23','11' -'70','val_70','2010-03-23','11' -'70','val_70','2010-03-23','11' -'70','val_70','2010-03-23','11' -'70','val_70','2010-03-23','11' -'70','val_70','2010-03-23','11' -'72','val_72','2010-03-23','11' -'72','val_72','2010-03-23','11' -'72','val_72','2010-03-23','11' -'72','val_72','2010-03-23','11' -'74','val_74','2010-03-23','11' -'74','val_74','2010-03-23','11' -'76','val_76','2010-03-23','11' -'76','val_76','2010-03-23','11' -'76','val_76','2010-03-23','11' -'76','val_76','2010-03-23','11' -'77','val_77','2010-03-23','11' -'77','val_77','2010-03-23','11' -'78','val_78','2010-03-23','11' -'78','val_78','2010-03-23','11' -'8','val_8','2010-03-23','11' -'8','val_8','2010-03-23','11' -'80','val_80','2010-03-23','11' -'80','val_80','2010-03-23','11' -'82','val_82','2010-03-23','11' -'82','val_82','2010-03-23','11' -'83','val_83','2010-03-23','11' -'83','val_83','2010-03-23','11' -'83','val_83','2010-03-23','11' -'83','val_83','2010-03-23','11' -'84','val_84','2010-03-23','11' -'84','val_84','2010-03-23','11' -'84','val_84','2010-03-23','11' -'84','val_84','2010-03-23','11' -'85','val_85','2010-03-23','11' -'85','val_85','2010-03-23','11' -'86','val_86','2010-03-23','11' -'86','val_86','2010-03-23','11' -'87','val_87','2010-03-23','11' -'87','val_87','2010-03-23','11' -'9','val_9','2010-03-23','11' -'9','val_9','2010-03-23','11' -'90','val_90','2010-03-23','11' -'90','val_90','2010-03-23','11' -'90','val_90','2010-03-23','11' -'90','val_90','2010-03-23','11' -'90','val_90','2010-03-23','11' -'90','val_90','2010-03-23','11' -'92','val_92','2010-03-23','11' -'92','val_92','2010-03-23','11' -'95','val_95','2010-03-23','11' -'95','val_95','2010-03-23','11' -'95','val_95','2010-03-23','11' -'95','val_95','2010-03-23','11' -'96','val_96','2010-03-23','11' -'96','val_96','2010-03-23','11' -'97','val_97','2010-03-23','11' -'97','val_97','2010-03-23','11' -'97','val_97','2010-03-23','11' -'97','val_97','2010-03-23','11' -'98','val_98','2010-03-23','11' -'98','val_98','2010-03-23','11' -'98','val_98','2010-03-23','11' -'98','val_98','2010-03-23','11' -1,000 rows selected ->>> select * from nzhang_part_bucket where ds='2010-03-23' and hr='12' order by key; -'key','value','ds','hr' -'0','val_0','2010-03-23','12' -'0','val_0','2010-03-23','12' -'0','val_0','2010-03-23','12' -'0','val_0','2010-03-23','12' -'0','val_0','2010-03-23','12' -'0','val_0','2010-03-23','12' -'10','val_10','2010-03-23','12' -'10','val_10','2010-03-23','12' -'100','val_100','2010-03-23','12' -'100','val_100','2010-03-23','12' -'100','val_100','2010-03-23','12' -'100','val_100','2010-03-23','12' -'103','val_103','2010-03-23','12' -'103','val_103','2010-03-23','12' -'103','val_103','2010-03-23','12' -'103','val_103','2010-03-23','12' -'104','val_104','2010-03-23','12' -'104','val_104','2010-03-23','12' -'104','val_104','2010-03-23','12' -'104','val_104','2010-03-23','12' -'105','val_105','2010-03-23','12' -'105','val_105','2010-03-23','12' -'11','val_11','2010-03-23','12' -'11','val_11','2010-03-23','12' -'111','val_111','2010-03-23','12' -'111','val_111','2010-03-23','12' -'113','val_113','2010-03-23','12' -'113','val_113','2010-03-23','12' -'113','val_113','2010-03-23','12' -'113','val_113','2010-03-23','12' -'114','val_114','2010-03-23','12' -'114','val_114','2010-03-23','12' -'116','val_116','2010-03-23','12' -'116','val_116','2010-03-23','12' -'118','val_118','2010-03-23','12' -'118','val_118','2010-03-23','12' -'118','val_118','2010-03-23','12' -'118','val_118','2010-03-23','12' -'119','val_119','2010-03-23','12' -'119','val_119','2010-03-23','12' -'119','val_119','2010-03-23','12' -'119','val_119','2010-03-23','12' -'119','val_119','2010-03-23','12' -'119','val_119','2010-03-23','12' -'12','val_12','2010-03-23','12' -'12','val_12','2010-03-23','12' -'12','val_12','2010-03-23','12' -'12','val_12','2010-03-23','12' -'120','val_120','2010-03-23','12' -'120','val_120','2010-03-23','12' -'120','val_120','2010-03-23','12' -'120','val_120','2010-03-23','12' -'125','val_125','2010-03-23','12' -'125','val_125','2010-03-23','12' -'125','val_125','2010-03-23','12' -'125','val_125','2010-03-23','12' -'126','val_126','2010-03-23','12' -'126','val_126','2010-03-23','12' -'128','val_128','2010-03-23','12' -'128','val_128','2010-03-23','12' -'128','val_128','2010-03-23','12' -'128','val_128','2010-03-23','12' -'128','val_128','2010-03-23','12' -'128','val_128','2010-03-23','12' -'129','val_129','2010-03-23','12' -'129','val_129','2010-03-23','12' -'129','val_129','2010-03-23','12' -'129','val_129','2010-03-23','12' -'131','val_131','2010-03-23','12' -'131','val_131','2010-03-23','12' -'133','val_133','2010-03-23','12' -'133','val_133','2010-03-23','12' -'134','val_134','2010-03-23','12' -'134','val_134','2010-03-23','12' -'134','val_134','2010-03-23','12' -'134','val_134','2010-03-23','12' -'136','val_136','2010-03-23','12' -'136','val_136','2010-03-23','12' -'137','val_137','2010-03-23','12' -'137','val_137','2010-03-23','12' -'137','val_137','2010-03-23','12' -'137','val_137','2010-03-23','12' -'138','val_138','2010-03-23','12' -'138','val_138','2010-03-23','12' -'138','val_138','2010-03-23','12' -'138','val_138','2010-03-23','12' -'138','val_138','2010-03-23','12' -'138','val_138','2010-03-23','12' -'138','val_138','2010-03-23','12' -'138','val_138','2010-03-23','12' -'143','val_143','2010-03-23','12' -'143','val_143','2010-03-23','12' -'145','val_145','2010-03-23','12' -'145','val_145','2010-03-23','12' -'146','val_146','2010-03-23','12' -'146','val_146','2010-03-23','12' -'146','val_146','2010-03-23','12' -'146','val_146','2010-03-23','12' -'149','val_149','2010-03-23','12' -'149','val_149','2010-03-23','12' -'149','val_149','2010-03-23','12' -'149','val_149','2010-03-23','12' -'15','val_15','2010-03-23','12' -'15','val_15','2010-03-23','12' -'15','val_15','2010-03-23','12' -'15','val_15','2010-03-23','12' -'150','val_150','2010-03-23','12' -'150','val_150','2010-03-23','12' -'152','val_152','2010-03-23','12' -'152','val_152','2010-03-23','12' -'152','val_152','2010-03-23','12' -'152','val_152','2010-03-23','12' -'153','val_153','2010-03-23','12' -'153','val_153','2010-03-23','12' -'155','val_155','2010-03-23','12' -'155','val_155','2010-03-23','12' -'156','val_156','2010-03-23','12' -'156','val_156','2010-03-23','12' -'157','val_157','2010-03-23','12' -'157','val_157','2010-03-23','12' -'158','val_158','2010-03-23','12' -'158','val_158','2010-03-23','12' -'160','val_160','2010-03-23','12' -'160','val_160','2010-03-23','12' -'162','val_162','2010-03-23','12' -'162','val_162','2010-03-23','12' -'163','val_163','2010-03-23','12' -'163','val_163','2010-03-23','12' -'164','val_164','2010-03-23','12' -'164','val_164','2010-03-23','12' -'164','val_164','2010-03-23','12' -'164','val_164','2010-03-23','12' -'165','val_165','2010-03-23','12' -'165','val_165','2010-03-23','12' -'165','val_165','2010-03-23','12' -'165','val_165','2010-03-23','12' -'166','val_166','2010-03-23','12' -'166','val_166','2010-03-23','12' -'167','val_167','2010-03-23','12' -'167','val_167','2010-03-23','12' -'167','val_167','2010-03-23','12' -'167','val_167','2010-03-23','12' -'167','val_167','2010-03-23','12' -'167','val_167','2010-03-23','12' -'168','val_168','2010-03-23','12' -'168','val_168','2010-03-23','12' -'169','val_169','2010-03-23','12' -'169','val_169','2010-03-23','12' -'169','val_169','2010-03-23','12' -'169','val_169','2010-03-23','12' -'169','val_169','2010-03-23','12' -'169','val_169','2010-03-23','12' -'169','val_169','2010-03-23','12' -'169','val_169','2010-03-23','12' -'17','val_17','2010-03-23','12' -'17','val_17','2010-03-23','12' -'170','val_170','2010-03-23','12' -'170','val_170','2010-03-23','12' -'172','val_172','2010-03-23','12' -'172','val_172','2010-03-23','12' -'172','val_172','2010-03-23','12' -'172','val_172','2010-03-23','12' -'174','val_174','2010-03-23','12' -'174','val_174','2010-03-23','12' -'174','val_174','2010-03-23','12' -'174','val_174','2010-03-23','12' -'175','val_175','2010-03-23','12' -'175','val_175','2010-03-23','12' -'175','val_175','2010-03-23','12' -'175','val_175','2010-03-23','12' -'176','val_176','2010-03-23','12' -'176','val_176','2010-03-23','12' -'176','val_176','2010-03-23','12' -'176','val_176','2010-03-23','12' -'177','val_177','2010-03-23','12' -'177','val_177','2010-03-23','12' -'178','val_178','2010-03-23','12' -'178','val_178','2010-03-23','12' -'179','val_179','2010-03-23','12' -'179','val_179','2010-03-23','12' -'179','val_179','2010-03-23','12' -'179','val_179','2010-03-23','12' -'18','val_18','2010-03-23','12' -'18','val_18','2010-03-23','12' -'18','val_18','2010-03-23','12' -'18','val_18','2010-03-23','12' -'180','val_180','2010-03-23','12' -'180','val_180','2010-03-23','12' -'181','val_181','2010-03-23','12' -'181','val_181','2010-03-23','12' -'183','val_183','2010-03-23','12' -'183','val_183','2010-03-23','12' -'186','val_186','2010-03-23','12' -'186','val_186','2010-03-23','12' -'187','val_187','2010-03-23','12' -'187','val_187','2010-03-23','12' -'187','val_187','2010-03-23','12' -'187','val_187','2010-03-23','12' -'187','val_187','2010-03-23','12' -'187','val_187','2010-03-23','12' -'189','val_189','2010-03-23','12' -'189','val_189','2010-03-23','12' -'19','val_19','2010-03-23','12' -'19','val_19','2010-03-23','12' -'190','val_190','2010-03-23','12' -'190','val_190','2010-03-23','12' -'191','val_191','2010-03-23','12' -'191','val_191','2010-03-23','12' -'191','val_191','2010-03-23','12' -'191','val_191','2010-03-23','12' -'192','val_192','2010-03-23','12' -'192','val_192','2010-03-23','12' -'193','val_193','2010-03-23','12' -'193','val_193','2010-03-23','12' -'193','val_193','2010-03-23','12' -'193','val_193','2010-03-23','12' -'193','val_193','2010-03-23','12' -'193','val_193','2010-03-23','12' -'194','val_194','2010-03-23','12' -'194','val_194','2010-03-23','12' -'195','val_195','2010-03-23','12' -'195','val_195','2010-03-23','12' -'195','val_195','2010-03-23','12' -'195','val_195','2010-03-23','12' -'196','val_196','2010-03-23','12' -'196','val_196','2010-03-23','12' -'197','val_197','2010-03-23','12' -'197','val_197','2010-03-23','12' -'197','val_197','2010-03-23','12' -'197','val_197','2010-03-23','12' -'199','val_199','2010-03-23','12' -'199','val_199','2010-03-23','12' -'199','val_199','2010-03-23','12' -'199','val_199','2010-03-23','12' -'199','val_199','2010-03-23','12' -'199','val_199','2010-03-23','12' -'2','val_2','2010-03-23','12' -'2','val_2','2010-03-23','12' -'20','val_20','2010-03-23','12' -'20','val_20','2010-03-23','12' -'200','val_200','2010-03-23','12' -'200','val_200','2010-03-23','12' -'200','val_200','2010-03-23','12' -'200','val_200','2010-03-23','12' -'201','val_201','2010-03-23','12' -'201','val_201','2010-03-23','12' -'202','val_202','2010-03-23','12' -'202','val_202','2010-03-23','12' -'203','val_203','2010-03-23','12' -'203','val_203','2010-03-23','12' -'203','val_203','2010-03-23','12' -'203','val_203','2010-03-23','12' -'205','val_205','2010-03-23','12' -'205','val_205','2010-03-23','12' -'205','val_205','2010-03-23','12' -'205','val_205','2010-03-23','12' -'207','val_207','2010-03-23','12' -'207','val_207','2010-03-23','12' -'207','val_207','2010-03-23','12' -'207','val_207','2010-03-23','12' -'208','val_208','2010-03-23','12' -'208','val_208','2010-03-23','12' -'208','val_208','2010-03-23','12' -'208','val_208','2010-03-23','12' -'208','val_208','2010-03-23','12' -'208','val_208','2010-03-23','12' -'209','val_209','2010-03-23','12' -'209','val_209','2010-03-23','12' -'209','val_209','2010-03-23','12' -'209','val_209','2010-03-23','12' -'213','val_213','2010-03-23','12' -'213','val_213','2010-03-23','12' -'213','val_213','2010-03-23','12' -'213','val_213','2010-03-23','12' -'214','val_214','2010-03-23','12' -'214','val_214','2010-03-23','12' -'216','val_216','2010-03-23','12' -'216','val_216','2010-03-23','12' -'216','val_216','2010-03-23','12' -'216','val_216','2010-03-23','12' -'217','val_217','2010-03-23','12' -'217','val_217','2010-03-23','12' -'217','val_217','2010-03-23','12' -'217','val_217','2010-03-23','12' -'218','val_218','2010-03-23','12' -'218','val_218','2010-03-23','12' -'219','val_219','2010-03-23','12' -'219','val_219','2010-03-23','12' -'219','val_219','2010-03-23','12' -'219','val_219','2010-03-23','12' -'221','val_221','2010-03-23','12' -'221','val_221','2010-03-23','12' -'221','val_221','2010-03-23','12' -'221','val_221','2010-03-23','12' -'222','val_222','2010-03-23','12' -'222','val_222','2010-03-23','12' -'223','val_223','2010-03-23','12' -'223','val_223','2010-03-23','12' -'223','val_223','2010-03-23','12' -'223','val_223','2010-03-23','12' -'224','val_224','2010-03-23','12' -'224','val_224','2010-03-23','12' -'224','val_224','2010-03-23','12' -'224','val_224','2010-03-23','12' -'226','val_226','2010-03-23','12' -'226','val_226','2010-03-23','12' -'228','val_228','2010-03-23','12' -'228','val_228','2010-03-23','12' -'229','val_229','2010-03-23','12' -'229','val_229','2010-03-23','12' -'229','val_229','2010-03-23','12' -'229','val_229','2010-03-23','12' -'230','val_230','2010-03-23','12' -'230','val_230','2010-03-23','12' -'230','val_230','2010-03-23','12' -'230','val_230','2010-03-23','12' -'230','val_230','2010-03-23','12' -'230','val_230','2010-03-23','12' -'230','val_230','2010-03-23','12' -'230','val_230','2010-03-23','12' -'230','val_230','2010-03-23','12' -'230','val_230','2010-03-23','12' -'233','val_233','2010-03-23','12' -'233','val_233','2010-03-23','12' -'233','val_233','2010-03-23','12' -'233','val_233','2010-03-23','12' -'235','val_235','2010-03-23','12' -'235','val_235','2010-03-23','12' -'237','val_237','2010-03-23','12' -'237','val_237','2010-03-23','12' -'237','val_237','2010-03-23','12' -'237','val_237','2010-03-23','12' -'238','val_238','2010-03-23','12' -'238','val_238','2010-03-23','12' -'238','val_238','2010-03-23','12' -'238','val_238','2010-03-23','12' -'239','val_239','2010-03-23','12' -'239','val_239','2010-03-23','12' -'239','val_239','2010-03-23','12' -'239','val_239','2010-03-23','12' -'24','val_24','2010-03-23','12' -'24','val_24','2010-03-23','12' -'24','val_24','2010-03-23','12' -'24','val_24','2010-03-23','12' -'241','val_241','2010-03-23','12' -'241','val_241','2010-03-23','12' -'242','val_242','2010-03-23','12' -'242','val_242','2010-03-23','12' -'242','val_242','2010-03-23','12' -'242','val_242','2010-03-23','12' -'244','val_244','2010-03-23','12' -'244','val_244','2010-03-23','12' -'247','val_247','2010-03-23','12' -'247','val_247','2010-03-23','12' -'248','val_248','2010-03-23','12' -'248','val_248','2010-03-23','12' -'249','val_249','2010-03-23','12' -'249','val_249','2010-03-23','12' -'252','val_252','2010-03-23','12' -'252','val_252','2010-03-23','12' -'255','val_255','2010-03-23','12' -'255','val_255','2010-03-23','12' -'255','val_255','2010-03-23','12' -'255','val_255','2010-03-23','12' -'256','val_256','2010-03-23','12' -'256','val_256','2010-03-23','12' -'256','val_256','2010-03-23','12' -'256','val_256','2010-03-23','12' -'257','val_257','2010-03-23','12' -'257','val_257','2010-03-23','12' -'258','val_258','2010-03-23','12' -'258','val_258','2010-03-23','12' -'26','val_26','2010-03-23','12' -'26','val_26','2010-03-23','12' -'26','val_26','2010-03-23','12' -'26','val_26','2010-03-23','12' -'260','val_260','2010-03-23','12' -'260','val_260','2010-03-23','12' -'262','val_262','2010-03-23','12' -'262','val_262','2010-03-23','12' -'263','val_263','2010-03-23','12' -'263','val_263','2010-03-23','12' -'265','val_265','2010-03-23','12' -'265','val_265','2010-03-23','12' -'265','val_265','2010-03-23','12' -'265','val_265','2010-03-23','12' -'266','val_266','2010-03-23','12' -'266','val_266','2010-03-23','12' -'27','val_27','2010-03-23','12' -'27','val_27','2010-03-23','12' -'272','val_272','2010-03-23','12' -'272','val_272','2010-03-23','12' -'272','val_272','2010-03-23','12' -'272','val_272','2010-03-23','12' -'273','val_273','2010-03-23','12' -'273','val_273','2010-03-23','12' -'273','val_273','2010-03-23','12' -'273','val_273','2010-03-23','12' -'273','val_273','2010-03-23','12' -'273','val_273','2010-03-23','12' -'274','val_274','2010-03-23','12' -'274','val_274','2010-03-23','12' -'275','val_275','2010-03-23','12' -'275','val_275','2010-03-23','12' -'277','val_277','2010-03-23','12' -'277','val_277','2010-03-23','12' -'277','val_277','2010-03-23','12' -'277','val_277','2010-03-23','12' -'277','val_277','2010-03-23','12' -'277','val_277','2010-03-23','12' -'277','val_277','2010-03-23','12' -'277','val_277','2010-03-23','12' -'278','val_278','2010-03-23','12' -'278','val_278','2010-03-23','12' -'278','val_278','2010-03-23','12' -'278','val_278','2010-03-23','12' -'28','val_28','2010-03-23','12' -'28','val_28','2010-03-23','12' -'280','val_280','2010-03-23','12' -'280','val_280','2010-03-23','12' -'280','val_280','2010-03-23','12' -'280','val_280','2010-03-23','12' -'281','val_281','2010-03-23','12' -'281','val_281','2010-03-23','12' -'281','val_281','2010-03-23','12' -'281','val_281','2010-03-23','12' -'282','val_282','2010-03-23','12' -'282','val_282','2010-03-23','12' -'282','val_282','2010-03-23','12' -'282','val_282','2010-03-23','12' -'283','val_283','2010-03-23','12' -'283','val_283','2010-03-23','12' -'284','val_284','2010-03-23','12' -'284','val_284','2010-03-23','12' -'285','val_285','2010-03-23','12' -'285','val_285','2010-03-23','12' -'286','val_286','2010-03-23','12' -'286','val_286','2010-03-23','12' -'287','val_287','2010-03-23','12' -'287','val_287','2010-03-23','12' -'288','val_288','2010-03-23','12' -'288','val_288','2010-03-23','12' -'288','val_288','2010-03-23','12' -'288','val_288','2010-03-23','12' -'289','val_289','2010-03-23','12' -'289','val_289','2010-03-23','12' -'291','val_291','2010-03-23','12' -'291','val_291','2010-03-23','12' -'292','val_292','2010-03-23','12' -'292','val_292','2010-03-23','12' -'296','val_296','2010-03-23','12' -'296','val_296','2010-03-23','12' -'298','val_298','2010-03-23','12' -'298','val_298','2010-03-23','12' -'298','val_298','2010-03-23','12' -'298','val_298','2010-03-23','12' -'298','val_298','2010-03-23','12' -'298','val_298','2010-03-23','12' -'30','val_30','2010-03-23','12' -'30','val_30','2010-03-23','12' -'302','val_302','2010-03-23','12' -'302','val_302','2010-03-23','12' -'305','val_305','2010-03-23','12' -'305','val_305','2010-03-23','12' -'306','val_306','2010-03-23','12' -'306','val_306','2010-03-23','12' -'307','val_307','2010-03-23','12' -'307','val_307','2010-03-23','12' -'307','val_307','2010-03-23','12' -'307','val_307','2010-03-23','12' -'308','val_308','2010-03-23','12' -'308','val_308','2010-03-23','12' -'309','val_309','2010-03-23','12' -'309','val_309','2010-03-23','12' -'309','val_309','2010-03-23','12' -'309','val_309','2010-03-23','12' -'310','val_310','2010-03-23','12' -'310','val_310','2010-03-23','12' -'311','val_311','2010-03-23','12' -'311','val_311','2010-03-23','12' -'311','val_311','2010-03-23','12' -'311','val_311','2010-03-23','12' -'311','val_311','2010-03-23','12' -'311','val_311','2010-03-23','12' -'315','val_315','2010-03-23','12' -'315','val_315','2010-03-23','12' -'316','val_316','2010-03-23','12' -'316','val_316','2010-03-23','12' -'316','val_316','2010-03-23','12' -'316','val_316','2010-03-23','12' -'316','val_316','2010-03-23','12' -'316','val_316','2010-03-23','12' -'317','val_317','2010-03-23','12' -'317','val_317','2010-03-23','12' -'317','val_317','2010-03-23','12' -'317','val_317','2010-03-23','12' -'318','val_318','2010-03-23','12' -'318','val_318','2010-03-23','12' -'318','val_318','2010-03-23','12' -'318','val_318','2010-03-23','12' -'318','val_318','2010-03-23','12' -'318','val_318','2010-03-23','12' -'321','val_321','2010-03-23','12' -'321','val_321','2010-03-23','12' -'321','val_321','2010-03-23','12' -'321','val_321','2010-03-23','12' -'322','val_322','2010-03-23','12' -'322','val_322','2010-03-23','12' -'322','val_322','2010-03-23','12' -'322','val_322','2010-03-23','12' -'323','val_323','2010-03-23','12' -'323','val_323','2010-03-23','12' -'325','val_325','2010-03-23','12' -'325','val_325','2010-03-23','12' -'325','val_325','2010-03-23','12' -'325','val_325','2010-03-23','12' -'327','val_327','2010-03-23','12' -'327','val_327','2010-03-23','12' -'327','val_327','2010-03-23','12' -'327','val_327','2010-03-23','12' -'327','val_327','2010-03-23','12' -'327','val_327','2010-03-23','12' -'33','val_33','2010-03-23','12' -'33','val_33','2010-03-23','12' -'331','val_331','2010-03-23','12' -'331','val_331','2010-03-23','12' -'331','val_331','2010-03-23','12' -'331','val_331','2010-03-23','12' -'332','val_332','2010-03-23','12' -'332','val_332','2010-03-23','12' -'333','val_333','2010-03-23','12' -'333','val_333','2010-03-23','12' -'333','val_333','2010-03-23','12' -'333','val_333','2010-03-23','12' -'335','val_335','2010-03-23','12' -'335','val_335','2010-03-23','12' -'336','val_336','2010-03-23','12' -'336','val_336','2010-03-23','12' -'338','val_338','2010-03-23','12' -'338','val_338','2010-03-23','12' -'339','val_339','2010-03-23','12' -'339','val_339','2010-03-23','12' -'34','val_34','2010-03-23','12' -'34','val_34','2010-03-23','12' -'341','val_341','2010-03-23','12' -'341','val_341','2010-03-23','12' -'342','val_342','2010-03-23','12' -'342','val_342','2010-03-23','12' -'342','val_342','2010-03-23','12' -'342','val_342','2010-03-23','12' -'344','val_344','2010-03-23','12' -'344','val_344','2010-03-23','12' -'344','val_344','2010-03-23','12' -'344','val_344','2010-03-23','12' -'345','val_345','2010-03-23','12' -'345','val_345','2010-03-23','12' -'348','val_348','2010-03-23','12' -'348','val_348','2010-03-23','12' -'348','val_348','2010-03-23','12' -'348','val_348','2010-03-23','12' -'348','val_348','2010-03-23','12' -'348','val_348','2010-03-23','12' -'348','val_348','2010-03-23','12' -'348','val_348','2010-03-23','12' -'348','val_348','2010-03-23','12' -'348','val_348','2010-03-23','12' -'35','val_35','2010-03-23','12' -'35','val_35','2010-03-23','12' -'35','val_35','2010-03-23','12' -'35','val_35','2010-03-23','12' -'35','val_35','2010-03-23','12' -'35','val_35','2010-03-23','12' -'351','val_351','2010-03-23','12' -'351','val_351','2010-03-23','12' -'353','val_353','2010-03-23','12' -'353','val_353','2010-03-23','12' -'353','val_353','2010-03-23','12' -'353','val_353','2010-03-23','12' -'356','val_356','2010-03-23','12' -'356','val_356','2010-03-23','12' -'360','val_360','2010-03-23','12' -'360','val_360','2010-03-23','12' -'362','val_362','2010-03-23','12' -'362','val_362','2010-03-23','12' -'364','val_364','2010-03-23','12' -'364','val_364','2010-03-23','12' -'365','val_365','2010-03-23','12' -'365','val_365','2010-03-23','12' -'366','val_366','2010-03-23','12' -'366','val_366','2010-03-23','12' -'367','val_367','2010-03-23','12' -'367','val_367','2010-03-23','12' -'367','val_367','2010-03-23','12' -'367','val_367','2010-03-23','12' -'368','val_368','2010-03-23','12' -'368','val_368','2010-03-23','12' -'369','val_369','2010-03-23','12' -'369','val_369','2010-03-23','12' -'369','val_369','2010-03-23','12' -'369','val_369','2010-03-23','12' -'369','val_369','2010-03-23','12' -'369','val_369','2010-03-23','12' -'37','val_37','2010-03-23','12' -'37','val_37','2010-03-23','12' -'37','val_37','2010-03-23','12' -'37','val_37','2010-03-23','12' -'373','val_373','2010-03-23','12' -'373','val_373','2010-03-23','12' -'374','val_374','2010-03-23','12' -'374','val_374','2010-03-23','12' -'375','val_375','2010-03-23','12' -'375','val_375','2010-03-23','12' -'377','val_377','2010-03-23','12' -'377','val_377','2010-03-23','12' -'378','val_378','2010-03-23','12' -'378','val_378','2010-03-23','12' -'379','val_379','2010-03-23','12' -'379','val_379','2010-03-23','12' -'382','val_382','2010-03-23','12' -'382','val_382','2010-03-23','12' -'382','val_382','2010-03-23','12' -'382','val_382','2010-03-23','12' -'384','val_384','2010-03-23','12' -'384','val_384','2010-03-23','12' -'384','val_384','2010-03-23','12' -'384','val_384','2010-03-23','12' -'384','val_384','2010-03-23','12' -'384','val_384','2010-03-23','12' -'386','val_386','2010-03-23','12' -'386','val_386','2010-03-23','12' -'389','val_389','2010-03-23','12' -'389','val_389','2010-03-23','12' -'392','val_392','2010-03-23','12' -'392','val_392','2010-03-23','12' -'393','val_393','2010-03-23','12' -'393','val_393','2010-03-23','12' -'394','val_394','2010-03-23','12' -'394','val_394','2010-03-23','12' -'395','val_395','2010-03-23','12' -'395','val_395','2010-03-23','12' -'395','val_395','2010-03-23','12' -'395','val_395','2010-03-23','12' -'396','val_396','2010-03-23','12' -'396','val_396','2010-03-23','12' -'396','val_396','2010-03-23','12' -'396','val_396','2010-03-23','12' -'396','val_396','2010-03-23','12' -'396','val_396','2010-03-23','12' -'397','val_397','2010-03-23','12' -'397','val_397','2010-03-23','12' -'397','val_397','2010-03-23','12' -'397','val_397','2010-03-23','12' -'399','val_399','2010-03-23','12' -'399','val_399','2010-03-23','12' -'399','val_399','2010-03-23','12' -'399','val_399','2010-03-23','12' -'4','val_4','2010-03-23','12' -'4','val_4','2010-03-23','12' -'400','val_400','2010-03-23','12' -'400','val_400','2010-03-23','12' -'401','val_401','2010-03-23','12' -'401','val_401','2010-03-23','12' -'401','val_401','2010-03-23','12' -'401','val_401','2010-03-23','12' -'401','val_401','2010-03-23','12' -'401','val_401','2010-03-23','12' -'401','val_401','2010-03-23','12' -'401','val_401','2010-03-23','12' -'401','val_401','2010-03-23','12' -'401','val_401','2010-03-23','12' -'402','val_402','2010-03-23','12' -'402','val_402','2010-03-23','12' -'403','val_403','2010-03-23','12' -'403','val_403','2010-03-23','12' -'403','val_403','2010-03-23','12' -'403','val_403','2010-03-23','12' -'403','val_403','2010-03-23','12' -'403','val_403','2010-03-23','12' -'404','val_404','2010-03-23','12' -'404','val_404','2010-03-23','12' -'404','val_404','2010-03-23','12' -'404','val_404','2010-03-23','12' -'406','val_406','2010-03-23','12' -'406','val_406','2010-03-23','12' -'406','val_406','2010-03-23','12' -'406','val_406','2010-03-23','12' -'406','val_406','2010-03-23','12' -'406','val_406','2010-03-23','12' -'406','val_406','2010-03-23','12' -'406','val_406','2010-03-23','12' -'407','val_407','2010-03-23','12' -'407','val_407','2010-03-23','12' -'409','val_409','2010-03-23','12' -'409','val_409','2010-03-23','12' -'409','val_409','2010-03-23','12' -'409','val_409','2010-03-23','12' -'409','val_409','2010-03-23','12' -'409','val_409','2010-03-23','12' -'41','val_41','2010-03-23','12' -'41','val_41','2010-03-23','12' -'411','val_411','2010-03-23','12' -'411','val_411','2010-03-23','12' -'413','val_413','2010-03-23','12' -'413','val_413','2010-03-23','12' -'413','val_413','2010-03-23','12' -'413','val_413','2010-03-23','12' -'414','val_414','2010-03-23','12' -'414','val_414','2010-03-23','12' -'414','val_414','2010-03-23','12' -'414','val_414','2010-03-23','12' -'417','val_417','2010-03-23','12' -'417','val_417','2010-03-23','12' -'417','val_417','2010-03-23','12' -'417','val_417','2010-03-23','12' -'417','val_417','2010-03-23','12' -'417','val_417','2010-03-23','12' -'418','val_418','2010-03-23','12' -'418','val_418','2010-03-23','12' -'419','val_419','2010-03-23','12' -'419','val_419','2010-03-23','12' -'42','val_42','2010-03-23','12' -'42','val_42','2010-03-23','12' -'42','val_42','2010-03-23','12' -'42','val_42','2010-03-23','12' -'421','val_421','2010-03-23','12' -'421','val_421','2010-03-23','12' -'424','val_424','2010-03-23','12' -'424','val_424','2010-03-23','12' -'424','val_424','2010-03-23','12' -'424','val_424','2010-03-23','12' -'427','val_427','2010-03-23','12' -'427','val_427','2010-03-23','12' -'429','val_429','2010-03-23','12' -'429','val_429','2010-03-23','12' -'429','val_429','2010-03-23','12' -'429','val_429','2010-03-23','12' -'43','val_43','2010-03-23','12' -'43','val_43','2010-03-23','12' -'430','val_430','2010-03-23','12' -'430','val_430','2010-03-23','12' -'430','val_430','2010-03-23','12' -'430','val_430','2010-03-23','12' -'430','val_430','2010-03-23','12' -'430','val_430','2010-03-23','12' -'431','val_431','2010-03-23','12' -'431','val_431','2010-03-23','12' -'431','val_431','2010-03-23','12' -'431','val_431','2010-03-23','12' -'431','val_431','2010-03-23','12' -'431','val_431','2010-03-23','12' -'432','val_432','2010-03-23','12' -'432','val_432','2010-03-23','12' -'435','val_435','2010-03-23','12' -'435','val_435','2010-03-23','12' -'436','val_436','2010-03-23','12' -'436','val_436','2010-03-23','12' -'437','val_437','2010-03-23','12' -'437','val_437','2010-03-23','12' -'438','val_438','2010-03-23','12' -'438','val_438','2010-03-23','12' -'438','val_438','2010-03-23','12' -'438','val_438','2010-03-23','12' -'438','val_438','2010-03-23','12' -'438','val_438','2010-03-23','12' -'439','val_439','2010-03-23','12' -'439','val_439','2010-03-23','12' -'439','val_439','2010-03-23','12' -'439','val_439','2010-03-23','12' -'44','val_44','2010-03-23','12' -'44','val_44','2010-03-23','12' -'443','val_443','2010-03-23','12' -'443','val_443','2010-03-23','12' -'444','val_444','2010-03-23','12' -'444','val_444','2010-03-23','12' -'446','val_446','2010-03-23','12' -'446','val_446','2010-03-23','12' -'448','val_448','2010-03-23','12' -'448','val_448','2010-03-23','12' -'449','val_449','2010-03-23','12' -'449','val_449','2010-03-23','12' -'452','val_452','2010-03-23','12' -'452','val_452','2010-03-23','12' -'453','val_453','2010-03-23','12' -'453','val_453','2010-03-23','12' -'454','val_454','2010-03-23','12' -'454','val_454','2010-03-23','12' -'454','val_454','2010-03-23','12' -'454','val_454','2010-03-23','12' -'454','val_454','2010-03-23','12' -'454','val_454','2010-03-23','12' -'455','val_455','2010-03-23','12' -'455','val_455','2010-03-23','12' -'457','val_457','2010-03-23','12' -'457','val_457','2010-03-23','12' -'458','val_458','2010-03-23','12' -'458','val_458','2010-03-23','12' -'458','val_458','2010-03-23','12' -'458','val_458','2010-03-23','12' -'459','val_459','2010-03-23','12' -'459','val_459','2010-03-23','12' -'459','val_459','2010-03-23','12' -'459','val_459','2010-03-23','12' -'460','val_460','2010-03-23','12' -'460','val_460','2010-03-23','12' -'462','val_462','2010-03-23','12' -'462','val_462','2010-03-23','12' -'462','val_462','2010-03-23','12' -'462','val_462','2010-03-23','12' -'463','val_463','2010-03-23','12' -'463','val_463','2010-03-23','12' -'463','val_463','2010-03-23','12' -'463','val_463','2010-03-23','12' -'466','val_466','2010-03-23','12' -'466','val_466','2010-03-23','12' -'466','val_466','2010-03-23','12' -'466','val_466','2010-03-23','12' -'466','val_466','2010-03-23','12' -'466','val_466','2010-03-23','12' -'467','val_467','2010-03-23','12' -'467','val_467','2010-03-23','12' -'468','val_468','2010-03-23','12' -'468','val_468','2010-03-23','12' -'468','val_468','2010-03-23','12' -'468','val_468','2010-03-23','12' -'468','val_468','2010-03-23','12' -'468','val_468','2010-03-23','12' -'468','val_468','2010-03-23','12' -'468','val_468','2010-03-23','12' -'469','val_469','2010-03-23','12' -'469','val_469','2010-03-23','12' -'469','val_469','2010-03-23','12' -'469','val_469','2010-03-23','12' -'469','val_469','2010-03-23','12' -'469','val_469','2010-03-23','12' -'469','val_469','2010-03-23','12' -'469','val_469','2010-03-23','12' -'469','val_469','2010-03-23','12' -'469','val_469','2010-03-23','12' -'47','val_47','2010-03-23','12' -'47','val_47','2010-03-23','12' -'470','val_470','2010-03-23','12' -'470','val_470','2010-03-23','12' -'472','val_472','2010-03-23','12' -'472','val_472','2010-03-23','12' -'475','val_475','2010-03-23','12' -'475','val_475','2010-03-23','12' -'477','val_477','2010-03-23','12' -'477','val_477','2010-03-23','12' -'478','val_478','2010-03-23','12' -'478','val_478','2010-03-23','12' -'478','val_478','2010-03-23','12' -'478','val_478','2010-03-23','12' -'479','val_479','2010-03-23','12' -'479','val_479','2010-03-23','12' -'480','val_480','2010-03-23','12' -'480','val_480','2010-03-23','12' -'480','val_480','2010-03-23','12' -'480','val_480','2010-03-23','12' -'480','val_480','2010-03-23','12' -'480','val_480','2010-03-23','12' -'481','val_481','2010-03-23','12' -'481','val_481','2010-03-23','12' -'482','val_482','2010-03-23','12' -'482','val_482','2010-03-23','12' -'483','val_483','2010-03-23','12' -'483','val_483','2010-03-23','12' -'484','val_484','2010-03-23','12' -'484','val_484','2010-03-23','12' -'485','val_485','2010-03-23','12' -'485','val_485','2010-03-23','12' -'487','val_487','2010-03-23','12' -'487','val_487','2010-03-23','12' -'489','val_489','2010-03-23','12' -'489','val_489','2010-03-23','12' -'489','val_489','2010-03-23','12' -'489','val_489','2010-03-23','12' -'489','val_489','2010-03-23','12' -'489','val_489','2010-03-23','12' -'489','val_489','2010-03-23','12' -'489','val_489','2010-03-23','12' -'490','val_490','2010-03-23','12' -'490','val_490','2010-03-23','12' -'491','val_491','2010-03-23','12' -'491','val_491','2010-03-23','12' -'492','val_492','2010-03-23','12' -'492','val_492','2010-03-23','12' -'492','val_492','2010-03-23','12' -'492','val_492','2010-03-23','12' -'493','val_493','2010-03-23','12' -'493','val_493','2010-03-23','12' -'494','val_494','2010-03-23','12' -'494','val_494','2010-03-23','12' -'495','val_495','2010-03-23','12' -'495','val_495','2010-03-23','12' -'496','val_496','2010-03-23','12' -'496','val_496','2010-03-23','12' -'497','val_497','2010-03-23','12' -'497','val_497','2010-03-23','12' -'498','val_498','2010-03-23','12' -'498','val_498','2010-03-23','12' -'498','val_498','2010-03-23','12' -'498','val_498','2010-03-23','12' -'498','val_498','2010-03-23','12' -'498','val_498','2010-03-23','12' -'5','val_5','2010-03-23','12' -'5','val_5','2010-03-23','12' -'5','val_5','2010-03-23','12' -'5','val_5','2010-03-23','12' -'5','val_5','2010-03-23','12' -'5','val_5','2010-03-23','12' -'51','val_51','2010-03-23','12' -'51','val_51','2010-03-23','12' -'51','val_51','2010-03-23','12' -'51','val_51','2010-03-23','12' -'53','val_53','2010-03-23','12' -'53','val_53','2010-03-23','12' -'54','val_54','2010-03-23','12' -'54','val_54','2010-03-23','12' -'57','val_57','2010-03-23','12' -'57','val_57','2010-03-23','12' -'58','val_58','2010-03-23','12' -'58','val_58','2010-03-23','12' -'58','val_58','2010-03-23','12' -'58','val_58','2010-03-23','12' -'64','val_64','2010-03-23','12' -'64','val_64','2010-03-23','12' -'65','val_65','2010-03-23','12' -'65','val_65','2010-03-23','12' -'66','val_66','2010-03-23','12' -'66','val_66','2010-03-23','12' -'67','val_67','2010-03-23','12' -'67','val_67','2010-03-23','12' -'67','val_67','2010-03-23','12' -'67','val_67','2010-03-23','12' -'69','val_69','2010-03-23','12' -'69','val_69','2010-03-23','12' -'70','val_70','2010-03-23','12' -'70','val_70','2010-03-23','12' -'70','val_70','2010-03-23','12' -'70','val_70','2010-03-23','12' -'70','val_70','2010-03-23','12' -'70','val_70','2010-03-23','12' -'72','val_72','2010-03-23','12' -'72','val_72','2010-03-23','12' -'72','val_72','2010-03-23','12' -'72','val_72','2010-03-23','12' -'74','val_74','2010-03-23','12' -'74','val_74','2010-03-23','12' -'76','val_76','2010-03-23','12' -'76','val_76','2010-03-23','12' -'76','val_76','2010-03-23','12' -'76','val_76','2010-03-23','12' -'77','val_77','2010-03-23','12' -'77','val_77','2010-03-23','12' -'78','val_78','2010-03-23','12' -'78','val_78','2010-03-23','12' -'8','val_8','2010-03-23','12' -'8','val_8','2010-03-23','12' -'80','val_80','2010-03-23','12' -'80','val_80','2010-03-23','12' -'82','val_82','2010-03-23','12' -'82','val_82','2010-03-23','12' -'83','val_83','2010-03-23','12' -'83','val_83','2010-03-23','12' -'83','val_83','2010-03-23','12' -'83','val_83','2010-03-23','12' -'84','val_84','2010-03-23','12' -'84','val_84','2010-03-23','12' -'84','val_84','2010-03-23','12' -'84','val_84','2010-03-23','12' -'85','val_85','2010-03-23','12' -'85','val_85','2010-03-23','12' -'86','val_86','2010-03-23','12' -'86','val_86','2010-03-23','12' -'87','val_87','2010-03-23','12' -'87','val_87','2010-03-23','12' -'9','val_9','2010-03-23','12' -'9','val_9','2010-03-23','12' -'90','val_90','2010-03-23','12' -'90','val_90','2010-03-23','12' -'90','val_90','2010-03-23','12' -'90','val_90','2010-03-23','12' -'90','val_90','2010-03-23','12' -'90','val_90','2010-03-23','12' -'92','val_92','2010-03-23','12' -'92','val_92','2010-03-23','12' -'95','val_95','2010-03-23','12' -'95','val_95','2010-03-23','12' -'95','val_95','2010-03-23','12' -'95','val_95','2010-03-23','12' -'96','val_96','2010-03-23','12' -'96','val_96','2010-03-23','12' -'97','val_97','2010-03-23','12' -'97','val_97','2010-03-23','12' -'97','val_97','2010-03-23','12' -'97','val_97','2010-03-23','12' -'98','val_98','2010-03-23','12' -'98','val_98','2010-03-23','12' -'98','val_98','2010-03-23','12' -'98','val_98','2010-03-23','12' -1,000 rows selected ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/load_dyn_part3.q.out ql/src/test/results/beelinepositive/load_dyn_part3.q.out deleted file mode 100644 index 7638857..0000000 --- ql/src/test/results/beelinepositive/load_dyn_part3.q.out +++ /dev/null @@ -1,2098 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/load_dyn_part3.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/load_dyn_part3.q ->>> show partitions srcpart; -'partition' -'ds=2008-04-08/hr=11' -'ds=2008-04-08/hr=12' -'ds=2008-04-09/hr=11' -'ds=2008-04-09/hr=12' -4 rows selected ->>> ->>> ->>> ->>> create table if not exists nzhang_part3 like srcpart; -No rows affected ->>> describe extended nzhang_part3; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'ds','string','' -'hr','string','' -'','','' -'Detailed Table Information','Table(tableName:nzhang_part3, dbName:load_dyn_part3, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:hr, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/load_dyn_part3.db/nzhang_part3, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:hr, type:string, comment:null)], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -6 rows selected ->>> ->>> set hive.merge.mapfiles=false; -No rows affected ->>> set hive.exec.dynamic.partition.mode=nonstrict; -No rows affected ->>> set hive.exec.dynamic.partition=true; -No rows affected ->>> ->>> explain -insert overwrite table nzhang_part3 partition (ds, hr) select key, value, ds, hr from srcpart where ds is not null and hr is not null; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME nzhang_part3) (TOK_PARTSPEC (TOK_PARTVAL ds) (TOK_PARTVAL hr)))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL ds)) (TOK_SELEXPR (TOK_TABLE_OR_COL hr))) (TOK_WHERE (and (TOK_FUNCTION TOK_ISNOTNULL (TOK_TABLE_OR_COL ds)) (TOK_FUNCTION TOK_ISNOTNULL (TOK_TABLE_OR_COL hr))))))' -'' -'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' -' Alias -> Map Operator Tree:' -' srcpart ' -' TableScan' -' alias: srcpart' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: load_dyn_part3.nzhang_part3' -'' -' 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: load_dyn_part3.nzhang_part3' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -52 rows selected ->>> ->>> insert overwrite table nzhang_part3 partition (ds, hr) select key, value, ds, hr from srcpart where ds is not null and hr is not null; -'key','value','ds','hr' -No rows selected ->>> ->>> select * from nzhang_part3 where ds is not null and hr is not null; -'key','value','ds','hr' -'238','val_238','2008-04-08','11' -'86','val_86','2008-04-08','11' -'311','val_311','2008-04-08','11' -'27','val_27','2008-04-08','11' -'165','val_165','2008-04-08','11' -'409','val_409','2008-04-08','11' -'255','val_255','2008-04-08','11' -'278','val_278','2008-04-08','11' -'98','val_98','2008-04-08','11' -'484','val_484','2008-04-08','11' -'265','val_265','2008-04-08','11' -'193','val_193','2008-04-08','11' -'401','val_401','2008-04-08','11' -'150','val_150','2008-04-08','11' -'273','val_273','2008-04-08','11' -'224','val_224','2008-04-08','11' -'369','val_369','2008-04-08','11' -'66','val_66','2008-04-08','11' -'128','val_128','2008-04-08','11' -'213','val_213','2008-04-08','11' -'146','val_146','2008-04-08','11' -'406','val_406','2008-04-08','11' -'429','val_429','2008-04-08','11' -'374','val_374','2008-04-08','11' -'152','val_152','2008-04-08','11' -'469','val_469','2008-04-08','11' -'145','val_145','2008-04-08','11' -'495','val_495','2008-04-08','11' -'37','val_37','2008-04-08','11' -'327','val_327','2008-04-08','11' -'281','val_281','2008-04-08','11' -'277','val_277','2008-04-08','11' -'209','val_209','2008-04-08','11' -'15','val_15','2008-04-08','11' -'82','val_82','2008-04-08','11' -'403','val_403','2008-04-08','11' -'166','val_166','2008-04-08','11' -'417','val_417','2008-04-08','11' -'430','val_430','2008-04-08','11' -'252','val_252','2008-04-08','11' -'292','val_292','2008-04-08','11' -'219','val_219','2008-04-08','11' -'287','val_287','2008-04-08','11' -'153','val_153','2008-04-08','11' -'193','val_193','2008-04-08','11' -'338','val_338','2008-04-08','11' -'446','val_446','2008-04-08','11' -'459','val_459','2008-04-08','11' -'394','val_394','2008-04-08','11' -'237','val_237','2008-04-08','11' -'482','val_482','2008-04-08','11' -'174','val_174','2008-04-08','11' -'413','val_413','2008-04-08','11' -'494','val_494','2008-04-08','11' -'207','val_207','2008-04-08','11' -'199','val_199','2008-04-08','11' -'466','val_466','2008-04-08','11' -'208','val_208','2008-04-08','11' -'174','val_174','2008-04-08','11' -'399','val_399','2008-04-08','11' -'396','val_396','2008-04-08','11' -'247','val_247','2008-04-08','11' -'417','val_417','2008-04-08','11' -'489','val_489','2008-04-08','11' -'162','val_162','2008-04-08','11' -'377','val_377','2008-04-08','11' -'397','val_397','2008-04-08','11' -'309','val_309','2008-04-08','11' -'365','val_365','2008-04-08','11' -'266','val_266','2008-04-08','11' -'439','val_439','2008-04-08','11' -'342','val_342','2008-04-08','11' -'367','val_367','2008-04-08','11' -'325','val_325','2008-04-08','11' -'167','val_167','2008-04-08','11' -'195','val_195','2008-04-08','11' -'475','val_475','2008-04-08','11' -'17','val_17','2008-04-08','11' -'113','val_113','2008-04-08','11' -'155','val_155','2008-04-08','11' -'203','val_203','2008-04-08','11' -'339','val_339','2008-04-08','11' -'0','val_0','2008-04-08','11' -'455','val_455','2008-04-08','11' -'128','val_128','2008-04-08','11' -'311','val_311','2008-04-08','11' -'316','val_316','2008-04-08','11' -'57','val_57','2008-04-08','11' -'302','val_302','2008-04-08','11' -'205','val_205','2008-04-08','11' -'149','val_149','2008-04-08','11' -'438','val_438','2008-04-08','11' -'345','val_345','2008-04-08','11' -'129','val_129','2008-04-08','11' -'170','val_170','2008-04-08','11' -'20','val_20','2008-04-08','11' -'489','val_489','2008-04-08','11' -'157','val_157','2008-04-08','11' -'378','val_378','2008-04-08','11' -'221','val_221','2008-04-08','11' -'92','val_92','2008-04-08','11' -'111','val_111','2008-04-08','11' -'47','val_47','2008-04-08','11' -'72','val_72','2008-04-08','11' -'4','val_4','2008-04-08','11' -'280','val_280','2008-04-08','11' -'35','val_35','2008-04-08','11' -'427','val_427','2008-04-08','11' -'277','val_277','2008-04-08','11' -'208','val_208','2008-04-08','11' -'356','val_356','2008-04-08','11' -'399','val_399','2008-04-08','11' -'169','val_169','2008-04-08','11' -'382','val_382','2008-04-08','11' -'498','val_498','2008-04-08','11' -'125','val_125','2008-04-08','11' -'386','val_386','2008-04-08','11' -'437','val_437','2008-04-08','11' -'469','val_469','2008-04-08','11' -'192','val_192','2008-04-08','11' -'286','val_286','2008-04-08','11' -'187','val_187','2008-04-08','11' -'176','val_176','2008-04-08','11' -'54','val_54','2008-04-08','11' -'459','val_459','2008-04-08','11' -'51','val_51','2008-04-08','11' -'138','val_138','2008-04-08','11' -'103','val_103','2008-04-08','11' -'239','val_239','2008-04-08','11' -'213','val_213','2008-04-08','11' -'216','val_216','2008-04-08','11' -'430','val_430','2008-04-08','11' -'278','val_278','2008-04-08','11' -'176','val_176','2008-04-08','11' -'289','val_289','2008-04-08','11' -'221','val_221','2008-04-08','11' -'65','val_65','2008-04-08','11' -'318','val_318','2008-04-08','11' -'332','val_332','2008-04-08','11' -'311','val_311','2008-04-08','11' -'275','val_275','2008-04-08','11' -'137','val_137','2008-04-08','11' -'241','val_241','2008-04-08','11' -'83','val_83','2008-04-08','11' -'333','val_333','2008-04-08','11' -'180','val_180','2008-04-08','11' -'284','val_284','2008-04-08','11' -'12','val_12','2008-04-08','11' -'230','val_230','2008-04-08','11' -'181','val_181','2008-04-08','11' -'67','val_67','2008-04-08','11' -'260','val_260','2008-04-08','11' -'404','val_404','2008-04-08','11' -'384','val_384','2008-04-08','11' -'489','val_489','2008-04-08','11' -'353','val_353','2008-04-08','11' -'373','val_373','2008-04-08','11' -'272','val_272','2008-04-08','11' -'138','val_138','2008-04-08','11' -'217','val_217','2008-04-08','11' -'84','val_84','2008-04-08','11' -'348','val_348','2008-04-08','11' -'466','val_466','2008-04-08','11' -'58','val_58','2008-04-08','11' -'8','val_8','2008-04-08','11' -'411','val_411','2008-04-08','11' -'230','val_230','2008-04-08','11' -'208','val_208','2008-04-08','11' -'348','val_348','2008-04-08','11' -'24','val_24','2008-04-08','11' -'463','val_463','2008-04-08','11' -'431','val_431','2008-04-08','11' -'179','val_179','2008-04-08','11' -'172','val_172','2008-04-08','11' -'42','val_42','2008-04-08','11' -'129','val_129','2008-04-08','11' -'158','val_158','2008-04-08','11' -'119','val_119','2008-04-08','11' -'496','val_496','2008-04-08','11' -'0','val_0','2008-04-08','11' -'322','val_322','2008-04-08','11' -'197','val_197','2008-04-08','11' -'468','val_468','2008-04-08','11' -'393','val_393','2008-04-08','11' -'454','val_454','2008-04-08','11' -'100','val_100','2008-04-08','11' -'298','val_298','2008-04-08','11' -'199','val_199','2008-04-08','11' -'191','val_191','2008-04-08','11' -'418','val_418','2008-04-08','11' -'96','val_96','2008-04-08','11' -'26','val_26','2008-04-08','11' -'165','val_165','2008-04-08','11' -'327','val_327','2008-04-08','11' -'230','val_230','2008-04-08','11' -'205','val_205','2008-04-08','11' -'120','val_120','2008-04-08','11' -'131','val_131','2008-04-08','11' -'51','val_51','2008-04-08','11' -'404','val_404','2008-04-08','11' -'43','val_43','2008-04-08','11' -'436','val_436','2008-04-08','11' -'156','val_156','2008-04-08','11' -'469','val_469','2008-04-08','11' -'468','val_468','2008-04-08','11' -'308','val_308','2008-04-08','11' -'95','val_95','2008-04-08','11' -'196','val_196','2008-04-08','11' -'288','val_288','2008-04-08','11' -'481','val_481','2008-04-08','11' -'457','val_457','2008-04-08','11' -'98','val_98','2008-04-08','11' -'282','val_282','2008-04-08','11' -'197','val_197','2008-04-08','11' -'187','val_187','2008-04-08','11' -'318','val_318','2008-04-08','11' -'318','val_318','2008-04-08','11' -'409','val_409','2008-04-08','11' -'470','val_470','2008-04-08','11' -'137','val_137','2008-04-08','11' -'369','val_369','2008-04-08','11' -'316','val_316','2008-04-08','11' -'169','val_169','2008-04-08','11' -'413','val_413','2008-04-08','11' -'85','val_85','2008-04-08','11' -'77','val_77','2008-04-08','11' -'0','val_0','2008-04-08','11' -'490','val_490','2008-04-08','11' -'87','val_87','2008-04-08','11' -'364','val_364','2008-04-08','11' -'179','val_179','2008-04-08','11' -'118','val_118','2008-04-08','11' -'134','val_134','2008-04-08','11' -'395','val_395','2008-04-08','11' -'282','val_282','2008-04-08','11' -'138','val_138','2008-04-08','11' -'238','val_238','2008-04-08','11' -'419','val_419','2008-04-08','11' -'15','val_15','2008-04-08','11' -'118','val_118','2008-04-08','11' -'72','val_72','2008-04-08','11' -'90','val_90','2008-04-08','11' -'307','val_307','2008-04-08','11' -'19','val_19','2008-04-08','11' -'435','val_435','2008-04-08','11' -'10','val_10','2008-04-08','11' -'277','val_277','2008-04-08','11' -'273','val_273','2008-04-08','11' -'306','val_306','2008-04-08','11' -'224','val_224','2008-04-08','11' -'309','val_309','2008-04-08','11' -'389','val_389','2008-04-08','11' -'327','val_327','2008-04-08','11' -'242','val_242','2008-04-08','11' -'369','val_369','2008-04-08','11' -'392','val_392','2008-04-08','11' -'272','val_272','2008-04-08','11' -'331','val_331','2008-04-08','11' -'401','val_401','2008-04-08','11' -'242','val_242','2008-04-08','11' -'452','val_452','2008-04-08','11' -'177','val_177','2008-04-08','11' -'226','val_226','2008-04-08','11' -'5','val_5','2008-04-08','11' -'497','val_497','2008-04-08','11' -'402','val_402','2008-04-08','11' -'396','val_396','2008-04-08','11' -'317','val_317','2008-04-08','11' -'395','val_395','2008-04-08','11' -'58','val_58','2008-04-08','11' -'35','val_35','2008-04-08','11' -'336','val_336','2008-04-08','11' -'95','val_95','2008-04-08','11' -'11','val_11','2008-04-08','11' -'168','val_168','2008-04-08','11' -'34','val_34','2008-04-08','11' -'229','val_229','2008-04-08','11' -'233','val_233','2008-04-08','11' -'143','val_143','2008-04-08','11' -'472','val_472','2008-04-08','11' -'322','val_322','2008-04-08','11' -'498','val_498','2008-04-08','11' -'160','val_160','2008-04-08','11' -'195','val_195','2008-04-08','11' -'42','val_42','2008-04-08','11' -'321','val_321','2008-04-08','11' -'430','val_430','2008-04-08','11' -'119','val_119','2008-04-08','11' -'489','val_489','2008-04-08','11' -'458','val_458','2008-04-08','11' -'78','val_78','2008-04-08','11' -'76','val_76','2008-04-08','11' -'41','val_41','2008-04-08','11' -'223','val_223','2008-04-08','11' -'492','val_492','2008-04-08','11' -'149','val_149','2008-04-08','11' -'449','val_449','2008-04-08','11' -'218','val_218','2008-04-08','11' -'228','val_228','2008-04-08','11' -'138','val_138','2008-04-08','11' -'453','val_453','2008-04-08','11' -'30','val_30','2008-04-08','11' -'209','val_209','2008-04-08','11' -'64','val_64','2008-04-08','11' -'468','val_468','2008-04-08','11' -'76','val_76','2008-04-08','11' -'74','val_74','2008-04-08','11' -'342','val_342','2008-04-08','11' -'69','val_69','2008-04-08','11' -'230','val_230','2008-04-08','11' -'33','val_33','2008-04-08','11' -'368','val_368','2008-04-08','11' -'103','val_103','2008-04-08','11' -'296','val_296','2008-04-08','11' -'113','val_113','2008-04-08','11' -'216','val_216','2008-04-08','11' -'367','val_367','2008-04-08','11' -'344','val_344','2008-04-08','11' -'167','val_167','2008-04-08','11' -'274','val_274','2008-04-08','11' -'219','val_219','2008-04-08','11' -'239','val_239','2008-04-08','11' -'485','val_485','2008-04-08','11' -'116','val_116','2008-04-08','11' -'223','val_223','2008-04-08','11' -'256','val_256','2008-04-08','11' -'263','val_263','2008-04-08','11' -'70','val_70','2008-04-08','11' -'487','val_487','2008-04-08','11' -'480','val_480','2008-04-08','11' -'401','val_401','2008-04-08','11' -'288','val_288','2008-04-08','11' -'191','val_191','2008-04-08','11' -'5','val_5','2008-04-08','11' -'244','val_244','2008-04-08','11' -'438','val_438','2008-04-08','11' -'128','val_128','2008-04-08','11' -'467','val_467','2008-04-08','11' -'432','val_432','2008-04-08','11' -'202','val_202','2008-04-08','11' -'316','val_316','2008-04-08','11' -'229','val_229','2008-04-08','11' -'469','val_469','2008-04-08','11' -'463','val_463','2008-04-08','11' -'280','val_280','2008-04-08','11' -'2','val_2','2008-04-08','11' -'35','val_35','2008-04-08','11' -'283','val_283','2008-04-08','11' -'331','val_331','2008-04-08','11' -'235','val_235','2008-04-08','11' -'80','val_80','2008-04-08','11' -'44','val_44','2008-04-08','11' -'193','val_193','2008-04-08','11' -'321','val_321','2008-04-08','11' -'335','val_335','2008-04-08','11' -'104','val_104','2008-04-08','11' -'466','val_466','2008-04-08','11' -'366','val_366','2008-04-08','11' -'175','val_175','2008-04-08','11' -'403','val_403','2008-04-08','11' -'483','val_483','2008-04-08','11' -'53','val_53','2008-04-08','11' -'105','val_105','2008-04-08','11' -'257','val_257','2008-04-08','11' -'406','val_406','2008-04-08','11' -'409','val_409','2008-04-08','11' -'190','val_190','2008-04-08','11' -'406','val_406','2008-04-08','11' -'401','val_401','2008-04-08','11' -'114','val_114','2008-04-08','11' -'258','val_258','2008-04-08','11' -'90','val_90','2008-04-08','11' -'203','val_203','2008-04-08','11' -'262','val_262','2008-04-08','11' -'348','val_348','2008-04-08','11' -'424','val_424','2008-04-08','11' -'12','val_12','2008-04-08','11' -'396','val_396','2008-04-08','11' -'201','val_201','2008-04-08','11' -'217','val_217','2008-04-08','11' -'164','val_164','2008-04-08','11' -'431','val_431','2008-04-08','11' -'454','val_454','2008-04-08','11' -'478','val_478','2008-04-08','11' -'298','val_298','2008-04-08','11' -'125','val_125','2008-04-08','11' -'431','val_431','2008-04-08','11' -'164','val_164','2008-04-08','11' -'424','val_424','2008-04-08','11' -'187','val_187','2008-04-08','11' -'382','val_382','2008-04-08','11' -'5','val_5','2008-04-08','11' -'70','val_70','2008-04-08','11' -'397','val_397','2008-04-08','11' -'480','val_480','2008-04-08','11' -'291','val_291','2008-04-08','11' -'24','val_24','2008-04-08','11' -'351','val_351','2008-04-08','11' -'255','val_255','2008-04-08','11' -'104','val_104','2008-04-08','11' -'70','val_70','2008-04-08','11' -'163','val_163','2008-04-08','11' -'438','val_438','2008-04-08','11' -'119','val_119','2008-04-08','11' -'414','val_414','2008-04-08','11' -'200','val_200','2008-04-08','11' -'491','val_491','2008-04-08','11' -'237','val_237','2008-04-08','11' -'439','val_439','2008-04-08','11' -'360','val_360','2008-04-08','11' -'248','val_248','2008-04-08','11' -'479','val_479','2008-04-08','11' -'305','val_305','2008-04-08','11' -'417','val_417','2008-04-08','11' -'199','val_199','2008-04-08','11' -'444','val_444','2008-04-08','11' -'120','val_120','2008-04-08','11' -'429','val_429','2008-04-08','11' -'169','val_169','2008-04-08','11' -'443','val_443','2008-04-08','11' -'323','val_323','2008-04-08','11' -'325','val_325','2008-04-08','11' -'277','val_277','2008-04-08','11' -'230','val_230','2008-04-08','11' -'478','val_478','2008-04-08','11' -'178','val_178','2008-04-08','11' -'468','val_468','2008-04-08','11' -'310','val_310','2008-04-08','11' -'317','val_317','2008-04-08','11' -'333','val_333','2008-04-08','11' -'493','val_493','2008-04-08','11' -'460','val_460','2008-04-08','11' -'207','val_207','2008-04-08','11' -'249','val_249','2008-04-08','11' -'265','val_265','2008-04-08','11' -'480','val_480','2008-04-08','11' -'83','val_83','2008-04-08','11' -'136','val_136','2008-04-08','11' -'353','val_353','2008-04-08','11' -'172','val_172','2008-04-08','11' -'214','val_214','2008-04-08','11' -'462','val_462','2008-04-08','11' -'233','val_233','2008-04-08','11' -'406','val_406','2008-04-08','11' -'133','val_133','2008-04-08','11' -'175','val_175','2008-04-08','11' -'189','val_189','2008-04-08','11' -'454','val_454','2008-04-08','11' -'375','val_375','2008-04-08','11' -'401','val_401','2008-04-08','11' -'421','val_421','2008-04-08','11' -'407','val_407','2008-04-08','11' -'384','val_384','2008-04-08','11' -'256','val_256','2008-04-08','11' -'26','val_26','2008-04-08','11' -'134','val_134','2008-04-08','11' -'67','val_67','2008-04-08','11' -'384','val_384','2008-04-08','11' -'379','val_379','2008-04-08','11' -'18','val_18','2008-04-08','11' -'462','val_462','2008-04-08','11' -'492','val_492','2008-04-08','11' -'100','val_100','2008-04-08','11' -'298','val_298','2008-04-08','11' -'9','val_9','2008-04-08','11' -'341','val_341','2008-04-08','11' -'498','val_498','2008-04-08','11' -'146','val_146','2008-04-08','11' -'458','val_458','2008-04-08','11' -'362','val_362','2008-04-08','11' -'186','val_186','2008-04-08','11' -'285','val_285','2008-04-08','11' -'348','val_348','2008-04-08','11' -'167','val_167','2008-04-08','11' -'18','val_18','2008-04-08','11' -'273','val_273','2008-04-08','11' -'183','val_183','2008-04-08','11' -'281','val_281','2008-04-08','11' -'344','val_344','2008-04-08','11' -'97','val_97','2008-04-08','11' -'469','val_469','2008-04-08','11' -'315','val_315','2008-04-08','11' -'84','val_84','2008-04-08','11' -'28','val_28','2008-04-08','11' -'37','val_37','2008-04-08','11' -'448','val_448','2008-04-08','11' -'152','val_152','2008-04-08','11' -'348','val_348','2008-04-08','11' -'307','val_307','2008-04-08','11' -'194','val_194','2008-04-08','11' -'414','val_414','2008-04-08','11' -'477','val_477','2008-04-08','11' -'222','val_222','2008-04-08','11' -'126','val_126','2008-04-08','11' -'90','val_90','2008-04-08','11' -'169','val_169','2008-04-08','11' -'403','val_403','2008-04-08','11' -'400','val_400','2008-04-08','11' -'200','val_200','2008-04-08','11' -'97','val_97','2008-04-08','11' -'238','val_238','2008-04-08','12' -'86','val_86','2008-04-08','12' -'311','val_311','2008-04-08','12' -'27','val_27','2008-04-08','12' -'165','val_165','2008-04-08','12' -'409','val_409','2008-04-08','12' -'255','val_255','2008-04-08','12' -'278','val_278','2008-04-08','12' -'98','val_98','2008-04-08','12' -'484','val_484','2008-04-08','12' -'265','val_265','2008-04-08','12' -'193','val_193','2008-04-08','12' -'401','val_401','2008-04-08','12' -'150','val_150','2008-04-08','12' -'273','val_273','2008-04-08','12' -'224','val_224','2008-04-08','12' -'369','val_369','2008-04-08','12' -'66','val_66','2008-04-08','12' -'128','val_128','2008-04-08','12' -'213','val_213','2008-04-08','12' -'146','val_146','2008-04-08','12' -'406','val_406','2008-04-08','12' -'429','val_429','2008-04-08','12' -'374','val_374','2008-04-08','12' -'152','val_152','2008-04-08','12' -'469','val_469','2008-04-08','12' -'145','val_145','2008-04-08','12' -'495','val_495','2008-04-08','12' -'37','val_37','2008-04-08','12' -'327','val_327','2008-04-08','12' -'281','val_281','2008-04-08','12' -'277','val_277','2008-04-08','12' -'209','val_209','2008-04-08','12' -'15','val_15','2008-04-08','12' -'82','val_82','2008-04-08','12' -'403','val_403','2008-04-08','12' -'166','val_166','2008-04-08','12' -'417','val_417','2008-04-08','12' -'430','val_430','2008-04-08','12' -'252','val_252','2008-04-08','12' -'292','val_292','2008-04-08','12' -'219','val_219','2008-04-08','12' -'287','val_287','2008-04-08','12' -'153','val_153','2008-04-08','12' -'193','val_193','2008-04-08','12' -'338','val_338','2008-04-08','12' -'446','val_446','2008-04-08','12' -'459','val_459','2008-04-08','12' -'394','val_394','2008-04-08','12' -'237','val_237','2008-04-08','12' -'482','val_482','2008-04-08','12' -'174','val_174','2008-04-08','12' -'413','val_413','2008-04-08','12' -'494','val_494','2008-04-08','12' -'207','val_207','2008-04-08','12' -'199','val_199','2008-04-08','12' -'466','val_466','2008-04-08','12' -'208','val_208','2008-04-08','12' -'174','val_174','2008-04-08','12' -'399','val_399','2008-04-08','12' -'396','val_396','2008-04-08','12' -'247','val_247','2008-04-08','12' -'417','val_417','2008-04-08','12' -'489','val_489','2008-04-08','12' -'162','val_162','2008-04-08','12' -'377','val_377','2008-04-08','12' -'397','val_397','2008-04-08','12' -'309','val_309','2008-04-08','12' -'365','val_365','2008-04-08','12' -'266','val_266','2008-04-08','12' -'439','val_439','2008-04-08','12' -'342','val_342','2008-04-08','12' -'367','val_367','2008-04-08','12' -'325','val_325','2008-04-08','12' -'167','val_167','2008-04-08','12' -'195','val_195','2008-04-08','12' -'475','val_475','2008-04-08','12' -'17','val_17','2008-04-08','12' -'113','val_113','2008-04-08','12' -'155','val_155','2008-04-08','12' -'203','val_203','2008-04-08','12' -'339','val_339','2008-04-08','12' -'0','val_0','2008-04-08','12' -'455','val_455','2008-04-08','12' -'128','val_128','2008-04-08','12' -'311','val_311','2008-04-08','12' -'316','val_316','2008-04-08','12' -'57','val_57','2008-04-08','12' -'302','val_302','2008-04-08','12' -'205','val_205','2008-04-08','12' -'149','val_149','2008-04-08','12' -'438','val_438','2008-04-08','12' -'345','val_345','2008-04-08','12' -'129','val_129','2008-04-08','12' -'170','val_170','2008-04-08','12' -'20','val_20','2008-04-08','12' -'489','val_489','2008-04-08','12' -'157','val_157','2008-04-08','12' -'378','val_378','2008-04-08','12' -'221','val_221','2008-04-08','12' -'92','val_92','2008-04-08','12' -'111','val_111','2008-04-08','12' -'47','val_47','2008-04-08','12' -'72','val_72','2008-04-08','12' -'4','val_4','2008-04-08','12' -'280','val_280','2008-04-08','12' -'35','val_35','2008-04-08','12' -'427','val_427','2008-04-08','12' -'277','val_277','2008-04-08','12' -'208','val_208','2008-04-08','12' -'356','val_356','2008-04-08','12' -'399','val_399','2008-04-08','12' -'169','val_169','2008-04-08','12' -'382','val_382','2008-04-08','12' -'498','val_498','2008-04-08','12' -'125','val_125','2008-04-08','12' -'386','val_386','2008-04-08','12' -'437','val_437','2008-04-08','12' -'469','val_469','2008-04-08','12' -'192','val_192','2008-04-08','12' -'286','val_286','2008-04-08','12' -'187','val_187','2008-04-08','12' -'176','val_176','2008-04-08','12' -'54','val_54','2008-04-08','12' -'459','val_459','2008-04-08','12' -'51','val_51','2008-04-08','12' -'138','val_138','2008-04-08','12' -'103','val_103','2008-04-08','12' -'239','val_239','2008-04-08','12' -'213','val_213','2008-04-08','12' -'216','val_216','2008-04-08','12' -'430','val_430','2008-04-08','12' -'278','val_278','2008-04-08','12' -'176','val_176','2008-04-08','12' -'289','val_289','2008-04-08','12' -'221','val_221','2008-04-08','12' -'65','val_65','2008-04-08','12' -'318','val_318','2008-04-08','12' -'332','val_332','2008-04-08','12' -'311','val_311','2008-04-08','12' -'275','val_275','2008-04-08','12' -'137','val_137','2008-04-08','12' -'241','val_241','2008-04-08','12' -'83','val_83','2008-04-08','12' -'333','val_333','2008-04-08','12' -'180','val_180','2008-04-08','12' -'284','val_284','2008-04-08','12' -'12','val_12','2008-04-08','12' -'230','val_230','2008-04-08','12' -'181','val_181','2008-04-08','12' -'67','val_67','2008-04-08','12' -'260','val_260','2008-04-08','12' -'404','val_404','2008-04-08','12' -'384','val_384','2008-04-08','12' -'489','val_489','2008-04-08','12' -'353','val_353','2008-04-08','12' -'373','val_373','2008-04-08','12' -'272','val_272','2008-04-08','12' -'138','val_138','2008-04-08','12' -'217','val_217','2008-04-08','12' -'84','val_84','2008-04-08','12' -'348','val_348','2008-04-08','12' -'466','val_466','2008-04-08','12' -'58','val_58','2008-04-08','12' -'8','val_8','2008-04-08','12' -'411','val_411','2008-04-08','12' -'230','val_230','2008-04-08','12' -'208','val_208','2008-04-08','12' -'348','val_348','2008-04-08','12' -'24','val_24','2008-04-08','12' -'463','val_463','2008-04-08','12' -'431','val_431','2008-04-08','12' -'179','val_179','2008-04-08','12' -'172','val_172','2008-04-08','12' -'42','val_42','2008-04-08','12' -'129','val_129','2008-04-08','12' -'158','val_158','2008-04-08','12' -'119','val_119','2008-04-08','12' -'496','val_496','2008-04-08','12' -'0','val_0','2008-04-08','12' -'322','val_322','2008-04-08','12' -'197','val_197','2008-04-08','12' -'468','val_468','2008-04-08','12' -'393','val_393','2008-04-08','12' -'454','val_454','2008-04-08','12' -'100','val_100','2008-04-08','12' -'298','val_298','2008-04-08','12' -'199','val_199','2008-04-08','12' -'191','val_191','2008-04-08','12' -'418','val_418','2008-04-08','12' -'96','val_96','2008-04-08','12' -'26','val_26','2008-04-08','12' -'165','val_165','2008-04-08','12' -'327','val_327','2008-04-08','12' -'230','val_230','2008-04-08','12' -'205','val_205','2008-04-08','12' -'120','val_120','2008-04-08','12' -'131','val_131','2008-04-08','12' -'51','val_51','2008-04-08','12' -'404','val_404','2008-04-08','12' -'43','val_43','2008-04-08','12' -'436','val_436','2008-04-08','12' -'156','val_156','2008-04-08','12' -'469','val_469','2008-04-08','12' -'468','val_468','2008-04-08','12' -'308','val_308','2008-04-08','12' -'95','val_95','2008-04-08','12' -'196','val_196','2008-04-08','12' -'288','val_288','2008-04-08','12' -'481','val_481','2008-04-08','12' -'457','val_457','2008-04-08','12' -'98','val_98','2008-04-08','12' -'282','val_282','2008-04-08','12' -'197','val_197','2008-04-08','12' -'187','val_187','2008-04-08','12' -'318','val_318','2008-04-08','12' -'318','val_318','2008-04-08','12' -'409','val_409','2008-04-08','12' -'470','val_470','2008-04-08','12' -'137','val_137','2008-04-08','12' -'369','val_369','2008-04-08','12' -'316','val_316','2008-04-08','12' -'169','val_169','2008-04-08','12' -'413','val_413','2008-04-08','12' -'85','val_85','2008-04-08','12' -'77','val_77','2008-04-08','12' -'0','val_0','2008-04-08','12' -'490','val_490','2008-04-08','12' -'87','val_87','2008-04-08','12' -'364','val_364','2008-04-08','12' -'179','val_179','2008-04-08','12' -'118','val_118','2008-04-08','12' -'134','val_134','2008-04-08','12' -'395','val_395','2008-04-08','12' -'282','val_282','2008-04-08','12' -'138','val_138','2008-04-08','12' -'238','val_238','2008-04-08','12' -'419','val_419','2008-04-08','12' -'15','val_15','2008-04-08','12' -'118','val_118','2008-04-08','12' -'72','val_72','2008-04-08','12' -'90','val_90','2008-04-08','12' -'307','val_307','2008-04-08','12' -'19','val_19','2008-04-08','12' -'435','val_435','2008-04-08','12' -'10','val_10','2008-04-08','12' -'277','val_277','2008-04-08','12' -'273','val_273','2008-04-08','12' -'306','val_306','2008-04-08','12' -'224','val_224','2008-04-08','12' -'309','val_309','2008-04-08','12' -'389','val_389','2008-04-08','12' -'327','val_327','2008-04-08','12' -'242','val_242','2008-04-08','12' -'369','val_369','2008-04-08','12' -'392','val_392','2008-04-08','12' -'272','val_272','2008-04-08','12' -'331','val_331','2008-04-08','12' -'401','val_401','2008-04-08','12' -'242','val_242','2008-04-08','12' -'452','val_452','2008-04-08','12' -'177','val_177','2008-04-08','12' -'226','val_226','2008-04-08','12' -'5','val_5','2008-04-08','12' -'497','val_497','2008-04-08','12' -'402','val_402','2008-04-08','12' -'396','val_396','2008-04-08','12' -'317','val_317','2008-04-08','12' -'395','val_395','2008-04-08','12' -'58','val_58','2008-04-08','12' -'35','val_35','2008-04-08','12' -'336','val_336','2008-04-08','12' -'95','val_95','2008-04-08','12' -'11','val_11','2008-04-08','12' -'168','val_168','2008-04-08','12' -'34','val_34','2008-04-08','12' -'229','val_229','2008-04-08','12' -'233','val_233','2008-04-08','12' -'143','val_143','2008-04-08','12' -'472','val_472','2008-04-08','12' -'322','val_322','2008-04-08','12' -'498','val_498','2008-04-08','12' -'160','val_160','2008-04-08','12' -'195','val_195','2008-04-08','12' -'42','val_42','2008-04-08','12' -'321','val_321','2008-04-08','12' -'430','val_430','2008-04-08','12' -'119','val_119','2008-04-08','12' -'489','val_489','2008-04-08','12' -'458','val_458','2008-04-08','12' -'78','val_78','2008-04-08','12' -'76','val_76','2008-04-08','12' -'41','val_41','2008-04-08','12' -'223','val_223','2008-04-08','12' -'492','val_492','2008-04-08','12' -'149','val_149','2008-04-08','12' -'449','val_449','2008-04-08','12' -'218','val_218','2008-04-08','12' -'228','val_228','2008-04-08','12' -'138','val_138','2008-04-08','12' -'453','val_453','2008-04-08','12' -'30','val_30','2008-04-08','12' -'209','val_209','2008-04-08','12' -'64','val_64','2008-04-08','12' -'468','val_468','2008-04-08','12' -'76','val_76','2008-04-08','12' -'74','val_74','2008-04-08','12' -'342','val_342','2008-04-08','12' -'69','val_69','2008-04-08','12' -'230','val_230','2008-04-08','12' -'33','val_33','2008-04-08','12' -'368','val_368','2008-04-08','12' -'103','val_103','2008-04-08','12' -'296','val_296','2008-04-08','12' -'113','val_113','2008-04-08','12' -'216','val_216','2008-04-08','12' -'367','val_367','2008-04-08','12' -'344','val_344','2008-04-08','12' -'167','val_167','2008-04-08','12' -'274','val_274','2008-04-08','12' -'219','val_219','2008-04-08','12' -'239','val_239','2008-04-08','12' -'485','val_485','2008-04-08','12' -'116','val_116','2008-04-08','12' -'223','val_223','2008-04-08','12' -'256','val_256','2008-04-08','12' -'263','val_263','2008-04-08','12' -'70','val_70','2008-04-08','12' -'487','val_487','2008-04-08','12' -'480','val_480','2008-04-08','12' -'401','val_401','2008-04-08','12' -'288','val_288','2008-04-08','12' -'191','val_191','2008-04-08','12' -'5','val_5','2008-04-08','12' -'244','val_244','2008-04-08','12' -'438','val_438','2008-04-08','12' -'128','val_128','2008-04-08','12' -'467','val_467','2008-04-08','12' -'432','val_432','2008-04-08','12' -'202','val_202','2008-04-08','12' -'316','val_316','2008-04-08','12' -'229','val_229','2008-04-08','12' -'469','val_469','2008-04-08','12' -'463','val_463','2008-04-08','12' -'280','val_280','2008-04-08','12' -'2','val_2','2008-04-08','12' -'35','val_35','2008-04-08','12' -'283','val_283','2008-04-08','12' -'331','val_331','2008-04-08','12' -'235','val_235','2008-04-08','12' -'80','val_80','2008-04-08','12' -'44','val_44','2008-04-08','12' -'193','val_193','2008-04-08','12' -'321','val_321','2008-04-08','12' -'335','val_335','2008-04-08','12' -'104','val_104','2008-04-08','12' -'466','val_466','2008-04-08','12' -'366','val_366','2008-04-08','12' -'175','val_175','2008-04-08','12' -'403','val_403','2008-04-08','12' -'483','val_483','2008-04-08','12' -'53','val_53','2008-04-08','12' -'105','val_105','2008-04-08','12' -'257','val_257','2008-04-08','12' -'406','val_406','2008-04-08','12' -'409','val_409','2008-04-08','12' -'190','val_190','2008-04-08','12' -'406','val_406','2008-04-08','12' -'401','val_401','2008-04-08','12' -'114','val_114','2008-04-08','12' -'258','val_258','2008-04-08','12' -'90','val_90','2008-04-08','12' -'203','val_203','2008-04-08','12' -'262','val_262','2008-04-08','12' -'348','val_348','2008-04-08','12' -'424','val_424','2008-04-08','12' -'12','val_12','2008-04-08','12' -'396','val_396','2008-04-08','12' -'201','val_201','2008-04-08','12' -'217','val_217','2008-04-08','12' -'164','val_164','2008-04-08','12' -'431','val_431','2008-04-08','12' -'454','val_454','2008-04-08','12' -'478','val_478','2008-04-08','12' -'298','val_298','2008-04-08','12' -'125','val_125','2008-04-08','12' -'431','val_431','2008-04-08','12' -'164','val_164','2008-04-08','12' -'424','val_424','2008-04-08','12' -'187','val_187','2008-04-08','12' -'382','val_382','2008-04-08','12' -'5','val_5','2008-04-08','12' -'70','val_70','2008-04-08','12' -'397','val_397','2008-04-08','12' -'480','val_480','2008-04-08','12' -'291','val_291','2008-04-08','12' -'24','val_24','2008-04-08','12' -'351','val_351','2008-04-08','12' -'255','val_255','2008-04-08','12' -'104','val_104','2008-04-08','12' -'70','val_70','2008-04-08','12' -'163','val_163','2008-04-08','12' -'438','val_438','2008-04-08','12' -'119','val_119','2008-04-08','12' -'414','val_414','2008-04-08','12' -'200','val_200','2008-04-08','12' -'491','val_491','2008-04-08','12' -'237','val_237','2008-04-08','12' -'439','val_439','2008-04-08','12' -'360','val_360','2008-04-08','12' -'248','val_248','2008-04-08','12' -'479','val_479','2008-04-08','12' -'305','val_305','2008-04-08','12' -'417','val_417','2008-04-08','12' -'199','val_199','2008-04-08','12' -'444','val_444','2008-04-08','12' -'120','val_120','2008-04-08','12' -'429','val_429','2008-04-08','12' -'169','val_169','2008-04-08','12' -'443','val_443','2008-04-08','12' -'323','val_323','2008-04-08','12' -'325','val_325','2008-04-08','12' -'277','val_277','2008-04-08','12' -'230','val_230','2008-04-08','12' -'478','val_478','2008-04-08','12' -'178','val_178','2008-04-08','12' -'468','val_468','2008-04-08','12' -'310','val_310','2008-04-08','12' -'317','val_317','2008-04-08','12' -'333','val_333','2008-04-08','12' -'493','val_493','2008-04-08','12' -'460','val_460','2008-04-08','12' -'207','val_207','2008-04-08','12' -'249','val_249','2008-04-08','12' -'265','val_265','2008-04-08','12' -'480','val_480','2008-04-08','12' -'83','val_83','2008-04-08','12' -'136','val_136','2008-04-08','12' -'353','val_353','2008-04-08','12' -'172','val_172','2008-04-08','12' -'214','val_214','2008-04-08','12' -'462','val_462','2008-04-08','12' -'233','val_233','2008-04-08','12' -'406','val_406','2008-04-08','12' -'133','val_133','2008-04-08','12' -'175','val_175','2008-04-08','12' -'189','val_189','2008-04-08','12' -'454','val_454','2008-04-08','12' -'375','val_375','2008-04-08','12' -'401','val_401','2008-04-08','12' -'421','val_421','2008-04-08','12' -'407','val_407','2008-04-08','12' -'384','val_384','2008-04-08','12' -'256','val_256','2008-04-08','12' -'26','val_26','2008-04-08','12' -'134','val_134','2008-04-08','12' -'67','val_67','2008-04-08','12' -'384','val_384','2008-04-08','12' -'379','val_379','2008-04-08','12' -'18','val_18','2008-04-08','12' -'462','val_462','2008-04-08','12' -'492','val_492','2008-04-08','12' -'100','val_100','2008-04-08','12' -'298','val_298','2008-04-08','12' -'9','val_9','2008-04-08','12' -'341','val_341','2008-04-08','12' -'498','val_498','2008-04-08','12' -'146','val_146','2008-04-08','12' -'458','val_458','2008-04-08','12' -'362','val_362','2008-04-08','12' -'186','val_186','2008-04-08','12' -'285','val_285','2008-04-08','12' -'348','val_348','2008-04-08','12' -'167','val_167','2008-04-08','12' -'18','val_18','2008-04-08','12' -'273','val_273','2008-04-08','12' -'183','val_183','2008-04-08','12' -'281','val_281','2008-04-08','12' -'344','val_344','2008-04-08','12' -'97','val_97','2008-04-08','12' -'469','val_469','2008-04-08','12' -'315','val_315','2008-04-08','12' -'84','val_84','2008-04-08','12' -'28','val_28','2008-04-08','12' -'37','val_37','2008-04-08','12' -'448','val_448','2008-04-08','12' -'152','val_152','2008-04-08','12' -'348','val_348','2008-04-08','12' -'307','val_307','2008-04-08','12' -'194','val_194','2008-04-08','12' -'414','val_414','2008-04-08','12' -'477','val_477','2008-04-08','12' -'222','val_222','2008-04-08','12' -'126','val_126','2008-04-08','12' -'90','val_90','2008-04-08','12' -'169','val_169','2008-04-08','12' -'403','val_403','2008-04-08','12' -'400','val_400','2008-04-08','12' -'200','val_200','2008-04-08','12' -'97','val_97','2008-04-08','12' -'238','val_238','2008-04-09','11' -'86','val_86','2008-04-09','11' -'311','val_311','2008-04-09','11' -'27','val_27','2008-04-09','11' -'165','val_165','2008-04-09','11' -'409','val_409','2008-04-09','11' -'255','val_255','2008-04-09','11' -'278','val_278','2008-04-09','11' -'98','val_98','2008-04-09','11' -'484','val_484','2008-04-09','11' -'265','val_265','2008-04-09','11' -'193','val_193','2008-04-09','11' -'401','val_401','2008-04-09','11' -'150','val_150','2008-04-09','11' -'273','val_273','2008-04-09','11' -'224','val_224','2008-04-09','11' -'369','val_369','2008-04-09','11' -'66','val_66','2008-04-09','11' -'128','val_128','2008-04-09','11' -'213','val_213','2008-04-09','11' -'146','val_146','2008-04-09','11' -'406','val_406','2008-04-09','11' -'429','val_429','2008-04-09','11' -'374','val_374','2008-04-09','11' -'152','val_152','2008-04-09','11' -'469','val_469','2008-04-09','11' -'145','val_145','2008-04-09','11' -'495','val_495','2008-04-09','11' -'37','val_37','2008-04-09','11' -'327','val_327','2008-04-09','11' -'281','val_281','2008-04-09','11' -'277','val_277','2008-04-09','11' -'209','val_209','2008-04-09','11' -'15','val_15','2008-04-09','11' -'82','val_82','2008-04-09','11' -'403','val_403','2008-04-09','11' -'166','val_166','2008-04-09','11' -'417','val_417','2008-04-09','11' -'430','val_430','2008-04-09','11' -'252','val_252','2008-04-09','11' -'292','val_292','2008-04-09','11' -'219','val_219','2008-04-09','11' -'287','val_287','2008-04-09','11' -'153','val_153','2008-04-09','11' -'193','val_193','2008-04-09','11' -'338','val_338','2008-04-09','11' -'446','val_446','2008-04-09','11' -'459','val_459','2008-04-09','11' -'394','val_394','2008-04-09','11' -'237','val_237','2008-04-09','11' -'482','val_482','2008-04-09','11' -'174','val_174','2008-04-09','11' -'413','val_413','2008-04-09','11' -'494','val_494','2008-04-09','11' -'207','val_207','2008-04-09','11' -'199','val_199','2008-04-09','11' -'466','val_466','2008-04-09','11' -'208','val_208','2008-04-09','11' -'174','val_174','2008-04-09','11' -'399','val_399','2008-04-09','11' -'396','val_396','2008-04-09','11' -'247','val_247','2008-04-09','11' -'417','val_417','2008-04-09','11' -'489','val_489','2008-04-09','11' -'162','val_162','2008-04-09','11' -'377','val_377','2008-04-09','11' -'397','val_397','2008-04-09','11' -'309','val_309','2008-04-09','11' -'365','val_365','2008-04-09','11' -'266','val_266','2008-04-09','11' -'439','val_439','2008-04-09','11' -'342','val_342','2008-04-09','11' -'367','val_367','2008-04-09','11' -'325','val_325','2008-04-09','11' -'167','val_167','2008-04-09','11' -'195','val_195','2008-04-09','11' -'475','val_475','2008-04-09','11' -'17','val_17','2008-04-09','11' -'113','val_113','2008-04-09','11' -'155','val_155','2008-04-09','11' -'203','val_203','2008-04-09','11' -'339','val_339','2008-04-09','11' -'0','val_0','2008-04-09','11' -'455','val_455','2008-04-09','11' -'128','val_128','2008-04-09','11' -'311','val_311','2008-04-09','11' -'316','val_316','2008-04-09','11' -'57','val_57','2008-04-09','11' -'302','val_302','2008-04-09','11' -'205','val_205','2008-04-09','11' -'149','val_149','2008-04-09','11' -'438','val_438','2008-04-09','11' -'345','val_345','2008-04-09','11' -'129','val_129','2008-04-09','11' -'170','val_170','2008-04-09','11' -'20','val_20','2008-04-09','11' -'489','val_489','2008-04-09','11' -'157','val_157','2008-04-09','11' -'378','val_378','2008-04-09','11' -'221','val_221','2008-04-09','11' -'92','val_92','2008-04-09','11' -'111','val_111','2008-04-09','11' -'47','val_47','2008-04-09','11' -'72','val_72','2008-04-09','11' -'4','val_4','2008-04-09','11' -'280','val_280','2008-04-09','11' -'35','val_35','2008-04-09','11' -'427','val_427','2008-04-09','11' -'277','val_277','2008-04-09','11' -'208','val_208','2008-04-09','11' -'356','val_356','2008-04-09','11' -'399','val_399','2008-04-09','11' -'169','val_169','2008-04-09','11' -'382','val_382','2008-04-09','11' -'498','val_498','2008-04-09','11' -'125','val_125','2008-04-09','11' -'386','val_386','2008-04-09','11' -'437','val_437','2008-04-09','11' -'469','val_469','2008-04-09','11' -'192','val_192','2008-04-09','11' -'286','val_286','2008-04-09','11' -'187','val_187','2008-04-09','11' -'176','val_176','2008-04-09','11' -'54','val_54','2008-04-09','11' -'459','val_459','2008-04-09','11' -'51','val_51','2008-04-09','11' -'138','val_138','2008-04-09','11' -'103','val_103','2008-04-09','11' -'239','val_239','2008-04-09','11' -'213','val_213','2008-04-09','11' -'216','val_216','2008-04-09','11' -'430','val_430','2008-04-09','11' -'278','val_278','2008-04-09','11' -'176','val_176','2008-04-09','11' -'289','val_289','2008-04-09','11' -'221','val_221','2008-04-09','11' -'65','val_65','2008-04-09','11' -'318','val_318','2008-04-09','11' -'332','val_332','2008-04-09','11' -'311','val_311','2008-04-09','11' -'275','val_275','2008-04-09','11' -'137','val_137','2008-04-09','11' -'241','val_241','2008-04-09','11' -'83','val_83','2008-04-09','11' -'333','val_333','2008-04-09','11' -'180','val_180','2008-04-09','11' -'284','val_284','2008-04-09','11' -'12','val_12','2008-04-09','11' -'230','val_230','2008-04-09','11' -'181','val_181','2008-04-09','11' -'67','val_67','2008-04-09','11' -'260','val_260','2008-04-09','11' -'404','val_404','2008-04-09','11' -'384','val_384','2008-04-09','11' -'489','val_489','2008-04-09','11' -'353','val_353','2008-04-09','11' -'373','val_373','2008-04-09','11' -'272','val_272','2008-04-09','11' -'138','val_138','2008-04-09','11' -'217','val_217','2008-04-09','11' -'84','val_84','2008-04-09','11' -'348','val_348','2008-04-09','11' -'466','val_466','2008-04-09','11' -'58','val_58','2008-04-09','11' -'8','val_8','2008-04-09','11' -'411','val_411','2008-04-09','11' -'230','val_230','2008-04-09','11' -'208','val_208','2008-04-09','11' -'348','val_348','2008-04-09','11' -'24','val_24','2008-04-09','11' -'463','val_463','2008-04-09','11' -'431','val_431','2008-04-09','11' -'179','val_179','2008-04-09','11' -'172','val_172','2008-04-09','11' -'42','val_42','2008-04-09','11' -'129','val_129','2008-04-09','11' -'158','val_158','2008-04-09','11' -'119','val_119','2008-04-09','11' -'496','val_496','2008-04-09','11' -'0','val_0','2008-04-09','11' -'322','val_322','2008-04-09','11' -'197','val_197','2008-04-09','11' -'468','val_468','2008-04-09','11' -'393','val_393','2008-04-09','11' -'454','val_454','2008-04-09','11' -'100','val_100','2008-04-09','11' -'298','val_298','2008-04-09','11' -'199','val_199','2008-04-09','11' -'191','val_191','2008-04-09','11' -'418','val_418','2008-04-09','11' -'96','val_96','2008-04-09','11' -'26','val_26','2008-04-09','11' -'165','val_165','2008-04-09','11' -'327','val_327','2008-04-09','11' -'230','val_230','2008-04-09','11' -'205','val_205','2008-04-09','11' -'120','val_120','2008-04-09','11' -'131','val_131','2008-04-09','11' -'51','val_51','2008-04-09','11' -'404','val_404','2008-04-09','11' -'43','val_43','2008-04-09','11' -'436','val_436','2008-04-09','11' -'156','val_156','2008-04-09','11' -'469','val_469','2008-04-09','11' -'468','val_468','2008-04-09','11' -'308','val_308','2008-04-09','11' -'95','val_95','2008-04-09','11' -'196','val_196','2008-04-09','11' -'288','val_288','2008-04-09','11' -'481','val_481','2008-04-09','11' -'457','val_457','2008-04-09','11' -'98','val_98','2008-04-09','11' -'282','val_282','2008-04-09','11' -'197','val_197','2008-04-09','11' -'187','val_187','2008-04-09','11' -'318','val_318','2008-04-09','11' -'318','val_318','2008-04-09','11' -'409','val_409','2008-04-09','11' -'470','val_470','2008-04-09','11' -'137','val_137','2008-04-09','11' -'369','val_369','2008-04-09','11' -'316','val_316','2008-04-09','11' -'169','val_169','2008-04-09','11' -'413','val_413','2008-04-09','11' -'85','val_85','2008-04-09','11' -'77','val_77','2008-04-09','11' -'0','val_0','2008-04-09','11' -'490','val_490','2008-04-09','11' -'87','val_87','2008-04-09','11' -'364','val_364','2008-04-09','11' -'179','val_179','2008-04-09','11' -'118','val_118','2008-04-09','11' -'134','val_134','2008-04-09','11' -'395','val_395','2008-04-09','11' -'282','val_282','2008-04-09','11' -'138','val_138','2008-04-09','11' -'238','val_238','2008-04-09','11' -'419','val_419','2008-04-09','11' -'15','val_15','2008-04-09','11' -'118','val_118','2008-04-09','11' -'72','val_72','2008-04-09','11' -'90','val_90','2008-04-09','11' -'307','val_307','2008-04-09','11' -'19','val_19','2008-04-09','11' -'435','val_435','2008-04-09','11' -'10','val_10','2008-04-09','11' -'277','val_277','2008-04-09','11' -'273','val_273','2008-04-09','11' -'306','val_306','2008-04-09','11' -'224','val_224','2008-04-09','11' -'309','val_309','2008-04-09','11' -'389','val_389','2008-04-09','11' -'327','val_327','2008-04-09','11' -'242','val_242','2008-04-09','11' -'369','val_369','2008-04-09','11' -'392','val_392','2008-04-09','11' -'272','val_272','2008-04-09','11' -'331','val_331','2008-04-09','11' -'401','val_401','2008-04-09','11' -'242','val_242','2008-04-09','11' -'452','val_452','2008-04-09','11' -'177','val_177','2008-04-09','11' -'226','val_226','2008-04-09','11' -'5','val_5','2008-04-09','11' -'497','val_497','2008-04-09','11' -'402','val_402','2008-04-09','11' -'396','val_396','2008-04-09','11' -'317','val_317','2008-04-09','11' -'395','val_395','2008-04-09','11' -'58','val_58','2008-04-09','11' -'35','val_35','2008-04-09','11' -'336','val_336','2008-04-09','11' -'95','val_95','2008-04-09','11' -'11','val_11','2008-04-09','11' -'168','val_168','2008-04-09','11' -'34','val_34','2008-04-09','11' -'229','val_229','2008-04-09','11' -'233','val_233','2008-04-09','11' -'143','val_143','2008-04-09','11' -'472','val_472','2008-04-09','11' -'322','val_322','2008-04-09','11' -'498','val_498','2008-04-09','11' -'160','val_160','2008-04-09','11' -'195','val_195','2008-04-09','11' -'42','val_42','2008-04-09','11' -'321','val_321','2008-04-09','11' -'430','val_430','2008-04-09','11' -'119','val_119','2008-04-09','11' -'489','val_489','2008-04-09','11' -'458','val_458','2008-04-09','11' -'78','val_78','2008-04-09','11' -'76','val_76','2008-04-09','11' -'41','val_41','2008-04-09','11' -'223','val_223','2008-04-09','11' -'492','val_492','2008-04-09','11' -'149','val_149','2008-04-09','11' -'449','val_449','2008-04-09','11' -'218','val_218','2008-04-09','11' -'228','val_228','2008-04-09','11' -'138','val_138','2008-04-09','11' -'453','val_453','2008-04-09','11' -'30','val_30','2008-04-09','11' -'209','val_209','2008-04-09','11' -'64','val_64','2008-04-09','11' -'468','val_468','2008-04-09','11' -'76','val_76','2008-04-09','11' -'74','val_74','2008-04-09','11' -'342','val_342','2008-04-09','11' -'69','val_69','2008-04-09','11' -'230','val_230','2008-04-09','11' -'33','val_33','2008-04-09','11' -'368','val_368','2008-04-09','11' -'103','val_103','2008-04-09','11' -'296','val_296','2008-04-09','11' -'113','val_113','2008-04-09','11' -'216','val_216','2008-04-09','11' -'367','val_367','2008-04-09','11' -'344','val_344','2008-04-09','11' -'167','val_167','2008-04-09','11' -'274','val_274','2008-04-09','11' -'219','val_219','2008-04-09','11' -'239','val_239','2008-04-09','11' -'485','val_485','2008-04-09','11' -'116','val_116','2008-04-09','11' -'223','val_223','2008-04-09','11' -'256','val_256','2008-04-09','11' -'263','val_263','2008-04-09','11' -'70','val_70','2008-04-09','11' -'487','val_487','2008-04-09','11' -'480','val_480','2008-04-09','11' -'401','val_401','2008-04-09','11' -'288','val_288','2008-04-09','11' -'191','val_191','2008-04-09','11' -'5','val_5','2008-04-09','11' -'244','val_244','2008-04-09','11' -'438','val_438','2008-04-09','11' -'128','val_128','2008-04-09','11' -'467','val_467','2008-04-09','11' -'432','val_432','2008-04-09','11' -'202','val_202','2008-04-09','11' -'316','val_316','2008-04-09','11' -'229','val_229','2008-04-09','11' -'469','val_469','2008-04-09','11' -'463','val_463','2008-04-09','11' -'280','val_280','2008-04-09','11' -'2','val_2','2008-04-09','11' -'35','val_35','2008-04-09','11' -'283','val_283','2008-04-09','11' -'331','val_331','2008-04-09','11' -'235','val_235','2008-04-09','11' -'80','val_80','2008-04-09','11' -'44','val_44','2008-04-09','11' -'193','val_193','2008-04-09','11' -'321','val_321','2008-04-09','11' -'335','val_335','2008-04-09','11' -'104','val_104','2008-04-09','11' -'466','val_466','2008-04-09','11' -'366','val_366','2008-04-09','11' -'175','val_175','2008-04-09','11' -'403','val_403','2008-04-09','11' -'483','val_483','2008-04-09','11' -'53','val_53','2008-04-09','11' -'105','val_105','2008-04-09','11' -'257','val_257','2008-04-09','11' -'406','val_406','2008-04-09','11' -'409','val_409','2008-04-09','11' -'190','val_190','2008-04-09','11' -'406','val_406','2008-04-09','11' -'401','val_401','2008-04-09','11' -'114','val_114','2008-04-09','11' -'258','val_258','2008-04-09','11' -'90','val_90','2008-04-09','11' -'203','val_203','2008-04-09','11' -'262','val_262','2008-04-09','11' -'348','val_348','2008-04-09','11' -'424','val_424','2008-04-09','11' -'12','val_12','2008-04-09','11' -'396','val_396','2008-04-09','11' -'201','val_201','2008-04-09','11' -'217','val_217','2008-04-09','11' -'164','val_164','2008-04-09','11' -'431','val_431','2008-04-09','11' -'454','val_454','2008-04-09','11' -'478','val_478','2008-04-09','11' -'298','val_298','2008-04-09','11' -'125','val_125','2008-04-09','11' -'431','val_431','2008-04-09','11' -'164','val_164','2008-04-09','11' -'424','val_424','2008-04-09','11' -'187','val_187','2008-04-09','11' -'382','val_382','2008-04-09','11' -'5','val_5','2008-04-09','11' -'70','val_70','2008-04-09','11' -'397','val_397','2008-04-09','11' -'480','val_480','2008-04-09','11' -'291','val_291','2008-04-09','11' -'24','val_24','2008-04-09','11' -'351','val_351','2008-04-09','11' -'255','val_255','2008-04-09','11' -'104','val_104','2008-04-09','11' -'70','val_70','2008-04-09','11' -'163','val_163','2008-04-09','11' -'438','val_438','2008-04-09','11' -'119','val_119','2008-04-09','11' -'414','val_414','2008-04-09','11' -'200','val_200','2008-04-09','11' -'491','val_491','2008-04-09','11' -'237','val_237','2008-04-09','11' -'439','val_439','2008-04-09','11' -'360','val_360','2008-04-09','11' -'248','val_248','2008-04-09','11' -'479','val_479','2008-04-09','11' -'305','val_305','2008-04-09','11' -'417','val_417','2008-04-09','11' -'199','val_199','2008-04-09','11' -'444','val_444','2008-04-09','11' -'120','val_120','2008-04-09','11' -'429','val_429','2008-04-09','11' -'169','val_169','2008-04-09','11' -'443','val_443','2008-04-09','11' -'323','val_323','2008-04-09','11' -'325','val_325','2008-04-09','11' -'277','val_277','2008-04-09','11' -'230','val_230','2008-04-09','11' -'478','val_478','2008-04-09','11' -'178','val_178','2008-04-09','11' -'468','val_468','2008-04-09','11' -'310','val_310','2008-04-09','11' -'317','val_317','2008-04-09','11' -'333','val_333','2008-04-09','11' -'493','val_493','2008-04-09','11' -'460','val_460','2008-04-09','11' -'207','val_207','2008-04-09','11' -'249','val_249','2008-04-09','11' -'265','val_265','2008-04-09','11' -'480','val_480','2008-04-09','11' -'83','val_83','2008-04-09','11' -'136','val_136','2008-04-09','11' -'353','val_353','2008-04-09','11' -'172','val_172','2008-04-09','11' -'214','val_214','2008-04-09','11' -'462','val_462','2008-04-09','11' -'233','val_233','2008-04-09','11' -'406','val_406','2008-04-09','11' -'133','val_133','2008-04-09','11' -'175','val_175','2008-04-09','11' -'189','val_189','2008-04-09','11' -'454','val_454','2008-04-09','11' -'375','val_375','2008-04-09','11' -'401','val_401','2008-04-09','11' -'421','val_421','2008-04-09','11' -'407','val_407','2008-04-09','11' -'384','val_384','2008-04-09','11' -'256','val_256','2008-04-09','11' -'26','val_26','2008-04-09','11' -'134','val_134','2008-04-09','11' -'67','val_67','2008-04-09','11' -'384','val_384','2008-04-09','11' -'379','val_379','2008-04-09','11' -'18','val_18','2008-04-09','11' -'462','val_462','2008-04-09','11' -'492','val_492','2008-04-09','11' -'100','val_100','2008-04-09','11' -'298','val_298','2008-04-09','11' -'9','val_9','2008-04-09','11' -'341','val_341','2008-04-09','11' -'498','val_498','2008-04-09','11' -'146','val_146','2008-04-09','11' -'458','val_458','2008-04-09','11' -'362','val_362','2008-04-09','11' -'186','val_186','2008-04-09','11' -'285','val_285','2008-04-09','11' -'348','val_348','2008-04-09','11' -'167','val_167','2008-04-09','11' -'18','val_18','2008-04-09','11' -'273','val_273','2008-04-09','11' -'183','val_183','2008-04-09','11' -'281','val_281','2008-04-09','11' -'344','val_344','2008-04-09','11' -'97','val_97','2008-04-09','11' -'469','val_469','2008-04-09','11' -'315','val_315','2008-04-09','11' -'84','val_84','2008-04-09','11' -'28','val_28','2008-04-09','11' -'37','val_37','2008-04-09','11' -'448','val_448','2008-04-09','11' -'152','val_152','2008-04-09','11' -'348','val_348','2008-04-09','11' -'307','val_307','2008-04-09','11' -'194','val_194','2008-04-09','11' -'414','val_414','2008-04-09','11' -'477','val_477','2008-04-09','11' -'222','val_222','2008-04-09','11' -'126','val_126','2008-04-09','11' -'90','val_90','2008-04-09','11' -'169','val_169','2008-04-09','11' -'403','val_403','2008-04-09','11' -'400','val_400','2008-04-09','11' -'200','val_200','2008-04-09','11' -'97','val_97','2008-04-09','11' -'238','val_238','2008-04-09','12' -'86','val_86','2008-04-09','12' -'311','val_311','2008-04-09','12' -'27','val_27','2008-04-09','12' -'165','val_165','2008-04-09','12' -'409','val_409','2008-04-09','12' -'255','val_255','2008-04-09','12' -'278','val_278','2008-04-09','12' -'98','val_98','2008-04-09','12' -'484','val_484','2008-04-09','12' -'265','val_265','2008-04-09','12' -'193','val_193','2008-04-09','12' -'401','val_401','2008-04-09','12' -'150','val_150','2008-04-09','12' -'273','val_273','2008-04-09','12' -'224','val_224','2008-04-09','12' -'369','val_369','2008-04-09','12' -'66','val_66','2008-04-09','12' -'128','val_128','2008-04-09','12' -'213','val_213','2008-04-09','12' -'146','val_146','2008-04-09','12' -'406','val_406','2008-04-09','12' -'429','val_429','2008-04-09','12' -'374','val_374','2008-04-09','12' -'152','val_152','2008-04-09','12' -'469','val_469','2008-04-09','12' -'145','val_145','2008-04-09','12' -'495','val_495','2008-04-09','12' -'37','val_37','2008-04-09','12' -'327','val_327','2008-04-09','12' -'281','val_281','2008-04-09','12' -'277','val_277','2008-04-09','12' -'209','val_209','2008-04-09','12' -'15','val_15','2008-04-09','12' -'82','val_82','2008-04-09','12' -'403','val_403','2008-04-09','12' -'166','val_166','2008-04-09','12' -'417','val_417','2008-04-09','12' -'430','val_430','2008-04-09','12' -'252','val_252','2008-04-09','12' -'292','val_292','2008-04-09','12' -'219','val_219','2008-04-09','12' -'287','val_287','2008-04-09','12' -'153','val_153','2008-04-09','12' -'193','val_193','2008-04-09','12' -'338','val_338','2008-04-09','12' -'446','val_446','2008-04-09','12' -'459','val_459','2008-04-09','12' -'394','val_394','2008-04-09','12' -'237','val_237','2008-04-09','12' -'482','val_482','2008-04-09','12' -'174','val_174','2008-04-09','12' -'413','val_413','2008-04-09','12' -'494','val_494','2008-04-09','12' -'207','val_207','2008-04-09','12' -'199','val_199','2008-04-09','12' -'466','val_466','2008-04-09','12' -'208','val_208','2008-04-09','12' -'174','val_174','2008-04-09','12' -'399','val_399','2008-04-09','12' -'396','val_396','2008-04-09','12' -'247','val_247','2008-04-09','12' -'417','val_417','2008-04-09','12' -'489','val_489','2008-04-09','12' -'162','val_162','2008-04-09','12' -'377','val_377','2008-04-09','12' -'397','val_397','2008-04-09','12' -'309','val_309','2008-04-09','12' -'365','val_365','2008-04-09','12' -'266','val_266','2008-04-09','12' -'439','val_439','2008-04-09','12' -'342','val_342','2008-04-09','12' -'367','val_367','2008-04-09','12' -'325','val_325','2008-04-09','12' -'167','val_167','2008-04-09','12' -'195','val_195','2008-04-09','12' -'475','val_475','2008-04-09','12' -'17','val_17','2008-04-09','12' -'113','val_113','2008-04-09','12' -'155','val_155','2008-04-09','12' -'203','val_203','2008-04-09','12' -'339','val_339','2008-04-09','12' -'0','val_0','2008-04-09','12' -'455','val_455','2008-04-09','12' -'128','val_128','2008-04-09','12' -'311','val_311','2008-04-09','12' -'316','val_316','2008-04-09','12' -'57','val_57','2008-04-09','12' -'302','val_302','2008-04-09','12' -'205','val_205','2008-04-09','12' -'149','val_149','2008-04-09','12' -'438','val_438','2008-04-09','12' -'345','val_345','2008-04-09','12' -'129','val_129','2008-04-09','12' -'170','val_170','2008-04-09','12' -'20','val_20','2008-04-09','12' -'489','val_489','2008-04-09','12' -'157','val_157','2008-04-09','12' -'378','val_378','2008-04-09','12' -'221','val_221','2008-04-09','12' -'92','val_92','2008-04-09','12' -'111','val_111','2008-04-09','12' -'47','val_47','2008-04-09','12' -'72','val_72','2008-04-09','12' -'4','val_4','2008-04-09','12' -'280','val_280','2008-04-09','12' -'35','val_35','2008-04-09','12' -'427','val_427','2008-04-09','12' -'277','val_277','2008-04-09','12' -'208','val_208','2008-04-09','12' -'356','val_356','2008-04-09','12' -'399','val_399','2008-04-09','12' -'169','val_169','2008-04-09','12' -'382','val_382','2008-04-09','12' -'498','val_498','2008-04-09','12' -'125','val_125','2008-04-09','12' -'386','val_386','2008-04-09','12' -'437','val_437','2008-04-09','12' -'469','val_469','2008-04-09','12' -'192','val_192','2008-04-09','12' -'286','val_286','2008-04-09','12' -'187','val_187','2008-04-09','12' -'176','val_176','2008-04-09','12' -'54','val_54','2008-04-09','12' -'459','val_459','2008-04-09','12' -'51','val_51','2008-04-09','12' -'138','val_138','2008-04-09','12' -'103','val_103','2008-04-09','12' -'239','val_239','2008-04-09','12' -'213','val_213','2008-04-09','12' -'216','val_216','2008-04-09','12' -'430','val_430','2008-04-09','12' -'278','val_278','2008-04-09','12' -'176','val_176','2008-04-09','12' -'289','val_289','2008-04-09','12' -'221','val_221','2008-04-09','12' -'65','val_65','2008-04-09','12' -'318','val_318','2008-04-09','12' -'332','val_332','2008-04-09','12' -'311','val_311','2008-04-09','12' -'275','val_275','2008-04-09','12' -'137','val_137','2008-04-09','12' -'241','val_241','2008-04-09','12' -'83','val_83','2008-04-09','12' -'333','val_333','2008-04-09','12' -'180','val_180','2008-04-09','12' -'284','val_284','2008-04-09','12' -'12','val_12','2008-04-09','12' -'230','val_230','2008-04-09','12' -'181','val_181','2008-04-09','12' -'67','val_67','2008-04-09','12' -'260','val_260','2008-04-09','12' -'404','val_404','2008-04-09','12' -'384','val_384','2008-04-09','12' -'489','val_489','2008-04-09','12' -'353','val_353','2008-04-09','12' -'373','val_373','2008-04-09','12' -'272','val_272','2008-04-09','12' -'138','val_138','2008-04-09','12' -'217','val_217','2008-04-09','12' -'84','val_84','2008-04-09','12' -'348','val_348','2008-04-09','12' -'466','val_466','2008-04-09','12' -'58','val_58','2008-04-09','12' -'8','val_8','2008-04-09','12' -'411','val_411','2008-04-09','12' -'230','val_230','2008-04-09','12' -'208','val_208','2008-04-09','12' -'348','val_348','2008-04-09','12' -'24','val_24','2008-04-09','12' -'463','val_463','2008-04-09','12' -'431','val_431','2008-04-09','12' -'179','val_179','2008-04-09','12' -'172','val_172','2008-04-09','12' -'42','val_42','2008-04-09','12' -'129','val_129','2008-04-09','12' -'158','val_158','2008-04-09','12' -'119','val_119','2008-04-09','12' -'496','val_496','2008-04-09','12' -'0','val_0','2008-04-09','12' -'322','val_322','2008-04-09','12' -'197','val_197','2008-04-09','12' -'468','val_468','2008-04-09','12' -'393','val_393','2008-04-09','12' -'454','val_454','2008-04-09','12' -'100','val_100','2008-04-09','12' -'298','val_298','2008-04-09','12' -'199','val_199','2008-04-09','12' -'191','val_191','2008-04-09','12' -'418','val_418','2008-04-09','12' -'96','val_96','2008-04-09','12' -'26','val_26','2008-04-09','12' -'165','val_165','2008-04-09','12' -'327','val_327','2008-04-09','12' -'230','val_230','2008-04-09','12' -'205','val_205','2008-04-09','12' -'120','val_120','2008-04-09','12' -'131','val_131','2008-04-09','12' -'51','val_51','2008-04-09','12' -'404','val_404','2008-04-09','12' -'43','val_43','2008-04-09','12' -'436','val_436','2008-04-09','12' -'156','val_156','2008-04-09','12' -'469','val_469','2008-04-09','12' -'468','val_468','2008-04-09','12' -'308','val_308','2008-04-09','12' -'95','val_95','2008-04-09','12' -'196','val_196','2008-04-09','12' -'288','val_288','2008-04-09','12' -'481','val_481','2008-04-09','12' -'457','val_457','2008-04-09','12' -'98','val_98','2008-04-09','12' -'282','val_282','2008-04-09','12' -'197','val_197','2008-04-09','12' -'187','val_187','2008-04-09','12' -'318','val_318','2008-04-09','12' -'318','val_318','2008-04-09','12' -'409','val_409','2008-04-09','12' -'470','val_470','2008-04-09','12' -'137','val_137','2008-04-09','12' -'369','val_369','2008-04-09','12' -'316','val_316','2008-04-09','12' -'169','val_169','2008-04-09','12' -'413','val_413','2008-04-09','12' -'85','val_85','2008-04-09','12' -'77','val_77','2008-04-09','12' -'0','val_0','2008-04-09','12' -'490','val_490','2008-04-09','12' -'87','val_87','2008-04-09','12' -'364','val_364','2008-04-09','12' -'179','val_179','2008-04-09','12' -'118','val_118','2008-04-09','12' -'134','val_134','2008-04-09','12' -'395','val_395','2008-04-09','12' -'282','val_282','2008-04-09','12' -'138','val_138','2008-04-09','12' -'238','val_238','2008-04-09','12' -'419','val_419','2008-04-09','12' -'15','val_15','2008-04-09','12' -'118','val_118','2008-04-09','12' -'72','val_72','2008-04-09','12' -'90','val_90','2008-04-09','12' -'307','val_307','2008-04-09','12' -'19','val_19','2008-04-09','12' -'435','val_435','2008-04-09','12' -'10','val_10','2008-04-09','12' -'277','val_277','2008-04-09','12' -'273','val_273','2008-04-09','12' -'306','val_306','2008-04-09','12' -'224','val_224','2008-04-09','12' -'309','val_309','2008-04-09','12' -'389','val_389','2008-04-09','12' -'327','val_327','2008-04-09','12' -'242','val_242','2008-04-09','12' -'369','val_369','2008-04-09','12' -'392','val_392','2008-04-09','12' -'272','val_272','2008-04-09','12' -'331','val_331','2008-04-09','12' -'401','val_401','2008-04-09','12' -'242','val_242','2008-04-09','12' -'452','val_452','2008-04-09','12' -'177','val_177','2008-04-09','12' -'226','val_226','2008-04-09','12' -'5','val_5','2008-04-09','12' -'497','val_497','2008-04-09','12' -'402','val_402','2008-04-09','12' -'396','val_396','2008-04-09','12' -'317','val_317','2008-04-09','12' -'395','val_395','2008-04-09','12' -'58','val_58','2008-04-09','12' -'35','val_35','2008-04-09','12' -'336','val_336','2008-04-09','12' -'95','val_95','2008-04-09','12' -'11','val_11','2008-04-09','12' -'168','val_168','2008-04-09','12' -'34','val_34','2008-04-09','12' -'229','val_229','2008-04-09','12' -'233','val_233','2008-04-09','12' -'143','val_143','2008-04-09','12' -'472','val_472','2008-04-09','12' -'322','val_322','2008-04-09','12' -'498','val_498','2008-04-09','12' -'160','val_160','2008-04-09','12' -'195','val_195','2008-04-09','12' -'42','val_42','2008-04-09','12' -'321','val_321','2008-04-09','12' -'430','val_430','2008-04-09','12' -'119','val_119','2008-04-09','12' -'489','val_489','2008-04-09','12' -'458','val_458','2008-04-09','12' -'78','val_78','2008-04-09','12' -'76','val_76','2008-04-09','12' -'41','val_41','2008-04-09','12' -'223','val_223','2008-04-09','12' -'492','val_492','2008-04-09','12' -'149','val_149','2008-04-09','12' -'449','val_449','2008-04-09','12' -'218','val_218','2008-04-09','12' -'228','val_228','2008-04-09','12' -'138','val_138','2008-04-09','12' -'453','val_453','2008-04-09','12' -'30','val_30','2008-04-09','12' -'209','val_209','2008-04-09','12' -'64','val_64','2008-04-09','12' -'468','val_468','2008-04-09','12' -'76','val_76','2008-04-09','12' -'74','val_74','2008-04-09','12' -'342','val_342','2008-04-09','12' -'69','val_69','2008-04-09','12' -'230','val_230','2008-04-09','12' -'33','val_33','2008-04-09','12' -'368','val_368','2008-04-09','12' -'103','val_103','2008-04-09','12' -'296','val_296','2008-04-09','12' -'113','val_113','2008-04-09','12' -'216','val_216','2008-04-09','12' -'367','val_367','2008-04-09','12' -'344','val_344','2008-04-09','12' -'167','val_167','2008-04-09','12' -'274','val_274','2008-04-09','12' -'219','val_219','2008-04-09','12' -'239','val_239','2008-04-09','12' -'485','val_485','2008-04-09','12' -'116','val_116','2008-04-09','12' -'223','val_223','2008-04-09','12' -'256','val_256','2008-04-09','12' -'263','val_263','2008-04-09','12' -'70','val_70','2008-04-09','12' -'487','val_487','2008-04-09','12' -'480','val_480','2008-04-09','12' -'401','val_401','2008-04-09','12' -'288','val_288','2008-04-09','12' -'191','val_191','2008-04-09','12' -'5','val_5','2008-04-09','12' -'244','val_244','2008-04-09','12' -'438','val_438','2008-04-09','12' -'128','val_128','2008-04-09','12' -'467','val_467','2008-04-09','12' -'432','val_432','2008-04-09','12' -'202','val_202','2008-04-09','12' -'316','val_316','2008-04-09','12' -'229','val_229','2008-04-09','12' -'469','val_469','2008-04-09','12' -'463','val_463','2008-04-09','12' -'280','val_280','2008-04-09','12' -'2','val_2','2008-04-09','12' -'35','val_35','2008-04-09','12' -'283','val_283','2008-04-09','12' -'331','val_331','2008-04-09','12' -'235','val_235','2008-04-09','12' -'80','val_80','2008-04-09','12' -'44','val_44','2008-04-09','12' -'193','val_193','2008-04-09','12' -'321','val_321','2008-04-09','12' -'335','val_335','2008-04-09','12' -'104','val_104','2008-04-09','12' -'466','val_466','2008-04-09','12' -'366','val_366','2008-04-09','12' -'175','val_175','2008-04-09','12' -'403','val_403','2008-04-09','12' -'483','val_483','2008-04-09','12' -'53','val_53','2008-04-09','12' -'105','val_105','2008-04-09','12' -'257','val_257','2008-04-09','12' -'406','val_406','2008-04-09','12' -'409','val_409','2008-04-09','12' -'190','val_190','2008-04-09','12' -'406','val_406','2008-04-09','12' -'401','val_401','2008-04-09','12' -'114','val_114','2008-04-09','12' -'258','val_258','2008-04-09','12' -'90','val_90','2008-04-09','12' -'203','val_203','2008-04-09','12' -'262','val_262','2008-04-09','12' -'348','val_348','2008-04-09','12' -'424','val_424','2008-04-09','12' -'12','val_12','2008-04-09','12' -'396','val_396','2008-04-09','12' -'201','val_201','2008-04-09','12' -'217','val_217','2008-04-09','12' -'164','val_164','2008-04-09','12' -'431','val_431','2008-04-09','12' -'454','val_454','2008-04-09','12' -'478','val_478','2008-04-09','12' -'298','val_298','2008-04-09','12' -'125','val_125','2008-04-09','12' -'431','val_431','2008-04-09','12' -'164','val_164','2008-04-09','12' -'424','val_424','2008-04-09','12' -'187','val_187','2008-04-09','12' -'382','val_382','2008-04-09','12' -'5','val_5','2008-04-09','12' -'70','val_70','2008-04-09','12' -'397','val_397','2008-04-09','12' -'480','val_480','2008-04-09','12' -'291','val_291','2008-04-09','12' -'24','val_24','2008-04-09','12' -'351','val_351','2008-04-09','12' -'255','val_255','2008-04-09','12' -'104','val_104','2008-04-09','12' -'70','val_70','2008-04-09','12' -'163','val_163','2008-04-09','12' -'438','val_438','2008-04-09','12' -'119','val_119','2008-04-09','12' -'414','val_414','2008-04-09','12' -'200','val_200','2008-04-09','12' -'491','val_491','2008-04-09','12' -'237','val_237','2008-04-09','12' -'439','val_439','2008-04-09','12' -'360','val_360','2008-04-09','12' -'248','val_248','2008-04-09','12' -'479','val_479','2008-04-09','12' -'305','val_305','2008-04-09','12' -'417','val_417','2008-04-09','12' -'199','val_199','2008-04-09','12' -'444','val_444','2008-04-09','12' -'120','val_120','2008-04-09','12' -'429','val_429','2008-04-09','12' -'169','val_169','2008-04-09','12' -'443','val_443','2008-04-09','12' -'323','val_323','2008-04-09','12' -'325','val_325','2008-04-09','12' -'277','val_277','2008-04-09','12' -'230','val_230','2008-04-09','12' -'478','val_478','2008-04-09','12' -'178','val_178','2008-04-09','12' -'468','val_468','2008-04-09','12' -'310','val_310','2008-04-09','12' -'317','val_317','2008-04-09','12' -'333','val_333','2008-04-09','12' -'493','val_493','2008-04-09','12' -'460','val_460','2008-04-09','12' -'207','val_207','2008-04-09','12' -'249','val_249','2008-04-09','12' -'265','val_265','2008-04-09','12' -'480','val_480','2008-04-09','12' -'83','val_83','2008-04-09','12' -'136','val_136','2008-04-09','12' -'353','val_353','2008-04-09','12' -'172','val_172','2008-04-09','12' -'214','val_214','2008-04-09','12' -'462','val_462','2008-04-09','12' -'233','val_233','2008-04-09','12' -'406','val_406','2008-04-09','12' -'133','val_133','2008-04-09','12' -'175','val_175','2008-04-09','12' -'189','val_189','2008-04-09','12' -'454','val_454','2008-04-09','12' -'375','val_375','2008-04-09','12' -'401','val_401','2008-04-09','12' -'421','val_421','2008-04-09','12' -'407','val_407','2008-04-09','12' -'384','val_384','2008-04-09','12' -'256','val_256','2008-04-09','12' -'26','val_26','2008-04-09','12' -'134','val_134','2008-04-09','12' -'67','val_67','2008-04-09','12' -'384','val_384','2008-04-09','12' -'379','val_379','2008-04-09','12' -'18','val_18','2008-04-09','12' -'462','val_462','2008-04-09','12' -'492','val_492','2008-04-09','12' -'100','val_100','2008-04-09','12' -'298','val_298','2008-04-09','12' -'9','val_9','2008-04-09','12' -'341','val_341','2008-04-09','12' -'498','val_498','2008-04-09','12' -'146','val_146','2008-04-09','12' -'458','val_458','2008-04-09','12' -'362','val_362','2008-04-09','12' -'186','val_186','2008-04-09','12' -'285','val_285','2008-04-09','12' -'348','val_348','2008-04-09','12' -'167','val_167','2008-04-09','12' -'18','val_18','2008-04-09','12' -'273','val_273','2008-04-09','12' -'183','val_183','2008-04-09','12' -'281','val_281','2008-04-09','12' -'344','val_344','2008-04-09','12' -'97','val_97','2008-04-09','12' -'469','val_469','2008-04-09','12' -'315','val_315','2008-04-09','12' -'84','val_84','2008-04-09','12' -'28','val_28','2008-04-09','12' -'37','val_37','2008-04-09','12' -'448','val_448','2008-04-09','12' -'152','val_152','2008-04-09','12' -'348','val_348','2008-04-09','12' -'307','val_307','2008-04-09','12' -'194','val_194','2008-04-09','12' -'414','val_414','2008-04-09','12' -'477','val_477','2008-04-09','12' -'222','val_222','2008-04-09','12' -'126','val_126','2008-04-09','12' -'90','val_90','2008-04-09','12' -'169','val_169','2008-04-09','12' -'403','val_403','2008-04-09','12' -'400','val_400','2008-04-09','12' -'200','val_200','2008-04-09','12' -'97','val_97','2008-04-09','12' -2,000 rows selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/load_dyn_part4.q.out ql/src/test/results/beelinepositive/load_dyn_part4.q.out deleted file mode 100644 index 5e65c4c..0000000 --- ql/src/test/results/beelinepositive/load_dyn_part4.q.out +++ /dev/null @@ -1,4114 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/load_dyn_part4.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/load_dyn_part4.q ->>> show partitions srcpart; -'partition' -'ds=2008-04-08/hr=11' -'ds=2008-04-08/hr=12' -'ds=2008-04-09/hr=11' -'ds=2008-04-09/hr=12' -4 rows selected ->>> ->>> ->>> ->>> create table if not exists nzhang_part4 like srcpart; -No rows affected ->>> describe extended nzhang_part4; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'ds','string','' -'hr','string','' -'','','' -'Detailed Table Information','Table(tableName:nzhang_part4, dbName:load_dyn_part4, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:hr, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/load_dyn_part4.db/nzhang_part4, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:hr, type:string, comment:null)], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -6 rows selected ->>> ->>> set hive.merge.mapfiles=false; -No rows affected ->>> set hive.exec.dynamic.partition=true; -No rows affected ->>> set hive.exec.dynamic.partition.mode=nonstrict; -No rows affected ->>> ->>> insert overwrite table nzhang_part4 partition (ds='2008-04-08', hr='existing_value') select key, value from src; -'key','value' -No rows selected ->>> ->>> explain -insert overwrite table nzhang_part4 partition (ds, hr) select key, value, ds, hr from srcpart where ds is not null and hr is not null; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME nzhang_part4) (TOK_PARTSPEC (TOK_PARTVAL ds) (TOK_PARTVAL hr)))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL ds)) (TOK_SELEXPR (TOK_TABLE_OR_COL hr))) (TOK_WHERE (and (TOK_FUNCTION TOK_ISNOTNULL (TOK_TABLE_OR_COL ds)) (TOK_FUNCTION TOK_ISNOTNULL (TOK_TABLE_OR_COL hr))))))' -'' -'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' -' Alias -> Map Operator Tree:' -' srcpart ' -' TableScan' -' alias: srcpart' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: load_dyn_part4.nzhang_part4' -'' -' 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: load_dyn_part4.nzhang_part4' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -52 rows selected ->>> ->>> insert overwrite table nzhang_part4 partition (ds, hr) select key, value, ds, hr from srcpart where ds is not null and hr is not null; -'key','value','ds','hr' -No rows selected ->>> ->>> show partitions nzhang_part4; -'partition' -'ds=2008-04-08/hr=11' -'ds=2008-04-08/hr=12' -'ds=2008-04-08/hr=existing_value' -'ds=2008-04-09/hr=11' -'ds=2008-04-09/hr=12' -5 rows selected ->>> select * from nzhang_part4 where ds='2008-04-08' and hr is not null; -'key','value','ds','hr' -'238','val_238','2008-04-08','11' -'86','val_86','2008-04-08','11' -'311','val_311','2008-04-08','11' -'27','val_27','2008-04-08','11' -'165','val_165','2008-04-08','11' -'409','val_409','2008-04-08','11' -'255','val_255','2008-04-08','11' -'278','val_278','2008-04-08','11' -'98','val_98','2008-04-08','11' -'484','val_484','2008-04-08','11' -'265','val_265','2008-04-08','11' -'193','val_193','2008-04-08','11' -'401','val_401','2008-04-08','11' -'150','val_150','2008-04-08','11' -'273','val_273','2008-04-08','11' -'224','val_224','2008-04-08','11' -'369','val_369','2008-04-08','11' -'66','val_66','2008-04-08','11' -'128','val_128','2008-04-08','11' -'213','val_213','2008-04-08','11' -'146','val_146','2008-04-08','11' -'406','val_406','2008-04-08','11' -'429','val_429','2008-04-08','11' -'374','val_374','2008-04-08','11' -'152','val_152','2008-04-08','11' -'469','val_469','2008-04-08','11' -'145','val_145','2008-04-08','11' -'495','val_495','2008-04-08','11' -'37','val_37','2008-04-08','11' -'327','val_327','2008-04-08','11' -'281','val_281','2008-04-08','11' -'277','val_277','2008-04-08','11' -'209','val_209','2008-04-08','11' -'15','val_15','2008-04-08','11' -'82','val_82','2008-04-08','11' -'403','val_403','2008-04-08','11' -'166','val_166','2008-04-08','11' -'417','val_417','2008-04-08','11' -'430','val_430','2008-04-08','11' -'252','val_252','2008-04-08','11' -'292','val_292','2008-04-08','11' -'219','val_219','2008-04-08','11' -'287','val_287','2008-04-08','11' -'153','val_153','2008-04-08','11' -'193','val_193','2008-04-08','11' -'338','val_338','2008-04-08','11' -'446','val_446','2008-04-08','11' -'459','val_459','2008-04-08','11' -'394','val_394','2008-04-08','11' -'237','val_237','2008-04-08','11' -'482','val_482','2008-04-08','11' -'174','val_174','2008-04-08','11' -'413','val_413','2008-04-08','11' -'494','val_494','2008-04-08','11' -'207','val_207','2008-04-08','11' -'199','val_199','2008-04-08','11' -'466','val_466','2008-04-08','11' -'208','val_208','2008-04-08','11' -'174','val_174','2008-04-08','11' -'399','val_399','2008-04-08','11' -'396','val_396','2008-04-08','11' -'247','val_247','2008-04-08','11' -'417','val_417','2008-04-08','11' -'489','val_489','2008-04-08','11' -'162','val_162','2008-04-08','11' -'377','val_377','2008-04-08','11' -'397','val_397','2008-04-08','11' -'309','val_309','2008-04-08','11' -'365','val_365','2008-04-08','11' -'266','val_266','2008-04-08','11' -'439','val_439','2008-04-08','11' -'342','val_342','2008-04-08','11' -'367','val_367','2008-04-08','11' -'325','val_325','2008-04-08','11' -'167','val_167','2008-04-08','11' -'195','val_195','2008-04-08','11' -'475','val_475','2008-04-08','11' -'17','val_17','2008-04-08','11' -'113','val_113','2008-04-08','11' -'155','val_155','2008-04-08','11' -'203','val_203','2008-04-08','11' -'339','val_339','2008-04-08','11' -'0','val_0','2008-04-08','11' -'455','val_455','2008-04-08','11' -'128','val_128','2008-04-08','11' -'311','val_311','2008-04-08','11' -'316','val_316','2008-04-08','11' -'57','val_57','2008-04-08','11' -'302','val_302','2008-04-08','11' -'205','val_205','2008-04-08','11' -'149','val_149','2008-04-08','11' -'438','val_438','2008-04-08','11' -'345','val_345','2008-04-08','11' -'129','val_129','2008-04-08','11' -'170','val_170','2008-04-08','11' -'20','val_20','2008-04-08','11' -'489','val_489','2008-04-08','11' -'157','val_157','2008-04-08','11' -'378','val_378','2008-04-08','11' -'221','val_221','2008-04-08','11' -'92','val_92','2008-04-08','11' -'111','val_111','2008-04-08','11' -'47','val_47','2008-04-08','11' -'72','val_72','2008-04-08','11' -'4','val_4','2008-04-08','11' -'280','val_280','2008-04-08','11' -'35','val_35','2008-04-08','11' -'427','val_427','2008-04-08','11' -'277','val_277','2008-04-08','11' -'208','val_208','2008-04-08','11' -'356','val_356','2008-04-08','11' -'399','val_399','2008-04-08','11' -'169','val_169','2008-04-08','11' -'382','val_382','2008-04-08','11' -'498','val_498','2008-04-08','11' -'125','val_125','2008-04-08','11' -'386','val_386','2008-04-08','11' -'437','val_437','2008-04-08','11' -'469','val_469','2008-04-08','11' -'192','val_192','2008-04-08','11' -'286','val_286','2008-04-08','11' -'187','val_187','2008-04-08','11' -'176','val_176','2008-04-08','11' -'54','val_54','2008-04-08','11' -'459','val_459','2008-04-08','11' -'51','val_51','2008-04-08','11' -'138','val_138','2008-04-08','11' -'103','val_103','2008-04-08','11' -'239','val_239','2008-04-08','11' -'213','val_213','2008-04-08','11' -'216','val_216','2008-04-08','11' -'430','val_430','2008-04-08','11' -'278','val_278','2008-04-08','11' -'176','val_176','2008-04-08','11' -'289','val_289','2008-04-08','11' -'221','val_221','2008-04-08','11' -'65','val_65','2008-04-08','11' -'318','val_318','2008-04-08','11' -'332','val_332','2008-04-08','11' -'311','val_311','2008-04-08','11' -'275','val_275','2008-04-08','11' -'137','val_137','2008-04-08','11' -'241','val_241','2008-04-08','11' -'83','val_83','2008-04-08','11' -'333','val_333','2008-04-08','11' -'180','val_180','2008-04-08','11' -'284','val_284','2008-04-08','11' -'12','val_12','2008-04-08','11' -'230','val_230','2008-04-08','11' -'181','val_181','2008-04-08','11' -'67','val_67','2008-04-08','11' -'260','val_260','2008-04-08','11' -'404','val_404','2008-04-08','11' -'384','val_384','2008-04-08','11' -'489','val_489','2008-04-08','11' -'353','val_353','2008-04-08','11' -'373','val_373','2008-04-08','11' -'272','val_272','2008-04-08','11' -'138','val_138','2008-04-08','11' -'217','val_217','2008-04-08','11' -'84','val_84','2008-04-08','11' -'348','val_348','2008-04-08','11' -'466','val_466','2008-04-08','11' -'58','val_58','2008-04-08','11' -'8','val_8','2008-04-08','11' -'411','val_411','2008-04-08','11' -'230','val_230','2008-04-08','11' -'208','val_208','2008-04-08','11' -'348','val_348','2008-04-08','11' -'24','val_24','2008-04-08','11' -'463','val_463','2008-04-08','11' -'431','val_431','2008-04-08','11' -'179','val_179','2008-04-08','11' -'172','val_172','2008-04-08','11' -'42','val_42','2008-04-08','11' -'129','val_129','2008-04-08','11' -'158','val_158','2008-04-08','11' -'119','val_119','2008-04-08','11' -'496','val_496','2008-04-08','11' -'0','val_0','2008-04-08','11' -'322','val_322','2008-04-08','11' -'197','val_197','2008-04-08','11' -'468','val_468','2008-04-08','11' -'393','val_393','2008-04-08','11' -'454','val_454','2008-04-08','11' -'100','val_100','2008-04-08','11' -'298','val_298','2008-04-08','11' -'199','val_199','2008-04-08','11' -'191','val_191','2008-04-08','11' -'418','val_418','2008-04-08','11' -'96','val_96','2008-04-08','11' -'26','val_26','2008-04-08','11' -'165','val_165','2008-04-08','11' -'327','val_327','2008-04-08','11' -'230','val_230','2008-04-08','11' -'205','val_205','2008-04-08','11' -'120','val_120','2008-04-08','11' -'131','val_131','2008-04-08','11' -'51','val_51','2008-04-08','11' -'404','val_404','2008-04-08','11' -'43','val_43','2008-04-08','11' -'436','val_436','2008-04-08','11' -'156','val_156','2008-04-08','11' -'469','val_469','2008-04-08','11' -'468','val_468','2008-04-08','11' -'308','val_308','2008-04-08','11' -'95','val_95','2008-04-08','11' -'196','val_196','2008-04-08','11' -'288','val_288','2008-04-08','11' -'481','val_481','2008-04-08','11' -'457','val_457','2008-04-08','11' -'98','val_98','2008-04-08','11' -'282','val_282','2008-04-08','11' -'197','val_197','2008-04-08','11' -'187','val_187','2008-04-08','11' -'318','val_318','2008-04-08','11' -'318','val_318','2008-04-08','11' -'409','val_409','2008-04-08','11' -'470','val_470','2008-04-08','11' -'137','val_137','2008-04-08','11' -'369','val_369','2008-04-08','11' -'316','val_316','2008-04-08','11' -'169','val_169','2008-04-08','11' -'413','val_413','2008-04-08','11' -'85','val_85','2008-04-08','11' -'77','val_77','2008-04-08','11' -'0','val_0','2008-04-08','11' -'490','val_490','2008-04-08','11' -'87','val_87','2008-04-08','11' -'364','val_364','2008-04-08','11' -'179','val_179','2008-04-08','11' -'118','val_118','2008-04-08','11' -'134','val_134','2008-04-08','11' -'395','val_395','2008-04-08','11' -'282','val_282','2008-04-08','11' -'138','val_138','2008-04-08','11' -'238','val_238','2008-04-08','11' -'419','val_419','2008-04-08','11' -'15','val_15','2008-04-08','11' -'118','val_118','2008-04-08','11' -'72','val_72','2008-04-08','11' -'90','val_90','2008-04-08','11' -'307','val_307','2008-04-08','11' -'19','val_19','2008-04-08','11' -'435','val_435','2008-04-08','11' -'10','val_10','2008-04-08','11' -'277','val_277','2008-04-08','11' -'273','val_273','2008-04-08','11' -'306','val_306','2008-04-08','11' -'224','val_224','2008-04-08','11' -'309','val_309','2008-04-08','11' -'389','val_389','2008-04-08','11' -'327','val_327','2008-04-08','11' -'242','val_242','2008-04-08','11' -'369','val_369','2008-04-08','11' -'392','val_392','2008-04-08','11' -'272','val_272','2008-04-08','11' -'331','val_331','2008-04-08','11' -'401','val_401','2008-04-08','11' -'242','val_242','2008-04-08','11' -'452','val_452','2008-04-08','11' -'177','val_177','2008-04-08','11' -'226','val_226','2008-04-08','11' -'5','val_5','2008-04-08','11' -'497','val_497','2008-04-08','11' -'402','val_402','2008-04-08','11' -'396','val_396','2008-04-08','11' -'317','val_317','2008-04-08','11' -'395','val_395','2008-04-08','11' -'58','val_58','2008-04-08','11' -'35','val_35','2008-04-08','11' -'336','val_336','2008-04-08','11' -'95','val_95','2008-04-08','11' -'11','val_11','2008-04-08','11' -'168','val_168','2008-04-08','11' -'34','val_34','2008-04-08','11' -'229','val_229','2008-04-08','11' -'233','val_233','2008-04-08','11' -'143','val_143','2008-04-08','11' -'472','val_472','2008-04-08','11' -'322','val_322','2008-04-08','11' -'498','val_498','2008-04-08','11' -'160','val_160','2008-04-08','11' -'195','val_195','2008-04-08','11' -'42','val_42','2008-04-08','11' -'321','val_321','2008-04-08','11' -'430','val_430','2008-04-08','11' -'119','val_119','2008-04-08','11' -'489','val_489','2008-04-08','11' -'458','val_458','2008-04-08','11' -'78','val_78','2008-04-08','11' -'76','val_76','2008-04-08','11' -'41','val_41','2008-04-08','11' -'223','val_223','2008-04-08','11' -'492','val_492','2008-04-08','11' -'149','val_149','2008-04-08','11' -'449','val_449','2008-04-08','11' -'218','val_218','2008-04-08','11' -'228','val_228','2008-04-08','11' -'138','val_138','2008-04-08','11' -'453','val_453','2008-04-08','11' -'30','val_30','2008-04-08','11' -'209','val_209','2008-04-08','11' -'64','val_64','2008-04-08','11' -'468','val_468','2008-04-08','11' -'76','val_76','2008-04-08','11' -'74','val_74','2008-04-08','11' -'342','val_342','2008-04-08','11' -'69','val_69','2008-04-08','11' -'230','val_230','2008-04-08','11' -'33','val_33','2008-04-08','11' -'368','val_368','2008-04-08','11' -'103','val_103','2008-04-08','11' -'296','val_296','2008-04-08','11' -'113','val_113','2008-04-08','11' -'216','val_216','2008-04-08','11' -'367','val_367','2008-04-08','11' -'344','val_344','2008-04-08','11' -'167','val_167','2008-04-08','11' -'274','val_274','2008-04-08','11' -'219','val_219','2008-04-08','11' -'239','val_239','2008-04-08','11' -'485','val_485','2008-04-08','11' -'116','val_116','2008-04-08','11' -'223','val_223','2008-04-08','11' -'256','val_256','2008-04-08','11' -'263','val_263','2008-04-08','11' -'70','val_70','2008-04-08','11' -'487','val_487','2008-04-08','11' -'480','val_480','2008-04-08','11' -'401','val_401','2008-04-08','11' -'288','val_288','2008-04-08','11' -'191','val_191','2008-04-08','11' -'5','val_5','2008-04-08','11' -'244','val_244','2008-04-08','11' -'438','val_438','2008-04-08','11' -'128','val_128','2008-04-08','11' -'467','val_467','2008-04-08','11' -'432','val_432','2008-04-08','11' -'202','val_202','2008-04-08','11' -'316','val_316','2008-04-08','11' -'229','val_229','2008-04-08','11' -'469','val_469','2008-04-08','11' -'463','val_463','2008-04-08','11' -'280','val_280','2008-04-08','11' -'2','val_2','2008-04-08','11' -'35','val_35','2008-04-08','11' -'283','val_283','2008-04-08','11' -'331','val_331','2008-04-08','11' -'235','val_235','2008-04-08','11' -'80','val_80','2008-04-08','11' -'44','val_44','2008-04-08','11' -'193','val_193','2008-04-08','11' -'321','val_321','2008-04-08','11' -'335','val_335','2008-04-08','11' -'104','val_104','2008-04-08','11' -'466','val_466','2008-04-08','11' -'366','val_366','2008-04-08','11' -'175','val_175','2008-04-08','11' -'403','val_403','2008-04-08','11' -'483','val_483','2008-04-08','11' -'53','val_53','2008-04-08','11' -'105','val_105','2008-04-08','11' -'257','val_257','2008-04-08','11' -'406','val_406','2008-04-08','11' -'409','val_409','2008-04-08','11' -'190','val_190','2008-04-08','11' -'406','val_406','2008-04-08','11' -'401','val_401','2008-04-08','11' -'114','val_114','2008-04-08','11' -'258','val_258','2008-04-08','11' -'90','val_90','2008-04-08','11' -'203','val_203','2008-04-08','11' -'262','val_262','2008-04-08','11' -'348','val_348','2008-04-08','11' -'424','val_424','2008-04-08','11' -'12','val_12','2008-04-08','11' -'396','val_396','2008-04-08','11' -'201','val_201','2008-04-08','11' -'217','val_217','2008-04-08','11' -'164','val_164','2008-04-08','11' -'431','val_431','2008-04-08','11' -'454','val_454','2008-04-08','11' -'478','val_478','2008-04-08','11' -'298','val_298','2008-04-08','11' -'125','val_125','2008-04-08','11' -'431','val_431','2008-04-08','11' -'164','val_164','2008-04-08','11' -'424','val_424','2008-04-08','11' -'187','val_187','2008-04-08','11' -'382','val_382','2008-04-08','11' -'5','val_5','2008-04-08','11' -'70','val_70','2008-04-08','11' -'397','val_397','2008-04-08','11' -'480','val_480','2008-04-08','11' -'291','val_291','2008-04-08','11' -'24','val_24','2008-04-08','11' -'351','val_351','2008-04-08','11' -'255','val_255','2008-04-08','11' -'104','val_104','2008-04-08','11' -'70','val_70','2008-04-08','11' -'163','val_163','2008-04-08','11' -'438','val_438','2008-04-08','11' -'119','val_119','2008-04-08','11' -'414','val_414','2008-04-08','11' -'200','val_200','2008-04-08','11' -'491','val_491','2008-04-08','11' -'237','val_237','2008-04-08','11' -'439','val_439','2008-04-08','11' -'360','val_360','2008-04-08','11' -'248','val_248','2008-04-08','11' -'479','val_479','2008-04-08','11' -'305','val_305','2008-04-08','11' -'417','val_417','2008-04-08','11' -'199','val_199','2008-04-08','11' -'444','val_444','2008-04-08','11' -'120','val_120','2008-04-08','11' -'429','val_429','2008-04-08','11' -'169','val_169','2008-04-08','11' -'443','val_443','2008-04-08','11' -'323','val_323','2008-04-08','11' -'325','val_325','2008-04-08','11' -'277','val_277','2008-04-08','11' -'230','val_230','2008-04-08','11' -'478','val_478','2008-04-08','11' -'178','val_178','2008-04-08','11' -'468','val_468','2008-04-08','11' -'310','val_310','2008-04-08','11' -'317','val_317','2008-04-08','11' -'333','val_333','2008-04-08','11' -'493','val_493','2008-04-08','11' -'460','val_460','2008-04-08','11' -'207','val_207','2008-04-08','11' -'249','val_249','2008-04-08','11' -'265','val_265','2008-04-08','11' -'480','val_480','2008-04-08','11' -'83','val_83','2008-04-08','11' -'136','val_136','2008-04-08','11' -'353','val_353','2008-04-08','11' -'172','val_172','2008-04-08','11' -'214','val_214','2008-04-08','11' -'462','val_462','2008-04-08','11' -'233','val_233','2008-04-08','11' -'406','val_406','2008-04-08','11' -'133','val_133','2008-04-08','11' -'175','val_175','2008-04-08','11' -'189','val_189','2008-04-08','11' -'454','val_454','2008-04-08','11' -'375','val_375','2008-04-08','11' -'401','val_401','2008-04-08','11' -'421','val_421','2008-04-08','11' -'407','val_407','2008-04-08','11' -'384','val_384','2008-04-08','11' -'256','val_256','2008-04-08','11' -'26','val_26','2008-04-08','11' -'134','val_134','2008-04-08','11' -'67','val_67','2008-04-08','11' -'384','val_384','2008-04-08','11' -'379','val_379','2008-04-08','11' -'18','val_18','2008-04-08','11' -'462','val_462','2008-04-08','11' -'492','val_492','2008-04-08','11' -'100','val_100','2008-04-08','11' -'298','val_298','2008-04-08','11' -'9','val_9','2008-04-08','11' -'341','val_341','2008-04-08','11' -'498','val_498','2008-04-08','11' -'146','val_146','2008-04-08','11' -'458','val_458','2008-04-08','11' -'362','val_362','2008-04-08','11' -'186','val_186','2008-04-08','11' -'285','val_285','2008-04-08','11' -'348','val_348','2008-04-08','11' -'167','val_167','2008-04-08','11' -'18','val_18','2008-04-08','11' -'273','val_273','2008-04-08','11' -'183','val_183','2008-04-08','11' -'281','val_281','2008-04-08','11' -'344','val_344','2008-04-08','11' -'97','val_97','2008-04-08','11' -'469','val_469','2008-04-08','11' -'315','val_315','2008-04-08','11' -'84','val_84','2008-04-08','11' -'28','val_28','2008-04-08','11' -'37','val_37','2008-04-08','11' -'448','val_448','2008-04-08','11' -'152','val_152','2008-04-08','11' -'348','val_348','2008-04-08','11' -'307','val_307','2008-04-08','11' -'194','val_194','2008-04-08','11' -'414','val_414','2008-04-08','11' -'477','val_477','2008-04-08','11' -'222','val_222','2008-04-08','11' -'126','val_126','2008-04-08','11' -'90','val_90','2008-04-08','11' -'169','val_169','2008-04-08','11' -'403','val_403','2008-04-08','11' -'400','val_400','2008-04-08','11' -'200','val_200','2008-04-08','11' -'97','val_97','2008-04-08','11' -'238','val_238','2008-04-08','12' -'86','val_86','2008-04-08','12' -'311','val_311','2008-04-08','12' -'27','val_27','2008-04-08','12' -'165','val_165','2008-04-08','12' -'409','val_409','2008-04-08','12' -'255','val_255','2008-04-08','12' -'278','val_278','2008-04-08','12' -'98','val_98','2008-04-08','12' -'484','val_484','2008-04-08','12' -'265','val_265','2008-04-08','12' -'193','val_193','2008-04-08','12' -'401','val_401','2008-04-08','12' -'150','val_150','2008-04-08','12' -'273','val_273','2008-04-08','12' -'224','val_224','2008-04-08','12' -'369','val_369','2008-04-08','12' -'66','val_66','2008-04-08','12' -'128','val_128','2008-04-08','12' -'213','val_213','2008-04-08','12' -'146','val_146','2008-04-08','12' -'406','val_406','2008-04-08','12' -'429','val_429','2008-04-08','12' -'374','val_374','2008-04-08','12' -'152','val_152','2008-04-08','12' -'469','val_469','2008-04-08','12' -'145','val_145','2008-04-08','12' -'495','val_495','2008-04-08','12' -'37','val_37','2008-04-08','12' -'327','val_327','2008-04-08','12' -'281','val_281','2008-04-08','12' -'277','val_277','2008-04-08','12' -'209','val_209','2008-04-08','12' -'15','val_15','2008-04-08','12' -'82','val_82','2008-04-08','12' -'403','val_403','2008-04-08','12' -'166','val_166','2008-04-08','12' -'417','val_417','2008-04-08','12' -'430','val_430','2008-04-08','12' -'252','val_252','2008-04-08','12' -'292','val_292','2008-04-08','12' -'219','val_219','2008-04-08','12' -'287','val_287','2008-04-08','12' -'153','val_153','2008-04-08','12' -'193','val_193','2008-04-08','12' -'338','val_338','2008-04-08','12' -'446','val_446','2008-04-08','12' -'459','val_459','2008-04-08','12' -'394','val_394','2008-04-08','12' -'237','val_237','2008-04-08','12' -'482','val_482','2008-04-08','12' -'174','val_174','2008-04-08','12' -'413','val_413','2008-04-08','12' -'494','val_494','2008-04-08','12' -'207','val_207','2008-04-08','12' -'199','val_199','2008-04-08','12' -'466','val_466','2008-04-08','12' -'208','val_208','2008-04-08','12' -'174','val_174','2008-04-08','12' -'399','val_399','2008-04-08','12' -'396','val_396','2008-04-08','12' -'247','val_247','2008-04-08','12' -'417','val_417','2008-04-08','12' -'489','val_489','2008-04-08','12' -'162','val_162','2008-04-08','12' -'377','val_377','2008-04-08','12' -'397','val_397','2008-04-08','12' -'309','val_309','2008-04-08','12' -'365','val_365','2008-04-08','12' -'266','val_266','2008-04-08','12' -'439','val_439','2008-04-08','12' -'342','val_342','2008-04-08','12' -'367','val_367','2008-04-08','12' -'325','val_325','2008-04-08','12' -'167','val_167','2008-04-08','12' -'195','val_195','2008-04-08','12' -'475','val_475','2008-04-08','12' -'17','val_17','2008-04-08','12' -'113','val_113','2008-04-08','12' -'155','val_155','2008-04-08','12' -'203','val_203','2008-04-08','12' -'339','val_339','2008-04-08','12' -'0','val_0','2008-04-08','12' -'455','val_455','2008-04-08','12' -'128','val_128','2008-04-08','12' -'311','val_311','2008-04-08','12' -'316','val_316','2008-04-08','12' -'57','val_57','2008-04-08','12' -'302','val_302','2008-04-08','12' -'205','val_205','2008-04-08','12' -'149','val_149','2008-04-08','12' -'438','val_438','2008-04-08','12' -'345','val_345','2008-04-08','12' -'129','val_129','2008-04-08','12' -'170','val_170','2008-04-08','12' -'20','val_20','2008-04-08','12' -'489','val_489','2008-04-08','12' -'157','val_157','2008-04-08','12' -'378','val_378','2008-04-08','12' -'221','val_221','2008-04-08','12' -'92','val_92','2008-04-08','12' -'111','val_111','2008-04-08','12' -'47','val_47','2008-04-08','12' -'72','val_72','2008-04-08','12' -'4','val_4','2008-04-08','12' -'280','val_280','2008-04-08','12' -'35','val_35','2008-04-08','12' -'427','val_427','2008-04-08','12' -'277','val_277','2008-04-08','12' -'208','val_208','2008-04-08','12' -'356','val_356','2008-04-08','12' -'399','val_399','2008-04-08','12' -'169','val_169','2008-04-08','12' -'382','val_382','2008-04-08','12' -'498','val_498','2008-04-08','12' -'125','val_125','2008-04-08','12' -'386','val_386','2008-04-08','12' -'437','val_437','2008-04-08','12' -'469','val_469','2008-04-08','12' -'192','val_192','2008-04-08','12' -'286','val_286','2008-04-08','12' -'187','val_187','2008-04-08','12' -'176','val_176','2008-04-08','12' -'54','val_54','2008-04-08','12' -'459','val_459','2008-04-08','12' -'51','val_51','2008-04-08','12' -'138','val_138','2008-04-08','12' -'103','val_103','2008-04-08','12' -'239','val_239','2008-04-08','12' -'213','val_213','2008-04-08','12' -'216','val_216','2008-04-08','12' -'430','val_430','2008-04-08','12' -'278','val_278','2008-04-08','12' -'176','val_176','2008-04-08','12' -'289','val_289','2008-04-08','12' -'221','val_221','2008-04-08','12' -'65','val_65','2008-04-08','12' -'318','val_318','2008-04-08','12' -'332','val_332','2008-04-08','12' -'311','val_311','2008-04-08','12' -'275','val_275','2008-04-08','12' -'137','val_137','2008-04-08','12' -'241','val_241','2008-04-08','12' -'83','val_83','2008-04-08','12' -'333','val_333','2008-04-08','12' -'180','val_180','2008-04-08','12' -'284','val_284','2008-04-08','12' -'12','val_12','2008-04-08','12' -'230','val_230','2008-04-08','12' -'181','val_181','2008-04-08','12' -'67','val_67','2008-04-08','12' -'260','val_260','2008-04-08','12' -'404','val_404','2008-04-08','12' -'384','val_384','2008-04-08','12' -'489','val_489','2008-04-08','12' -'353','val_353','2008-04-08','12' -'373','val_373','2008-04-08','12' -'272','val_272','2008-04-08','12' -'138','val_138','2008-04-08','12' -'217','val_217','2008-04-08','12' -'84','val_84','2008-04-08','12' -'348','val_348','2008-04-08','12' -'466','val_466','2008-04-08','12' -'58','val_58','2008-04-08','12' -'8','val_8','2008-04-08','12' -'411','val_411','2008-04-08','12' -'230','val_230','2008-04-08','12' -'208','val_208','2008-04-08','12' -'348','val_348','2008-04-08','12' -'24','val_24','2008-04-08','12' -'463','val_463','2008-04-08','12' -'431','val_431','2008-04-08','12' -'179','val_179','2008-04-08','12' -'172','val_172','2008-04-08','12' -'42','val_42','2008-04-08','12' -'129','val_129','2008-04-08','12' -'158','val_158','2008-04-08','12' -'119','val_119','2008-04-08','12' -'496','val_496','2008-04-08','12' -'0','val_0','2008-04-08','12' -'322','val_322','2008-04-08','12' -'197','val_197','2008-04-08','12' -'468','val_468','2008-04-08','12' -'393','val_393','2008-04-08','12' -'454','val_454','2008-04-08','12' -'100','val_100','2008-04-08','12' -'298','val_298','2008-04-08','12' -'199','val_199','2008-04-08','12' -'191','val_191','2008-04-08','12' -'418','val_418','2008-04-08','12' -'96','val_96','2008-04-08','12' -'26','val_26','2008-04-08','12' -'165','val_165','2008-04-08','12' -'327','val_327','2008-04-08','12' -'230','val_230','2008-04-08','12' -'205','val_205','2008-04-08','12' -'120','val_120','2008-04-08','12' -'131','val_131','2008-04-08','12' -'51','val_51','2008-04-08','12' -'404','val_404','2008-04-08','12' -'43','val_43','2008-04-08','12' -'436','val_436','2008-04-08','12' -'156','val_156','2008-04-08','12' -'469','val_469','2008-04-08','12' -'468','val_468','2008-04-08','12' -'308','val_308','2008-04-08','12' -'95','val_95','2008-04-08','12' -'196','val_196','2008-04-08','12' -'288','val_288','2008-04-08','12' -'481','val_481','2008-04-08','12' -'457','val_457','2008-04-08','12' -'98','val_98','2008-04-08','12' -'282','val_282','2008-04-08','12' -'197','val_197','2008-04-08','12' -'187','val_187','2008-04-08','12' -'318','val_318','2008-04-08','12' -'318','val_318','2008-04-08','12' -'409','val_409','2008-04-08','12' -'470','val_470','2008-04-08','12' -'137','val_137','2008-04-08','12' -'369','val_369','2008-04-08','12' -'316','val_316','2008-04-08','12' -'169','val_169','2008-04-08','12' -'413','val_413','2008-04-08','12' -'85','val_85','2008-04-08','12' -'77','val_77','2008-04-08','12' -'0','val_0','2008-04-08','12' -'490','val_490','2008-04-08','12' -'87','val_87','2008-04-08','12' -'364','val_364','2008-04-08','12' -'179','val_179','2008-04-08','12' -'118','val_118','2008-04-08','12' -'134','val_134','2008-04-08','12' -'395','val_395','2008-04-08','12' -'282','val_282','2008-04-08','12' -'138','val_138','2008-04-08','12' -'238','val_238','2008-04-08','12' -'419','val_419','2008-04-08','12' -'15','val_15','2008-04-08','12' -'118','val_118','2008-04-08','12' -'72','val_72','2008-04-08','12' -'90','val_90','2008-04-08','12' -'307','val_307','2008-04-08','12' -'19','val_19','2008-04-08','12' -'435','val_435','2008-04-08','12' -'10','val_10','2008-04-08','12' -'277','val_277','2008-04-08','12' -'273','val_273','2008-04-08','12' -'306','val_306','2008-04-08','12' -'224','val_224','2008-04-08','12' -'309','val_309','2008-04-08','12' -'389','val_389','2008-04-08','12' -'327','val_327','2008-04-08','12' -'242','val_242','2008-04-08','12' -'369','val_369','2008-04-08','12' -'392','val_392','2008-04-08','12' -'272','val_272','2008-04-08','12' -'331','val_331','2008-04-08','12' -'401','val_401','2008-04-08','12' -'242','val_242','2008-04-08','12' -'452','val_452','2008-04-08','12' -'177','val_177','2008-04-08','12' -'226','val_226','2008-04-08','12' -'5','val_5','2008-04-08','12' -'497','val_497','2008-04-08','12' -'402','val_402','2008-04-08','12' -'396','val_396','2008-04-08','12' -'317','val_317','2008-04-08','12' -'395','val_395','2008-04-08','12' -'58','val_58','2008-04-08','12' -'35','val_35','2008-04-08','12' -'336','val_336','2008-04-08','12' -'95','val_95','2008-04-08','12' -'11','val_11','2008-04-08','12' -'168','val_168','2008-04-08','12' -'34','val_34','2008-04-08','12' -'229','val_229','2008-04-08','12' -'233','val_233','2008-04-08','12' -'143','val_143','2008-04-08','12' -'472','val_472','2008-04-08','12' -'322','val_322','2008-04-08','12' -'498','val_498','2008-04-08','12' -'160','val_160','2008-04-08','12' -'195','val_195','2008-04-08','12' -'42','val_42','2008-04-08','12' -'321','val_321','2008-04-08','12' -'430','val_430','2008-04-08','12' -'119','val_119','2008-04-08','12' -'489','val_489','2008-04-08','12' -'458','val_458','2008-04-08','12' -'78','val_78','2008-04-08','12' -'76','val_76','2008-04-08','12' -'41','val_41','2008-04-08','12' -'223','val_223','2008-04-08','12' -'492','val_492','2008-04-08','12' -'149','val_149','2008-04-08','12' -'449','val_449','2008-04-08','12' -'218','val_218','2008-04-08','12' -'228','val_228','2008-04-08','12' -'138','val_138','2008-04-08','12' -'453','val_453','2008-04-08','12' -'30','val_30','2008-04-08','12' -'209','val_209','2008-04-08','12' -'64','val_64','2008-04-08','12' -'468','val_468','2008-04-08','12' -'76','val_76','2008-04-08','12' -'74','val_74','2008-04-08','12' -'342','val_342','2008-04-08','12' -'69','val_69','2008-04-08','12' -'230','val_230','2008-04-08','12' -'33','val_33','2008-04-08','12' -'368','val_368','2008-04-08','12' -'103','val_103','2008-04-08','12' -'296','val_296','2008-04-08','12' -'113','val_113','2008-04-08','12' -'216','val_216','2008-04-08','12' -'367','val_367','2008-04-08','12' -'344','val_344','2008-04-08','12' -'167','val_167','2008-04-08','12' -'274','val_274','2008-04-08','12' -'219','val_219','2008-04-08','12' -'239','val_239','2008-04-08','12' -'485','val_485','2008-04-08','12' -'116','val_116','2008-04-08','12' -'223','val_223','2008-04-08','12' -'256','val_256','2008-04-08','12' -'263','val_263','2008-04-08','12' -'70','val_70','2008-04-08','12' -'487','val_487','2008-04-08','12' -'480','val_480','2008-04-08','12' -'401','val_401','2008-04-08','12' -'288','val_288','2008-04-08','12' -'191','val_191','2008-04-08','12' -'5','val_5','2008-04-08','12' -'244','val_244','2008-04-08','12' -'438','val_438','2008-04-08','12' -'128','val_128','2008-04-08','12' -'467','val_467','2008-04-08','12' -'432','val_432','2008-04-08','12' -'202','val_202','2008-04-08','12' -'316','val_316','2008-04-08','12' -'229','val_229','2008-04-08','12' -'469','val_469','2008-04-08','12' -'463','val_463','2008-04-08','12' -'280','val_280','2008-04-08','12' -'2','val_2','2008-04-08','12' -'35','val_35','2008-04-08','12' -'283','val_283','2008-04-08','12' -'331','val_331','2008-04-08','12' -'235','val_235','2008-04-08','12' -'80','val_80','2008-04-08','12' -'44','val_44','2008-04-08','12' -'193','val_193','2008-04-08','12' -'321','val_321','2008-04-08','12' -'335','val_335','2008-04-08','12' -'104','val_104','2008-04-08','12' -'466','val_466','2008-04-08','12' -'366','val_366','2008-04-08','12' -'175','val_175','2008-04-08','12' -'403','val_403','2008-04-08','12' -'483','val_483','2008-04-08','12' -'53','val_53','2008-04-08','12' -'105','val_105','2008-04-08','12' -'257','val_257','2008-04-08','12' -'406','val_406','2008-04-08','12' -'409','val_409','2008-04-08','12' -'190','val_190','2008-04-08','12' -'406','val_406','2008-04-08','12' -'401','val_401','2008-04-08','12' -'114','val_114','2008-04-08','12' -'258','val_258','2008-04-08','12' -'90','val_90','2008-04-08','12' -'203','val_203','2008-04-08','12' -'262','val_262','2008-04-08','12' -'348','val_348','2008-04-08','12' -'424','val_424','2008-04-08','12' -'12','val_12','2008-04-08','12' -'396','val_396','2008-04-08','12' -'201','val_201','2008-04-08','12' -'217','val_217','2008-04-08','12' -'164','val_164','2008-04-08','12' -'431','val_431','2008-04-08','12' -'454','val_454','2008-04-08','12' -'478','val_478','2008-04-08','12' -'298','val_298','2008-04-08','12' -'125','val_125','2008-04-08','12' -'431','val_431','2008-04-08','12' -'164','val_164','2008-04-08','12' -'424','val_424','2008-04-08','12' -'187','val_187','2008-04-08','12' -'382','val_382','2008-04-08','12' -'5','val_5','2008-04-08','12' -'70','val_70','2008-04-08','12' -'397','val_397','2008-04-08','12' -'480','val_480','2008-04-08','12' -'291','val_291','2008-04-08','12' -'24','val_24','2008-04-08','12' -'351','val_351','2008-04-08','12' -'255','val_255','2008-04-08','12' -'104','val_104','2008-04-08','12' -'70','val_70','2008-04-08','12' -'163','val_163','2008-04-08','12' -'438','val_438','2008-04-08','12' -'119','val_119','2008-04-08','12' -'414','val_414','2008-04-08','12' -'200','val_200','2008-04-08','12' -'491','val_491','2008-04-08','12' -'237','val_237','2008-04-08','12' -'439','val_439','2008-04-08','12' -'360','val_360','2008-04-08','12' -'248','val_248','2008-04-08','12' -'479','val_479','2008-04-08','12' -'305','val_305','2008-04-08','12' -'417','val_417','2008-04-08','12' -'199','val_199','2008-04-08','12' -'444','val_444','2008-04-08','12' -'120','val_120','2008-04-08','12' -'429','val_429','2008-04-08','12' -'169','val_169','2008-04-08','12' -'443','val_443','2008-04-08','12' -'323','val_323','2008-04-08','12' -'325','val_325','2008-04-08','12' -'277','val_277','2008-04-08','12' -'230','val_230','2008-04-08','12' -'478','val_478','2008-04-08','12' -'178','val_178','2008-04-08','12' -'468','val_468','2008-04-08','12' -'310','val_310','2008-04-08','12' -'317','val_317','2008-04-08','12' -'333','val_333','2008-04-08','12' -'493','val_493','2008-04-08','12' -'460','val_460','2008-04-08','12' -'207','val_207','2008-04-08','12' -'249','val_249','2008-04-08','12' -'265','val_265','2008-04-08','12' -'480','val_480','2008-04-08','12' -'83','val_83','2008-04-08','12' -'136','val_136','2008-04-08','12' -'353','val_353','2008-04-08','12' -'172','val_172','2008-04-08','12' -'214','val_214','2008-04-08','12' -'462','val_462','2008-04-08','12' -'233','val_233','2008-04-08','12' -'406','val_406','2008-04-08','12' -'133','val_133','2008-04-08','12' -'175','val_175','2008-04-08','12' -'189','val_189','2008-04-08','12' -'454','val_454','2008-04-08','12' -'375','val_375','2008-04-08','12' -'401','val_401','2008-04-08','12' -'421','val_421','2008-04-08','12' -'407','val_407','2008-04-08','12' -'384','val_384','2008-04-08','12' -'256','val_256','2008-04-08','12' -'26','val_26','2008-04-08','12' -'134','val_134','2008-04-08','12' -'67','val_67','2008-04-08','12' -'384','val_384','2008-04-08','12' -'379','val_379','2008-04-08','12' -'18','val_18','2008-04-08','12' -'462','val_462','2008-04-08','12' -'492','val_492','2008-04-08','12' -'100','val_100','2008-04-08','12' -'298','val_298','2008-04-08','12' -'9','val_9','2008-04-08','12' -'341','val_341','2008-04-08','12' -'498','val_498','2008-04-08','12' -'146','val_146','2008-04-08','12' -'458','val_458','2008-04-08','12' -'362','val_362','2008-04-08','12' -'186','val_186','2008-04-08','12' -'285','val_285','2008-04-08','12' -'348','val_348','2008-04-08','12' -'167','val_167','2008-04-08','12' -'18','val_18','2008-04-08','12' -'273','val_273','2008-04-08','12' -'183','val_183','2008-04-08','12' -'281','val_281','2008-04-08','12' -'344','val_344','2008-04-08','12' -'97','val_97','2008-04-08','12' -'469','val_469','2008-04-08','12' -'315','val_315','2008-04-08','12' -'84','val_84','2008-04-08','12' -'28','val_28','2008-04-08','12' -'37','val_37','2008-04-08','12' -'448','val_448','2008-04-08','12' -'152','val_152','2008-04-08','12' -'348','val_348','2008-04-08','12' -'307','val_307','2008-04-08','12' -'194','val_194','2008-04-08','12' -'414','val_414','2008-04-08','12' -'477','val_477','2008-04-08','12' -'222','val_222','2008-04-08','12' -'126','val_126','2008-04-08','12' -'90','val_90','2008-04-08','12' -'169','val_169','2008-04-08','12' -'403','val_403','2008-04-08','12' -'400','val_400','2008-04-08','12' -'200','val_200','2008-04-08','12' -'97','val_97','2008-04-08','12' -'238','val_238','2008-04-08','existing_value' -'86','val_86','2008-04-08','existing_value' -'311','val_311','2008-04-08','existing_value' -'27','val_27','2008-04-08','existing_value' -'165','val_165','2008-04-08','existing_value' -'409','val_409','2008-04-08','existing_value' -'255','val_255','2008-04-08','existing_value' -'278','val_278','2008-04-08','existing_value' -'98','val_98','2008-04-08','existing_value' -'484','val_484','2008-04-08','existing_value' -'265','val_265','2008-04-08','existing_value' -'193','val_193','2008-04-08','existing_value' -'401','val_401','2008-04-08','existing_value' -'150','val_150','2008-04-08','existing_value' -'273','val_273','2008-04-08','existing_value' -'224','val_224','2008-04-08','existing_value' -'369','val_369','2008-04-08','existing_value' -'66','val_66','2008-04-08','existing_value' -'128','val_128','2008-04-08','existing_value' -'213','val_213','2008-04-08','existing_value' -'146','val_146','2008-04-08','existing_value' -'406','val_406','2008-04-08','existing_value' -'429','val_429','2008-04-08','existing_value' -'374','val_374','2008-04-08','existing_value' -'152','val_152','2008-04-08','existing_value' -'469','val_469','2008-04-08','existing_value' -'145','val_145','2008-04-08','existing_value' -'495','val_495','2008-04-08','existing_value' -'37','val_37','2008-04-08','existing_value' -'327','val_327','2008-04-08','existing_value' -'281','val_281','2008-04-08','existing_value' -'277','val_277','2008-04-08','existing_value' -'209','val_209','2008-04-08','existing_value' -'15','val_15','2008-04-08','existing_value' -'82','val_82','2008-04-08','existing_value' -'403','val_403','2008-04-08','existing_value' -'166','val_166','2008-04-08','existing_value' -'417','val_417','2008-04-08','existing_value' -'430','val_430','2008-04-08','existing_value' -'252','val_252','2008-04-08','existing_value' -'292','val_292','2008-04-08','existing_value' -'219','val_219','2008-04-08','existing_value' -'287','val_287','2008-04-08','existing_value' -'153','val_153','2008-04-08','existing_value' -'193','val_193','2008-04-08','existing_value' -'338','val_338','2008-04-08','existing_value' -'446','val_446','2008-04-08','existing_value' -'459','val_459','2008-04-08','existing_value' -'394','val_394','2008-04-08','existing_value' -'237','val_237','2008-04-08','existing_value' -'482','val_482','2008-04-08','existing_value' -'174','val_174','2008-04-08','existing_value' -'413','val_413','2008-04-08','existing_value' -'494','val_494','2008-04-08','existing_value' -'207','val_207','2008-04-08','existing_value' -'199','val_199','2008-04-08','existing_value' -'466','val_466','2008-04-08','existing_value' -'208','val_208','2008-04-08','existing_value' -'174','val_174','2008-04-08','existing_value' -'399','val_399','2008-04-08','existing_value' -'396','val_396','2008-04-08','existing_value' -'247','val_247','2008-04-08','existing_value' -'417','val_417','2008-04-08','existing_value' -'489','val_489','2008-04-08','existing_value' -'162','val_162','2008-04-08','existing_value' -'377','val_377','2008-04-08','existing_value' -'397','val_397','2008-04-08','existing_value' -'309','val_309','2008-04-08','existing_value' -'365','val_365','2008-04-08','existing_value' -'266','val_266','2008-04-08','existing_value' -'439','val_439','2008-04-08','existing_value' -'342','val_342','2008-04-08','existing_value' -'367','val_367','2008-04-08','existing_value' -'325','val_325','2008-04-08','existing_value' -'167','val_167','2008-04-08','existing_value' -'195','val_195','2008-04-08','existing_value' -'475','val_475','2008-04-08','existing_value' -'17','val_17','2008-04-08','existing_value' -'113','val_113','2008-04-08','existing_value' -'155','val_155','2008-04-08','existing_value' -'203','val_203','2008-04-08','existing_value' -'339','val_339','2008-04-08','existing_value' -'0','val_0','2008-04-08','existing_value' -'455','val_455','2008-04-08','existing_value' -'128','val_128','2008-04-08','existing_value' -'311','val_311','2008-04-08','existing_value' -'316','val_316','2008-04-08','existing_value' -'57','val_57','2008-04-08','existing_value' -'302','val_302','2008-04-08','existing_value' -'205','val_205','2008-04-08','existing_value' -'149','val_149','2008-04-08','existing_value' -'438','val_438','2008-04-08','existing_value' -'345','val_345','2008-04-08','existing_value' -'129','val_129','2008-04-08','existing_value' -'170','val_170','2008-04-08','existing_value' -'20','val_20','2008-04-08','existing_value' -'489','val_489','2008-04-08','existing_value' -'157','val_157','2008-04-08','existing_value' -'378','val_378','2008-04-08','existing_value' -'221','val_221','2008-04-08','existing_value' -'92','val_92','2008-04-08','existing_value' -'111','val_111','2008-04-08','existing_value' -'47','val_47','2008-04-08','existing_value' -'72','val_72','2008-04-08','existing_value' -'4','val_4','2008-04-08','existing_value' -'280','val_280','2008-04-08','existing_value' -'35','val_35','2008-04-08','existing_value' -'427','val_427','2008-04-08','existing_value' -'277','val_277','2008-04-08','existing_value' -'208','val_208','2008-04-08','existing_value' -'356','val_356','2008-04-08','existing_value' -'399','val_399','2008-04-08','existing_value' -'169','val_169','2008-04-08','existing_value' -'382','val_382','2008-04-08','existing_value' -'498','val_498','2008-04-08','existing_value' -'125','val_125','2008-04-08','existing_value' -'386','val_386','2008-04-08','existing_value' -'437','val_437','2008-04-08','existing_value' -'469','val_469','2008-04-08','existing_value' -'192','val_192','2008-04-08','existing_value' -'286','val_286','2008-04-08','existing_value' -'187','val_187','2008-04-08','existing_value' -'176','val_176','2008-04-08','existing_value' -'54','val_54','2008-04-08','existing_value' -'459','val_459','2008-04-08','existing_value' -'51','val_51','2008-04-08','existing_value' -'138','val_138','2008-04-08','existing_value' -'103','val_103','2008-04-08','existing_value' -'239','val_239','2008-04-08','existing_value' -'213','val_213','2008-04-08','existing_value' -'216','val_216','2008-04-08','existing_value' -'430','val_430','2008-04-08','existing_value' -'278','val_278','2008-04-08','existing_value' -'176','val_176','2008-04-08','existing_value' -'289','val_289','2008-04-08','existing_value' -'221','val_221','2008-04-08','existing_value' -'65','val_65','2008-04-08','existing_value' -'318','val_318','2008-04-08','existing_value' -'332','val_332','2008-04-08','existing_value' -'311','val_311','2008-04-08','existing_value' -'275','val_275','2008-04-08','existing_value' -'137','val_137','2008-04-08','existing_value' -'241','val_241','2008-04-08','existing_value' -'83','val_83','2008-04-08','existing_value' -'333','val_333','2008-04-08','existing_value' -'180','val_180','2008-04-08','existing_value' -'284','val_284','2008-04-08','existing_value' -'12','val_12','2008-04-08','existing_value' -'230','val_230','2008-04-08','existing_value' -'181','val_181','2008-04-08','existing_value' -'67','val_67','2008-04-08','existing_value' -'260','val_260','2008-04-08','existing_value' -'404','val_404','2008-04-08','existing_value' -'384','val_384','2008-04-08','existing_value' -'489','val_489','2008-04-08','existing_value' -'353','val_353','2008-04-08','existing_value' -'373','val_373','2008-04-08','existing_value' -'272','val_272','2008-04-08','existing_value' -'138','val_138','2008-04-08','existing_value' -'217','val_217','2008-04-08','existing_value' -'84','val_84','2008-04-08','existing_value' -'348','val_348','2008-04-08','existing_value' -'466','val_466','2008-04-08','existing_value' -'58','val_58','2008-04-08','existing_value' -'8','val_8','2008-04-08','existing_value' -'411','val_411','2008-04-08','existing_value' -'230','val_230','2008-04-08','existing_value' -'208','val_208','2008-04-08','existing_value' -'348','val_348','2008-04-08','existing_value' -'24','val_24','2008-04-08','existing_value' -'463','val_463','2008-04-08','existing_value' -'431','val_431','2008-04-08','existing_value' -'179','val_179','2008-04-08','existing_value' -'172','val_172','2008-04-08','existing_value' -'42','val_42','2008-04-08','existing_value' -'129','val_129','2008-04-08','existing_value' -'158','val_158','2008-04-08','existing_value' -'119','val_119','2008-04-08','existing_value' -'496','val_496','2008-04-08','existing_value' -'0','val_0','2008-04-08','existing_value' -'322','val_322','2008-04-08','existing_value' -'197','val_197','2008-04-08','existing_value' -'468','val_468','2008-04-08','existing_value' -'393','val_393','2008-04-08','existing_value' -'454','val_454','2008-04-08','existing_value' -'100','val_100','2008-04-08','existing_value' -'298','val_298','2008-04-08','existing_value' -'199','val_199','2008-04-08','existing_value' -'191','val_191','2008-04-08','existing_value' -'418','val_418','2008-04-08','existing_value' -'96','val_96','2008-04-08','existing_value' -'26','val_26','2008-04-08','existing_value' -'165','val_165','2008-04-08','existing_value' -'327','val_327','2008-04-08','existing_value' -'230','val_230','2008-04-08','existing_value' -'205','val_205','2008-04-08','existing_value' -'120','val_120','2008-04-08','existing_value' -'131','val_131','2008-04-08','existing_value' -'51','val_51','2008-04-08','existing_value' -'404','val_404','2008-04-08','existing_value' -'43','val_43','2008-04-08','existing_value' -'436','val_436','2008-04-08','existing_value' -'156','val_156','2008-04-08','existing_value' -'469','val_469','2008-04-08','existing_value' -'468','val_468','2008-04-08','existing_value' -'308','val_308','2008-04-08','existing_value' -'95','val_95','2008-04-08','existing_value' -'196','val_196','2008-04-08','existing_value' -'288','val_288','2008-04-08','existing_value' -'481','val_481','2008-04-08','existing_value' -'457','val_457','2008-04-08','existing_value' -'98','val_98','2008-04-08','existing_value' -'282','val_282','2008-04-08','existing_value' -'197','val_197','2008-04-08','existing_value' -'187','val_187','2008-04-08','existing_value' -'318','val_318','2008-04-08','existing_value' -'318','val_318','2008-04-08','existing_value' -'409','val_409','2008-04-08','existing_value' -'470','val_470','2008-04-08','existing_value' -'137','val_137','2008-04-08','existing_value' -'369','val_369','2008-04-08','existing_value' -'316','val_316','2008-04-08','existing_value' -'169','val_169','2008-04-08','existing_value' -'413','val_413','2008-04-08','existing_value' -'85','val_85','2008-04-08','existing_value' -'77','val_77','2008-04-08','existing_value' -'0','val_0','2008-04-08','existing_value' -'490','val_490','2008-04-08','existing_value' -'87','val_87','2008-04-08','existing_value' -'364','val_364','2008-04-08','existing_value' -'179','val_179','2008-04-08','existing_value' -'118','val_118','2008-04-08','existing_value' -'134','val_134','2008-04-08','existing_value' -'395','val_395','2008-04-08','existing_value' -'282','val_282','2008-04-08','existing_value' -'138','val_138','2008-04-08','existing_value' -'238','val_238','2008-04-08','existing_value' -'419','val_419','2008-04-08','existing_value' -'15','val_15','2008-04-08','existing_value' -'118','val_118','2008-04-08','existing_value' -'72','val_72','2008-04-08','existing_value' -'90','val_90','2008-04-08','existing_value' -'307','val_307','2008-04-08','existing_value' -'19','val_19','2008-04-08','existing_value' -'435','val_435','2008-04-08','existing_value' -'10','val_10','2008-04-08','existing_value' -'277','val_277','2008-04-08','existing_value' -'273','val_273','2008-04-08','existing_value' -'306','val_306','2008-04-08','existing_value' -'224','val_224','2008-04-08','existing_value' -'309','val_309','2008-04-08','existing_value' -'389','val_389','2008-04-08','existing_value' -'327','val_327','2008-04-08','existing_value' -'242','val_242','2008-04-08','existing_value' -'369','val_369','2008-04-08','existing_value' -'392','val_392','2008-04-08','existing_value' -'272','val_272','2008-04-08','existing_value' -'331','val_331','2008-04-08','existing_value' -'401','val_401','2008-04-08','existing_value' -'242','val_242','2008-04-08','existing_value' -'452','val_452','2008-04-08','existing_value' -'177','val_177','2008-04-08','existing_value' -'226','val_226','2008-04-08','existing_value' -'5','val_5','2008-04-08','existing_value' -'497','val_497','2008-04-08','existing_value' -'402','val_402','2008-04-08','existing_value' -'396','val_396','2008-04-08','existing_value' -'317','val_317','2008-04-08','existing_value' -'395','val_395','2008-04-08','existing_value' -'58','val_58','2008-04-08','existing_value' -'35','val_35','2008-04-08','existing_value' -'336','val_336','2008-04-08','existing_value' -'95','val_95','2008-04-08','existing_value' -'11','val_11','2008-04-08','existing_value' -'168','val_168','2008-04-08','existing_value' -'34','val_34','2008-04-08','existing_value' -'229','val_229','2008-04-08','existing_value' -'233','val_233','2008-04-08','existing_value' -'143','val_143','2008-04-08','existing_value' -'472','val_472','2008-04-08','existing_value' -'322','val_322','2008-04-08','existing_value' -'498','val_498','2008-04-08','existing_value' -'160','val_160','2008-04-08','existing_value' -'195','val_195','2008-04-08','existing_value' -'42','val_42','2008-04-08','existing_value' -'321','val_321','2008-04-08','existing_value' -'430','val_430','2008-04-08','existing_value' -'119','val_119','2008-04-08','existing_value' -'489','val_489','2008-04-08','existing_value' -'458','val_458','2008-04-08','existing_value' -'78','val_78','2008-04-08','existing_value' -'76','val_76','2008-04-08','existing_value' -'41','val_41','2008-04-08','existing_value' -'223','val_223','2008-04-08','existing_value' -'492','val_492','2008-04-08','existing_value' -'149','val_149','2008-04-08','existing_value' -'449','val_449','2008-04-08','existing_value' -'218','val_218','2008-04-08','existing_value' -'228','val_228','2008-04-08','existing_value' -'138','val_138','2008-04-08','existing_value' -'453','val_453','2008-04-08','existing_value' -'30','val_30','2008-04-08','existing_value' -'209','val_209','2008-04-08','existing_value' -'64','val_64','2008-04-08','existing_value' -'468','val_468','2008-04-08','existing_value' -'76','val_76','2008-04-08','existing_value' -'74','val_74','2008-04-08','existing_value' -'342','val_342','2008-04-08','existing_value' -'69','val_69','2008-04-08','existing_value' -'230','val_230','2008-04-08','existing_value' -'33','val_33','2008-04-08','existing_value' -'368','val_368','2008-04-08','existing_value' -'103','val_103','2008-04-08','existing_value' -'296','val_296','2008-04-08','existing_value' -'113','val_113','2008-04-08','existing_value' -'216','val_216','2008-04-08','existing_value' -'367','val_367','2008-04-08','existing_value' -'344','val_344','2008-04-08','existing_value' -'167','val_167','2008-04-08','existing_value' -'274','val_274','2008-04-08','existing_value' -'219','val_219','2008-04-08','existing_value' -'239','val_239','2008-04-08','existing_value' -'485','val_485','2008-04-08','existing_value' -'116','val_116','2008-04-08','existing_value' -'223','val_223','2008-04-08','existing_value' -'256','val_256','2008-04-08','existing_value' -'263','val_263','2008-04-08','existing_value' -'70','val_70','2008-04-08','existing_value' -'487','val_487','2008-04-08','existing_value' -'480','val_480','2008-04-08','existing_value' -'401','val_401','2008-04-08','existing_value' -'288','val_288','2008-04-08','existing_value' -'191','val_191','2008-04-08','existing_value' -'5','val_5','2008-04-08','existing_value' -'244','val_244','2008-04-08','existing_value' -'438','val_438','2008-04-08','existing_value' -'128','val_128','2008-04-08','existing_value' -'467','val_467','2008-04-08','existing_value' -'432','val_432','2008-04-08','existing_value' -'202','val_202','2008-04-08','existing_value' -'316','val_316','2008-04-08','existing_value' -'229','val_229','2008-04-08','existing_value' -'469','val_469','2008-04-08','existing_value' -'463','val_463','2008-04-08','existing_value' -'280','val_280','2008-04-08','existing_value' -'2','val_2','2008-04-08','existing_value' -'35','val_35','2008-04-08','existing_value' -'283','val_283','2008-04-08','existing_value' -'331','val_331','2008-04-08','existing_value' -'235','val_235','2008-04-08','existing_value' -'80','val_80','2008-04-08','existing_value' -'44','val_44','2008-04-08','existing_value' -'193','val_193','2008-04-08','existing_value' -'321','val_321','2008-04-08','existing_value' -'335','val_335','2008-04-08','existing_value' -'104','val_104','2008-04-08','existing_value' -'466','val_466','2008-04-08','existing_value' -'366','val_366','2008-04-08','existing_value' -'175','val_175','2008-04-08','existing_value' -'403','val_403','2008-04-08','existing_value' -'483','val_483','2008-04-08','existing_value' -'53','val_53','2008-04-08','existing_value' -'105','val_105','2008-04-08','existing_value' -'257','val_257','2008-04-08','existing_value' -'406','val_406','2008-04-08','existing_value' -'409','val_409','2008-04-08','existing_value' -'190','val_190','2008-04-08','existing_value' -'406','val_406','2008-04-08','existing_value' -'401','val_401','2008-04-08','existing_value' -'114','val_114','2008-04-08','existing_value' -'258','val_258','2008-04-08','existing_value' -'90','val_90','2008-04-08','existing_value' -'203','val_203','2008-04-08','existing_value' -'262','val_262','2008-04-08','existing_value' -'348','val_348','2008-04-08','existing_value' -'424','val_424','2008-04-08','existing_value' -'12','val_12','2008-04-08','existing_value' -'396','val_396','2008-04-08','existing_value' -'201','val_201','2008-04-08','existing_value' -'217','val_217','2008-04-08','existing_value' -'164','val_164','2008-04-08','existing_value' -'431','val_431','2008-04-08','existing_value' -'454','val_454','2008-04-08','existing_value' -'478','val_478','2008-04-08','existing_value' -'298','val_298','2008-04-08','existing_value' -'125','val_125','2008-04-08','existing_value' -'431','val_431','2008-04-08','existing_value' -'164','val_164','2008-04-08','existing_value' -'424','val_424','2008-04-08','existing_value' -'187','val_187','2008-04-08','existing_value' -'382','val_382','2008-04-08','existing_value' -'5','val_5','2008-04-08','existing_value' -'70','val_70','2008-04-08','existing_value' -'397','val_397','2008-04-08','existing_value' -'480','val_480','2008-04-08','existing_value' -'291','val_291','2008-04-08','existing_value' -'24','val_24','2008-04-08','existing_value' -'351','val_351','2008-04-08','existing_value' -'255','val_255','2008-04-08','existing_value' -'104','val_104','2008-04-08','existing_value' -'70','val_70','2008-04-08','existing_value' -'163','val_163','2008-04-08','existing_value' -'438','val_438','2008-04-08','existing_value' -'119','val_119','2008-04-08','existing_value' -'414','val_414','2008-04-08','existing_value' -'200','val_200','2008-04-08','existing_value' -'491','val_491','2008-04-08','existing_value' -'237','val_237','2008-04-08','existing_value' -'439','val_439','2008-04-08','existing_value' -'360','val_360','2008-04-08','existing_value' -'248','val_248','2008-04-08','existing_value' -'479','val_479','2008-04-08','existing_value' -'305','val_305','2008-04-08','existing_value' -'417','val_417','2008-04-08','existing_value' -'199','val_199','2008-04-08','existing_value' -'444','val_444','2008-04-08','existing_value' -'120','val_120','2008-04-08','existing_value' -'429','val_429','2008-04-08','existing_value' -'169','val_169','2008-04-08','existing_value' -'443','val_443','2008-04-08','existing_value' -'323','val_323','2008-04-08','existing_value' -'325','val_325','2008-04-08','existing_value' -'277','val_277','2008-04-08','existing_value' -'230','val_230','2008-04-08','existing_value' -'478','val_478','2008-04-08','existing_value' -'178','val_178','2008-04-08','existing_value' -'468','val_468','2008-04-08','existing_value' -'310','val_310','2008-04-08','existing_value' -'317','val_317','2008-04-08','existing_value' -'333','val_333','2008-04-08','existing_value' -'493','val_493','2008-04-08','existing_value' -'460','val_460','2008-04-08','existing_value' -'207','val_207','2008-04-08','existing_value' -'249','val_249','2008-04-08','existing_value' -'265','val_265','2008-04-08','existing_value' -'480','val_480','2008-04-08','existing_value' -'83','val_83','2008-04-08','existing_value' -'136','val_136','2008-04-08','existing_value' -'353','val_353','2008-04-08','existing_value' -'172','val_172','2008-04-08','existing_value' -'214','val_214','2008-04-08','existing_value' -'462','val_462','2008-04-08','existing_value' -'233','val_233','2008-04-08','existing_value' -'406','val_406','2008-04-08','existing_value' -'133','val_133','2008-04-08','existing_value' -'175','val_175','2008-04-08','existing_value' -'189','val_189','2008-04-08','existing_value' -'454','val_454','2008-04-08','existing_value' -'375','val_375','2008-04-08','existing_value' -'401','val_401','2008-04-08','existing_value' -'421','val_421','2008-04-08','existing_value' -'407','val_407','2008-04-08','existing_value' -'384','val_384','2008-04-08','existing_value' -'256','val_256','2008-04-08','existing_value' -'26','val_26','2008-04-08','existing_value' -'134','val_134','2008-04-08','existing_value' -'67','val_67','2008-04-08','existing_value' -'384','val_384','2008-04-08','existing_value' -'379','val_379','2008-04-08','existing_value' -'18','val_18','2008-04-08','existing_value' -'462','val_462','2008-04-08','existing_value' -'492','val_492','2008-04-08','existing_value' -'100','val_100','2008-04-08','existing_value' -'298','val_298','2008-04-08','existing_value' -'9','val_9','2008-04-08','existing_value' -'341','val_341','2008-04-08','existing_value' -'498','val_498','2008-04-08','existing_value' -'146','val_146','2008-04-08','existing_value' -'458','val_458','2008-04-08','existing_value' -'362','val_362','2008-04-08','existing_value' -'186','val_186','2008-04-08','existing_value' -'285','val_285','2008-04-08','existing_value' -'348','val_348','2008-04-08','existing_value' -'167','val_167','2008-04-08','existing_value' -'18','val_18','2008-04-08','existing_value' -'273','val_273','2008-04-08','existing_value' -'183','val_183','2008-04-08','existing_value' -'281','val_281','2008-04-08','existing_value' -'344','val_344','2008-04-08','existing_value' -'97','val_97','2008-04-08','existing_value' -'469','val_469','2008-04-08','existing_value' -'315','val_315','2008-04-08','existing_value' -'84','val_84','2008-04-08','existing_value' -'28','val_28','2008-04-08','existing_value' -'37','val_37','2008-04-08','existing_value' -'448','val_448','2008-04-08','existing_value' -'152','val_152','2008-04-08','existing_value' -'348','val_348','2008-04-08','existing_value' -'307','val_307','2008-04-08','existing_value' -'194','val_194','2008-04-08','existing_value' -'414','val_414','2008-04-08','existing_value' -'477','val_477','2008-04-08','existing_value' -'222','val_222','2008-04-08','existing_value' -'126','val_126','2008-04-08','existing_value' -'90','val_90','2008-04-08','existing_value' -'169','val_169','2008-04-08','existing_value' -'403','val_403','2008-04-08','existing_value' -'400','val_400','2008-04-08','existing_value' -'200','val_200','2008-04-08','existing_value' -'97','val_97','2008-04-08','existing_value' -1,500 rows selected ->>> ->>> select * from nzhang_part4 where ds is not null and hr is not null; -'key','value','ds','hr' -'238','val_238','2008-04-08','11' -'86','val_86','2008-04-08','11' -'311','val_311','2008-04-08','11' -'27','val_27','2008-04-08','11' -'165','val_165','2008-04-08','11' -'409','val_409','2008-04-08','11' -'255','val_255','2008-04-08','11' -'278','val_278','2008-04-08','11' -'98','val_98','2008-04-08','11' -'484','val_484','2008-04-08','11' -'265','val_265','2008-04-08','11' -'193','val_193','2008-04-08','11' -'401','val_401','2008-04-08','11' -'150','val_150','2008-04-08','11' -'273','val_273','2008-04-08','11' -'224','val_224','2008-04-08','11' -'369','val_369','2008-04-08','11' -'66','val_66','2008-04-08','11' -'128','val_128','2008-04-08','11' -'213','val_213','2008-04-08','11' -'146','val_146','2008-04-08','11' -'406','val_406','2008-04-08','11' -'429','val_429','2008-04-08','11' -'374','val_374','2008-04-08','11' -'152','val_152','2008-04-08','11' -'469','val_469','2008-04-08','11' -'145','val_145','2008-04-08','11' -'495','val_495','2008-04-08','11' -'37','val_37','2008-04-08','11' -'327','val_327','2008-04-08','11' -'281','val_281','2008-04-08','11' -'277','val_277','2008-04-08','11' -'209','val_209','2008-04-08','11' -'15','val_15','2008-04-08','11' -'82','val_82','2008-04-08','11' -'403','val_403','2008-04-08','11' -'166','val_166','2008-04-08','11' -'417','val_417','2008-04-08','11' -'430','val_430','2008-04-08','11' -'252','val_252','2008-04-08','11' -'292','val_292','2008-04-08','11' -'219','val_219','2008-04-08','11' -'287','val_287','2008-04-08','11' -'153','val_153','2008-04-08','11' -'193','val_193','2008-04-08','11' -'338','val_338','2008-04-08','11' -'446','val_446','2008-04-08','11' -'459','val_459','2008-04-08','11' -'394','val_394','2008-04-08','11' -'237','val_237','2008-04-08','11' -'482','val_482','2008-04-08','11' -'174','val_174','2008-04-08','11' -'413','val_413','2008-04-08','11' -'494','val_494','2008-04-08','11' -'207','val_207','2008-04-08','11' -'199','val_199','2008-04-08','11' -'466','val_466','2008-04-08','11' -'208','val_208','2008-04-08','11' -'174','val_174','2008-04-08','11' -'399','val_399','2008-04-08','11' -'396','val_396','2008-04-08','11' -'247','val_247','2008-04-08','11' -'417','val_417','2008-04-08','11' -'489','val_489','2008-04-08','11' -'162','val_162','2008-04-08','11' -'377','val_377','2008-04-08','11' -'397','val_397','2008-04-08','11' -'309','val_309','2008-04-08','11' -'365','val_365','2008-04-08','11' -'266','val_266','2008-04-08','11' -'439','val_439','2008-04-08','11' -'342','val_342','2008-04-08','11' -'367','val_367','2008-04-08','11' -'325','val_325','2008-04-08','11' -'167','val_167','2008-04-08','11' -'195','val_195','2008-04-08','11' -'475','val_475','2008-04-08','11' -'17','val_17','2008-04-08','11' -'113','val_113','2008-04-08','11' -'155','val_155','2008-04-08','11' -'203','val_203','2008-04-08','11' -'339','val_339','2008-04-08','11' -'0','val_0','2008-04-08','11' -'455','val_455','2008-04-08','11' -'128','val_128','2008-04-08','11' -'311','val_311','2008-04-08','11' -'316','val_316','2008-04-08','11' -'57','val_57','2008-04-08','11' -'302','val_302','2008-04-08','11' -'205','val_205','2008-04-08','11' -'149','val_149','2008-04-08','11' -'438','val_438','2008-04-08','11' -'345','val_345','2008-04-08','11' -'129','val_129','2008-04-08','11' -'170','val_170','2008-04-08','11' -'20','val_20','2008-04-08','11' -'489','val_489','2008-04-08','11' -'157','val_157','2008-04-08','11' -'378','val_378','2008-04-08','11' -'221','val_221','2008-04-08','11' -'92','val_92','2008-04-08','11' -'111','val_111','2008-04-08','11' -'47','val_47','2008-04-08','11' -'72','val_72','2008-04-08','11' -'4','val_4','2008-04-08','11' -'280','val_280','2008-04-08','11' -'35','val_35','2008-04-08','11' -'427','val_427','2008-04-08','11' -'277','val_277','2008-04-08','11' -'208','val_208','2008-04-08','11' -'356','val_356','2008-04-08','11' -'399','val_399','2008-04-08','11' -'169','val_169','2008-04-08','11' -'382','val_382','2008-04-08','11' -'498','val_498','2008-04-08','11' -'125','val_125','2008-04-08','11' -'386','val_386','2008-04-08','11' -'437','val_437','2008-04-08','11' -'469','val_469','2008-04-08','11' -'192','val_192','2008-04-08','11' -'286','val_286','2008-04-08','11' -'187','val_187','2008-04-08','11' -'176','val_176','2008-04-08','11' -'54','val_54','2008-04-08','11' -'459','val_459','2008-04-08','11' -'51','val_51','2008-04-08','11' -'138','val_138','2008-04-08','11' -'103','val_103','2008-04-08','11' -'239','val_239','2008-04-08','11' -'213','val_213','2008-04-08','11' -'216','val_216','2008-04-08','11' -'430','val_430','2008-04-08','11' -'278','val_278','2008-04-08','11' -'176','val_176','2008-04-08','11' -'289','val_289','2008-04-08','11' -'221','val_221','2008-04-08','11' -'65','val_65','2008-04-08','11' -'318','val_318','2008-04-08','11' -'332','val_332','2008-04-08','11' -'311','val_311','2008-04-08','11' -'275','val_275','2008-04-08','11' -'137','val_137','2008-04-08','11' -'241','val_241','2008-04-08','11' -'83','val_83','2008-04-08','11' -'333','val_333','2008-04-08','11' -'180','val_180','2008-04-08','11' -'284','val_284','2008-04-08','11' -'12','val_12','2008-04-08','11' -'230','val_230','2008-04-08','11' -'181','val_181','2008-04-08','11' -'67','val_67','2008-04-08','11' -'260','val_260','2008-04-08','11' -'404','val_404','2008-04-08','11' -'384','val_384','2008-04-08','11' -'489','val_489','2008-04-08','11' -'353','val_353','2008-04-08','11' -'373','val_373','2008-04-08','11' -'272','val_272','2008-04-08','11' -'138','val_138','2008-04-08','11' -'217','val_217','2008-04-08','11' -'84','val_84','2008-04-08','11' -'348','val_348','2008-04-08','11' -'466','val_466','2008-04-08','11' -'58','val_58','2008-04-08','11' -'8','val_8','2008-04-08','11' -'411','val_411','2008-04-08','11' -'230','val_230','2008-04-08','11' -'208','val_208','2008-04-08','11' -'348','val_348','2008-04-08','11' -'24','val_24','2008-04-08','11' -'463','val_463','2008-04-08','11' -'431','val_431','2008-04-08','11' -'179','val_179','2008-04-08','11' -'172','val_172','2008-04-08','11' -'42','val_42','2008-04-08','11' -'129','val_129','2008-04-08','11' -'158','val_158','2008-04-08','11' -'119','val_119','2008-04-08','11' -'496','val_496','2008-04-08','11' -'0','val_0','2008-04-08','11' -'322','val_322','2008-04-08','11' -'197','val_197','2008-04-08','11' -'468','val_468','2008-04-08','11' -'393','val_393','2008-04-08','11' -'454','val_454','2008-04-08','11' -'100','val_100','2008-04-08','11' -'298','val_298','2008-04-08','11' -'199','val_199','2008-04-08','11' -'191','val_191','2008-04-08','11' -'418','val_418','2008-04-08','11' -'96','val_96','2008-04-08','11' -'26','val_26','2008-04-08','11' -'165','val_165','2008-04-08','11' -'327','val_327','2008-04-08','11' -'230','val_230','2008-04-08','11' -'205','val_205','2008-04-08','11' -'120','val_120','2008-04-08','11' -'131','val_131','2008-04-08','11' -'51','val_51','2008-04-08','11' -'404','val_404','2008-04-08','11' -'43','val_43','2008-04-08','11' -'436','val_436','2008-04-08','11' -'156','val_156','2008-04-08','11' -'469','val_469','2008-04-08','11' -'468','val_468','2008-04-08','11' -'308','val_308','2008-04-08','11' -'95','val_95','2008-04-08','11' -'196','val_196','2008-04-08','11' -'288','val_288','2008-04-08','11' -'481','val_481','2008-04-08','11' -'457','val_457','2008-04-08','11' -'98','val_98','2008-04-08','11' -'282','val_282','2008-04-08','11' -'197','val_197','2008-04-08','11' -'187','val_187','2008-04-08','11' -'318','val_318','2008-04-08','11' -'318','val_318','2008-04-08','11' -'409','val_409','2008-04-08','11' -'470','val_470','2008-04-08','11' -'137','val_137','2008-04-08','11' -'369','val_369','2008-04-08','11' -'316','val_316','2008-04-08','11' -'169','val_169','2008-04-08','11' -'413','val_413','2008-04-08','11' -'85','val_85','2008-04-08','11' -'77','val_77','2008-04-08','11' -'0','val_0','2008-04-08','11' -'490','val_490','2008-04-08','11' -'87','val_87','2008-04-08','11' -'364','val_364','2008-04-08','11' -'179','val_179','2008-04-08','11' -'118','val_118','2008-04-08','11' -'134','val_134','2008-04-08','11' -'395','val_395','2008-04-08','11' -'282','val_282','2008-04-08','11' -'138','val_138','2008-04-08','11' -'238','val_238','2008-04-08','11' -'419','val_419','2008-04-08','11' -'15','val_15','2008-04-08','11' -'118','val_118','2008-04-08','11' -'72','val_72','2008-04-08','11' -'90','val_90','2008-04-08','11' -'307','val_307','2008-04-08','11' -'19','val_19','2008-04-08','11' -'435','val_435','2008-04-08','11' -'10','val_10','2008-04-08','11' -'277','val_277','2008-04-08','11' -'273','val_273','2008-04-08','11' -'306','val_306','2008-04-08','11' -'224','val_224','2008-04-08','11' -'309','val_309','2008-04-08','11' -'389','val_389','2008-04-08','11' -'327','val_327','2008-04-08','11' -'242','val_242','2008-04-08','11' -'369','val_369','2008-04-08','11' -'392','val_392','2008-04-08','11' -'272','val_272','2008-04-08','11' -'331','val_331','2008-04-08','11' -'401','val_401','2008-04-08','11' -'242','val_242','2008-04-08','11' -'452','val_452','2008-04-08','11' -'177','val_177','2008-04-08','11' -'226','val_226','2008-04-08','11' -'5','val_5','2008-04-08','11' -'497','val_497','2008-04-08','11' -'402','val_402','2008-04-08','11' -'396','val_396','2008-04-08','11' -'317','val_317','2008-04-08','11' -'395','val_395','2008-04-08','11' -'58','val_58','2008-04-08','11' -'35','val_35','2008-04-08','11' -'336','val_336','2008-04-08','11' -'95','val_95','2008-04-08','11' -'11','val_11','2008-04-08','11' -'168','val_168','2008-04-08','11' -'34','val_34','2008-04-08','11' -'229','val_229','2008-04-08','11' -'233','val_233','2008-04-08','11' -'143','val_143','2008-04-08','11' -'472','val_472','2008-04-08','11' -'322','val_322','2008-04-08','11' -'498','val_498','2008-04-08','11' -'160','val_160','2008-04-08','11' -'195','val_195','2008-04-08','11' -'42','val_42','2008-04-08','11' -'321','val_321','2008-04-08','11' -'430','val_430','2008-04-08','11' -'119','val_119','2008-04-08','11' -'489','val_489','2008-04-08','11' -'458','val_458','2008-04-08','11' -'78','val_78','2008-04-08','11' -'76','val_76','2008-04-08','11' -'41','val_41','2008-04-08','11' -'223','val_223','2008-04-08','11' -'492','val_492','2008-04-08','11' -'149','val_149','2008-04-08','11' -'449','val_449','2008-04-08','11' -'218','val_218','2008-04-08','11' -'228','val_228','2008-04-08','11' -'138','val_138','2008-04-08','11' -'453','val_453','2008-04-08','11' -'30','val_30','2008-04-08','11' -'209','val_209','2008-04-08','11' -'64','val_64','2008-04-08','11' -'468','val_468','2008-04-08','11' -'76','val_76','2008-04-08','11' -'74','val_74','2008-04-08','11' -'342','val_342','2008-04-08','11' -'69','val_69','2008-04-08','11' -'230','val_230','2008-04-08','11' -'33','val_33','2008-04-08','11' -'368','val_368','2008-04-08','11' -'103','val_103','2008-04-08','11' -'296','val_296','2008-04-08','11' -'113','val_113','2008-04-08','11' -'216','val_216','2008-04-08','11' -'367','val_367','2008-04-08','11' -'344','val_344','2008-04-08','11' -'167','val_167','2008-04-08','11' -'274','val_274','2008-04-08','11' -'219','val_219','2008-04-08','11' -'239','val_239','2008-04-08','11' -'485','val_485','2008-04-08','11' -'116','val_116','2008-04-08','11' -'223','val_223','2008-04-08','11' -'256','val_256','2008-04-08','11' -'263','val_263','2008-04-08','11' -'70','val_70','2008-04-08','11' -'487','val_487','2008-04-08','11' -'480','val_480','2008-04-08','11' -'401','val_401','2008-04-08','11' -'288','val_288','2008-04-08','11' -'191','val_191','2008-04-08','11' -'5','val_5','2008-04-08','11' -'244','val_244','2008-04-08','11' -'438','val_438','2008-04-08','11' -'128','val_128','2008-04-08','11' -'467','val_467','2008-04-08','11' -'432','val_432','2008-04-08','11' -'202','val_202','2008-04-08','11' -'316','val_316','2008-04-08','11' -'229','val_229','2008-04-08','11' -'469','val_469','2008-04-08','11' -'463','val_463','2008-04-08','11' -'280','val_280','2008-04-08','11' -'2','val_2','2008-04-08','11' -'35','val_35','2008-04-08','11' -'283','val_283','2008-04-08','11' -'331','val_331','2008-04-08','11' -'235','val_235','2008-04-08','11' -'80','val_80','2008-04-08','11' -'44','val_44','2008-04-08','11' -'193','val_193','2008-04-08','11' -'321','val_321','2008-04-08','11' -'335','val_335','2008-04-08','11' -'104','val_104','2008-04-08','11' -'466','val_466','2008-04-08','11' -'366','val_366','2008-04-08','11' -'175','val_175','2008-04-08','11' -'403','val_403','2008-04-08','11' -'483','val_483','2008-04-08','11' -'53','val_53','2008-04-08','11' -'105','val_105','2008-04-08','11' -'257','val_257','2008-04-08','11' -'406','val_406','2008-04-08','11' -'409','val_409','2008-04-08','11' -'190','val_190','2008-04-08','11' -'406','val_406','2008-04-08','11' -'401','val_401','2008-04-08','11' -'114','val_114','2008-04-08','11' -'258','val_258','2008-04-08','11' -'90','val_90','2008-04-08','11' -'203','val_203','2008-04-08','11' -'262','val_262','2008-04-08','11' -'348','val_348','2008-04-08','11' -'424','val_424','2008-04-08','11' -'12','val_12','2008-04-08','11' -'396','val_396','2008-04-08','11' -'201','val_201','2008-04-08','11' -'217','val_217','2008-04-08','11' -'164','val_164','2008-04-08','11' -'431','val_431','2008-04-08','11' -'454','val_454','2008-04-08','11' -'478','val_478','2008-04-08','11' -'298','val_298','2008-04-08','11' -'125','val_125','2008-04-08','11' -'431','val_431','2008-04-08','11' -'164','val_164','2008-04-08','11' -'424','val_424','2008-04-08','11' -'187','val_187','2008-04-08','11' -'382','val_382','2008-04-08','11' -'5','val_5','2008-04-08','11' -'70','val_70','2008-04-08','11' -'397','val_397','2008-04-08','11' -'480','val_480','2008-04-08','11' -'291','val_291','2008-04-08','11' -'24','val_24','2008-04-08','11' -'351','val_351','2008-04-08','11' -'255','val_255','2008-04-08','11' -'104','val_104','2008-04-08','11' -'70','val_70','2008-04-08','11' -'163','val_163','2008-04-08','11' -'438','val_438','2008-04-08','11' -'119','val_119','2008-04-08','11' -'414','val_414','2008-04-08','11' -'200','val_200','2008-04-08','11' -'491','val_491','2008-04-08','11' -'237','val_237','2008-04-08','11' -'439','val_439','2008-04-08','11' -'360','val_360','2008-04-08','11' -'248','val_248','2008-04-08','11' -'479','val_479','2008-04-08','11' -'305','val_305','2008-04-08','11' -'417','val_417','2008-04-08','11' -'199','val_199','2008-04-08','11' -'444','val_444','2008-04-08','11' -'120','val_120','2008-04-08','11' -'429','val_429','2008-04-08','11' -'169','val_169','2008-04-08','11' -'443','val_443','2008-04-08','11' -'323','val_323','2008-04-08','11' -'325','val_325','2008-04-08','11' -'277','val_277','2008-04-08','11' -'230','val_230','2008-04-08','11' -'478','val_478','2008-04-08','11' -'178','val_178','2008-04-08','11' -'468','val_468','2008-04-08','11' -'310','val_310','2008-04-08','11' -'317','val_317','2008-04-08','11' -'333','val_333','2008-04-08','11' -'493','val_493','2008-04-08','11' -'460','val_460','2008-04-08','11' -'207','val_207','2008-04-08','11' -'249','val_249','2008-04-08','11' -'265','val_265','2008-04-08','11' -'480','val_480','2008-04-08','11' -'83','val_83','2008-04-08','11' -'136','val_136','2008-04-08','11' -'353','val_353','2008-04-08','11' -'172','val_172','2008-04-08','11' -'214','val_214','2008-04-08','11' -'462','val_462','2008-04-08','11' -'233','val_233','2008-04-08','11' -'406','val_406','2008-04-08','11' -'133','val_133','2008-04-08','11' -'175','val_175','2008-04-08','11' -'189','val_189','2008-04-08','11' -'454','val_454','2008-04-08','11' -'375','val_375','2008-04-08','11' -'401','val_401','2008-04-08','11' -'421','val_421','2008-04-08','11' -'407','val_407','2008-04-08','11' -'384','val_384','2008-04-08','11' -'256','val_256','2008-04-08','11' -'26','val_26','2008-04-08','11' -'134','val_134','2008-04-08','11' -'67','val_67','2008-04-08','11' -'384','val_384','2008-04-08','11' -'379','val_379','2008-04-08','11' -'18','val_18','2008-04-08','11' -'462','val_462','2008-04-08','11' -'492','val_492','2008-04-08','11' -'100','val_100','2008-04-08','11' -'298','val_298','2008-04-08','11' -'9','val_9','2008-04-08','11' -'341','val_341','2008-04-08','11' -'498','val_498','2008-04-08','11' -'146','val_146','2008-04-08','11' -'458','val_458','2008-04-08','11' -'362','val_362','2008-04-08','11' -'186','val_186','2008-04-08','11' -'285','val_285','2008-04-08','11' -'348','val_348','2008-04-08','11' -'167','val_167','2008-04-08','11' -'18','val_18','2008-04-08','11' -'273','val_273','2008-04-08','11' -'183','val_183','2008-04-08','11' -'281','val_281','2008-04-08','11' -'344','val_344','2008-04-08','11' -'97','val_97','2008-04-08','11' -'469','val_469','2008-04-08','11' -'315','val_315','2008-04-08','11' -'84','val_84','2008-04-08','11' -'28','val_28','2008-04-08','11' -'37','val_37','2008-04-08','11' -'448','val_448','2008-04-08','11' -'152','val_152','2008-04-08','11' -'348','val_348','2008-04-08','11' -'307','val_307','2008-04-08','11' -'194','val_194','2008-04-08','11' -'414','val_414','2008-04-08','11' -'477','val_477','2008-04-08','11' -'222','val_222','2008-04-08','11' -'126','val_126','2008-04-08','11' -'90','val_90','2008-04-08','11' -'169','val_169','2008-04-08','11' -'403','val_403','2008-04-08','11' -'400','val_400','2008-04-08','11' -'200','val_200','2008-04-08','11' -'97','val_97','2008-04-08','11' -'238','val_238','2008-04-08','12' -'86','val_86','2008-04-08','12' -'311','val_311','2008-04-08','12' -'27','val_27','2008-04-08','12' -'165','val_165','2008-04-08','12' -'409','val_409','2008-04-08','12' -'255','val_255','2008-04-08','12' -'278','val_278','2008-04-08','12' -'98','val_98','2008-04-08','12' -'484','val_484','2008-04-08','12' -'265','val_265','2008-04-08','12' -'193','val_193','2008-04-08','12' -'401','val_401','2008-04-08','12' -'150','val_150','2008-04-08','12' -'273','val_273','2008-04-08','12' -'224','val_224','2008-04-08','12' -'369','val_369','2008-04-08','12' -'66','val_66','2008-04-08','12' -'128','val_128','2008-04-08','12' -'213','val_213','2008-04-08','12' -'146','val_146','2008-04-08','12' -'406','val_406','2008-04-08','12' -'429','val_429','2008-04-08','12' -'374','val_374','2008-04-08','12' -'152','val_152','2008-04-08','12' -'469','val_469','2008-04-08','12' -'145','val_145','2008-04-08','12' -'495','val_495','2008-04-08','12' -'37','val_37','2008-04-08','12' -'327','val_327','2008-04-08','12' -'281','val_281','2008-04-08','12' -'277','val_277','2008-04-08','12' -'209','val_209','2008-04-08','12' -'15','val_15','2008-04-08','12' -'82','val_82','2008-04-08','12' -'403','val_403','2008-04-08','12' -'166','val_166','2008-04-08','12' -'417','val_417','2008-04-08','12' -'430','val_430','2008-04-08','12' -'252','val_252','2008-04-08','12' -'292','val_292','2008-04-08','12' -'219','val_219','2008-04-08','12' -'287','val_287','2008-04-08','12' -'153','val_153','2008-04-08','12' -'193','val_193','2008-04-08','12' -'338','val_338','2008-04-08','12' -'446','val_446','2008-04-08','12' -'459','val_459','2008-04-08','12' -'394','val_394','2008-04-08','12' -'237','val_237','2008-04-08','12' -'482','val_482','2008-04-08','12' -'174','val_174','2008-04-08','12' -'413','val_413','2008-04-08','12' -'494','val_494','2008-04-08','12' -'207','val_207','2008-04-08','12' -'199','val_199','2008-04-08','12' -'466','val_466','2008-04-08','12' -'208','val_208','2008-04-08','12' -'174','val_174','2008-04-08','12' -'399','val_399','2008-04-08','12' -'396','val_396','2008-04-08','12' -'247','val_247','2008-04-08','12' -'417','val_417','2008-04-08','12' -'489','val_489','2008-04-08','12' -'162','val_162','2008-04-08','12' -'377','val_377','2008-04-08','12' -'397','val_397','2008-04-08','12' -'309','val_309','2008-04-08','12' -'365','val_365','2008-04-08','12' -'266','val_266','2008-04-08','12' -'439','val_439','2008-04-08','12' -'342','val_342','2008-04-08','12' -'367','val_367','2008-04-08','12' -'325','val_325','2008-04-08','12' -'167','val_167','2008-04-08','12' -'195','val_195','2008-04-08','12' -'475','val_475','2008-04-08','12' -'17','val_17','2008-04-08','12' -'113','val_113','2008-04-08','12' -'155','val_155','2008-04-08','12' -'203','val_203','2008-04-08','12' -'339','val_339','2008-04-08','12' -'0','val_0','2008-04-08','12' -'455','val_455','2008-04-08','12' -'128','val_128','2008-04-08','12' -'311','val_311','2008-04-08','12' -'316','val_316','2008-04-08','12' -'57','val_57','2008-04-08','12' -'302','val_302','2008-04-08','12' -'205','val_205','2008-04-08','12' -'149','val_149','2008-04-08','12' -'438','val_438','2008-04-08','12' -'345','val_345','2008-04-08','12' -'129','val_129','2008-04-08','12' -'170','val_170','2008-04-08','12' -'20','val_20','2008-04-08','12' -'489','val_489','2008-04-08','12' -'157','val_157','2008-04-08','12' -'378','val_378','2008-04-08','12' -'221','val_221','2008-04-08','12' -'92','val_92','2008-04-08','12' -'111','val_111','2008-04-08','12' -'47','val_47','2008-04-08','12' -'72','val_72','2008-04-08','12' -'4','val_4','2008-04-08','12' -'280','val_280','2008-04-08','12' -'35','val_35','2008-04-08','12' -'427','val_427','2008-04-08','12' -'277','val_277','2008-04-08','12' -'208','val_208','2008-04-08','12' -'356','val_356','2008-04-08','12' -'399','val_399','2008-04-08','12' -'169','val_169','2008-04-08','12' -'382','val_382','2008-04-08','12' -'498','val_498','2008-04-08','12' -'125','val_125','2008-04-08','12' -'386','val_386','2008-04-08','12' -'437','val_437','2008-04-08','12' -'469','val_469','2008-04-08','12' -'192','val_192','2008-04-08','12' -'286','val_286','2008-04-08','12' -'187','val_187','2008-04-08','12' -'176','val_176','2008-04-08','12' -'54','val_54','2008-04-08','12' -'459','val_459','2008-04-08','12' -'51','val_51','2008-04-08','12' -'138','val_138','2008-04-08','12' -'103','val_103','2008-04-08','12' -'239','val_239','2008-04-08','12' -'213','val_213','2008-04-08','12' -'216','val_216','2008-04-08','12' -'430','val_430','2008-04-08','12' -'278','val_278','2008-04-08','12' -'176','val_176','2008-04-08','12' -'289','val_289','2008-04-08','12' -'221','val_221','2008-04-08','12' -'65','val_65','2008-04-08','12' -'318','val_318','2008-04-08','12' -'332','val_332','2008-04-08','12' -'311','val_311','2008-04-08','12' -'275','val_275','2008-04-08','12' -'137','val_137','2008-04-08','12' -'241','val_241','2008-04-08','12' -'83','val_83','2008-04-08','12' -'333','val_333','2008-04-08','12' -'180','val_180','2008-04-08','12' -'284','val_284','2008-04-08','12' -'12','val_12','2008-04-08','12' -'230','val_230','2008-04-08','12' -'181','val_181','2008-04-08','12' -'67','val_67','2008-04-08','12' -'260','val_260','2008-04-08','12' -'404','val_404','2008-04-08','12' -'384','val_384','2008-04-08','12' -'489','val_489','2008-04-08','12' -'353','val_353','2008-04-08','12' -'373','val_373','2008-04-08','12' -'272','val_272','2008-04-08','12' -'138','val_138','2008-04-08','12' -'217','val_217','2008-04-08','12' -'84','val_84','2008-04-08','12' -'348','val_348','2008-04-08','12' -'466','val_466','2008-04-08','12' -'58','val_58','2008-04-08','12' -'8','val_8','2008-04-08','12' -'411','val_411','2008-04-08','12' -'230','val_230','2008-04-08','12' -'208','val_208','2008-04-08','12' -'348','val_348','2008-04-08','12' -'24','val_24','2008-04-08','12' -'463','val_463','2008-04-08','12' -'431','val_431','2008-04-08','12' -'179','val_179','2008-04-08','12' -'172','val_172','2008-04-08','12' -'42','val_42','2008-04-08','12' -'129','val_129','2008-04-08','12' -'158','val_158','2008-04-08','12' -'119','val_119','2008-04-08','12' -'496','val_496','2008-04-08','12' -'0','val_0','2008-04-08','12' -'322','val_322','2008-04-08','12' -'197','val_197','2008-04-08','12' -'468','val_468','2008-04-08','12' -'393','val_393','2008-04-08','12' -'454','val_454','2008-04-08','12' -'100','val_100','2008-04-08','12' -'298','val_298','2008-04-08','12' -'199','val_199','2008-04-08','12' -'191','val_191','2008-04-08','12' -'418','val_418','2008-04-08','12' -'96','val_96','2008-04-08','12' -'26','val_26','2008-04-08','12' -'165','val_165','2008-04-08','12' -'327','val_327','2008-04-08','12' -'230','val_230','2008-04-08','12' -'205','val_205','2008-04-08','12' -'120','val_120','2008-04-08','12' -'131','val_131','2008-04-08','12' -'51','val_51','2008-04-08','12' -'404','val_404','2008-04-08','12' -'43','val_43','2008-04-08','12' -'436','val_436','2008-04-08','12' -'156','val_156','2008-04-08','12' -'469','val_469','2008-04-08','12' -'468','val_468','2008-04-08','12' -'308','val_308','2008-04-08','12' -'95','val_95','2008-04-08','12' -'196','val_196','2008-04-08','12' -'288','val_288','2008-04-08','12' -'481','val_481','2008-04-08','12' -'457','val_457','2008-04-08','12' -'98','val_98','2008-04-08','12' -'282','val_282','2008-04-08','12' -'197','val_197','2008-04-08','12' -'187','val_187','2008-04-08','12' -'318','val_318','2008-04-08','12' -'318','val_318','2008-04-08','12' -'409','val_409','2008-04-08','12' -'470','val_470','2008-04-08','12' -'137','val_137','2008-04-08','12' -'369','val_369','2008-04-08','12' -'316','val_316','2008-04-08','12' -'169','val_169','2008-04-08','12' -'413','val_413','2008-04-08','12' -'85','val_85','2008-04-08','12' -'77','val_77','2008-04-08','12' -'0','val_0','2008-04-08','12' -'490','val_490','2008-04-08','12' -'87','val_87','2008-04-08','12' -'364','val_364','2008-04-08','12' -'179','val_179','2008-04-08','12' -'118','val_118','2008-04-08','12' -'134','val_134','2008-04-08','12' -'395','val_395','2008-04-08','12' -'282','val_282','2008-04-08','12' -'138','val_138','2008-04-08','12' -'238','val_238','2008-04-08','12' -'419','val_419','2008-04-08','12' -'15','val_15','2008-04-08','12' -'118','val_118','2008-04-08','12' -'72','val_72','2008-04-08','12' -'90','val_90','2008-04-08','12' -'307','val_307','2008-04-08','12' -'19','val_19','2008-04-08','12' -'435','val_435','2008-04-08','12' -'10','val_10','2008-04-08','12' -'277','val_277','2008-04-08','12' -'273','val_273','2008-04-08','12' -'306','val_306','2008-04-08','12' -'224','val_224','2008-04-08','12' -'309','val_309','2008-04-08','12' -'389','val_389','2008-04-08','12' -'327','val_327','2008-04-08','12' -'242','val_242','2008-04-08','12' -'369','val_369','2008-04-08','12' -'392','val_392','2008-04-08','12' -'272','val_272','2008-04-08','12' -'331','val_331','2008-04-08','12' -'401','val_401','2008-04-08','12' -'242','val_242','2008-04-08','12' -'452','val_452','2008-04-08','12' -'177','val_177','2008-04-08','12' -'226','val_226','2008-04-08','12' -'5','val_5','2008-04-08','12' -'497','val_497','2008-04-08','12' -'402','val_402','2008-04-08','12' -'396','val_396','2008-04-08','12' -'317','val_317','2008-04-08','12' -'395','val_395','2008-04-08','12' -'58','val_58','2008-04-08','12' -'35','val_35','2008-04-08','12' -'336','val_336','2008-04-08','12' -'95','val_95','2008-04-08','12' -'11','val_11','2008-04-08','12' -'168','val_168','2008-04-08','12' -'34','val_34','2008-04-08','12' -'229','val_229','2008-04-08','12' -'233','val_233','2008-04-08','12' -'143','val_143','2008-04-08','12' -'472','val_472','2008-04-08','12' -'322','val_322','2008-04-08','12' -'498','val_498','2008-04-08','12' -'160','val_160','2008-04-08','12' -'195','val_195','2008-04-08','12' -'42','val_42','2008-04-08','12' -'321','val_321','2008-04-08','12' -'430','val_430','2008-04-08','12' -'119','val_119','2008-04-08','12' -'489','val_489','2008-04-08','12' -'458','val_458','2008-04-08','12' -'78','val_78','2008-04-08','12' -'76','val_76','2008-04-08','12' -'41','val_41','2008-04-08','12' -'223','val_223','2008-04-08','12' -'492','val_492','2008-04-08','12' -'149','val_149','2008-04-08','12' -'449','val_449','2008-04-08','12' -'218','val_218','2008-04-08','12' -'228','val_228','2008-04-08','12' -'138','val_138','2008-04-08','12' -'453','val_453','2008-04-08','12' -'30','val_30','2008-04-08','12' -'209','val_209','2008-04-08','12' -'64','val_64','2008-04-08','12' -'468','val_468','2008-04-08','12' -'76','val_76','2008-04-08','12' -'74','val_74','2008-04-08','12' -'342','val_342','2008-04-08','12' -'69','val_69','2008-04-08','12' -'230','val_230','2008-04-08','12' -'33','val_33','2008-04-08','12' -'368','val_368','2008-04-08','12' -'103','val_103','2008-04-08','12' -'296','val_296','2008-04-08','12' -'113','val_113','2008-04-08','12' -'216','val_216','2008-04-08','12' -'367','val_367','2008-04-08','12' -'344','val_344','2008-04-08','12' -'167','val_167','2008-04-08','12' -'274','val_274','2008-04-08','12' -'219','val_219','2008-04-08','12' -'239','val_239','2008-04-08','12' -'485','val_485','2008-04-08','12' -'116','val_116','2008-04-08','12' -'223','val_223','2008-04-08','12' -'256','val_256','2008-04-08','12' -'263','val_263','2008-04-08','12' -'70','val_70','2008-04-08','12' -'487','val_487','2008-04-08','12' -'480','val_480','2008-04-08','12' -'401','val_401','2008-04-08','12' -'288','val_288','2008-04-08','12' -'191','val_191','2008-04-08','12' -'5','val_5','2008-04-08','12' -'244','val_244','2008-04-08','12' -'438','val_438','2008-04-08','12' -'128','val_128','2008-04-08','12' -'467','val_467','2008-04-08','12' -'432','val_432','2008-04-08','12' -'202','val_202','2008-04-08','12' -'316','val_316','2008-04-08','12' -'229','val_229','2008-04-08','12' -'469','val_469','2008-04-08','12' -'463','val_463','2008-04-08','12' -'280','val_280','2008-04-08','12' -'2','val_2','2008-04-08','12' -'35','val_35','2008-04-08','12' -'283','val_283','2008-04-08','12' -'331','val_331','2008-04-08','12' -'235','val_235','2008-04-08','12' -'80','val_80','2008-04-08','12' -'44','val_44','2008-04-08','12' -'193','val_193','2008-04-08','12' -'321','val_321','2008-04-08','12' -'335','val_335','2008-04-08','12' -'104','val_104','2008-04-08','12' -'466','val_466','2008-04-08','12' -'366','val_366','2008-04-08','12' -'175','val_175','2008-04-08','12' -'403','val_403','2008-04-08','12' -'483','val_483','2008-04-08','12' -'53','val_53','2008-04-08','12' -'105','val_105','2008-04-08','12' -'257','val_257','2008-04-08','12' -'406','val_406','2008-04-08','12' -'409','val_409','2008-04-08','12' -'190','val_190','2008-04-08','12' -'406','val_406','2008-04-08','12' -'401','val_401','2008-04-08','12' -'114','val_114','2008-04-08','12' -'258','val_258','2008-04-08','12' -'90','val_90','2008-04-08','12' -'203','val_203','2008-04-08','12' -'262','val_262','2008-04-08','12' -'348','val_348','2008-04-08','12' -'424','val_424','2008-04-08','12' -'12','val_12','2008-04-08','12' -'396','val_396','2008-04-08','12' -'201','val_201','2008-04-08','12' -'217','val_217','2008-04-08','12' -'164','val_164','2008-04-08','12' -'431','val_431','2008-04-08','12' -'454','val_454','2008-04-08','12' -'478','val_478','2008-04-08','12' -'298','val_298','2008-04-08','12' -'125','val_125','2008-04-08','12' -'431','val_431','2008-04-08','12' -'164','val_164','2008-04-08','12' -'424','val_424','2008-04-08','12' -'187','val_187','2008-04-08','12' -'382','val_382','2008-04-08','12' -'5','val_5','2008-04-08','12' -'70','val_70','2008-04-08','12' -'397','val_397','2008-04-08','12' -'480','val_480','2008-04-08','12' -'291','val_291','2008-04-08','12' -'24','val_24','2008-04-08','12' -'351','val_351','2008-04-08','12' -'255','val_255','2008-04-08','12' -'104','val_104','2008-04-08','12' -'70','val_70','2008-04-08','12' -'163','val_163','2008-04-08','12' -'438','val_438','2008-04-08','12' -'119','val_119','2008-04-08','12' -'414','val_414','2008-04-08','12' -'200','val_200','2008-04-08','12' -'491','val_491','2008-04-08','12' -'237','val_237','2008-04-08','12' -'439','val_439','2008-04-08','12' -'360','val_360','2008-04-08','12' -'248','val_248','2008-04-08','12' -'479','val_479','2008-04-08','12' -'305','val_305','2008-04-08','12' -'417','val_417','2008-04-08','12' -'199','val_199','2008-04-08','12' -'444','val_444','2008-04-08','12' -'120','val_120','2008-04-08','12' -'429','val_429','2008-04-08','12' -'169','val_169','2008-04-08','12' -'443','val_443','2008-04-08','12' -'323','val_323','2008-04-08','12' -'325','val_325','2008-04-08','12' -'277','val_277','2008-04-08','12' -'230','val_230','2008-04-08','12' -'478','val_478','2008-04-08','12' -'178','val_178','2008-04-08','12' -'468','val_468','2008-04-08','12' -'310','val_310','2008-04-08','12' -'317','val_317','2008-04-08','12' -'333','val_333','2008-04-08','12' -'493','val_493','2008-04-08','12' -'460','val_460','2008-04-08','12' -'207','val_207','2008-04-08','12' -'249','val_249','2008-04-08','12' -'265','val_265','2008-04-08','12' -'480','val_480','2008-04-08','12' -'83','val_83','2008-04-08','12' -'136','val_136','2008-04-08','12' -'353','val_353','2008-04-08','12' -'172','val_172','2008-04-08','12' -'214','val_214','2008-04-08','12' -'462','val_462','2008-04-08','12' -'233','val_233','2008-04-08','12' -'406','val_406','2008-04-08','12' -'133','val_133','2008-04-08','12' -'175','val_175','2008-04-08','12' -'189','val_189','2008-04-08','12' -'454','val_454','2008-04-08','12' -'375','val_375','2008-04-08','12' -'401','val_401','2008-04-08','12' -'421','val_421','2008-04-08','12' -'407','val_407','2008-04-08','12' -'384','val_384','2008-04-08','12' -'256','val_256','2008-04-08','12' -'26','val_26','2008-04-08','12' -'134','val_134','2008-04-08','12' -'67','val_67','2008-04-08','12' -'384','val_384','2008-04-08','12' -'379','val_379','2008-04-08','12' -'18','val_18','2008-04-08','12' -'462','val_462','2008-04-08','12' -'492','val_492','2008-04-08','12' -'100','val_100','2008-04-08','12' -'298','val_298','2008-04-08','12' -'9','val_9','2008-04-08','12' -'341','val_341','2008-04-08','12' -'498','val_498','2008-04-08','12' -'146','val_146','2008-04-08','12' -'458','val_458','2008-04-08','12' -'362','val_362','2008-04-08','12' -'186','val_186','2008-04-08','12' -'285','val_285','2008-04-08','12' -'348','val_348','2008-04-08','12' -'167','val_167','2008-04-08','12' -'18','val_18','2008-04-08','12' -'273','val_273','2008-04-08','12' -'183','val_183','2008-04-08','12' -'281','val_281','2008-04-08','12' -'344','val_344','2008-04-08','12' -'97','val_97','2008-04-08','12' -'469','val_469','2008-04-08','12' -'315','val_315','2008-04-08','12' -'84','val_84','2008-04-08','12' -'28','val_28','2008-04-08','12' -'37','val_37','2008-04-08','12' -'448','val_448','2008-04-08','12' -'152','val_152','2008-04-08','12' -'348','val_348','2008-04-08','12' -'307','val_307','2008-04-08','12' -'194','val_194','2008-04-08','12' -'414','val_414','2008-04-08','12' -'477','val_477','2008-04-08','12' -'222','val_222','2008-04-08','12' -'126','val_126','2008-04-08','12' -'90','val_90','2008-04-08','12' -'169','val_169','2008-04-08','12' -'403','val_403','2008-04-08','12' -'400','val_400','2008-04-08','12' -'200','val_200','2008-04-08','12' -'97','val_97','2008-04-08','12' -'238','val_238','2008-04-08','existing_value' -'86','val_86','2008-04-08','existing_value' -'311','val_311','2008-04-08','existing_value' -'27','val_27','2008-04-08','existing_value' -'165','val_165','2008-04-08','existing_value' -'409','val_409','2008-04-08','existing_value' -'255','val_255','2008-04-08','existing_value' -'278','val_278','2008-04-08','existing_value' -'98','val_98','2008-04-08','existing_value' -'484','val_484','2008-04-08','existing_value' -'265','val_265','2008-04-08','existing_value' -'193','val_193','2008-04-08','existing_value' -'401','val_401','2008-04-08','existing_value' -'150','val_150','2008-04-08','existing_value' -'273','val_273','2008-04-08','existing_value' -'224','val_224','2008-04-08','existing_value' -'369','val_369','2008-04-08','existing_value' -'66','val_66','2008-04-08','existing_value' -'128','val_128','2008-04-08','existing_value' -'213','val_213','2008-04-08','existing_value' -'146','val_146','2008-04-08','existing_value' -'406','val_406','2008-04-08','existing_value' -'429','val_429','2008-04-08','existing_value' -'374','val_374','2008-04-08','existing_value' -'152','val_152','2008-04-08','existing_value' -'469','val_469','2008-04-08','existing_value' -'145','val_145','2008-04-08','existing_value' -'495','val_495','2008-04-08','existing_value' -'37','val_37','2008-04-08','existing_value' -'327','val_327','2008-04-08','existing_value' -'281','val_281','2008-04-08','existing_value' -'277','val_277','2008-04-08','existing_value' -'209','val_209','2008-04-08','existing_value' -'15','val_15','2008-04-08','existing_value' -'82','val_82','2008-04-08','existing_value' -'403','val_403','2008-04-08','existing_value' -'166','val_166','2008-04-08','existing_value' -'417','val_417','2008-04-08','existing_value' -'430','val_430','2008-04-08','existing_value' -'252','val_252','2008-04-08','existing_value' -'292','val_292','2008-04-08','existing_value' -'219','val_219','2008-04-08','existing_value' -'287','val_287','2008-04-08','existing_value' -'153','val_153','2008-04-08','existing_value' -'193','val_193','2008-04-08','existing_value' -'338','val_338','2008-04-08','existing_value' -'446','val_446','2008-04-08','existing_value' -'459','val_459','2008-04-08','existing_value' -'394','val_394','2008-04-08','existing_value' -'237','val_237','2008-04-08','existing_value' -'482','val_482','2008-04-08','existing_value' -'174','val_174','2008-04-08','existing_value' -'413','val_413','2008-04-08','existing_value' -'494','val_494','2008-04-08','existing_value' -'207','val_207','2008-04-08','existing_value' -'199','val_199','2008-04-08','existing_value' -'466','val_466','2008-04-08','existing_value' -'208','val_208','2008-04-08','existing_value' -'174','val_174','2008-04-08','existing_value' -'399','val_399','2008-04-08','existing_value' -'396','val_396','2008-04-08','existing_value' -'247','val_247','2008-04-08','existing_value' -'417','val_417','2008-04-08','existing_value' -'489','val_489','2008-04-08','existing_value' -'162','val_162','2008-04-08','existing_value' -'377','val_377','2008-04-08','existing_value' -'397','val_397','2008-04-08','existing_value' -'309','val_309','2008-04-08','existing_value' -'365','val_365','2008-04-08','existing_value' -'266','val_266','2008-04-08','existing_value' -'439','val_439','2008-04-08','existing_value' -'342','val_342','2008-04-08','existing_value' -'367','val_367','2008-04-08','existing_value' -'325','val_325','2008-04-08','existing_value' -'167','val_167','2008-04-08','existing_value' -'195','val_195','2008-04-08','existing_value' -'475','val_475','2008-04-08','existing_value' -'17','val_17','2008-04-08','existing_value' -'113','val_113','2008-04-08','existing_value' -'155','val_155','2008-04-08','existing_value' -'203','val_203','2008-04-08','existing_value' -'339','val_339','2008-04-08','existing_value' -'0','val_0','2008-04-08','existing_value' -'455','val_455','2008-04-08','existing_value' -'128','val_128','2008-04-08','existing_value' -'311','val_311','2008-04-08','existing_value' -'316','val_316','2008-04-08','existing_value' -'57','val_57','2008-04-08','existing_value' -'302','val_302','2008-04-08','existing_value' -'205','val_205','2008-04-08','existing_value' -'149','val_149','2008-04-08','existing_value' -'438','val_438','2008-04-08','existing_value' -'345','val_345','2008-04-08','existing_value' -'129','val_129','2008-04-08','existing_value' -'170','val_170','2008-04-08','existing_value' -'20','val_20','2008-04-08','existing_value' -'489','val_489','2008-04-08','existing_value' -'157','val_157','2008-04-08','existing_value' -'378','val_378','2008-04-08','existing_value' -'221','val_221','2008-04-08','existing_value' -'92','val_92','2008-04-08','existing_value' -'111','val_111','2008-04-08','existing_value' -'47','val_47','2008-04-08','existing_value' -'72','val_72','2008-04-08','existing_value' -'4','val_4','2008-04-08','existing_value' -'280','val_280','2008-04-08','existing_value' -'35','val_35','2008-04-08','existing_value' -'427','val_427','2008-04-08','existing_value' -'277','val_277','2008-04-08','existing_value' -'208','val_208','2008-04-08','existing_value' -'356','val_356','2008-04-08','existing_value' -'399','val_399','2008-04-08','existing_value' -'169','val_169','2008-04-08','existing_value' -'382','val_382','2008-04-08','existing_value' -'498','val_498','2008-04-08','existing_value' -'125','val_125','2008-04-08','existing_value' -'386','val_386','2008-04-08','existing_value' -'437','val_437','2008-04-08','existing_value' -'469','val_469','2008-04-08','existing_value' -'192','val_192','2008-04-08','existing_value' -'286','val_286','2008-04-08','existing_value' -'187','val_187','2008-04-08','existing_value' -'176','val_176','2008-04-08','existing_value' -'54','val_54','2008-04-08','existing_value' -'459','val_459','2008-04-08','existing_value' -'51','val_51','2008-04-08','existing_value' -'138','val_138','2008-04-08','existing_value' -'103','val_103','2008-04-08','existing_value' -'239','val_239','2008-04-08','existing_value' -'213','val_213','2008-04-08','existing_value' -'216','val_216','2008-04-08','existing_value' -'430','val_430','2008-04-08','existing_value' -'278','val_278','2008-04-08','existing_value' -'176','val_176','2008-04-08','existing_value' -'289','val_289','2008-04-08','existing_value' -'221','val_221','2008-04-08','existing_value' -'65','val_65','2008-04-08','existing_value' -'318','val_318','2008-04-08','existing_value' -'332','val_332','2008-04-08','existing_value' -'311','val_311','2008-04-08','existing_value' -'275','val_275','2008-04-08','existing_value' -'137','val_137','2008-04-08','existing_value' -'241','val_241','2008-04-08','existing_value' -'83','val_83','2008-04-08','existing_value' -'333','val_333','2008-04-08','existing_value' -'180','val_180','2008-04-08','existing_value' -'284','val_284','2008-04-08','existing_value' -'12','val_12','2008-04-08','existing_value' -'230','val_230','2008-04-08','existing_value' -'181','val_181','2008-04-08','existing_value' -'67','val_67','2008-04-08','existing_value' -'260','val_260','2008-04-08','existing_value' -'404','val_404','2008-04-08','existing_value' -'384','val_384','2008-04-08','existing_value' -'489','val_489','2008-04-08','existing_value' -'353','val_353','2008-04-08','existing_value' -'373','val_373','2008-04-08','existing_value' -'272','val_272','2008-04-08','existing_value' -'138','val_138','2008-04-08','existing_value' -'217','val_217','2008-04-08','existing_value' -'84','val_84','2008-04-08','existing_value' -'348','val_348','2008-04-08','existing_value' -'466','val_466','2008-04-08','existing_value' -'58','val_58','2008-04-08','existing_value' -'8','val_8','2008-04-08','existing_value' -'411','val_411','2008-04-08','existing_value' -'230','val_230','2008-04-08','existing_value' -'208','val_208','2008-04-08','existing_value' -'348','val_348','2008-04-08','existing_value' -'24','val_24','2008-04-08','existing_value' -'463','val_463','2008-04-08','existing_value' -'431','val_431','2008-04-08','existing_value' -'179','val_179','2008-04-08','existing_value' -'172','val_172','2008-04-08','existing_value' -'42','val_42','2008-04-08','existing_value' -'129','val_129','2008-04-08','existing_value' -'158','val_158','2008-04-08','existing_value' -'119','val_119','2008-04-08','existing_value' -'496','val_496','2008-04-08','existing_value' -'0','val_0','2008-04-08','existing_value' -'322','val_322','2008-04-08','existing_value' -'197','val_197','2008-04-08','existing_value' -'468','val_468','2008-04-08','existing_value' -'393','val_393','2008-04-08','existing_value' -'454','val_454','2008-04-08','existing_value' -'100','val_100','2008-04-08','existing_value' -'298','val_298','2008-04-08','existing_value' -'199','val_199','2008-04-08','existing_value' -'191','val_191','2008-04-08','existing_value' -'418','val_418','2008-04-08','existing_value' -'96','val_96','2008-04-08','existing_value' -'26','val_26','2008-04-08','existing_value' -'165','val_165','2008-04-08','existing_value' -'327','val_327','2008-04-08','existing_value' -'230','val_230','2008-04-08','existing_value' -'205','val_205','2008-04-08','existing_value' -'120','val_120','2008-04-08','existing_value' -'131','val_131','2008-04-08','existing_value' -'51','val_51','2008-04-08','existing_value' -'404','val_404','2008-04-08','existing_value' -'43','val_43','2008-04-08','existing_value' -'436','val_436','2008-04-08','existing_value' -'156','val_156','2008-04-08','existing_value' -'469','val_469','2008-04-08','existing_value' -'468','val_468','2008-04-08','existing_value' -'308','val_308','2008-04-08','existing_value' -'95','val_95','2008-04-08','existing_value' -'196','val_196','2008-04-08','existing_value' -'288','val_288','2008-04-08','existing_value' -'481','val_481','2008-04-08','existing_value' -'457','val_457','2008-04-08','existing_value' -'98','val_98','2008-04-08','existing_value' -'282','val_282','2008-04-08','existing_value' -'197','val_197','2008-04-08','existing_value' -'187','val_187','2008-04-08','existing_value' -'318','val_318','2008-04-08','existing_value' -'318','val_318','2008-04-08','existing_value' -'409','val_409','2008-04-08','existing_value' -'470','val_470','2008-04-08','existing_value' -'137','val_137','2008-04-08','existing_value' -'369','val_369','2008-04-08','existing_value' -'316','val_316','2008-04-08','existing_value' -'169','val_169','2008-04-08','existing_value' -'413','val_413','2008-04-08','existing_value' -'85','val_85','2008-04-08','existing_value' -'77','val_77','2008-04-08','existing_value' -'0','val_0','2008-04-08','existing_value' -'490','val_490','2008-04-08','existing_value' -'87','val_87','2008-04-08','existing_value' -'364','val_364','2008-04-08','existing_value' -'179','val_179','2008-04-08','existing_value' -'118','val_118','2008-04-08','existing_value' -'134','val_134','2008-04-08','existing_value' -'395','val_395','2008-04-08','existing_value' -'282','val_282','2008-04-08','existing_value' -'138','val_138','2008-04-08','existing_value' -'238','val_238','2008-04-08','existing_value' -'419','val_419','2008-04-08','existing_value' -'15','val_15','2008-04-08','existing_value' -'118','val_118','2008-04-08','existing_value' -'72','val_72','2008-04-08','existing_value' -'90','val_90','2008-04-08','existing_value' -'307','val_307','2008-04-08','existing_value' -'19','val_19','2008-04-08','existing_value' -'435','val_435','2008-04-08','existing_value' -'10','val_10','2008-04-08','existing_value' -'277','val_277','2008-04-08','existing_value' -'273','val_273','2008-04-08','existing_value' -'306','val_306','2008-04-08','existing_value' -'224','val_224','2008-04-08','existing_value' -'309','val_309','2008-04-08','existing_value' -'389','val_389','2008-04-08','existing_value' -'327','val_327','2008-04-08','existing_value' -'242','val_242','2008-04-08','existing_value' -'369','val_369','2008-04-08','existing_value' -'392','val_392','2008-04-08','existing_value' -'272','val_272','2008-04-08','existing_value' -'331','val_331','2008-04-08','existing_value' -'401','val_401','2008-04-08','existing_value' -'242','val_242','2008-04-08','existing_value' -'452','val_452','2008-04-08','existing_value' -'177','val_177','2008-04-08','existing_value' -'226','val_226','2008-04-08','existing_value' -'5','val_5','2008-04-08','existing_value' -'497','val_497','2008-04-08','existing_value' -'402','val_402','2008-04-08','existing_value' -'396','val_396','2008-04-08','existing_value' -'317','val_317','2008-04-08','existing_value' -'395','val_395','2008-04-08','existing_value' -'58','val_58','2008-04-08','existing_value' -'35','val_35','2008-04-08','existing_value' -'336','val_336','2008-04-08','existing_value' -'95','val_95','2008-04-08','existing_value' -'11','val_11','2008-04-08','existing_value' -'168','val_168','2008-04-08','existing_value' -'34','val_34','2008-04-08','existing_value' -'229','val_229','2008-04-08','existing_value' -'233','val_233','2008-04-08','existing_value' -'143','val_143','2008-04-08','existing_value' -'472','val_472','2008-04-08','existing_value' -'322','val_322','2008-04-08','existing_value' -'498','val_498','2008-04-08','existing_value' -'160','val_160','2008-04-08','existing_value' -'195','val_195','2008-04-08','existing_value' -'42','val_42','2008-04-08','existing_value' -'321','val_321','2008-04-08','existing_value' -'430','val_430','2008-04-08','existing_value' -'119','val_119','2008-04-08','existing_value' -'489','val_489','2008-04-08','existing_value' -'458','val_458','2008-04-08','existing_value' -'78','val_78','2008-04-08','existing_value' -'76','val_76','2008-04-08','existing_value' -'41','val_41','2008-04-08','existing_value' -'223','val_223','2008-04-08','existing_value' -'492','val_492','2008-04-08','existing_value' -'149','val_149','2008-04-08','existing_value' -'449','val_449','2008-04-08','existing_value' -'218','val_218','2008-04-08','existing_value' -'228','val_228','2008-04-08','existing_value' -'138','val_138','2008-04-08','existing_value' -'453','val_453','2008-04-08','existing_value' -'30','val_30','2008-04-08','existing_value' -'209','val_209','2008-04-08','existing_value' -'64','val_64','2008-04-08','existing_value' -'468','val_468','2008-04-08','existing_value' -'76','val_76','2008-04-08','existing_value' -'74','val_74','2008-04-08','existing_value' -'342','val_342','2008-04-08','existing_value' -'69','val_69','2008-04-08','existing_value' -'230','val_230','2008-04-08','existing_value' -'33','val_33','2008-04-08','existing_value' -'368','val_368','2008-04-08','existing_value' -'103','val_103','2008-04-08','existing_value' -'296','val_296','2008-04-08','existing_value' -'113','val_113','2008-04-08','existing_value' -'216','val_216','2008-04-08','existing_value' -'367','val_367','2008-04-08','existing_value' -'344','val_344','2008-04-08','existing_value' -'167','val_167','2008-04-08','existing_value' -'274','val_274','2008-04-08','existing_value' -'219','val_219','2008-04-08','existing_value' -'239','val_239','2008-04-08','existing_value' -'485','val_485','2008-04-08','existing_value' -'116','val_116','2008-04-08','existing_value' -'223','val_223','2008-04-08','existing_value' -'256','val_256','2008-04-08','existing_value' -'263','val_263','2008-04-08','existing_value' -'70','val_70','2008-04-08','existing_value' -'487','val_487','2008-04-08','existing_value' -'480','val_480','2008-04-08','existing_value' -'401','val_401','2008-04-08','existing_value' -'288','val_288','2008-04-08','existing_value' -'191','val_191','2008-04-08','existing_value' -'5','val_5','2008-04-08','existing_value' -'244','val_244','2008-04-08','existing_value' -'438','val_438','2008-04-08','existing_value' -'128','val_128','2008-04-08','existing_value' -'467','val_467','2008-04-08','existing_value' -'432','val_432','2008-04-08','existing_value' -'202','val_202','2008-04-08','existing_value' -'316','val_316','2008-04-08','existing_value' -'229','val_229','2008-04-08','existing_value' -'469','val_469','2008-04-08','existing_value' -'463','val_463','2008-04-08','existing_value' -'280','val_280','2008-04-08','existing_value' -'2','val_2','2008-04-08','existing_value' -'35','val_35','2008-04-08','existing_value' -'283','val_283','2008-04-08','existing_value' -'331','val_331','2008-04-08','existing_value' -'235','val_235','2008-04-08','existing_value' -'80','val_80','2008-04-08','existing_value' -'44','val_44','2008-04-08','existing_value' -'193','val_193','2008-04-08','existing_value' -'321','val_321','2008-04-08','existing_value' -'335','val_335','2008-04-08','existing_value' -'104','val_104','2008-04-08','existing_value' -'466','val_466','2008-04-08','existing_value' -'366','val_366','2008-04-08','existing_value' -'175','val_175','2008-04-08','existing_value' -'403','val_403','2008-04-08','existing_value' -'483','val_483','2008-04-08','existing_value' -'53','val_53','2008-04-08','existing_value' -'105','val_105','2008-04-08','existing_value' -'257','val_257','2008-04-08','existing_value' -'406','val_406','2008-04-08','existing_value' -'409','val_409','2008-04-08','existing_value' -'190','val_190','2008-04-08','existing_value' -'406','val_406','2008-04-08','existing_value' -'401','val_401','2008-04-08','existing_value' -'114','val_114','2008-04-08','existing_value' -'258','val_258','2008-04-08','existing_value' -'90','val_90','2008-04-08','existing_value' -'203','val_203','2008-04-08','existing_value' -'262','val_262','2008-04-08','existing_value' -'348','val_348','2008-04-08','existing_value' -'424','val_424','2008-04-08','existing_value' -'12','val_12','2008-04-08','existing_value' -'396','val_396','2008-04-08','existing_value' -'201','val_201','2008-04-08','existing_value' -'217','val_217','2008-04-08','existing_value' -'164','val_164','2008-04-08','existing_value' -'431','val_431','2008-04-08','existing_value' -'454','val_454','2008-04-08','existing_value' -'478','val_478','2008-04-08','existing_value' -'298','val_298','2008-04-08','existing_value' -'125','val_125','2008-04-08','existing_value' -'431','val_431','2008-04-08','existing_value' -'164','val_164','2008-04-08','existing_value' -'424','val_424','2008-04-08','existing_value' -'187','val_187','2008-04-08','existing_value' -'382','val_382','2008-04-08','existing_value' -'5','val_5','2008-04-08','existing_value' -'70','val_70','2008-04-08','existing_value' -'397','val_397','2008-04-08','existing_value' -'480','val_480','2008-04-08','existing_value' -'291','val_291','2008-04-08','existing_value' -'24','val_24','2008-04-08','existing_value' -'351','val_351','2008-04-08','existing_value' -'255','val_255','2008-04-08','existing_value' -'104','val_104','2008-04-08','existing_value' -'70','val_70','2008-04-08','existing_value' -'163','val_163','2008-04-08','existing_value' -'438','val_438','2008-04-08','existing_value' -'119','val_119','2008-04-08','existing_value' -'414','val_414','2008-04-08','existing_value' -'200','val_200','2008-04-08','existing_value' -'491','val_491','2008-04-08','existing_value' -'237','val_237','2008-04-08','existing_value' -'439','val_439','2008-04-08','existing_value' -'360','val_360','2008-04-08','existing_value' -'248','val_248','2008-04-08','existing_value' -'479','val_479','2008-04-08','existing_value' -'305','val_305','2008-04-08','existing_value' -'417','val_417','2008-04-08','existing_value' -'199','val_199','2008-04-08','existing_value' -'444','val_444','2008-04-08','existing_value' -'120','val_120','2008-04-08','existing_value' -'429','val_429','2008-04-08','existing_value' -'169','val_169','2008-04-08','existing_value' -'443','val_443','2008-04-08','existing_value' -'323','val_323','2008-04-08','existing_value' -'325','val_325','2008-04-08','existing_value' -'277','val_277','2008-04-08','existing_value' -'230','val_230','2008-04-08','existing_value' -'478','val_478','2008-04-08','existing_value' -'178','val_178','2008-04-08','existing_value' -'468','val_468','2008-04-08','existing_value' -'310','val_310','2008-04-08','existing_value' -'317','val_317','2008-04-08','existing_value' -'333','val_333','2008-04-08','existing_value' -'493','val_493','2008-04-08','existing_value' -'460','val_460','2008-04-08','existing_value' -'207','val_207','2008-04-08','existing_value' -'249','val_249','2008-04-08','existing_value' -'265','val_265','2008-04-08','existing_value' -'480','val_480','2008-04-08','existing_value' -'83','val_83','2008-04-08','existing_value' -'136','val_136','2008-04-08','existing_value' -'353','val_353','2008-04-08','existing_value' -'172','val_172','2008-04-08','existing_value' -'214','val_214','2008-04-08','existing_value' -'462','val_462','2008-04-08','existing_value' -'233','val_233','2008-04-08','existing_value' -'406','val_406','2008-04-08','existing_value' -'133','val_133','2008-04-08','existing_value' -'175','val_175','2008-04-08','existing_value' -'189','val_189','2008-04-08','existing_value' -'454','val_454','2008-04-08','existing_value' -'375','val_375','2008-04-08','existing_value' -'401','val_401','2008-04-08','existing_value' -'421','val_421','2008-04-08','existing_value' -'407','val_407','2008-04-08','existing_value' -'384','val_384','2008-04-08','existing_value' -'256','val_256','2008-04-08','existing_value' -'26','val_26','2008-04-08','existing_value' -'134','val_134','2008-04-08','existing_value' -'67','val_67','2008-04-08','existing_value' -'384','val_384','2008-04-08','existing_value' -'379','val_379','2008-04-08','existing_value' -'18','val_18','2008-04-08','existing_value' -'462','val_462','2008-04-08','existing_value' -'492','val_492','2008-04-08','existing_value' -'100','val_100','2008-04-08','existing_value' -'298','val_298','2008-04-08','existing_value' -'9','val_9','2008-04-08','existing_value' -'341','val_341','2008-04-08','existing_value' -'498','val_498','2008-04-08','existing_value' -'146','val_146','2008-04-08','existing_value' -'458','val_458','2008-04-08','existing_value' -'362','val_362','2008-04-08','existing_value' -'186','val_186','2008-04-08','existing_value' -'285','val_285','2008-04-08','existing_value' -'348','val_348','2008-04-08','existing_value' -'167','val_167','2008-04-08','existing_value' -'18','val_18','2008-04-08','existing_value' -'273','val_273','2008-04-08','existing_value' -'183','val_183','2008-04-08','existing_value' -'281','val_281','2008-04-08','existing_value' -'344','val_344','2008-04-08','existing_value' -'97','val_97','2008-04-08','existing_value' -'469','val_469','2008-04-08','existing_value' -'315','val_315','2008-04-08','existing_value' -'84','val_84','2008-04-08','existing_value' -'28','val_28','2008-04-08','existing_value' -'37','val_37','2008-04-08','existing_value' -'448','val_448','2008-04-08','existing_value' -'152','val_152','2008-04-08','existing_value' -'348','val_348','2008-04-08','existing_value' -'307','val_307','2008-04-08','existing_value' -'194','val_194','2008-04-08','existing_value' -'414','val_414','2008-04-08','existing_value' -'477','val_477','2008-04-08','existing_value' -'222','val_222','2008-04-08','existing_value' -'126','val_126','2008-04-08','existing_value' -'90','val_90','2008-04-08','existing_value' -'169','val_169','2008-04-08','existing_value' -'403','val_403','2008-04-08','existing_value' -'400','val_400','2008-04-08','existing_value' -'200','val_200','2008-04-08','existing_value' -'97','val_97','2008-04-08','existing_value' -'238','val_238','2008-04-09','11' -'86','val_86','2008-04-09','11' -'311','val_311','2008-04-09','11' -'27','val_27','2008-04-09','11' -'165','val_165','2008-04-09','11' -'409','val_409','2008-04-09','11' -'255','val_255','2008-04-09','11' -'278','val_278','2008-04-09','11' -'98','val_98','2008-04-09','11' -'484','val_484','2008-04-09','11' -'265','val_265','2008-04-09','11' -'193','val_193','2008-04-09','11' -'401','val_401','2008-04-09','11' -'150','val_150','2008-04-09','11' -'273','val_273','2008-04-09','11' -'224','val_224','2008-04-09','11' -'369','val_369','2008-04-09','11' -'66','val_66','2008-04-09','11' -'128','val_128','2008-04-09','11' -'213','val_213','2008-04-09','11' -'146','val_146','2008-04-09','11' -'406','val_406','2008-04-09','11' -'429','val_429','2008-04-09','11' -'374','val_374','2008-04-09','11' -'152','val_152','2008-04-09','11' -'469','val_469','2008-04-09','11' -'145','val_145','2008-04-09','11' -'495','val_495','2008-04-09','11' -'37','val_37','2008-04-09','11' -'327','val_327','2008-04-09','11' -'281','val_281','2008-04-09','11' -'277','val_277','2008-04-09','11' -'209','val_209','2008-04-09','11' -'15','val_15','2008-04-09','11' -'82','val_82','2008-04-09','11' -'403','val_403','2008-04-09','11' -'166','val_166','2008-04-09','11' -'417','val_417','2008-04-09','11' -'430','val_430','2008-04-09','11' -'252','val_252','2008-04-09','11' -'292','val_292','2008-04-09','11' -'219','val_219','2008-04-09','11' -'287','val_287','2008-04-09','11' -'153','val_153','2008-04-09','11' -'193','val_193','2008-04-09','11' -'338','val_338','2008-04-09','11' -'446','val_446','2008-04-09','11' -'459','val_459','2008-04-09','11' -'394','val_394','2008-04-09','11' -'237','val_237','2008-04-09','11' -'482','val_482','2008-04-09','11' -'174','val_174','2008-04-09','11' -'413','val_413','2008-04-09','11' -'494','val_494','2008-04-09','11' -'207','val_207','2008-04-09','11' -'199','val_199','2008-04-09','11' -'466','val_466','2008-04-09','11' -'208','val_208','2008-04-09','11' -'174','val_174','2008-04-09','11' -'399','val_399','2008-04-09','11' -'396','val_396','2008-04-09','11' -'247','val_247','2008-04-09','11' -'417','val_417','2008-04-09','11' -'489','val_489','2008-04-09','11' -'162','val_162','2008-04-09','11' -'377','val_377','2008-04-09','11' -'397','val_397','2008-04-09','11' -'309','val_309','2008-04-09','11' -'365','val_365','2008-04-09','11' -'266','val_266','2008-04-09','11' -'439','val_439','2008-04-09','11' -'342','val_342','2008-04-09','11' -'367','val_367','2008-04-09','11' -'325','val_325','2008-04-09','11' -'167','val_167','2008-04-09','11' -'195','val_195','2008-04-09','11' -'475','val_475','2008-04-09','11' -'17','val_17','2008-04-09','11' -'113','val_113','2008-04-09','11' -'155','val_155','2008-04-09','11' -'203','val_203','2008-04-09','11' -'339','val_339','2008-04-09','11' -'0','val_0','2008-04-09','11' -'455','val_455','2008-04-09','11' -'128','val_128','2008-04-09','11' -'311','val_311','2008-04-09','11' -'316','val_316','2008-04-09','11' -'57','val_57','2008-04-09','11' -'302','val_302','2008-04-09','11' -'205','val_205','2008-04-09','11' -'149','val_149','2008-04-09','11' -'438','val_438','2008-04-09','11' -'345','val_345','2008-04-09','11' -'129','val_129','2008-04-09','11' -'170','val_170','2008-04-09','11' -'20','val_20','2008-04-09','11' -'489','val_489','2008-04-09','11' -'157','val_157','2008-04-09','11' -'378','val_378','2008-04-09','11' -'221','val_221','2008-04-09','11' -'92','val_92','2008-04-09','11' -'111','val_111','2008-04-09','11' -'47','val_47','2008-04-09','11' -'72','val_72','2008-04-09','11' -'4','val_4','2008-04-09','11' -'280','val_280','2008-04-09','11' -'35','val_35','2008-04-09','11' -'427','val_427','2008-04-09','11' -'277','val_277','2008-04-09','11' -'208','val_208','2008-04-09','11' -'356','val_356','2008-04-09','11' -'399','val_399','2008-04-09','11' -'169','val_169','2008-04-09','11' -'382','val_382','2008-04-09','11' -'498','val_498','2008-04-09','11' -'125','val_125','2008-04-09','11' -'386','val_386','2008-04-09','11' -'437','val_437','2008-04-09','11' -'469','val_469','2008-04-09','11' -'192','val_192','2008-04-09','11' -'286','val_286','2008-04-09','11' -'187','val_187','2008-04-09','11' -'176','val_176','2008-04-09','11' -'54','val_54','2008-04-09','11' -'459','val_459','2008-04-09','11' -'51','val_51','2008-04-09','11' -'138','val_138','2008-04-09','11' -'103','val_103','2008-04-09','11' -'239','val_239','2008-04-09','11' -'213','val_213','2008-04-09','11' -'216','val_216','2008-04-09','11' -'430','val_430','2008-04-09','11' -'278','val_278','2008-04-09','11' -'176','val_176','2008-04-09','11' -'289','val_289','2008-04-09','11' -'221','val_221','2008-04-09','11' -'65','val_65','2008-04-09','11' -'318','val_318','2008-04-09','11' -'332','val_332','2008-04-09','11' -'311','val_311','2008-04-09','11' -'275','val_275','2008-04-09','11' -'137','val_137','2008-04-09','11' -'241','val_241','2008-04-09','11' -'83','val_83','2008-04-09','11' -'333','val_333','2008-04-09','11' -'180','val_180','2008-04-09','11' -'284','val_284','2008-04-09','11' -'12','val_12','2008-04-09','11' -'230','val_230','2008-04-09','11' -'181','val_181','2008-04-09','11' -'67','val_67','2008-04-09','11' -'260','val_260','2008-04-09','11' -'404','val_404','2008-04-09','11' -'384','val_384','2008-04-09','11' -'489','val_489','2008-04-09','11' -'353','val_353','2008-04-09','11' -'373','val_373','2008-04-09','11' -'272','val_272','2008-04-09','11' -'138','val_138','2008-04-09','11' -'217','val_217','2008-04-09','11' -'84','val_84','2008-04-09','11' -'348','val_348','2008-04-09','11' -'466','val_466','2008-04-09','11' -'58','val_58','2008-04-09','11' -'8','val_8','2008-04-09','11' -'411','val_411','2008-04-09','11' -'230','val_230','2008-04-09','11' -'208','val_208','2008-04-09','11' -'348','val_348','2008-04-09','11' -'24','val_24','2008-04-09','11' -'463','val_463','2008-04-09','11' -'431','val_431','2008-04-09','11' -'179','val_179','2008-04-09','11' -'172','val_172','2008-04-09','11' -'42','val_42','2008-04-09','11' -'129','val_129','2008-04-09','11' -'158','val_158','2008-04-09','11' -'119','val_119','2008-04-09','11' -'496','val_496','2008-04-09','11' -'0','val_0','2008-04-09','11' -'322','val_322','2008-04-09','11' -'197','val_197','2008-04-09','11' -'468','val_468','2008-04-09','11' -'393','val_393','2008-04-09','11' -'454','val_454','2008-04-09','11' -'100','val_100','2008-04-09','11' -'298','val_298','2008-04-09','11' -'199','val_199','2008-04-09','11' -'191','val_191','2008-04-09','11' -'418','val_418','2008-04-09','11' -'96','val_96','2008-04-09','11' -'26','val_26','2008-04-09','11' -'165','val_165','2008-04-09','11' -'327','val_327','2008-04-09','11' -'230','val_230','2008-04-09','11' -'205','val_205','2008-04-09','11' -'120','val_120','2008-04-09','11' -'131','val_131','2008-04-09','11' -'51','val_51','2008-04-09','11' -'404','val_404','2008-04-09','11' -'43','val_43','2008-04-09','11' -'436','val_436','2008-04-09','11' -'156','val_156','2008-04-09','11' -'469','val_469','2008-04-09','11' -'468','val_468','2008-04-09','11' -'308','val_308','2008-04-09','11' -'95','val_95','2008-04-09','11' -'196','val_196','2008-04-09','11' -'288','val_288','2008-04-09','11' -'481','val_481','2008-04-09','11' -'457','val_457','2008-04-09','11' -'98','val_98','2008-04-09','11' -'282','val_282','2008-04-09','11' -'197','val_197','2008-04-09','11' -'187','val_187','2008-04-09','11' -'318','val_318','2008-04-09','11' -'318','val_318','2008-04-09','11' -'409','val_409','2008-04-09','11' -'470','val_470','2008-04-09','11' -'137','val_137','2008-04-09','11' -'369','val_369','2008-04-09','11' -'316','val_316','2008-04-09','11' -'169','val_169','2008-04-09','11' -'413','val_413','2008-04-09','11' -'85','val_85','2008-04-09','11' -'77','val_77','2008-04-09','11' -'0','val_0','2008-04-09','11' -'490','val_490','2008-04-09','11' -'87','val_87','2008-04-09','11' -'364','val_364','2008-04-09','11' -'179','val_179','2008-04-09','11' -'118','val_118','2008-04-09','11' -'134','val_134','2008-04-09','11' -'395','val_395','2008-04-09','11' -'282','val_282','2008-04-09','11' -'138','val_138','2008-04-09','11' -'238','val_238','2008-04-09','11' -'419','val_419','2008-04-09','11' -'15','val_15','2008-04-09','11' -'118','val_118','2008-04-09','11' -'72','val_72','2008-04-09','11' -'90','val_90','2008-04-09','11' -'307','val_307','2008-04-09','11' -'19','val_19','2008-04-09','11' -'435','val_435','2008-04-09','11' -'10','val_10','2008-04-09','11' -'277','val_277','2008-04-09','11' -'273','val_273','2008-04-09','11' -'306','val_306','2008-04-09','11' -'224','val_224','2008-04-09','11' -'309','val_309','2008-04-09','11' -'389','val_389','2008-04-09','11' -'327','val_327','2008-04-09','11' -'242','val_242','2008-04-09','11' -'369','val_369','2008-04-09','11' -'392','val_392','2008-04-09','11' -'272','val_272','2008-04-09','11' -'331','val_331','2008-04-09','11' -'401','val_401','2008-04-09','11' -'242','val_242','2008-04-09','11' -'452','val_452','2008-04-09','11' -'177','val_177','2008-04-09','11' -'226','val_226','2008-04-09','11' -'5','val_5','2008-04-09','11' -'497','val_497','2008-04-09','11' -'402','val_402','2008-04-09','11' -'396','val_396','2008-04-09','11' -'317','val_317','2008-04-09','11' -'395','val_395','2008-04-09','11' -'58','val_58','2008-04-09','11' -'35','val_35','2008-04-09','11' -'336','val_336','2008-04-09','11' -'95','val_95','2008-04-09','11' -'11','val_11','2008-04-09','11' -'168','val_168','2008-04-09','11' -'34','val_34','2008-04-09','11' -'229','val_229','2008-04-09','11' -'233','val_233','2008-04-09','11' -'143','val_143','2008-04-09','11' -'472','val_472','2008-04-09','11' -'322','val_322','2008-04-09','11' -'498','val_498','2008-04-09','11' -'160','val_160','2008-04-09','11' -'195','val_195','2008-04-09','11' -'42','val_42','2008-04-09','11' -'321','val_321','2008-04-09','11' -'430','val_430','2008-04-09','11' -'119','val_119','2008-04-09','11' -'489','val_489','2008-04-09','11' -'458','val_458','2008-04-09','11' -'78','val_78','2008-04-09','11' -'76','val_76','2008-04-09','11' -'41','val_41','2008-04-09','11' -'223','val_223','2008-04-09','11' -'492','val_492','2008-04-09','11' -'149','val_149','2008-04-09','11' -'449','val_449','2008-04-09','11' -'218','val_218','2008-04-09','11' -'228','val_228','2008-04-09','11' -'138','val_138','2008-04-09','11' -'453','val_453','2008-04-09','11' -'30','val_30','2008-04-09','11' -'209','val_209','2008-04-09','11' -'64','val_64','2008-04-09','11' -'468','val_468','2008-04-09','11' -'76','val_76','2008-04-09','11' -'74','val_74','2008-04-09','11' -'342','val_342','2008-04-09','11' -'69','val_69','2008-04-09','11' -'230','val_230','2008-04-09','11' -'33','val_33','2008-04-09','11' -'368','val_368','2008-04-09','11' -'103','val_103','2008-04-09','11' -'296','val_296','2008-04-09','11' -'113','val_113','2008-04-09','11' -'216','val_216','2008-04-09','11' -'367','val_367','2008-04-09','11' -'344','val_344','2008-04-09','11' -'167','val_167','2008-04-09','11' -'274','val_274','2008-04-09','11' -'219','val_219','2008-04-09','11' -'239','val_239','2008-04-09','11' -'485','val_485','2008-04-09','11' -'116','val_116','2008-04-09','11' -'223','val_223','2008-04-09','11' -'256','val_256','2008-04-09','11' -'263','val_263','2008-04-09','11' -'70','val_70','2008-04-09','11' -'487','val_487','2008-04-09','11' -'480','val_480','2008-04-09','11' -'401','val_401','2008-04-09','11' -'288','val_288','2008-04-09','11' -'191','val_191','2008-04-09','11' -'5','val_5','2008-04-09','11' -'244','val_244','2008-04-09','11' -'438','val_438','2008-04-09','11' -'128','val_128','2008-04-09','11' -'467','val_467','2008-04-09','11' -'432','val_432','2008-04-09','11' -'202','val_202','2008-04-09','11' -'316','val_316','2008-04-09','11' -'229','val_229','2008-04-09','11' -'469','val_469','2008-04-09','11' -'463','val_463','2008-04-09','11' -'280','val_280','2008-04-09','11' -'2','val_2','2008-04-09','11' -'35','val_35','2008-04-09','11' -'283','val_283','2008-04-09','11' -'331','val_331','2008-04-09','11' -'235','val_235','2008-04-09','11' -'80','val_80','2008-04-09','11' -'44','val_44','2008-04-09','11' -'193','val_193','2008-04-09','11' -'321','val_321','2008-04-09','11' -'335','val_335','2008-04-09','11' -'104','val_104','2008-04-09','11' -'466','val_466','2008-04-09','11' -'366','val_366','2008-04-09','11' -'175','val_175','2008-04-09','11' -'403','val_403','2008-04-09','11' -'483','val_483','2008-04-09','11' -'53','val_53','2008-04-09','11' -'105','val_105','2008-04-09','11' -'257','val_257','2008-04-09','11' -'406','val_406','2008-04-09','11' -'409','val_409','2008-04-09','11' -'190','val_190','2008-04-09','11' -'406','val_406','2008-04-09','11' -'401','val_401','2008-04-09','11' -'114','val_114','2008-04-09','11' -'258','val_258','2008-04-09','11' -'90','val_90','2008-04-09','11' -'203','val_203','2008-04-09','11' -'262','val_262','2008-04-09','11' -'348','val_348','2008-04-09','11' -'424','val_424','2008-04-09','11' -'12','val_12','2008-04-09','11' -'396','val_396','2008-04-09','11' -'201','val_201','2008-04-09','11' -'217','val_217','2008-04-09','11' -'164','val_164','2008-04-09','11' -'431','val_431','2008-04-09','11' -'454','val_454','2008-04-09','11' -'478','val_478','2008-04-09','11' -'298','val_298','2008-04-09','11' -'125','val_125','2008-04-09','11' -'431','val_431','2008-04-09','11' -'164','val_164','2008-04-09','11' -'424','val_424','2008-04-09','11' -'187','val_187','2008-04-09','11' -'382','val_382','2008-04-09','11' -'5','val_5','2008-04-09','11' -'70','val_70','2008-04-09','11' -'397','val_397','2008-04-09','11' -'480','val_480','2008-04-09','11' -'291','val_291','2008-04-09','11' -'24','val_24','2008-04-09','11' -'351','val_351','2008-04-09','11' -'255','val_255','2008-04-09','11' -'104','val_104','2008-04-09','11' -'70','val_70','2008-04-09','11' -'163','val_163','2008-04-09','11' -'438','val_438','2008-04-09','11' -'119','val_119','2008-04-09','11' -'414','val_414','2008-04-09','11' -'200','val_200','2008-04-09','11' -'491','val_491','2008-04-09','11' -'237','val_237','2008-04-09','11' -'439','val_439','2008-04-09','11' -'360','val_360','2008-04-09','11' -'248','val_248','2008-04-09','11' -'479','val_479','2008-04-09','11' -'305','val_305','2008-04-09','11' -'417','val_417','2008-04-09','11' -'199','val_199','2008-04-09','11' -'444','val_444','2008-04-09','11' -'120','val_120','2008-04-09','11' -'429','val_429','2008-04-09','11' -'169','val_169','2008-04-09','11' -'443','val_443','2008-04-09','11' -'323','val_323','2008-04-09','11' -'325','val_325','2008-04-09','11' -'277','val_277','2008-04-09','11' -'230','val_230','2008-04-09','11' -'478','val_478','2008-04-09','11' -'178','val_178','2008-04-09','11' -'468','val_468','2008-04-09','11' -'310','val_310','2008-04-09','11' -'317','val_317','2008-04-09','11' -'333','val_333','2008-04-09','11' -'493','val_493','2008-04-09','11' -'460','val_460','2008-04-09','11' -'207','val_207','2008-04-09','11' -'249','val_249','2008-04-09','11' -'265','val_265','2008-04-09','11' -'480','val_480','2008-04-09','11' -'83','val_83','2008-04-09','11' -'136','val_136','2008-04-09','11' -'353','val_353','2008-04-09','11' -'172','val_172','2008-04-09','11' -'214','val_214','2008-04-09','11' -'462','val_462','2008-04-09','11' -'233','val_233','2008-04-09','11' -'406','val_406','2008-04-09','11' -'133','val_133','2008-04-09','11' -'175','val_175','2008-04-09','11' -'189','val_189','2008-04-09','11' -'454','val_454','2008-04-09','11' -'375','val_375','2008-04-09','11' -'401','val_401','2008-04-09','11' -'421','val_421','2008-04-09','11' -'407','val_407','2008-04-09','11' -'384','val_384','2008-04-09','11' -'256','val_256','2008-04-09','11' -'26','val_26','2008-04-09','11' -'134','val_134','2008-04-09','11' -'67','val_67','2008-04-09','11' -'384','val_384','2008-04-09','11' -'379','val_379','2008-04-09','11' -'18','val_18','2008-04-09','11' -'462','val_462','2008-04-09','11' -'492','val_492','2008-04-09','11' -'100','val_100','2008-04-09','11' -'298','val_298','2008-04-09','11' -'9','val_9','2008-04-09','11' -'341','val_341','2008-04-09','11' -'498','val_498','2008-04-09','11' -'146','val_146','2008-04-09','11' -'458','val_458','2008-04-09','11' -'362','val_362','2008-04-09','11' -'186','val_186','2008-04-09','11' -'285','val_285','2008-04-09','11' -'348','val_348','2008-04-09','11' -'167','val_167','2008-04-09','11' -'18','val_18','2008-04-09','11' -'273','val_273','2008-04-09','11' -'183','val_183','2008-04-09','11' -'281','val_281','2008-04-09','11' -'344','val_344','2008-04-09','11' -'97','val_97','2008-04-09','11' -'469','val_469','2008-04-09','11' -'315','val_315','2008-04-09','11' -'84','val_84','2008-04-09','11' -'28','val_28','2008-04-09','11' -'37','val_37','2008-04-09','11' -'448','val_448','2008-04-09','11' -'152','val_152','2008-04-09','11' -'348','val_348','2008-04-09','11' -'307','val_307','2008-04-09','11' -'194','val_194','2008-04-09','11' -'414','val_414','2008-04-09','11' -'477','val_477','2008-04-09','11' -'222','val_222','2008-04-09','11' -'126','val_126','2008-04-09','11' -'90','val_90','2008-04-09','11' -'169','val_169','2008-04-09','11' -'403','val_403','2008-04-09','11' -'400','val_400','2008-04-09','11' -'200','val_200','2008-04-09','11' -'97','val_97','2008-04-09','11' -'238','val_238','2008-04-09','12' -'86','val_86','2008-04-09','12' -'311','val_311','2008-04-09','12' -'27','val_27','2008-04-09','12' -'165','val_165','2008-04-09','12' -'409','val_409','2008-04-09','12' -'255','val_255','2008-04-09','12' -'278','val_278','2008-04-09','12' -'98','val_98','2008-04-09','12' -'484','val_484','2008-04-09','12' -'265','val_265','2008-04-09','12' -'193','val_193','2008-04-09','12' -'401','val_401','2008-04-09','12' -'150','val_150','2008-04-09','12' -'273','val_273','2008-04-09','12' -'224','val_224','2008-04-09','12' -'369','val_369','2008-04-09','12' -'66','val_66','2008-04-09','12' -'128','val_128','2008-04-09','12' -'213','val_213','2008-04-09','12' -'146','val_146','2008-04-09','12' -'406','val_406','2008-04-09','12' -'429','val_429','2008-04-09','12' -'374','val_374','2008-04-09','12' -'152','val_152','2008-04-09','12' -'469','val_469','2008-04-09','12' -'145','val_145','2008-04-09','12' -'495','val_495','2008-04-09','12' -'37','val_37','2008-04-09','12' -'327','val_327','2008-04-09','12' -'281','val_281','2008-04-09','12' -'277','val_277','2008-04-09','12' -'209','val_209','2008-04-09','12' -'15','val_15','2008-04-09','12' -'82','val_82','2008-04-09','12' -'403','val_403','2008-04-09','12' -'166','val_166','2008-04-09','12' -'417','val_417','2008-04-09','12' -'430','val_430','2008-04-09','12' -'252','val_252','2008-04-09','12' -'292','val_292','2008-04-09','12' -'219','val_219','2008-04-09','12' -'287','val_287','2008-04-09','12' -'153','val_153','2008-04-09','12' -'193','val_193','2008-04-09','12' -'338','val_338','2008-04-09','12' -'446','val_446','2008-04-09','12' -'459','val_459','2008-04-09','12' -'394','val_394','2008-04-09','12' -'237','val_237','2008-04-09','12' -'482','val_482','2008-04-09','12' -'174','val_174','2008-04-09','12' -'413','val_413','2008-04-09','12' -'494','val_494','2008-04-09','12' -'207','val_207','2008-04-09','12' -'199','val_199','2008-04-09','12' -'466','val_466','2008-04-09','12' -'208','val_208','2008-04-09','12' -'174','val_174','2008-04-09','12' -'399','val_399','2008-04-09','12' -'396','val_396','2008-04-09','12' -'247','val_247','2008-04-09','12' -'417','val_417','2008-04-09','12' -'489','val_489','2008-04-09','12' -'162','val_162','2008-04-09','12' -'377','val_377','2008-04-09','12' -'397','val_397','2008-04-09','12' -'309','val_309','2008-04-09','12' -'365','val_365','2008-04-09','12' -'266','val_266','2008-04-09','12' -'439','val_439','2008-04-09','12' -'342','val_342','2008-04-09','12' -'367','val_367','2008-04-09','12' -'325','val_325','2008-04-09','12' -'167','val_167','2008-04-09','12' -'195','val_195','2008-04-09','12' -'475','val_475','2008-04-09','12' -'17','val_17','2008-04-09','12' -'113','val_113','2008-04-09','12' -'155','val_155','2008-04-09','12' -'203','val_203','2008-04-09','12' -'339','val_339','2008-04-09','12' -'0','val_0','2008-04-09','12' -'455','val_455','2008-04-09','12' -'128','val_128','2008-04-09','12' -'311','val_311','2008-04-09','12' -'316','val_316','2008-04-09','12' -'57','val_57','2008-04-09','12' -'302','val_302','2008-04-09','12' -'205','val_205','2008-04-09','12' -'149','val_149','2008-04-09','12' -'438','val_438','2008-04-09','12' -'345','val_345','2008-04-09','12' -'129','val_129','2008-04-09','12' -'170','val_170','2008-04-09','12' -'20','val_20','2008-04-09','12' -'489','val_489','2008-04-09','12' -'157','val_157','2008-04-09','12' -'378','val_378','2008-04-09','12' -'221','val_221','2008-04-09','12' -'92','val_92','2008-04-09','12' -'111','val_111','2008-04-09','12' -'47','val_47','2008-04-09','12' -'72','val_72','2008-04-09','12' -'4','val_4','2008-04-09','12' -'280','val_280','2008-04-09','12' -'35','val_35','2008-04-09','12' -'427','val_427','2008-04-09','12' -'277','val_277','2008-04-09','12' -'208','val_208','2008-04-09','12' -'356','val_356','2008-04-09','12' -'399','val_399','2008-04-09','12' -'169','val_169','2008-04-09','12' -'382','val_382','2008-04-09','12' -'498','val_498','2008-04-09','12' -'125','val_125','2008-04-09','12' -'386','val_386','2008-04-09','12' -'437','val_437','2008-04-09','12' -'469','val_469','2008-04-09','12' -'192','val_192','2008-04-09','12' -'286','val_286','2008-04-09','12' -'187','val_187','2008-04-09','12' -'176','val_176','2008-04-09','12' -'54','val_54','2008-04-09','12' -'459','val_459','2008-04-09','12' -'51','val_51','2008-04-09','12' -'138','val_138','2008-04-09','12' -'103','val_103','2008-04-09','12' -'239','val_239','2008-04-09','12' -'213','val_213','2008-04-09','12' -'216','val_216','2008-04-09','12' -'430','val_430','2008-04-09','12' -'278','val_278','2008-04-09','12' -'176','val_176','2008-04-09','12' -'289','val_289','2008-04-09','12' -'221','val_221','2008-04-09','12' -'65','val_65','2008-04-09','12' -'318','val_318','2008-04-09','12' -'332','val_332','2008-04-09','12' -'311','val_311','2008-04-09','12' -'275','val_275','2008-04-09','12' -'137','val_137','2008-04-09','12' -'241','val_241','2008-04-09','12' -'83','val_83','2008-04-09','12' -'333','val_333','2008-04-09','12' -'180','val_180','2008-04-09','12' -'284','val_284','2008-04-09','12' -'12','val_12','2008-04-09','12' -'230','val_230','2008-04-09','12' -'181','val_181','2008-04-09','12' -'67','val_67','2008-04-09','12' -'260','val_260','2008-04-09','12' -'404','val_404','2008-04-09','12' -'384','val_384','2008-04-09','12' -'489','val_489','2008-04-09','12' -'353','val_353','2008-04-09','12' -'373','val_373','2008-04-09','12' -'272','val_272','2008-04-09','12' -'138','val_138','2008-04-09','12' -'217','val_217','2008-04-09','12' -'84','val_84','2008-04-09','12' -'348','val_348','2008-04-09','12' -'466','val_466','2008-04-09','12' -'58','val_58','2008-04-09','12' -'8','val_8','2008-04-09','12' -'411','val_411','2008-04-09','12' -'230','val_230','2008-04-09','12' -'208','val_208','2008-04-09','12' -'348','val_348','2008-04-09','12' -'24','val_24','2008-04-09','12' -'463','val_463','2008-04-09','12' -'431','val_431','2008-04-09','12' -'179','val_179','2008-04-09','12' -'172','val_172','2008-04-09','12' -'42','val_42','2008-04-09','12' -'129','val_129','2008-04-09','12' -'158','val_158','2008-04-09','12' -'119','val_119','2008-04-09','12' -'496','val_496','2008-04-09','12' -'0','val_0','2008-04-09','12' -'322','val_322','2008-04-09','12' -'197','val_197','2008-04-09','12' -'468','val_468','2008-04-09','12' -'393','val_393','2008-04-09','12' -'454','val_454','2008-04-09','12' -'100','val_100','2008-04-09','12' -'298','val_298','2008-04-09','12' -'199','val_199','2008-04-09','12' -'191','val_191','2008-04-09','12' -'418','val_418','2008-04-09','12' -'96','val_96','2008-04-09','12' -'26','val_26','2008-04-09','12' -'165','val_165','2008-04-09','12' -'327','val_327','2008-04-09','12' -'230','val_230','2008-04-09','12' -'205','val_205','2008-04-09','12' -'120','val_120','2008-04-09','12' -'131','val_131','2008-04-09','12' -'51','val_51','2008-04-09','12' -'404','val_404','2008-04-09','12' -'43','val_43','2008-04-09','12' -'436','val_436','2008-04-09','12' -'156','val_156','2008-04-09','12' -'469','val_469','2008-04-09','12' -'468','val_468','2008-04-09','12' -'308','val_308','2008-04-09','12' -'95','val_95','2008-04-09','12' -'196','val_196','2008-04-09','12' -'288','val_288','2008-04-09','12' -'481','val_481','2008-04-09','12' -'457','val_457','2008-04-09','12' -'98','val_98','2008-04-09','12' -'282','val_282','2008-04-09','12' -'197','val_197','2008-04-09','12' -'187','val_187','2008-04-09','12' -'318','val_318','2008-04-09','12' -'318','val_318','2008-04-09','12' -'409','val_409','2008-04-09','12' -'470','val_470','2008-04-09','12' -'137','val_137','2008-04-09','12' -'369','val_369','2008-04-09','12' -'316','val_316','2008-04-09','12' -'169','val_169','2008-04-09','12' -'413','val_413','2008-04-09','12' -'85','val_85','2008-04-09','12' -'77','val_77','2008-04-09','12' -'0','val_0','2008-04-09','12' -'490','val_490','2008-04-09','12' -'87','val_87','2008-04-09','12' -'364','val_364','2008-04-09','12' -'179','val_179','2008-04-09','12' -'118','val_118','2008-04-09','12' -'134','val_134','2008-04-09','12' -'395','val_395','2008-04-09','12' -'282','val_282','2008-04-09','12' -'138','val_138','2008-04-09','12' -'238','val_238','2008-04-09','12' -'419','val_419','2008-04-09','12' -'15','val_15','2008-04-09','12' -'118','val_118','2008-04-09','12' -'72','val_72','2008-04-09','12' -'90','val_90','2008-04-09','12' -'307','val_307','2008-04-09','12' -'19','val_19','2008-04-09','12' -'435','val_435','2008-04-09','12' -'10','val_10','2008-04-09','12' -'277','val_277','2008-04-09','12' -'273','val_273','2008-04-09','12' -'306','val_306','2008-04-09','12' -'224','val_224','2008-04-09','12' -'309','val_309','2008-04-09','12' -'389','val_389','2008-04-09','12' -'327','val_327','2008-04-09','12' -'242','val_242','2008-04-09','12' -'369','val_369','2008-04-09','12' -'392','val_392','2008-04-09','12' -'272','val_272','2008-04-09','12' -'331','val_331','2008-04-09','12' -'401','val_401','2008-04-09','12' -'242','val_242','2008-04-09','12' -'452','val_452','2008-04-09','12' -'177','val_177','2008-04-09','12' -'226','val_226','2008-04-09','12' -'5','val_5','2008-04-09','12' -'497','val_497','2008-04-09','12' -'402','val_402','2008-04-09','12' -'396','val_396','2008-04-09','12' -'317','val_317','2008-04-09','12' -'395','val_395','2008-04-09','12' -'58','val_58','2008-04-09','12' -'35','val_35','2008-04-09','12' -'336','val_336','2008-04-09','12' -'95','val_95','2008-04-09','12' -'11','val_11','2008-04-09','12' -'168','val_168','2008-04-09','12' -'34','val_34','2008-04-09','12' -'229','val_229','2008-04-09','12' -'233','val_233','2008-04-09','12' -'143','val_143','2008-04-09','12' -'472','val_472','2008-04-09','12' -'322','val_322','2008-04-09','12' -'498','val_498','2008-04-09','12' -'160','val_160','2008-04-09','12' -'195','val_195','2008-04-09','12' -'42','val_42','2008-04-09','12' -'321','val_321','2008-04-09','12' -'430','val_430','2008-04-09','12' -'119','val_119','2008-04-09','12' -'489','val_489','2008-04-09','12' -'458','val_458','2008-04-09','12' -'78','val_78','2008-04-09','12' -'76','val_76','2008-04-09','12' -'41','val_41','2008-04-09','12' -'223','val_223','2008-04-09','12' -'492','val_492','2008-04-09','12' -'149','val_149','2008-04-09','12' -'449','val_449','2008-04-09','12' -'218','val_218','2008-04-09','12' -'228','val_228','2008-04-09','12' -'138','val_138','2008-04-09','12' -'453','val_453','2008-04-09','12' -'30','val_30','2008-04-09','12' -'209','val_209','2008-04-09','12' -'64','val_64','2008-04-09','12' -'468','val_468','2008-04-09','12' -'76','val_76','2008-04-09','12' -'74','val_74','2008-04-09','12' -'342','val_342','2008-04-09','12' -'69','val_69','2008-04-09','12' -'230','val_230','2008-04-09','12' -'33','val_33','2008-04-09','12' -'368','val_368','2008-04-09','12' -'103','val_103','2008-04-09','12' -'296','val_296','2008-04-09','12' -'113','val_113','2008-04-09','12' -'216','val_216','2008-04-09','12' -'367','val_367','2008-04-09','12' -'344','val_344','2008-04-09','12' -'167','val_167','2008-04-09','12' -'274','val_274','2008-04-09','12' -'219','val_219','2008-04-09','12' -'239','val_239','2008-04-09','12' -'485','val_485','2008-04-09','12' -'116','val_116','2008-04-09','12' -'223','val_223','2008-04-09','12' -'256','val_256','2008-04-09','12' -'263','val_263','2008-04-09','12' -'70','val_70','2008-04-09','12' -'487','val_487','2008-04-09','12' -'480','val_480','2008-04-09','12' -'401','val_401','2008-04-09','12' -'288','val_288','2008-04-09','12' -'191','val_191','2008-04-09','12' -'5','val_5','2008-04-09','12' -'244','val_244','2008-04-09','12' -'438','val_438','2008-04-09','12' -'128','val_128','2008-04-09','12' -'467','val_467','2008-04-09','12' -'432','val_432','2008-04-09','12' -'202','val_202','2008-04-09','12' -'316','val_316','2008-04-09','12' -'229','val_229','2008-04-09','12' -'469','val_469','2008-04-09','12' -'463','val_463','2008-04-09','12' -'280','val_280','2008-04-09','12' -'2','val_2','2008-04-09','12' -'35','val_35','2008-04-09','12' -'283','val_283','2008-04-09','12' -'331','val_331','2008-04-09','12' -'235','val_235','2008-04-09','12' -'80','val_80','2008-04-09','12' -'44','val_44','2008-04-09','12' -'193','val_193','2008-04-09','12' -'321','val_321','2008-04-09','12' -'335','val_335','2008-04-09','12' -'104','val_104','2008-04-09','12' -'466','val_466','2008-04-09','12' -'366','val_366','2008-04-09','12' -'175','val_175','2008-04-09','12' -'403','val_403','2008-04-09','12' -'483','val_483','2008-04-09','12' -'53','val_53','2008-04-09','12' -'105','val_105','2008-04-09','12' -'257','val_257','2008-04-09','12' -'406','val_406','2008-04-09','12' -'409','val_409','2008-04-09','12' -'190','val_190','2008-04-09','12' -'406','val_406','2008-04-09','12' -'401','val_401','2008-04-09','12' -'114','val_114','2008-04-09','12' -'258','val_258','2008-04-09','12' -'90','val_90','2008-04-09','12' -'203','val_203','2008-04-09','12' -'262','val_262','2008-04-09','12' -'348','val_348','2008-04-09','12' -'424','val_424','2008-04-09','12' -'12','val_12','2008-04-09','12' -'396','val_396','2008-04-09','12' -'201','val_201','2008-04-09','12' -'217','val_217','2008-04-09','12' -'164','val_164','2008-04-09','12' -'431','val_431','2008-04-09','12' -'454','val_454','2008-04-09','12' -'478','val_478','2008-04-09','12' -'298','val_298','2008-04-09','12' -'125','val_125','2008-04-09','12' -'431','val_431','2008-04-09','12' -'164','val_164','2008-04-09','12' -'424','val_424','2008-04-09','12' -'187','val_187','2008-04-09','12' -'382','val_382','2008-04-09','12' -'5','val_5','2008-04-09','12' -'70','val_70','2008-04-09','12' -'397','val_397','2008-04-09','12' -'480','val_480','2008-04-09','12' -'291','val_291','2008-04-09','12' -'24','val_24','2008-04-09','12' -'351','val_351','2008-04-09','12' -'255','val_255','2008-04-09','12' -'104','val_104','2008-04-09','12' -'70','val_70','2008-04-09','12' -'163','val_163','2008-04-09','12' -'438','val_438','2008-04-09','12' -'119','val_119','2008-04-09','12' -'414','val_414','2008-04-09','12' -'200','val_200','2008-04-09','12' -'491','val_491','2008-04-09','12' -'237','val_237','2008-04-09','12' -'439','val_439','2008-04-09','12' -'360','val_360','2008-04-09','12' -'248','val_248','2008-04-09','12' -'479','val_479','2008-04-09','12' -'305','val_305','2008-04-09','12' -'417','val_417','2008-04-09','12' -'199','val_199','2008-04-09','12' -'444','val_444','2008-04-09','12' -'120','val_120','2008-04-09','12' -'429','val_429','2008-04-09','12' -'169','val_169','2008-04-09','12' -'443','val_443','2008-04-09','12' -'323','val_323','2008-04-09','12' -'325','val_325','2008-04-09','12' -'277','val_277','2008-04-09','12' -'230','val_230','2008-04-09','12' -'478','val_478','2008-04-09','12' -'178','val_178','2008-04-09','12' -'468','val_468','2008-04-09','12' -'310','val_310','2008-04-09','12' -'317','val_317','2008-04-09','12' -'333','val_333','2008-04-09','12' -'493','val_493','2008-04-09','12' -'460','val_460','2008-04-09','12' -'207','val_207','2008-04-09','12' -'249','val_249','2008-04-09','12' -'265','val_265','2008-04-09','12' -'480','val_480','2008-04-09','12' -'83','val_83','2008-04-09','12' -'136','val_136','2008-04-09','12' -'353','val_353','2008-04-09','12' -'172','val_172','2008-04-09','12' -'214','val_214','2008-04-09','12' -'462','val_462','2008-04-09','12' -'233','val_233','2008-04-09','12' -'406','val_406','2008-04-09','12' -'133','val_133','2008-04-09','12' -'175','val_175','2008-04-09','12' -'189','val_189','2008-04-09','12' -'454','val_454','2008-04-09','12' -'375','val_375','2008-04-09','12' -'401','val_401','2008-04-09','12' -'421','val_421','2008-04-09','12' -'407','val_407','2008-04-09','12' -'384','val_384','2008-04-09','12' -'256','val_256','2008-04-09','12' -'26','val_26','2008-04-09','12' -'134','val_134','2008-04-09','12' -'67','val_67','2008-04-09','12' -'384','val_384','2008-04-09','12' -'379','val_379','2008-04-09','12' -'18','val_18','2008-04-09','12' -'462','val_462','2008-04-09','12' -'492','val_492','2008-04-09','12' -'100','val_100','2008-04-09','12' -'298','val_298','2008-04-09','12' -'9','val_9','2008-04-09','12' -'341','val_341','2008-04-09','12' -'498','val_498','2008-04-09','12' -'146','val_146','2008-04-09','12' -'458','val_458','2008-04-09','12' -'362','val_362','2008-04-09','12' -'186','val_186','2008-04-09','12' -'285','val_285','2008-04-09','12' -'348','val_348','2008-04-09','12' -'167','val_167','2008-04-09','12' -'18','val_18','2008-04-09','12' -'273','val_273','2008-04-09','12' -'183','val_183','2008-04-09','12' -'281','val_281','2008-04-09','12' -'344','val_344','2008-04-09','12' -'97','val_97','2008-04-09','12' -'469','val_469','2008-04-09','12' -'315','val_315','2008-04-09','12' -'84','val_84','2008-04-09','12' -'28','val_28','2008-04-09','12' -'37','val_37','2008-04-09','12' -'448','val_448','2008-04-09','12' -'152','val_152','2008-04-09','12' -'348','val_348','2008-04-09','12' -'307','val_307','2008-04-09','12' -'194','val_194','2008-04-09','12' -'414','val_414','2008-04-09','12' -'477','val_477','2008-04-09','12' -'222','val_222','2008-04-09','12' -'126','val_126','2008-04-09','12' -'90','val_90','2008-04-09','12' -'169','val_169','2008-04-09','12' -'403','val_403','2008-04-09','12' -'400','val_400','2008-04-09','12' -'200','val_200','2008-04-09','12' -'97','val_97','2008-04-09','12' -2,500 rows selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/load_dyn_part5.q.out ql/src/test/results/beelinepositive/load_dyn_part5.q.out deleted file mode 100644 index 24304a5..0000000 --- ql/src/test/results/beelinepositive/load_dyn_part5.q.out +++ /dev/null @@ -1,407 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/load_dyn_part5.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/load_dyn_part5.q ->>> ->>> ->>> create table if not exists nzhang_part5 (key string) partitioned by (value string); -No rows affected ->>> describe extended nzhang_part5; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'','','' -'Detailed Table Information','Table(tableName:nzhang_part5, dbName:load_dyn_part5, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/load_dyn_part5.db/nzhang_part5, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:value, type:string, comment:null)], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -4 rows selected ->>> ->>> set hive.merge.mapfiles=false; -No rows affected ->>> set hive.exec.dynamic.partition=true; -No rows affected ->>> set hive.exec.dynamic.partition.mode=nonstrict; -No rows affected ->>> set hive.exec.max.dynamic.partitions=2000; -No rows affected ->>> set hive.exec.max.dynamic.partitions.pernode=2000; -No rows affected ->>> ->>> explain -insert overwrite table nzhang_part5 partition (value) select key, value from src; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME nzhang_part5) (TOK_PARTSPEC (TOK_PARTVAL value)))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: load_dyn_part5.nzhang_part5' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' partition:' -' value ' -' 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: load_dyn_part5.nzhang_part5' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -47 rows selected ->>> ->>> insert overwrite table nzhang_part5 partition (value) select key, value from src; -'key','value' -No rows selected ->>> ->>> show partitions nzhang_part5; -'partition' -'value=val_0' -'value=val_10' -'value=val_100' -'value=val_103' -'value=val_104' -'value=val_105' -'value=val_11' -'value=val_111' -'value=val_113' -'value=val_114' -'value=val_116' -'value=val_118' -'value=val_119' -'value=val_12' -'value=val_120' -'value=val_125' -'value=val_126' -'value=val_128' -'value=val_129' -'value=val_131' -'value=val_133' -'value=val_134' -'value=val_136' -'value=val_137' -'value=val_138' -'value=val_143' -'value=val_145' -'value=val_146' -'value=val_149' -'value=val_15' -'value=val_150' -'value=val_152' -'value=val_153' -'value=val_155' -'value=val_156' -'value=val_157' -'value=val_158' -'value=val_160' -'value=val_162' -'value=val_163' -'value=val_164' -'value=val_165' -'value=val_166' -'value=val_167' -'value=val_168' -'value=val_169' -'value=val_17' -'value=val_170' -'value=val_172' -'value=val_174' -'value=val_175' -'value=val_176' -'value=val_177' -'value=val_178' -'value=val_179' -'value=val_18' -'value=val_180' -'value=val_181' -'value=val_183' -'value=val_186' -'value=val_187' -'value=val_189' -'value=val_19' -'value=val_190' -'value=val_191' -'value=val_192' -'value=val_193' -'value=val_194' -'value=val_195' -'value=val_196' -'value=val_197' -'value=val_199' -'value=val_2' -'value=val_20' -'value=val_200' -'value=val_201' -'value=val_202' -'value=val_203' -'value=val_205' -'value=val_207' -'value=val_208' -'value=val_209' -'value=val_213' -'value=val_214' -'value=val_216' -'value=val_217' -'value=val_218' -'value=val_219' -'value=val_221' -'value=val_222' -'value=val_223' -'value=val_224' -'value=val_226' -'value=val_228' -'value=val_229' -'value=val_230' -'value=val_233' -'value=val_235' -'value=val_237' -'value=val_238' -'value=val_239' -'value=val_24' -'value=val_241' -'value=val_242' -'value=val_244' -'value=val_247' -'value=val_248' -'value=val_249' -'value=val_252' -'value=val_255' -'value=val_256' -'value=val_257' -'value=val_258' -'value=val_26' -'value=val_260' -'value=val_262' -'value=val_263' -'value=val_265' -'value=val_266' -'value=val_27' -'value=val_272' -'value=val_273' -'value=val_274' -'value=val_275' -'value=val_277' -'value=val_278' -'value=val_28' -'value=val_280' -'value=val_281' -'value=val_282' -'value=val_283' -'value=val_284' -'value=val_285' -'value=val_286' -'value=val_287' -'value=val_288' -'value=val_289' -'value=val_291' -'value=val_292' -'value=val_296' -'value=val_298' -'value=val_30' -'value=val_302' -'value=val_305' -'value=val_306' -'value=val_307' -'value=val_308' -'value=val_309' -'value=val_310' -'value=val_311' -'value=val_315' -'value=val_316' -'value=val_317' -'value=val_318' -'value=val_321' -'value=val_322' -'value=val_323' -'value=val_325' -'value=val_327' -'value=val_33' -'value=val_331' -'value=val_332' -'value=val_333' -'value=val_335' -'value=val_336' -'value=val_338' -'value=val_339' -'value=val_34' -'value=val_341' -'value=val_342' -'value=val_344' -'value=val_345' -'value=val_348' -'value=val_35' -'value=val_351' -'value=val_353' -'value=val_356' -'value=val_360' -'value=val_362' -'value=val_364' -'value=val_365' -'value=val_366' -'value=val_367' -'value=val_368' -'value=val_369' -'value=val_37' -'value=val_373' -'value=val_374' -'value=val_375' -'value=val_377' -'value=val_378' -'value=val_379' -'value=val_382' -'value=val_384' -'value=val_386' -'value=val_389' -'value=val_392' -'value=val_393' -'value=val_394' -'value=val_395' -'value=val_396' -'value=val_397' -'value=val_399' -'value=val_4' -'value=val_400' -'value=val_401' -'value=val_402' -'value=val_403' -'value=val_404' -'value=val_406' -'value=val_407' -'value=val_409' -'value=val_41' -'value=val_411' -'value=val_413' -'value=val_414' -'value=val_417' -'value=val_418' -'value=val_419' -'value=val_42' -'value=val_421' -'value=val_424' -'value=val_427' -'value=val_429' -'value=val_43' -'value=val_430' -'value=val_431' -'value=val_432' -'value=val_435' -'value=val_436' -'value=val_437' -'value=val_438' -'value=val_439' -'value=val_44' -'value=val_443' -'value=val_444' -'value=val_446' -'value=val_448' -'value=val_449' -'value=val_452' -'value=val_453' -'value=val_454' -'value=val_455' -'value=val_457' -'value=val_458' -'value=val_459' -'value=val_460' -'value=val_462' -'value=val_463' -'value=val_466' -'value=val_467' -'value=val_468' -'value=val_469' -'value=val_47' -'value=val_470' -'value=val_472' -'value=val_475' -'value=val_477' -'value=val_478' -'value=val_479' -'value=val_480' -'value=val_481' -'value=val_482' -'value=val_483' -'value=val_484' -'value=val_485' -'value=val_487' -'value=val_489' -'value=val_490' -'value=val_491' -'value=val_492' -'value=val_493' -'value=val_494' -'value=val_495' -'value=val_496' -'value=val_497' -'value=val_498' -'value=val_5' -'value=val_51' -'value=val_53' -'value=val_54' -'value=val_57' -'value=val_58' -'value=val_64' -'value=val_65' -'value=val_66' -'value=val_67' -'value=val_69' -'value=val_70' -'value=val_72' -'value=val_74' -'value=val_76' -'value=val_77' -'value=val_78' -'value=val_8' -'value=val_80' -'value=val_82' -'value=val_83' -'value=val_84' -'value=val_85' -'value=val_86' -'value=val_87' -'value=val_9' -'value=val_90' -'value=val_92' -'value=val_95' -'value=val_96' -'value=val_97' -'value=val_98' -309 rows selected ->>> ->>> select * from nzhang_part5 where value='val_0'; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -3 rows selected ->>> select * from nzhang_part5 where value='val_2'; -'key','value' -'2','val_2' -1 row selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/load_dyn_part6.q.out ql/src/test/results/beelinepositive/load_dyn_part6.q.out deleted file mode 100644 index a97325e..0000000 --- ql/src/test/results/beelinepositive/load_dyn_part6.q.out +++ /dev/null @@ -1,2043 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/load_dyn_part6.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/load_dyn_part6.q ->>> show partitions srcpart; -'partition' -'ds=2008-04-08/hr=11' -'ds=2008-04-08/hr=12' -'ds=2008-04-09/hr=11' -'ds=2008-04-09/hr=12' -4 rows selected ->>> ->>> ->>> ->>> create table if not exists nzhang_part6 like srcpart; -No rows affected ->>> describe extended nzhang_part6; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'ds','string','' -'hr','string','' -'','','' -'Detailed Table Information','Table(tableName:nzhang_part6, dbName:load_dyn_part6, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:hr, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/load_dyn_part6.db/nzhang_part6, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:hr, type:string, comment:null)], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -6 rows selected ->>> ->>> set hive.merge.mapfiles=false; -No rows affected ->>> set hive.merge.mapredfiles=false; -No rows affected ->>> set hive.exec.dynamic.partition=true; -No rows affected ->>> ->>> insert overwrite table nzhang_part6 partition (ds="2010-03-03", hr) select key, value, hr from srcpart where ds is not null and hr is not null; -'key','value','hr' -No rows selected ->>> ->>> select * from nzhang_part6 where ds = '2010-03-03' and hr = '11'; -'key','value','ds','hr' -'238','val_238','2010-03-03','11' -'86','val_86','2010-03-03','11' -'311','val_311','2010-03-03','11' -'27','val_27','2010-03-03','11' -'165','val_165','2010-03-03','11' -'409','val_409','2010-03-03','11' -'255','val_255','2010-03-03','11' -'278','val_278','2010-03-03','11' -'98','val_98','2010-03-03','11' -'484','val_484','2010-03-03','11' -'265','val_265','2010-03-03','11' -'193','val_193','2010-03-03','11' -'401','val_401','2010-03-03','11' -'150','val_150','2010-03-03','11' -'273','val_273','2010-03-03','11' -'224','val_224','2010-03-03','11' -'369','val_369','2010-03-03','11' -'66','val_66','2010-03-03','11' -'128','val_128','2010-03-03','11' -'213','val_213','2010-03-03','11' -'146','val_146','2010-03-03','11' -'406','val_406','2010-03-03','11' -'429','val_429','2010-03-03','11' -'374','val_374','2010-03-03','11' -'152','val_152','2010-03-03','11' -'469','val_469','2010-03-03','11' -'145','val_145','2010-03-03','11' -'495','val_495','2010-03-03','11' -'37','val_37','2010-03-03','11' -'327','val_327','2010-03-03','11' -'281','val_281','2010-03-03','11' -'277','val_277','2010-03-03','11' -'209','val_209','2010-03-03','11' -'15','val_15','2010-03-03','11' -'82','val_82','2010-03-03','11' -'403','val_403','2010-03-03','11' -'166','val_166','2010-03-03','11' -'417','val_417','2010-03-03','11' -'430','val_430','2010-03-03','11' -'252','val_252','2010-03-03','11' -'292','val_292','2010-03-03','11' -'219','val_219','2010-03-03','11' -'287','val_287','2010-03-03','11' -'153','val_153','2010-03-03','11' -'193','val_193','2010-03-03','11' -'338','val_338','2010-03-03','11' -'446','val_446','2010-03-03','11' -'459','val_459','2010-03-03','11' -'394','val_394','2010-03-03','11' -'237','val_237','2010-03-03','11' -'482','val_482','2010-03-03','11' -'174','val_174','2010-03-03','11' -'413','val_413','2010-03-03','11' -'494','val_494','2010-03-03','11' -'207','val_207','2010-03-03','11' -'199','val_199','2010-03-03','11' -'466','val_466','2010-03-03','11' -'208','val_208','2010-03-03','11' -'174','val_174','2010-03-03','11' -'399','val_399','2010-03-03','11' -'396','val_396','2010-03-03','11' -'247','val_247','2010-03-03','11' -'417','val_417','2010-03-03','11' -'489','val_489','2010-03-03','11' -'162','val_162','2010-03-03','11' -'377','val_377','2010-03-03','11' -'397','val_397','2010-03-03','11' -'309','val_309','2010-03-03','11' -'365','val_365','2010-03-03','11' -'266','val_266','2010-03-03','11' -'439','val_439','2010-03-03','11' -'342','val_342','2010-03-03','11' -'367','val_367','2010-03-03','11' -'325','val_325','2010-03-03','11' -'167','val_167','2010-03-03','11' -'195','val_195','2010-03-03','11' -'475','val_475','2010-03-03','11' -'17','val_17','2010-03-03','11' -'113','val_113','2010-03-03','11' -'155','val_155','2010-03-03','11' -'203','val_203','2010-03-03','11' -'339','val_339','2010-03-03','11' -'0','val_0','2010-03-03','11' -'455','val_455','2010-03-03','11' -'128','val_128','2010-03-03','11' -'311','val_311','2010-03-03','11' -'316','val_316','2010-03-03','11' -'57','val_57','2010-03-03','11' -'302','val_302','2010-03-03','11' -'205','val_205','2010-03-03','11' -'149','val_149','2010-03-03','11' -'438','val_438','2010-03-03','11' -'345','val_345','2010-03-03','11' -'129','val_129','2010-03-03','11' -'170','val_170','2010-03-03','11' -'20','val_20','2010-03-03','11' -'489','val_489','2010-03-03','11' -'157','val_157','2010-03-03','11' -'378','val_378','2010-03-03','11' -'221','val_221','2010-03-03','11' -'92','val_92','2010-03-03','11' -'111','val_111','2010-03-03','11' -'47','val_47','2010-03-03','11' -'72','val_72','2010-03-03','11' -'4','val_4','2010-03-03','11' -'280','val_280','2010-03-03','11' -'35','val_35','2010-03-03','11' -'427','val_427','2010-03-03','11' -'277','val_277','2010-03-03','11' -'208','val_208','2010-03-03','11' -'356','val_356','2010-03-03','11' -'399','val_399','2010-03-03','11' -'169','val_169','2010-03-03','11' -'382','val_382','2010-03-03','11' -'498','val_498','2010-03-03','11' -'125','val_125','2010-03-03','11' -'386','val_386','2010-03-03','11' -'437','val_437','2010-03-03','11' -'469','val_469','2010-03-03','11' -'192','val_192','2010-03-03','11' -'286','val_286','2010-03-03','11' -'187','val_187','2010-03-03','11' -'176','val_176','2010-03-03','11' -'54','val_54','2010-03-03','11' -'459','val_459','2010-03-03','11' -'51','val_51','2010-03-03','11' -'138','val_138','2010-03-03','11' -'103','val_103','2010-03-03','11' -'239','val_239','2010-03-03','11' -'213','val_213','2010-03-03','11' -'216','val_216','2010-03-03','11' -'430','val_430','2010-03-03','11' -'278','val_278','2010-03-03','11' -'176','val_176','2010-03-03','11' -'289','val_289','2010-03-03','11' -'221','val_221','2010-03-03','11' -'65','val_65','2010-03-03','11' -'318','val_318','2010-03-03','11' -'332','val_332','2010-03-03','11' -'311','val_311','2010-03-03','11' -'275','val_275','2010-03-03','11' -'137','val_137','2010-03-03','11' -'241','val_241','2010-03-03','11' -'83','val_83','2010-03-03','11' -'333','val_333','2010-03-03','11' -'180','val_180','2010-03-03','11' -'284','val_284','2010-03-03','11' -'12','val_12','2010-03-03','11' -'230','val_230','2010-03-03','11' -'181','val_181','2010-03-03','11' -'67','val_67','2010-03-03','11' -'260','val_260','2010-03-03','11' -'404','val_404','2010-03-03','11' -'384','val_384','2010-03-03','11' -'489','val_489','2010-03-03','11' -'353','val_353','2010-03-03','11' -'373','val_373','2010-03-03','11' -'272','val_272','2010-03-03','11' -'138','val_138','2010-03-03','11' -'217','val_217','2010-03-03','11' -'84','val_84','2010-03-03','11' -'348','val_348','2010-03-03','11' -'466','val_466','2010-03-03','11' -'58','val_58','2010-03-03','11' -'8','val_8','2010-03-03','11' -'411','val_411','2010-03-03','11' -'230','val_230','2010-03-03','11' -'208','val_208','2010-03-03','11' -'348','val_348','2010-03-03','11' -'24','val_24','2010-03-03','11' -'463','val_463','2010-03-03','11' -'431','val_431','2010-03-03','11' -'179','val_179','2010-03-03','11' -'172','val_172','2010-03-03','11' -'42','val_42','2010-03-03','11' -'129','val_129','2010-03-03','11' -'158','val_158','2010-03-03','11' -'119','val_119','2010-03-03','11' -'496','val_496','2010-03-03','11' -'0','val_0','2010-03-03','11' -'322','val_322','2010-03-03','11' -'197','val_197','2010-03-03','11' -'468','val_468','2010-03-03','11' -'393','val_393','2010-03-03','11' -'454','val_454','2010-03-03','11' -'100','val_100','2010-03-03','11' -'298','val_298','2010-03-03','11' -'199','val_199','2010-03-03','11' -'191','val_191','2010-03-03','11' -'418','val_418','2010-03-03','11' -'96','val_96','2010-03-03','11' -'26','val_26','2010-03-03','11' -'165','val_165','2010-03-03','11' -'327','val_327','2010-03-03','11' -'230','val_230','2010-03-03','11' -'205','val_205','2010-03-03','11' -'120','val_120','2010-03-03','11' -'131','val_131','2010-03-03','11' -'51','val_51','2010-03-03','11' -'404','val_404','2010-03-03','11' -'43','val_43','2010-03-03','11' -'436','val_436','2010-03-03','11' -'156','val_156','2010-03-03','11' -'469','val_469','2010-03-03','11' -'468','val_468','2010-03-03','11' -'308','val_308','2010-03-03','11' -'95','val_95','2010-03-03','11' -'196','val_196','2010-03-03','11' -'288','val_288','2010-03-03','11' -'481','val_481','2010-03-03','11' -'457','val_457','2010-03-03','11' -'98','val_98','2010-03-03','11' -'282','val_282','2010-03-03','11' -'197','val_197','2010-03-03','11' -'187','val_187','2010-03-03','11' -'318','val_318','2010-03-03','11' -'318','val_318','2010-03-03','11' -'409','val_409','2010-03-03','11' -'470','val_470','2010-03-03','11' -'137','val_137','2010-03-03','11' -'369','val_369','2010-03-03','11' -'316','val_316','2010-03-03','11' -'169','val_169','2010-03-03','11' -'413','val_413','2010-03-03','11' -'85','val_85','2010-03-03','11' -'77','val_77','2010-03-03','11' -'0','val_0','2010-03-03','11' -'490','val_490','2010-03-03','11' -'87','val_87','2010-03-03','11' -'364','val_364','2010-03-03','11' -'179','val_179','2010-03-03','11' -'118','val_118','2010-03-03','11' -'134','val_134','2010-03-03','11' -'395','val_395','2010-03-03','11' -'282','val_282','2010-03-03','11' -'138','val_138','2010-03-03','11' -'238','val_238','2010-03-03','11' -'419','val_419','2010-03-03','11' -'15','val_15','2010-03-03','11' -'118','val_118','2010-03-03','11' -'72','val_72','2010-03-03','11' -'90','val_90','2010-03-03','11' -'307','val_307','2010-03-03','11' -'19','val_19','2010-03-03','11' -'435','val_435','2010-03-03','11' -'10','val_10','2010-03-03','11' -'277','val_277','2010-03-03','11' -'273','val_273','2010-03-03','11' -'306','val_306','2010-03-03','11' -'224','val_224','2010-03-03','11' -'309','val_309','2010-03-03','11' -'389','val_389','2010-03-03','11' -'327','val_327','2010-03-03','11' -'242','val_242','2010-03-03','11' -'369','val_369','2010-03-03','11' -'392','val_392','2010-03-03','11' -'272','val_272','2010-03-03','11' -'331','val_331','2010-03-03','11' -'401','val_401','2010-03-03','11' -'242','val_242','2010-03-03','11' -'452','val_452','2010-03-03','11' -'177','val_177','2010-03-03','11' -'226','val_226','2010-03-03','11' -'5','val_5','2010-03-03','11' -'497','val_497','2010-03-03','11' -'402','val_402','2010-03-03','11' -'396','val_396','2010-03-03','11' -'317','val_317','2010-03-03','11' -'395','val_395','2010-03-03','11' -'58','val_58','2010-03-03','11' -'35','val_35','2010-03-03','11' -'336','val_336','2010-03-03','11' -'95','val_95','2010-03-03','11' -'11','val_11','2010-03-03','11' -'168','val_168','2010-03-03','11' -'34','val_34','2010-03-03','11' -'229','val_229','2010-03-03','11' -'233','val_233','2010-03-03','11' -'143','val_143','2010-03-03','11' -'472','val_472','2010-03-03','11' -'322','val_322','2010-03-03','11' -'498','val_498','2010-03-03','11' -'160','val_160','2010-03-03','11' -'195','val_195','2010-03-03','11' -'42','val_42','2010-03-03','11' -'321','val_321','2010-03-03','11' -'430','val_430','2010-03-03','11' -'119','val_119','2010-03-03','11' -'489','val_489','2010-03-03','11' -'458','val_458','2010-03-03','11' -'78','val_78','2010-03-03','11' -'76','val_76','2010-03-03','11' -'41','val_41','2010-03-03','11' -'223','val_223','2010-03-03','11' -'492','val_492','2010-03-03','11' -'149','val_149','2010-03-03','11' -'449','val_449','2010-03-03','11' -'218','val_218','2010-03-03','11' -'228','val_228','2010-03-03','11' -'138','val_138','2010-03-03','11' -'453','val_453','2010-03-03','11' -'30','val_30','2010-03-03','11' -'209','val_209','2010-03-03','11' -'64','val_64','2010-03-03','11' -'468','val_468','2010-03-03','11' -'76','val_76','2010-03-03','11' -'74','val_74','2010-03-03','11' -'342','val_342','2010-03-03','11' -'69','val_69','2010-03-03','11' -'230','val_230','2010-03-03','11' -'33','val_33','2010-03-03','11' -'368','val_368','2010-03-03','11' -'103','val_103','2010-03-03','11' -'296','val_296','2010-03-03','11' -'113','val_113','2010-03-03','11' -'216','val_216','2010-03-03','11' -'367','val_367','2010-03-03','11' -'344','val_344','2010-03-03','11' -'167','val_167','2010-03-03','11' -'274','val_274','2010-03-03','11' -'219','val_219','2010-03-03','11' -'239','val_239','2010-03-03','11' -'485','val_485','2010-03-03','11' -'116','val_116','2010-03-03','11' -'223','val_223','2010-03-03','11' -'256','val_256','2010-03-03','11' -'263','val_263','2010-03-03','11' -'70','val_70','2010-03-03','11' -'487','val_487','2010-03-03','11' -'480','val_480','2010-03-03','11' -'401','val_401','2010-03-03','11' -'288','val_288','2010-03-03','11' -'191','val_191','2010-03-03','11' -'5','val_5','2010-03-03','11' -'244','val_244','2010-03-03','11' -'438','val_438','2010-03-03','11' -'128','val_128','2010-03-03','11' -'467','val_467','2010-03-03','11' -'432','val_432','2010-03-03','11' -'202','val_202','2010-03-03','11' -'316','val_316','2010-03-03','11' -'229','val_229','2010-03-03','11' -'469','val_469','2010-03-03','11' -'463','val_463','2010-03-03','11' -'280','val_280','2010-03-03','11' -'2','val_2','2010-03-03','11' -'35','val_35','2010-03-03','11' -'283','val_283','2010-03-03','11' -'331','val_331','2010-03-03','11' -'235','val_235','2010-03-03','11' -'80','val_80','2010-03-03','11' -'44','val_44','2010-03-03','11' -'193','val_193','2010-03-03','11' -'321','val_321','2010-03-03','11' -'335','val_335','2010-03-03','11' -'104','val_104','2010-03-03','11' -'466','val_466','2010-03-03','11' -'366','val_366','2010-03-03','11' -'175','val_175','2010-03-03','11' -'403','val_403','2010-03-03','11' -'483','val_483','2010-03-03','11' -'53','val_53','2010-03-03','11' -'105','val_105','2010-03-03','11' -'257','val_257','2010-03-03','11' -'406','val_406','2010-03-03','11' -'409','val_409','2010-03-03','11' -'190','val_190','2010-03-03','11' -'406','val_406','2010-03-03','11' -'401','val_401','2010-03-03','11' -'114','val_114','2010-03-03','11' -'258','val_258','2010-03-03','11' -'90','val_90','2010-03-03','11' -'203','val_203','2010-03-03','11' -'262','val_262','2010-03-03','11' -'348','val_348','2010-03-03','11' -'424','val_424','2010-03-03','11' -'12','val_12','2010-03-03','11' -'396','val_396','2010-03-03','11' -'201','val_201','2010-03-03','11' -'217','val_217','2010-03-03','11' -'164','val_164','2010-03-03','11' -'431','val_431','2010-03-03','11' -'454','val_454','2010-03-03','11' -'478','val_478','2010-03-03','11' -'298','val_298','2010-03-03','11' -'125','val_125','2010-03-03','11' -'431','val_431','2010-03-03','11' -'164','val_164','2010-03-03','11' -'424','val_424','2010-03-03','11' -'187','val_187','2010-03-03','11' -'382','val_382','2010-03-03','11' -'5','val_5','2010-03-03','11' -'70','val_70','2010-03-03','11' -'397','val_397','2010-03-03','11' -'480','val_480','2010-03-03','11' -'291','val_291','2010-03-03','11' -'24','val_24','2010-03-03','11' -'351','val_351','2010-03-03','11' -'255','val_255','2010-03-03','11' -'104','val_104','2010-03-03','11' -'70','val_70','2010-03-03','11' -'163','val_163','2010-03-03','11' -'438','val_438','2010-03-03','11' -'119','val_119','2010-03-03','11' -'414','val_414','2010-03-03','11' -'200','val_200','2010-03-03','11' -'491','val_491','2010-03-03','11' -'237','val_237','2010-03-03','11' -'439','val_439','2010-03-03','11' -'360','val_360','2010-03-03','11' -'248','val_248','2010-03-03','11' -'479','val_479','2010-03-03','11' -'305','val_305','2010-03-03','11' -'417','val_417','2010-03-03','11' -'199','val_199','2010-03-03','11' -'444','val_444','2010-03-03','11' -'120','val_120','2010-03-03','11' -'429','val_429','2010-03-03','11' -'169','val_169','2010-03-03','11' -'443','val_443','2010-03-03','11' -'323','val_323','2010-03-03','11' -'325','val_325','2010-03-03','11' -'277','val_277','2010-03-03','11' -'230','val_230','2010-03-03','11' -'478','val_478','2010-03-03','11' -'178','val_178','2010-03-03','11' -'468','val_468','2010-03-03','11' -'310','val_310','2010-03-03','11' -'317','val_317','2010-03-03','11' -'333','val_333','2010-03-03','11' -'493','val_493','2010-03-03','11' -'460','val_460','2010-03-03','11' -'207','val_207','2010-03-03','11' -'249','val_249','2010-03-03','11' -'265','val_265','2010-03-03','11' -'480','val_480','2010-03-03','11' -'83','val_83','2010-03-03','11' -'136','val_136','2010-03-03','11' -'353','val_353','2010-03-03','11' -'172','val_172','2010-03-03','11' -'214','val_214','2010-03-03','11' -'462','val_462','2010-03-03','11' -'233','val_233','2010-03-03','11' -'406','val_406','2010-03-03','11' -'133','val_133','2010-03-03','11' -'175','val_175','2010-03-03','11' -'189','val_189','2010-03-03','11' -'454','val_454','2010-03-03','11' -'375','val_375','2010-03-03','11' -'401','val_401','2010-03-03','11' -'421','val_421','2010-03-03','11' -'407','val_407','2010-03-03','11' -'384','val_384','2010-03-03','11' -'256','val_256','2010-03-03','11' -'26','val_26','2010-03-03','11' -'134','val_134','2010-03-03','11' -'67','val_67','2010-03-03','11' -'384','val_384','2010-03-03','11' -'379','val_379','2010-03-03','11' -'18','val_18','2010-03-03','11' -'462','val_462','2010-03-03','11' -'492','val_492','2010-03-03','11' -'100','val_100','2010-03-03','11' -'298','val_298','2010-03-03','11' -'9','val_9','2010-03-03','11' -'341','val_341','2010-03-03','11' -'498','val_498','2010-03-03','11' -'146','val_146','2010-03-03','11' -'458','val_458','2010-03-03','11' -'362','val_362','2010-03-03','11' -'186','val_186','2010-03-03','11' -'285','val_285','2010-03-03','11' -'348','val_348','2010-03-03','11' -'167','val_167','2010-03-03','11' -'18','val_18','2010-03-03','11' -'273','val_273','2010-03-03','11' -'183','val_183','2010-03-03','11' -'281','val_281','2010-03-03','11' -'344','val_344','2010-03-03','11' -'97','val_97','2010-03-03','11' -'469','val_469','2010-03-03','11' -'315','val_315','2010-03-03','11' -'84','val_84','2010-03-03','11' -'28','val_28','2010-03-03','11' -'37','val_37','2010-03-03','11' -'448','val_448','2010-03-03','11' -'152','val_152','2010-03-03','11' -'348','val_348','2010-03-03','11' -'307','val_307','2010-03-03','11' -'194','val_194','2010-03-03','11' -'414','val_414','2010-03-03','11' -'477','val_477','2010-03-03','11' -'222','val_222','2010-03-03','11' -'126','val_126','2010-03-03','11' -'90','val_90','2010-03-03','11' -'169','val_169','2010-03-03','11' -'403','val_403','2010-03-03','11' -'400','val_400','2010-03-03','11' -'200','val_200','2010-03-03','11' -'97','val_97','2010-03-03','11' -'238','val_238','2010-03-03','11' -'86','val_86','2010-03-03','11' -'311','val_311','2010-03-03','11' -'27','val_27','2010-03-03','11' -'165','val_165','2010-03-03','11' -'409','val_409','2010-03-03','11' -'255','val_255','2010-03-03','11' -'278','val_278','2010-03-03','11' -'98','val_98','2010-03-03','11' -'484','val_484','2010-03-03','11' -'265','val_265','2010-03-03','11' -'193','val_193','2010-03-03','11' -'401','val_401','2010-03-03','11' -'150','val_150','2010-03-03','11' -'273','val_273','2010-03-03','11' -'224','val_224','2010-03-03','11' -'369','val_369','2010-03-03','11' -'66','val_66','2010-03-03','11' -'128','val_128','2010-03-03','11' -'213','val_213','2010-03-03','11' -'146','val_146','2010-03-03','11' -'406','val_406','2010-03-03','11' -'429','val_429','2010-03-03','11' -'374','val_374','2010-03-03','11' -'152','val_152','2010-03-03','11' -'469','val_469','2010-03-03','11' -'145','val_145','2010-03-03','11' -'495','val_495','2010-03-03','11' -'37','val_37','2010-03-03','11' -'327','val_327','2010-03-03','11' -'281','val_281','2010-03-03','11' -'277','val_277','2010-03-03','11' -'209','val_209','2010-03-03','11' -'15','val_15','2010-03-03','11' -'82','val_82','2010-03-03','11' -'403','val_403','2010-03-03','11' -'166','val_166','2010-03-03','11' -'417','val_417','2010-03-03','11' -'430','val_430','2010-03-03','11' -'252','val_252','2010-03-03','11' -'292','val_292','2010-03-03','11' -'219','val_219','2010-03-03','11' -'287','val_287','2010-03-03','11' -'153','val_153','2010-03-03','11' -'193','val_193','2010-03-03','11' -'338','val_338','2010-03-03','11' -'446','val_446','2010-03-03','11' -'459','val_459','2010-03-03','11' -'394','val_394','2010-03-03','11' -'237','val_237','2010-03-03','11' -'482','val_482','2010-03-03','11' -'174','val_174','2010-03-03','11' -'413','val_413','2010-03-03','11' -'494','val_494','2010-03-03','11' -'207','val_207','2010-03-03','11' -'199','val_199','2010-03-03','11' -'466','val_466','2010-03-03','11' -'208','val_208','2010-03-03','11' -'174','val_174','2010-03-03','11' -'399','val_399','2010-03-03','11' -'396','val_396','2010-03-03','11' -'247','val_247','2010-03-03','11' -'417','val_417','2010-03-03','11' -'489','val_489','2010-03-03','11' -'162','val_162','2010-03-03','11' -'377','val_377','2010-03-03','11' -'397','val_397','2010-03-03','11' -'309','val_309','2010-03-03','11' -'365','val_365','2010-03-03','11' -'266','val_266','2010-03-03','11' -'439','val_439','2010-03-03','11' -'342','val_342','2010-03-03','11' -'367','val_367','2010-03-03','11' -'325','val_325','2010-03-03','11' -'167','val_167','2010-03-03','11' -'195','val_195','2010-03-03','11' -'475','val_475','2010-03-03','11' -'17','val_17','2010-03-03','11' -'113','val_113','2010-03-03','11' -'155','val_155','2010-03-03','11' -'203','val_203','2010-03-03','11' -'339','val_339','2010-03-03','11' -'0','val_0','2010-03-03','11' -'455','val_455','2010-03-03','11' -'128','val_128','2010-03-03','11' -'311','val_311','2010-03-03','11' -'316','val_316','2010-03-03','11' -'57','val_57','2010-03-03','11' -'302','val_302','2010-03-03','11' -'205','val_205','2010-03-03','11' -'149','val_149','2010-03-03','11' -'438','val_438','2010-03-03','11' -'345','val_345','2010-03-03','11' -'129','val_129','2010-03-03','11' -'170','val_170','2010-03-03','11' -'20','val_20','2010-03-03','11' -'489','val_489','2010-03-03','11' -'157','val_157','2010-03-03','11' -'378','val_378','2010-03-03','11' -'221','val_221','2010-03-03','11' -'92','val_92','2010-03-03','11' -'111','val_111','2010-03-03','11' -'47','val_47','2010-03-03','11' -'72','val_72','2010-03-03','11' -'4','val_4','2010-03-03','11' -'280','val_280','2010-03-03','11' -'35','val_35','2010-03-03','11' -'427','val_427','2010-03-03','11' -'277','val_277','2010-03-03','11' -'208','val_208','2010-03-03','11' -'356','val_356','2010-03-03','11' -'399','val_399','2010-03-03','11' -'169','val_169','2010-03-03','11' -'382','val_382','2010-03-03','11' -'498','val_498','2010-03-03','11' -'125','val_125','2010-03-03','11' -'386','val_386','2010-03-03','11' -'437','val_437','2010-03-03','11' -'469','val_469','2010-03-03','11' -'192','val_192','2010-03-03','11' -'286','val_286','2010-03-03','11' -'187','val_187','2010-03-03','11' -'176','val_176','2010-03-03','11' -'54','val_54','2010-03-03','11' -'459','val_459','2010-03-03','11' -'51','val_51','2010-03-03','11' -'138','val_138','2010-03-03','11' -'103','val_103','2010-03-03','11' -'239','val_239','2010-03-03','11' -'213','val_213','2010-03-03','11' -'216','val_216','2010-03-03','11' -'430','val_430','2010-03-03','11' -'278','val_278','2010-03-03','11' -'176','val_176','2010-03-03','11' -'289','val_289','2010-03-03','11' -'221','val_221','2010-03-03','11' -'65','val_65','2010-03-03','11' -'318','val_318','2010-03-03','11' -'332','val_332','2010-03-03','11' -'311','val_311','2010-03-03','11' -'275','val_275','2010-03-03','11' -'137','val_137','2010-03-03','11' -'241','val_241','2010-03-03','11' -'83','val_83','2010-03-03','11' -'333','val_333','2010-03-03','11' -'180','val_180','2010-03-03','11' -'284','val_284','2010-03-03','11' -'12','val_12','2010-03-03','11' -'230','val_230','2010-03-03','11' -'181','val_181','2010-03-03','11' -'67','val_67','2010-03-03','11' -'260','val_260','2010-03-03','11' -'404','val_404','2010-03-03','11' -'384','val_384','2010-03-03','11' -'489','val_489','2010-03-03','11' -'353','val_353','2010-03-03','11' -'373','val_373','2010-03-03','11' -'272','val_272','2010-03-03','11' -'138','val_138','2010-03-03','11' -'217','val_217','2010-03-03','11' -'84','val_84','2010-03-03','11' -'348','val_348','2010-03-03','11' -'466','val_466','2010-03-03','11' -'58','val_58','2010-03-03','11' -'8','val_8','2010-03-03','11' -'411','val_411','2010-03-03','11' -'230','val_230','2010-03-03','11' -'208','val_208','2010-03-03','11' -'348','val_348','2010-03-03','11' -'24','val_24','2010-03-03','11' -'463','val_463','2010-03-03','11' -'431','val_431','2010-03-03','11' -'179','val_179','2010-03-03','11' -'172','val_172','2010-03-03','11' -'42','val_42','2010-03-03','11' -'129','val_129','2010-03-03','11' -'158','val_158','2010-03-03','11' -'119','val_119','2010-03-03','11' -'496','val_496','2010-03-03','11' -'0','val_0','2010-03-03','11' -'322','val_322','2010-03-03','11' -'197','val_197','2010-03-03','11' -'468','val_468','2010-03-03','11' -'393','val_393','2010-03-03','11' -'454','val_454','2010-03-03','11' -'100','val_100','2010-03-03','11' -'298','val_298','2010-03-03','11' -'199','val_199','2010-03-03','11' -'191','val_191','2010-03-03','11' -'418','val_418','2010-03-03','11' -'96','val_96','2010-03-03','11' -'26','val_26','2010-03-03','11' -'165','val_165','2010-03-03','11' -'327','val_327','2010-03-03','11' -'230','val_230','2010-03-03','11' -'205','val_205','2010-03-03','11' -'120','val_120','2010-03-03','11' -'131','val_131','2010-03-03','11' -'51','val_51','2010-03-03','11' -'404','val_404','2010-03-03','11' -'43','val_43','2010-03-03','11' -'436','val_436','2010-03-03','11' -'156','val_156','2010-03-03','11' -'469','val_469','2010-03-03','11' -'468','val_468','2010-03-03','11' -'308','val_308','2010-03-03','11' -'95','val_95','2010-03-03','11' -'196','val_196','2010-03-03','11' -'288','val_288','2010-03-03','11' -'481','val_481','2010-03-03','11' -'457','val_457','2010-03-03','11' -'98','val_98','2010-03-03','11' -'282','val_282','2010-03-03','11' -'197','val_197','2010-03-03','11' -'187','val_187','2010-03-03','11' -'318','val_318','2010-03-03','11' -'318','val_318','2010-03-03','11' -'409','val_409','2010-03-03','11' -'470','val_470','2010-03-03','11' -'137','val_137','2010-03-03','11' -'369','val_369','2010-03-03','11' -'316','val_316','2010-03-03','11' -'169','val_169','2010-03-03','11' -'413','val_413','2010-03-03','11' -'85','val_85','2010-03-03','11' -'77','val_77','2010-03-03','11' -'0','val_0','2010-03-03','11' -'490','val_490','2010-03-03','11' -'87','val_87','2010-03-03','11' -'364','val_364','2010-03-03','11' -'179','val_179','2010-03-03','11' -'118','val_118','2010-03-03','11' -'134','val_134','2010-03-03','11' -'395','val_395','2010-03-03','11' -'282','val_282','2010-03-03','11' -'138','val_138','2010-03-03','11' -'238','val_238','2010-03-03','11' -'419','val_419','2010-03-03','11' -'15','val_15','2010-03-03','11' -'118','val_118','2010-03-03','11' -'72','val_72','2010-03-03','11' -'90','val_90','2010-03-03','11' -'307','val_307','2010-03-03','11' -'19','val_19','2010-03-03','11' -'435','val_435','2010-03-03','11' -'10','val_10','2010-03-03','11' -'277','val_277','2010-03-03','11' -'273','val_273','2010-03-03','11' -'306','val_306','2010-03-03','11' -'224','val_224','2010-03-03','11' -'309','val_309','2010-03-03','11' -'389','val_389','2010-03-03','11' -'327','val_327','2010-03-03','11' -'242','val_242','2010-03-03','11' -'369','val_369','2010-03-03','11' -'392','val_392','2010-03-03','11' -'272','val_272','2010-03-03','11' -'331','val_331','2010-03-03','11' -'401','val_401','2010-03-03','11' -'242','val_242','2010-03-03','11' -'452','val_452','2010-03-03','11' -'177','val_177','2010-03-03','11' -'226','val_226','2010-03-03','11' -'5','val_5','2010-03-03','11' -'497','val_497','2010-03-03','11' -'402','val_402','2010-03-03','11' -'396','val_396','2010-03-03','11' -'317','val_317','2010-03-03','11' -'395','val_395','2010-03-03','11' -'58','val_58','2010-03-03','11' -'35','val_35','2010-03-03','11' -'336','val_336','2010-03-03','11' -'95','val_95','2010-03-03','11' -'11','val_11','2010-03-03','11' -'168','val_168','2010-03-03','11' -'34','val_34','2010-03-03','11' -'229','val_229','2010-03-03','11' -'233','val_233','2010-03-03','11' -'143','val_143','2010-03-03','11' -'472','val_472','2010-03-03','11' -'322','val_322','2010-03-03','11' -'498','val_498','2010-03-03','11' -'160','val_160','2010-03-03','11' -'195','val_195','2010-03-03','11' -'42','val_42','2010-03-03','11' -'321','val_321','2010-03-03','11' -'430','val_430','2010-03-03','11' -'119','val_119','2010-03-03','11' -'489','val_489','2010-03-03','11' -'458','val_458','2010-03-03','11' -'78','val_78','2010-03-03','11' -'76','val_76','2010-03-03','11' -'41','val_41','2010-03-03','11' -'223','val_223','2010-03-03','11' -'492','val_492','2010-03-03','11' -'149','val_149','2010-03-03','11' -'449','val_449','2010-03-03','11' -'218','val_218','2010-03-03','11' -'228','val_228','2010-03-03','11' -'138','val_138','2010-03-03','11' -'453','val_453','2010-03-03','11' -'30','val_30','2010-03-03','11' -'209','val_209','2010-03-03','11' -'64','val_64','2010-03-03','11' -'468','val_468','2010-03-03','11' -'76','val_76','2010-03-03','11' -'74','val_74','2010-03-03','11' -'342','val_342','2010-03-03','11' -'69','val_69','2010-03-03','11' -'230','val_230','2010-03-03','11' -'33','val_33','2010-03-03','11' -'368','val_368','2010-03-03','11' -'103','val_103','2010-03-03','11' -'296','val_296','2010-03-03','11' -'113','val_113','2010-03-03','11' -'216','val_216','2010-03-03','11' -'367','val_367','2010-03-03','11' -'344','val_344','2010-03-03','11' -'167','val_167','2010-03-03','11' -'274','val_274','2010-03-03','11' -'219','val_219','2010-03-03','11' -'239','val_239','2010-03-03','11' -'485','val_485','2010-03-03','11' -'116','val_116','2010-03-03','11' -'223','val_223','2010-03-03','11' -'256','val_256','2010-03-03','11' -'263','val_263','2010-03-03','11' -'70','val_70','2010-03-03','11' -'487','val_487','2010-03-03','11' -'480','val_480','2010-03-03','11' -'401','val_401','2010-03-03','11' -'288','val_288','2010-03-03','11' -'191','val_191','2010-03-03','11' -'5','val_5','2010-03-03','11' -'244','val_244','2010-03-03','11' -'438','val_438','2010-03-03','11' -'128','val_128','2010-03-03','11' -'467','val_467','2010-03-03','11' -'432','val_432','2010-03-03','11' -'202','val_202','2010-03-03','11' -'316','val_316','2010-03-03','11' -'229','val_229','2010-03-03','11' -'469','val_469','2010-03-03','11' -'463','val_463','2010-03-03','11' -'280','val_280','2010-03-03','11' -'2','val_2','2010-03-03','11' -'35','val_35','2010-03-03','11' -'283','val_283','2010-03-03','11' -'331','val_331','2010-03-03','11' -'235','val_235','2010-03-03','11' -'80','val_80','2010-03-03','11' -'44','val_44','2010-03-03','11' -'193','val_193','2010-03-03','11' -'321','val_321','2010-03-03','11' -'335','val_335','2010-03-03','11' -'104','val_104','2010-03-03','11' -'466','val_466','2010-03-03','11' -'366','val_366','2010-03-03','11' -'175','val_175','2010-03-03','11' -'403','val_403','2010-03-03','11' -'483','val_483','2010-03-03','11' -'53','val_53','2010-03-03','11' -'105','val_105','2010-03-03','11' -'257','val_257','2010-03-03','11' -'406','val_406','2010-03-03','11' -'409','val_409','2010-03-03','11' -'190','val_190','2010-03-03','11' -'406','val_406','2010-03-03','11' -'401','val_401','2010-03-03','11' -'114','val_114','2010-03-03','11' -'258','val_258','2010-03-03','11' -'90','val_90','2010-03-03','11' -'203','val_203','2010-03-03','11' -'262','val_262','2010-03-03','11' -'348','val_348','2010-03-03','11' -'424','val_424','2010-03-03','11' -'12','val_12','2010-03-03','11' -'396','val_396','2010-03-03','11' -'201','val_201','2010-03-03','11' -'217','val_217','2010-03-03','11' -'164','val_164','2010-03-03','11' -'431','val_431','2010-03-03','11' -'454','val_454','2010-03-03','11' -'478','val_478','2010-03-03','11' -'298','val_298','2010-03-03','11' -'125','val_125','2010-03-03','11' -'431','val_431','2010-03-03','11' -'164','val_164','2010-03-03','11' -'424','val_424','2010-03-03','11' -'187','val_187','2010-03-03','11' -'382','val_382','2010-03-03','11' -'5','val_5','2010-03-03','11' -'70','val_70','2010-03-03','11' -'397','val_397','2010-03-03','11' -'480','val_480','2010-03-03','11' -'291','val_291','2010-03-03','11' -'24','val_24','2010-03-03','11' -'351','val_351','2010-03-03','11' -'255','val_255','2010-03-03','11' -'104','val_104','2010-03-03','11' -'70','val_70','2010-03-03','11' -'163','val_163','2010-03-03','11' -'438','val_438','2010-03-03','11' -'119','val_119','2010-03-03','11' -'414','val_414','2010-03-03','11' -'200','val_200','2010-03-03','11' -'491','val_491','2010-03-03','11' -'237','val_237','2010-03-03','11' -'439','val_439','2010-03-03','11' -'360','val_360','2010-03-03','11' -'248','val_248','2010-03-03','11' -'479','val_479','2010-03-03','11' -'305','val_305','2010-03-03','11' -'417','val_417','2010-03-03','11' -'199','val_199','2010-03-03','11' -'444','val_444','2010-03-03','11' -'120','val_120','2010-03-03','11' -'429','val_429','2010-03-03','11' -'169','val_169','2010-03-03','11' -'443','val_443','2010-03-03','11' -'323','val_323','2010-03-03','11' -'325','val_325','2010-03-03','11' -'277','val_277','2010-03-03','11' -'230','val_230','2010-03-03','11' -'478','val_478','2010-03-03','11' -'178','val_178','2010-03-03','11' -'468','val_468','2010-03-03','11' -'310','val_310','2010-03-03','11' -'317','val_317','2010-03-03','11' -'333','val_333','2010-03-03','11' -'493','val_493','2010-03-03','11' -'460','val_460','2010-03-03','11' -'207','val_207','2010-03-03','11' -'249','val_249','2010-03-03','11' -'265','val_265','2010-03-03','11' -'480','val_480','2010-03-03','11' -'83','val_83','2010-03-03','11' -'136','val_136','2010-03-03','11' -'353','val_353','2010-03-03','11' -'172','val_172','2010-03-03','11' -'214','val_214','2010-03-03','11' -'462','val_462','2010-03-03','11' -'233','val_233','2010-03-03','11' -'406','val_406','2010-03-03','11' -'133','val_133','2010-03-03','11' -'175','val_175','2010-03-03','11' -'189','val_189','2010-03-03','11' -'454','val_454','2010-03-03','11' -'375','val_375','2010-03-03','11' -'401','val_401','2010-03-03','11' -'421','val_421','2010-03-03','11' -'407','val_407','2010-03-03','11' -'384','val_384','2010-03-03','11' -'256','val_256','2010-03-03','11' -'26','val_26','2010-03-03','11' -'134','val_134','2010-03-03','11' -'67','val_67','2010-03-03','11' -'384','val_384','2010-03-03','11' -'379','val_379','2010-03-03','11' -'18','val_18','2010-03-03','11' -'462','val_462','2010-03-03','11' -'492','val_492','2010-03-03','11' -'100','val_100','2010-03-03','11' -'298','val_298','2010-03-03','11' -'9','val_9','2010-03-03','11' -'341','val_341','2010-03-03','11' -'498','val_498','2010-03-03','11' -'146','val_146','2010-03-03','11' -'458','val_458','2010-03-03','11' -'362','val_362','2010-03-03','11' -'186','val_186','2010-03-03','11' -'285','val_285','2010-03-03','11' -'348','val_348','2010-03-03','11' -'167','val_167','2010-03-03','11' -'18','val_18','2010-03-03','11' -'273','val_273','2010-03-03','11' -'183','val_183','2010-03-03','11' -'281','val_281','2010-03-03','11' -'344','val_344','2010-03-03','11' -'97','val_97','2010-03-03','11' -'469','val_469','2010-03-03','11' -'315','val_315','2010-03-03','11' -'84','val_84','2010-03-03','11' -'28','val_28','2010-03-03','11' -'37','val_37','2010-03-03','11' -'448','val_448','2010-03-03','11' -'152','val_152','2010-03-03','11' -'348','val_348','2010-03-03','11' -'307','val_307','2010-03-03','11' -'194','val_194','2010-03-03','11' -'414','val_414','2010-03-03','11' -'477','val_477','2010-03-03','11' -'222','val_222','2010-03-03','11' -'126','val_126','2010-03-03','11' -'90','val_90','2010-03-03','11' -'169','val_169','2010-03-03','11' -'403','val_403','2010-03-03','11' -'400','val_400','2010-03-03','11' -'200','val_200','2010-03-03','11' -'97','val_97','2010-03-03','11' -1,000 rows selected ->>> select * from nzhang_part6 where ds = '2010-03-03' and hr = '12'; -'key','value','ds','hr' -'238','val_238','2010-03-03','12' -'86','val_86','2010-03-03','12' -'311','val_311','2010-03-03','12' -'27','val_27','2010-03-03','12' -'165','val_165','2010-03-03','12' -'409','val_409','2010-03-03','12' -'255','val_255','2010-03-03','12' -'278','val_278','2010-03-03','12' -'98','val_98','2010-03-03','12' -'484','val_484','2010-03-03','12' -'265','val_265','2010-03-03','12' -'193','val_193','2010-03-03','12' -'401','val_401','2010-03-03','12' -'150','val_150','2010-03-03','12' -'273','val_273','2010-03-03','12' -'224','val_224','2010-03-03','12' -'369','val_369','2010-03-03','12' -'66','val_66','2010-03-03','12' -'128','val_128','2010-03-03','12' -'213','val_213','2010-03-03','12' -'146','val_146','2010-03-03','12' -'406','val_406','2010-03-03','12' -'429','val_429','2010-03-03','12' -'374','val_374','2010-03-03','12' -'152','val_152','2010-03-03','12' -'469','val_469','2010-03-03','12' -'145','val_145','2010-03-03','12' -'495','val_495','2010-03-03','12' -'37','val_37','2010-03-03','12' -'327','val_327','2010-03-03','12' -'281','val_281','2010-03-03','12' -'277','val_277','2010-03-03','12' -'209','val_209','2010-03-03','12' -'15','val_15','2010-03-03','12' -'82','val_82','2010-03-03','12' -'403','val_403','2010-03-03','12' -'166','val_166','2010-03-03','12' -'417','val_417','2010-03-03','12' -'430','val_430','2010-03-03','12' -'252','val_252','2010-03-03','12' -'292','val_292','2010-03-03','12' -'219','val_219','2010-03-03','12' -'287','val_287','2010-03-03','12' -'153','val_153','2010-03-03','12' -'193','val_193','2010-03-03','12' -'338','val_338','2010-03-03','12' -'446','val_446','2010-03-03','12' -'459','val_459','2010-03-03','12' -'394','val_394','2010-03-03','12' -'237','val_237','2010-03-03','12' -'482','val_482','2010-03-03','12' -'174','val_174','2010-03-03','12' -'413','val_413','2010-03-03','12' -'494','val_494','2010-03-03','12' -'207','val_207','2010-03-03','12' -'199','val_199','2010-03-03','12' -'466','val_466','2010-03-03','12' -'208','val_208','2010-03-03','12' -'174','val_174','2010-03-03','12' -'399','val_399','2010-03-03','12' -'396','val_396','2010-03-03','12' -'247','val_247','2010-03-03','12' -'417','val_417','2010-03-03','12' -'489','val_489','2010-03-03','12' -'162','val_162','2010-03-03','12' -'377','val_377','2010-03-03','12' -'397','val_397','2010-03-03','12' -'309','val_309','2010-03-03','12' -'365','val_365','2010-03-03','12' -'266','val_266','2010-03-03','12' -'439','val_439','2010-03-03','12' -'342','val_342','2010-03-03','12' -'367','val_367','2010-03-03','12' -'325','val_325','2010-03-03','12' -'167','val_167','2010-03-03','12' -'195','val_195','2010-03-03','12' -'475','val_475','2010-03-03','12' -'17','val_17','2010-03-03','12' -'113','val_113','2010-03-03','12' -'155','val_155','2010-03-03','12' -'203','val_203','2010-03-03','12' -'339','val_339','2010-03-03','12' -'0','val_0','2010-03-03','12' -'455','val_455','2010-03-03','12' -'128','val_128','2010-03-03','12' -'311','val_311','2010-03-03','12' -'316','val_316','2010-03-03','12' -'57','val_57','2010-03-03','12' -'302','val_302','2010-03-03','12' -'205','val_205','2010-03-03','12' -'149','val_149','2010-03-03','12' -'438','val_438','2010-03-03','12' -'345','val_345','2010-03-03','12' -'129','val_129','2010-03-03','12' -'170','val_170','2010-03-03','12' -'20','val_20','2010-03-03','12' -'489','val_489','2010-03-03','12' -'157','val_157','2010-03-03','12' -'378','val_378','2010-03-03','12' -'221','val_221','2010-03-03','12' -'92','val_92','2010-03-03','12' -'111','val_111','2010-03-03','12' -'47','val_47','2010-03-03','12' -'72','val_72','2010-03-03','12' -'4','val_4','2010-03-03','12' -'280','val_280','2010-03-03','12' -'35','val_35','2010-03-03','12' -'427','val_427','2010-03-03','12' -'277','val_277','2010-03-03','12' -'208','val_208','2010-03-03','12' -'356','val_356','2010-03-03','12' -'399','val_399','2010-03-03','12' -'169','val_169','2010-03-03','12' -'382','val_382','2010-03-03','12' -'498','val_498','2010-03-03','12' -'125','val_125','2010-03-03','12' -'386','val_386','2010-03-03','12' -'437','val_437','2010-03-03','12' -'469','val_469','2010-03-03','12' -'192','val_192','2010-03-03','12' -'286','val_286','2010-03-03','12' -'187','val_187','2010-03-03','12' -'176','val_176','2010-03-03','12' -'54','val_54','2010-03-03','12' -'459','val_459','2010-03-03','12' -'51','val_51','2010-03-03','12' -'138','val_138','2010-03-03','12' -'103','val_103','2010-03-03','12' -'239','val_239','2010-03-03','12' -'213','val_213','2010-03-03','12' -'216','val_216','2010-03-03','12' -'430','val_430','2010-03-03','12' -'278','val_278','2010-03-03','12' -'176','val_176','2010-03-03','12' -'289','val_289','2010-03-03','12' -'221','val_221','2010-03-03','12' -'65','val_65','2010-03-03','12' -'318','val_318','2010-03-03','12' -'332','val_332','2010-03-03','12' -'311','val_311','2010-03-03','12' -'275','val_275','2010-03-03','12' -'137','val_137','2010-03-03','12' -'241','val_241','2010-03-03','12' -'83','val_83','2010-03-03','12' -'333','val_333','2010-03-03','12' -'180','val_180','2010-03-03','12' -'284','val_284','2010-03-03','12' -'12','val_12','2010-03-03','12' -'230','val_230','2010-03-03','12' -'181','val_181','2010-03-03','12' -'67','val_67','2010-03-03','12' -'260','val_260','2010-03-03','12' -'404','val_404','2010-03-03','12' -'384','val_384','2010-03-03','12' -'489','val_489','2010-03-03','12' -'353','val_353','2010-03-03','12' -'373','val_373','2010-03-03','12' -'272','val_272','2010-03-03','12' -'138','val_138','2010-03-03','12' -'217','val_217','2010-03-03','12' -'84','val_84','2010-03-03','12' -'348','val_348','2010-03-03','12' -'466','val_466','2010-03-03','12' -'58','val_58','2010-03-03','12' -'8','val_8','2010-03-03','12' -'411','val_411','2010-03-03','12' -'230','val_230','2010-03-03','12' -'208','val_208','2010-03-03','12' -'348','val_348','2010-03-03','12' -'24','val_24','2010-03-03','12' -'463','val_463','2010-03-03','12' -'431','val_431','2010-03-03','12' -'179','val_179','2010-03-03','12' -'172','val_172','2010-03-03','12' -'42','val_42','2010-03-03','12' -'129','val_129','2010-03-03','12' -'158','val_158','2010-03-03','12' -'119','val_119','2010-03-03','12' -'496','val_496','2010-03-03','12' -'0','val_0','2010-03-03','12' -'322','val_322','2010-03-03','12' -'197','val_197','2010-03-03','12' -'468','val_468','2010-03-03','12' -'393','val_393','2010-03-03','12' -'454','val_454','2010-03-03','12' -'100','val_100','2010-03-03','12' -'298','val_298','2010-03-03','12' -'199','val_199','2010-03-03','12' -'191','val_191','2010-03-03','12' -'418','val_418','2010-03-03','12' -'96','val_96','2010-03-03','12' -'26','val_26','2010-03-03','12' -'165','val_165','2010-03-03','12' -'327','val_327','2010-03-03','12' -'230','val_230','2010-03-03','12' -'205','val_205','2010-03-03','12' -'120','val_120','2010-03-03','12' -'131','val_131','2010-03-03','12' -'51','val_51','2010-03-03','12' -'404','val_404','2010-03-03','12' -'43','val_43','2010-03-03','12' -'436','val_436','2010-03-03','12' -'156','val_156','2010-03-03','12' -'469','val_469','2010-03-03','12' -'468','val_468','2010-03-03','12' -'308','val_308','2010-03-03','12' -'95','val_95','2010-03-03','12' -'196','val_196','2010-03-03','12' -'288','val_288','2010-03-03','12' -'481','val_481','2010-03-03','12' -'457','val_457','2010-03-03','12' -'98','val_98','2010-03-03','12' -'282','val_282','2010-03-03','12' -'197','val_197','2010-03-03','12' -'187','val_187','2010-03-03','12' -'318','val_318','2010-03-03','12' -'318','val_318','2010-03-03','12' -'409','val_409','2010-03-03','12' -'470','val_470','2010-03-03','12' -'137','val_137','2010-03-03','12' -'369','val_369','2010-03-03','12' -'316','val_316','2010-03-03','12' -'169','val_169','2010-03-03','12' -'413','val_413','2010-03-03','12' -'85','val_85','2010-03-03','12' -'77','val_77','2010-03-03','12' -'0','val_0','2010-03-03','12' -'490','val_490','2010-03-03','12' -'87','val_87','2010-03-03','12' -'364','val_364','2010-03-03','12' -'179','val_179','2010-03-03','12' -'118','val_118','2010-03-03','12' -'134','val_134','2010-03-03','12' -'395','val_395','2010-03-03','12' -'282','val_282','2010-03-03','12' -'138','val_138','2010-03-03','12' -'238','val_238','2010-03-03','12' -'419','val_419','2010-03-03','12' -'15','val_15','2010-03-03','12' -'118','val_118','2010-03-03','12' -'72','val_72','2010-03-03','12' -'90','val_90','2010-03-03','12' -'307','val_307','2010-03-03','12' -'19','val_19','2010-03-03','12' -'435','val_435','2010-03-03','12' -'10','val_10','2010-03-03','12' -'277','val_277','2010-03-03','12' -'273','val_273','2010-03-03','12' -'306','val_306','2010-03-03','12' -'224','val_224','2010-03-03','12' -'309','val_309','2010-03-03','12' -'389','val_389','2010-03-03','12' -'327','val_327','2010-03-03','12' -'242','val_242','2010-03-03','12' -'369','val_369','2010-03-03','12' -'392','val_392','2010-03-03','12' -'272','val_272','2010-03-03','12' -'331','val_331','2010-03-03','12' -'401','val_401','2010-03-03','12' -'242','val_242','2010-03-03','12' -'452','val_452','2010-03-03','12' -'177','val_177','2010-03-03','12' -'226','val_226','2010-03-03','12' -'5','val_5','2010-03-03','12' -'497','val_497','2010-03-03','12' -'402','val_402','2010-03-03','12' -'396','val_396','2010-03-03','12' -'317','val_317','2010-03-03','12' -'395','val_395','2010-03-03','12' -'58','val_58','2010-03-03','12' -'35','val_35','2010-03-03','12' -'336','val_336','2010-03-03','12' -'95','val_95','2010-03-03','12' -'11','val_11','2010-03-03','12' -'168','val_168','2010-03-03','12' -'34','val_34','2010-03-03','12' -'229','val_229','2010-03-03','12' -'233','val_233','2010-03-03','12' -'143','val_143','2010-03-03','12' -'472','val_472','2010-03-03','12' -'322','val_322','2010-03-03','12' -'498','val_498','2010-03-03','12' -'160','val_160','2010-03-03','12' -'195','val_195','2010-03-03','12' -'42','val_42','2010-03-03','12' -'321','val_321','2010-03-03','12' -'430','val_430','2010-03-03','12' -'119','val_119','2010-03-03','12' -'489','val_489','2010-03-03','12' -'458','val_458','2010-03-03','12' -'78','val_78','2010-03-03','12' -'76','val_76','2010-03-03','12' -'41','val_41','2010-03-03','12' -'223','val_223','2010-03-03','12' -'492','val_492','2010-03-03','12' -'149','val_149','2010-03-03','12' -'449','val_449','2010-03-03','12' -'218','val_218','2010-03-03','12' -'228','val_228','2010-03-03','12' -'138','val_138','2010-03-03','12' -'453','val_453','2010-03-03','12' -'30','val_30','2010-03-03','12' -'209','val_209','2010-03-03','12' -'64','val_64','2010-03-03','12' -'468','val_468','2010-03-03','12' -'76','val_76','2010-03-03','12' -'74','val_74','2010-03-03','12' -'342','val_342','2010-03-03','12' -'69','val_69','2010-03-03','12' -'230','val_230','2010-03-03','12' -'33','val_33','2010-03-03','12' -'368','val_368','2010-03-03','12' -'103','val_103','2010-03-03','12' -'296','val_296','2010-03-03','12' -'113','val_113','2010-03-03','12' -'216','val_216','2010-03-03','12' -'367','val_367','2010-03-03','12' -'344','val_344','2010-03-03','12' -'167','val_167','2010-03-03','12' -'274','val_274','2010-03-03','12' -'219','val_219','2010-03-03','12' -'239','val_239','2010-03-03','12' -'485','val_485','2010-03-03','12' -'116','val_116','2010-03-03','12' -'223','val_223','2010-03-03','12' -'256','val_256','2010-03-03','12' -'263','val_263','2010-03-03','12' -'70','val_70','2010-03-03','12' -'487','val_487','2010-03-03','12' -'480','val_480','2010-03-03','12' -'401','val_401','2010-03-03','12' -'288','val_288','2010-03-03','12' -'191','val_191','2010-03-03','12' -'5','val_5','2010-03-03','12' -'244','val_244','2010-03-03','12' -'438','val_438','2010-03-03','12' -'128','val_128','2010-03-03','12' -'467','val_467','2010-03-03','12' -'432','val_432','2010-03-03','12' -'202','val_202','2010-03-03','12' -'316','val_316','2010-03-03','12' -'229','val_229','2010-03-03','12' -'469','val_469','2010-03-03','12' -'463','val_463','2010-03-03','12' -'280','val_280','2010-03-03','12' -'2','val_2','2010-03-03','12' -'35','val_35','2010-03-03','12' -'283','val_283','2010-03-03','12' -'331','val_331','2010-03-03','12' -'235','val_235','2010-03-03','12' -'80','val_80','2010-03-03','12' -'44','val_44','2010-03-03','12' -'193','val_193','2010-03-03','12' -'321','val_321','2010-03-03','12' -'335','val_335','2010-03-03','12' -'104','val_104','2010-03-03','12' -'466','val_466','2010-03-03','12' -'366','val_366','2010-03-03','12' -'175','val_175','2010-03-03','12' -'403','val_403','2010-03-03','12' -'483','val_483','2010-03-03','12' -'53','val_53','2010-03-03','12' -'105','val_105','2010-03-03','12' -'257','val_257','2010-03-03','12' -'406','val_406','2010-03-03','12' -'409','val_409','2010-03-03','12' -'190','val_190','2010-03-03','12' -'406','val_406','2010-03-03','12' -'401','val_401','2010-03-03','12' -'114','val_114','2010-03-03','12' -'258','val_258','2010-03-03','12' -'90','val_90','2010-03-03','12' -'203','val_203','2010-03-03','12' -'262','val_262','2010-03-03','12' -'348','val_348','2010-03-03','12' -'424','val_424','2010-03-03','12' -'12','val_12','2010-03-03','12' -'396','val_396','2010-03-03','12' -'201','val_201','2010-03-03','12' -'217','val_217','2010-03-03','12' -'164','val_164','2010-03-03','12' -'431','val_431','2010-03-03','12' -'454','val_454','2010-03-03','12' -'478','val_478','2010-03-03','12' -'298','val_298','2010-03-03','12' -'125','val_125','2010-03-03','12' -'431','val_431','2010-03-03','12' -'164','val_164','2010-03-03','12' -'424','val_424','2010-03-03','12' -'187','val_187','2010-03-03','12' -'382','val_382','2010-03-03','12' -'5','val_5','2010-03-03','12' -'70','val_70','2010-03-03','12' -'397','val_397','2010-03-03','12' -'480','val_480','2010-03-03','12' -'291','val_291','2010-03-03','12' -'24','val_24','2010-03-03','12' -'351','val_351','2010-03-03','12' -'255','val_255','2010-03-03','12' -'104','val_104','2010-03-03','12' -'70','val_70','2010-03-03','12' -'163','val_163','2010-03-03','12' -'438','val_438','2010-03-03','12' -'119','val_119','2010-03-03','12' -'414','val_414','2010-03-03','12' -'200','val_200','2010-03-03','12' -'491','val_491','2010-03-03','12' -'237','val_237','2010-03-03','12' -'439','val_439','2010-03-03','12' -'360','val_360','2010-03-03','12' -'248','val_248','2010-03-03','12' -'479','val_479','2010-03-03','12' -'305','val_305','2010-03-03','12' -'417','val_417','2010-03-03','12' -'199','val_199','2010-03-03','12' -'444','val_444','2010-03-03','12' -'120','val_120','2010-03-03','12' -'429','val_429','2010-03-03','12' -'169','val_169','2010-03-03','12' -'443','val_443','2010-03-03','12' -'323','val_323','2010-03-03','12' -'325','val_325','2010-03-03','12' -'277','val_277','2010-03-03','12' -'230','val_230','2010-03-03','12' -'478','val_478','2010-03-03','12' -'178','val_178','2010-03-03','12' -'468','val_468','2010-03-03','12' -'310','val_310','2010-03-03','12' -'317','val_317','2010-03-03','12' -'333','val_333','2010-03-03','12' -'493','val_493','2010-03-03','12' -'460','val_460','2010-03-03','12' -'207','val_207','2010-03-03','12' -'249','val_249','2010-03-03','12' -'265','val_265','2010-03-03','12' -'480','val_480','2010-03-03','12' -'83','val_83','2010-03-03','12' -'136','val_136','2010-03-03','12' -'353','val_353','2010-03-03','12' -'172','val_172','2010-03-03','12' -'214','val_214','2010-03-03','12' -'462','val_462','2010-03-03','12' -'233','val_233','2010-03-03','12' -'406','val_406','2010-03-03','12' -'133','val_133','2010-03-03','12' -'175','val_175','2010-03-03','12' -'189','val_189','2010-03-03','12' -'454','val_454','2010-03-03','12' -'375','val_375','2010-03-03','12' -'401','val_401','2010-03-03','12' -'421','val_421','2010-03-03','12' -'407','val_407','2010-03-03','12' -'384','val_384','2010-03-03','12' -'256','val_256','2010-03-03','12' -'26','val_26','2010-03-03','12' -'134','val_134','2010-03-03','12' -'67','val_67','2010-03-03','12' -'384','val_384','2010-03-03','12' -'379','val_379','2010-03-03','12' -'18','val_18','2010-03-03','12' -'462','val_462','2010-03-03','12' -'492','val_492','2010-03-03','12' -'100','val_100','2010-03-03','12' -'298','val_298','2010-03-03','12' -'9','val_9','2010-03-03','12' -'341','val_341','2010-03-03','12' -'498','val_498','2010-03-03','12' -'146','val_146','2010-03-03','12' -'458','val_458','2010-03-03','12' -'362','val_362','2010-03-03','12' -'186','val_186','2010-03-03','12' -'285','val_285','2010-03-03','12' -'348','val_348','2010-03-03','12' -'167','val_167','2010-03-03','12' -'18','val_18','2010-03-03','12' -'273','val_273','2010-03-03','12' -'183','val_183','2010-03-03','12' -'281','val_281','2010-03-03','12' -'344','val_344','2010-03-03','12' -'97','val_97','2010-03-03','12' -'469','val_469','2010-03-03','12' -'315','val_315','2010-03-03','12' -'84','val_84','2010-03-03','12' -'28','val_28','2010-03-03','12' -'37','val_37','2010-03-03','12' -'448','val_448','2010-03-03','12' -'152','val_152','2010-03-03','12' -'348','val_348','2010-03-03','12' -'307','val_307','2010-03-03','12' -'194','val_194','2010-03-03','12' -'414','val_414','2010-03-03','12' -'477','val_477','2010-03-03','12' -'222','val_222','2010-03-03','12' -'126','val_126','2010-03-03','12' -'90','val_90','2010-03-03','12' -'169','val_169','2010-03-03','12' -'403','val_403','2010-03-03','12' -'400','val_400','2010-03-03','12' -'200','val_200','2010-03-03','12' -'97','val_97','2010-03-03','12' -'238','val_238','2010-03-03','12' -'86','val_86','2010-03-03','12' -'311','val_311','2010-03-03','12' -'27','val_27','2010-03-03','12' -'165','val_165','2010-03-03','12' -'409','val_409','2010-03-03','12' -'255','val_255','2010-03-03','12' -'278','val_278','2010-03-03','12' -'98','val_98','2010-03-03','12' -'484','val_484','2010-03-03','12' -'265','val_265','2010-03-03','12' -'193','val_193','2010-03-03','12' -'401','val_401','2010-03-03','12' -'150','val_150','2010-03-03','12' -'273','val_273','2010-03-03','12' -'224','val_224','2010-03-03','12' -'369','val_369','2010-03-03','12' -'66','val_66','2010-03-03','12' -'128','val_128','2010-03-03','12' -'213','val_213','2010-03-03','12' -'146','val_146','2010-03-03','12' -'406','val_406','2010-03-03','12' -'429','val_429','2010-03-03','12' -'374','val_374','2010-03-03','12' -'152','val_152','2010-03-03','12' -'469','val_469','2010-03-03','12' -'145','val_145','2010-03-03','12' -'495','val_495','2010-03-03','12' -'37','val_37','2010-03-03','12' -'327','val_327','2010-03-03','12' -'281','val_281','2010-03-03','12' -'277','val_277','2010-03-03','12' -'209','val_209','2010-03-03','12' -'15','val_15','2010-03-03','12' -'82','val_82','2010-03-03','12' -'403','val_403','2010-03-03','12' -'166','val_166','2010-03-03','12' -'417','val_417','2010-03-03','12' -'430','val_430','2010-03-03','12' -'252','val_252','2010-03-03','12' -'292','val_292','2010-03-03','12' -'219','val_219','2010-03-03','12' -'287','val_287','2010-03-03','12' -'153','val_153','2010-03-03','12' -'193','val_193','2010-03-03','12' -'338','val_338','2010-03-03','12' -'446','val_446','2010-03-03','12' -'459','val_459','2010-03-03','12' -'394','val_394','2010-03-03','12' -'237','val_237','2010-03-03','12' -'482','val_482','2010-03-03','12' -'174','val_174','2010-03-03','12' -'413','val_413','2010-03-03','12' -'494','val_494','2010-03-03','12' -'207','val_207','2010-03-03','12' -'199','val_199','2010-03-03','12' -'466','val_466','2010-03-03','12' -'208','val_208','2010-03-03','12' -'174','val_174','2010-03-03','12' -'399','val_399','2010-03-03','12' -'396','val_396','2010-03-03','12' -'247','val_247','2010-03-03','12' -'417','val_417','2010-03-03','12' -'489','val_489','2010-03-03','12' -'162','val_162','2010-03-03','12' -'377','val_377','2010-03-03','12' -'397','val_397','2010-03-03','12' -'309','val_309','2010-03-03','12' -'365','val_365','2010-03-03','12' -'266','val_266','2010-03-03','12' -'439','val_439','2010-03-03','12' -'342','val_342','2010-03-03','12' -'367','val_367','2010-03-03','12' -'325','val_325','2010-03-03','12' -'167','val_167','2010-03-03','12' -'195','val_195','2010-03-03','12' -'475','val_475','2010-03-03','12' -'17','val_17','2010-03-03','12' -'113','val_113','2010-03-03','12' -'155','val_155','2010-03-03','12' -'203','val_203','2010-03-03','12' -'339','val_339','2010-03-03','12' -'0','val_0','2010-03-03','12' -'455','val_455','2010-03-03','12' -'128','val_128','2010-03-03','12' -'311','val_311','2010-03-03','12' -'316','val_316','2010-03-03','12' -'57','val_57','2010-03-03','12' -'302','val_302','2010-03-03','12' -'205','val_205','2010-03-03','12' -'149','val_149','2010-03-03','12' -'438','val_438','2010-03-03','12' -'345','val_345','2010-03-03','12' -'129','val_129','2010-03-03','12' -'170','val_170','2010-03-03','12' -'20','val_20','2010-03-03','12' -'489','val_489','2010-03-03','12' -'157','val_157','2010-03-03','12' -'378','val_378','2010-03-03','12' -'221','val_221','2010-03-03','12' -'92','val_92','2010-03-03','12' -'111','val_111','2010-03-03','12' -'47','val_47','2010-03-03','12' -'72','val_72','2010-03-03','12' -'4','val_4','2010-03-03','12' -'280','val_280','2010-03-03','12' -'35','val_35','2010-03-03','12' -'427','val_427','2010-03-03','12' -'277','val_277','2010-03-03','12' -'208','val_208','2010-03-03','12' -'356','val_356','2010-03-03','12' -'399','val_399','2010-03-03','12' -'169','val_169','2010-03-03','12' -'382','val_382','2010-03-03','12' -'498','val_498','2010-03-03','12' -'125','val_125','2010-03-03','12' -'386','val_386','2010-03-03','12' -'437','val_437','2010-03-03','12' -'469','val_469','2010-03-03','12' -'192','val_192','2010-03-03','12' -'286','val_286','2010-03-03','12' -'187','val_187','2010-03-03','12' -'176','val_176','2010-03-03','12' -'54','val_54','2010-03-03','12' -'459','val_459','2010-03-03','12' -'51','val_51','2010-03-03','12' -'138','val_138','2010-03-03','12' -'103','val_103','2010-03-03','12' -'239','val_239','2010-03-03','12' -'213','val_213','2010-03-03','12' -'216','val_216','2010-03-03','12' -'430','val_430','2010-03-03','12' -'278','val_278','2010-03-03','12' -'176','val_176','2010-03-03','12' -'289','val_289','2010-03-03','12' -'221','val_221','2010-03-03','12' -'65','val_65','2010-03-03','12' -'318','val_318','2010-03-03','12' -'332','val_332','2010-03-03','12' -'311','val_311','2010-03-03','12' -'275','val_275','2010-03-03','12' -'137','val_137','2010-03-03','12' -'241','val_241','2010-03-03','12' -'83','val_83','2010-03-03','12' -'333','val_333','2010-03-03','12' -'180','val_180','2010-03-03','12' -'284','val_284','2010-03-03','12' -'12','val_12','2010-03-03','12' -'230','val_230','2010-03-03','12' -'181','val_181','2010-03-03','12' -'67','val_67','2010-03-03','12' -'260','val_260','2010-03-03','12' -'404','val_404','2010-03-03','12' -'384','val_384','2010-03-03','12' -'489','val_489','2010-03-03','12' -'353','val_353','2010-03-03','12' -'373','val_373','2010-03-03','12' -'272','val_272','2010-03-03','12' -'138','val_138','2010-03-03','12' -'217','val_217','2010-03-03','12' -'84','val_84','2010-03-03','12' -'348','val_348','2010-03-03','12' -'466','val_466','2010-03-03','12' -'58','val_58','2010-03-03','12' -'8','val_8','2010-03-03','12' -'411','val_411','2010-03-03','12' -'230','val_230','2010-03-03','12' -'208','val_208','2010-03-03','12' -'348','val_348','2010-03-03','12' -'24','val_24','2010-03-03','12' -'463','val_463','2010-03-03','12' -'431','val_431','2010-03-03','12' -'179','val_179','2010-03-03','12' -'172','val_172','2010-03-03','12' -'42','val_42','2010-03-03','12' -'129','val_129','2010-03-03','12' -'158','val_158','2010-03-03','12' -'119','val_119','2010-03-03','12' -'496','val_496','2010-03-03','12' -'0','val_0','2010-03-03','12' -'322','val_322','2010-03-03','12' -'197','val_197','2010-03-03','12' -'468','val_468','2010-03-03','12' -'393','val_393','2010-03-03','12' -'454','val_454','2010-03-03','12' -'100','val_100','2010-03-03','12' -'298','val_298','2010-03-03','12' -'199','val_199','2010-03-03','12' -'191','val_191','2010-03-03','12' -'418','val_418','2010-03-03','12' -'96','val_96','2010-03-03','12' -'26','val_26','2010-03-03','12' -'165','val_165','2010-03-03','12' -'327','val_327','2010-03-03','12' -'230','val_230','2010-03-03','12' -'205','val_205','2010-03-03','12' -'120','val_120','2010-03-03','12' -'131','val_131','2010-03-03','12' -'51','val_51','2010-03-03','12' -'404','val_404','2010-03-03','12' -'43','val_43','2010-03-03','12' -'436','val_436','2010-03-03','12' -'156','val_156','2010-03-03','12' -'469','val_469','2010-03-03','12' -'468','val_468','2010-03-03','12' -'308','val_308','2010-03-03','12' -'95','val_95','2010-03-03','12' -'196','val_196','2010-03-03','12' -'288','val_288','2010-03-03','12' -'481','val_481','2010-03-03','12' -'457','val_457','2010-03-03','12' -'98','val_98','2010-03-03','12' -'282','val_282','2010-03-03','12' -'197','val_197','2010-03-03','12' -'187','val_187','2010-03-03','12' -'318','val_318','2010-03-03','12' -'318','val_318','2010-03-03','12' -'409','val_409','2010-03-03','12' -'470','val_470','2010-03-03','12' -'137','val_137','2010-03-03','12' -'369','val_369','2010-03-03','12' -'316','val_316','2010-03-03','12' -'169','val_169','2010-03-03','12' -'413','val_413','2010-03-03','12' -'85','val_85','2010-03-03','12' -'77','val_77','2010-03-03','12' -'0','val_0','2010-03-03','12' -'490','val_490','2010-03-03','12' -'87','val_87','2010-03-03','12' -'364','val_364','2010-03-03','12' -'179','val_179','2010-03-03','12' -'118','val_118','2010-03-03','12' -'134','val_134','2010-03-03','12' -'395','val_395','2010-03-03','12' -'282','val_282','2010-03-03','12' -'138','val_138','2010-03-03','12' -'238','val_238','2010-03-03','12' -'419','val_419','2010-03-03','12' -'15','val_15','2010-03-03','12' -'118','val_118','2010-03-03','12' -'72','val_72','2010-03-03','12' -'90','val_90','2010-03-03','12' -'307','val_307','2010-03-03','12' -'19','val_19','2010-03-03','12' -'435','val_435','2010-03-03','12' -'10','val_10','2010-03-03','12' -'277','val_277','2010-03-03','12' -'273','val_273','2010-03-03','12' -'306','val_306','2010-03-03','12' -'224','val_224','2010-03-03','12' -'309','val_309','2010-03-03','12' -'389','val_389','2010-03-03','12' -'327','val_327','2010-03-03','12' -'242','val_242','2010-03-03','12' -'369','val_369','2010-03-03','12' -'392','val_392','2010-03-03','12' -'272','val_272','2010-03-03','12' -'331','val_331','2010-03-03','12' -'401','val_401','2010-03-03','12' -'242','val_242','2010-03-03','12' -'452','val_452','2010-03-03','12' -'177','val_177','2010-03-03','12' -'226','val_226','2010-03-03','12' -'5','val_5','2010-03-03','12' -'497','val_497','2010-03-03','12' -'402','val_402','2010-03-03','12' -'396','val_396','2010-03-03','12' -'317','val_317','2010-03-03','12' -'395','val_395','2010-03-03','12' -'58','val_58','2010-03-03','12' -'35','val_35','2010-03-03','12' -'336','val_336','2010-03-03','12' -'95','val_95','2010-03-03','12' -'11','val_11','2010-03-03','12' -'168','val_168','2010-03-03','12' -'34','val_34','2010-03-03','12' -'229','val_229','2010-03-03','12' -'233','val_233','2010-03-03','12' -'143','val_143','2010-03-03','12' -'472','val_472','2010-03-03','12' -'322','val_322','2010-03-03','12' -'498','val_498','2010-03-03','12' -'160','val_160','2010-03-03','12' -'195','val_195','2010-03-03','12' -'42','val_42','2010-03-03','12' -'321','val_321','2010-03-03','12' -'430','val_430','2010-03-03','12' -'119','val_119','2010-03-03','12' -'489','val_489','2010-03-03','12' -'458','val_458','2010-03-03','12' -'78','val_78','2010-03-03','12' -'76','val_76','2010-03-03','12' -'41','val_41','2010-03-03','12' -'223','val_223','2010-03-03','12' -'492','val_492','2010-03-03','12' -'149','val_149','2010-03-03','12' -'449','val_449','2010-03-03','12' -'218','val_218','2010-03-03','12' -'228','val_228','2010-03-03','12' -'138','val_138','2010-03-03','12' -'453','val_453','2010-03-03','12' -'30','val_30','2010-03-03','12' -'209','val_209','2010-03-03','12' -'64','val_64','2010-03-03','12' -'468','val_468','2010-03-03','12' -'76','val_76','2010-03-03','12' -'74','val_74','2010-03-03','12' -'342','val_342','2010-03-03','12' -'69','val_69','2010-03-03','12' -'230','val_230','2010-03-03','12' -'33','val_33','2010-03-03','12' -'368','val_368','2010-03-03','12' -'103','val_103','2010-03-03','12' -'296','val_296','2010-03-03','12' -'113','val_113','2010-03-03','12' -'216','val_216','2010-03-03','12' -'367','val_367','2010-03-03','12' -'344','val_344','2010-03-03','12' -'167','val_167','2010-03-03','12' -'274','val_274','2010-03-03','12' -'219','val_219','2010-03-03','12' -'239','val_239','2010-03-03','12' -'485','val_485','2010-03-03','12' -'116','val_116','2010-03-03','12' -'223','val_223','2010-03-03','12' -'256','val_256','2010-03-03','12' -'263','val_263','2010-03-03','12' -'70','val_70','2010-03-03','12' -'487','val_487','2010-03-03','12' -'480','val_480','2010-03-03','12' -'401','val_401','2010-03-03','12' -'288','val_288','2010-03-03','12' -'191','val_191','2010-03-03','12' -'5','val_5','2010-03-03','12' -'244','val_244','2010-03-03','12' -'438','val_438','2010-03-03','12' -'128','val_128','2010-03-03','12' -'467','val_467','2010-03-03','12' -'432','val_432','2010-03-03','12' -'202','val_202','2010-03-03','12' -'316','val_316','2010-03-03','12' -'229','val_229','2010-03-03','12' -'469','val_469','2010-03-03','12' -'463','val_463','2010-03-03','12' -'280','val_280','2010-03-03','12' -'2','val_2','2010-03-03','12' -'35','val_35','2010-03-03','12' -'283','val_283','2010-03-03','12' -'331','val_331','2010-03-03','12' -'235','val_235','2010-03-03','12' -'80','val_80','2010-03-03','12' -'44','val_44','2010-03-03','12' -'193','val_193','2010-03-03','12' -'321','val_321','2010-03-03','12' -'335','val_335','2010-03-03','12' -'104','val_104','2010-03-03','12' -'466','val_466','2010-03-03','12' -'366','val_366','2010-03-03','12' -'175','val_175','2010-03-03','12' -'403','val_403','2010-03-03','12' -'483','val_483','2010-03-03','12' -'53','val_53','2010-03-03','12' -'105','val_105','2010-03-03','12' -'257','val_257','2010-03-03','12' -'406','val_406','2010-03-03','12' -'409','val_409','2010-03-03','12' -'190','val_190','2010-03-03','12' -'406','val_406','2010-03-03','12' -'401','val_401','2010-03-03','12' -'114','val_114','2010-03-03','12' -'258','val_258','2010-03-03','12' -'90','val_90','2010-03-03','12' -'203','val_203','2010-03-03','12' -'262','val_262','2010-03-03','12' -'348','val_348','2010-03-03','12' -'424','val_424','2010-03-03','12' -'12','val_12','2010-03-03','12' -'396','val_396','2010-03-03','12' -'201','val_201','2010-03-03','12' -'217','val_217','2010-03-03','12' -'164','val_164','2010-03-03','12' -'431','val_431','2010-03-03','12' -'454','val_454','2010-03-03','12' -'478','val_478','2010-03-03','12' -'298','val_298','2010-03-03','12' -'125','val_125','2010-03-03','12' -'431','val_431','2010-03-03','12' -'164','val_164','2010-03-03','12' -'424','val_424','2010-03-03','12' -'187','val_187','2010-03-03','12' -'382','val_382','2010-03-03','12' -'5','val_5','2010-03-03','12' -'70','val_70','2010-03-03','12' -'397','val_397','2010-03-03','12' -'480','val_480','2010-03-03','12' -'291','val_291','2010-03-03','12' -'24','val_24','2010-03-03','12' -'351','val_351','2010-03-03','12' -'255','val_255','2010-03-03','12' -'104','val_104','2010-03-03','12' -'70','val_70','2010-03-03','12' -'163','val_163','2010-03-03','12' -'438','val_438','2010-03-03','12' -'119','val_119','2010-03-03','12' -'414','val_414','2010-03-03','12' -'200','val_200','2010-03-03','12' -'491','val_491','2010-03-03','12' -'237','val_237','2010-03-03','12' -'439','val_439','2010-03-03','12' -'360','val_360','2010-03-03','12' -'248','val_248','2010-03-03','12' -'479','val_479','2010-03-03','12' -'305','val_305','2010-03-03','12' -'417','val_417','2010-03-03','12' -'199','val_199','2010-03-03','12' -'444','val_444','2010-03-03','12' -'120','val_120','2010-03-03','12' -'429','val_429','2010-03-03','12' -'169','val_169','2010-03-03','12' -'443','val_443','2010-03-03','12' -'323','val_323','2010-03-03','12' -'325','val_325','2010-03-03','12' -'277','val_277','2010-03-03','12' -'230','val_230','2010-03-03','12' -'478','val_478','2010-03-03','12' -'178','val_178','2010-03-03','12' -'468','val_468','2010-03-03','12' -'310','val_310','2010-03-03','12' -'317','val_317','2010-03-03','12' -'333','val_333','2010-03-03','12' -'493','val_493','2010-03-03','12' -'460','val_460','2010-03-03','12' -'207','val_207','2010-03-03','12' -'249','val_249','2010-03-03','12' -'265','val_265','2010-03-03','12' -'480','val_480','2010-03-03','12' -'83','val_83','2010-03-03','12' -'136','val_136','2010-03-03','12' -'353','val_353','2010-03-03','12' -'172','val_172','2010-03-03','12' -'214','val_214','2010-03-03','12' -'462','val_462','2010-03-03','12' -'233','val_233','2010-03-03','12' -'406','val_406','2010-03-03','12' -'133','val_133','2010-03-03','12' -'175','val_175','2010-03-03','12' -'189','val_189','2010-03-03','12' -'454','val_454','2010-03-03','12' -'375','val_375','2010-03-03','12' -'401','val_401','2010-03-03','12' -'421','val_421','2010-03-03','12' -'407','val_407','2010-03-03','12' -'384','val_384','2010-03-03','12' -'256','val_256','2010-03-03','12' -'26','val_26','2010-03-03','12' -'134','val_134','2010-03-03','12' -'67','val_67','2010-03-03','12' -'384','val_384','2010-03-03','12' -'379','val_379','2010-03-03','12' -'18','val_18','2010-03-03','12' -'462','val_462','2010-03-03','12' -'492','val_492','2010-03-03','12' -'100','val_100','2010-03-03','12' -'298','val_298','2010-03-03','12' -'9','val_9','2010-03-03','12' -'341','val_341','2010-03-03','12' -'498','val_498','2010-03-03','12' -'146','val_146','2010-03-03','12' -'458','val_458','2010-03-03','12' -'362','val_362','2010-03-03','12' -'186','val_186','2010-03-03','12' -'285','val_285','2010-03-03','12' -'348','val_348','2010-03-03','12' -'167','val_167','2010-03-03','12' -'18','val_18','2010-03-03','12' -'273','val_273','2010-03-03','12' -'183','val_183','2010-03-03','12' -'281','val_281','2010-03-03','12' -'344','val_344','2010-03-03','12' -'97','val_97','2010-03-03','12' -'469','val_469','2010-03-03','12' -'315','val_315','2010-03-03','12' -'84','val_84','2010-03-03','12' -'28','val_28','2010-03-03','12' -'37','val_37','2010-03-03','12' -'448','val_448','2010-03-03','12' -'152','val_152','2010-03-03','12' -'348','val_348','2010-03-03','12' -'307','val_307','2010-03-03','12' -'194','val_194','2010-03-03','12' -'414','val_414','2010-03-03','12' -'477','val_477','2010-03-03','12' -'222','val_222','2010-03-03','12' -'126','val_126','2010-03-03','12' -'90','val_90','2010-03-03','12' -'169','val_169','2010-03-03','12' -'403','val_403','2010-03-03','12' -'400','val_400','2010-03-03','12' -'200','val_200','2010-03-03','12' -'97','val_97','2010-03-03','12' -1,000 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/load_dyn_part7.q.out ql/src/test/results/beelinepositive/load_dyn_part7.q.out deleted file mode 100644 index ad76b30..0000000 --- ql/src/test/results/beelinepositive/load_dyn_part7.q.out +++ /dev/null @@ -1,539 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/load_dyn_part7.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/load_dyn_part7.q ->>> show partitions srcpart; -'partition' -'ds=2008-04-08/hr=11' -'ds=2008-04-08/hr=12' -'ds=2008-04-09/hr=11' -'ds=2008-04-09/hr=12' -4 rows selected ->>> ->>> ->>> ->>> create table if not exists nzhang_part7 like srcpart; -No rows affected ->>> describe extended nzhang_part7; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'ds','string','' -'hr','string','' -'','','' -'Detailed Table Information','Table(tableName:nzhang_part7, dbName:load_dyn_part7, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:hr, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/load_dyn_part7.db/nzhang_part7, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:hr, type:string, comment:null)], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -6 rows selected ->>> ->>> ->>> insert overwrite table nzhang_part7 partition (ds='2010-03-03', hr='12') select key, value from srcpart where ds = '2008-04-08' and hr = '12'; -'key','value' -No rows selected ->>> ->>> show partitions nzhang_part7; -'partition' -'ds=2010-03-03/hr=12' -1 row selected ->>> ->>> select * from nzhang_part7 where ds is not null and hr is not null; -'key','value','ds','hr' -'238','val_238','2010-03-03','12' -'86','val_86','2010-03-03','12' -'311','val_311','2010-03-03','12' -'27','val_27','2010-03-03','12' -'165','val_165','2010-03-03','12' -'409','val_409','2010-03-03','12' -'255','val_255','2010-03-03','12' -'278','val_278','2010-03-03','12' -'98','val_98','2010-03-03','12' -'484','val_484','2010-03-03','12' -'265','val_265','2010-03-03','12' -'193','val_193','2010-03-03','12' -'401','val_401','2010-03-03','12' -'150','val_150','2010-03-03','12' -'273','val_273','2010-03-03','12' -'224','val_224','2010-03-03','12' -'369','val_369','2010-03-03','12' -'66','val_66','2010-03-03','12' -'128','val_128','2010-03-03','12' -'213','val_213','2010-03-03','12' -'146','val_146','2010-03-03','12' -'406','val_406','2010-03-03','12' -'429','val_429','2010-03-03','12' -'374','val_374','2010-03-03','12' -'152','val_152','2010-03-03','12' -'469','val_469','2010-03-03','12' -'145','val_145','2010-03-03','12' -'495','val_495','2010-03-03','12' -'37','val_37','2010-03-03','12' -'327','val_327','2010-03-03','12' -'281','val_281','2010-03-03','12' -'277','val_277','2010-03-03','12' -'209','val_209','2010-03-03','12' -'15','val_15','2010-03-03','12' -'82','val_82','2010-03-03','12' -'403','val_403','2010-03-03','12' -'166','val_166','2010-03-03','12' -'417','val_417','2010-03-03','12' -'430','val_430','2010-03-03','12' -'252','val_252','2010-03-03','12' -'292','val_292','2010-03-03','12' -'219','val_219','2010-03-03','12' -'287','val_287','2010-03-03','12' -'153','val_153','2010-03-03','12' -'193','val_193','2010-03-03','12' -'338','val_338','2010-03-03','12' -'446','val_446','2010-03-03','12' -'459','val_459','2010-03-03','12' -'394','val_394','2010-03-03','12' -'237','val_237','2010-03-03','12' -'482','val_482','2010-03-03','12' -'174','val_174','2010-03-03','12' -'413','val_413','2010-03-03','12' -'494','val_494','2010-03-03','12' -'207','val_207','2010-03-03','12' -'199','val_199','2010-03-03','12' -'466','val_466','2010-03-03','12' -'208','val_208','2010-03-03','12' -'174','val_174','2010-03-03','12' -'399','val_399','2010-03-03','12' -'396','val_396','2010-03-03','12' -'247','val_247','2010-03-03','12' -'417','val_417','2010-03-03','12' -'489','val_489','2010-03-03','12' -'162','val_162','2010-03-03','12' -'377','val_377','2010-03-03','12' -'397','val_397','2010-03-03','12' -'309','val_309','2010-03-03','12' -'365','val_365','2010-03-03','12' -'266','val_266','2010-03-03','12' -'439','val_439','2010-03-03','12' -'342','val_342','2010-03-03','12' -'367','val_367','2010-03-03','12' -'325','val_325','2010-03-03','12' -'167','val_167','2010-03-03','12' -'195','val_195','2010-03-03','12' -'475','val_475','2010-03-03','12' -'17','val_17','2010-03-03','12' -'113','val_113','2010-03-03','12' -'155','val_155','2010-03-03','12' -'203','val_203','2010-03-03','12' -'339','val_339','2010-03-03','12' -'0','val_0','2010-03-03','12' -'455','val_455','2010-03-03','12' -'128','val_128','2010-03-03','12' -'311','val_311','2010-03-03','12' -'316','val_316','2010-03-03','12' -'57','val_57','2010-03-03','12' -'302','val_302','2010-03-03','12' -'205','val_205','2010-03-03','12' -'149','val_149','2010-03-03','12' -'438','val_438','2010-03-03','12' -'345','val_345','2010-03-03','12' -'129','val_129','2010-03-03','12' -'170','val_170','2010-03-03','12' -'20','val_20','2010-03-03','12' -'489','val_489','2010-03-03','12' -'157','val_157','2010-03-03','12' -'378','val_378','2010-03-03','12' -'221','val_221','2010-03-03','12' -'92','val_92','2010-03-03','12' -'111','val_111','2010-03-03','12' -'47','val_47','2010-03-03','12' -'72','val_72','2010-03-03','12' -'4','val_4','2010-03-03','12' -'280','val_280','2010-03-03','12' -'35','val_35','2010-03-03','12' -'427','val_427','2010-03-03','12' -'277','val_277','2010-03-03','12' -'208','val_208','2010-03-03','12' -'356','val_356','2010-03-03','12' -'399','val_399','2010-03-03','12' -'169','val_169','2010-03-03','12' -'382','val_382','2010-03-03','12' -'498','val_498','2010-03-03','12' -'125','val_125','2010-03-03','12' -'386','val_386','2010-03-03','12' -'437','val_437','2010-03-03','12' -'469','val_469','2010-03-03','12' -'192','val_192','2010-03-03','12' -'286','val_286','2010-03-03','12' -'187','val_187','2010-03-03','12' -'176','val_176','2010-03-03','12' -'54','val_54','2010-03-03','12' -'459','val_459','2010-03-03','12' -'51','val_51','2010-03-03','12' -'138','val_138','2010-03-03','12' -'103','val_103','2010-03-03','12' -'239','val_239','2010-03-03','12' -'213','val_213','2010-03-03','12' -'216','val_216','2010-03-03','12' -'430','val_430','2010-03-03','12' -'278','val_278','2010-03-03','12' -'176','val_176','2010-03-03','12' -'289','val_289','2010-03-03','12' -'221','val_221','2010-03-03','12' -'65','val_65','2010-03-03','12' -'318','val_318','2010-03-03','12' -'332','val_332','2010-03-03','12' -'311','val_311','2010-03-03','12' -'275','val_275','2010-03-03','12' -'137','val_137','2010-03-03','12' -'241','val_241','2010-03-03','12' -'83','val_83','2010-03-03','12' -'333','val_333','2010-03-03','12' -'180','val_180','2010-03-03','12' -'284','val_284','2010-03-03','12' -'12','val_12','2010-03-03','12' -'230','val_230','2010-03-03','12' -'181','val_181','2010-03-03','12' -'67','val_67','2010-03-03','12' -'260','val_260','2010-03-03','12' -'404','val_404','2010-03-03','12' -'384','val_384','2010-03-03','12' -'489','val_489','2010-03-03','12' -'353','val_353','2010-03-03','12' -'373','val_373','2010-03-03','12' -'272','val_272','2010-03-03','12' -'138','val_138','2010-03-03','12' -'217','val_217','2010-03-03','12' -'84','val_84','2010-03-03','12' -'348','val_348','2010-03-03','12' -'466','val_466','2010-03-03','12' -'58','val_58','2010-03-03','12' -'8','val_8','2010-03-03','12' -'411','val_411','2010-03-03','12' -'230','val_230','2010-03-03','12' -'208','val_208','2010-03-03','12' -'348','val_348','2010-03-03','12' -'24','val_24','2010-03-03','12' -'463','val_463','2010-03-03','12' -'431','val_431','2010-03-03','12' -'179','val_179','2010-03-03','12' -'172','val_172','2010-03-03','12' -'42','val_42','2010-03-03','12' -'129','val_129','2010-03-03','12' -'158','val_158','2010-03-03','12' -'119','val_119','2010-03-03','12' -'496','val_496','2010-03-03','12' -'0','val_0','2010-03-03','12' -'322','val_322','2010-03-03','12' -'197','val_197','2010-03-03','12' -'468','val_468','2010-03-03','12' -'393','val_393','2010-03-03','12' -'454','val_454','2010-03-03','12' -'100','val_100','2010-03-03','12' -'298','val_298','2010-03-03','12' -'199','val_199','2010-03-03','12' -'191','val_191','2010-03-03','12' -'418','val_418','2010-03-03','12' -'96','val_96','2010-03-03','12' -'26','val_26','2010-03-03','12' -'165','val_165','2010-03-03','12' -'327','val_327','2010-03-03','12' -'230','val_230','2010-03-03','12' -'205','val_205','2010-03-03','12' -'120','val_120','2010-03-03','12' -'131','val_131','2010-03-03','12' -'51','val_51','2010-03-03','12' -'404','val_404','2010-03-03','12' -'43','val_43','2010-03-03','12' -'436','val_436','2010-03-03','12' -'156','val_156','2010-03-03','12' -'469','val_469','2010-03-03','12' -'468','val_468','2010-03-03','12' -'308','val_308','2010-03-03','12' -'95','val_95','2010-03-03','12' -'196','val_196','2010-03-03','12' -'288','val_288','2010-03-03','12' -'481','val_481','2010-03-03','12' -'457','val_457','2010-03-03','12' -'98','val_98','2010-03-03','12' -'282','val_282','2010-03-03','12' -'197','val_197','2010-03-03','12' -'187','val_187','2010-03-03','12' -'318','val_318','2010-03-03','12' -'318','val_318','2010-03-03','12' -'409','val_409','2010-03-03','12' -'470','val_470','2010-03-03','12' -'137','val_137','2010-03-03','12' -'369','val_369','2010-03-03','12' -'316','val_316','2010-03-03','12' -'169','val_169','2010-03-03','12' -'413','val_413','2010-03-03','12' -'85','val_85','2010-03-03','12' -'77','val_77','2010-03-03','12' -'0','val_0','2010-03-03','12' -'490','val_490','2010-03-03','12' -'87','val_87','2010-03-03','12' -'364','val_364','2010-03-03','12' -'179','val_179','2010-03-03','12' -'118','val_118','2010-03-03','12' -'134','val_134','2010-03-03','12' -'395','val_395','2010-03-03','12' -'282','val_282','2010-03-03','12' -'138','val_138','2010-03-03','12' -'238','val_238','2010-03-03','12' -'419','val_419','2010-03-03','12' -'15','val_15','2010-03-03','12' -'118','val_118','2010-03-03','12' -'72','val_72','2010-03-03','12' -'90','val_90','2010-03-03','12' -'307','val_307','2010-03-03','12' -'19','val_19','2010-03-03','12' -'435','val_435','2010-03-03','12' -'10','val_10','2010-03-03','12' -'277','val_277','2010-03-03','12' -'273','val_273','2010-03-03','12' -'306','val_306','2010-03-03','12' -'224','val_224','2010-03-03','12' -'309','val_309','2010-03-03','12' -'389','val_389','2010-03-03','12' -'327','val_327','2010-03-03','12' -'242','val_242','2010-03-03','12' -'369','val_369','2010-03-03','12' -'392','val_392','2010-03-03','12' -'272','val_272','2010-03-03','12' -'331','val_331','2010-03-03','12' -'401','val_401','2010-03-03','12' -'242','val_242','2010-03-03','12' -'452','val_452','2010-03-03','12' -'177','val_177','2010-03-03','12' -'226','val_226','2010-03-03','12' -'5','val_5','2010-03-03','12' -'497','val_497','2010-03-03','12' -'402','val_402','2010-03-03','12' -'396','val_396','2010-03-03','12' -'317','val_317','2010-03-03','12' -'395','val_395','2010-03-03','12' -'58','val_58','2010-03-03','12' -'35','val_35','2010-03-03','12' -'336','val_336','2010-03-03','12' -'95','val_95','2010-03-03','12' -'11','val_11','2010-03-03','12' -'168','val_168','2010-03-03','12' -'34','val_34','2010-03-03','12' -'229','val_229','2010-03-03','12' -'233','val_233','2010-03-03','12' -'143','val_143','2010-03-03','12' -'472','val_472','2010-03-03','12' -'322','val_322','2010-03-03','12' -'498','val_498','2010-03-03','12' -'160','val_160','2010-03-03','12' -'195','val_195','2010-03-03','12' -'42','val_42','2010-03-03','12' -'321','val_321','2010-03-03','12' -'430','val_430','2010-03-03','12' -'119','val_119','2010-03-03','12' -'489','val_489','2010-03-03','12' -'458','val_458','2010-03-03','12' -'78','val_78','2010-03-03','12' -'76','val_76','2010-03-03','12' -'41','val_41','2010-03-03','12' -'223','val_223','2010-03-03','12' -'492','val_492','2010-03-03','12' -'149','val_149','2010-03-03','12' -'449','val_449','2010-03-03','12' -'218','val_218','2010-03-03','12' -'228','val_228','2010-03-03','12' -'138','val_138','2010-03-03','12' -'453','val_453','2010-03-03','12' -'30','val_30','2010-03-03','12' -'209','val_209','2010-03-03','12' -'64','val_64','2010-03-03','12' -'468','val_468','2010-03-03','12' -'76','val_76','2010-03-03','12' -'74','val_74','2010-03-03','12' -'342','val_342','2010-03-03','12' -'69','val_69','2010-03-03','12' -'230','val_230','2010-03-03','12' -'33','val_33','2010-03-03','12' -'368','val_368','2010-03-03','12' -'103','val_103','2010-03-03','12' -'296','val_296','2010-03-03','12' -'113','val_113','2010-03-03','12' -'216','val_216','2010-03-03','12' -'367','val_367','2010-03-03','12' -'344','val_344','2010-03-03','12' -'167','val_167','2010-03-03','12' -'274','val_274','2010-03-03','12' -'219','val_219','2010-03-03','12' -'239','val_239','2010-03-03','12' -'485','val_485','2010-03-03','12' -'116','val_116','2010-03-03','12' -'223','val_223','2010-03-03','12' -'256','val_256','2010-03-03','12' -'263','val_263','2010-03-03','12' -'70','val_70','2010-03-03','12' -'487','val_487','2010-03-03','12' -'480','val_480','2010-03-03','12' -'401','val_401','2010-03-03','12' -'288','val_288','2010-03-03','12' -'191','val_191','2010-03-03','12' -'5','val_5','2010-03-03','12' -'244','val_244','2010-03-03','12' -'438','val_438','2010-03-03','12' -'128','val_128','2010-03-03','12' -'467','val_467','2010-03-03','12' -'432','val_432','2010-03-03','12' -'202','val_202','2010-03-03','12' -'316','val_316','2010-03-03','12' -'229','val_229','2010-03-03','12' -'469','val_469','2010-03-03','12' -'463','val_463','2010-03-03','12' -'280','val_280','2010-03-03','12' -'2','val_2','2010-03-03','12' -'35','val_35','2010-03-03','12' -'283','val_283','2010-03-03','12' -'331','val_331','2010-03-03','12' -'235','val_235','2010-03-03','12' -'80','val_80','2010-03-03','12' -'44','val_44','2010-03-03','12' -'193','val_193','2010-03-03','12' -'321','val_321','2010-03-03','12' -'335','val_335','2010-03-03','12' -'104','val_104','2010-03-03','12' -'466','val_466','2010-03-03','12' -'366','val_366','2010-03-03','12' -'175','val_175','2010-03-03','12' -'403','val_403','2010-03-03','12' -'483','val_483','2010-03-03','12' -'53','val_53','2010-03-03','12' -'105','val_105','2010-03-03','12' -'257','val_257','2010-03-03','12' -'406','val_406','2010-03-03','12' -'409','val_409','2010-03-03','12' -'190','val_190','2010-03-03','12' -'406','val_406','2010-03-03','12' -'401','val_401','2010-03-03','12' -'114','val_114','2010-03-03','12' -'258','val_258','2010-03-03','12' -'90','val_90','2010-03-03','12' -'203','val_203','2010-03-03','12' -'262','val_262','2010-03-03','12' -'348','val_348','2010-03-03','12' -'424','val_424','2010-03-03','12' -'12','val_12','2010-03-03','12' -'396','val_396','2010-03-03','12' -'201','val_201','2010-03-03','12' -'217','val_217','2010-03-03','12' -'164','val_164','2010-03-03','12' -'431','val_431','2010-03-03','12' -'454','val_454','2010-03-03','12' -'478','val_478','2010-03-03','12' -'298','val_298','2010-03-03','12' -'125','val_125','2010-03-03','12' -'431','val_431','2010-03-03','12' -'164','val_164','2010-03-03','12' -'424','val_424','2010-03-03','12' -'187','val_187','2010-03-03','12' -'382','val_382','2010-03-03','12' -'5','val_5','2010-03-03','12' -'70','val_70','2010-03-03','12' -'397','val_397','2010-03-03','12' -'480','val_480','2010-03-03','12' -'291','val_291','2010-03-03','12' -'24','val_24','2010-03-03','12' -'351','val_351','2010-03-03','12' -'255','val_255','2010-03-03','12' -'104','val_104','2010-03-03','12' -'70','val_70','2010-03-03','12' -'163','val_163','2010-03-03','12' -'438','val_438','2010-03-03','12' -'119','val_119','2010-03-03','12' -'414','val_414','2010-03-03','12' -'200','val_200','2010-03-03','12' -'491','val_491','2010-03-03','12' -'237','val_237','2010-03-03','12' -'439','val_439','2010-03-03','12' -'360','val_360','2010-03-03','12' -'248','val_248','2010-03-03','12' -'479','val_479','2010-03-03','12' -'305','val_305','2010-03-03','12' -'417','val_417','2010-03-03','12' -'199','val_199','2010-03-03','12' -'444','val_444','2010-03-03','12' -'120','val_120','2010-03-03','12' -'429','val_429','2010-03-03','12' -'169','val_169','2010-03-03','12' -'443','val_443','2010-03-03','12' -'323','val_323','2010-03-03','12' -'325','val_325','2010-03-03','12' -'277','val_277','2010-03-03','12' -'230','val_230','2010-03-03','12' -'478','val_478','2010-03-03','12' -'178','val_178','2010-03-03','12' -'468','val_468','2010-03-03','12' -'310','val_310','2010-03-03','12' -'317','val_317','2010-03-03','12' -'333','val_333','2010-03-03','12' -'493','val_493','2010-03-03','12' -'460','val_460','2010-03-03','12' -'207','val_207','2010-03-03','12' -'249','val_249','2010-03-03','12' -'265','val_265','2010-03-03','12' -'480','val_480','2010-03-03','12' -'83','val_83','2010-03-03','12' -'136','val_136','2010-03-03','12' -'353','val_353','2010-03-03','12' -'172','val_172','2010-03-03','12' -'214','val_214','2010-03-03','12' -'462','val_462','2010-03-03','12' -'233','val_233','2010-03-03','12' -'406','val_406','2010-03-03','12' -'133','val_133','2010-03-03','12' -'175','val_175','2010-03-03','12' -'189','val_189','2010-03-03','12' -'454','val_454','2010-03-03','12' -'375','val_375','2010-03-03','12' -'401','val_401','2010-03-03','12' -'421','val_421','2010-03-03','12' -'407','val_407','2010-03-03','12' -'384','val_384','2010-03-03','12' -'256','val_256','2010-03-03','12' -'26','val_26','2010-03-03','12' -'134','val_134','2010-03-03','12' -'67','val_67','2010-03-03','12' -'384','val_384','2010-03-03','12' -'379','val_379','2010-03-03','12' -'18','val_18','2010-03-03','12' -'462','val_462','2010-03-03','12' -'492','val_492','2010-03-03','12' -'100','val_100','2010-03-03','12' -'298','val_298','2010-03-03','12' -'9','val_9','2010-03-03','12' -'341','val_341','2010-03-03','12' -'498','val_498','2010-03-03','12' -'146','val_146','2010-03-03','12' -'458','val_458','2010-03-03','12' -'362','val_362','2010-03-03','12' -'186','val_186','2010-03-03','12' -'285','val_285','2010-03-03','12' -'348','val_348','2010-03-03','12' -'167','val_167','2010-03-03','12' -'18','val_18','2010-03-03','12' -'273','val_273','2010-03-03','12' -'183','val_183','2010-03-03','12' -'281','val_281','2010-03-03','12' -'344','val_344','2010-03-03','12' -'97','val_97','2010-03-03','12' -'469','val_469','2010-03-03','12' -'315','val_315','2010-03-03','12' -'84','val_84','2010-03-03','12' -'28','val_28','2010-03-03','12' -'37','val_37','2010-03-03','12' -'448','val_448','2010-03-03','12' -'152','val_152','2010-03-03','12' -'348','val_348','2010-03-03','12' -'307','val_307','2010-03-03','12' -'194','val_194','2010-03-03','12' -'414','val_414','2010-03-03','12' -'477','val_477','2010-03-03','12' -'222','val_222','2010-03-03','12' -'126','val_126','2010-03-03','12' -'90','val_90','2010-03-03','12' -'169','val_169','2010-03-03','12' -'403','val_403','2010-03-03','12' -'400','val_400','2010-03-03','12' -'200','val_200','2010-03-03','12' -'97','val_97','2010-03-03','12' -500 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/load_dyn_part8.q.out ql/src/test/results/beelinepositive/load_dyn_part8.q.out deleted file mode 100644 index 81af932..0000000 --- ql/src/test/results/beelinepositive/load_dyn_part8.q.out +++ /dev/null @@ -1,2437 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/load_dyn_part8.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/load_dyn_part8.q ->>> show partitions srcpart; -'partition' -'ds=2008-04-08/hr=11' -'ds=2008-04-08/hr=12' -'ds=2008-04-09/hr=11' -'ds=2008-04-09/hr=12' -4 rows selected ->>> ->>> ->>> ->>> create table if not exists nzhang_part8 like srcpart; -No rows affected ->>> describe extended nzhang_part8; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'ds','string','' -'hr','string','' -'','','' -'Detailed Table Information','Table(tableName:nzhang_part8, dbName:load_dyn_part8, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:hr, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/load_dyn_part8.db/nzhang_part8, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:hr, type:string, comment:null)], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -6 rows selected ->>> ->>> set hive.merge.mapfiles=false; -No rows affected ->>> set hive.exec.dynamic.partition=true; -No rows affected ->>> set hive.exec.dynamic.partition.mode=nonstrict; -No rows affected ->>> ->>> explain extended -from srcpart -insert overwrite table nzhang_part8 partition (ds, hr) select key, value, ds, hr where ds <= '2008-04-08' -insert overwrite table nzhang_part8 partition(ds='2008-12-31', hr) select key, value, hr where ds > '2008-04-08'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME nzhang_part8) (TOK_PARTSPEC (TOK_PARTVAL ds) (TOK_PARTVAL hr)))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL ds)) (TOK_SELEXPR (TOK_TABLE_OR_COL hr))) (TOK_WHERE (<= (TOK_TABLE_OR_COL ds) '2008-04-08'))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME nzhang_part8) (TOK_PARTSPEC (TOK_PARTVAL ds '2008-12-31') (TOK_PARTVAL hr)))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL hr))) (TOK_WHERE (> (TOK_TABLE_OR_COL ds) '2008-04-08'))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-0 depends on stages: Stage-2' -' Stage-3 depends on stages: Stage-0' -' Stage-1 depends on stages: Stage-2' -' Stage-4 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' srcpart ' -' TableScan' -' alias: srcpart' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (ds <= '2008-04-08')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/load_dyn_part8.db/nzhang_part8' -' name load_dyn_part8.nzhang_part8' -' partition_columns ds/hr' -' serialization.ddl struct nzhang_part8 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: load_dyn_part8.nzhang_part8' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (ds > '2008-04-08')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Static Partition Specification: ds=2008-12-31/' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/load_dyn_part8.db/nzhang_part8' -' name load_dyn_part8.nzhang_part8' -' partition_columns ds/hr' -' serialization.ddl struct nzhang_part8 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: load_dyn_part8.nzhang_part8' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/load_dyn_part8.db/srcpart/ds=2008-04-08/hr=11 [srcpart]' -' !!{hive.metastore.warehouse.dir}!!/load_dyn_part8.db/srcpart/ds=2008-04-08/hr=12 [srcpart]' -' !!{hive.metastore.warehouse.dir}!!/load_dyn_part8.db/srcpart/ds=2008-04-09/hr=11 [srcpart]' -' !!{hive.metastore.warehouse.dir}!!/load_dyn_part8.db/srcpart/ds=2008-04-09/hr=12 [srcpart]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/load_dyn_part8.db/srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/load_dyn_part8.db/srcpart/ds=2008-04-08/hr=11' -' name load_dyn_part8.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/load_dyn_part8.db/srcpart' -' name load_dyn_part8.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: load_dyn_part8.srcpart' -' name: load_dyn_part8.srcpart' -' !!{hive.metastore.warehouse.dir}!!/load_dyn_part8.db/srcpart/ds=2008-04-08/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/load_dyn_part8.db/srcpart/ds=2008-04-08/hr=12' -' name load_dyn_part8.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/load_dyn_part8.db/srcpart' -' name load_dyn_part8.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: load_dyn_part8.srcpart' -' name: load_dyn_part8.srcpart' -' !!{hive.metastore.warehouse.dir}!!/load_dyn_part8.db/srcpart/ds=2008-04-09/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-09' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/load_dyn_part8.db/srcpart/ds=2008-04-09/hr=11' -' name load_dyn_part8.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/load_dyn_part8.db/srcpart' -' name load_dyn_part8.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: load_dyn_part8.srcpart' -' name: load_dyn_part8.srcpart' -' !!{hive.metastore.warehouse.dir}!!/load_dyn_part8.db/srcpart/ds=2008-04-09/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-09' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/load_dyn_part8.db/srcpart/ds=2008-04-09/hr=12' -' name load_dyn_part8.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/load_dyn_part8.db/srcpart' -' name load_dyn_part8.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: load_dyn_part8.srcpart' -' name: load_dyn_part8.srcpart' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' partition:' -' ds ' -' hr ' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/load_dyn_part8.db/nzhang_part8' -' name load_dyn_part8.nzhang_part8' -' partition_columns ds/hr' -' serialization.ddl struct nzhang_part8 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: load_dyn_part8.nzhang_part8' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' Move Operator' -' tables:' -' partition:' -' ds 2008-12-31' -' hr ' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/load_dyn_part8.db/nzhang_part8' -' name load_dyn_part8.nzhang_part8' -' partition_columns ds/hr' -' serialization.ddl struct nzhang_part8 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: load_dyn_part8.nzhang_part8' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-4' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -380 rows selected ->>> ->>> from srcpart -insert overwrite table nzhang_part8 partition (ds, hr) select key, value, ds, hr where ds <= '2008-04-08' -insert overwrite table nzhang_part8 partition(ds='2008-12-31', hr) select key, value, hr where ds > '2008-04-08'; -'key','value','hr' -No rows selected ->>> ->>> show partitions nzhang_part8; -'partition' -'ds=2008-04-08/hr=11' -'ds=2008-04-08/hr=12' -'ds=2008-12-31/hr=11' -'ds=2008-12-31/hr=12' -4 rows selected ->>> ->>> select * from nzhang_part8 where ds is not null and hr is not null; -'key','value','ds','hr' -'238','val_238','2008-04-08','11' -'86','val_86','2008-04-08','11' -'311','val_311','2008-04-08','11' -'27','val_27','2008-04-08','11' -'165','val_165','2008-04-08','11' -'409','val_409','2008-04-08','11' -'255','val_255','2008-04-08','11' -'278','val_278','2008-04-08','11' -'98','val_98','2008-04-08','11' -'484','val_484','2008-04-08','11' -'265','val_265','2008-04-08','11' -'193','val_193','2008-04-08','11' -'401','val_401','2008-04-08','11' -'150','val_150','2008-04-08','11' -'273','val_273','2008-04-08','11' -'224','val_224','2008-04-08','11' -'369','val_369','2008-04-08','11' -'66','val_66','2008-04-08','11' -'128','val_128','2008-04-08','11' -'213','val_213','2008-04-08','11' -'146','val_146','2008-04-08','11' -'406','val_406','2008-04-08','11' -'429','val_429','2008-04-08','11' -'374','val_374','2008-04-08','11' -'152','val_152','2008-04-08','11' -'469','val_469','2008-04-08','11' -'145','val_145','2008-04-08','11' -'495','val_495','2008-04-08','11' -'37','val_37','2008-04-08','11' -'327','val_327','2008-04-08','11' -'281','val_281','2008-04-08','11' -'277','val_277','2008-04-08','11' -'209','val_209','2008-04-08','11' -'15','val_15','2008-04-08','11' -'82','val_82','2008-04-08','11' -'403','val_403','2008-04-08','11' -'166','val_166','2008-04-08','11' -'417','val_417','2008-04-08','11' -'430','val_430','2008-04-08','11' -'252','val_252','2008-04-08','11' -'292','val_292','2008-04-08','11' -'219','val_219','2008-04-08','11' -'287','val_287','2008-04-08','11' -'153','val_153','2008-04-08','11' -'193','val_193','2008-04-08','11' -'338','val_338','2008-04-08','11' -'446','val_446','2008-04-08','11' -'459','val_459','2008-04-08','11' -'394','val_394','2008-04-08','11' -'237','val_237','2008-04-08','11' -'482','val_482','2008-04-08','11' -'174','val_174','2008-04-08','11' -'413','val_413','2008-04-08','11' -'494','val_494','2008-04-08','11' -'207','val_207','2008-04-08','11' -'199','val_199','2008-04-08','11' -'466','val_466','2008-04-08','11' -'208','val_208','2008-04-08','11' -'174','val_174','2008-04-08','11' -'399','val_399','2008-04-08','11' -'396','val_396','2008-04-08','11' -'247','val_247','2008-04-08','11' -'417','val_417','2008-04-08','11' -'489','val_489','2008-04-08','11' -'162','val_162','2008-04-08','11' -'377','val_377','2008-04-08','11' -'397','val_397','2008-04-08','11' -'309','val_309','2008-04-08','11' -'365','val_365','2008-04-08','11' -'266','val_266','2008-04-08','11' -'439','val_439','2008-04-08','11' -'342','val_342','2008-04-08','11' -'367','val_367','2008-04-08','11' -'325','val_325','2008-04-08','11' -'167','val_167','2008-04-08','11' -'195','val_195','2008-04-08','11' -'475','val_475','2008-04-08','11' -'17','val_17','2008-04-08','11' -'113','val_113','2008-04-08','11' -'155','val_155','2008-04-08','11' -'203','val_203','2008-04-08','11' -'339','val_339','2008-04-08','11' -'0','val_0','2008-04-08','11' -'455','val_455','2008-04-08','11' -'128','val_128','2008-04-08','11' -'311','val_311','2008-04-08','11' -'316','val_316','2008-04-08','11' -'57','val_57','2008-04-08','11' -'302','val_302','2008-04-08','11' -'205','val_205','2008-04-08','11' -'149','val_149','2008-04-08','11' -'438','val_438','2008-04-08','11' -'345','val_345','2008-04-08','11' -'129','val_129','2008-04-08','11' -'170','val_170','2008-04-08','11' -'20','val_20','2008-04-08','11' -'489','val_489','2008-04-08','11' -'157','val_157','2008-04-08','11' -'378','val_378','2008-04-08','11' -'221','val_221','2008-04-08','11' -'92','val_92','2008-04-08','11' -'111','val_111','2008-04-08','11' -'47','val_47','2008-04-08','11' -'72','val_72','2008-04-08','11' -'4','val_4','2008-04-08','11' -'280','val_280','2008-04-08','11' -'35','val_35','2008-04-08','11' -'427','val_427','2008-04-08','11' -'277','val_277','2008-04-08','11' -'208','val_208','2008-04-08','11' -'356','val_356','2008-04-08','11' -'399','val_399','2008-04-08','11' -'169','val_169','2008-04-08','11' -'382','val_382','2008-04-08','11' -'498','val_498','2008-04-08','11' -'125','val_125','2008-04-08','11' -'386','val_386','2008-04-08','11' -'437','val_437','2008-04-08','11' -'469','val_469','2008-04-08','11' -'192','val_192','2008-04-08','11' -'286','val_286','2008-04-08','11' -'187','val_187','2008-04-08','11' -'176','val_176','2008-04-08','11' -'54','val_54','2008-04-08','11' -'459','val_459','2008-04-08','11' -'51','val_51','2008-04-08','11' -'138','val_138','2008-04-08','11' -'103','val_103','2008-04-08','11' -'239','val_239','2008-04-08','11' -'213','val_213','2008-04-08','11' -'216','val_216','2008-04-08','11' -'430','val_430','2008-04-08','11' -'278','val_278','2008-04-08','11' -'176','val_176','2008-04-08','11' -'289','val_289','2008-04-08','11' -'221','val_221','2008-04-08','11' -'65','val_65','2008-04-08','11' -'318','val_318','2008-04-08','11' -'332','val_332','2008-04-08','11' -'311','val_311','2008-04-08','11' -'275','val_275','2008-04-08','11' -'137','val_137','2008-04-08','11' -'241','val_241','2008-04-08','11' -'83','val_83','2008-04-08','11' -'333','val_333','2008-04-08','11' -'180','val_180','2008-04-08','11' -'284','val_284','2008-04-08','11' -'12','val_12','2008-04-08','11' -'230','val_230','2008-04-08','11' -'181','val_181','2008-04-08','11' -'67','val_67','2008-04-08','11' -'260','val_260','2008-04-08','11' -'404','val_404','2008-04-08','11' -'384','val_384','2008-04-08','11' -'489','val_489','2008-04-08','11' -'353','val_353','2008-04-08','11' -'373','val_373','2008-04-08','11' -'272','val_272','2008-04-08','11' -'138','val_138','2008-04-08','11' -'217','val_217','2008-04-08','11' -'84','val_84','2008-04-08','11' -'348','val_348','2008-04-08','11' -'466','val_466','2008-04-08','11' -'58','val_58','2008-04-08','11' -'8','val_8','2008-04-08','11' -'411','val_411','2008-04-08','11' -'230','val_230','2008-04-08','11' -'208','val_208','2008-04-08','11' -'348','val_348','2008-04-08','11' -'24','val_24','2008-04-08','11' -'463','val_463','2008-04-08','11' -'431','val_431','2008-04-08','11' -'179','val_179','2008-04-08','11' -'172','val_172','2008-04-08','11' -'42','val_42','2008-04-08','11' -'129','val_129','2008-04-08','11' -'158','val_158','2008-04-08','11' -'119','val_119','2008-04-08','11' -'496','val_496','2008-04-08','11' -'0','val_0','2008-04-08','11' -'322','val_322','2008-04-08','11' -'197','val_197','2008-04-08','11' -'468','val_468','2008-04-08','11' -'393','val_393','2008-04-08','11' -'454','val_454','2008-04-08','11' -'100','val_100','2008-04-08','11' -'298','val_298','2008-04-08','11' -'199','val_199','2008-04-08','11' -'191','val_191','2008-04-08','11' -'418','val_418','2008-04-08','11' -'96','val_96','2008-04-08','11' -'26','val_26','2008-04-08','11' -'165','val_165','2008-04-08','11' -'327','val_327','2008-04-08','11' -'230','val_230','2008-04-08','11' -'205','val_205','2008-04-08','11' -'120','val_120','2008-04-08','11' -'131','val_131','2008-04-08','11' -'51','val_51','2008-04-08','11' -'404','val_404','2008-04-08','11' -'43','val_43','2008-04-08','11' -'436','val_436','2008-04-08','11' -'156','val_156','2008-04-08','11' -'469','val_469','2008-04-08','11' -'468','val_468','2008-04-08','11' -'308','val_308','2008-04-08','11' -'95','val_95','2008-04-08','11' -'196','val_196','2008-04-08','11' -'288','val_288','2008-04-08','11' -'481','val_481','2008-04-08','11' -'457','val_457','2008-04-08','11' -'98','val_98','2008-04-08','11' -'282','val_282','2008-04-08','11' -'197','val_197','2008-04-08','11' -'187','val_187','2008-04-08','11' -'318','val_318','2008-04-08','11' -'318','val_318','2008-04-08','11' -'409','val_409','2008-04-08','11' -'470','val_470','2008-04-08','11' -'137','val_137','2008-04-08','11' -'369','val_369','2008-04-08','11' -'316','val_316','2008-04-08','11' -'169','val_169','2008-04-08','11' -'413','val_413','2008-04-08','11' -'85','val_85','2008-04-08','11' -'77','val_77','2008-04-08','11' -'0','val_0','2008-04-08','11' -'490','val_490','2008-04-08','11' -'87','val_87','2008-04-08','11' -'364','val_364','2008-04-08','11' -'179','val_179','2008-04-08','11' -'118','val_118','2008-04-08','11' -'134','val_134','2008-04-08','11' -'395','val_395','2008-04-08','11' -'282','val_282','2008-04-08','11' -'138','val_138','2008-04-08','11' -'238','val_238','2008-04-08','11' -'419','val_419','2008-04-08','11' -'15','val_15','2008-04-08','11' -'118','val_118','2008-04-08','11' -'72','val_72','2008-04-08','11' -'90','val_90','2008-04-08','11' -'307','val_307','2008-04-08','11' -'19','val_19','2008-04-08','11' -'435','val_435','2008-04-08','11' -'10','val_10','2008-04-08','11' -'277','val_277','2008-04-08','11' -'273','val_273','2008-04-08','11' -'306','val_306','2008-04-08','11' -'224','val_224','2008-04-08','11' -'309','val_309','2008-04-08','11' -'389','val_389','2008-04-08','11' -'327','val_327','2008-04-08','11' -'242','val_242','2008-04-08','11' -'369','val_369','2008-04-08','11' -'392','val_392','2008-04-08','11' -'272','val_272','2008-04-08','11' -'331','val_331','2008-04-08','11' -'401','val_401','2008-04-08','11' -'242','val_242','2008-04-08','11' -'452','val_452','2008-04-08','11' -'177','val_177','2008-04-08','11' -'226','val_226','2008-04-08','11' -'5','val_5','2008-04-08','11' -'497','val_497','2008-04-08','11' -'402','val_402','2008-04-08','11' -'396','val_396','2008-04-08','11' -'317','val_317','2008-04-08','11' -'395','val_395','2008-04-08','11' -'58','val_58','2008-04-08','11' -'35','val_35','2008-04-08','11' -'336','val_336','2008-04-08','11' -'95','val_95','2008-04-08','11' -'11','val_11','2008-04-08','11' -'168','val_168','2008-04-08','11' -'34','val_34','2008-04-08','11' -'229','val_229','2008-04-08','11' -'233','val_233','2008-04-08','11' -'143','val_143','2008-04-08','11' -'472','val_472','2008-04-08','11' -'322','val_322','2008-04-08','11' -'498','val_498','2008-04-08','11' -'160','val_160','2008-04-08','11' -'195','val_195','2008-04-08','11' -'42','val_42','2008-04-08','11' -'321','val_321','2008-04-08','11' -'430','val_430','2008-04-08','11' -'119','val_119','2008-04-08','11' -'489','val_489','2008-04-08','11' -'458','val_458','2008-04-08','11' -'78','val_78','2008-04-08','11' -'76','val_76','2008-04-08','11' -'41','val_41','2008-04-08','11' -'223','val_223','2008-04-08','11' -'492','val_492','2008-04-08','11' -'149','val_149','2008-04-08','11' -'449','val_449','2008-04-08','11' -'218','val_218','2008-04-08','11' -'228','val_228','2008-04-08','11' -'138','val_138','2008-04-08','11' -'453','val_453','2008-04-08','11' -'30','val_30','2008-04-08','11' -'209','val_209','2008-04-08','11' -'64','val_64','2008-04-08','11' -'468','val_468','2008-04-08','11' -'76','val_76','2008-04-08','11' -'74','val_74','2008-04-08','11' -'342','val_342','2008-04-08','11' -'69','val_69','2008-04-08','11' -'230','val_230','2008-04-08','11' -'33','val_33','2008-04-08','11' -'368','val_368','2008-04-08','11' -'103','val_103','2008-04-08','11' -'296','val_296','2008-04-08','11' -'113','val_113','2008-04-08','11' -'216','val_216','2008-04-08','11' -'367','val_367','2008-04-08','11' -'344','val_344','2008-04-08','11' -'167','val_167','2008-04-08','11' -'274','val_274','2008-04-08','11' -'219','val_219','2008-04-08','11' -'239','val_239','2008-04-08','11' -'485','val_485','2008-04-08','11' -'116','val_116','2008-04-08','11' -'223','val_223','2008-04-08','11' -'256','val_256','2008-04-08','11' -'263','val_263','2008-04-08','11' -'70','val_70','2008-04-08','11' -'487','val_487','2008-04-08','11' -'480','val_480','2008-04-08','11' -'401','val_401','2008-04-08','11' -'288','val_288','2008-04-08','11' -'191','val_191','2008-04-08','11' -'5','val_5','2008-04-08','11' -'244','val_244','2008-04-08','11' -'438','val_438','2008-04-08','11' -'128','val_128','2008-04-08','11' -'467','val_467','2008-04-08','11' -'432','val_432','2008-04-08','11' -'202','val_202','2008-04-08','11' -'316','val_316','2008-04-08','11' -'229','val_229','2008-04-08','11' -'469','val_469','2008-04-08','11' -'463','val_463','2008-04-08','11' -'280','val_280','2008-04-08','11' -'2','val_2','2008-04-08','11' -'35','val_35','2008-04-08','11' -'283','val_283','2008-04-08','11' -'331','val_331','2008-04-08','11' -'235','val_235','2008-04-08','11' -'80','val_80','2008-04-08','11' -'44','val_44','2008-04-08','11' -'193','val_193','2008-04-08','11' -'321','val_321','2008-04-08','11' -'335','val_335','2008-04-08','11' -'104','val_104','2008-04-08','11' -'466','val_466','2008-04-08','11' -'366','val_366','2008-04-08','11' -'175','val_175','2008-04-08','11' -'403','val_403','2008-04-08','11' -'483','val_483','2008-04-08','11' -'53','val_53','2008-04-08','11' -'105','val_105','2008-04-08','11' -'257','val_257','2008-04-08','11' -'406','val_406','2008-04-08','11' -'409','val_409','2008-04-08','11' -'190','val_190','2008-04-08','11' -'406','val_406','2008-04-08','11' -'401','val_401','2008-04-08','11' -'114','val_114','2008-04-08','11' -'258','val_258','2008-04-08','11' -'90','val_90','2008-04-08','11' -'203','val_203','2008-04-08','11' -'262','val_262','2008-04-08','11' -'348','val_348','2008-04-08','11' -'424','val_424','2008-04-08','11' -'12','val_12','2008-04-08','11' -'396','val_396','2008-04-08','11' -'201','val_201','2008-04-08','11' -'217','val_217','2008-04-08','11' -'164','val_164','2008-04-08','11' -'431','val_431','2008-04-08','11' -'454','val_454','2008-04-08','11' -'478','val_478','2008-04-08','11' -'298','val_298','2008-04-08','11' -'125','val_125','2008-04-08','11' -'431','val_431','2008-04-08','11' -'164','val_164','2008-04-08','11' -'424','val_424','2008-04-08','11' -'187','val_187','2008-04-08','11' -'382','val_382','2008-04-08','11' -'5','val_5','2008-04-08','11' -'70','val_70','2008-04-08','11' -'397','val_397','2008-04-08','11' -'480','val_480','2008-04-08','11' -'291','val_291','2008-04-08','11' -'24','val_24','2008-04-08','11' -'351','val_351','2008-04-08','11' -'255','val_255','2008-04-08','11' -'104','val_104','2008-04-08','11' -'70','val_70','2008-04-08','11' -'163','val_163','2008-04-08','11' -'438','val_438','2008-04-08','11' -'119','val_119','2008-04-08','11' -'414','val_414','2008-04-08','11' -'200','val_200','2008-04-08','11' -'491','val_491','2008-04-08','11' -'237','val_237','2008-04-08','11' -'439','val_439','2008-04-08','11' -'360','val_360','2008-04-08','11' -'248','val_248','2008-04-08','11' -'479','val_479','2008-04-08','11' -'305','val_305','2008-04-08','11' -'417','val_417','2008-04-08','11' -'199','val_199','2008-04-08','11' -'444','val_444','2008-04-08','11' -'120','val_120','2008-04-08','11' -'429','val_429','2008-04-08','11' -'169','val_169','2008-04-08','11' -'443','val_443','2008-04-08','11' -'323','val_323','2008-04-08','11' -'325','val_325','2008-04-08','11' -'277','val_277','2008-04-08','11' -'230','val_230','2008-04-08','11' -'478','val_478','2008-04-08','11' -'178','val_178','2008-04-08','11' -'468','val_468','2008-04-08','11' -'310','val_310','2008-04-08','11' -'317','val_317','2008-04-08','11' -'333','val_333','2008-04-08','11' -'493','val_493','2008-04-08','11' -'460','val_460','2008-04-08','11' -'207','val_207','2008-04-08','11' -'249','val_249','2008-04-08','11' -'265','val_265','2008-04-08','11' -'480','val_480','2008-04-08','11' -'83','val_83','2008-04-08','11' -'136','val_136','2008-04-08','11' -'353','val_353','2008-04-08','11' -'172','val_172','2008-04-08','11' -'214','val_214','2008-04-08','11' -'462','val_462','2008-04-08','11' -'233','val_233','2008-04-08','11' -'406','val_406','2008-04-08','11' -'133','val_133','2008-04-08','11' -'175','val_175','2008-04-08','11' -'189','val_189','2008-04-08','11' -'454','val_454','2008-04-08','11' -'375','val_375','2008-04-08','11' -'401','val_401','2008-04-08','11' -'421','val_421','2008-04-08','11' -'407','val_407','2008-04-08','11' -'384','val_384','2008-04-08','11' -'256','val_256','2008-04-08','11' -'26','val_26','2008-04-08','11' -'134','val_134','2008-04-08','11' -'67','val_67','2008-04-08','11' -'384','val_384','2008-04-08','11' -'379','val_379','2008-04-08','11' -'18','val_18','2008-04-08','11' -'462','val_462','2008-04-08','11' -'492','val_492','2008-04-08','11' -'100','val_100','2008-04-08','11' -'298','val_298','2008-04-08','11' -'9','val_9','2008-04-08','11' -'341','val_341','2008-04-08','11' -'498','val_498','2008-04-08','11' -'146','val_146','2008-04-08','11' -'458','val_458','2008-04-08','11' -'362','val_362','2008-04-08','11' -'186','val_186','2008-04-08','11' -'285','val_285','2008-04-08','11' -'348','val_348','2008-04-08','11' -'167','val_167','2008-04-08','11' -'18','val_18','2008-04-08','11' -'273','val_273','2008-04-08','11' -'183','val_183','2008-04-08','11' -'281','val_281','2008-04-08','11' -'344','val_344','2008-04-08','11' -'97','val_97','2008-04-08','11' -'469','val_469','2008-04-08','11' -'315','val_315','2008-04-08','11' -'84','val_84','2008-04-08','11' -'28','val_28','2008-04-08','11' -'37','val_37','2008-04-08','11' -'448','val_448','2008-04-08','11' -'152','val_152','2008-04-08','11' -'348','val_348','2008-04-08','11' -'307','val_307','2008-04-08','11' -'194','val_194','2008-04-08','11' -'414','val_414','2008-04-08','11' -'477','val_477','2008-04-08','11' -'222','val_222','2008-04-08','11' -'126','val_126','2008-04-08','11' -'90','val_90','2008-04-08','11' -'169','val_169','2008-04-08','11' -'403','val_403','2008-04-08','11' -'400','val_400','2008-04-08','11' -'200','val_200','2008-04-08','11' -'97','val_97','2008-04-08','11' -'238','val_238','2008-04-08','12' -'86','val_86','2008-04-08','12' -'311','val_311','2008-04-08','12' -'27','val_27','2008-04-08','12' -'165','val_165','2008-04-08','12' -'409','val_409','2008-04-08','12' -'255','val_255','2008-04-08','12' -'278','val_278','2008-04-08','12' -'98','val_98','2008-04-08','12' -'484','val_484','2008-04-08','12' -'265','val_265','2008-04-08','12' -'193','val_193','2008-04-08','12' -'401','val_401','2008-04-08','12' -'150','val_150','2008-04-08','12' -'273','val_273','2008-04-08','12' -'224','val_224','2008-04-08','12' -'369','val_369','2008-04-08','12' -'66','val_66','2008-04-08','12' -'128','val_128','2008-04-08','12' -'213','val_213','2008-04-08','12' -'146','val_146','2008-04-08','12' -'406','val_406','2008-04-08','12' -'429','val_429','2008-04-08','12' -'374','val_374','2008-04-08','12' -'152','val_152','2008-04-08','12' -'469','val_469','2008-04-08','12' -'145','val_145','2008-04-08','12' -'495','val_495','2008-04-08','12' -'37','val_37','2008-04-08','12' -'327','val_327','2008-04-08','12' -'281','val_281','2008-04-08','12' -'277','val_277','2008-04-08','12' -'209','val_209','2008-04-08','12' -'15','val_15','2008-04-08','12' -'82','val_82','2008-04-08','12' -'403','val_403','2008-04-08','12' -'166','val_166','2008-04-08','12' -'417','val_417','2008-04-08','12' -'430','val_430','2008-04-08','12' -'252','val_252','2008-04-08','12' -'292','val_292','2008-04-08','12' -'219','val_219','2008-04-08','12' -'287','val_287','2008-04-08','12' -'153','val_153','2008-04-08','12' -'193','val_193','2008-04-08','12' -'338','val_338','2008-04-08','12' -'446','val_446','2008-04-08','12' -'459','val_459','2008-04-08','12' -'394','val_394','2008-04-08','12' -'237','val_237','2008-04-08','12' -'482','val_482','2008-04-08','12' -'174','val_174','2008-04-08','12' -'413','val_413','2008-04-08','12' -'494','val_494','2008-04-08','12' -'207','val_207','2008-04-08','12' -'199','val_199','2008-04-08','12' -'466','val_466','2008-04-08','12' -'208','val_208','2008-04-08','12' -'174','val_174','2008-04-08','12' -'399','val_399','2008-04-08','12' -'396','val_396','2008-04-08','12' -'247','val_247','2008-04-08','12' -'417','val_417','2008-04-08','12' -'489','val_489','2008-04-08','12' -'162','val_162','2008-04-08','12' -'377','val_377','2008-04-08','12' -'397','val_397','2008-04-08','12' -'309','val_309','2008-04-08','12' -'365','val_365','2008-04-08','12' -'266','val_266','2008-04-08','12' -'439','val_439','2008-04-08','12' -'342','val_342','2008-04-08','12' -'367','val_367','2008-04-08','12' -'325','val_325','2008-04-08','12' -'167','val_167','2008-04-08','12' -'195','val_195','2008-04-08','12' -'475','val_475','2008-04-08','12' -'17','val_17','2008-04-08','12' -'113','val_113','2008-04-08','12' -'155','val_155','2008-04-08','12' -'203','val_203','2008-04-08','12' -'339','val_339','2008-04-08','12' -'0','val_0','2008-04-08','12' -'455','val_455','2008-04-08','12' -'128','val_128','2008-04-08','12' -'311','val_311','2008-04-08','12' -'316','val_316','2008-04-08','12' -'57','val_57','2008-04-08','12' -'302','val_302','2008-04-08','12' -'205','val_205','2008-04-08','12' -'149','val_149','2008-04-08','12' -'438','val_438','2008-04-08','12' -'345','val_345','2008-04-08','12' -'129','val_129','2008-04-08','12' -'170','val_170','2008-04-08','12' -'20','val_20','2008-04-08','12' -'489','val_489','2008-04-08','12' -'157','val_157','2008-04-08','12' -'378','val_378','2008-04-08','12' -'221','val_221','2008-04-08','12' -'92','val_92','2008-04-08','12' -'111','val_111','2008-04-08','12' -'47','val_47','2008-04-08','12' -'72','val_72','2008-04-08','12' -'4','val_4','2008-04-08','12' -'280','val_280','2008-04-08','12' -'35','val_35','2008-04-08','12' -'427','val_427','2008-04-08','12' -'277','val_277','2008-04-08','12' -'208','val_208','2008-04-08','12' -'356','val_356','2008-04-08','12' -'399','val_399','2008-04-08','12' -'169','val_169','2008-04-08','12' -'382','val_382','2008-04-08','12' -'498','val_498','2008-04-08','12' -'125','val_125','2008-04-08','12' -'386','val_386','2008-04-08','12' -'437','val_437','2008-04-08','12' -'469','val_469','2008-04-08','12' -'192','val_192','2008-04-08','12' -'286','val_286','2008-04-08','12' -'187','val_187','2008-04-08','12' -'176','val_176','2008-04-08','12' -'54','val_54','2008-04-08','12' -'459','val_459','2008-04-08','12' -'51','val_51','2008-04-08','12' -'138','val_138','2008-04-08','12' -'103','val_103','2008-04-08','12' -'239','val_239','2008-04-08','12' -'213','val_213','2008-04-08','12' -'216','val_216','2008-04-08','12' -'430','val_430','2008-04-08','12' -'278','val_278','2008-04-08','12' -'176','val_176','2008-04-08','12' -'289','val_289','2008-04-08','12' -'221','val_221','2008-04-08','12' -'65','val_65','2008-04-08','12' -'318','val_318','2008-04-08','12' -'332','val_332','2008-04-08','12' -'311','val_311','2008-04-08','12' -'275','val_275','2008-04-08','12' -'137','val_137','2008-04-08','12' -'241','val_241','2008-04-08','12' -'83','val_83','2008-04-08','12' -'333','val_333','2008-04-08','12' -'180','val_180','2008-04-08','12' -'284','val_284','2008-04-08','12' -'12','val_12','2008-04-08','12' -'230','val_230','2008-04-08','12' -'181','val_181','2008-04-08','12' -'67','val_67','2008-04-08','12' -'260','val_260','2008-04-08','12' -'404','val_404','2008-04-08','12' -'384','val_384','2008-04-08','12' -'489','val_489','2008-04-08','12' -'353','val_353','2008-04-08','12' -'373','val_373','2008-04-08','12' -'272','val_272','2008-04-08','12' -'138','val_138','2008-04-08','12' -'217','val_217','2008-04-08','12' -'84','val_84','2008-04-08','12' -'348','val_348','2008-04-08','12' -'466','val_466','2008-04-08','12' -'58','val_58','2008-04-08','12' -'8','val_8','2008-04-08','12' -'411','val_411','2008-04-08','12' -'230','val_230','2008-04-08','12' -'208','val_208','2008-04-08','12' -'348','val_348','2008-04-08','12' -'24','val_24','2008-04-08','12' -'463','val_463','2008-04-08','12' -'431','val_431','2008-04-08','12' -'179','val_179','2008-04-08','12' -'172','val_172','2008-04-08','12' -'42','val_42','2008-04-08','12' -'129','val_129','2008-04-08','12' -'158','val_158','2008-04-08','12' -'119','val_119','2008-04-08','12' -'496','val_496','2008-04-08','12' -'0','val_0','2008-04-08','12' -'322','val_322','2008-04-08','12' -'197','val_197','2008-04-08','12' -'468','val_468','2008-04-08','12' -'393','val_393','2008-04-08','12' -'454','val_454','2008-04-08','12' -'100','val_100','2008-04-08','12' -'298','val_298','2008-04-08','12' -'199','val_199','2008-04-08','12' -'191','val_191','2008-04-08','12' -'418','val_418','2008-04-08','12' -'96','val_96','2008-04-08','12' -'26','val_26','2008-04-08','12' -'165','val_165','2008-04-08','12' -'327','val_327','2008-04-08','12' -'230','val_230','2008-04-08','12' -'205','val_205','2008-04-08','12' -'120','val_120','2008-04-08','12' -'131','val_131','2008-04-08','12' -'51','val_51','2008-04-08','12' -'404','val_404','2008-04-08','12' -'43','val_43','2008-04-08','12' -'436','val_436','2008-04-08','12' -'156','val_156','2008-04-08','12' -'469','val_469','2008-04-08','12' -'468','val_468','2008-04-08','12' -'308','val_308','2008-04-08','12' -'95','val_95','2008-04-08','12' -'196','val_196','2008-04-08','12' -'288','val_288','2008-04-08','12' -'481','val_481','2008-04-08','12' -'457','val_457','2008-04-08','12' -'98','val_98','2008-04-08','12' -'282','val_282','2008-04-08','12' -'197','val_197','2008-04-08','12' -'187','val_187','2008-04-08','12' -'318','val_318','2008-04-08','12' -'318','val_318','2008-04-08','12' -'409','val_409','2008-04-08','12' -'470','val_470','2008-04-08','12' -'137','val_137','2008-04-08','12' -'369','val_369','2008-04-08','12' -'316','val_316','2008-04-08','12' -'169','val_169','2008-04-08','12' -'413','val_413','2008-04-08','12' -'85','val_85','2008-04-08','12' -'77','val_77','2008-04-08','12' -'0','val_0','2008-04-08','12' -'490','val_490','2008-04-08','12' -'87','val_87','2008-04-08','12' -'364','val_364','2008-04-08','12' -'179','val_179','2008-04-08','12' -'118','val_118','2008-04-08','12' -'134','val_134','2008-04-08','12' -'395','val_395','2008-04-08','12' -'282','val_282','2008-04-08','12' -'138','val_138','2008-04-08','12' -'238','val_238','2008-04-08','12' -'419','val_419','2008-04-08','12' -'15','val_15','2008-04-08','12' -'118','val_118','2008-04-08','12' -'72','val_72','2008-04-08','12' -'90','val_90','2008-04-08','12' -'307','val_307','2008-04-08','12' -'19','val_19','2008-04-08','12' -'435','val_435','2008-04-08','12' -'10','val_10','2008-04-08','12' -'277','val_277','2008-04-08','12' -'273','val_273','2008-04-08','12' -'306','val_306','2008-04-08','12' -'224','val_224','2008-04-08','12' -'309','val_309','2008-04-08','12' -'389','val_389','2008-04-08','12' -'327','val_327','2008-04-08','12' -'242','val_242','2008-04-08','12' -'369','val_369','2008-04-08','12' -'392','val_392','2008-04-08','12' -'272','val_272','2008-04-08','12' -'331','val_331','2008-04-08','12' -'401','val_401','2008-04-08','12' -'242','val_242','2008-04-08','12' -'452','val_452','2008-04-08','12' -'177','val_177','2008-04-08','12' -'226','val_226','2008-04-08','12' -'5','val_5','2008-04-08','12' -'497','val_497','2008-04-08','12' -'402','val_402','2008-04-08','12' -'396','val_396','2008-04-08','12' -'317','val_317','2008-04-08','12' -'395','val_395','2008-04-08','12' -'58','val_58','2008-04-08','12' -'35','val_35','2008-04-08','12' -'336','val_336','2008-04-08','12' -'95','val_95','2008-04-08','12' -'11','val_11','2008-04-08','12' -'168','val_168','2008-04-08','12' -'34','val_34','2008-04-08','12' -'229','val_229','2008-04-08','12' -'233','val_233','2008-04-08','12' -'143','val_143','2008-04-08','12' -'472','val_472','2008-04-08','12' -'322','val_322','2008-04-08','12' -'498','val_498','2008-04-08','12' -'160','val_160','2008-04-08','12' -'195','val_195','2008-04-08','12' -'42','val_42','2008-04-08','12' -'321','val_321','2008-04-08','12' -'430','val_430','2008-04-08','12' -'119','val_119','2008-04-08','12' -'489','val_489','2008-04-08','12' -'458','val_458','2008-04-08','12' -'78','val_78','2008-04-08','12' -'76','val_76','2008-04-08','12' -'41','val_41','2008-04-08','12' -'223','val_223','2008-04-08','12' -'492','val_492','2008-04-08','12' -'149','val_149','2008-04-08','12' -'449','val_449','2008-04-08','12' -'218','val_218','2008-04-08','12' -'228','val_228','2008-04-08','12' -'138','val_138','2008-04-08','12' -'453','val_453','2008-04-08','12' -'30','val_30','2008-04-08','12' -'209','val_209','2008-04-08','12' -'64','val_64','2008-04-08','12' -'468','val_468','2008-04-08','12' -'76','val_76','2008-04-08','12' -'74','val_74','2008-04-08','12' -'342','val_342','2008-04-08','12' -'69','val_69','2008-04-08','12' -'230','val_230','2008-04-08','12' -'33','val_33','2008-04-08','12' -'368','val_368','2008-04-08','12' -'103','val_103','2008-04-08','12' -'296','val_296','2008-04-08','12' -'113','val_113','2008-04-08','12' -'216','val_216','2008-04-08','12' -'367','val_367','2008-04-08','12' -'344','val_344','2008-04-08','12' -'167','val_167','2008-04-08','12' -'274','val_274','2008-04-08','12' -'219','val_219','2008-04-08','12' -'239','val_239','2008-04-08','12' -'485','val_485','2008-04-08','12' -'116','val_116','2008-04-08','12' -'223','val_223','2008-04-08','12' -'256','val_256','2008-04-08','12' -'263','val_263','2008-04-08','12' -'70','val_70','2008-04-08','12' -'487','val_487','2008-04-08','12' -'480','val_480','2008-04-08','12' -'401','val_401','2008-04-08','12' -'288','val_288','2008-04-08','12' -'191','val_191','2008-04-08','12' -'5','val_5','2008-04-08','12' -'244','val_244','2008-04-08','12' -'438','val_438','2008-04-08','12' -'128','val_128','2008-04-08','12' -'467','val_467','2008-04-08','12' -'432','val_432','2008-04-08','12' -'202','val_202','2008-04-08','12' -'316','val_316','2008-04-08','12' -'229','val_229','2008-04-08','12' -'469','val_469','2008-04-08','12' -'463','val_463','2008-04-08','12' -'280','val_280','2008-04-08','12' -'2','val_2','2008-04-08','12' -'35','val_35','2008-04-08','12' -'283','val_283','2008-04-08','12' -'331','val_331','2008-04-08','12' -'235','val_235','2008-04-08','12' -'80','val_80','2008-04-08','12' -'44','val_44','2008-04-08','12' -'193','val_193','2008-04-08','12' -'321','val_321','2008-04-08','12' -'335','val_335','2008-04-08','12' -'104','val_104','2008-04-08','12' -'466','val_466','2008-04-08','12' -'366','val_366','2008-04-08','12' -'175','val_175','2008-04-08','12' -'403','val_403','2008-04-08','12' -'483','val_483','2008-04-08','12' -'53','val_53','2008-04-08','12' -'105','val_105','2008-04-08','12' -'257','val_257','2008-04-08','12' -'406','val_406','2008-04-08','12' -'409','val_409','2008-04-08','12' -'190','val_190','2008-04-08','12' -'406','val_406','2008-04-08','12' -'401','val_401','2008-04-08','12' -'114','val_114','2008-04-08','12' -'258','val_258','2008-04-08','12' -'90','val_90','2008-04-08','12' -'203','val_203','2008-04-08','12' -'262','val_262','2008-04-08','12' -'348','val_348','2008-04-08','12' -'424','val_424','2008-04-08','12' -'12','val_12','2008-04-08','12' -'396','val_396','2008-04-08','12' -'201','val_201','2008-04-08','12' -'217','val_217','2008-04-08','12' -'164','val_164','2008-04-08','12' -'431','val_431','2008-04-08','12' -'454','val_454','2008-04-08','12' -'478','val_478','2008-04-08','12' -'298','val_298','2008-04-08','12' -'125','val_125','2008-04-08','12' -'431','val_431','2008-04-08','12' -'164','val_164','2008-04-08','12' -'424','val_424','2008-04-08','12' -'187','val_187','2008-04-08','12' -'382','val_382','2008-04-08','12' -'5','val_5','2008-04-08','12' -'70','val_70','2008-04-08','12' -'397','val_397','2008-04-08','12' -'480','val_480','2008-04-08','12' -'291','val_291','2008-04-08','12' -'24','val_24','2008-04-08','12' -'351','val_351','2008-04-08','12' -'255','val_255','2008-04-08','12' -'104','val_104','2008-04-08','12' -'70','val_70','2008-04-08','12' -'163','val_163','2008-04-08','12' -'438','val_438','2008-04-08','12' -'119','val_119','2008-04-08','12' -'414','val_414','2008-04-08','12' -'200','val_200','2008-04-08','12' -'491','val_491','2008-04-08','12' -'237','val_237','2008-04-08','12' -'439','val_439','2008-04-08','12' -'360','val_360','2008-04-08','12' -'248','val_248','2008-04-08','12' -'479','val_479','2008-04-08','12' -'305','val_305','2008-04-08','12' -'417','val_417','2008-04-08','12' -'199','val_199','2008-04-08','12' -'444','val_444','2008-04-08','12' -'120','val_120','2008-04-08','12' -'429','val_429','2008-04-08','12' -'169','val_169','2008-04-08','12' -'443','val_443','2008-04-08','12' -'323','val_323','2008-04-08','12' -'325','val_325','2008-04-08','12' -'277','val_277','2008-04-08','12' -'230','val_230','2008-04-08','12' -'478','val_478','2008-04-08','12' -'178','val_178','2008-04-08','12' -'468','val_468','2008-04-08','12' -'310','val_310','2008-04-08','12' -'317','val_317','2008-04-08','12' -'333','val_333','2008-04-08','12' -'493','val_493','2008-04-08','12' -'460','val_460','2008-04-08','12' -'207','val_207','2008-04-08','12' -'249','val_249','2008-04-08','12' -'265','val_265','2008-04-08','12' -'480','val_480','2008-04-08','12' -'83','val_83','2008-04-08','12' -'136','val_136','2008-04-08','12' -'353','val_353','2008-04-08','12' -'172','val_172','2008-04-08','12' -'214','val_214','2008-04-08','12' -'462','val_462','2008-04-08','12' -'233','val_233','2008-04-08','12' -'406','val_406','2008-04-08','12' -'133','val_133','2008-04-08','12' -'175','val_175','2008-04-08','12' -'189','val_189','2008-04-08','12' -'454','val_454','2008-04-08','12' -'375','val_375','2008-04-08','12' -'401','val_401','2008-04-08','12' -'421','val_421','2008-04-08','12' -'407','val_407','2008-04-08','12' -'384','val_384','2008-04-08','12' -'256','val_256','2008-04-08','12' -'26','val_26','2008-04-08','12' -'134','val_134','2008-04-08','12' -'67','val_67','2008-04-08','12' -'384','val_384','2008-04-08','12' -'379','val_379','2008-04-08','12' -'18','val_18','2008-04-08','12' -'462','val_462','2008-04-08','12' -'492','val_492','2008-04-08','12' -'100','val_100','2008-04-08','12' -'298','val_298','2008-04-08','12' -'9','val_9','2008-04-08','12' -'341','val_341','2008-04-08','12' -'498','val_498','2008-04-08','12' -'146','val_146','2008-04-08','12' -'458','val_458','2008-04-08','12' -'362','val_362','2008-04-08','12' -'186','val_186','2008-04-08','12' -'285','val_285','2008-04-08','12' -'348','val_348','2008-04-08','12' -'167','val_167','2008-04-08','12' -'18','val_18','2008-04-08','12' -'273','val_273','2008-04-08','12' -'183','val_183','2008-04-08','12' -'281','val_281','2008-04-08','12' -'344','val_344','2008-04-08','12' -'97','val_97','2008-04-08','12' -'469','val_469','2008-04-08','12' -'315','val_315','2008-04-08','12' -'84','val_84','2008-04-08','12' -'28','val_28','2008-04-08','12' -'37','val_37','2008-04-08','12' -'448','val_448','2008-04-08','12' -'152','val_152','2008-04-08','12' -'348','val_348','2008-04-08','12' -'307','val_307','2008-04-08','12' -'194','val_194','2008-04-08','12' -'414','val_414','2008-04-08','12' -'477','val_477','2008-04-08','12' -'222','val_222','2008-04-08','12' -'126','val_126','2008-04-08','12' -'90','val_90','2008-04-08','12' -'169','val_169','2008-04-08','12' -'403','val_403','2008-04-08','12' -'400','val_400','2008-04-08','12' -'200','val_200','2008-04-08','12' -'97','val_97','2008-04-08','12' -'238','val_238','2008-12-31','11' -'86','val_86','2008-12-31','11' -'311','val_311','2008-12-31','11' -'27','val_27','2008-12-31','11' -'165','val_165','2008-12-31','11' -'409','val_409','2008-12-31','11' -'255','val_255','2008-12-31','11' -'278','val_278','2008-12-31','11' -'98','val_98','2008-12-31','11' -'484','val_484','2008-12-31','11' -'265','val_265','2008-12-31','11' -'193','val_193','2008-12-31','11' -'401','val_401','2008-12-31','11' -'150','val_150','2008-12-31','11' -'273','val_273','2008-12-31','11' -'224','val_224','2008-12-31','11' -'369','val_369','2008-12-31','11' -'66','val_66','2008-12-31','11' -'128','val_128','2008-12-31','11' -'213','val_213','2008-12-31','11' -'146','val_146','2008-12-31','11' -'406','val_406','2008-12-31','11' -'429','val_429','2008-12-31','11' -'374','val_374','2008-12-31','11' -'152','val_152','2008-12-31','11' -'469','val_469','2008-12-31','11' -'145','val_145','2008-12-31','11' -'495','val_495','2008-12-31','11' -'37','val_37','2008-12-31','11' -'327','val_327','2008-12-31','11' -'281','val_281','2008-12-31','11' -'277','val_277','2008-12-31','11' -'209','val_209','2008-12-31','11' -'15','val_15','2008-12-31','11' -'82','val_82','2008-12-31','11' -'403','val_403','2008-12-31','11' -'166','val_166','2008-12-31','11' -'417','val_417','2008-12-31','11' -'430','val_430','2008-12-31','11' -'252','val_252','2008-12-31','11' -'292','val_292','2008-12-31','11' -'219','val_219','2008-12-31','11' -'287','val_287','2008-12-31','11' -'153','val_153','2008-12-31','11' -'193','val_193','2008-12-31','11' -'338','val_338','2008-12-31','11' -'446','val_446','2008-12-31','11' -'459','val_459','2008-12-31','11' -'394','val_394','2008-12-31','11' -'237','val_237','2008-12-31','11' -'482','val_482','2008-12-31','11' -'174','val_174','2008-12-31','11' -'413','val_413','2008-12-31','11' -'494','val_494','2008-12-31','11' -'207','val_207','2008-12-31','11' -'199','val_199','2008-12-31','11' -'466','val_466','2008-12-31','11' -'208','val_208','2008-12-31','11' -'174','val_174','2008-12-31','11' -'399','val_399','2008-12-31','11' -'396','val_396','2008-12-31','11' -'247','val_247','2008-12-31','11' -'417','val_417','2008-12-31','11' -'489','val_489','2008-12-31','11' -'162','val_162','2008-12-31','11' -'377','val_377','2008-12-31','11' -'397','val_397','2008-12-31','11' -'309','val_309','2008-12-31','11' -'365','val_365','2008-12-31','11' -'266','val_266','2008-12-31','11' -'439','val_439','2008-12-31','11' -'342','val_342','2008-12-31','11' -'367','val_367','2008-12-31','11' -'325','val_325','2008-12-31','11' -'167','val_167','2008-12-31','11' -'195','val_195','2008-12-31','11' -'475','val_475','2008-12-31','11' -'17','val_17','2008-12-31','11' -'113','val_113','2008-12-31','11' -'155','val_155','2008-12-31','11' -'203','val_203','2008-12-31','11' -'339','val_339','2008-12-31','11' -'0','val_0','2008-12-31','11' -'455','val_455','2008-12-31','11' -'128','val_128','2008-12-31','11' -'311','val_311','2008-12-31','11' -'316','val_316','2008-12-31','11' -'57','val_57','2008-12-31','11' -'302','val_302','2008-12-31','11' -'205','val_205','2008-12-31','11' -'149','val_149','2008-12-31','11' -'438','val_438','2008-12-31','11' -'345','val_345','2008-12-31','11' -'129','val_129','2008-12-31','11' -'170','val_170','2008-12-31','11' -'20','val_20','2008-12-31','11' -'489','val_489','2008-12-31','11' -'157','val_157','2008-12-31','11' -'378','val_378','2008-12-31','11' -'221','val_221','2008-12-31','11' -'92','val_92','2008-12-31','11' -'111','val_111','2008-12-31','11' -'47','val_47','2008-12-31','11' -'72','val_72','2008-12-31','11' -'4','val_4','2008-12-31','11' -'280','val_280','2008-12-31','11' -'35','val_35','2008-12-31','11' -'427','val_427','2008-12-31','11' -'277','val_277','2008-12-31','11' -'208','val_208','2008-12-31','11' -'356','val_356','2008-12-31','11' -'399','val_399','2008-12-31','11' -'169','val_169','2008-12-31','11' -'382','val_382','2008-12-31','11' -'498','val_498','2008-12-31','11' -'125','val_125','2008-12-31','11' -'386','val_386','2008-12-31','11' -'437','val_437','2008-12-31','11' -'469','val_469','2008-12-31','11' -'192','val_192','2008-12-31','11' -'286','val_286','2008-12-31','11' -'187','val_187','2008-12-31','11' -'176','val_176','2008-12-31','11' -'54','val_54','2008-12-31','11' -'459','val_459','2008-12-31','11' -'51','val_51','2008-12-31','11' -'138','val_138','2008-12-31','11' -'103','val_103','2008-12-31','11' -'239','val_239','2008-12-31','11' -'213','val_213','2008-12-31','11' -'216','val_216','2008-12-31','11' -'430','val_430','2008-12-31','11' -'278','val_278','2008-12-31','11' -'176','val_176','2008-12-31','11' -'289','val_289','2008-12-31','11' -'221','val_221','2008-12-31','11' -'65','val_65','2008-12-31','11' -'318','val_318','2008-12-31','11' -'332','val_332','2008-12-31','11' -'311','val_311','2008-12-31','11' -'275','val_275','2008-12-31','11' -'137','val_137','2008-12-31','11' -'241','val_241','2008-12-31','11' -'83','val_83','2008-12-31','11' -'333','val_333','2008-12-31','11' -'180','val_180','2008-12-31','11' -'284','val_284','2008-12-31','11' -'12','val_12','2008-12-31','11' -'230','val_230','2008-12-31','11' -'181','val_181','2008-12-31','11' -'67','val_67','2008-12-31','11' -'260','val_260','2008-12-31','11' -'404','val_404','2008-12-31','11' -'384','val_384','2008-12-31','11' -'489','val_489','2008-12-31','11' -'353','val_353','2008-12-31','11' -'373','val_373','2008-12-31','11' -'272','val_272','2008-12-31','11' -'138','val_138','2008-12-31','11' -'217','val_217','2008-12-31','11' -'84','val_84','2008-12-31','11' -'348','val_348','2008-12-31','11' -'466','val_466','2008-12-31','11' -'58','val_58','2008-12-31','11' -'8','val_8','2008-12-31','11' -'411','val_411','2008-12-31','11' -'230','val_230','2008-12-31','11' -'208','val_208','2008-12-31','11' -'348','val_348','2008-12-31','11' -'24','val_24','2008-12-31','11' -'463','val_463','2008-12-31','11' -'431','val_431','2008-12-31','11' -'179','val_179','2008-12-31','11' -'172','val_172','2008-12-31','11' -'42','val_42','2008-12-31','11' -'129','val_129','2008-12-31','11' -'158','val_158','2008-12-31','11' -'119','val_119','2008-12-31','11' -'496','val_496','2008-12-31','11' -'0','val_0','2008-12-31','11' -'322','val_322','2008-12-31','11' -'197','val_197','2008-12-31','11' -'468','val_468','2008-12-31','11' -'393','val_393','2008-12-31','11' -'454','val_454','2008-12-31','11' -'100','val_100','2008-12-31','11' -'298','val_298','2008-12-31','11' -'199','val_199','2008-12-31','11' -'191','val_191','2008-12-31','11' -'418','val_418','2008-12-31','11' -'96','val_96','2008-12-31','11' -'26','val_26','2008-12-31','11' -'165','val_165','2008-12-31','11' -'327','val_327','2008-12-31','11' -'230','val_230','2008-12-31','11' -'205','val_205','2008-12-31','11' -'120','val_120','2008-12-31','11' -'131','val_131','2008-12-31','11' -'51','val_51','2008-12-31','11' -'404','val_404','2008-12-31','11' -'43','val_43','2008-12-31','11' -'436','val_436','2008-12-31','11' -'156','val_156','2008-12-31','11' -'469','val_469','2008-12-31','11' -'468','val_468','2008-12-31','11' -'308','val_308','2008-12-31','11' -'95','val_95','2008-12-31','11' -'196','val_196','2008-12-31','11' -'288','val_288','2008-12-31','11' -'481','val_481','2008-12-31','11' -'457','val_457','2008-12-31','11' -'98','val_98','2008-12-31','11' -'282','val_282','2008-12-31','11' -'197','val_197','2008-12-31','11' -'187','val_187','2008-12-31','11' -'318','val_318','2008-12-31','11' -'318','val_318','2008-12-31','11' -'409','val_409','2008-12-31','11' -'470','val_470','2008-12-31','11' -'137','val_137','2008-12-31','11' -'369','val_369','2008-12-31','11' -'316','val_316','2008-12-31','11' -'169','val_169','2008-12-31','11' -'413','val_413','2008-12-31','11' -'85','val_85','2008-12-31','11' -'77','val_77','2008-12-31','11' -'0','val_0','2008-12-31','11' -'490','val_490','2008-12-31','11' -'87','val_87','2008-12-31','11' -'364','val_364','2008-12-31','11' -'179','val_179','2008-12-31','11' -'118','val_118','2008-12-31','11' -'134','val_134','2008-12-31','11' -'395','val_395','2008-12-31','11' -'282','val_282','2008-12-31','11' -'138','val_138','2008-12-31','11' -'238','val_238','2008-12-31','11' -'419','val_419','2008-12-31','11' -'15','val_15','2008-12-31','11' -'118','val_118','2008-12-31','11' -'72','val_72','2008-12-31','11' -'90','val_90','2008-12-31','11' -'307','val_307','2008-12-31','11' -'19','val_19','2008-12-31','11' -'435','val_435','2008-12-31','11' -'10','val_10','2008-12-31','11' -'277','val_277','2008-12-31','11' -'273','val_273','2008-12-31','11' -'306','val_306','2008-12-31','11' -'224','val_224','2008-12-31','11' -'309','val_309','2008-12-31','11' -'389','val_389','2008-12-31','11' -'327','val_327','2008-12-31','11' -'242','val_242','2008-12-31','11' -'369','val_369','2008-12-31','11' -'392','val_392','2008-12-31','11' -'272','val_272','2008-12-31','11' -'331','val_331','2008-12-31','11' -'401','val_401','2008-12-31','11' -'242','val_242','2008-12-31','11' -'452','val_452','2008-12-31','11' -'177','val_177','2008-12-31','11' -'226','val_226','2008-12-31','11' -'5','val_5','2008-12-31','11' -'497','val_497','2008-12-31','11' -'402','val_402','2008-12-31','11' -'396','val_396','2008-12-31','11' -'317','val_317','2008-12-31','11' -'395','val_395','2008-12-31','11' -'58','val_58','2008-12-31','11' -'35','val_35','2008-12-31','11' -'336','val_336','2008-12-31','11' -'95','val_95','2008-12-31','11' -'11','val_11','2008-12-31','11' -'168','val_168','2008-12-31','11' -'34','val_34','2008-12-31','11' -'229','val_229','2008-12-31','11' -'233','val_233','2008-12-31','11' -'143','val_143','2008-12-31','11' -'472','val_472','2008-12-31','11' -'322','val_322','2008-12-31','11' -'498','val_498','2008-12-31','11' -'160','val_160','2008-12-31','11' -'195','val_195','2008-12-31','11' -'42','val_42','2008-12-31','11' -'321','val_321','2008-12-31','11' -'430','val_430','2008-12-31','11' -'119','val_119','2008-12-31','11' -'489','val_489','2008-12-31','11' -'458','val_458','2008-12-31','11' -'78','val_78','2008-12-31','11' -'76','val_76','2008-12-31','11' -'41','val_41','2008-12-31','11' -'223','val_223','2008-12-31','11' -'492','val_492','2008-12-31','11' -'149','val_149','2008-12-31','11' -'449','val_449','2008-12-31','11' -'218','val_218','2008-12-31','11' -'228','val_228','2008-12-31','11' -'138','val_138','2008-12-31','11' -'453','val_453','2008-12-31','11' -'30','val_30','2008-12-31','11' -'209','val_209','2008-12-31','11' -'64','val_64','2008-12-31','11' -'468','val_468','2008-12-31','11' -'76','val_76','2008-12-31','11' -'74','val_74','2008-12-31','11' -'342','val_342','2008-12-31','11' -'69','val_69','2008-12-31','11' -'230','val_230','2008-12-31','11' -'33','val_33','2008-12-31','11' -'368','val_368','2008-12-31','11' -'103','val_103','2008-12-31','11' -'296','val_296','2008-12-31','11' -'113','val_113','2008-12-31','11' -'216','val_216','2008-12-31','11' -'367','val_367','2008-12-31','11' -'344','val_344','2008-12-31','11' -'167','val_167','2008-12-31','11' -'274','val_274','2008-12-31','11' -'219','val_219','2008-12-31','11' -'239','val_239','2008-12-31','11' -'485','val_485','2008-12-31','11' -'116','val_116','2008-12-31','11' -'223','val_223','2008-12-31','11' -'256','val_256','2008-12-31','11' -'263','val_263','2008-12-31','11' -'70','val_70','2008-12-31','11' -'487','val_487','2008-12-31','11' -'480','val_480','2008-12-31','11' -'401','val_401','2008-12-31','11' -'288','val_288','2008-12-31','11' -'191','val_191','2008-12-31','11' -'5','val_5','2008-12-31','11' -'244','val_244','2008-12-31','11' -'438','val_438','2008-12-31','11' -'128','val_128','2008-12-31','11' -'467','val_467','2008-12-31','11' -'432','val_432','2008-12-31','11' -'202','val_202','2008-12-31','11' -'316','val_316','2008-12-31','11' -'229','val_229','2008-12-31','11' -'469','val_469','2008-12-31','11' -'463','val_463','2008-12-31','11' -'280','val_280','2008-12-31','11' -'2','val_2','2008-12-31','11' -'35','val_35','2008-12-31','11' -'283','val_283','2008-12-31','11' -'331','val_331','2008-12-31','11' -'235','val_235','2008-12-31','11' -'80','val_80','2008-12-31','11' -'44','val_44','2008-12-31','11' -'193','val_193','2008-12-31','11' -'321','val_321','2008-12-31','11' -'335','val_335','2008-12-31','11' -'104','val_104','2008-12-31','11' -'466','val_466','2008-12-31','11' -'366','val_366','2008-12-31','11' -'175','val_175','2008-12-31','11' -'403','val_403','2008-12-31','11' -'483','val_483','2008-12-31','11' -'53','val_53','2008-12-31','11' -'105','val_105','2008-12-31','11' -'257','val_257','2008-12-31','11' -'406','val_406','2008-12-31','11' -'409','val_409','2008-12-31','11' -'190','val_190','2008-12-31','11' -'406','val_406','2008-12-31','11' -'401','val_401','2008-12-31','11' -'114','val_114','2008-12-31','11' -'258','val_258','2008-12-31','11' -'90','val_90','2008-12-31','11' -'203','val_203','2008-12-31','11' -'262','val_262','2008-12-31','11' -'348','val_348','2008-12-31','11' -'424','val_424','2008-12-31','11' -'12','val_12','2008-12-31','11' -'396','val_396','2008-12-31','11' -'201','val_201','2008-12-31','11' -'217','val_217','2008-12-31','11' -'164','val_164','2008-12-31','11' -'431','val_431','2008-12-31','11' -'454','val_454','2008-12-31','11' -'478','val_478','2008-12-31','11' -'298','val_298','2008-12-31','11' -'125','val_125','2008-12-31','11' -'431','val_431','2008-12-31','11' -'164','val_164','2008-12-31','11' -'424','val_424','2008-12-31','11' -'187','val_187','2008-12-31','11' -'382','val_382','2008-12-31','11' -'5','val_5','2008-12-31','11' -'70','val_70','2008-12-31','11' -'397','val_397','2008-12-31','11' -'480','val_480','2008-12-31','11' -'291','val_291','2008-12-31','11' -'24','val_24','2008-12-31','11' -'351','val_351','2008-12-31','11' -'255','val_255','2008-12-31','11' -'104','val_104','2008-12-31','11' -'70','val_70','2008-12-31','11' -'163','val_163','2008-12-31','11' -'438','val_438','2008-12-31','11' -'119','val_119','2008-12-31','11' -'414','val_414','2008-12-31','11' -'200','val_200','2008-12-31','11' -'491','val_491','2008-12-31','11' -'237','val_237','2008-12-31','11' -'439','val_439','2008-12-31','11' -'360','val_360','2008-12-31','11' -'248','val_248','2008-12-31','11' -'479','val_479','2008-12-31','11' -'305','val_305','2008-12-31','11' -'417','val_417','2008-12-31','11' -'199','val_199','2008-12-31','11' -'444','val_444','2008-12-31','11' -'120','val_120','2008-12-31','11' -'429','val_429','2008-12-31','11' -'169','val_169','2008-12-31','11' -'443','val_443','2008-12-31','11' -'323','val_323','2008-12-31','11' -'325','val_325','2008-12-31','11' -'277','val_277','2008-12-31','11' -'230','val_230','2008-12-31','11' -'478','val_478','2008-12-31','11' -'178','val_178','2008-12-31','11' -'468','val_468','2008-12-31','11' -'310','val_310','2008-12-31','11' -'317','val_317','2008-12-31','11' -'333','val_333','2008-12-31','11' -'493','val_493','2008-12-31','11' -'460','val_460','2008-12-31','11' -'207','val_207','2008-12-31','11' -'249','val_249','2008-12-31','11' -'265','val_265','2008-12-31','11' -'480','val_480','2008-12-31','11' -'83','val_83','2008-12-31','11' -'136','val_136','2008-12-31','11' -'353','val_353','2008-12-31','11' -'172','val_172','2008-12-31','11' -'214','val_214','2008-12-31','11' -'462','val_462','2008-12-31','11' -'233','val_233','2008-12-31','11' -'406','val_406','2008-12-31','11' -'133','val_133','2008-12-31','11' -'175','val_175','2008-12-31','11' -'189','val_189','2008-12-31','11' -'454','val_454','2008-12-31','11' -'375','val_375','2008-12-31','11' -'401','val_401','2008-12-31','11' -'421','val_421','2008-12-31','11' -'407','val_407','2008-12-31','11' -'384','val_384','2008-12-31','11' -'256','val_256','2008-12-31','11' -'26','val_26','2008-12-31','11' -'134','val_134','2008-12-31','11' -'67','val_67','2008-12-31','11' -'384','val_384','2008-12-31','11' -'379','val_379','2008-12-31','11' -'18','val_18','2008-12-31','11' -'462','val_462','2008-12-31','11' -'492','val_492','2008-12-31','11' -'100','val_100','2008-12-31','11' -'298','val_298','2008-12-31','11' -'9','val_9','2008-12-31','11' -'341','val_341','2008-12-31','11' -'498','val_498','2008-12-31','11' -'146','val_146','2008-12-31','11' -'458','val_458','2008-12-31','11' -'362','val_362','2008-12-31','11' -'186','val_186','2008-12-31','11' -'285','val_285','2008-12-31','11' -'348','val_348','2008-12-31','11' -'167','val_167','2008-12-31','11' -'18','val_18','2008-12-31','11' -'273','val_273','2008-12-31','11' -'183','val_183','2008-12-31','11' -'281','val_281','2008-12-31','11' -'344','val_344','2008-12-31','11' -'97','val_97','2008-12-31','11' -'469','val_469','2008-12-31','11' -'315','val_315','2008-12-31','11' -'84','val_84','2008-12-31','11' -'28','val_28','2008-12-31','11' -'37','val_37','2008-12-31','11' -'448','val_448','2008-12-31','11' -'152','val_152','2008-12-31','11' -'348','val_348','2008-12-31','11' -'307','val_307','2008-12-31','11' -'194','val_194','2008-12-31','11' -'414','val_414','2008-12-31','11' -'477','val_477','2008-12-31','11' -'222','val_222','2008-12-31','11' -'126','val_126','2008-12-31','11' -'90','val_90','2008-12-31','11' -'169','val_169','2008-12-31','11' -'403','val_403','2008-12-31','11' -'400','val_400','2008-12-31','11' -'200','val_200','2008-12-31','11' -'97','val_97','2008-12-31','11' -'238','val_238','2008-12-31','12' -'86','val_86','2008-12-31','12' -'311','val_311','2008-12-31','12' -'27','val_27','2008-12-31','12' -'165','val_165','2008-12-31','12' -'409','val_409','2008-12-31','12' -'255','val_255','2008-12-31','12' -'278','val_278','2008-12-31','12' -'98','val_98','2008-12-31','12' -'484','val_484','2008-12-31','12' -'265','val_265','2008-12-31','12' -'193','val_193','2008-12-31','12' -'401','val_401','2008-12-31','12' -'150','val_150','2008-12-31','12' -'273','val_273','2008-12-31','12' -'224','val_224','2008-12-31','12' -'369','val_369','2008-12-31','12' -'66','val_66','2008-12-31','12' -'128','val_128','2008-12-31','12' -'213','val_213','2008-12-31','12' -'146','val_146','2008-12-31','12' -'406','val_406','2008-12-31','12' -'429','val_429','2008-12-31','12' -'374','val_374','2008-12-31','12' -'152','val_152','2008-12-31','12' -'469','val_469','2008-12-31','12' -'145','val_145','2008-12-31','12' -'495','val_495','2008-12-31','12' -'37','val_37','2008-12-31','12' -'327','val_327','2008-12-31','12' -'281','val_281','2008-12-31','12' -'277','val_277','2008-12-31','12' -'209','val_209','2008-12-31','12' -'15','val_15','2008-12-31','12' -'82','val_82','2008-12-31','12' -'403','val_403','2008-12-31','12' -'166','val_166','2008-12-31','12' -'417','val_417','2008-12-31','12' -'430','val_430','2008-12-31','12' -'252','val_252','2008-12-31','12' -'292','val_292','2008-12-31','12' -'219','val_219','2008-12-31','12' -'287','val_287','2008-12-31','12' -'153','val_153','2008-12-31','12' -'193','val_193','2008-12-31','12' -'338','val_338','2008-12-31','12' -'446','val_446','2008-12-31','12' -'459','val_459','2008-12-31','12' -'394','val_394','2008-12-31','12' -'237','val_237','2008-12-31','12' -'482','val_482','2008-12-31','12' -'174','val_174','2008-12-31','12' -'413','val_413','2008-12-31','12' -'494','val_494','2008-12-31','12' -'207','val_207','2008-12-31','12' -'199','val_199','2008-12-31','12' -'466','val_466','2008-12-31','12' -'208','val_208','2008-12-31','12' -'174','val_174','2008-12-31','12' -'399','val_399','2008-12-31','12' -'396','val_396','2008-12-31','12' -'247','val_247','2008-12-31','12' -'417','val_417','2008-12-31','12' -'489','val_489','2008-12-31','12' -'162','val_162','2008-12-31','12' -'377','val_377','2008-12-31','12' -'397','val_397','2008-12-31','12' -'309','val_309','2008-12-31','12' -'365','val_365','2008-12-31','12' -'266','val_266','2008-12-31','12' -'439','val_439','2008-12-31','12' -'342','val_342','2008-12-31','12' -'367','val_367','2008-12-31','12' -'325','val_325','2008-12-31','12' -'167','val_167','2008-12-31','12' -'195','val_195','2008-12-31','12' -'475','val_475','2008-12-31','12' -'17','val_17','2008-12-31','12' -'113','val_113','2008-12-31','12' -'155','val_155','2008-12-31','12' -'203','val_203','2008-12-31','12' -'339','val_339','2008-12-31','12' -'0','val_0','2008-12-31','12' -'455','val_455','2008-12-31','12' -'128','val_128','2008-12-31','12' -'311','val_311','2008-12-31','12' -'316','val_316','2008-12-31','12' -'57','val_57','2008-12-31','12' -'302','val_302','2008-12-31','12' -'205','val_205','2008-12-31','12' -'149','val_149','2008-12-31','12' -'438','val_438','2008-12-31','12' -'345','val_345','2008-12-31','12' -'129','val_129','2008-12-31','12' -'170','val_170','2008-12-31','12' -'20','val_20','2008-12-31','12' -'489','val_489','2008-12-31','12' -'157','val_157','2008-12-31','12' -'378','val_378','2008-12-31','12' -'221','val_221','2008-12-31','12' -'92','val_92','2008-12-31','12' -'111','val_111','2008-12-31','12' -'47','val_47','2008-12-31','12' -'72','val_72','2008-12-31','12' -'4','val_4','2008-12-31','12' -'280','val_280','2008-12-31','12' -'35','val_35','2008-12-31','12' -'427','val_427','2008-12-31','12' -'277','val_277','2008-12-31','12' -'208','val_208','2008-12-31','12' -'356','val_356','2008-12-31','12' -'399','val_399','2008-12-31','12' -'169','val_169','2008-12-31','12' -'382','val_382','2008-12-31','12' -'498','val_498','2008-12-31','12' -'125','val_125','2008-12-31','12' -'386','val_386','2008-12-31','12' -'437','val_437','2008-12-31','12' -'469','val_469','2008-12-31','12' -'192','val_192','2008-12-31','12' -'286','val_286','2008-12-31','12' -'187','val_187','2008-12-31','12' -'176','val_176','2008-12-31','12' -'54','val_54','2008-12-31','12' -'459','val_459','2008-12-31','12' -'51','val_51','2008-12-31','12' -'138','val_138','2008-12-31','12' -'103','val_103','2008-12-31','12' -'239','val_239','2008-12-31','12' -'213','val_213','2008-12-31','12' -'216','val_216','2008-12-31','12' -'430','val_430','2008-12-31','12' -'278','val_278','2008-12-31','12' -'176','val_176','2008-12-31','12' -'289','val_289','2008-12-31','12' -'221','val_221','2008-12-31','12' -'65','val_65','2008-12-31','12' -'318','val_318','2008-12-31','12' -'332','val_332','2008-12-31','12' -'311','val_311','2008-12-31','12' -'275','val_275','2008-12-31','12' -'137','val_137','2008-12-31','12' -'241','val_241','2008-12-31','12' -'83','val_83','2008-12-31','12' -'333','val_333','2008-12-31','12' -'180','val_180','2008-12-31','12' -'284','val_284','2008-12-31','12' -'12','val_12','2008-12-31','12' -'230','val_230','2008-12-31','12' -'181','val_181','2008-12-31','12' -'67','val_67','2008-12-31','12' -'260','val_260','2008-12-31','12' -'404','val_404','2008-12-31','12' -'384','val_384','2008-12-31','12' -'489','val_489','2008-12-31','12' -'353','val_353','2008-12-31','12' -'373','val_373','2008-12-31','12' -'272','val_272','2008-12-31','12' -'138','val_138','2008-12-31','12' -'217','val_217','2008-12-31','12' -'84','val_84','2008-12-31','12' -'348','val_348','2008-12-31','12' -'466','val_466','2008-12-31','12' -'58','val_58','2008-12-31','12' -'8','val_8','2008-12-31','12' -'411','val_411','2008-12-31','12' -'230','val_230','2008-12-31','12' -'208','val_208','2008-12-31','12' -'348','val_348','2008-12-31','12' -'24','val_24','2008-12-31','12' -'463','val_463','2008-12-31','12' -'431','val_431','2008-12-31','12' -'179','val_179','2008-12-31','12' -'172','val_172','2008-12-31','12' -'42','val_42','2008-12-31','12' -'129','val_129','2008-12-31','12' -'158','val_158','2008-12-31','12' -'119','val_119','2008-12-31','12' -'496','val_496','2008-12-31','12' -'0','val_0','2008-12-31','12' -'322','val_322','2008-12-31','12' -'197','val_197','2008-12-31','12' -'468','val_468','2008-12-31','12' -'393','val_393','2008-12-31','12' -'454','val_454','2008-12-31','12' -'100','val_100','2008-12-31','12' -'298','val_298','2008-12-31','12' -'199','val_199','2008-12-31','12' -'191','val_191','2008-12-31','12' -'418','val_418','2008-12-31','12' -'96','val_96','2008-12-31','12' -'26','val_26','2008-12-31','12' -'165','val_165','2008-12-31','12' -'327','val_327','2008-12-31','12' -'230','val_230','2008-12-31','12' -'205','val_205','2008-12-31','12' -'120','val_120','2008-12-31','12' -'131','val_131','2008-12-31','12' -'51','val_51','2008-12-31','12' -'404','val_404','2008-12-31','12' -'43','val_43','2008-12-31','12' -'436','val_436','2008-12-31','12' -'156','val_156','2008-12-31','12' -'469','val_469','2008-12-31','12' -'468','val_468','2008-12-31','12' -'308','val_308','2008-12-31','12' -'95','val_95','2008-12-31','12' -'196','val_196','2008-12-31','12' -'288','val_288','2008-12-31','12' -'481','val_481','2008-12-31','12' -'457','val_457','2008-12-31','12' -'98','val_98','2008-12-31','12' -'282','val_282','2008-12-31','12' -'197','val_197','2008-12-31','12' -'187','val_187','2008-12-31','12' -'318','val_318','2008-12-31','12' -'318','val_318','2008-12-31','12' -'409','val_409','2008-12-31','12' -'470','val_470','2008-12-31','12' -'137','val_137','2008-12-31','12' -'369','val_369','2008-12-31','12' -'316','val_316','2008-12-31','12' -'169','val_169','2008-12-31','12' -'413','val_413','2008-12-31','12' -'85','val_85','2008-12-31','12' -'77','val_77','2008-12-31','12' -'0','val_0','2008-12-31','12' -'490','val_490','2008-12-31','12' -'87','val_87','2008-12-31','12' -'364','val_364','2008-12-31','12' -'179','val_179','2008-12-31','12' -'118','val_118','2008-12-31','12' -'134','val_134','2008-12-31','12' -'395','val_395','2008-12-31','12' -'282','val_282','2008-12-31','12' -'138','val_138','2008-12-31','12' -'238','val_238','2008-12-31','12' -'419','val_419','2008-12-31','12' -'15','val_15','2008-12-31','12' -'118','val_118','2008-12-31','12' -'72','val_72','2008-12-31','12' -'90','val_90','2008-12-31','12' -'307','val_307','2008-12-31','12' -'19','val_19','2008-12-31','12' -'435','val_435','2008-12-31','12' -'10','val_10','2008-12-31','12' -'277','val_277','2008-12-31','12' -'273','val_273','2008-12-31','12' -'306','val_306','2008-12-31','12' -'224','val_224','2008-12-31','12' -'309','val_309','2008-12-31','12' -'389','val_389','2008-12-31','12' -'327','val_327','2008-12-31','12' -'242','val_242','2008-12-31','12' -'369','val_369','2008-12-31','12' -'392','val_392','2008-12-31','12' -'272','val_272','2008-12-31','12' -'331','val_331','2008-12-31','12' -'401','val_401','2008-12-31','12' -'242','val_242','2008-12-31','12' -'452','val_452','2008-12-31','12' -'177','val_177','2008-12-31','12' -'226','val_226','2008-12-31','12' -'5','val_5','2008-12-31','12' -'497','val_497','2008-12-31','12' -'402','val_402','2008-12-31','12' -'396','val_396','2008-12-31','12' -'317','val_317','2008-12-31','12' -'395','val_395','2008-12-31','12' -'58','val_58','2008-12-31','12' -'35','val_35','2008-12-31','12' -'336','val_336','2008-12-31','12' -'95','val_95','2008-12-31','12' -'11','val_11','2008-12-31','12' -'168','val_168','2008-12-31','12' -'34','val_34','2008-12-31','12' -'229','val_229','2008-12-31','12' -'233','val_233','2008-12-31','12' -'143','val_143','2008-12-31','12' -'472','val_472','2008-12-31','12' -'322','val_322','2008-12-31','12' -'498','val_498','2008-12-31','12' -'160','val_160','2008-12-31','12' -'195','val_195','2008-12-31','12' -'42','val_42','2008-12-31','12' -'321','val_321','2008-12-31','12' -'430','val_430','2008-12-31','12' -'119','val_119','2008-12-31','12' -'489','val_489','2008-12-31','12' -'458','val_458','2008-12-31','12' -'78','val_78','2008-12-31','12' -'76','val_76','2008-12-31','12' -'41','val_41','2008-12-31','12' -'223','val_223','2008-12-31','12' -'492','val_492','2008-12-31','12' -'149','val_149','2008-12-31','12' -'449','val_449','2008-12-31','12' -'218','val_218','2008-12-31','12' -'228','val_228','2008-12-31','12' -'138','val_138','2008-12-31','12' -'453','val_453','2008-12-31','12' -'30','val_30','2008-12-31','12' -'209','val_209','2008-12-31','12' -'64','val_64','2008-12-31','12' -'468','val_468','2008-12-31','12' -'76','val_76','2008-12-31','12' -'74','val_74','2008-12-31','12' -'342','val_342','2008-12-31','12' -'69','val_69','2008-12-31','12' -'230','val_230','2008-12-31','12' -'33','val_33','2008-12-31','12' -'368','val_368','2008-12-31','12' -'103','val_103','2008-12-31','12' -'296','val_296','2008-12-31','12' -'113','val_113','2008-12-31','12' -'216','val_216','2008-12-31','12' -'367','val_367','2008-12-31','12' -'344','val_344','2008-12-31','12' -'167','val_167','2008-12-31','12' -'274','val_274','2008-12-31','12' -'219','val_219','2008-12-31','12' -'239','val_239','2008-12-31','12' -'485','val_485','2008-12-31','12' -'116','val_116','2008-12-31','12' -'223','val_223','2008-12-31','12' -'256','val_256','2008-12-31','12' -'263','val_263','2008-12-31','12' -'70','val_70','2008-12-31','12' -'487','val_487','2008-12-31','12' -'480','val_480','2008-12-31','12' -'401','val_401','2008-12-31','12' -'288','val_288','2008-12-31','12' -'191','val_191','2008-12-31','12' -'5','val_5','2008-12-31','12' -'244','val_244','2008-12-31','12' -'438','val_438','2008-12-31','12' -'128','val_128','2008-12-31','12' -'467','val_467','2008-12-31','12' -'432','val_432','2008-12-31','12' -'202','val_202','2008-12-31','12' -'316','val_316','2008-12-31','12' -'229','val_229','2008-12-31','12' -'469','val_469','2008-12-31','12' -'463','val_463','2008-12-31','12' -'280','val_280','2008-12-31','12' -'2','val_2','2008-12-31','12' -'35','val_35','2008-12-31','12' -'283','val_283','2008-12-31','12' -'331','val_331','2008-12-31','12' -'235','val_235','2008-12-31','12' -'80','val_80','2008-12-31','12' -'44','val_44','2008-12-31','12' -'193','val_193','2008-12-31','12' -'321','val_321','2008-12-31','12' -'335','val_335','2008-12-31','12' -'104','val_104','2008-12-31','12' -'466','val_466','2008-12-31','12' -'366','val_366','2008-12-31','12' -'175','val_175','2008-12-31','12' -'403','val_403','2008-12-31','12' -'483','val_483','2008-12-31','12' -'53','val_53','2008-12-31','12' -'105','val_105','2008-12-31','12' -'257','val_257','2008-12-31','12' -'406','val_406','2008-12-31','12' -'409','val_409','2008-12-31','12' -'190','val_190','2008-12-31','12' -'406','val_406','2008-12-31','12' -'401','val_401','2008-12-31','12' -'114','val_114','2008-12-31','12' -'258','val_258','2008-12-31','12' -'90','val_90','2008-12-31','12' -'203','val_203','2008-12-31','12' -'262','val_262','2008-12-31','12' -'348','val_348','2008-12-31','12' -'424','val_424','2008-12-31','12' -'12','val_12','2008-12-31','12' -'396','val_396','2008-12-31','12' -'201','val_201','2008-12-31','12' -'217','val_217','2008-12-31','12' -'164','val_164','2008-12-31','12' -'431','val_431','2008-12-31','12' -'454','val_454','2008-12-31','12' -'478','val_478','2008-12-31','12' -'298','val_298','2008-12-31','12' -'125','val_125','2008-12-31','12' -'431','val_431','2008-12-31','12' -'164','val_164','2008-12-31','12' -'424','val_424','2008-12-31','12' -'187','val_187','2008-12-31','12' -'382','val_382','2008-12-31','12' -'5','val_5','2008-12-31','12' -'70','val_70','2008-12-31','12' -'397','val_397','2008-12-31','12' -'480','val_480','2008-12-31','12' -'291','val_291','2008-12-31','12' -'24','val_24','2008-12-31','12' -'351','val_351','2008-12-31','12' -'255','val_255','2008-12-31','12' -'104','val_104','2008-12-31','12' -'70','val_70','2008-12-31','12' -'163','val_163','2008-12-31','12' -'438','val_438','2008-12-31','12' -'119','val_119','2008-12-31','12' -'414','val_414','2008-12-31','12' -'200','val_200','2008-12-31','12' -'491','val_491','2008-12-31','12' -'237','val_237','2008-12-31','12' -'439','val_439','2008-12-31','12' -'360','val_360','2008-12-31','12' -'248','val_248','2008-12-31','12' -'479','val_479','2008-12-31','12' -'305','val_305','2008-12-31','12' -'417','val_417','2008-12-31','12' -'199','val_199','2008-12-31','12' -'444','val_444','2008-12-31','12' -'120','val_120','2008-12-31','12' -'429','val_429','2008-12-31','12' -'169','val_169','2008-12-31','12' -'443','val_443','2008-12-31','12' -'323','val_323','2008-12-31','12' -'325','val_325','2008-12-31','12' -'277','val_277','2008-12-31','12' -'230','val_230','2008-12-31','12' -'478','val_478','2008-12-31','12' -'178','val_178','2008-12-31','12' -'468','val_468','2008-12-31','12' -'310','val_310','2008-12-31','12' -'317','val_317','2008-12-31','12' -'333','val_333','2008-12-31','12' -'493','val_493','2008-12-31','12' -'460','val_460','2008-12-31','12' -'207','val_207','2008-12-31','12' -'249','val_249','2008-12-31','12' -'265','val_265','2008-12-31','12' -'480','val_480','2008-12-31','12' -'83','val_83','2008-12-31','12' -'136','val_136','2008-12-31','12' -'353','val_353','2008-12-31','12' -'172','val_172','2008-12-31','12' -'214','val_214','2008-12-31','12' -'462','val_462','2008-12-31','12' -'233','val_233','2008-12-31','12' -'406','val_406','2008-12-31','12' -'133','val_133','2008-12-31','12' -'175','val_175','2008-12-31','12' -'189','val_189','2008-12-31','12' -'454','val_454','2008-12-31','12' -'375','val_375','2008-12-31','12' -'401','val_401','2008-12-31','12' -'421','val_421','2008-12-31','12' -'407','val_407','2008-12-31','12' -'384','val_384','2008-12-31','12' -'256','val_256','2008-12-31','12' -'26','val_26','2008-12-31','12' -'134','val_134','2008-12-31','12' -'67','val_67','2008-12-31','12' -'384','val_384','2008-12-31','12' -'379','val_379','2008-12-31','12' -'18','val_18','2008-12-31','12' -'462','val_462','2008-12-31','12' -'492','val_492','2008-12-31','12' -'100','val_100','2008-12-31','12' -'298','val_298','2008-12-31','12' -'9','val_9','2008-12-31','12' -'341','val_341','2008-12-31','12' -'498','val_498','2008-12-31','12' -'146','val_146','2008-12-31','12' -'458','val_458','2008-12-31','12' -'362','val_362','2008-12-31','12' -'186','val_186','2008-12-31','12' -'285','val_285','2008-12-31','12' -'348','val_348','2008-12-31','12' -'167','val_167','2008-12-31','12' -'18','val_18','2008-12-31','12' -'273','val_273','2008-12-31','12' -'183','val_183','2008-12-31','12' -'281','val_281','2008-12-31','12' -'344','val_344','2008-12-31','12' -'97','val_97','2008-12-31','12' -'469','val_469','2008-12-31','12' -'315','val_315','2008-12-31','12' -'84','val_84','2008-12-31','12' -'28','val_28','2008-12-31','12' -'37','val_37','2008-12-31','12' -'448','val_448','2008-12-31','12' -'152','val_152','2008-12-31','12' -'348','val_348','2008-12-31','12' -'307','val_307','2008-12-31','12' -'194','val_194','2008-12-31','12' -'414','val_414','2008-12-31','12' -'477','val_477','2008-12-31','12' -'222','val_222','2008-12-31','12' -'126','val_126','2008-12-31','12' -'90','val_90','2008-12-31','12' -'169','val_169','2008-12-31','12' -'403','val_403','2008-12-31','12' -'400','val_400','2008-12-31','12' -'200','val_200','2008-12-31','12' -'97','val_97','2008-12-31','12' -2,000 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/load_dyn_part9.q.out ql/src/test/results/beelinepositive/load_dyn_part9.q.out deleted file mode 100644 index afe3423..0000000 --- ql/src/test/results/beelinepositive/load_dyn_part9.q.out +++ /dev/null @@ -1,1106 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/load_dyn_part9.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/load_dyn_part9.q ->>> show partitions srcpart; -'partition' -'ds=2008-04-08/hr=11' -'ds=2008-04-08/hr=12' -'ds=2008-04-09/hr=11' -'ds=2008-04-09/hr=12' -4 rows selected ->>> ->>> ->>> ->>> create table if not exists nzhang_part9 like srcpart; -No rows affected ->>> describe extended nzhang_part9; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'ds','string','' -'hr','string','' -'','','' -'Detailed Table Information','Table(tableName:nzhang_part9, dbName:load_dyn_part9, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:hr, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/load_dyn_part9.db/nzhang_part9, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:hr, type:string, comment:null)], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -6 rows selected ->>> ->>> set hive.merge.mapfiles=false; -No rows affected ->>> set hive.exec.dynamic.partition=true; -No rows affected ->>> set hive.exec.dynamic.partition.mode=nonstrict; -No rows affected ->>> ->>> explain -from srcpart -insert overwrite table nzhang_part9 partition (ds, hr) select key, value, ds, hr where ds <= '2008-04-08'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME nzhang_part9) (TOK_PARTSPEC (TOK_PARTVAL ds) (TOK_PARTVAL hr)))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL ds)) (TOK_SELEXPR (TOK_TABLE_OR_COL hr))) (TOK_WHERE (<= (TOK_TABLE_OR_COL ds) '2008-04-08'))))' -'' -'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' -' Alias -> Map Operator Tree:' -' srcpart ' -' TableScan' -' alias: srcpart' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: load_dyn_part9.nzhang_part9' -'' -' 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: load_dyn_part9.nzhang_part9' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -52 rows selected ->>> ->>> from srcpart -insert overwrite table nzhang_part9 partition (ds, hr) select key, value, ds, hr where ds <= '2008-04-08'; -'key','value','ds','hr' -No rows selected ->>> ->>> ->>> show partitions nzhang_part9; -'partition' -'ds=2008-04-08/hr=11' -'ds=2008-04-08/hr=12' -2 rows selected ->>> ->>> select * from nzhang_part9 where ds is not null and hr is not null; -'key','value','ds','hr' -'238','val_238','2008-04-08','11' -'86','val_86','2008-04-08','11' -'311','val_311','2008-04-08','11' -'27','val_27','2008-04-08','11' -'165','val_165','2008-04-08','11' -'409','val_409','2008-04-08','11' -'255','val_255','2008-04-08','11' -'278','val_278','2008-04-08','11' -'98','val_98','2008-04-08','11' -'484','val_484','2008-04-08','11' -'265','val_265','2008-04-08','11' -'193','val_193','2008-04-08','11' -'401','val_401','2008-04-08','11' -'150','val_150','2008-04-08','11' -'273','val_273','2008-04-08','11' -'224','val_224','2008-04-08','11' -'369','val_369','2008-04-08','11' -'66','val_66','2008-04-08','11' -'128','val_128','2008-04-08','11' -'213','val_213','2008-04-08','11' -'146','val_146','2008-04-08','11' -'406','val_406','2008-04-08','11' -'429','val_429','2008-04-08','11' -'374','val_374','2008-04-08','11' -'152','val_152','2008-04-08','11' -'469','val_469','2008-04-08','11' -'145','val_145','2008-04-08','11' -'495','val_495','2008-04-08','11' -'37','val_37','2008-04-08','11' -'327','val_327','2008-04-08','11' -'281','val_281','2008-04-08','11' -'277','val_277','2008-04-08','11' -'209','val_209','2008-04-08','11' -'15','val_15','2008-04-08','11' -'82','val_82','2008-04-08','11' -'403','val_403','2008-04-08','11' -'166','val_166','2008-04-08','11' -'417','val_417','2008-04-08','11' -'430','val_430','2008-04-08','11' -'252','val_252','2008-04-08','11' -'292','val_292','2008-04-08','11' -'219','val_219','2008-04-08','11' -'287','val_287','2008-04-08','11' -'153','val_153','2008-04-08','11' -'193','val_193','2008-04-08','11' -'338','val_338','2008-04-08','11' -'446','val_446','2008-04-08','11' -'459','val_459','2008-04-08','11' -'394','val_394','2008-04-08','11' -'237','val_237','2008-04-08','11' -'482','val_482','2008-04-08','11' -'174','val_174','2008-04-08','11' -'413','val_413','2008-04-08','11' -'494','val_494','2008-04-08','11' -'207','val_207','2008-04-08','11' -'199','val_199','2008-04-08','11' -'466','val_466','2008-04-08','11' -'208','val_208','2008-04-08','11' -'174','val_174','2008-04-08','11' -'399','val_399','2008-04-08','11' -'396','val_396','2008-04-08','11' -'247','val_247','2008-04-08','11' -'417','val_417','2008-04-08','11' -'489','val_489','2008-04-08','11' -'162','val_162','2008-04-08','11' -'377','val_377','2008-04-08','11' -'397','val_397','2008-04-08','11' -'309','val_309','2008-04-08','11' -'365','val_365','2008-04-08','11' -'266','val_266','2008-04-08','11' -'439','val_439','2008-04-08','11' -'342','val_342','2008-04-08','11' -'367','val_367','2008-04-08','11' -'325','val_325','2008-04-08','11' -'167','val_167','2008-04-08','11' -'195','val_195','2008-04-08','11' -'475','val_475','2008-04-08','11' -'17','val_17','2008-04-08','11' -'113','val_113','2008-04-08','11' -'155','val_155','2008-04-08','11' -'203','val_203','2008-04-08','11' -'339','val_339','2008-04-08','11' -'0','val_0','2008-04-08','11' -'455','val_455','2008-04-08','11' -'128','val_128','2008-04-08','11' -'311','val_311','2008-04-08','11' -'316','val_316','2008-04-08','11' -'57','val_57','2008-04-08','11' -'302','val_302','2008-04-08','11' -'205','val_205','2008-04-08','11' -'149','val_149','2008-04-08','11' -'438','val_438','2008-04-08','11' -'345','val_345','2008-04-08','11' -'129','val_129','2008-04-08','11' -'170','val_170','2008-04-08','11' -'20','val_20','2008-04-08','11' -'489','val_489','2008-04-08','11' -'157','val_157','2008-04-08','11' -'378','val_378','2008-04-08','11' -'221','val_221','2008-04-08','11' -'92','val_92','2008-04-08','11' -'111','val_111','2008-04-08','11' -'47','val_47','2008-04-08','11' -'72','val_72','2008-04-08','11' -'4','val_4','2008-04-08','11' -'280','val_280','2008-04-08','11' -'35','val_35','2008-04-08','11' -'427','val_427','2008-04-08','11' -'277','val_277','2008-04-08','11' -'208','val_208','2008-04-08','11' -'356','val_356','2008-04-08','11' -'399','val_399','2008-04-08','11' -'169','val_169','2008-04-08','11' -'382','val_382','2008-04-08','11' -'498','val_498','2008-04-08','11' -'125','val_125','2008-04-08','11' -'386','val_386','2008-04-08','11' -'437','val_437','2008-04-08','11' -'469','val_469','2008-04-08','11' -'192','val_192','2008-04-08','11' -'286','val_286','2008-04-08','11' -'187','val_187','2008-04-08','11' -'176','val_176','2008-04-08','11' -'54','val_54','2008-04-08','11' -'459','val_459','2008-04-08','11' -'51','val_51','2008-04-08','11' -'138','val_138','2008-04-08','11' -'103','val_103','2008-04-08','11' -'239','val_239','2008-04-08','11' -'213','val_213','2008-04-08','11' -'216','val_216','2008-04-08','11' -'430','val_430','2008-04-08','11' -'278','val_278','2008-04-08','11' -'176','val_176','2008-04-08','11' -'289','val_289','2008-04-08','11' -'221','val_221','2008-04-08','11' -'65','val_65','2008-04-08','11' -'318','val_318','2008-04-08','11' -'332','val_332','2008-04-08','11' -'311','val_311','2008-04-08','11' -'275','val_275','2008-04-08','11' -'137','val_137','2008-04-08','11' -'241','val_241','2008-04-08','11' -'83','val_83','2008-04-08','11' -'333','val_333','2008-04-08','11' -'180','val_180','2008-04-08','11' -'284','val_284','2008-04-08','11' -'12','val_12','2008-04-08','11' -'230','val_230','2008-04-08','11' -'181','val_181','2008-04-08','11' -'67','val_67','2008-04-08','11' -'260','val_260','2008-04-08','11' -'404','val_404','2008-04-08','11' -'384','val_384','2008-04-08','11' -'489','val_489','2008-04-08','11' -'353','val_353','2008-04-08','11' -'373','val_373','2008-04-08','11' -'272','val_272','2008-04-08','11' -'138','val_138','2008-04-08','11' -'217','val_217','2008-04-08','11' -'84','val_84','2008-04-08','11' -'348','val_348','2008-04-08','11' -'466','val_466','2008-04-08','11' -'58','val_58','2008-04-08','11' -'8','val_8','2008-04-08','11' -'411','val_411','2008-04-08','11' -'230','val_230','2008-04-08','11' -'208','val_208','2008-04-08','11' -'348','val_348','2008-04-08','11' -'24','val_24','2008-04-08','11' -'463','val_463','2008-04-08','11' -'431','val_431','2008-04-08','11' -'179','val_179','2008-04-08','11' -'172','val_172','2008-04-08','11' -'42','val_42','2008-04-08','11' -'129','val_129','2008-04-08','11' -'158','val_158','2008-04-08','11' -'119','val_119','2008-04-08','11' -'496','val_496','2008-04-08','11' -'0','val_0','2008-04-08','11' -'322','val_322','2008-04-08','11' -'197','val_197','2008-04-08','11' -'468','val_468','2008-04-08','11' -'393','val_393','2008-04-08','11' -'454','val_454','2008-04-08','11' -'100','val_100','2008-04-08','11' -'298','val_298','2008-04-08','11' -'199','val_199','2008-04-08','11' -'191','val_191','2008-04-08','11' -'418','val_418','2008-04-08','11' -'96','val_96','2008-04-08','11' -'26','val_26','2008-04-08','11' -'165','val_165','2008-04-08','11' -'327','val_327','2008-04-08','11' -'230','val_230','2008-04-08','11' -'205','val_205','2008-04-08','11' -'120','val_120','2008-04-08','11' -'131','val_131','2008-04-08','11' -'51','val_51','2008-04-08','11' -'404','val_404','2008-04-08','11' -'43','val_43','2008-04-08','11' -'436','val_436','2008-04-08','11' -'156','val_156','2008-04-08','11' -'469','val_469','2008-04-08','11' -'468','val_468','2008-04-08','11' -'308','val_308','2008-04-08','11' -'95','val_95','2008-04-08','11' -'196','val_196','2008-04-08','11' -'288','val_288','2008-04-08','11' -'481','val_481','2008-04-08','11' -'457','val_457','2008-04-08','11' -'98','val_98','2008-04-08','11' -'282','val_282','2008-04-08','11' -'197','val_197','2008-04-08','11' -'187','val_187','2008-04-08','11' -'318','val_318','2008-04-08','11' -'318','val_318','2008-04-08','11' -'409','val_409','2008-04-08','11' -'470','val_470','2008-04-08','11' -'137','val_137','2008-04-08','11' -'369','val_369','2008-04-08','11' -'316','val_316','2008-04-08','11' -'169','val_169','2008-04-08','11' -'413','val_413','2008-04-08','11' -'85','val_85','2008-04-08','11' -'77','val_77','2008-04-08','11' -'0','val_0','2008-04-08','11' -'490','val_490','2008-04-08','11' -'87','val_87','2008-04-08','11' -'364','val_364','2008-04-08','11' -'179','val_179','2008-04-08','11' -'118','val_118','2008-04-08','11' -'134','val_134','2008-04-08','11' -'395','val_395','2008-04-08','11' -'282','val_282','2008-04-08','11' -'138','val_138','2008-04-08','11' -'238','val_238','2008-04-08','11' -'419','val_419','2008-04-08','11' -'15','val_15','2008-04-08','11' -'118','val_118','2008-04-08','11' -'72','val_72','2008-04-08','11' -'90','val_90','2008-04-08','11' -'307','val_307','2008-04-08','11' -'19','val_19','2008-04-08','11' -'435','val_435','2008-04-08','11' -'10','val_10','2008-04-08','11' -'277','val_277','2008-04-08','11' -'273','val_273','2008-04-08','11' -'306','val_306','2008-04-08','11' -'224','val_224','2008-04-08','11' -'309','val_309','2008-04-08','11' -'389','val_389','2008-04-08','11' -'327','val_327','2008-04-08','11' -'242','val_242','2008-04-08','11' -'369','val_369','2008-04-08','11' -'392','val_392','2008-04-08','11' -'272','val_272','2008-04-08','11' -'331','val_331','2008-04-08','11' -'401','val_401','2008-04-08','11' -'242','val_242','2008-04-08','11' -'452','val_452','2008-04-08','11' -'177','val_177','2008-04-08','11' -'226','val_226','2008-04-08','11' -'5','val_5','2008-04-08','11' -'497','val_497','2008-04-08','11' -'402','val_402','2008-04-08','11' -'396','val_396','2008-04-08','11' -'317','val_317','2008-04-08','11' -'395','val_395','2008-04-08','11' -'58','val_58','2008-04-08','11' -'35','val_35','2008-04-08','11' -'336','val_336','2008-04-08','11' -'95','val_95','2008-04-08','11' -'11','val_11','2008-04-08','11' -'168','val_168','2008-04-08','11' -'34','val_34','2008-04-08','11' -'229','val_229','2008-04-08','11' -'233','val_233','2008-04-08','11' -'143','val_143','2008-04-08','11' -'472','val_472','2008-04-08','11' -'322','val_322','2008-04-08','11' -'498','val_498','2008-04-08','11' -'160','val_160','2008-04-08','11' -'195','val_195','2008-04-08','11' -'42','val_42','2008-04-08','11' -'321','val_321','2008-04-08','11' -'430','val_430','2008-04-08','11' -'119','val_119','2008-04-08','11' -'489','val_489','2008-04-08','11' -'458','val_458','2008-04-08','11' -'78','val_78','2008-04-08','11' -'76','val_76','2008-04-08','11' -'41','val_41','2008-04-08','11' -'223','val_223','2008-04-08','11' -'492','val_492','2008-04-08','11' -'149','val_149','2008-04-08','11' -'449','val_449','2008-04-08','11' -'218','val_218','2008-04-08','11' -'228','val_228','2008-04-08','11' -'138','val_138','2008-04-08','11' -'453','val_453','2008-04-08','11' -'30','val_30','2008-04-08','11' -'209','val_209','2008-04-08','11' -'64','val_64','2008-04-08','11' -'468','val_468','2008-04-08','11' -'76','val_76','2008-04-08','11' -'74','val_74','2008-04-08','11' -'342','val_342','2008-04-08','11' -'69','val_69','2008-04-08','11' -'230','val_230','2008-04-08','11' -'33','val_33','2008-04-08','11' -'368','val_368','2008-04-08','11' -'103','val_103','2008-04-08','11' -'296','val_296','2008-04-08','11' -'113','val_113','2008-04-08','11' -'216','val_216','2008-04-08','11' -'367','val_367','2008-04-08','11' -'344','val_344','2008-04-08','11' -'167','val_167','2008-04-08','11' -'274','val_274','2008-04-08','11' -'219','val_219','2008-04-08','11' -'239','val_239','2008-04-08','11' -'485','val_485','2008-04-08','11' -'116','val_116','2008-04-08','11' -'223','val_223','2008-04-08','11' -'256','val_256','2008-04-08','11' -'263','val_263','2008-04-08','11' -'70','val_70','2008-04-08','11' -'487','val_487','2008-04-08','11' -'480','val_480','2008-04-08','11' -'401','val_401','2008-04-08','11' -'288','val_288','2008-04-08','11' -'191','val_191','2008-04-08','11' -'5','val_5','2008-04-08','11' -'244','val_244','2008-04-08','11' -'438','val_438','2008-04-08','11' -'128','val_128','2008-04-08','11' -'467','val_467','2008-04-08','11' -'432','val_432','2008-04-08','11' -'202','val_202','2008-04-08','11' -'316','val_316','2008-04-08','11' -'229','val_229','2008-04-08','11' -'469','val_469','2008-04-08','11' -'463','val_463','2008-04-08','11' -'280','val_280','2008-04-08','11' -'2','val_2','2008-04-08','11' -'35','val_35','2008-04-08','11' -'283','val_283','2008-04-08','11' -'331','val_331','2008-04-08','11' -'235','val_235','2008-04-08','11' -'80','val_80','2008-04-08','11' -'44','val_44','2008-04-08','11' -'193','val_193','2008-04-08','11' -'321','val_321','2008-04-08','11' -'335','val_335','2008-04-08','11' -'104','val_104','2008-04-08','11' -'466','val_466','2008-04-08','11' -'366','val_366','2008-04-08','11' -'175','val_175','2008-04-08','11' -'403','val_403','2008-04-08','11' -'483','val_483','2008-04-08','11' -'53','val_53','2008-04-08','11' -'105','val_105','2008-04-08','11' -'257','val_257','2008-04-08','11' -'406','val_406','2008-04-08','11' -'409','val_409','2008-04-08','11' -'190','val_190','2008-04-08','11' -'406','val_406','2008-04-08','11' -'401','val_401','2008-04-08','11' -'114','val_114','2008-04-08','11' -'258','val_258','2008-04-08','11' -'90','val_90','2008-04-08','11' -'203','val_203','2008-04-08','11' -'262','val_262','2008-04-08','11' -'348','val_348','2008-04-08','11' -'424','val_424','2008-04-08','11' -'12','val_12','2008-04-08','11' -'396','val_396','2008-04-08','11' -'201','val_201','2008-04-08','11' -'217','val_217','2008-04-08','11' -'164','val_164','2008-04-08','11' -'431','val_431','2008-04-08','11' -'454','val_454','2008-04-08','11' -'478','val_478','2008-04-08','11' -'298','val_298','2008-04-08','11' -'125','val_125','2008-04-08','11' -'431','val_431','2008-04-08','11' -'164','val_164','2008-04-08','11' -'424','val_424','2008-04-08','11' -'187','val_187','2008-04-08','11' -'382','val_382','2008-04-08','11' -'5','val_5','2008-04-08','11' -'70','val_70','2008-04-08','11' -'397','val_397','2008-04-08','11' -'480','val_480','2008-04-08','11' -'291','val_291','2008-04-08','11' -'24','val_24','2008-04-08','11' -'351','val_351','2008-04-08','11' -'255','val_255','2008-04-08','11' -'104','val_104','2008-04-08','11' -'70','val_70','2008-04-08','11' -'163','val_163','2008-04-08','11' -'438','val_438','2008-04-08','11' -'119','val_119','2008-04-08','11' -'414','val_414','2008-04-08','11' -'200','val_200','2008-04-08','11' -'491','val_491','2008-04-08','11' -'237','val_237','2008-04-08','11' -'439','val_439','2008-04-08','11' -'360','val_360','2008-04-08','11' -'248','val_248','2008-04-08','11' -'479','val_479','2008-04-08','11' -'305','val_305','2008-04-08','11' -'417','val_417','2008-04-08','11' -'199','val_199','2008-04-08','11' -'444','val_444','2008-04-08','11' -'120','val_120','2008-04-08','11' -'429','val_429','2008-04-08','11' -'169','val_169','2008-04-08','11' -'443','val_443','2008-04-08','11' -'323','val_323','2008-04-08','11' -'325','val_325','2008-04-08','11' -'277','val_277','2008-04-08','11' -'230','val_230','2008-04-08','11' -'478','val_478','2008-04-08','11' -'178','val_178','2008-04-08','11' -'468','val_468','2008-04-08','11' -'310','val_310','2008-04-08','11' -'317','val_317','2008-04-08','11' -'333','val_333','2008-04-08','11' -'493','val_493','2008-04-08','11' -'460','val_460','2008-04-08','11' -'207','val_207','2008-04-08','11' -'249','val_249','2008-04-08','11' -'265','val_265','2008-04-08','11' -'480','val_480','2008-04-08','11' -'83','val_83','2008-04-08','11' -'136','val_136','2008-04-08','11' -'353','val_353','2008-04-08','11' -'172','val_172','2008-04-08','11' -'214','val_214','2008-04-08','11' -'462','val_462','2008-04-08','11' -'233','val_233','2008-04-08','11' -'406','val_406','2008-04-08','11' -'133','val_133','2008-04-08','11' -'175','val_175','2008-04-08','11' -'189','val_189','2008-04-08','11' -'454','val_454','2008-04-08','11' -'375','val_375','2008-04-08','11' -'401','val_401','2008-04-08','11' -'421','val_421','2008-04-08','11' -'407','val_407','2008-04-08','11' -'384','val_384','2008-04-08','11' -'256','val_256','2008-04-08','11' -'26','val_26','2008-04-08','11' -'134','val_134','2008-04-08','11' -'67','val_67','2008-04-08','11' -'384','val_384','2008-04-08','11' -'379','val_379','2008-04-08','11' -'18','val_18','2008-04-08','11' -'462','val_462','2008-04-08','11' -'492','val_492','2008-04-08','11' -'100','val_100','2008-04-08','11' -'298','val_298','2008-04-08','11' -'9','val_9','2008-04-08','11' -'341','val_341','2008-04-08','11' -'498','val_498','2008-04-08','11' -'146','val_146','2008-04-08','11' -'458','val_458','2008-04-08','11' -'362','val_362','2008-04-08','11' -'186','val_186','2008-04-08','11' -'285','val_285','2008-04-08','11' -'348','val_348','2008-04-08','11' -'167','val_167','2008-04-08','11' -'18','val_18','2008-04-08','11' -'273','val_273','2008-04-08','11' -'183','val_183','2008-04-08','11' -'281','val_281','2008-04-08','11' -'344','val_344','2008-04-08','11' -'97','val_97','2008-04-08','11' -'469','val_469','2008-04-08','11' -'315','val_315','2008-04-08','11' -'84','val_84','2008-04-08','11' -'28','val_28','2008-04-08','11' -'37','val_37','2008-04-08','11' -'448','val_448','2008-04-08','11' -'152','val_152','2008-04-08','11' -'348','val_348','2008-04-08','11' -'307','val_307','2008-04-08','11' -'194','val_194','2008-04-08','11' -'414','val_414','2008-04-08','11' -'477','val_477','2008-04-08','11' -'222','val_222','2008-04-08','11' -'126','val_126','2008-04-08','11' -'90','val_90','2008-04-08','11' -'169','val_169','2008-04-08','11' -'403','val_403','2008-04-08','11' -'400','val_400','2008-04-08','11' -'200','val_200','2008-04-08','11' -'97','val_97','2008-04-08','11' -'238','val_238','2008-04-08','12' -'86','val_86','2008-04-08','12' -'311','val_311','2008-04-08','12' -'27','val_27','2008-04-08','12' -'165','val_165','2008-04-08','12' -'409','val_409','2008-04-08','12' -'255','val_255','2008-04-08','12' -'278','val_278','2008-04-08','12' -'98','val_98','2008-04-08','12' -'484','val_484','2008-04-08','12' -'265','val_265','2008-04-08','12' -'193','val_193','2008-04-08','12' -'401','val_401','2008-04-08','12' -'150','val_150','2008-04-08','12' -'273','val_273','2008-04-08','12' -'224','val_224','2008-04-08','12' -'369','val_369','2008-04-08','12' -'66','val_66','2008-04-08','12' -'128','val_128','2008-04-08','12' -'213','val_213','2008-04-08','12' -'146','val_146','2008-04-08','12' -'406','val_406','2008-04-08','12' -'429','val_429','2008-04-08','12' -'374','val_374','2008-04-08','12' -'152','val_152','2008-04-08','12' -'469','val_469','2008-04-08','12' -'145','val_145','2008-04-08','12' -'495','val_495','2008-04-08','12' -'37','val_37','2008-04-08','12' -'327','val_327','2008-04-08','12' -'281','val_281','2008-04-08','12' -'277','val_277','2008-04-08','12' -'209','val_209','2008-04-08','12' -'15','val_15','2008-04-08','12' -'82','val_82','2008-04-08','12' -'403','val_403','2008-04-08','12' -'166','val_166','2008-04-08','12' -'417','val_417','2008-04-08','12' -'430','val_430','2008-04-08','12' -'252','val_252','2008-04-08','12' -'292','val_292','2008-04-08','12' -'219','val_219','2008-04-08','12' -'287','val_287','2008-04-08','12' -'153','val_153','2008-04-08','12' -'193','val_193','2008-04-08','12' -'338','val_338','2008-04-08','12' -'446','val_446','2008-04-08','12' -'459','val_459','2008-04-08','12' -'394','val_394','2008-04-08','12' -'237','val_237','2008-04-08','12' -'482','val_482','2008-04-08','12' -'174','val_174','2008-04-08','12' -'413','val_413','2008-04-08','12' -'494','val_494','2008-04-08','12' -'207','val_207','2008-04-08','12' -'199','val_199','2008-04-08','12' -'466','val_466','2008-04-08','12' -'208','val_208','2008-04-08','12' -'174','val_174','2008-04-08','12' -'399','val_399','2008-04-08','12' -'396','val_396','2008-04-08','12' -'247','val_247','2008-04-08','12' -'417','val_417','2008-04-08','12' -'489','val_489','2008-04-08','12' -'162','val_162','2008-04-08','12' -'377','val_377','2008-04-08','12' -'397','val_397','2008-04-08','12' -'309','val_309','2008-04-08','12' -'365','val_365','2008-04-08','12' -'266','val_266','2008-04-08','12' -'439','val_439','2008-04-08','12' -'342','val_342','2008-04-08','12' -'367','val_367','2008-04-08','12' -'325','val_325','2008-04-08','12' -'167','val_167','2008-04-08','12' -'195','val_195','2008-04-08','12' -'475','val_475','2008-04-08','12' -'17','val_17','2008-04-08','12' -'113','val_113','2008-04-08','12' -'155','val_155','2008-04-08','12' -'203','val_203','2008-04-08','12' -'339','val_339','2008-04-08','12' -'0','val_0','2008-04-08','12' -'455','val_455','2008-04-08','12' -'128','val_128','2008-04-08','12' -'311','val_311','2008-04-08','12' -'316','val_316','2008-04-08','12' -'57','val_57','2008-04-08','12' -'302','val_302','2008-04-08','12' -'205','val_205','2008-04-08','12' -'149','val_149','2008-04-08','12' -'438','val_438','2008-04-08','12' -'345','val_345','2008-04-08','12' -'129','val_129','2008-04-08','12' -'170','val_170','2008-04-08','12' -'20','val_20','2008-04-08','12' -'489','val_489','2008-04-08','12' -'157','val_157','2008-04-08','12' -'378','val_378','2008-04-08','12' -'221','val_221','2008-04-08','12' -'92','val_92','2008-04-08','12' -'111','val_111','2008-04-08','12' -'47','val_47','2008-04-08','12' -'72','val_72','2008-04-08','12' -'4','val_4','2008-04-08','12' -'280','val_280','2008-04-08','12' -'35','val_35','2008-04-08','12' -'427','val_427','2008-04-08','12' -'277','val_277','2008-04-08','12' -'208','val_208','2008-04-08','12' -'356','val_356','2008-04-08','12' -'399','val_399','2008-04-08','12' -'169','val_169','2008-04-08','12' -'382','val_382','2008-04-08','12' -'498','val_498','2008-04-08','12' -'125','val_125','2008-04-08','12' -'386','val_386','2008-04-08','12' -'437','val_437','2008-04-08','12' -'469','val_469','2008-04-08','12' -'192','val_192','2008-04-08','12' -'286','val_286','2008-04-08','12' -'187','val_187','2008-04-08','12' -'176','val_176','2008-04-08','12' -'54','val_54','2008-04-08','12' -'459','val_459','2008-04-08','12' -'51','val_51','2008-04-08','12' -'138','val_138','2008-04-08','12' -'103','val_103','2008-04-08','12' -'239','val_239','2008-04-08','12' -'213','val_213','2008-04-08','12' -'216','val_216','2008-04-08','12' -'430','val_430','2008-04-08','12' -'278','val_278','2008-04-08','12' -'176','val_176','2008-04-08','12' -'289','val_289','2008-04-08','12' -'221','val_221','2008-04-08','12' -'65','val_65','2008-04-08','12' -'318','val_318','2008-04-08','12' -'332','val_332','2008-04-08','12' -'311','val_311','2008-04-08','12' -'275','val_275','2008-04-08','12' -'137','val_137','2008-04-08','12' -'241','val_241','2008-04-08','12' -'83','val_83','2008-04-08','12' -'333','val_333','2008-04-08','12' -'180','val_180','2008-04-08','12' -'284','val_284','2008-04-08','12' -'12','val_12','2008-04-08','12' -'230','val_230','2008-04-08','12' -'181','val_181','2008-04-08','12' -'67','val_67','2008-04-08','12' -'260','val_260','2008-04-08','12' -'404','val_404','2008-04-08','12' -'384','val_384','2008-04-08','12' -'489','val_489','2008-04-08','12' -'353','val_353','2008-04-08','12' -'373','val_373','2008-04-08','12' -'272','val_272','2008-04-08','12' -'138','val_138','2008-04-08','12' -'217','val_217','2008-04-08','12' -'84','val_84','2008-04-08','12' -'348','val_348','2008-04-08','12' -'466','val_466','2008-04-08','12' -'58','val_58','2008-04-08','12' -'8','val_8','2008-04-08','12' -'411','val_411','2008-04-08','12' -'230','val_230','2008-04-08','12' -'208','val_208','2008-04-08','12' -'348','val_348','2008-04-08','12' -'24','val_24','2008-04-08','12' -'463','val_463','2008-04-08','12' -'431','val_431','2008-04-08','12' -'179','val_179','2008-04-08','12' -'172','val_172','2008-04-08','12' -'42','val_42','2008-04-08','12' -'129','val_129','2008-04-08','12' -'158','val_158','2008-04-08','12' -'119','val_119','2008-04-08','12' -'496','val_496','2008-04-08','12' -'0','val_0','2008-04-08','12' -'322','val_322','2008-04-08','12' -'197','val_197','2008-04-08','12' -'468','val_468','2008-04-08','12' -'393','val_393','2008-04-08','12' -'454','val_454','2008-04-08','12' -'100','val_100','2008-04-08','12' -'298','val_298','2008-04-08','12' -'199','val_199','2008-04-08','12' -'191','val_191','2008-04-08','12' -'418','val_418','2008-04-08','12' -'96','val_96','2008-04-08','12' -'26','val_26','2008-04-08','12' -'165','val_165','2008-04-08','12' -'327','val_327','2008-04-08','12' -'230','val_230','2008-04-08','12' -'205','val_205','2008-04-08','12' -'120','val_120','2008-04-08','12' -'131','val_131','2008-04-08','12' -'51','val_51','2008-04-08','12' -'404','val_404','2008-04-08','12' -'43','val_43','2008-04-08','12' -'436','val_436','2008-04-08','12' -'156','val_156','2008-04-08','12' -'469','val_469','2008-04-08','12' -'468','val_468','2008-04-08','12' -'308','val_308','2008-04-08','12' -'95','val_95','2008-04-08','12' -'196','val_196','2008-04-08','12' -'288','val_288','2008-04-08','12' -'481','val_481','2008-04-08','12' -'457','val_457','2008-04-08','12' -'98','val_98','2008-04-08','12' -'282','val_282','2008-04-08','12' -'197','val_197','2008-04-08','12' -'187','val_187','2008-04-08','12' -'318','val_318','2008-04-08','12' -'318','val_318','2008-04-08','12' -'409','val_409','2008-04-08','12' -'470','val_470','2008-04-08','12' -'137','val_137','2008-04-08','12' -'369','val_369','2008-04-08','12' -'316','val_316','2008-04-08','12' -'169','val_169','2008-04-08','12' -'413','val_413','2008-04-08','12' -'85','val_85','2008-04-08','12' -'77','val_77','2008-04-08','12' -'0','val_0','2008-04-08','12' -'490','val_490','2008-04-08','12' -'87','val_87','2008-04-08','12' -'364','val_364','2008-04-08','12' -'179','val_179','2008-04-08','12' -'118','val_118','2008-04-08','12' -'134','val_134','2008-04-08','12' -'395','val_395','2008-04-08','12' -'282','val_282','2008-04-08','12' -'138','val_138','2008-04-08','12' -'238','val_238','2008-04-08','12' -'419','val_419','2008-04-08','12' -'15','val_15','2008-04-08','12' -'118','val_118','2008-04-08','12' -'72','val_72','2008-04-08','12' -'90','val_90','2008-04-08','12' -'307','val_307','2008-04-08','12' -'19','val_19','2008-04-08','12' -'435','val_435','2008-04-08','12' -'10','val_10','2008-04-08','12' -'277','val_277','2008-04-08','12' -'273','val_273','2008-04-08','12' -'306','val_306','2008-04-08','12' -'224','val_224','2008-04-08','12' -'309','val_309','2008-04-08','12' -'389','val_389','2008-04-08','12' -'327','val_327','2008-04-08','12' -'242','val_242','2008-04-08','12' -'369','val_369','2008-04-08','12' -'392','val_392','2008-04-08','12' -'272','val_272','2008-04-08','12' -'331','val_331','2008-04-08','12' -'401','val_401','2008-04-08','12' -'242','val_242','2008-04-08','12' -'452','val_452','2008-04-08','12' -'177','val_177','2008-04-08','12' -'226','val_226','2008-04-08','12' -'5','val_5','2008-04-08','12' -'497','val_497','2008-04-08','12' -'402','val_402','2008-04-08','12' -'396','val_396','2008-04-08','12' -'317','val_317','2008-04-08','12' -'395','val_395','2008-04-08','12' -'58','val_58','2008-04-08','12' -'35','val_35','2008-04-08','12' -'336','val_336','2008-04-08','12' -'95','val_95','2008-04-08','12' -'11','val_11','2008-04-08','12' -'168','val_168','2008-04-08','12' -'34','val_34','2008-04-08','12' -'229','val_229','2008-04-08','12' -'233','val_233','2008-04-08','12' -'143','val_143','2008-04-08','12' -'472','val_472','2008-04-08','12' -'322','val_322','2008-04-08','12' -'498','val_498','2008-04-08','12' -'160','val_160','2008-04-08','12' -'195','val_195','2008-04-08','12' -'42','val_42','2008-04-08','12' -'321','val_321','2008-04-08','12' -'430','val_430','2008-04-08','12' -'119','val_119','2008-04-08','12' -'489','val_489','2008-04-08','12' -'458','val_458','2008-04-08','12' -'78','val_78','2008-04-08','12' -'76','val_76','2008-04-08','12' -'41','val_41','2008-04-08','12' -'223','val_223','2008-04-08','12' -'492','val_492','2008-04-08','12' -'149','val_149','2008-04-08','12' -'449','val_449','2008-04-08','12' -'218','val_218','2008-04-08','12' -'228','val_228','2008-04-08','12' -'138','val_138','2008-04-08','12' -'453','val_453','2008-04-08','12' -'30','val_30','2008-04-08','12' -'209','val_209','2008-04-08','12' -'64','val_64','2008-04-08','12' -'468','val_468','2008-04-08','12' -'76','val_76','2008-04-08','12' -'74','val_74','2008-04-08','12' -'342','val_342','2008-04-08','12' -'69','val_69','2008-04-08','12' -'230','val_230','2008-04-08','12' -'33','val_33','2008-04-08','12' -'368','val_368','2008-04-08','12' -'103','val_103','2008-04-08','12' -'296','val_296','2008-04-08','12' -'113','val_113','2008-04-08','12' -'216','val_216','2008-04-08','12' -'367','val_367','2008-04-08','12' -'344','val_344','2008-04-08','12' -'167','val_167','2008-04-08','12' -'274','val_274','2008-04-08','12' -'219','val_219','2008-04-08','12' -'239','val_239','2008-04-08','12' -'485','val_485','2008-04-08','12' -'116','val_116','2008-04-08','12' -'223','val_223','2008-04-08','12' -'256','val_256','2008-04-08','12' -'263','val_263','2008-04-08','12' -'70','val_70','2008-04-08','12' -'487','val_487','2008-04-08','12' -'480','val_480','2008-04-08','12' -'401','val_401','2008-04-08','12' -'288','val_288','2008-04-08','12' -'191','val_191','2008-04-08','12' -'5','val_5','2008-04-08','12' -'244','val_244','2008-04-08','12' -'438','val_438','2008-04-08','12' -'128','val_128','2008-04-08','12' -'467','val_467','2008-04-08','12' -'432','val_432','2008-04-08','12' -'202','val_202','2008-04-08','12' -'316','val_316','2008-04-08','12' -'229','val_229','2008-04-08','12' -'469','val_469','2008-04-08','12' -'463','val_463','2008-04-08','12' -'280','val_280','2008-04-08','12' -'2','val_2','2008-04-08','12' -'35','val_35','2008-04-08','12' -'283','val_283','2008-04-08','12' -'331','val_331','2008-04-08','12' -'235','val_235','2008-04-08','12' -'80','val_80','2008-04-08','12' -'44','val_44','2008-04-08','12' -'193','val_193','2008-04-08','12' -'321','val_321','2008-04-08','12' -'335','val_335','2008-04-08','12' -'104','val_104','2008-04-08','12' -'466','val_466','2008-04-08','12' -'366','val_366','2008-04-08','12' -'175','val_175','2008-04-08','12' -'403','val_403','2008-04-08','12' -'483','val_483','2008-04-08','12' -'53','val_53','2008-04-08','12' -'105','val_105','2008-04-08','12' -'257','val_257','2008-04-08','12' -'406','val_406','2008-04-08','12' -'409','val_409','2008-04-08','12' -'190','val_190','2008-04-08','12' -'406','val_406','2008-04-08','12' -'401','val_401','2008-04-08','12' -'114','val_114','2008-04-08','12' -'258','val_258','2008-04-08','12' -'90','val_90','2008-04-08','12' -'203','val_203','2008-04-08','12' -'262','val_262','2008-04-08','12' -'348','val_348','2008-04-08','12' -'424','val_424','2008-04-08','12' -'12','val_12','2008-04-08','12' -'396','val_396','2008-04-08','12' -'201','val_201','2008-04-08','12' -'217','val_217','2008-04-08','12' -'164','val_164','2008-04-08','12' -'431','val_431','2008-04-08','12' -'454','val_454','2008-04-08','12' -'478','val_478','2008-04-08','12' -'298','val_298','2008-04-08','12' -'125','val_125','2008-04-08','12' -'431','val_431','2008-04-08','12' -'164','val_164','2008-04-08','12' -'424','val_424','2008-04-08','12' -'187','val_187','2008-04-08','12' -'382','val_382','2008-04-08','12' -'5','val_5','2008-04-08','12' -'70','val_70','2008-04-08','12' -'397','val_397','2008-04-08','12' -'480','val_480','2008-04-08','12' -'291','val_291','2008-04-08','12' -'24','val_24','2008-04-08','12' -'351','val_351','2008-04-08','12' -'255','val_255','2008-04-08','12' -'104','val_104','2008-04-08','12' -'70','val_70','2008-04-08','12' -'163','val_163','2008-04-08','12' -'438','val_438','2008-04-08','12' -'119','val_119','2008-04-08','12' -'414','val_414','2008-04-08','12' -'200','val_200','2008-04-08','12' -'491','val_491','2008-04-08','12' -'237','val_237','2008-04-08','12' -'439','val_439','2008-04-08','12' -'360','val_360','2008-04-08','12' -'248','val_248','2008-04-08','12' -'479','val_479','2008-04-08','12' -'305','val_305','2008-04-08','12' -'417','val_417','2008-04-08','12' -'199','val_199','2008-04-08','12' -'444','val_444','2008-04-08','12' -'120','val_120','2008-04-08','12' -'429','val_429','2008-04-08','12' -'169','val_169','2008-04-08','12' -'443','val_443','2008-04-08','12' -'323','val_323','2008-04-08','12' -'325','val_325','2008-04-08','12' -'277','val_277','2008-04-08','12' -'230','val_230','2008-04-08','12' -'478','val_478','2008-04-08','12' -'178','val_178','2008-04-08','12' -'468','val_468','2008-04-08','12' -'310','val_310','2008-04-08','12' -'317','val_317','2008-04-08','12' -'333','val_333','2008-04-08','12' -'493','val_493','2008-04-08','12' -'460','val_460','2008-04-08','12' -'207','val_207','2008-04-08','12' -'249','val_249','2008-04-08','12' -'265','val_265','2008-04-08','12' -'480','val_480','2008-04-08','12' -'83','val_83','2008-04-08','12' -'136','val_136','2008-04-08','12' -'353','val_353','2008-04-08','12' -'172','val_172','2008-04-08','12' -'214','val_214','2008-04-08','12' -'462','val_462','2008-04-08','12' -'233','val_233','2008-04-08','12' -'406','val_406','2008-04-08','12' -'133','val_133','2008-04-08','12' -'175','val_175','2008-04-08','12' -'189','val_189','2008-04-08','12' -'454','val_454','2008-04-08','12' -'375','val_375','2008-04-08','12' -'401','val_401','2008-04-08','12' -'421','val_421','2008-04-08','12' -'407','val_407','2008-04-08','12' -'384','val_384','2008-04-08','12' -'256','val_256','2008-04-08','12' -'26','val_26','2008-04-08','12' -'134','val_134','2008-04-08','12' -'67','val_67','2008-04-08','12' -'384','val_384','2008-04-08','12' -'379','val_379','2008-04-08','12' -'18','val_18','2008-04-08','12' -'462','val_462','2008-04-08','12' -'492','val_492','2008-04-08','12' -'100','val_100','2008-04-08','12' -'298','val_298','2008-04-08','12' -'9','val_9','2008-04-08','12' -'341','val_341','2008-04-08','12' -'498','val_498','2008-04-08','12' -'146','val_146','2008-04-08','12' -'458','val_458','2008-04-08','12' -'362','val_362','2008-04-08','12' -'186','val_186','2008-04-08','12' -'285','val_285','2008-04-08','12' -'348','val_348','2008-04-08','12' -'167','val_167','2008-04-08','12' -'18','val_18','2008-04-08','12' -'273','val_273','2008-04-08','12' -'183','val_183','2008-04-08','12' -'281','val_281','2008-04-08','12' -'344','val_344','2008-04-08','12' -'97','val_97','2008-04-08','12' -'469','val_469','2008-04-08','12' -'315','val_315','2008-04-08','12' -'84','val_84','2008-04-08','12' -'28','val_28','2008-04-08','12' -'37','val_37','2008-04-08','12' -'448','val_448','2008-04-08','12' -'152','val_152','2008-04-08','12' -'348','val_348','2008-04-08','12' -'307','val_307','2008-04-08','12' -'194','val_194','2008-04-08','12' -'414','val_414','2008-04-08','12' -'477','val_477','2008-04-08','12' -'222','val_222','2008-04-08','12' -'126','val_126','2008-04-08','12' -'90','val_90','2008-04-08','12' -'169','val_169','2008-04-08','12' -'403','val_403','2008-04-08','12' -'400','val_400','2008-04-08','12' -'200','val_200','2008-04-08','12' -'97','val_97','2008-04-08','12' -1,000 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/load_fs.q.out ql/src/test/results/beelinepositive/load_fs.q.out deleted file mode 100644 index a9377fe..0000000 --- ql/src/test/results/beelinepositive/load_fs.q.out +++ /dev/null @@ -1,103 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/load_fs.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/load_fs.q ->>> ->>> create table load_overwrite (key string, value string) stored as textfile location 'file:${system:test.tmp.dir}/load_overwrite'; -No rows affected ->>> create table load_overwrite2 (key string, value string) stored as textfile location 'file:${system:test.tmp.dir}/load2_overwrite2'; -No rows affected ->>> ->>> load data local inpath '../data/files/kv1.txt' into table load_overwrite; -No rows affected ->>> load data local inpath '../data/files/kv2.txt' into table load_overwrite; -No rows affected ->>> load data local inpath '../data/files/kv3.txt' into table load_overwrite; -No rows affected ->>> ->>> show table extended like load_overwrite; -'tab_name' -'tableName:load_overwrite' -'owner:!!{user.name}!!' -'location:file:!!{hive.root}!!/build/ql/tmp/load_overwrite' -'inputformat:org.apache.hadoop.mapred.TextInputFormat' -'outputformat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'columns:struct columns { string key, string value}' -'partitioned:false' -'partitionColumns:' -'totalNumberFiles:3' -'totalFileSize:11819' -'maxFileSize:5812' -'minFileSize:216' -'lastAccessTime:0' -'lastUpdateTime:!!UNIXTIMEMILLIS!!' -'' -15 rows selected ->>> desc extended load_overwrite; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'','','' -'Detailed Table Information','Table(tableName:load_overwrite, dbName:load_fs, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null)], location:file:!!{hive.root}!!/build/ql/tmp/load_overwrite, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{numPartitions=0, numFiles=0, transient_lastDdlTime=!!UNIXTIME!!, numRows=0, totalSize=0, rawDataSize=0}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -4 rows selected ->>> select count(*) from load_overwrite; -'_c0' -'1025' -1 row selected ->>> ->>> load data inpath '${system:test.tmp.dir}/load_overwrite/kv*.txt' overwrite into table load_overwrite2; -No rows affected ->>> ->>> show table extended like load_overwrite2; -'tab_name' -'tableName:load_overwrite2' -'owner:!!{user.name}!!' -'location:file:!!{hive.root}!!/build/ql/tmp/load2_overwrite2' -'inputformat:org.apache.hadoop.mapred.TextInputFormat' -'outputformat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'columns:struct columns { string key, string value}' -'partitioned:false' -'partitionColumns:' -'totalNumberFiles:3' -'totalFileSize:11819' -'maxFileSize:5812' -'minFileSize:216' -'lastAccessTime:0' -'lastUpdateTime:!!UNIXTIMEMILLIS!!' -'' -15 rows selected ->>> desc extended load_overwrite2; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'','','' -'Detailed Table Information','Table(tableName:load_overwrite2, dbName:load_fs, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null)], location:file:!!{hive.root}!!/build/ql/tmp/load2_overwrite2, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{numPartitions=0, numFiles=0, transient_lastDdlTime=!!UNIXTIME!!, numRows=0, totalSize=0, rawDataSize=0}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -4 rows selected ->>> select count(*) from load_overwrite2; -'_c0' -'1025' -1 row selected ->>> ->>> load data inpath '${system:test.tmp.dir}/load2_*' overwrite into table load_overwrite; -No rows affected ->>> show table extended like load_overwrite; -'tab_name' -'tableName:load_overwrite' -'owner:!!{user.name}!!' -'location:file:!!{hive.root}!!/build/ql/tmp/load_overwrite' -'inputformat:org.apache.hadoop.mapred.TextInputFormat' -'outputformat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'columns:struct columns { string key, string value}' -'partitioned:false' -'partitionColumns:' -'totalNumberFiles:3' -'totalFileSize:11819' -'maxFileSize:5812' -'minFileSize:216' -'lastAccessTime:0' -'lastUpdateTime:!!UNIXTIMEMILLIS!!' -'' -15 rows selected ->>> select count(*) from load_overwrite; -'_c0' -'1025' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/load_overwrite.q.out ql/src/test/results/beelinepositive/load_overwrite.q.out deleted file mode 100644 index d459c57..0000000 --- ql/src/test/results/beelinepositive/load_overwrite.q.out +++ /dev/null @@ -1,83 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/load_overwrite.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/load_overwrite.q ->>> create table load_overwrite like src; -No rows affected ->>> ->>> insert overwrite table load_overwrite select * from src; -'key','value' -No rows selected ->>> show table extended like load_overwrite; -'tab_name' -'tableName:load_overwrite' -'owner:!!{user.name}!!' -'location:!!{hive.metastore.warehouse.dir}!!/load_overwrite.db/load_overwrite' -'inputformat:org.apache.hadoop.mapred.TextInputFormat' -'outputformat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'columns:struct columns { string key, string value}' -'partitioned:false' -'partitionColumns:' -'totalNumberFiles:1' -'totalFileSize:5812' -'maxFileSize:5812' -'minFileSize:5812' -'lastAccessTime:0' -'lastUpdateTime:!!UNIXTIMEMILLIS!!' -'' -15 rows selected ->>> select count(*) from load_overwrite; -'_c0' -'500' -1 row selected ->>> ->>> ->>> load data local inpath '../data/files/kv1.txt' into table load_overwrite; -No rows affected ->>> show table extended like load_overwrite; -'tab_name' -'tableName:load_overwrite' -'owner:!!{user.name}!!' -'location:!!{hive.metastore.warehouse.dir}!!/load_overwrite.db/load_overwrite' -'inputformat:org.apache.hadoop.mapred.TextInputFormat' -'outputformat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'columns:struct columns { string key, string value}' -'partitioned:false' -'partitionColumns:' -'totalNumberFiles:2' -'totalFileSize:11624' -'maxFileSize:5812' -'minFileSize:5812' -'lastAccessTime:0' -'lastUpdateTime:!!UNIXTIMEMILLIS!!' -'' -15 rows selected ->>> select count(*) from load_overwrite; -'_c0' -'1000' -1 row selected ->>> ->>> ->>> load data local inpath '../data/files/kv1.txt' overwrite into table load_overwrite; -No rows affected ->>> show table extended like load_overwrite; -'tab_name' -'tableName:load_overwrite' -'owner:!!{user.name}!!' -'location:!!{hive.metastore.warehouse.dir}!!/load_overwrite.db/load_overwrite' -'inputformat:org.apache.hadoop.mapred.TextInputFormat' -'outputformat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'columns:struct columns { string key, string value}' -'partitioned:false' -'partitionColumns:' -'totalNumberFiles:1' -'totalFileSize:5812' -'maxFileSize:5812' -'minFileSize:5812' -'lastAccessTime:0' -'lastUpdateTime:!!UNIXTIMEMILLIS!!' -'' -15 rows selected ->>> select count(*) from load_overwrite; -'_c0' -'500' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/loadpart1.q.out ql/src/test/results/beelinepositive/loadpart1.q.out deleted file mode 100644 index e73fcee..0000000 --- ql/src/test/results/beelinepositive/loadpart1.q.out +++ /dev/null @@ -1,51 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/loadpart1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/loadpart1.q ->>> ->>> ->>> ->>> create table hive_test_src ( col1 string ) stored as textfile ; -No rows affected ->>> load data local inpath '../data/files/test.dat' overwrite into table hive_test_src ; -No rows affected ->>> ->>> create table hive_test_dst ( col1 string ) partitioned by ( pcol1 string , pcol2 string) stored as sequencefile; -No rows affected ->>> insert overwrite table hive_test_dst partition ( pcol1='test_part', pCol2='test_Part') select col1 from hive_test_src ; -'col1' -No rows selected ->>> select * from hive_test_dst where pcol1='test_part' and pcol2='test_Part'; -'col1','pcol1','pcol2' -'1','test_part','test_Part' -'2','test_part','test_Part' -'3','test_part','test_Part' -'4','test_part','test_Part' -'5','test_part','test_Part' -'6','test_part','test_Part' -6 rows selected ->>> ->>> insert overwrite table hive_test_dst partition ( pCol1='test_part', pcol2='test_Part') select col1 from hive_test_src ; -'col1' -No rows selected ->>> select * from hive_test_dst where pcol1='test_part' and pcol2='test_part'; -'col1','pcol1','pcol2' -No rows selected ->>> ->>> select * from hive_test_dst where pcol1='test_part'; -'col1','pcol1','pcol2' -'1','test_part','test_Part' -'2','test_part','test_Part' -'3','test_part','test_Part' -'4','test_part','test_Part' -'5','test_part','test_Part' -'6','test_part','test_Part' -6 rows selected ->>> select * from hive_test_dst where pcol1='test_part' and pcol2='test_part'; -'col1','pcol1','pcol2' -No rows selected ->>> select * from hive_test_dst where pcol1='test_Part'; -'col1','pcol1','pcol2' -No rows selected ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/louter_join_ppr.q.out ql/src/test/results/beelinepositive/louter_join_ppr.q.out deleted file mode 100644 index 8d2ccc8..0000000 --- ql/src/test/results/beelinepositive/louter_join_ppr.q.out +++ /dev/null @@ -1,1394 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/louter_join_ppr.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/louter_join_ppr.q ->>> set hive.optimize.ppd=true; -No rows affected ->>> ->>> EXPLAIN EXTENDED -FROM -src a -LEFT OUTER JOIN -srcpart b -ON (a.key = b.key AND b.ds = '2008-04-08') -SELECT a.key, a.value, b.key, b.value -WHERE a.key > 10 AND a.key < 20 AND b.key > 15 AND b.key < 25; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME src) a) (TOK_TABREF (TOK_TABNAME srcpart) b) (AND (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL b) ds) '2008-04-08')))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value))) (TOK_WHERE (AND (AND (AND (> (. (TOK_TABLE_OR_COL a) key) 10) (< (. (TOK_TABLE_OR_COL a) key) 20)) (> (. (TOK_TABLE_OR_COL b) key) 15)) (< (. (TOK_TABLE_OR_COL b) key) 25)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((key > 10.0) and (key < 20.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((key > 10.0) and (key < 20.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Needs Tagging: true' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/src [a]' -' !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart/ds=2008-04-08/hr=11 [b]' -' !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart/ds=2008-04-08/hr=12 [b]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/src' -' name louter_join_ppr.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/src' -' name louter_join_ppr.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: louter_join_ppr.src' -' name: louter_join_ppr.src' -' !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart/ds=2008-04-08/hr=11' -' name louter_join_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart' -' name louter_join_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: louter_join_ppr.srcpart' -' name: louter_join_ppr.srcpart' -' !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart/ds=2008-04-08/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart/ds=2008-04-08/hr=12' -' name louter_join_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart' -' name louter_join_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: louter_join_ppr.srcpart' -' name: louter_join_ppr.srcpart' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((_col4 > 15.0) and (_col4 < 25.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string:string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -259 rows selected ->>> ->>> FROM -src a -LEFT OUTER JOIN -srcpart b -ON (a.key = b.key AND b.ds = '2008-04-08') -SELECT a.key, a.value, b.key, b.value -WHERE a.key > 10 AND a.key < 20 AND b.key > 15 AND b.key < 25; -'key','value','key','value' -'17','val_17','17','val_17' -'17','val_17','17','val_17' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'19','val_19','19','val_19' -'19','val_19','19','val_19' -12 rows selected ->>> ->>> EXPLAIN EXTENDED -FROM -srcpart a -LEFT OUTER JOIN -src b -ON (a.key = b.key AND a.ds = '2008-04-08') -SELECT a.key, a.value, b.key, b.value -WHERE a.key > 10 AND a.key < 20 AND b.key > 15 AND b.key < 25; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME srcpart) a) (TOK_TABREF (TOK_TABNAME src) b) (AND (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL a) ds) '2008-04-08')))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value))) (TOK_WHERE (AND (AND (AND (> (. (TOK_TABLE_OR_COL a) key) 10) (< (. (TOK_TABLE_OR_COL a) key) 20)) (> (. (TOK_TABLE_OR_COL b) key) 15)) (< (. (TOK_TABLE_OR_COL b) key) 25)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((key > 10.0) and (key < 20.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((key > 10.0) and (key < 20.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Needs Tagging: true' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/src [b]' -' !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart/ds=2008-04-08/hr=11 [a]' -' !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart/ds=2008-04-08/hr=12 [a]' -' !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart/ds=2008-04-09/hr=11 [a]' -' !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart/ds=2008-04-09/hr=12 [a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/src' -' name louter_join_ppr.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/src' -' name louter_join_ppr.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: louter_join_ppr.src' -' name: louter_join_ppr.src' -' !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart/ds=2008-04-08/hr=11' -' name louter_join_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart' -' name louter_join_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: louter_join_ppr.srcpart' -' name: louter_join_ppr.srcpart' -' !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart/ds=2008-04-08/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart/ds=2008-04-08/hr=12' -' name louter_join_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart' -' name louter_join_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: louter_join_ppr.srcpart' -' name: louter_join_ppr.srcpart' -' !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart/ds=2008-04-09/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-09' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart/ds=2008-04-09/hr=11' -' name louter_join_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart' -' name louter_join_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: louter_join_ppr.srcpart' -' name: louter_join_ppr.srcpart' -' !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart/ds=2008-04-09/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-09' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart/ds=2008-04-09/hr=12' -' name louter_join_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart' -' name louter_join_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: louter_join_ppr.srcpart' -' name: louter_join_ppr.srcpart' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' filter mappings:' -' 0 [1, 1]' -' filter predicates:' -' 0 {(VALUE._col2 = '2008-04-08')}' -' 1 ' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col6, _col7' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((_col6 > 15.0) and (_col6 < 25.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col6' -' type: string' -' expr: _col7' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string:string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -370 rows selected ->>> ->>> FROM -srcpart a -LEFT OUTER JOIN -src b -ON (a.key = b.key AND a.ds = '2008-04-08') -SELECT a.key, a.value, b.key, b.value -WHERE a.key > 10 AND a.key < 20 AND b.key > 15 AND b.key < 25; -'key','value','key','value' -'17','val_17','17','val_17' -'17','val_17','17','val_17' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'19','val_19','19','val_19' -'19','val_19','19','val_19' -12 rows selected ->>> ->>> ->>> EXPLAIN EXTENDED -FROM -src a -LEFT OUTER JOIN -srcpart b -ON (a.key = b.key) -SELECT a.key, a.value, b.key, b.value -WHERE a.key > 10 AND a.key < 20 AND b.key > 15 AND b.key < 25 AND b.ds = '2008-04-08'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME src) a) (TOK_TABREF (TOK_TABNAME srcpart) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value))) (TOK_WHERE (AND (AND (AND (AND (> (. (TOK_TABLE_OR_COL a) key) 10) (< (. (TOK_TABLE_OR_COL a) key) 20)) (> (. (TOK_TABLE_OR_COL b) key) 15)) (< (. (TOK_TABLE_OR_COL b) key) 25)) (= (. (TOK_TABLE_OR_COL b) ds) '2008-04-08')))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((key > 10.0) and (key < 20.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((key > 10.0) and (key < 20.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' Needs Tagging: true' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/src [a]' -' !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart/ds=2008-04-08/hr=11 [b]' -' !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart/ds=2008-04-08/hr=12 [b]' -' !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart/ds=2008-04-09/hr=11 [b]' -' !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart/ds=2008-04-09/hr=12 [b]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/src' -' name louter_join_ppr.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/src' -' name louter_join_ppr.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: louter_join_ppr.src' -' name: louter_join_ppr.src' -' !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart/ds=2008-04-08/hr=11' -' name louter_join_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart' -' name louter_join_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: louter_join_ppr.srcpart' -' name: louter_join_ppr.srcpart' -' !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart/ds=2008-04-08/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart/ds=2008-04-08/hr=12' -' name louter_join_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart' -' name louter_join_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: louter_join_ppr.srcpart' -' name: louter_join_ppr.srcpart' -' !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart/ds=2008-04-09/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-09' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart/ds=2008-04-09/hr=11' -' name louter_join_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart' -' name louter_join_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: louter_join_ppr.srcpart' -' name: louter_join_ppr.srcpart' -' !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart/ds=2008-04-09/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-09' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart/ds=2008-04-09/hr=12' -' name louter_join_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart' -' name louter_join_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: louter_join_ppr.srcpart' -' name: louter_join_ppr.srcpart' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1} {VALUE._col2}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col6' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (((_col4 > 15.0) and (_col4 < 25.0)) and (_col6 = '2008-04-08'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string:string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -365 rows selected ->>> ->>> FROM -src a -LEFT OUTER JOIN -srcpart b -ON (a.key = b.key) -SELECT a.key, a.value, b.key, b.value -WHERE a.key > 10 AND a.key < 20 AND b.key > 15 AND b.key < 25 AND b.ds = '2008-04-08'; -'key','value','key','value' -'17','val_17','17','val_17' -'17','val_17','17','val_17' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'19','val_19','19','val_19' -'19','val_19','19','val_19' -12 rows selected ->>> ->>> EXPLAIN EXTENDED -FROM -srcpart a -LEFT OUTER JOIN -src b -ON (a.key = b.key) -SELECT a.key, a.value, b.key, b.value -WHERE a.key > 10 AND a.key < 20 AND b.key > 15 AND b.key < 25 AND a.ds = '2008-04-08'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME srcpart) a) (TOK_TABREF (TOK_TABNAME src) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value))) (TOK_WHERE (AND (AND (AND (AND (> (. (TOK_TABLE_OR_COL a) key) 10) (< (. (TOK_TABLE_OR_COL a) key) 20)) (> (. (TOK_TABLE_OR_COL b) key) 15)) (< (. (TOK_TABLE_OR_COL b) key) 25)) (= (. (TOK_TABLE_OR_COL a) ds) '2008-04-08')))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((key > 10.0) and (key < 20.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((key > 10.0) and (key < 20.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Needs Tagging: true' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/src [b]' -' !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart/ds=2008-04-08/hr=11 [a]' -' !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart/ds=2008-04-08/hr=12 [a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/src' -' name louter_join_ppr.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/src' -' name louter_join_ppr.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: louter_join_ppr.src' -' name: louter_join_ppr.src' -' !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart/ds=2008-04-08/hr=11' -' name louter_join_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart' -' name louter_join_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: louter_join_ppr.srcpart' -' name: louter_join_ppr.srcpart' -' !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart/ds=2008-04-08/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart/ds=2008-04-08/hr=12' -' name louter_join_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/louter_join_ppr.db/srcpart' -' name louter_join_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: louter_join_ppr.srcpart' -' name: louter_join_ppr.srcpart' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1} {VALUE._col2}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col6, _col7' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((_col6 > 15.0) and (_col6 < 25.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col6' -' type: string' -' expr: _col7' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string:string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -261 rows selected ->>> ->>> FROM -srcpart a -LEFT OUTER JOIN -src b -ON (a.key = b.key) -SELECT a.key, a.value, b.key, b.value -WHERE a.key > 10 AND a.key < 20 AND b.key > 15 AND b.key < 25 AND a.ds = '2008-04-08'; -'key','value','key','value' -'17','val_17','17','val_17' -'17','val_17','17','val_17' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'19','val_19','19','val_19' -'19','val_19','19','val_19' -12 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/mapjoin1.q.out ql/src/test/results/beelinepositive/mapjoin1.q.out deleted file mode 100644 index 9289042..0000000 --- ql/src/test/results/beelinepositive/mapjoin1.q.out +++ /dev/null @@ -1,9 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/mapjoin1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/mapjoin1.q ->>> SELECT /*+ MAPJOIN(b) */ sum(a.key) as sum_a -FROM srcpart a -JOIN src b ON a.key = b.key where a.ds is not null; -'sum_a' -'1114788.0' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/mapjoin_distinct.q.out ql/src/test/results/beelinepositive/mapjoin_distinct.q.out deleted file mode 100644 index e3f2caa..0000000 --- ql/src/test/results/beelinepositive/mapjoin_distinct.q.out +++ /dev/null @@ -1,614 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/mapjoin_distinct.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/mapjoin_distinct.q ->>> set hive.map.aggr = true; -No rows affected ->>> set hive.groupby.skewindata = true; -No rows affected ->>> explain -FROM srcpart c -JOIN srcpart d -ON ( c.key=d.key AND c.ds='2008-04-08' AND d.ds='2008-04-08') -SELECT /*+ MAPJOIN(d) */ DISTINCT c.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcpart) c) (TOK_TABREF (TOK_TABNAME srcpart) d) (AND (AND (= (. (TOK_TABLE_OR_COL c) key) (. (TOK_TABLE_OR_COL d) key)) (= (. (TOK_TABLE_OR_COL c) ds) '2008-04-08')) (= (. (TOK_TABLE_OR_COL d) ds) '2008-04-08')))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECTDI (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST d))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-5 is a root stage' -' Stage-1 depends on stages: Stage-5' -' Stage-2 depends on stages: Stage-1' -' Stage-3 depends on stages: Stage-2' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-5' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' d ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' d ' -' TableScan' -' alias: d' -' HashTable Sink Operator' -' condition expressions:' -' 0 {value}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' c ' -' TableScan' -' alias: c' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {value}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col1' -' Position of Big Table: 0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' outputColumnNames: _col1' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' outputColumnNames: _col1' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: _col1' -' type: string' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: rand()' -' type: double' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: partials' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: final' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -141 rows selected ->>> ->>> FROM srcpart c -JOIN srcpart d -ON ( c.key=d.key AND c.ds='2008-04-08' AND d.ds='2008-04-08') -SELECT /*+ MAPJOIN(d) */ DISTINCT c.value as value order by value limit 10; -'value' -'val_0' -'val_10' -'val_100' -'val_103' -'val_104' -'val_105' -'val_11' -'val_111' -'val_113' -'val_114' -10 rows selected ->>> ->>> set hive.map.aggr = true; -No rows affected ->>> set hive.groupby.skewindata = false; -No rows affected ->>> explain -FROM srcpart c -JOIN srcpart d -ON ( c.key=d.key AND c.ds='2008-04-08' AND d.ds='2008-04-08') -SELECT /*+ MAPJOIN(d) */ DISTINCT c.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcpart) c) (TOK_TABREF (TOK_TABNAME srcpart) d) (AND (AND (= (. (TOK_TABLE_OR_COL c) key) (. (TOK_TABLE_OR_COL d) key)) (= (. (TOK_TABLE_OR_COL c) ds) '2008-04-08')) (= (. (TOK_TABLE_OR_COL d) ds) '2008-04-08')))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECTDI (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST d))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-4 is a root stage' -' Stage-1 depends on stages: Stage-4' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-4' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' d ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' d ' -' TableScan' -' alias: d' -' HashTable Sink Operator' -' condition expressions:' -' 0 {value}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' c ' -' TableScan' -' alias: c' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {value}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col1' -' Position of Big Table: 0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' outputColumnNames: _col1' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' outputColumnNames: _col1' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: _col1' -' type: string' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -112 rows selected ->>> ->>> FROM srcpart c -JOIN srcpart d -ON ( c.key=d.key AND c.ds='2008-04-08' AND d.ds='2008-04-08') -SELECT /*+ MAPJOIN(d) */ DISTINCT c.value as value order by value limit 10; -'value' -'val_0' -'val_10' -'val_100' -'val_103' -'val_104' -'val_105' -'val_11' -'val_111' -'val_113' -'val_114' -10 rows selected ->>> ->>> ->>> set hive.map.aggr = false; -No rows affected ->>> set hive.groupby.skewindata = true; -No rows affected ->>> explain -FROM srcpart c -JOIN srcpart d -ON ( c.key=d.key AND c.ds='2008-04-08' AND d.ds='2008-04-08') -SELECT /*+ MAPJOIN(d) */ DISTINCT c.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcpart) c) (TOK_TABREF (TOK_TABNAME srcpart) d) (AND (AND (= (. (TOK_TABLE_OR_COL c) key) (. (TOK_TABLE_OR_COL d) key)) (= (. (TOK_TABLE_OR_COL c) ds) '2008-04-08')) (= (. (TOK_TABLE_OR_COL d) ds) '2008-04-08')))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECTDI (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST d))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-5 is a root stage' -' Stage-1 depends on stages: Stage-5' -' Stage-2 depends on stages: Stage-1' -' Stage-3 depends on stages: Stage-2' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-5' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' d ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' d ' -' TableScan' -' alias: d' -' HashTable Sink Operator' -' condition expressions:' -' 0 {value}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' c ' -' TableScan' -' alias: c' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {value}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col1' -' Position of Big Table: 0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' outputColumnNames: _col1' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' outputColumnNames: _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: rand()' -' type: double' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: partial1' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: final' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -134 rows selected ->>> ->>> FROM srcpart c -JOIN srcpart d -ON ( c.key=d.key AND c.ds='2008-04-08' AND d.ds='2008-04-08') -SELECT /*+ MAPJOIN(d) */ DISTINCT c.value as value order by value limit 10; -'value' -'val_0' -'val_10' -'val_100' -'val_103' -'val_104' -'val_105' -'val_11' -'val_111' -'val_113' -'val_114' -10 rows selected ->>> ->>> ->>> set hive.map.aggr = false; -No rows affected ->>> set hive.groupby.skewindata = false; -No rows affected ->>> explain -FROM srcpart c -JOIN srcpart d -ON ( c.key=d.key AND c.ds='2008-04-08' AND d.ds='2008-04-08') -SELECT /*+ MAPJOIN(d) */ DISTINCT c.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcpart) c) (TOK_TABREF (TOK_TABNAME srcpart) d) (AND (AND (= (. (TOK_TABLE_OR_COL c) key) (. (TOK_TABLE_OR_COL d) key)) (= (. (TOK_TABLE_OR_COL c) ds) '2008-04-08')) (= (. (TOK_TABLE_OR_COL d) ds) '2008-04-08')))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECTDI (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST d))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-4 is a root stage' -' Stage-1 depends on stages: Stage-4' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-4' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' d ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' d ' -' TableScan' -' alias: d' -' HashTable Sink Operator' -' condition expressions:' -' 0 {value}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' c ' -' TableScan' -' alias: c' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {value}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col1' -' Position of Big Table: 0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' outputColumnNames: _col1' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' outputColumnNames: _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col1' -' type: string' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: complete' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -105 rows selected ->>> ->>> FROM srcpart c -JOIN srcpart d -ON ( c.key=d.key AND c.ds='2008-04-08' AND d.ds='2008-04-08') -SELECT /*+ MAPJOIN(d) */ DISTINCT c.value as value order by value limit 10; -'value' -'val_0' -'val_10' -'val_100' -'val_103' -'val_104' -'val_105' -'val_11' -'val_111' -'val_113' -'val_114' -10 rows selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/mapjoin_filter_on_outerjoin.q.out ql/src/test/results/beelinepositive/mapjoin_filter_on_outerjoin.q.out deleted file mode 100644 index ee275c0..0000000 --- ql/src/test/results/beelinepositive/mapjoin_filter_on_outerjoin.q.out +++ /dev/null @@ -1,663 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/mapjoin_filter_on_outerjoin.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/mapjoin_filter_on_outerjoin.q ->>> set hive.auto.convert.join = false; -No rows affected ->>> --HIVE-2101 mapjoin sometimes gives wrong results if there is a filter in the on condition ->>> ->>> SELECT * FROM src1 -RIGHT OUTER JOIN src1 src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key > 10) -JOIN src src3 ON (src2.key = src3.key AND src3.key < 300) -SORT BY src1.key, src2.key, src3.key; -'key','value','key','value','key','value' -'','','128','','128','val_128' -'','','128','','128','val_128' -'','','128','','128','val_128' -'','','146','val_146','146','val_146' -'','','146','val_146','146','val_146' -'','','150','val_150','150','val_150' -'','','213','val_213','213','val_213' -'','','213','val_213','213','val_213' -'','','224','','224','val_224' -'','','224','','224','val_224' -'','','238','val_238','238','val_238' -'','','238','val_238','238','val_238' -'','','255','val_255','255','val_255' -'','','255','val_255','255','val_255' -'','','273','val_273','273','val_273' -'','','273','val_273','273','val_273' -'','','273','val_273','273','val_273' -'','','278','val_278','278','val_278' -'','','278','val_278','278','val_278' -'','','66','val_66','66','val_66' -'','','98','val_98','98','val_98' -'','','98','val_98','98','val_98' -22 rows selected ->>> ->>> explain -SELECT /*+ mapjoin(src1, src2) */ * FROM src1 -RIGHT OUTER JOIN src1 src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key > 10) -JOIN src src3 ON (src2.key = src3.key AND src3.key < 300) -SORT BY src1.key, src2.key, src3.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_RIGHTOUTERJOIN (TOK_TABREF (TOK_TABNAME src1)) (TOK_TABREF (TOK_TABNAME src1) src2) (AND (AND (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)) (< (. (TOK_TABLE_OR_COL src1) key) 10)) (> (. (TOK_TABLE_OR_COL src2) key) 10))) (TOK_TABREF (TOK_TABNAME src) src3) (AND (= (. (TOK_TABLE_OR_COL src2) key) (. (TOK_TABLE_OR_COL src3) key)) (< (. (TOK_TABLE_OR_COL src3) key) 300)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST src1 src2))) (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-5 is a root stage' -' Stage-1 depends on stages: Stage-5' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-5' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src1 ' -' Fetch Operator' -' limit: -1' -' src2 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: ((key < 10.0) and (key < 300.0))' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 ' -' 1 {(key > 10.0)}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 2' -' src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: (key < 300.0)' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 ' -' 1 {(key > 10.0)}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 2' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src3 ' -' TableScan' -' alias: src3' -' Filter Operator' -' predicate:' -' expr: (key < 300.0)' -' type: boolean' -' Map Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' Inner Join 1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 ' -' 1 {(key > 10.0)}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col2' -' type: string' -' expr: _col4' -' type: string' -' sort order: +++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -174 rows selected ->>> ->>> SELECT /*+ mapjoin(src1, src2) */ * FROM src1 -RIGHT OUTER JOIN src1 src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key > 10) -JOIN src src3 ON (src2.key = src3.key AND src3.key < 300) -SORT BY src1.key, src2.key, src3.key; -'key','value','key','value','key','value' -'','','128','','128','val_128' -'','','128','','128','val_128' -'','','128','','128','val_128' -'','','146','val_146','146','val_146' -'','','146','val_146','146','val_146' -'','','150','val_150','150','val_150' -'','','213','val_213','213','val_213' -'','','213','val_213','213','val_213' -'','','224','','224','val_224' -'','','224','','224','val_224' -'','','238','val_238','238','val_238' -'','','238','val_238','238','val_238' -'','','255','val_255','255','val_255' -'','','255','val_255','255','val_255' -'','','273','val_273','273','val_273' -'','','273','val_273','273','val_273' -'','','273','val_273','273','val_273' -'','','278','val_278','278','val_278' -'','','278','val_278','278','val_278' -'','','66','val_66','66','val_66' -'','','98','val_98','98','val_98' -'','','98','val_98','98','val_98' -22 rows selected ->>> ->>> set hive.auto.convert.join = true; -No rows affected ->>> ->>> explain -SELECT * FROM src1 -RIGHT OUTER JOIN src1 src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key > 10) -JOIN src src3 ON (src2.key = src3.key AND src3.key < 300) -SORT BY src1.key, src2.key, src3.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_RIGHTOUTERJOIN (TOK_TABREF (TOK_TABNAME src1)) (TOK_TABREF (TOK_TABNAME src1) src2) (AND (AND (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)) (< (. (TOK_TABLE_OR_COL src1) key) 10)) (> (. (TOK_TABLE_OR_COL src2) key) 10))) (TOK_TABREF (TOK_TABNAME src) src3) (AND (= (. (TOK_TABLE_OR_COL src2) key) (. (TOK_TABLE_OR_COL src3) key)) (< (. (TOK_TABLE_OR_COL src3) key) 300)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src3) key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-7 is a root stage , consists of Stage-8, Stage-9, Stage-1' -' Stage-8 has a backup stage: Stage-1' -' Stage-5 depends on stages: Stage-8' -' Stage-2 depends on stages: Stage-1, Stage-5, Stage-6' -' Stage-9 has a backup stage: Stage-1' -' Stage-6 depends on stages: Stage-9' -' Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-8' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src1 ' -' Fetch Operator' -' limit: -1' -' src3 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: ((key < 10.0) and (key < 300.0))' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 ' -' 1 {(key > 10.0)}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 1' -' src3 ' -' TableScan' -' alias: src3' -' Filter Operator' -' predicate:' -' expr: (key < 300.0)' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 ' -' 1 {(key > 10.0)}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: (key < 300.0)' -' type: boolean' -' Map Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' Inner Join 1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 ' -' 1 {(key > 10.0)}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col2' -' type: string' -' expr: _col4' -' type: string' -' sort order: +++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-9' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src1 ' -' Fetch Operator' -' limit: -1' -' src2 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: ((key < 10.0) and (key < 300.0))' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 ' -' 1 {(key > 10.0)}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 2' -' src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: (key < 300.0)' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 ' -' 1 {(key > 10.0)}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' Position of Big Table: 2' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src3 ' -' TableScan' -' alias: src3' -' Filter Operator' -' predicate:' -' expr: (key < 300.0)' -' type: boolean' -' Map Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' Inner Join 1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' filter predicates:' -' 0 ' -' 1 {(key > 10.0)}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: ((key < 10.0) and (key < 300.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: (key < 300.0)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src3 ' -' TableScan' -' alias: src3' -' Filter Operator' -' predicate:' -' expr: (key < 300.0)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 2' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' Inner Join 1 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' filter predicates:' -' 0 ' -' 1 {(VALUE._col0 > 10.0)}' -' 2 ' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -377 rows selected ->>> ->>> SELECT * FROM src1 -RIGHT OUTER JOIN src1 src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key > 10) -JOIN src src3 ON (src2.key = src3.key AND src3.key < 300) -SORT BY src1.key, src2.key, src3.key; -'key','value','key','value','key','value' -'','','128','','128','val_128' -'','','128','','128','val_128' -'','','128','','128','val_128' -'','','146','val_146','146','val_146' -'','','146','val_146','146','val_146' -'','','150','val_150','150','val_150' -'','','213','val_213','213','val_213' -'','','213','val_213','213','val_213' -'','','224','','224','val_224' -'','','224','','224','val_224' -'','','238','val_238','238','val_238' -'','','238','val_238','238','val_238' -'','','255','val_255','255','val_255' -'','','255','val_255','255','val_255' -'','','273','val_273','273','val_273' -'','','273','val_273','273','val_273' -'','','273','val_273','273','val_273' -'','','278','val_278','278','val_278' -'','','278','val_278','278','val_278' -'','','66','val_66','66','val_66' -'','','98','val_98','98','val_98' -'','','98','val_98','98','val_98' -22 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/mapjoin_hook.q.out ql/src/test/results/beelinepositive/mapjoin_hook.q.out deleted file mode 100644 index f580383..0000000 --- ql/src/test/results/beelinepositive/mapjoin_hook.q.out +++ /dev/null @@ -1,47 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/mapjoin_hook.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/mapjoin_hook.q ->>> set hive.exec.post.hooks = org.apache.hadoop.hive.ql.hooks.MapJoinCounterHook ; -No rows affected ->>> drop table dest1; -No rows affected ->>> CREATE TABLE dest1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> set hive.auto.convert.join = true; -No rows affected ->>> ->>> INSERT OVERWRITE TABLE dest1 -SELECT /*+ MAPJOIN(x) */ x.key, count(1) FROM src1 x JOIN src y ON (x.key = y.key) group by x.key; -'_col0','_col1' -No rows selected ->>> ->>> ->>> FROM src src1 JOIN src src2 ON (src1.key = src2.key) JOIN src src3 ON (src1.key = src3.key) -INSERT OVERWRITE TABLE dest1 SELECT src1.key, src3.value; -'_col0','_col1' -No rows selected ->>> ->>> ->>> ->>> set hive.mapjoin.localtask.max.memory.usage = 0.0001; -No rows affected ->>> set hive.mapjoin.check.memory.rows = 2; -No rows affected ->>> ->>> ->>> FROM srcpart src1 JOIN src src2 ON (src1.key = src2.key) -INSERT OVERWRITE TABLE dest1 SELECT src1.key, src2.value -where (src1.ds = '2008-04-08' or src1.ds = '2008-04-09' )and (src1.hr = '12' or src1.hr = '11'); -'_col0','_col1' -No rows selected ->>> ->>> ->>> FROM src src1 JOIN src src2 ON (src1.key = src2.key) JOIN src src3 ON (src1.key + src2.key = src3.key) -INSERT OVERWRITE TABLE dest1 SELECT src1.key, src3.value; -'_col0','_col1' -No rows selected ->>> ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/mapjoin_mapjoin.q.out ql/src/test/results/beelinepositive/mapjoin_mapjoin.q.out deleted file mode 100644 index dc877f9..0000000 --- ql/src/test/results/beelinepositive/mapjoin_mapjoin.q.out +++ /dev/null @@ -1,312 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/mapjoin_mapjoin.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/mapjoin_mapjoin.q ->>> explain select /*+MAPJOIN(src, src1) */ srcpart.key from srcpart join src on (srcpart.value=src.value) join src1 on (srcpart.key=src1.key); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcpart)) (TOK_TABREF (TOK_TABNAME src)) (= (. (TOK_TABLE_OR_COL srcpart) value) (. (TOK_TABLE_OR_COL src) value))) (TOK_TABREF (TOK_TABNAME src1)) (= (. (TOK_TABLE_OR_COL srcpart) key) (. (TOK_TABLE_OR_COL src1) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST src src1))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL srcpart) key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-6 is a root stage' -' Stage-1 depends on stages: Stage-6' -' Stage-5 depends on stages: Stage-1' -' Stage-2 depends on stages: Stage-5' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-6' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src ' -' TableScan' -' alias: src' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[value]]' -' 1 [Column[value]]' -' Position of Big Table: 0' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' srcpart ' -' TableScan' -' alias: srcpart' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[value]]' -' 1 [Column[value]]' -' outputColumnNames: _col0' -' Position of Big Table: 0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-5' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src1 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col0}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {_col0}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[key]]' -' outputColumnNames: _col0' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -123 rows selected ->>> ->>> explain select /*+MAPJOIN(src, src1) */ count(*) from srcpart join src on (srcpart.value=src.value) join src1 on (srcpart.key=src1.key) group by ds; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcpart)) (TOK_TABREF (TOK_TABNAME src)) (= (. (TOK_TABLE_OR_COL srcpart) value) (. (TOK_TABLE_OR_COL src) value))) (TOK_TABREF (TOK_TABNAME src1)) (= (. (TOK_TABLE_OR_COL srcpart) key) (. (TOK_TABLE_OR_COL src1) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST src src1))) (TOK_SELEXPR (TOK_FUNCTIONSTAR count))) (TOK_GROUPBY (TOK_TABLE_OR_COL ds))))' -'' -'STAGE DEPENDENCIES:' -' Stage-7 is a root stage' -' Stage-1 depends on stages: Stage-7' -' Stage-6 depends on stages: Stage-1' -' Stage-2 depends on stages: Stage-6' -' Stage-3 depends on stages: Stage-2' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-7' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src ' -' TableScan' -' alias: src' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {ds}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[value]]' -' 1 [Column[value]]' -' Position of Big Table: 0' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' srcpart ' -' TableScan' -' alias: srcpart' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {ds}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[value]]' -' 1 [Column[value]]' -' outputColumnNames: _col0, _col2' -' Position of Big Table: 0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-6' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' src1 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col2}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col2' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {_col2}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[key]]' -' outputColumnNames: _col2' -' Position of Big Table: 0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' outputColumnNames: _col2' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' outputColumnNames: _col2' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' keys:' -' expr: _col2' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -173 rows selected ->>> ->>> select /*+MAPJOIN(src, src1) */ count(*) from srcpart join src src on (srcpart.value=src.value) join src src1 on (srcpart.key=src1.key) group by ds; -'_c1' -'5308' -'5308' -2 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/mapjoin_subquery.q.out ql/src/test/results/beelinepositive/mapjoin_subquery.q.out deleted file mode 100644 index 47b2ca9..0000000 --- ql/src/test/results/beelinepositive/mapjoin_subquery.q.out +++ /dev/null @@ -1,502 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/mapjoin_subquery.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/mapjoin_subquery.q ->>> EXPLAIN -SELECT /*+ MAPJOIN(z) */ subq.key1, z.value -FROM -(SELECT /*+ MAPJOIN(x) */ x.key as key1, x.value as value1, y.key as key2, y.value as value2 -FROM src1 x JOIN src y ON (x.key = y.key)) subq -JOIN srcpart z ON (subq.key1 = z.key and z.ds='2008-04-08' and z.hr=11); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src1) x) (TOK_TABREF (TOK_TABNAME src) y) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL y) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST x))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) key) key1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) value) value1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL y) key) key2) (TOK_SELEXPR (. (TOK_TABLE_OR_COL y) value) value2)))) subq) (TOK_TABREF (TOK_TABNAME srcpart) z) (and (and (= (. (TOK_TABLE_OR_COL subq) key1) (. (TOK_TABLE_OR_COL z) key)) (= (. (TOK_TABLE_OR_COL z) ds) '2008-04-08')) (= (. (TOK_TABLE_OR_COL z) hr) 11)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST z))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL subq) key1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL z) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-4 is a root stage' -' Stage-1 depends on stages: Stage-4' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-4' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' subq:x ' -' Fetch Operator' -' limit: -1' -' z ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' subq:x ' -' TableScan' -' alias: x' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -' z ' -' TableScan' -' alias: z' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col0}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subq:y ' -' TableScan' -' alias: y' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {_col0}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -112 rows selected ->>> ->>> SELECT /*+ MAPJOIN(z) */ subq.key1, z.value -FROM -(SELECT /*+ MAPJOIN(x) */ x.key as key1, x.value as value1, y.key as key2, y.value as value2 -FROM src1 x JOIN src y ON (x.key = y.key)) subq -JOIN srcpart z ON (subq.key1 = z.key and z.ds='2008-04-08' and z.hr=11); -'key1','value' -'238','val_238' -'238','val_238' -'311','val_311' -'311','val_311' -'311','val_311' -'255','val_255' -'255','val_255' -'278','val_278' -'278','val_278' -'98','val_98' -'98','val_98' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'150','val_150' -'273','val_273' -'273','val_273' -'273','val_273' -'224','val_224' -'224','val_224' -'369','val_369' -'369','val_369' -'369','val_369' -'66','val_66' -'128','val_128' -'128','val_128' -'128','val_128' -'213','val_213' -'213','val_213' -'146','val_146' -'146','val_146' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'128','val_128' -'128','val_128' -'128','val_128' -'311','val_311' -'311','val_311' -'311','val_311' -'213','val_213' -'213','val_213' -'278','val_278' -'278','val_278' -'311','val_311' -'311','val_311' -'311','val_311' -'98','val_98' -'98','val_98' -'369','val_369' -'369','val_369' -'369','val_369' -'238','val_238' -'238','val_238' -'273','val_273' -'273','val_273' -'273','val_273' -'224','val_224' -'224','val_224' -'369','val_369' -'369','val_369' -'369','val_369' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'128','val_128' -'128','val_128' -'128','val_128' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'255','val_255' -'255','val_255' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'146','val_146' -'146','val_146' -'273','val_273' -'273','val_273' -'273','val_273' -107 rows selected ->>> ->>> EXPLAIN -SELECT /*+ MAPJOIN(z) */ subq.key1, z.value -FROM -(SELECT /*+ MAPJOIN(x) */ x.key as key1, x.value as value1, y.key as key2, y.value as value2 -FROM src1 x JOIN src y ON (x.key = y.key)) subq -JOIN srcpart z ON (subq.key1 = z.key and z.ds='2008-04-08' and z.hr=11) -order by subq.key1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src1) x) (TOK_TABREF (TOK_TABNAME src) y) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL y) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST x))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) key) key1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) value) value1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL y) key) key2) (TOK_SELEXPR (. (TOK_TABLE_OR_COL y) value) value2)))) subq) (TOK_TABREF (TOK_TABNAME srcpart) z) (and (and (= (. (TOK_TABLE_OR_COL subq) key1) (. (TOK_TABLE_OR_COL z) key)) (= (. (TOK_TABLE_OR_COL z) ds) '2008-04-08')) (= (. (TOK_TABLE_OR_COL z) hr) 11)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST z))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL subq) key1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL z) value))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL subq) key1)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-5 is a root stage' -' Stage-1 depends on stages: Stage-5' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-5' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' subq:x ' -' Fetch Operator' -' limit: -1' -' z ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' subq:x ' -' TableScan' -' alias: x' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -' z ' -' TableScan' -' alias: z' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col0}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subq:y ' -' TableScan' -' alias: y' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {_col0}' -' 1 {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col5' -' Position of Big Table: 0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -137 rows selected ->>> ->>> ->>> SELECT /*+ MAPJOIN(z) */ subq.key1, z.value -FROM -(SELECT /*+ MAPJOIN(x) */ x.key as key1, x.value as value1, y.key as key2, y.value as value2 -FROM src1 x JOIN src y ON (x.key = y.key)) subq -JOIN srcpart z ON (subq.key1 = z.key and z.ds='2008-04-08' and z.hr=11) -order by subq.key1; -'key1','value' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'150','val_150' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'66','val_66' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -107 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/mapjoin_subquery2.q.out ql/src/test/results/beelinepositive/mapjoin_subquery2.q.out deleted file mode 100644 index 9a813bb..0000000 --- ql/src/test/results/beelinepositive/mapjoin_subquery2.q.out +++ /dev/null @@ -1,204 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/mapjoin_subquery2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/mapjoin_subquery2.q ->>> drop table x; -No rows affected ->>> drop table y; -No rows affected ->>> drop table z; -No rows affected ->>> ->>> CREATE TABLE x (name STRING, id INT) -ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t'; -No rows affected ->>> ->>> CREATE TABLE y (id INT, name STRING) -ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t'; -No rows affected ->>> ->>> CREATE TABLE z (id INT, name STRING) -ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t'; -No rows affected ->>> ->>> load data local inpath '../data/files/x.txt' INTO TABLE x; -No rows affected ->>> load data local inpath '../data/files/y.txt' INTO TABLE y; -No rows affected ->>> load data local inpath '../data/files/z.txt' INTO TABLE z; -No rows affected ->>> ->>> SELECT subq.key1, subq.value1, subq.key2, subq.value2, z.id, z.name -FROM -(SELECT x.id as key1, x.name as value1, y.id as key2, y.name as value2 -FROM y JOIN x ON (x.id = y.id)) subq -JOIN z ON (subq.key1 = z.id); -'key1','value1','key2','value2','id','name' -'2','Joe','2','Tie','2','Tie' -'2','Hank','2','Tie','2','Tie' -2 rows selected ->>> ->>> EXPLAIN -SELECT /*+ MAPJOIN(z) */ subq.key1, subq.value1, subq.key2, subq.value2, z.id, z.name -FROM -(SELECT /*+ MAPJOIN(x) */ x.id as key1, x.name as value1, y.id as key2, y.name as value2 -FROM y JOIN x ON (x.id = y.id)) subq -JOIN z ON (subq.key1 = z.id); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME y)) (TOK_TABREF (TOK_TABNAME x)) (= (. (TOK_TABLE_OR_COL x) id) (. (TOK_TABLE_OR_COL y) id)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST x))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) id) key1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) name) value1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL y) id) key2) (TOK_SELEXPR (. (TOK_TABLE_OR_COL y) name) value2)))) subq) (TOK_TABREF (TOK_TABNAME z)) (= (. (TOK_TABLE_OR_COL subq) key1) (. (TOK_TABLE_OR_COL z) id)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST z))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL subq) key1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL subq) value1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL subq) key2)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL subq) value2)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL z) id)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL z) name)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-4 is a root stage' -' Stage-1 depends on stages: Stage-4' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-4' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' subq:x ' -' Fetch Operator' -' limit: -1' -' z ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' subq:x ' -' TableScan' -' alias: x' -' HashTable Sink Operator' -' condition expressions:' -' 0 {id} {name}' -' 1 {name} {id}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[id]]' -' 1 [Column[id]]' -' Position of Big Table: 0' -' z ' -' TableScan' -' alias: z' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col0} {_col1} {_col2} {_col3}' -' 1 {id} {name}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[id]]' -' Position of Big Table: 0' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subq:y ' -' TableScan' -' alias: y' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {id} {name}' -' 1 {name} {id}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[id]]' -' 1 [Column[id]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: int' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col5' -' type: int' -' expr: _col4' -' type: string' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {_col0} {_col1} {_col2} {_col3}' -' 1 {id} {name}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[id]]' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: int' -' expr: _col3' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: int' -' expr: _col3' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -140 rows selected ->>> ->>> SELECT /*+ MAPJOIN(z) */ subq.key1, subq.value1, subq.key2, subq.value2, z.id, z.name -FROM -(SELECT /*+ MAPJOIN(x) */ x.id as key1, x.name as value1, y.id as key2, y.name as value2 -FROM y JOIN x ON (x.id = y.id)) subq -JOIN z ON (subq.key1 = z.id); -'key1','value1','key2','value2','id','name' -'2','Joe','2','Tie','2','Tie' -'2','Hank','2','Tie','2','Tie' -2 rows selected ->>> ->>> drop table x; -No rows affected ->>> drop table y; -No rows affected ->>> drop table z; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/mapreduce1.q.out ql/src/test/results/beelinepositive/mapreduce1.q.out deleted file mode 100644 index b7db8ce..0000000 --- ql/src/test/results/beelinepositive/mapreduce1.q.out +++ /dev/null @@ -1,619 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/mapreduce1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/mapreduce1.q ->>> CREATE TABLE dest1(key INT, ten INT, one INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest1 -MAP src.key, CAST(src.key / 10 AS INT), CAST(src.key % 10 AS INT), src.value -USING 'cat' AS (tkey, ten, one, tvalue) -DISTRIBUTE BY tvalue, tkey -SORT BY ten, one; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_TRANSFORM (TOK_EXPLIST (. (TOK_TABLE_OR_COL src) key) (TOK_FUNCTION TOK_INT (/ (. (TOK_TABLE_OR_COL src) key) 10)) (TOK_FUNCTION TOK_INT (% (. (TOK_TABLE_OR_COL src) key) 10)) (. (TOK_TABLE_OR_COL src) value)) TOK_SERDE TOK_RECORDWRITER 'cat' TOK_SERDE TOK_RECORDREADER (TOK_ALIASLIST tkey ten one tvalue)))) (TOK_DISTRIBUTEBY (TOK_TABLE_OR_COL tvalue) (TOK_TABLE_OR_COL tkey)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL ten)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL one)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: UDFToInteger((key / 10))' -' type: int' -' expr: UDFToInteger((key % 10))' -' type: int' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Transform Operator' -' command: cat' -' output info:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col3' -' type: string' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: UDFToInteger(_col2)' -' type: int' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: mapreduce1.dest1' -'' -' 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: mapreduce1.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -89 rows selected ->>> ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 -MAP src.key, CAST(src.key / 10 AS INT), CAST(src.key % 10 AS INT), src.value -USING 'cat' AS (tkey, ten, one, tvalue) -DISTRIBUTE BY tvalue, tkey -SORT BY ten, one; -'_col0','_col1','_col2','_col3' -No rows selected ->>> ->>> ->>> SELECT dest1.* FROM dest1; -'key','ten','one','value' -'0','0','0','val_0' -'0','0','0','val_0' -'0','0','0','val_0' -'2','0','2','val_2' -'4','0','4','val_4' -'5','0','5','val_5' -'5','0','5','val_5' -'5','0','5','val_5' -'8','0','8','val_8' -'9','0','9','val_9' -'10','1','0','val_10' -'11','1','1','val_11' -'12','1','2','val_12' -'12','1','2','val_12' -'15','1','5','val_15' -'15','1','5','val_15' -'17','1','7','val_17' -'18','1','8','val_18' -'18','1','8','val_18' -'19','1','9','val_19' -'100','10','0','val_100' -'100','10','0','val_100' -'103','10','3','val_103' -'103','10','3','val_103' -'104','10','4','val_104' -'104','10','4','val_104' -'105','10','5','val_105' -'111','11','1','val_111' -'113','11','3','val_113' -'113','11','3','val_113' -'114','11','4','val_114' -'116','11','6','val_116' -'118','11','8','val_118' -'118','11','8','val_118' -'119','11','9','val_119' -'119','11','9','val_119' -'119','11','9','val_119' -'120','12','0','val_120' -'120','12','0','val_120' -'125','12','5','val_125' -'125','12','5','val_125' -'126','12','6','val_126' -'128','12','8','val_128' -'128','12','8','val_128' -'128','12','8','val_128' -'129','12','9','val_129' -'129','12','9','val_129' -'131','13','1','val_131' -'133','13','3','val_133' -'134','13','4','val_134' -'134','13','4','val_134' -'136','13','6','val_136' -'137','13','7','val_137' -'137','13','7','val_137' -'138','13','8','val_138' -'138','13','8','val_138' -'138','13','8','val_138' -'138','13','8','val_138' -'143','14','3','val_143' -'145','14','5','val_145' -'146','14','6','val_146' -'146','14','6','val_146' -'149','14','9','val_149' -'149','14','9','val_149' -'150','15','0','val_150' -'152','15','2','val_152' -'152','15','2','val_152' -'153','15','3','val_153' -'155','15','5','val_155' -'156','15','6','val_156' -'157','15','7','val_157' -'158','15','8','val_158' -'160','16','0','val_160' -'162','16','2','val_162' -'163','16','3','val_163' -'164','16','4','val_164' -'164','16','4','val_164' -'165','16','5','val_165' -'165','16','5','val_165' -'166','16','6','val_166' -'167','16','7','val_167' -'167','16','7','val_167' -'167','16','7','val_167' -'168','16','8','val_168' -'169','16','9','val_169' -'169','16','9','val_169' -'169','16','9','val_169' -'169','16','9','val_169' -'170','17','0','val_170' -'172','17','2','val_172' -'172','17','2','val_172' -'174','17','4','val_174' -'174','17','4','val_174' -'175','17','5','val_175' -'175','17','5','val_175' -'176','17','6','val_176' -'176','17','6','val_176' -'177','17','7','val_177' -'178','17','8','val_178' -'179','17','9','val_179' -'179','17','9','val_179' -'180','18','0','val_180' -'181','18','1','val_181' -'183','18','3','val_183' -'186','18','6','val_186' -'187','18','7','val_187' -'187','18','7','val_187' -'187','18','7','val_187' -'189','18','9','val_189' -'190','19','0','val_190' -'191','19','1','val_191' -'191','19','1','val_191' -'192','19','2','val_192' -'193','19','3','val_193' -'193','19','3','val_193' -'193','19','3','val_193' -'194','19','4','val_194' -'195','19','5','val_195' -'195','19','5','val_195' -'196','19','6','val_196' -'197','19','7','val_197' -'197','19','7','val_197' -'199','19','9','val_199' -'199','19','9','val_199' -'199','19','9','val_199' -'20','2','0','val_20' -'24','2','4','val_24' -'24','2','4','val_24' -'26','2','6','val_26' -'26','2','6','val_26' -'27','2','7','val_27' -'28','2','8','val_28' -'200','20','0','val_200' -'200','20','0','val_200' -'201','20','1','val_201' -'202','20','2','val_202' -'203','20','3','val_203' -'203','20','3','val_203' -'205','20','5','val_205' -'205','20','5','val_205' -'207','20','7','val_207' -'207','20','7','val_207' -'208','20','8','val_208' -'208','20','8','val_208' -'208','20','8','val_208' -'209','20','9','val_209' -'209','20','9','val_209' -'213','21','3','val_213' -'213','21','3','val_213' -'214','21','4','val_214' -'216','21','6','val_216' -'216','21','6','val_216' -'217','21','7','val_217' -'217','21','7','val_217' -'218','21','8','val_218' -'219','21','9','val_219' -'219','21','9','val_219' -'221','22','1','val_221' -'221','22','1','val_221' -'222','22','2','val_222' -'223','22','3','val_223' -'223','22','3','val_223' -'224','22','4','val_224' -'224','22','4','val_224' -'226','22','6','val_226' -'228','22','8','val_228' -'229','22','9','val_229' -'229','22','9','val_229' -'230','23','0','val_230' -'230','23','0','val_230' -'230','23','0','val_230' -'230','23','0','val_230' -'230','23','0','val_230' -'233','23','3','val_233' -'233','23','3','val_233' -'235','23','5','val_235' -'237','23','7','val_237' -'237','23','7','val_237' -'238','23','8','val_238' -'238','23','8','val_238' -'239','23','9','val_239' -'239','23','9','val_239' -'241','24','1','val_241' -'242','24','2','val_242' -'242','24','2','val_242' -'244','24','4','val_244' -'247','24','7','val_247' -'248','24','8','val_248' -'249','24','9','val_249' -'252','25','2','val_252' -'255','25','5','val_255' -'255','25','5','val_255' -'256','25','6','val_256' -'256','25','6','val_256' -'257','25','7','val_257' -'258','25','8','val_258' -'260','26','0','val_260' -'262','26','2','val_262' -'263','26','3','val_263' -'265','26','5','val_265' -'265','26','5','val_265' -'266','26','6','val_266' -'272','27','2','val_272' -'272','27','2','val_272' -'273','27','3','val_273' -'273','27','3','val_273' -'273','27','3','val_273' -'274','27','4','val_274' -'275','27','5','val_275' -'277','27','7','val_277' -'277','27','7','val_277' -'277','27','7','val_277' -'277','27','7','val_277' -'278','27','8','val_278' -'278','27','8','val_278' -'280','28','0','val_280' -'280','28','0','val_280' -'281','28','1','val_281' -'281','28','1','val_281' -'282','28','2','val_282' -'282','28','2','val_282' -'283','28','3','val_283' -'284','28','4','val_284' -'285','28','5','val_285' -'286','28','6','val_286' -'287','28','7','val_287' -'288','28','8','val_288' -'288','28','8','val_288' -'289','28','9','val_289' -'291','29','1','val_291' -'292','29','2','val_292' -'296','29','6','val_296' -'298','29','8','val_298' -'298','29','8','val_298' -'298','29','8','val_298' -'30','3','0','val_30' -'33','3','3','val_33' -'34','3','4','val_34' -'35','3','5','val_35' -'35','3','5','val_35' -'35','3','5','val_35' -'37','3','7','val_37' -'37','3','7','val_37' -'302','30','2','val_302' -'305','30','5','val_305' -'306','30','6','val_306' -'307','30','7','val_307' -'307','30','7','val_307' -'308','30','8','val_308' -'309','30','9','val_309' -'309','30','9','val_309' -'310','31','0','val_310' -'311','31','1','val_311' -'311','31','1','val_311' -'311','31','1','val_311' -'315','31','5','val_315' -'316','31','6','val_316' -'316','31','6','val_316' -'316','31','6','val_316' -'317','31','7','val_317' -'317','31','7','val_317' -'318','31','8','val_318' -'318','31','8','val_318' -'318','31','8','val_318' -'321','32','1','val_321' -'321','32','1','val_321' -'322','32','2','val_322' -'322','32','2','val_322' -'323','32','3','val_323' -'325','32','5','val_325' -'325','32','5','val_325' -'327','32','7','val_327' -'327','32','7','val_327' -'327','32','7','val_327' -'331','33','1','val_331' -'331','33','1','val_331' -'332','33','2','val_332' -'333','33','3','val_333' -'333','33','3','val_333' -'335','33','5','val_335' -'336','33','6','val_336' -'338','33','8','val_338' -'339','33','9','val_339' -'341','34','1','val_341' -'342','34','2','val_342' -'342','34','2','val_342' -'344','34','4','val_344' -'344','34','4','val_344' -'345','34','5','val_345' -'348','34','8','val_348' -'348','34','8','val_348' -'348','34','8','val_348' -'348','34','8','val_348' -'348','34','8','val_348' -'351','35','1','val_351' -'353','35','3','val_353' -'353','35','3','val_353' -'356','35','6','val_356' -'360','36','0','val_360' -'362','36','2','val_362' -'364','36','4','val_364' -'365','36','5','val_365' -'366','36','6','val_366' -'367','36','7','val_367' -'367','36','7','val_367' -'368','36','8','val_368' -'369','36','9','val_369' -'369','36','9','val_369' -'369','36','9','val_369' -'373','37','3','val_373' -'374','37','4','val_374' -'375','37','5','val_375' -'377','37','7','val_377' -'378','37','8','val_378' -'379','37','9','val_379' -'382','38','2','val_382' -'382','38','2','val_382' -'384','38','4','val_384' -'384','38','4','val_384' -'384','38','4','val_384' -'386','38','6','val_386' -'389','38','9','val_389' -'392','39','2','val_392' -'393','39','3','val_393' -'394','39','4','val_394' -'395','39','5','val_395' -'395','39','5','val_395' -'396','39','6','val_396' -'396','39','6','val_396' -'396','39','6','val_396' -'397','39','7','val_397' -'397','39','7','val_397' -'399','39','9','val_399' -'399','39','9','val_399' -'41','4','1','val_41' -'42','4','2','val_42' -'42','4','2','val_42' -'43','4','3','val_43' -'44','4','4','val_44' -'47','4','7','val_47' -'400','40','0','val_400' -'401','40','1','val_401' -'401','40','1','val_401' -'401','40','1','val_401' -'401','40','1','val_401' -'401','40','1','val_401' -'402','40','2','val_402' -'403','40','3','val_403' -'403','40','3','val_403' -'403','40','3','val_403' -'404','40','4','val_404' -'404','40','4','val_404' -'406','40','6','val_406' -'406','40','6','val_406' -'406','40','6','val_406' -'406','40','6','val_406' -'407','40','7','val_407' -'409','40','9','val_409' -'409','40','9','val_409' -'409','40','9','val_409' -'411','41','1','val_411' -'413','41','3','val_413' -'413','41','3','val_413' -'414','41','4','val_414' -'414','41','4','val_414' -'417','41','7','val_417' -'417','41','7','val_417' -'417','41','7','val_417' -'418','41','8','val_418' -'419','41','9','val_419' -'421','42','1','val_421' -'424','42','4','val_424' -'424','42','4','val_424' -'427','42','7','val_427' -'429','42','9','val_429' -'429','42','9','val_429' -'430','43','0','val_430' -'430','43','0','val_430' -'430','43','0','val_430' -'431','43','1','val_431' -'431','43','1','val_431' -'431','43','1','val_431' -'432','43','2','val_432' -'435','43','5','val_435' -'436','43','6','val_436' -'437','43','7','val_437' -'438','43','8','val_438' -'438','43','8','val_438' -'438','43','8','val_438' -'439','43','9','val_439' -'439','43','9','val_439' -'443','44','3','val_443' -'444','44','4','val_444' -'446','44','6','val_446' -'448','44','8','val_448' -'449','44','9','val_449' -'452','45','2','val_452' -'453','45','3','val_453' -'454','45','4','val_454' -'454','45','4','val_454' -'454','45','4','val_454' -'455','45','5','val_455' -'457','45','7','val_457' -'458','45','8','val_458' -'458','45','8','val_458' -'459','45','9','val_459' -'459','45','9','val_459' -'460','46','0','val_460' -'462','46','2','val_462' -'462','46','2','val_462' -'463','46','3','val_463' -'463','46','3','val_463' -'466','46','6','val_466' -'466','46','6','val_466' -'466','46','6','val_466' -'467','46','7','val_467' -'468','46','8','val_468' -'468','46','8','val_468' -'468','46','8','val_468' -'468','46','8','val_468' -'469','46','9','val_469' -'469','46','9','val_469' -'469','46','9','val_469' -'469','46','9','val_469' -'469','46','9','val_469' -'470','47','0','val_470' -'472','47','2','val_472' -'475','47','5','val_475' -'477','47','7','val_477' -'478','47','8','val_478' -'478','47','8','val_478' -'479','47','9','val_479' -'480','48','0','val_480' -'480','48','0','val_480' -'480','48','0','val_480' -'481','48','1','val_481' -'482','48','2','val_482' -'483','48','3','val_483' -'484','48','4','val_484' -'485','48','5','val_485' -'487','48','7','val_487' -'489','48','9','val_489' -'489','48','9','val_489' -'489','48','9','val_489' -'489','48','9','val_489' -'490','49','0','val_490' -'491','49','1','val_491' -'492','49','2','val_492' -'492','49','2','val_492' -'493','49','3','val_493' -'494','49','4','val_494' -'495','49','5','val_495' -'496','49','6','val_496' -'497','49','7','val_497' -'498','49','8','val_498' -'498','49','8','val_498' -'498','49','8','val_498' -'51','5','1','val_51' -'51','5','1','val_51' -'53','5','3','val_53' -'54','5','4','val_54' -'57','5','7','val_57' -'58','5','8','val_58' -'58','5','8','val_58' -'64','6','4','val_64' -'65','6','5','val_65' -'66','6','6','val_66' -'67','6','7','val_67' -'67','6','7','val_67' -'69','6','9','val_69' -'70','7','0','val_70' -'70','7','0','val_70' -'70','7','0','val_70' -'72','7','2','val_72' -'72','7','2','val_72' -'74','7','4','val_74' -'76','7','6','val_76' -'76','7','6','val_76' -'77','7','7','val_77' -'78','7','8','val_78' -'80','8','0','val_80' -'82','8','2','val_82' -'83','8','3','val_83' -'83','8','3','val_83' -'84','8','4','val_84' -'84','8','4','val_84' -'85','8','5','val_85' -'86','8','6','val_86' -'87','8','7','val_87' -'90','9','0','val_90' -'90','9','0','val_90' -'90','9','0','val_90' -'92','9','2','val_92' -'95','9','5','val_95' -'95','9','5','val_95' -'96','9','6','val_96' -'97','9','7','val_97' -'97','9','7','val_97' -'98','9','8','val_98' -'98','9','8','val_98' -500 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/mapreduce2.q.out ql/src/test/results/beelinepositive/mapreduce2.q.out deleted file mode 100644 index 9f9d3b9..0000000 --- ql/src/test/results/beelinepositive/mapreduce2.q.out +++ /dev/null @@ -1,611 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/mapreduce2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/mapreduce2.q ->>> CREATE TABLE dest1(key INT, ten INT, one INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest1 -MAP src.key, CAST(src.key / 10 AS INT), CAST(src.key % 10 AS INT), src.value -USING 'cat' AS (tkey, ten, one, tvalue) -DISTRIBUTE BY tvalue, tkey; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_TRANSFORM (TOK_EXPLIST (. (TOK_TABLE_OR_COL src) key) (TOK_FUNCTION TOK_INT (/ (. (TOK_TABLE_OR_COL src) key) 10)) (TOK_FUNCTION TOK_INT (% (. (TOK_TABLE_OR_COL src) key) 10)) (. (TOK_TABLE_OR_COL src) value)) TOK_SERDE TOK_RECORDWRITER 'cat' TOK_SERDE TOK_RECORDREADER (TOK_ALIASLIST tkey ten one tvalue)))) (TOK_DISTRIBUTEBY (TOK_TABLE_OR_COL tvalue) (TOK_TABLE_OR_COL tkey))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: UDFToInteger((key / 10))' -' type: int' -' expr: UDFToInteger((key % 10))' -' type: int' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Transform Operator' -' command: cat' -' output info:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Reduce Output Operator' -' sort order: ' -' Map-reduce partition columns:' -' expr: _col3' -' type: string' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: UDFToInteger(_col2)' -' type: int' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: mapreduce2.dest1' -'' -' 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: mapreduce2.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -84 rows selected ->>> ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 -MAP src.key, CAST(src.key / 10 AS INT), CAST(src.key % 10 AS INT), src.value -USING 'cat' AS (tkey, ten, one, tvalue) -DISTRIBUTE BY tvalue, tkey; -'_col0','_col1','_col2','_col3' -No rows selected ->>> ->>> SELECT * FROM (SELECT dest1.* FROM dest1 DISTRIBUTE BY key SORT BY key, ten, one, value) T; -'key','ten','one','value' -'0','0','0','val_0' -'0','0','0','val_0' -'0','0','0','val_0' -'2','0','2','val_2' -'4','0','4','val_4' -'5','0','5','val_5' -'5','0','5','val_5' -'5','0','5','val_5' -'8','0','8','val_8' -'9','0','9','val_9' -'10','1','0','val_10' -'11','1','1','val_11' -'12','1','2','val_12' -'12','1','2','val_12' -'15','1','5','val_15' -'15','1','5','val_15' -'17','1','7','val_17' -'18','1','8','val_18' -'18','1','8','val_18' -'19','1','9','val_19' -'20','2','0','val_20' -'24','2','4','val_24' -'24','2','4','val_24' -'26','2','6','val_26' -'26','2','6','val_26' -'27','2','7','val_27' -'28','2','8','val_28' -'30','3','0','val_30' -'33','3','3','val_33' -'34','3','4','val_34' -'35','3','5','val_35' -'35','3','5','val_35' -'35','3','5','val_35' -'37','3','7','val_37' -'37','3','7','val_37' -'41','4','1','val_41' -'42','4','2','val_42' -'42','4','2','val_42' -'43','4','3','val_43' -'44','4','4','val_44' -'47','4','7','val_47' -'51','5','1','val_51' -'51','5','1','val_51' -'53','5','3','val_53' -'54','5','4','val_54' -'57','5','7','val_57' -'58','5','8','val_58' -'58','5','8','val_58' -'64','6','4','val_64' -'65','6','5','val_65' -'66','6','6','val_66' -'67','6','7','val_67' -'67','6','7','val_67' -'69','6','9','val_69' -'70','7','0','val_70' -'70','7','0','val_70' -'70','7','0','val_70' -'72','7','2','val_72' -'72','7','2','val_72' -'74','7','4','val_74' -'76','7','6','val_76' -'76','7','6','val_76' -'77','7','7','val_77' -'78','7','8','val_78' -'80','8','0','val_80' -'82','8','2','val_82' -'83','8','3','val_83' -'83','8','3','val_83' -'84','8','4','val_84' -'84','8','4','val_84' -'85','8','5','val_85' -'86','8','6','val_86' -'87','8','7','val_87' -'90','9','0','val_90' -'90','9','0','val_90' -'90','9','0','val_90' -'92','9','2','val_92' -'95','9','5','val_95' -'95','9','5','val_95' -'96','9','6','val_96' -'97','9','7','val_97' -'97','9','7','val_97' -'98','9','8','val_98' -'98','9','8','val_98' -'100','10','0','val_100' -'100','10','0','val_100' -'103','10','3','val_103' -'103','10','3','val_103' -'104','10','4','val_104' -'104','10','4','val_104' -'105','10','5','val_105' -'111','11','1','val_111' -'113','11','3','val_113' -'113','11','3','val_113' -'114','11','4','val_114' -'116','11','6','val_116' -'118','11','8','val_118' -'118','11','8','val_118' -'119','11','9','val_119' -'119','11','9','val_119' -'119','11','9','val_119' -'120','12','0','val_120' -'120','12','0','val_120' -'125','12','5','val_125' -'125','12','5','val_125' -'126','12','6','val_126' -'128','12','8','val_128' -'128','12','8','val_128' -'128','12','8','val_128' -'129','12','9','val_129' -'129','12','9','val_129' -'131','13','1','val_131' -'133','13','3','val_133' -'134','13','4','val_134' -'134','13','4','val_134' -'136','13','6','val_136' -'137','13','7','val_137' -'137','13','7','val_137' -'138','13','8','val_138' -'138','13','8','val_138' -'138','13','8','val_138' -'138','13','8','val_138' -'143','14','3','val_143' -'145','14','5','val_145' -'146','14','6','val_146' -'146','14','6','val_146' -'149','14','9','val_149' -'149','14','9','val_149' -'150','15','0','val_150' -'152','15','2','val_152' -'152','15','2','val_152' -'153','15','3','val_153' -'155','15','5','val_155' -'156','15','6','val_156' -'157','15','7','val_157' -'158','15','8','val_158' -'160','16','0','val_160' -'162','16','2','val_162' -'163','16','3','val_163' -'164','16','4','val_164' -'164','16','4','val_164' -'165','16','5','val_165' -'165','16','5','val_165' -'166','16','6','val_166' -'167','16','7','val_167' -'167','16','7','val_167' -'167','16','7','val_167' -'168','16','8','val_168' -'169','16','9','val_169' -'169','16','9','val_169' -'169','16','9','val_169' -'169','16','9','val_169' -'170','17','0','val_170' -'172','17','2','val_172' -'172','17','2','val_172' -'174','17','4','val_174' -'174','17','4','val_174' -'175','17','5','val_175' -'175','17','5','val_175' -'176','17','6','val_176' -'176','17','6','val_176' -'177','17','7','val_177' -'178','17','8','val_178' -'179','17','9','val_179' -'179','17','9','val_179' -'180','18','0','val_180' -'181','18','1','val_181' -'183','18','3','val_183' -'186','18','6','val_186' -'187','18','7','val_187' -'187','18','7','val_187' -'187','18','7','val_187' -'189','18','9','val_189' -'190','19','0','val_190' -'191','19','1','val_191' -'191','19','1','val_191' -'192','19','2','val_192' -'193','19','3','val_193' -'193','19','3','val_193' -'193','19','3','val_193' -'194','19','4','val_194' -'195','19','5','val_195' -'195','19','5','val_195' -'196','19','6','val_196' -'197','19','7','val_197' -'197','19','7','val_197' -'199','19','9','val_199' -'199','19','9','val_199' -'199','19','9','val_199' -'200','20','0','val_200' -'200','20','0','val_200' -'201','20','1','val_201' -'202','20','2','val_202' -'203','20','3','val_203' -'203','20','3','val_203' -'205','20','5','val_205' -'205','20','5','val_205' -'207','20','7','val_207' -'207','20','7','val_207' -'208','20','8','val_208' -'208','20','8','val_208' -'208','20','8','val_208' -'209','20','9','val_209' -'209','20','9','val_209' -'213','21','3','val_213' -'213','21','3','val_213' -'214','21','4','val_214' -'216','21','6','val_216' -'216','21','6','val_216' -'217','21','7','val_217' -'217','21','7','val_217' -'218','21','8','val_218' -'219','21','9','val_219' -'219','21','9','val_219' -'221','22','1','val_221' -'221','22','1','val_221' -'222','22','2','val_222' -'223','22','3','val_223' -'223','22','3','val_223' -'224','22','4','val_224' -'224','22','4','val_224' -'226','22','6','val_226' -'228','22','8','val_228' -'229','22','9','val_229' -'229','22','9','val_229' -'230','23','0','val_230' -'230','23','0','val_230' -'230','23','0','val_230' -'230','23','0','val_230' -'230','23','0','val_230' -'233','23','3','val_233' -'233','23','3','val_233' -'235','23','5','val_235' -'237','23','7','val_237' -'237','23','7','val_237' -'238','23','8','val_238' -'238','23','8','val_238' -'239','23','9','val_239' -'239','23','9','val_239' -'241','24','1','val_241' -'242','24','2','val_242' -'242','24','2','val_242' -'244','24','4','val_244' -'247','24','7','val_247' -'248','24','8','val_248' -'249','24','9','val_249' -'252','25','2','val_252' -'255','25','5','val_255' -'255','25','5','val_255' -'256','25','6','val_256' -'256','25','6','val_256' -'257','25','7','val_257' -'258','25','8','val_258' -'260','26','0','val_260' -'262','26','2','val_262' -'263','26','3','val_263' -'265','26','5','val_265' -'265','26','5','val_265' -'266','26','6','val_266' -'272','27','2','val_272' -'272','27','2','val_272' -'273','27','3','val_273' -'273','27','3','val_273' -'273','27','3','val_273' -'274','27','4','val_274' -'275','27','5','val_275' -'277','27','7','val_277' -'277','27','7','val_277' -'277','27','7','val_277' -'277','27','7','val_277' -'278','27','8','val_278' -'278','27','8','val_278' -'280','28','0','val_280' -'280','28','0','val_280' -'281','28','1','val_281' -'281','28','1','val_281' -'282','28','2','val_282' -'282','28','2','val_282' -'283','28','3','val_283' -'284','28','4','val_284' -'285','28','5','val_285' -'286','28','6','val_286' -'287','28','7','val_287' -'288','28','8','val_288' -'288','28','8','val_288' -'289','28','9','val_289' -'291','29','1','val_291' -'292','29','2','val_292' -'296','29','6','val_296' -'298','29','8','val_298' -'298','29','8','val_298' -'298','29','8','val_298' -'302','30','2','val_302' -'305','30','5','val_305' -'306','30','6','val_306' -'307','30','7','val_307' -'307','30','7','val_307' -'308','30','8','val_308' -'309','30','9','val_309' -'309','30','9','val_309' -'310','31','0','val_310' -'311','31','1','val_311' -'311','31','1','val_311' -'311','31','1','val_311' -'315','31','5','val_315' -'316','31','6','val_316' -'316','31','6','val_316' -'316','31','6','val_316' -'317','31','7','val_317' -'317','31','7','val_317' -'318','31','8','val_318' -'318','31','8','val_318' -'318','31','8','val_318' -'321','32','1','val_321' -'321','32','1','val_321' -'322','32','2','val_322' -'322','32','2','val_322' -'323','32','3','val_323' -'325','32','5','val_325' -'325','32','5','val_325' -'327','32','7','val_327' -'327','32','7','val_327' -'327','32','7','val_327' -'331','33','1','val_331' -'331','33','1','val_331' -'332','33','2','val_332' -'333','33','3','val_333' -'333','33','3','val_333' -'335','33','5','val_335' -'336','33','6','val_336' -'338','33','8','val_338' -'339','33','9','val_339' -'341','34','1','val_341' -'342','34','2','val_342' -'342','34','2','val_342' -'344','34','4','val_344' -'344','34','4','val_344' -'345','34','5','val_345' -'348','34','8','val_348' -'348','34','8','val_348' -'348','34','8','val_348' -'348','34','8','val_348' -'348','34','8','val_348' -'351','35','1','val_351' -'353','35','3','val_353' -'353','35','3','val_353' -'356','35','6','val_356' -'360','36','0','val_360' -'362','36','2','val_362' -'364','36','4','val_364' -'365','36','5','val_365' -'366','36','6','val_366' -'367','36','7','val_367' -'367','36','7','val_367' -'368','36','8','val_368' -'369','36','9','val_369' -'369','36','9','val_369' -'369','36','9','val_369' -'373','37','3','val_373' -'374','37','4','val_374' -'375','37','5','val_375' -'377','37','7','val_377' -'378','37','8','val_378' -'379','37','9','val_379' -'382','38','2','val_382' -'382','38','2','val_382' -'384','38','4','val_384' -'384','38','4','val_384' -'384','38','4','val_384' -'386','38','6','val_386' -'389','38','9','val_389' -'392','39','2','val_392' -'393','39','3','val_393' -'394','39','4','val_394' -'395','39','5','val_395' -'395','39','5','val_395' -'396','39','6','val_396' -'396','39','6','val_396' -'396','39','6','val_396' -'397','39','7','val_397' -'397','39','7','val_397' -'399','39','9','val_399' -'399','39','9','val_399' -'400','40','0','val_400' -'401','40','1','val_401' -'401','40','1','val_401' -'401','40','1','val_401' -'401','40','1','val_401' -'401','40','1','val_401' -'402','40','2','val_402' -'403','40','3','val_403' -'403','40','3','val_403' -'403','40','3','val_403' -'404','40','4','val_404' -'404','40','4','val_404' -'406','40','6','val_406' -'406','40','6','val_406' -'406','40','6','val_406' -'406','40','6','val_406' -'407','40','7','val_407' -'409','40','9','val_409' -'409','40','9','val_409' -'409','40','9','val_409' -'411','41','1','val_411' -'413','41','3','val_413' -'413','41','3','val_413' -'414','41','4','val_414' -'414','41','4','val_414' -'417','41','7','val_417' -'417','41','7','val_417' -'417','41','7','val_417' -'418','41','8','val_418' -'419','41','9','val_419' -'421','42','1','val_421' -'424','42','4','val_424' -'424','42','4','val_424' -'427','42','7','val_427' -'429','42','9','val_429' -'429','42','9','val_429' -'430','43','0','val_430' -'430','43','0','val_430' -'430','43','0','val_430' -'431','43','1','val_431' -'431','43','1','val_431' -'431','43','1','val_431' -'432','43','2','val_432' -'435','43','5','val_435' -'436','43','6','val_436' -'437','43','7','val_437' -'438','43','8','val_438' -'438','43','8','val_438' -'438','43','8','val_438' -'439','43','9','val_439' -'439','43','9','val_439' -'443','44','3','val_443' -'444','44','4','val_444' -'446','44','6','val_446' -'448','44','8','val_448' -'449','44','9','val_449' -'452','45','2','val_452' -'453','45','3','val_453' -'454','45','4','val_454' -'454','45','4','val_454' -'454','45','4','val_454' -'455','45','5','val_455' -'457','45','7','val_457' -'458','45','8','val_458' -'458','45','8','val_458' -'459','45','9','val_459' -'459','45','9','val_459' -'460','46','0','val_460' -'462','46','2','val_462' -'462','46','2','val_462' -'463','46','3','val_463' -'463','46','3','val_463' -'466','46','6','val_466' -'466','46','6','val_466' -'466','46','6','val_466' -'467','46','7','val_467' -'468','46','8','val_468' -'468','46','8','val_468' -'468','46','8','val_468' -'468','46','8','val_468' -'469','46','9','val_469' -'469','46','9','val_469' -'469','46','9','val_469' -'469','46','9','val_469' -'469','46','9','val_469' -'470','47','0','val_470' -'472','47','2','val_472' -'475','47','5','val_475' -'477','47','7','val_477' -'478','47','8','val_478' -'478','47','8','val_478' -'479','47','9','val_479' -'480','48','0','val_480' -'480','48','0','val_480' -'480','48','0','val_480' -'481','48','1','val_481' -'482','48','2','val_482' -'483','48','3','val_483' -'484','48','4','val_484' -'485','48','5','val_485' -'487','48','7','val_487' -'489','48','9','val_489' -'489','48','9','val_489' -'489','48','9','val_489' -'489','48','9','val_489' -'490','49','0','val_490' -'491','49','1','val_491' -'492','49','2','val_492' -'492','49','2','val_492' -'493','49','3','val_493' -'494','49','4','val_494' -'495','49','5','val_495' -'496','49','6','val_496' -'497','49','7','val_497' -'498','49','8','val_498' -'498','49','8','val_498' -'498','49','8','val_498' -500 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/mapreduce3.q.out ql/src/test/results/beelinepositive/mapreduce3.q.out deleted file mode 100644 index 40afd77..0000000 --- ql/src/test/results/beelinepositive/mapreduce3.q.out +++ /dev/null @@ -1,611 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/mapreduce3.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/mapreduce3.q ->>> CREATE TABLE dest1(key INT, ten INT, one INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest1 -MAP src.key, CAST(src.key / 10 AS INT), CAST(src.key % 10 AS INT), src.value -USING 'cat' AS (tkey, ten, one, tvalue) -SORT BY tvalue, tkey; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_TRANSFORM (TOK_EXPLIST (. (TOK_TABLE_OR_COL src) key) (TOK_FUNCTION TOK_INT (/ (. (TOK_TABLE_OR_COL src) key) 10)) (TOK_FUNCTION TOK_INT (% (. (TOK_TABLE_OR_COL src) key) 10)) (. (TOK_TABLE_OR_COL src) value)) TOK_SERDE TOK_RECORDWRITER 'cat' TOK_SERDE TOK_RECORDREADER (TOK_ALIASLIST tkey ten one tvalue)))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL tvalue)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL tkey)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: UDFToInteger((key / 10))' -' type: int' -' expr: UDFToInteger((key % 10))' -' type: int' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Transform Operator' -' command: cat' -' output info:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Reduce Output Operator' -' key expressions:' -' expr: _col3' -' type: string' -' expr: _col0' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: UDFToInteger(_col2)' -' type: int' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: mapreduce3.dest1' -'' -' 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: mapreduce3.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -84 rows selected ->>> ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 -MAP src.key, CAST(src.key / 10 AS INT), CAST(src.key % 10 AS INT), src.value -USING 'cat' AS (tkey, ten, one, tvalue) -SORT BY tvalue, tkey; -'_col0','_col1','_col2','_col3' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','ten','one','value' -'0','0','0','val_0' -'0','0','0','val_0' -'0','0','0','val_0' -'10','1','0','val_10' -'100','10','0','val_100' -'100','10','0','val_100' -'103','10','3','val_103' -'103','10','3','val_103' -'104','10','4','val_104' -'104','10','4','val_104' -'105','10','5','val_105' -'11','1','1','val_11' -'111','11','1','val_111' -'113','11','3','val_113' -'113','11','3','val_113' -'114','11','4','val_114' -'116','11','6','val_116' -'118','11','8','val_118' -'118','11','8','val_118' -'119','11','9','val_119' -'119','11','9','val_119' -'119','11','9','val_119' -'12','1','2','val_12' -'12','1','2','val_12' -'120','12','0','val_120' -'120','12','0','val_120' -'125','12','5','val_125' -'125','12','5','val_125' -'126','12','6','val_126' -'128','12','8','val_128' -'128','12','8','val_128' -'128','12','8','val_128' -'129','12','9','val_129' -'129','12','9','val_129' -'131','13','1','val_131' -'133','13','3','val_133' -'134','13','4','val_134' -'134','13','4','val_134' -'136','13','6','val_136' -'137','13','7','val_137' -'137','13','7','val_137' -'138','13','8','val_138' -'138','13','8','val_138' -'138','13','8','val_138' -'138','13','8','val_138' -'143','14','3','val_143' -'145','14','5','val_145' -'146','14','6','val_146' -'146','14','6','val_146' -'149','14','9','val_149' -'149','14','9','val_149' -'15','1','5','val_15' -'15','1','5','val_15' -'150','15','0','val_150' -'152','15','2','val_152' -'152','15','2','val_152' -'153','15','3','val_153' -'155','15','5','val_155' -'156','15','6','val_156' -'157','15','7','val_157' -'158','15','8','val_158' -'160','16','0','val_160' -'162','16','2','val_162' -'163','16','3','val_163' -'164','16','4','val_164' -'164','16','4','val_164' -'165','16','5','val_165' -'165','16','5','val_165' -'166','16','6','val_166' -'167','16','7','val_167' -'167','16','7','val_167' -'167','16','7','val_167' -'168','16','8','val_168' -'169','16','9','val_169' -'169','16','9','val_169' -'169','16','9','val_169' -'169','16','9','val_169' -'17','1','7','val_17' -'170','17','0','val_170' -'172','17','2','val_172' -'172','17','2','val_172' -'174','17','4','val_174' -'174','17','4','val_174' -'175','17','5','val_175' -'175','17','5','val_175' -'176','17','6','val_176' -'176','17','6','val_176' -'177','17','7','val_177' -'178','17','8','val_178' -'179','17','9','val_179' -'179','17','9','val_179' -'18','1','8','val_18' -'18','1','8','val_18' -'180','18','0','val_180' -'181','18','1','val_181' -'183','18','3','val_183' -'186','18','6','val_186' -'187','18','7','val_187' -'187','18','7','val_187' -'187','18','7','val_187' -'189','18','9','val_189' -'19','1','9','val_19' -'190','19','0','val_190' -'191','19','1','val_191' -'191','19','1','val_191' -'192','19','2','val_192' -'193','19','3','val_193' -'193','19','3','val_193' -'193','19','3','val_193' -'194','19','4','val_194' -'195','19','5','val_195' -'195','19','5','val_195' -'196','19','6','val_196' -'197','19','7','val_197' -'197','19','7','val_197' -'199','19','9','val_199' -'199','19','9','val_199' -'199','19','9','val_199' -'2','0','2','val_2' -'20','2','0','val_20' -'200','20','0','val_200' -'200','20','0','val_200' -'201','20','1','val_201' -'202','20','2','val_202' -'203','20','3','val_203' -'203','20','3','val_203' -'205','20','5','val_205' -'205','20','5','val_205' -'207','20','7','val_207' -'207','20','7','val_207' -'208','20','8','val_208' -'208','20','8','val_208' -'208','20','8','val_208' -'209','20','9','val_209' -'209','20','9','val_209' -'213','21','3','val_213' -'213','21','3','val_213' -'214','21','4','val_214' -'216','21','6','val_216' -'216','21','6','val_216' -'217','21','7','val_217' -'217','21','7','val_217' -'218','21','8','val_218' -'219','21','9','val_219' -'219','21','9','val_219' -'221','22','1','val_221' -'221','22','1','val_221' -'222','22','2','val_222' -'223','22','3','val_223' -'223','22','3','val_223' -'224','22','4','val_224' -'224','22','4','val_224' -'226','22','6','val_226' -'228','22','8','val_228' -'229','22','9','val_229' -'229','22','9','val_229' -'230','23','0','val_230' -'230','23','0','val_230' -'230','23','0','val_230' -'230','23','0','val_230' -'230','23','0','val_230' -'233','23','3','val_233' -'233','23','3','val_233' -'235','23','5','val_235' -'237','23','7','val_237' -'237','23','7','val_237' -'238','23','8','val_238' -'238','23','8','val_238' -'239','23','9','val_239' -'239','23','9','val_239' -'24','2','4','val_24' -'24','2','4','val_24' -'241','24','1','val_241' -'242','24','2','val_242' -'242','24','2','val_242' -'244','24','4','val_244' -'247','24','7','val_247' -'248','24','8','val_248' -'249','24','9','val_249' -'252','25','2','val_252' -'255','25','5','val_255' -'255','25','5','val_255' -'256','25','6','val_256' -'256','25','6','val_256' -'257','25','7','val_257' -'258','25','8','val_258' -'26','2','6','val_26' -'26','2','6','val_26' -'260','26','0','val_260' -'262','26','2','val_262' -'263','26','3','val_263' -'265','26','5','val_265' -'265','26','5','val_265' -'266','26','6','val_266' -'27','2','7','val_27' -'272','27','2','val_272' -'272','27','2','val_272' -'273','27','3','val_273' -'273','27','3','val_273' -'273','27','3','val_273' -'274','27','4','val_274' -'275','27','5','val_275' -'277','27','7','val_277' -'277','27','7','val_277' -'277','27','7','val_277' -'277','27','7','val_277' -'278','27','8','val_278' -'278','27','8','val_278' -'28','2','8','val_28' -'280','28','0','val_280' -'280','28','0','val_280' -'281','28','1','val_281' -'281','28','1','val_281' -'282','28','2','val_282' -'282','28','2','val_282' -'283','28','3','val_283' -'284','28','4','val_284' -'285','28','5','val_285' -'286','28','6','val_286' -'287','28','7','val_287' -'288','28','8','val_288' -'288','28','8','val_288' -'289','28','9','val_289' -'291','29','1','val_291' -'292','29','2','val_292' -'296','29','6','val_296' -'298','29','8','val_298' -'298','29','8','val_298' -'298','29','8','val_298' -'30','3','0','val_30' -'302','30','2','val_302' -'305','30','5','val_305' -'306','30','6','val_306' -'307','30','7','val_307' -'307','30','7','val_307' -'308','30','8','val_308' -'309','30','9','val_309' -'309','30','9','val_309' -'310','31','0','val_310' -'311','31','1','val_311' -'311','31','1','val_311' -'311','31','1','val_311' -'315','31','5','val_315' -'316','31','6','val_316' -'316','31','6','val_316' -'316','31','6','val_316' -'317','31','7','val_317' -'317','31','7','val_317' -'318','31','8','val_318' -'318','31','8','val_318' -'318','31','8','val_318' -'321','32','1','val_321' -'321','32','1','val_321' -'322','32','2','val_322' -'322','32','2','val_322' -'323','32','3','val_323' -'325','32','5','val_325' -'325','32','5','val_325' -'327','32','7','val_327' -'327','32','7','val_327' -'327','32','7','val_327' -'33','3','3','val_33' -'331','33','1','val_331' -'331','33','1','val_331' -'332','33','2','val_332' -'333','33','3','val_333' -'333','33','3','val_333' -'335','33','5','val_335' -'336','33','6','val_336' -'338','33','8','val_338' -'339','33','9','val_339' -'34','3','4','val_34' -'341','34','1','val_341' -'342','34','2','val_342' -'342','34','2','val_342' -'344','34','4','val_344' -'344','34','4','val_344' -'345','34','5','val_345' -'348','34','8','val_348' -'348','34','8','val_348' -'348','34','8','val_348' -'348','34','8','val_348' -'348','34','8','val_348' -'35','3','5','val_35' -'35','3','5','val_35' -'35','3','5','val_35' -'351','35','1','val_351' -'353','35','3','val_353' -'353','35','3','val_353' -'356','35','6','val_356' -'360','36','0','val_360' -'362','36','2','val_362' -'364','36','4','val_364' -'365','36','5','val_365' -'366','36','6','val_366' -'367','36','7','val_367' -'367','36','7','val_367' -'368','36','8','val_368' -'369','36','9','val_369' -'369','36','9','val_369' -'369','36','9','val_369' -'37','3','7','val_37' -'37','3','7','val_37' -'373','37','3','val_373' -'374','37','4','val_374' -'375','37','5','val_375' -'377','37','7','val_377' -'378','37','8','val_378' -'379','37','9','val_379' -'382','38','2','val_382' -'382','38','2','val_382' -'384','38','4','val_384' -'384','38','4','val_384' -'384','38','4','val_384' -'386','38','6','val_386' -'389','38','9','val_389' -'392','39','2','val_392' -'393','39','3','val_393' -'394','39','4','val_394' -'395','39','5','val_395' -'395','39','5','val_395' -'396','39','6','val_396' -'396','39','6','val_396' -'396','39','6','val_396' -'397','39','7','val_397' -'397','39','7','val_397' -'399','39','9','val_399' -'399','39','9','val_399' -'4','0','4','val_4' -'400','40','0','val_400' -'401','40','1','val_401' -'401','40','1','val_401' -'401','40','1','val_401' -'401','40','1','val_401' -'401','40','1','val_401' -'402','40','2','val_402' -'403','40','3','val_403' -'403','40','3','val_403' -'403','40','3','val_403' -'404','40','4','val_404' -'404','40','4','val_404' -'406','40','6','val_406' -'406','40','6','val_406' -'406','40','6','val_406' -'406','40','6','val_406' -'407','40','7','val_407' -'409','40','9','val_409' -'409','40','9','val_409' -'409','40','9','val_409' -'41','4','1','val_41' -'411','41','1','val_411' -'413','41','3','val_413' -'413','41','3','val_413' -'414','41','4','val_414' -'414','41','4','val_414' -'417','41','7','val_417' -'417','41','7','val_417' -'417','41','7','val_417' -'418','41','8','val_418' -'419','41','9','val_419' -'42','4','2','val_42' -'42','4','2','val_42' -'421','42','1','val_421' -'424','42','4','val_424' -'424','42','4','val_424' -'427','42','7','val_427' -'429','42','9','val_429' -'429','42','9','val_429' -'43','4','3','val_43' -'430','43','0','val_430' -'430','43','0','val_430' -'430','43','0','val_430' -'431','43','1','val_431' -'431','43','1','val_431' -'431','43','1','val_431' -'432','43','2','val_432' -'435','43','5','val_435' -'436','43','6','val_436' -'437','43','7','val_437' -'438','43','8','val_438' -'438','43','8','val_438' -'438','43','8','val_438' -'439','43','9','val_439' -'439','43','9','val_439' -'44','4','4','val_44' -'443','44','3','val_443' -'444','44','4','val_444' -'446','44','6','val_446' -'448','44','8','val_448' -'449','44','9','val_449' -'452','45','2','val_452' -'453','45','3','val_453' -'454','45','4','val_454' -'454','45','4','val_454' -'454','45','4','val_454' -'455','45','5','val_455' -'457','45','7','val_457' -'458','45','8','val_458' -'458','45','8','val_458' -'459','45','9','val_459' -'459','45','9','val_459' -'460','46','0','val_460' -'462','46','2','val_462' -'462','46','2','val_462' -'463','46','3','val_463' -'463','46','3','val_463' -'466','46','6','val_466' -'466','46','6','val_466' -'466','46','6','val_466' -'467','46','7','val_467' -'468','46','8','val_468' -'468','46','8','val_468' -'468','46','8','val_468' -'468','46','8','val_468' -'469','46','9','val_469' -'469','46','9','val_469' -'469','46','9','val_469' -'469','46','9','val_469' -'469','46','9','val_469' -'47','4','7','val_47' -'470','47','0','val_470' -'472','47','2','val_472' -'475','47','5','val_475' -'477','47','7','val_477' -'478','47','8','val_478' -'478','47','8','val_478' -'479','47','9','val_479' -'480','48','0','val_480' -'480','48','0','val_480' -'480','48','0','val_480' -'481','48','1','val_481' -'482','48','2','val_482' -'483','48','3','val_483' -'484','48','4','val_484' -'485','48','5','val_485' -'487','48','7','val_487' -'489','48','9','val_489' -'489','48','9','val_489' -'489','48','9','val_489' -'489','48','9','val_489' -'490','49','0','val_490' -'491','49','1','val_491' -'492','49','2','val_492' -'492','49','2','val_492' -'493','49','3','val_493' -'494','49','4','val_494' -'495','49','5','val_495' -'496','49','6','val_496' -'497','49','7','val_497' -'498','49','8','val_498' -'498','49','8','val_498' -'498','49','8','val_498' -'5','0','5','val_5' -'5','0','5','val_5' -'5','0','5','val_5' -'51','5','1','val_51' -'51','5','1','val_51' -'53','5','3','val_53' -'54','5','4','val_54' -'57','5','7','val_57' -'58','5','8','val_58' -'58','5','8','val_58' -'64','6','4','val_64' -'65','6','5','val_65' -'66','6','6','val_66' -'67','6','7','val_67' -'67','6','7','val_67' -'69','6','9','val_69' -'70','7','0','val_70' -'70','7','0','val_70' -'70','7','0','val_70' -'72','7','2','val_72' -'72','7','2','val_72' -'74','7','4','val_74' -'76','7','6','val_76' -'76','7','6','val_76' -'77','7','7','val_77' -'78','7','8','val_78' -'8','0','8','val_8' -'80','8','0','val_80' -'82','8','2','val_82' -'83','8','3','val_83' -'83','8','3','val_83' -'84','8','4','val_84' -'84','8','4','val_84' -'85','8','5','val_85' -'86','8','6','val_86' -'87','8','7','val_87' -'9','0','9','val_9' -'90','9','0','val_90' -'90','9','0','val_90' -'90','9','0','val_90' -'92','9','2','val_92' -'95','9','5','val_95' -'95','9','5','val_95' -'96','9','6','val_96' -'97','9','7','val_97' -'97','9','7','val_97' -'98','9','8','val_98' -'98','9','8','val_98' -500 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/mapreduce4.q.out ql/src/test/results/beelinepositive/mapreduce4.q.out deleted file mode 100644 index af9d932..0000000 --- ql/src/test/results/beelinepositive/mapreduce4.q.out +++ /dev/null @@ -1,619 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/mapreduce4.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/mapreduce4.q ->>> CREATE TABLE dest1(key INT, ten INT, one INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest1 -MAP src.key, CAST(src.key / 10 AS INT), CAST(src.key % 10 AS INT), src.value -USING 'cat' AS (tkey, ten, one, tvalue) -DISTRIBUTE BY tvalue, tkey -SORT BY ten DESC, one ASC; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_TRANSFORM (TOK_EXPLIST (. (TOK_TABLE_OR_COL src) key) (TOK_FUNCTION TOK_INT (/ (. (TOK_TABLE_OR_COL src) key) 10)) (TOK_FUNCTION TOK_INT (% (. (TOK_TABLE_OR_COL src) key) 10)) (. (TOK_TABLE_OR_COL src) value)) TOK_SERDE TOK_RECORDWRITER 'cat' TOK_SERDE TOK_RECORDREADER (TOK_ALIASLIST tkey ten one tvalue)))) (TOK_DISTRIBUTEBY (TOK_TABLE_OR_COL tvalue) (TOK_TABLE_OR_COL tkey)) (TOK_SORTBY (TOK_TABSORTCOLNAMEDESC (TOK_TABLE_OR_COL ten)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL one)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: UDFToInteger((key / 10))' -' type: int' -' expr: UDFToInteger((key % 10))' -' type: int' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Transform Operator' -' command: cat' -' output info:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' sort order: -+' -' Map-reduce partition columns:' -' expr: _col3' -' type: string' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: UDFToInteger(_col2)' -' type: int' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: mapreduce4.dest1' -'' -' 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: mapreduce4.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -89 rows selected ->>> ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 -MAP src.key, CAST(src.key / 10 AS INT), CAST(src.key % 10 AS INT), src.value -USING 'cat' AS (tkey, ten, one, tvalue) -DISTRIBUTE BY tvalue, tkey -SORT BY ten DESC, one ASC; -'_col0','_col1','_col2','_col3' -No rows selected ->>> ->>> ->>> SELECT dest1.* FROM dest1; -'key','ten','one','value' -'90','9','0','val_90' -'90','9','0','val_90' -'90','9','0','val_90' -'92','9','2','val_92' -'95','9','5','val_95' -'95','9','5','val_95' -'96','9','6','val_96' -'97','9','7','val_97' -'97','9','7','val_97' -'98','9','8','val_98' -'98','9','8','val_98' -'80','8','0','val_80' -'82','8','2','val_82' -'83','8','3','val_83' -'83','8','3','val_83' -'84','8','4','val_84' -'84','8','4','val_84' -'85','8','5','val_85' -'86','8','6','val_86' -'87','8','7','val_87' -'70','7','0','val_70' -'70','7','0','val_70' -'70','7','0','val_70' -'72','7','2','val_72' -'72','7','2','val_72' -'74','7','4','val_74' -'76','7','6','val_76' -'76','7','6','val_76' -'77','7','7','val_77' -'78','7','8','val_78' -'64','6','4','val_64' -'65','6','5','val_65' -'66','6','6','val_66' -'67','6','7','val_67' -'67','6','7','val_67' -'69','6','9','val_69' -'51','5','1','val_51' -'51','5','1','val_51' -'53','5','3','val_53' -'54','5','4','val_54' -'57','5','7','val_57' -'58','5','8','val_58' -'58','5','8','val_58' -'490','49','0','val_490' -'491','49','1','val_491' -'492','49','2','val_492' -'492','49','2','val_492' -'493','49','3','val_493' -'494','49','4','val_494' -'495','49','5','val_495' -'496','49','6','val_496' -'497','49','7','val_497' -'498','49','8','val_498' -'498','49','8','val_498' -'498','49','8','val_498' -'480','48','0','val_480' -'480','48','0','val_480' -'480','48','0','val_480' -'481','48','1','val_481' -'482','48','2','val_482' -'483','48','3','val_483' -'484','48','4','val_484' -'485','48','5','val_485' -'487','48','7','val_487' -'489','48','9','val_489' -'489','48','9','val_489' -'489','48','9','val_489' -'489','48','9','val_489' -'470','47','0','val_470' -'472','47','2','val_472' -'475','47','5','val_475' -'477','47','7','val_477' -'478','47','8','val_478' -'478','47','8','val_478' -'479','47','9','val_479' -'460','46','0','val_460' -'462','46','2','val_462' -'462','46','2','val_462' -'463','46','3','val_463' -'463','46','3','val_463' -'466','46','6','val_466' -'466','46','6','val_466' -'466','46','6','val_466' -'467','46','7','val_467' -'468','46','8','val_468' -'468','46','8','val_468' -'468','46','8','val_468' -'468','46','8','val_468' -'469','46','9','val_469' -'469','46','9','val_469' -'469','46','9','val_469' -'469','46','9','val_469' -'469','46','9','val_469' -'452','45','2','val_452' -'453','45','3','val_453' -'454','45','4','val_454' -'454','45','4','val_454' -'454','45','4','val_454' -'455','45','5','val_455' -'457','45','7','val_457' -'458','45','8','val_458' -'458','45','8','val_458' -'459','45','9','val_459' -'459','45','9','val_459' -'443','44','3','val_443' -'444','44','4','val_444' -'446','44','6','val_446' -'448','44','8','val_448' -'449','44','9','val_449' -'430','43','0','val_430' -'430','43','0','val_430' -'430','43','0','val_430' -'431','43','1','val_431' -'431','43','1','val_431' -'431','43','1','val_431' -'432','43','2','val_432' -'435','43','5','val_435' -'436','43','6','val_436' -'437','43','7','val_437' -'438','43','8','val_438' -'438','43','8','val_438' -'438','43','8','val_438' -'439','43','9','val_439' -'439','43','9','val_439' -'421','42','1','val_421' -'424','42','4','val_424' -'424','42','4','val_424' -'427','42','7','val_427' -'429','42','9','val_429' -'429','42','9','val_429' -'411','41','1','val_411' -'413','41','3','val_413' -'413','41','3','val_413' -'414','41','4','val_414' -'414','41','4','val_414' -'417','41','7','val_417' -'417','41','7','val_417' -'417','41','7','val_417' -'418','41','8','val_418' -'419','41','9','val_419' -'400','40','0','val_400' -'401','40','1','val_401' -'401','40','1','val_401' -'401','40','1','val_401' -'401','40','1','val_401' -'401','40','1','val_401' -'402','40','2','val_402' -'403','40','3','val_403' -'403','40','3','val_403' -'403','40','3','val_403' -'404','40','4','val_404' -'404','40','4','val_404' -'406','40','6','val_406' -'406','40','6','val_406' -'406','40','6','val_406' -'406','40','6','val_406' -'407','40','7','val_407' -'409','40','9','val_409' -'409','40','9','val_409' -'409','40','9','val_409' -'41','4','1','val_41' -'42','4','2','val_42' -'42','4','2','val_42' -'43','4','3','val_43' -'44','4','4','val_44' -'47','4','7','val_47' -'392','39','2','val_392' -'393','39','3','val_393' -'394','39','4','val_394' -'395','39','5','val_395' -'395','39','5','val_395' -'396','39','6','val_396' -'396','39','6','val_396' -'396','39','6','val_396' -'397','39','7','val_397' -'397','39','7','val_397' -'399','39','9','val_399' -'399','39','9','val_399' -'382','38','2','val_382' -'382','38','2','val_382' -'384','38','4','val_384' -'384','38','4','val_384' -'384','38','4','val_384' -'386','38','6','val_386' -'389','38','9','val_389' -'373','37','3','val_373' -'374','37','4','val_374' -'375','37','5','val_375' -'377','37','7','val_377' -'378','37','8','val_378' -'379','37','9','val_379' -'360','36','0','val_360' -'362','36','2','val_362' -'364','36','4','val_364' -'365','36','5','val_365' -'366','36','6','val_366' -'367','36','7','val_367' -'367','36','7','val_367' -'368','36','8','val_368' -'369','36','9','val_369' -'369','36','9','val_369' -'369','36','9','val_369' -'351','35','1','val_351' -'353','35','3','val_353' -'353','35','3','val_353' -'356','35','6','val_356' -'341','34','1','val_341' -'342','34','2','val_342' -'342','34','2','val_342' -'344','34','4','val_344' -'344','34','4','val_344' -'345','34','5','val_345' -'348','34','8','val_348' -'348','34','8','val_348' -'348','34','8','val_348' -'348','34','8','val_348' -'348','34','8','val_348' -'331','33','1','val_331' -'331','33','1','val_331' -'332','33','2','val_332' -'333','33','3','val_333' -'333','33','3','val_333' -'335','33','5','val_335' -'336','33','6','val_336' -'338','33','8','val_338' -'339','33','9','val_339' -'321','32','1','val_321' -'321','32','1','val_321' -'322','32','2','val_322' -'322','32','2','val_322' -'323','32','3','val_323' -'325','32','5','val_325' -'325','32','5','val_325' -'327','32','7','val_327' -'327','32','7','val_327' -'327','32','7','val_327' -'310','31','0','val_310' -'311','31','1','val_311' -'311','31','1','val_311' -'311','31','1','val_311' -'315','31','5','val_315' -'316','31','6','val_316' -'316','31','6','val_316' -'316','31','6','val_316' -'317','31','7','val_317' -'317','31','7','val_317' -'318','31','8','val_318' -'318','31','8','val_318' -'318','31','8','val_318' -'302','30','2','val_302' -'305','30','5','val_305' -'306','30','6','val_306' -'307','30','7','val_307' -'307','30','7','val_307' -'308','30','8','val_308' -'309','30','9','val_309' -'309','30','9','val_309' -'30','3','0','val_30' -'33','3','3','val_33' -'34','3','4','val_34' -'35','3','5','val_35' -'35','3','5','val_35' -'35','3','5','val_35' -'37','3','7','val_37' -'37','3','7','val_37' -'291','29','1','val_291' -'292','29','2','val_292' -'296','29','6','val_296' -'298','29','8','val_298' -'298','29','8','val_298' -'298','29','8','val_298' -'280','28','0','val_280' -'280','28','0','val_280' -'281','28','1','val_281' -'281','28','1','val_281' -'282','28','2','val_282' -'282','28','2','val_282' -'283','28','3','val_283' -'284','28','4','val_284' -'285','28','5','val_285' -'286','28','6','val_286' -'287','28','7','val_287' -'288','28','8','val_288' -'288','28','8','val_288' -'289','28','9','val_289' -'272','27','2','val_272' -'272','27','2','val_272' -'273','27','3','val_273' -'273','27','3','val_273' -'273','27','3','val_273' -'274','27','4','val_274' -'275','27','5','val_275' -'277','27','7','val_277' -'277','27','7','val_277' -'277','27','7','val_277' -'277','27','7','val_277' -'278','27','8','val_278' -'278','27','8','val_278' -'260','26','0','val_260' -'262','26','2','val_262' -'263','26','3','val_263' -'265','26','5','val_265' -'265','26','5','val_265' -'266','26','6','val_266' -'252','25','2','val_252' -'255','25','5','val_255' -'255','25','5','val_255' -'256','25','6','val_256' -'256','25','6','val_256' -'257','25','7','val_257' -'258','25','8','val_258' -'241','24','1','val_241' -'242','24','2','val_242' -'242','24','2','val_242' -'244','24','4','val_244' -'247','24','7','val_247' -'248','24','8','val_248' -'249','24','9','val_249' -'230','23','0','val_230' -'230','23','0','val_230' -'230','23','0','val_230' -'230','23','0','val_230' -'230','23','0','val_230' -'233','23','3','val_233' -'233','23','3','val_233' -'235','23','5','val_235' -'237','23','7','val_237' -'237','23','7','val_237' -'238','23','8','val_238' -'238','23','8','val_238' -'239','23','9','val_239' -'239','23','9','val_239' -'221','22','1','val_221' -'221','22','1','val_221' -'222','22','2','val_222' -'223','22','3','val_223' -'223','22','3','val_223' -'224','22','4','val_224' -'224','22','4','val_224' -'226','22','6','val_226' -'228','22','8','val_228' -'229','22','9','val_229' -'229','22','9','val_229' -'213','21','3','val_213' -'213','21','3','val_213' -'214','21','4','val_214' -'216','21','6','val_216' -'216','21','6','val_216' -'217','21','7','val_217' -'217','21','7','val_217' -'218','21','8','val_218' -'219','21','9','val_219' -'219','21','9','val_219' -'200','20','0','val_200' -'200','20','0','val_200' -'201','20','1','val_201' -'202','20','2','val_202' -'203','20','3','val_203' -'203','20','3','val_203' -'205','20','5','val_205' -'205','20','5','val_205' -'207','20','7','val_207' -'207','20','7','val_207' -'208','20','8','val_208' -'208','20','8','val_208' -'208','20','8','val_208' -'209','20','9','val_209' -'209','20','9','val_209' -'20','2','0','val_20' -'24','2','4','val_24' -'24','2','4','val_24' -'26','2','6','val_26' -'26','2','6','val_26' -'27','2','7','val_27' -'28','2','8','val_28' -'190','19','0','val_190' -'191','19','1','val_191' -'191','19','1','val_191' -'192','19','2','val_192' -'193','19','3','val_193' -'193','19','3','val_193' -'193','19','3','val_193' -'194','19','4','val_194' -'195','19','5','val_195' -'195','19','5','val_195' -'196','19','6','val_196' -'197','19','7','val_197' -'197','19','7','val_197' -'199','19','9','val_199' -'199','19','9','val_199' -'199','19','9','val_199' -'180','18','0','val_180' -'181','18','1','val_181' -'183','18','3','val_183' -'186','18','6','val_186' -'187','18','7','val_187' -'187','18','7','val_187' -'187','18','7','val_187' -'189','18','9','val_189' -'170','17','0','val_170' -'172','17','2','val_172' -'172','17','2','val_172' -'174','17','4','val_174' -'174','17','4','val_174' -'175','17','5','val_175' -'175','17','5','val_175' -'176','17','6','val_176' -'176','17','6','val_176' -'177','17','7','val_177' -'178','17','8','val_178' -'179','17','9','val_179' -'179','17','9','val_179' -'160','16','0','val_160' -'162','16','2','val_162' -'163','16','3','val_163' -'164','16','4','val_164' -'164','16','4','val_164' -'165','16','5','val_165' -'165','16','5','val_165' -'166','16','6','val_166' -'167','16','7','val_167' -'167','16','7','val_167' -'167','16','7','val_167' -'168','16','8','val_168' -'169','16','9','val_169' -'169','16','9','val_169' -'169','16','9','val_169' -'169','16','9','val_169' -'150','15','0','val_150' -'152','15','2','val_152' -'152','15','2','val_152' -'153','15','3','val_153' -'155','15','5','val_155' -'156','15','6','val_156' -'157','15','7','val_157' -'158','15','8','val_158' -'143','14','3','val_143' -'145','14','5','val_145' -'146','14','6','val_146' -'146','14','6','val_146' -'149','14','9','val_149' -'149','14','9','val_149' -'131','13','1','val_131' -'133','13','3','val_133' -'134','13','4','val_134' -'134','13','4','val_134' -'136','13','6','val_136' -'137','13','7','val_137' -'137','13','7','val_137' -'138','13','8','val_138' -'138','13','8','val_138' -'138','13','8','val_138' -'138','13','8','val_138' -'120','12','0','val_120' -'120','12','0','val_120' -'125','12','5','val_125' -'125','12','5','val_125' -'126','12','6','val_126' -'128','12','8','val_128' -'128','12','8','val_128' -'128','12','8','val_128' -'129','12','9','val_129' -'129','12','9','val_129' -'111','11','1','val_111' -'113','11','3','val_113' -'113','11','3','val_113' -'114','11','4','val_114' -'116','11','6','val_116' -'118','11','8','val_118' -'118','11','8','val_118' -'119','11','9','val_119' -'119','11','9','val_119' -'119','11','9','val_119' -'100','10','0','val_100' -'100','10','0','val_100' -'103','10','3','val_103' -'103','10','3','val_103' -'104','10','4','val_104' -'104','10','4','val_104' -'105','10','5','val_105' -'10','1','0','val_10' -'11','1','1','val_11' -'12','1','2','val_12' -'12','1','2','val_12' -'15','1','5','val_15' -'15','1','5','val_15' -'17','1','7','val_17' -'18','1','8','val_18' -'18','1','8','val_18' -'19','1','9','val_19' -'0','0','0','val_0' -'0','0','0','val_0' -'0','0','0','val_0' -'2','0','2','val_2' -'4','0','4','val_4' -'5','0','5','val_5' -'5','0','5','val_5' -'5','0','5','val_5' -'8','0','8','val_8' -'9','0','9','val_9' -500 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/mapreduce5.q.out ql/src/test/results/beelinepositive/mapreduce5.q.out deleted file mode 100644 index 59054e4..0000000 --- ql/src/test/results/beelinepositive/mapreduce5.q.out +++ /dev/null @@ -1,611 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/mapreduce5.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/mapreduce5.q ->>> CREATE TABLE dest1(key INT, ten INT, one INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest1 -SELECT src.key as c1, CAST(src.key / 10 AS INT) as c2, CAST(src.key % 10 AS INT) as c3, src.value as c4 -DISTRIBUTE BY c4, c1 -SORT BY c2 DESC, c3 ASC; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c1) (TOK_SELEXPR (TOK_FUNCTION TOK_INT (/ (. (TOK_TABLE_OR_COL src) key) 10)) c2) (TOK_SELEXPR (TOK_FUNCTION TOK_INT (% (. (TOK_TABLE_OR_COL src) key) 10)) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c4)) (TOK_DISTRIBUTEBY (TOK_TABLE_OR_COL c4) (TOK_TABLE_OR_COL c1)) (TOK_SORTBY (TOK_TABSORTCOLNAMEDESC (TOK_TABLE_OR_COL c2)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL c3)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: UDFToInteger((key / 10))' -' type: int' -' expr: UDFToInteger((key % 10))' -' type: int' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: int' -' expr: _col2' -' type: int' -' sort order: -+' -' Map-reduce partition columns:' -' expr: _col3' -' type: string' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: int' -' expr: _col2' -' type: int' -' expr: _col3' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: int' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: mapreduce5.dest1' -'' -' 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: mapreduce5.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -84 rows selected ->>> ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 -SELECT src.key as c1, CAST(src.key / 10 AS INT) as c2, CAST(src.key % 10 AS INT) as c3, src.value as c4 -DISTRIBUTE BY c4, c1 -SORT BY c2 DESC, c3 ASC; -'_col0','_col1','_col2','_col3' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','ten','one','value' -'490','49','0','val_490' -'491','49','1','val_491' -'492','49','2','val_492' -'492','49','2','val_492' -'493','49','3','val_493' -'494','49','4','val_494' -'495','49','5','val_495' -'496','49','6','val_496' -'497','49','7','val_497' -'498','49','8','val_498' -'498','49','8','val_498' -'498','49','8','val_498' -'480','48','0','val_480' -'480','48','0','val_480' -'480','48','0','val_480' -'481','48','1','val_481' -'482','48','2','val_482' -'483','48','3','val_483' -'484','48','4','val_484' -'485','48','5','val_485' -'487','48','7','val_487' -'489','48','9','val_489' -'489','48','9','val_489' -'489','48','9','val_489' -'489','48','9','val_489' -'470','47','0','val_470' -'472','47','2','val_472' -'475','47','5','val_475' -'477','47','7','val_477' -'478','47','8','val_478' -'478','47','8','val_478' -'479','47','9','val_479' -'460','46','0','val_460' -'462','46','2','val_462' -'462','46','2','val_462' -'463','46','3','val_463' -'463','46','3','val_463' -'466','46','6','val_466' -'466','46','6','val_466' -'466','46','6','val_466' -'467','46','7','val_467' -'468','46','8','val_468' -'468','46','8','val_468' -'468','46','8','val_468' -'468','46','8','val_468' -'469','46','9','val_469' -'469','46','9','val_469' -'469','46','9','val_469' -'469','46','9','val_469' -'469','46','9','val_469' -'452','45','2','val_452' -'453','45','3','val_453' -'454','45','4','val_454' -'454','45','4','val_454' -'454','45','4','val_454' -'455','45','5','val_455' -'457','45','7','val_457' -'458','45','8','val_458' -'458','45','8','val_458' -'459','45','9','val_459' -'459','45','9','val_459' -'443','44','3','val_443' -'444','44','4','val_444' -'446','44','6','val_446' -'448','44','8','val_448' -'449','44','9','val_449' -'430','43','0','val_430' -'430','43','0','val_430' -'430','43','0','val_430' -'431','43','1','val_431' -'431','43','1','val_431' -'431','43','1','val_431' -'432','43','2','val_432' -'435','43','5','val_435' -'436','43','6','val_436' -'437','43','7','val_437' -'438','43','8','val_438' -'438','43','8','val_438' -'438','43','8','val_438' -'439','43','9','val_439' -'439','43','9','val_439' -'421','42','1','val_421' -'424','42','4','val_424' -'424','42','4','val_424' -'427','42','7','val_427' -'429','42','9','val_429' -'429','42','9','val_429' -'411','41','1','val_411' -'413','41','3','val_413' -'413','41','3','val_413' -'414','41','4','val_414' -'414','41','4','val_414' -'417','41','7','val_417' -'417','41','7','val_417' -'417','41','7','val_417' -'418','41','8','val_418' -'419','41','9','val_419' -'400','40','0','val_400' -'401','40','1','val_401' -'401','40','1','val_401' -'401','40','1','val_401' -'401','40','1','val_401' -'401','40','1','val_401' -'402','40','2','val_402' -'403','40','3','val_403' -'403','40','3','val_403' -'403','40','3','val_403' -'404','40','4','val_404' -'404','40','4','val_404' -'406','40','6','val_406' -'406','40','6','val_406' -'406','40','6','val_406' -'406','40','6','val_406' -'407','40','7','val_407' -'409','40','9','val_409' -'409','40','9','val_409' -'409','40','9','val_409' -'392','39','2','val_392' -'393','39','3','val_393' -'394','39','4','val_394' -'395','39','5','val_395' -'395','39','5','val_395' -'396','39','6','val_396' -'396','39','6','val_396' -'396','39','6','val_396' -'397','39','7','val_397' -'397','39','7','val_397' -'399','39','9','val_399' -'399','39','9','val_399' -'382','38','2','val_382' -'382','38','2','val_382' -'384','38','4','val_384' -'384','38','4','val_384' -'384','38','4','val_384' -'386','38','6','val_386' -'389','38','9','val_389' -'373','37','3','val_373' -'374','37','4','val_374' -'375','37','5','val_375' -'377','37','7','val_377' -'378','37','8','val_378' -'379','37','9','val_379' -'360','36','0','val_360' -'362','36','2','val_362' -'364','36','4','val_364' -'365','36','5','val_365' -'366','36','6','val_366' -'367','36','7','val_367' -'367','36','7','val_367' -'368','36','8','val_368' -'369','36','9','val_369' -'369','36','9','val_369' -'369','36','9','val_369' -'351','35','1','val_351' -'353','35','3','val_353' -'353','35','3','val_353' -'356','35','6','val_356' -'341','34','1','val_341' -'342','34','2','val_342' -'342','34','2','val_342' -'344','34','4','val_344' -'344','34','4','val_344' -'345','34','5','val_345' -'348','34','8','val_348' -'348','34','8','val_348' -'348','34','8','val_348' -'348','34','8','val_348' -'348','34','8','val_348' -'331','33','1','val_331' -'331','33','1','val_331' -'332','33','2','val_332' -'333','33','3','val_333' -'333','33','3','val_333' -'335','33','5','val_335' -'336','33','6','val_336' -'338','33','8','val_338' -'339','33','9','val_339' -'321','32','1','val_321' -'321','32','1','val_321' -'322','32','2','val_322' -'322','32','2','val_322' -'323','32','3','val_323' -'325','32','5','val_325' -'325','32','5','val_325' -'327','32','7','val_327' -'327','32','7','val_327' -'327','32','7','val_327' -'310','31','0','val_310' -'311','31','1','val_311' -'311','31','1','val_311' -'311','31','1','val_311' -'315','31','5','val_315' -'316','31','6','val_316' -'316','31','6','val_316' -'316','31','6','val_316' -'317','31','7','val_317' -'317','31','7','val_317' -'318','31','8','val_318' -'318','31','8','val_318' -'318','31','8','val_318' -'302','30','2','val_302' -'305','30','5','val_305' -'306','30','6','val_306' -'307','30','7','val_307' -'307','30','7','val_307' -'308','30','8','val_308' -'309','30','9','val_309' -'309','30','9','val_309' -'291','29','1','val_291' -'292','29','2','val_292' -'296','29','6','val_296' -'298','29','8','val_298' -'298','29','8','val_298' -'298','29','8','val_298' -'280','28','0','val_280' -'280','28','0','val_280' -'281','28','1','val_281' -'281','28','1','val_281' -'282','28','2','val_282' -'282','28','2','val_282' -'283','28','3','val_283' -'284','28','4','val_284' -'285','28','5','val_285' -'286','28','6','val_286' -'287','28','7','val_287' -'288','28','8','val_288' -'288','28','8','val_288' -'289','28','9','val_289' -'272','27','2','val_272' -'272','27','2','val_272' -'273','27','3','val_273' -'273','27','3','val_273' -'273','27','3','val_273' -'274','27','4','val_274' -'275','27','5','val_275' -'277','27','7','val_277' -'277','27','7','val_277' -'277','27','7','val_277' -'277','27','7','val_277' -'278','27','8','val_278' -'278','27','8','val_278' -'260','26','0','val_260' -'262','26','2','val_262' -'263','26','3','val_263' -'265','26','5','val_265' -'265','26','5','val_265' -'266','26','6','val_266' -'252','25','2','val_252' -'255','25','5','val_255' -'255','25','5','val_255' -'256','25','6','val_256' -'256','25','6','val_256' -'257','25','7','val_257' -'258','25','8','val_258' -'241','24','1','val_241' -'242','24','2','val_242' -'242','24','2','val_242' -'244','24','4','val_244' -'247','24','7','val_247' -'248','24','8','val_248' -'249','24','9','val_249' -'230','23','0','val_230' -'230','23','0','val_230' -'230','23','0','val_230' -'230','23','0','val_230' -'230','23','0','val_230' -'233','23','3','val_233' -'233','23','3','val_233' -'235','23','5','val_235' -'237','23','7','val_237' -'237','23','7','val_237' -'238','23','8','val_238' -'238','23','8','val_238' -'239','23','9','val_239' -'239','23','9','val_239' -'221','22','1','val_221' -'221','22','1','val_221' -'222','22','2','val_222' -'223','22','3','val_223' -'223','22','3','val_223' -'224','22','4','val_224' -'224','22','4','val_224' -'226','22','6','val_226' -'228','22','8','val_228' -'229','22','9','val_229' -'229','22','9','val_229' -'213','21','3','val_213' -'213','21','3','val_213' -'214','21','4','val_214' -'216','21','6','val_216' -'216','21','6','val_216' -'217','21','7','val_217' -'217','21','7','val_217' -'218','21','8','val_218' -'219','21','9','val_219' -'219','21','9','val_219' -'200','20','0','val_200' -'200','20','0','val_200' -'201','20','1','val_201' -'202','20','2','val_202' -'203','20','3','val_203' -'203','20','3','val_203' -'205','20','5','val_205' -'205','20','5','val_205' -'207','20','7','val_207' -'207','20','7','val_207' -'208','20','8','val_208' -'208','20','8','val_208' -'208','20','8','val_208' -'209','20','9','val_209' -'209','20','9','val_209' -'190','19','0','val_190' -'191','19','1','val_191' -'191','19','1','val_191' -'192','19','2','val_192' -'193','19','3','val_193' -'193','19','3','val_193' -'193','19','3','val_193' -'194','19','4','val_194' -'195','19','5','val_195' -'195','19','5','val_195' -'196','19','6','val_196' -'197','19','7','val_197' -'197','19','7','val_197' -'199','19','9','val_199' -'199','19','9','val_199' -'199','19','9','val_199' -'180','18','0','val_180' -'181','18','1','val_181' -'183','18','3','val_183' -'186','18','6','val_186' -'187','18','7','val_187' -'187','18','7','val_187' -'187','18','7','val_187' -'189','18','9','val_189' -'170','17','0','val_170' -'172','17','2','val_172' -'172','17','2','val_172' -'174','17','4','val_174' -'174','17','4','val_174' -'175','17','5','val_175' -'175','17','5','val_175' -'176','17','6','val_176' -'176','17','6','val_176' -'177','17','7','val_177' -'178','17','8','val_178' -'179','17','9','val_179' -'179','17','9','val_179' -'160','16','0','val_160' -'162','16','2','val_162' -'163','16','3','val_163' -'164','16','4','val_164' -'164','16','4','val_164' -'165','16','5','val_165' -'165','16','5','val_165' -'166','16','6','val_166' -'167','16','7','val_167' -'167','16','7','val_167' -'167','16','7','val_167' -'168','16','8','val_168' -'169','16','9','val_169' -'169','16','9','val_169' -'169','16','9','val_169' -'169','16','9','val_169' -'150','15','0','val_150' -'152','15','2','val_152' -'152','15','2','val_152' -'153','15','3','val_153' -'155','15','5','val_155' -'156','15','6','val_156' -'157','15','7','val_157' -'158','15','8','val_158' -'143','14','3','val_143' -'145','14','5','val_145' -'146','14','6','val_146' -'146','14','6','val_146' -'149','14','9','val_149' -'149','14','9','val_149' -'131','13','1','val_131' -'133','13','3','val_133' -'134','13','4','val_134' -'134','13','4','val_134' -'136','13','6','val_136' -'137','13','7','val_137' -'137','13','7','val_137' -'138','13','8','val_138' -'138','13','8','val_138' -'138','13','8','val_138' -'138','13','8','val_138' -'120','12','0','val_120' -'120','12','0','val_120' -'125','12','5','val_125' -'125','12','5','val_125' -'126','12','6','val_126' -'128','12','8','val_128' -'128','12','8','val_128' -'128','12','8','val_128' -'129','12','9','val_129' -'129','12','9','val_129' -'111','11','1','val_111' -'113','11','3','val_113' -'113','11','3','val_113' -'114','11','4','val_114' -'116','11','6','val_116' -'118','11','8','val_118' -'118','11','8','val_118' -'119','11','9','val_119' -'119','11','9','val_119' -'119','11','9','val_119' -'100','10','0','val_100' -'100','10','0','val_100' -'103','10','3','val_103' -'103','10','3','val_103' -'104','10','4','val_104' -'104','10','4','val_104' -'105','10','5','val_105' -'90','9','0','val_90' -'90','9','0','val_90' -'90','9','0','val_90' -'92','9','2','val_92' -'95','9','5','val_95' -'95','9','5','val_95' -'96','9','6','val_96' -'97','9','7','val_97' -'97','9','7','val_97' -'98','9','8','val_98' -'98','9','8','val_98' -'80','8','0','val_80' -'82','8','2','val_82' -'83','8','3','val_83' -'83','8','3','val_83' -'84','8','4','val_84' -'84','8','4','val_84' -'85','8','5','val_85' -'86','8','6','val_86' -'87','8','7','val_87' -'70','7','0','val_70' -'70','7','0','val_70' -'70','7','0','val_70' -'72','7','2','val_72' -'72','7','2','val_72' -'74','7','4','val_74' -'76','7','6','val_76' -'76','7','6','val_76' -'77','7','7','val_77' -'78','7','8','val_78' -'64','6','4','val_64' -'65','6','5','val_65' -'66','6','6','val_66' -'67','6','7','val_67' -'67','6','7','val_67' -'69','6','9','val_69' -'51','5','1','val_51' -'51','5','1','val_51' -'53','5','3','val_53' -'54','5','4','val_54' -'57','5','7','val_57' -'58','5','8','val_58' -'58','5','8','val_58' -'41','4','1','val_41' -'42','4','2','val_42' -'42','4','2','val_42' -'43','4','3','val_43' -'44','4','4','val_44' -'47','4','7','val_47' -'30','3','0','val_30' -'33','3','3','val_33' -'34','3','4','val_34' -'35','3','5','val_35' -'35','3','5','val_35' -'35','3','5','val_35' -'37','3','7','val_37' -'37','3','7','val_37' -'20','2','0','val_20' -'24','2','4','val_24' -'24','2','4','val_24' -'26','2','6','val_26' -'26','2','6','val_26' -'27','2','7','val_27' -'28','2','8','val_28' -'10','1','0','val_10' -'11','1','1','val_11' -'12','1','2','val_12' -'12','1','2','val_12' -'15','1','5','val_15' -'15','1','5','val_15' -'17','1','7','val_17' -'18','1','8','val_18' -'18','1','8','val_18' -'19','1','9','val_19' -'0','0','0','val_0' -'0','0','0','val_0' -'0','0','0','val_0' -'2','0','2','val_2' -'4','0','4','val_4' -'5','0','5','val_5' -'5','0','5','val_5' -'5','0','5','val_5' -'8','0','8','val_8' -'9','0','9','val_9' -500 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/mapreduce6.q.out ql/src/test/results/beelinepositive/mapreduce6.q.out deleted file mode 100644 index 0ace4ba..0000000 --- ql/src/test/results/beelinepositive/mapreduce6.q.out +++ /dev/null @@ -1,611 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/mapreduce6.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/mapreduce6.q ->>> CREATE TABLE dest1(key INT, ten INT, one INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest1 -SELECT src.key, CAST(src.key / 10 AS INT) as c2, CAST(src.key % 10 AS INT) as c3, src.value -DISTRIBUTE BY value, key -SORT BY c2 DESC, c3 ASC; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key)) (TOK_SELEXPR (TOK_FUNCTION TOK_INT (/ (. (TOK_TABLE_OR_COL src) key) 10)) c2) (TOK_SELEXPR (TOK_FUNCTION TOK_INT (% (. (TOK_TABLE_OR_COL src) key) 10)) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value))) (TOK_DISTRIBUTEBY (TOK_TABLE_OR_COL value) (TOK_TABLE_OR_COL key)) (TOK_SORTBY (TOK_TABSORTCOLNAMEDESC (TOK_TABLE_OR_COL c2)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL c3)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: UDFToInteger((key / 10))' -' type: int' -' expr: UDFToInteger((key % 10))' -' type: int' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: int' -' expr: _col2' -' type: int' -' sort order: -+' -' Map-reduce partition columns:' -' expr: _col3' -' type: string' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: int' -' expr: _col2' -' type: int' -' expr: _col3' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: int' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: mapreduce6.dest1' -'' -' 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: mapreduce6.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -84 rows selected ->>> ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 -SELECT src.key, CAST(src.key / 10 AS INT) as c2, CAST(src.key % 10 AS INT) as c3, src.value -DISTRIBUTE BY value, key -SORT BY c2 DESC, c3 ASC; -'_col0','_col1','_col2','_col3' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','ten','one','value' -'490','49','0','val_490' -'491','49','1','val_491' -'492','49','2','val_492' -'492','49','2','val_492' -'493','49','3','val_493' -'494','49','4','val_494' -'495','49','5','val_495' -'496','49','6','val_496' -'497','49','7','val_497' -'498','49','8','val_498' -'498','49','8','val_498' -'498','49','8','val_498' -'480','48','0','val_480' -'480','48','0','val_480' -'480','48','0','val_480' -'481','48','1','val_481' -'482','48','2','val_482' -'483','48','3','val_483' -'484','48','4','val_484' -'485','48','5','val_485' -'487','48','7','val_487' -'489','48','9','val_489' -'489','48','9','val_489' -'489','48','9','val_489' -'489','48','9','val_489' -'470','47','0','val_470' -'472','47','2','val_472' -'475','47','5','val_475' -'477','47','7','val_477' -'478','47','8','val_478' -'478','47','8','val_478' -'479','47','9','val_479' -'460','46','0','val_460' -'462','46','2','val_462' -'462','46','2','val_462' -'463','46','3','val_463' -'463','46','3','val_463' -'466','46','6','val_466' -'466','46','6','val_466' -'466','46','6','val_466' -'467','46','7','val_467' -'468','46','8','val_468' -'468','46','8','val_468' -'468','46','8','val_468' -'468','46','8','val_468' -'469','46','9','val_469' -'469','46','9','val_469' -'469','46','9','val_469' -'469','46','9','val_469' -'469','46','9','val_469' -'452','45','2','val_452' -'453','45','3','val_453' -'454','45','4','val_454' -'454','45','4','val_454' -'454','45','4','val_454' -'455','45','5','val_455' -'457','45','7','val_457' -'458','45','8','val_458' -'458','45','8','val_458' -'459','45','9','val_459' -'459','45','9','val_459' -'443','44','3','val_443' -'444','44','4','val_444' -'446','44','6','val_446' -'448','44','8','val_448' -'449','44','9','val_449' -'430','43','0','val_430' -'430','43','0','val_430' -'430','43','0','val_430' -'431','43','1','val_431' -'431','43','1','val_431' -'431','43','1','val_431' -'432','43','2','val_432' -'435','43','5','val_435' -'436','43','6','val_436' -'437','43','7','val_437' -'438','43','8','val_438' -'438','43','8','val_438' -'438','43','8','val_438' -'439','43','9','val_439' -'439','43','9','val_439' -'421','42','1','val_421' -'424','42','4','val_424' -'424','42','4','val_424' -'427','42','7','val_427' -'429','42','9','val_429' -'429','42','9','val_429' -'411','41','1','val_411' -'413','41','3','val_413' -'413','41','3','val_413' -'414','41','4','val_414' -'414','41','4','val_414' -'417','41','7','val_417' -'417','41','7','val_417' -'417','41','7','val_417' -'418','41','8','val_418' -'419','41','9','val_419' -'400','40','0','val_400' -'401','40','1','val_401' -'401','40','1','val_401' -'401','40','1','val_401' -'401','40','1','val_401' -'401','40','1','val_401' -'402','40','2','val_402' -'403','40','3','val_403' -'403','40','3','val_403' -'403','40','3','val_403' -'404','40','4','val_404' -'404','40','4','val_404' -'406','40','6','val_406' -'406','40','6','val_406' -'406','40','6','val_406' -'406','40','6','val_406' -'407','40','7','val_407' -'409','40','9','val_409' -'409','40','9','val_409' -'409','40','9','val_409' -'392','39','2','val_392' -'393','39','3','val_393' -'394','39','4','val_394' -'395','39','5','val_395' -'395','39','5','val_395' -'396','39','6','val_396' -'396','39','6','val_396' -'396','39','6','val_396' -'397','39','7','val_397' -'397','39','7','val_397' -'399','39','9','val_399' -'399','39','9','val_399' -'382','38','2','val_382' -'382','38','2','val_382' -'384','38','4','val_384' -'384','38','4','val_384' -'384','38','4','val_384' -'386','38','6','val_386' -'389','38','9','val_389' -'373','37','3','val_373' -'374','37','4','val_374' -'375','37','5','val_375' -'377','37','7','val_377' -'378','37','8','val_378' -'379','37','9','val_379' -'360','36','0','val_360' -'362','36','2','val_362' -'364','36','4','val_364' -'365','36','5','val_365' -'366','36','6','val_366' -'367','36','7','val_367' -'367','36','7','val_367' -'368','36','8','val_368' -'369','36','9','val_369' -'369','36','9','val_369' -'369','36','9','val_369' -'351','35','1','val_351' -'353','35','3','val_353' -'353','35','3','val_353' -'356','35','6','val_356' -'341','34','1','val_341' -'342','34','2','val_342' -'342','34','2','val_342' -'344','34','4','val_344' -'344','34','4','val_344' -'345','34','5','val_345' -'348','34','8','val_348' -'348','34','8','val_348' -'348','34','8','val_348' -'348','34','8','val_348' -'348','34','8','val_348' -'331','33','1','val_331' -'331','33','1','val_331' -'332','33','2','val_332' -'333','33','3','val_333' -'333','33','3','val_333' -'335','33','5','val_335' -'336','33','6','val_336' -'338','33','8','val_338' -'339','33','9','val_339' -'321','32','1','val_321' -'321','32','1','val_321' -'322','32','2','val_322' -'322','32','2','val_322' -'323','32','3','val_323' -'325','32','5','val_325' -'325','32','5','val_325' -'327','32','7','val_327' -'327','32','7','val_327' -'327','32','7','val_327' -'310','31','0','val_310' -'311','31','1','val_311' -'311','31','1','val_311' -'311','31','1','val_311' -'315','31','5','val_315' -'316','31','6','val_316' -'316','31','6','val_316' -'316','31','6','val_316' -'317','31','7','val_317' -'317','31','7','val_317' -'318','31','8','val_318' -'318','31','8','val_318' -'318','31','8','val_318' -'302','30','2','val_302' -'305','30','5','val_305' -'306','30','6','val_306' -'307','30','7','val_307' -'307','30','7','val_307' -'308','30','8','val_308' -'309','30','9','val_309' -'309','30','9','val_309' -'291','29','1','val_291' -'292','29','2','val_292' -'296','29','6','val_296' -'298','29','8','val_298' -'298','29','8','val_298' -'298','29','8','val_298' -'280','28','0','val_280' -'280','28','0','val_280' -'281','28','1','val_281' -'281','28','1','val_281' -'282','28','2','val_282' -'282','28','2','val_282' -'283','28','3','val_283' -'284','28','4','val_284' -'285','28','5','val_285' -'286','28','6','val_286' -'287','28','7','val_287' -'288','28','8','val_288' -'288','28','8','val_288' -'289','28','9','val_289' -'272','27','2','val_272' -'272','27','2','val_272' -'273','27','3','val_273' -'273','27','3','val_273' -'273','27','3','val_273' -'274','27','4','val_274' -'275','27','5','val_275' -'277','27','7','val_277' -'277','27','7','val_277' -'277','27','7','val_277' -'277','27','7','val_277' -'278','27','8','val_278' -'278','27','8','val_278' -'260','26','0','val_260' -'262','26','2','val_262' -'263','26','3','val_263' -'265','26','5','val_265' -'265','26','5','val_265' -'266','26','6','val_266' -'252','25','2','val_252' -'255','25','5','val_255' -'255','25','5','val_255' -'256','25','6','val_256' -'256','25','6','val_256' -'257','25','7','val_257' -'258','25','8','val_258' -'241','24','1','val_241' -'242','24','2','val_242' -'242','24','2','val_242' -'244','24','4','val_244' -'247','24','7','val_247' -'248','24','8','val_248' -'249','24','9','val_249' -'230','23','0','val_230' -'230','23','0','val_230' -'230','23','0','val_230' -'230','23','0','val_230' -'230','23','0','val_230' -'233','23','3','val_233' -'233','23','3','val_233' -'235','23','5','val_235' -'237','23','7','val_237' -'237','23','7','val_237' -'238','23','8','val_238' -'238','23','8','val_238' -'239','23','9','val_239' -'239','23','9','val_239' -'221','22','1','val_221' -'221','22','1','val_221' -'222','22','2','val_222' -'223','22','3','val_223' -'223','22','3','val_223' -'224','22','4','val_224' -'224','22','4','val_224' -'226','22','6','val_226' -'228','22','8','val_228' -'229','22','9','val_229' -'229','22','9','val_229' -'213','21','3','val_213' -'213','21','3','val_213' -'214','21','4','val_214' -'216','21','6','val_216' -'216','21','6','val_216' -'217','21','7','val_217' -'217','21','7','val_217' -'218','21','8','val_218' -'219','21','9','val_219' -'219','21','9','val_219' -'200','20','0','val_200' -'200','20','0','val_200' -'201','20','1','val_201' -'202','20','2','val_202' -'203','20','3','val_203' -'203','20','3','val_203' -'205','20','5','val_205' -'205','20','5','val_205' -'207','20','7','val_207' -'207','20','7','val_207' -'208','20','8','val_208' -'208','20','8','val_208' -'208','20','8','val_208' -'209','20','9','val_209' -'209','20','9','val_209' -'190','19','0','val_190' -'191','19','1','val_191' -'191','19','1','val_191' -'192','19','2','val_192' -'193','19','3','val_193' -'193','19','3','val_193' -'193','19','3','val_193' -'194','19','4','val_194' -'195','19','5','val_195' -'195','19','5','val_195' -'196','19','6','val_196' -'197','19','7','val_197' -'197','19','7','val_197' -'199','19','9','val_199' -'199','19','9','val_199' -'199','19','9','val_199' -'180','18','0','val_180' -'181','18','1','val_181' -'183','18','3','val_183' -'186','18','6','val_186' -'187','18','7','val_187' -'187','18','7','val_187' -'187','18','7','val_187' -'189','18','9','val_189' -'170','17','0','val_170' -'172','17','2','val_172' -'172','17','2','val_172' -'174','17','4','val_174' -'174','17','4','val_174' -'175','17','5','val_175' -'175','17','5','val_175' -'176','17','6','val_176' -'176','17','6','val_176' -'177','17','7','val_177' -'178','17','8','val_178' -'179','17','9','val_179' -'179','17','9','val_179' -'160','16','0','val_160' -'162','16','2','val_162' -'163','16','3','val_163' -'164','16','4','val_164' -'164','16','4','val_164' -'165','16','5','val_165' -'165','16','5','val_165' -'166','16','6','val_166' -'167','16','7','val_167' -'167','16','7','val_167' -'167','16','7','val_167' -'168','16','8','val_168' -'169','16','9','val_169' -'169','16','9','val_169' -'169','16','9','val_169' -'169','16','9','val_169' -'150','15','0','val_150' -'152','15','2','val_152' -'152','15','2','val_152' -'153','15','3','val_153' -'155','15','5','val_155' -'156','15','6','val_156' -'157','15','7','val_157' -'158','15','8','val_158' -'143','14','3','val_143' -'145','14','5','val_145' -'146','14','6','val_146' -'146','14','6','val_146' -'149','14','9','val_149' -'149','14','9','val_149' -'131','13','1','val_131' -'133','13','3','val_133' -'134','13','4','val_134' -'134','13','4','val_134' -'136','13','6','val_136' -'137','13','7','val_137' -'137','13','7','val_137' -'138','13','8','val_138' -'138','13','8','val_138' -'138','13','8','val_138' -'138','13','8','val_138' -'120','12','0','val_120' -'120','12','0','val_120' -'125','12','5','val_125' -'125','12','5','val_125' -'126','12','6','val_126' -'128','12','8','val_128' -'128','12','8','val_128' -'128','12','8','val_128' -'129','12','9','val_129' -'129','12','9','val_129' -'111','11','1','val_111' -'113','11','3','val_113' -'113','11','3','val_113' -'114','11','4','val_114' -'116','11','6','val_116' -'118','11','8','val_118' -'118','11','8','val_118' -'119','11','9','val_119' -'119','11','9','val_119' -'119','11','9','val_119' -'100','10','0','val_100' -'100','10','0','val_100' -'103','10','3','val_103' -'103','10','3','val_103' -'104','10','4','val_104' -'104','10','4','val_104' -'105','10','5','val_105' -'90','9','0','val_90' -'90','9','0','val_90' -'90','9','0','val_90' -'92','9','2','val_92' -'95','9','5','val_95' -'95','9','5','val_95' -'96','9','6','val_96' -'97','9','7','val_97' -'97','9','7','val_97' -'98','9','8','val_98' -'98','9','8','val_98' -'80','8','0','val_80' -'82','8','2','val_82' -'83','8','3','val_83' -'83','8','3','val_83' -'84','8','4','val_84' -'84','8','4','val_84' -'85','8','5','val_85' -'86','8','6','val_86' -'87','8','7','val_87' -'70','7','0','val_70' -'70','7','0','val_70' -'70','7','0','val_70' -'72','7','2','val_72' -'72','7','2','val_72' -'74','7','4','val_74' -'76','7','6','val_76' -'76','7','6','val_76' -'77','7','7','val_77' -'78','7','8','val_78' -'64','6','4','val_64' -'65','6','5','val_65' -'66','6','6','val_66' -'67','6','7','val_67' -'67','6','7','val_67' -'69','6','9','val_69' -'51','5','1','val_51' -'51','5','1','val_51' -'53','5','3','val_53' -'54','5','4','val_54' -'57','5','7','val_57' -'58','5','8','val_58' -'58','5','8','val_58' -'41','4','1','val_41' -'42','4','2','val_42' -'42','4','2','val_42' -'43','4','3','val_43' -'44','4','4','val_44' -'47','4','7','val_47' -'30','3','0','val_30' -'33','3','3','val_33' -'34','3','4','val_34' -'35','3','5','val_35' -'35','3','5','val_35' -'35','3','5','val_35' -'37','3','7','val_37' -'37','3','7','val_37' -'20','2','0','val_20' -'24','2','4','val_24' -'24','2','4','val_24' -'26','2','6','val_26' -'26','2','6','val_26' -'27','2','7','val_27' -'28','2','8','val_28' -'10','1','0','val_10' -'11','1','1','val_11' -'12','1','2','val_12' -'12','1','2','val_12' -'15','1','5','val_15' -'15','1','5','val_15' -'17','1','7','val_17' -'18','1','8','val_18' -'18','1','8','val_18' -'19','1','9','val_19' -'0','0','0','val_0' -'0','0','0','val_0' -'0','0','0','val_0' -'2','0','2','val_2' -'4','0','4','val_4' -'5','0','5','val_5' -'5','0','5','val_5' -'5','0','5','val_5' -'8','0','8','val_8' -'9','0','9','val_9' -500 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/mapreduce7.q.out ql/src/test/results/beelinepositive/mapreduce7.q.out deleted file mode 100644 index c21422e..0000000 --- ql/src/test/results/beelinepositive/mapreduce7.q.out +++ /dev/null @@ -1,623 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/mapreduce7.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/mapreduce7.q ->>> CREATE TABLE dest1(k STRING, v STRING, key INT, ten INT, one INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest1 -MAP src.*, src.key, CAST(src.key / 10 AS INT), CAST(src.key % 10 AS INT), src.value -USING 'cat' AS (k, v, tkey, ten, one, tvalue) -SORT BY tvalue, tkey; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_TRANSFORM (TOK_EXPLIST (TOK_ALLCOLREF (TOK_TABNAME src)) (. (TOK_TABLE_OR_COL src) key) (TOK_FUNCTION TOK_INT (/ (. (TOK_TABLE_OR_COL src) key) 10)) (TOK_FUNCTION TOK_INT (% (. (TOK_TABLE_OR_COL src) key) 10)) (. (TOK_TABLE_OR_COL src) value)) TOK_SERDE TOK_RECORDWRITER 'cat' TOK_SERDE TOK_RECORDREADER (TOK_ALIASLIST k v tkey ten one tvalue)))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL tvalue)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL tkey)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: key' -' type: string' -' expr: UDFToInteger((key / 10))' -' type: int' -' expr: UDFToInteger((key % 10))' -' type: int' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' Transform Operator' -' command: cat' -' output info:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Reduce Output Operator' -' key expressions:' -' expr: _col5' -' type: string' -' expr: _col2' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: UDFToInteger(_col2)' -' type: int' -' expr: UDFToInteger(_col3)' -' type: int' -' expr: UDFToInteger(_col4)' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: mapreduce7.dest1' -'' -' 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: mapreduce7.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -96 rows selected ->>> ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 -MAP src.*, src.key, CAST(src.key / 10 AS INT), CAST(src.key % 10 AS INT), src.value -USING 'cat' AS (k, v, tkey, ten, one, tvalue) -SORT BY tvalue, tkey; -'_col0','_col1','_col2','_col3','_col4','_col5' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'k','v','key','ten','one','value' -'0','val_0','0','0','0','val_0' -'0','val_0','0','0','0','val_0' -'0','val_0','0','0','0','val_0' -'10','val_10','10','1','0','val_10' -'100','val_100','100','10','0','val_100' -'100','val_100','100','10','0','val_100' -'103','val_103','103','10','3','val_103' -'103','val_103','103','10','3','val_103' -'104','val_104','104','10','4','val_104' -'104','val_104','104','10','4','val_104' -'105','val_105','105','10','5','val_105' -'11','val_11','11','1','1','val_11' -'111','val_111','111','11','1','val_111' -'113','val_113','113','11','3','val_113' -'113','val_113','113','11','3','val_113' -'114','val_114','114','11','4','val_114' -'116','val_116','116','11','6','val_116' -'118','val_118','118','11','8','val_118' -'118','val_118','118','11','8','val_118' -'119','val_119','119','11','9','val_119' -'119','val_119','119','11','9','val_119' -'119','val_119','119','11','9','val_119' -'12','val_12','12','1','2','val_12' -'12','val_12','12','1','2','val_12' -'120','val_120','120','12','0','val_120' -'120','val_120','120','12','0','val_120' -'125','val_125','125','12','5','val_125' -'125','val_125','125','12','5','val_125' -'126','val_126','126','12','6','val_126' -'128','val_128','128','12','8','val_128' -'128','val_128','128','12','8','val_128' -'128','val_128','128','12','8','val_128' -'129','val_129','129','12','9','val_129' -'129','val_129','129','12','9','val_129' -'131','val_131','131','13','1','val_131' -'133','val_133','133','13','3','val_133' -'134','val_134','134','13','4','val_134' -'134','val_134','134','13','4','val_134' -'136','val_136','136','13','6','val_136' -'137','val_137','137','13','7','val_137' -'137','val_137','137','13','7','val_137' -'138','val_138','138','13','8','val_138' -'138','val_138','138','13','8','val_138' -'138','val_138','138','13','8','val_138' -'138','val_138','138','13','8','val_138' -'143','val_143','143','14','3','val_143' -'145','val_145','145','14','5','val_145' -'146','val_146','146','14','6','val_146' -'146','val_146','146','14','6','val_146' -'149','val_149','149','14','9','val_149' -'149','val_149','149','14','9','val_149' -'15','val_15','15','1','5','val_15' -'15','val_15','15','1','5','val_15' -'150','val_150','150','15','0','val_150' -'152','val_152','152','15','2','val_152' -'152','val_152','152','15','2','val_152' -'153','val_153','153','15','3','val_153' -'155','val_155','155','15','5','val_155' -'156','val_156','156','15','6','val_156' -'157','val_157','157','15','7','val_157' -'158','val_158','158','15','8','val_158' -'160','val_160','160','16','0','val_160' -'162','val_162','162','16','2','val_162' -'163','val_163','163','16','3','val_163' -'164','val_164','164','16','4','val_164' -'164','val_164','164','16','4','val_164' -'165','val_165','165','16','5','val_165' -'165','val_165','165','16','5','val_165' -'166','val_166','166','16','6','val_166' -'167','val_167','167','16','7','val_167' -'167','val_167','167','16','7','val_167' -'167','val_167','167','16','7','val_167' -'168','val_168','168','16','8','val_168' -'169','val_169','169','16','9','val_169' -'169','val_169','169','16','9','val_169' -'169','val_169','169','16','9','val_169' -'169','val_169','169','16','9','val_169' -'17','val_17','17','1','7','val_17' -'170','val_170','170','17','0','val_170' -'172','val_172','172','17','2','val_172' -'172','val_172','172','17','2','val_172' -'174','val_174','174','17','4','val_174' -'174','val_174','174','17','4','val_174' -'175','val_175','175','17','5','val_175' -'175','val_175','175','17','5','val_175' -'176','val_176','176','17','6','val_176' -'176','val_176','176','17','6','val_176' -'177','val_177','177','17','7','val_177' -'178','val_178','178','17','8','val_178' -'179','val_179','179','17','9','val_179' -'179','val_179','179','17','9','val_179' -'18','val_18','18','1','8','val_18' -'18','val_18','18','1','8','val_18' -'180','val_180','180','18','0','val_180' -'181','val_181','181','18','1','val_181' -'183','val_183','183','18','3','val_183' -'186','val_186','186','18','6','val_186' -'187','val_187','187','18','7','val_187' -'187','val_187','187','18','7','val_187' -'187','val_187','187','18','7','val_187' -'189','val_189','189','18','9','val_189' -'19','val_19','19','1','9','val_19' -'190','val_190','190','19','0','val_190' -'191','val_191','191','19','1','val_191' -'191','val_191','191','19','1','val_191' -'192','val_192','192','19','2','val_192' -'193','val_193','193','19','3','val_193' -'193','val_193','193','19','3','val_193' -'193','val_193','193','19','3','val_193' -'194','val_194','194','19','4','val_194' -'195','val_195','195','19','5','val_195' -'195','val_195','195','19','5','val_195' -'196','val_196','196','19','6','val_196' -'197','val_197','197','19','7','val_197' -'197','val_197','197','19','7','val_197' -'199','val_199','199','19','9','val_199' -'199','val_199','199','19','9','val_199' -'199','val_199','199','19','9','val_199' -'2','val_2','2','0','2','val_2' -'20','val_20','20','2','0','val_20' -'200','val_200','200','20','0','val_200' -'200','val_200','200','20','0','val_200' -'201','val_201','201','20','1','val_201' -'202','val_202','202','20','2','val_202' -'203','val_203','203','20','3','val_203' -'203','val_203','203','20','3','val_203' -'205','val_205','205','20','5','val_205' -'205','val_205','205','20','5','val_205' -'207','val_207','207','20','7','val_207' -'207','val_207','207','20','7','val_207' -'208','val_208','208','20','8','val_208' -'208','val_208','208','20','8','val_208' -'208','val_208','208','20','8','val_208' -'209','val_209','209','20','9','val_209' -'209','val_209','209','20','9','val_209' -'213','val_213','213','21','3','val_213' -'213','val_213','213','21','3','val_213' -'214','val_214','214','21','4','val_214' -'216','val_216','216','21','6','val_216' -'216','val_216','216','21','6','val_216' -'217','val_217','217','21','7','val_217' -'217','val_217','217','21','7','val_217' -'218','val_218','218','21','8','val_218' -'219','val_219','219','21','9','val_219' -'219','val_219','219','21','9','val_219' -'221','val_221','221','22','1','val_221' -'221','val_221','221','22','1','val_221' -'222','val_222','222','22','2','val_222' -'223','val_223','223','22','3','val_223' -'223','val_223','223','22','3','val_223' -'224','val_224','224','22','4','val_224' -'224','val_224','224','22','4','val_224' -'226','val_226','226','22','6','val_226' -'228','val_228','228','22','8','val_228' -'229','val_229','229','22','9','val_229' -'229','val_229','229','22','9','val_229' -'230','val_230','230','23','0','val_230' -'230','val_230','230','23','0','val_230' -'230','val_230','230','23','0','val_230' -'230','val_230','230','23','0','val_230' -'230','val_230','230','23','0','val_230' -'233','val_233','233','23','3','val_233' -'233','val_233','233','23','3','val_233' -'235','val_235','235','23','5','val_235' -'237','val_237','237','23','7','val_237' -'237','val_237','237','23','7','val_237' -'238','val_238','238','23','8','val_238' -'238','val_238','238','23','8','val_238' -'239','val_239','239','23','9','val_239' -'239','val_239','239','23','9','val_239' -'24','val_24','24','2','4','val_24' -'24','val_24','24','2','4','val_24' -'241','val_241','241','24','1','val_241' -'242','val_242','242','24','2','val_242' -'242','val_242','242','24','2','val_242' -'244','val_244','244','24','4','val_244' -'247','val_247','247','24','7','val_247' -'248','val_248','248','24','8','val_248' -'249','val_249','249','24','9','val_249' -'252','val_252','252','25','2','val_252' -'255','val_255','255','25','5','val_255' -'255','val_255','255','25','5','val_255' -'256','val_256','256','25','6','val_256' -'256','val_256','256','25','6','val_256' -'257','val_257','257','25','7','val_257' -'258','val_258','258','25','8','val_258' -'26','val_26','26','2','6','val_26' -'26','val_26','26','2','6','val_26' -'260','val_260','260','26','0','val_260' -'262','val_262','262','26','2','val_262' -'263','val_263','263','26','3','val_263' -'265','val_265','265','26','5','val_265' -'265','val_265','265','26','5','val_265' -'266','val_266','266','26','6','val_266' -'27','val_27','27','2','7','val_27' -'272','val_272','272','27','2','val_272' -'272','val_272','272','27','2','val_272' -'273','val_273','273','27','3','val_273' -'273','val_273','273','27','3','val_273' -'273','val_273','273','27','3','val_273' -'274','val_274','274','27','4','val_274' -'275','val_275','275','27','5','val_275' -'277','val_277','277','27','7','val_277' -'277','val_277','277','27','7','val_277' -'277','val_277','277','27','7','val_277' -'277','val_277','277','27','7','val_277' -'278','val_278','278','27','8','val_278' -'278','val_278','278','27','8','val_278' -'28','val_28','28','2','8','val_28' -'280','val_280','280','28','0','val_280' -'280','val_280','280','28','0','val_280' -'281','val_281','281','28','1','val_281' -'281','val_281','281','28','1','val_281' -'282','val_282','282','28','2','val_282' -'282','val_282','282','28','2','val_282' -'283','val_283','283','28','3','val_283' -'284','val_284','284','28','4','val_284' -'285','val_285','285','28','5','val_285' -'286','val_286','286','28','6','val_286' -'287','val_287','287','28','7','val_287' -'288','val_288','288','28','8','val_288' -'288','val_288','288','28','8','val_288' -'289','val_289','289','28','9','val_289' -'291','val_291','291','29','1','val_291' -'292','val_292','292','29','2','val_292' -'296','val_296','296','29','6','val_296' -'298','val_298','298','29','8','val_298' -'298','val_298','298','29','8','val_298' -'298','val_298','298','29','8','val_298' -'30','val_30','30','3','0','val_30' -'302','val_302','302','30','2','val_302' -'305','val_305','305','30','5','val_305' -'306','val_306','306','30','6','val_306' -'307','val_307','307','30','7','val_307' -'307','val_307','307','30','7','val_307' -'308','val_308','308','30','8','val_308' -'309','val_309','309','30','9','val_309' -'309','val_309','309','30','9','val_309' -'310','val_310','310','31','0','val_310' -'311','val_311','311','31','1','val_311' -'311','val_311','311','31','1','val_311' -'311','val_311','311','31','1','val_311' -'315','val_315','315','31','5','val_315' -'316','val_316','316','31','6','val_316' -'316','val_316','316','31','6','val_316' -'316','val_316','316','31','6','val_316' -'317','val_317','317','31','7','val_317' -'317','val_317','317','31','7','val_317' -'318','val_318','318','31','8','val_318' -'318','val_318','318','31','8','val_318' -'318','val_318','318','31','8','val_318' -'321','val_321','321','32','1','val_321' -'321','val_321','321','32','1','val_321' -'322','val_322','322','32','2','val_322' -'322','val_322','322','32','2','val_322' -'323','val_323','323','32','3','val_323' -'325','val_325','325','32','5','val_325' -'325','val_325','325','32','5','val_325' -'327','val_327','327','32','7','val_327' -'327','val_327','327','32','7','val_327' -'327','val_327','327','32','7','val_327' -'33','val_33','33','3','3','val_33' -'331','val_331','331','33','1','val_331' -'331','val_331','331','33','1','val_331' -'332','val_332','332','33','2','val_332' -'333','val_333','333','33','3','val_333' -'333','val_333','333','33','3','val_333' -'335','val_335','335','33','5','val_335' -'336','val_336','336','33','6','val_336' -'338','val_338','338','33','8','val_338' -'339','val_339','339','33','9','val_339' -'34','val_34','34','3','4','val_34' -'341','val_341','341','34','1','val_341' -'342','val_342','342','34','2','val_342' -'342','val_342','342','34','2','val_342' -'344','val_344','344','34','4','val_344' -'344','val_344','344','34','4','val_344' -'345','val_345','345','34','5','val_345' -'348','val_348','348','34','8','val_348' -'348','val_348','348','34','8','val_348' -'348','val_348','348','34','8','val_348' -'348','val_348','348','34','8','val_348' -'348','val_348','348','34','8','val_348' -'35','val_35','35','3','5','val_35' -'35','val_35','35','3','5','val_35' -'35','val_35','35','3','5','val_35' -'351','val_351','351','35','1','val_351' -'353','val_353','353','35','3','val_353' -'353','val_353','353','35','3','val_353' -'356','val_356','356','35','6','val_356' -'360','val_360','360','36','0','val_360' -'362','val_362','362','36','2','val_362' -'364','val_364','364','36','4','val_364' -'365','val_365','365','36','5','val_365' -'366','val_366','366','36','6','val_366' -'367','val_367','367','36','7','val_367' -'367','val_367','367','36','7','val_367' -'368','val_368','368','36','8','val_368' -'369','val_369','369','36','9','val_369' -'369','val_369','369','36','9','val_369' -'369','val_369','369','36','9','val_369' -'37','val_37','37','3','7','val_37' -'37','val_37','37','3','7','val_37' -'373','val_373','373','37','3','val_373' -'374','val_374','374','37','4','val_374' -'375','val_375','375','37','5','val_375' -'377','val_377','377','37','7','val_377' -'378','val_378','378','37','8','val_378' -'379','val_379','379','37','9','val_379' -'382','val_382','382','38','2','val_382' -'382','val_382','382','38','2','val_382' -'384','val_384','384','38','4','val_384' -'384','val_384','384','38','4','val_384' -'384','val_384','384','38','4','val_384' -'386','val_386','386','38','6','val_386' -'389','val_389','389','38','9','val_389' -'392','val_392','392','39','2','val_392' -'393','val_393','393','39','3','val_393' -'394','val_394','394','39','4','val_394' -'395','val_395','395','39','5','val_395' -'395','val_395','395','39','5','val_395' -'396','val_396','396','39','6','val_396' -'396','val_396','396','39','6','val_396' -'396','val_396','396','39','6','val_396' -'397','val_397','397','39','7','val_397' -'397','val_397','397','39','7','val_397' -'399','val_399','399','39','9','val_399' -'399','val_399','399','39','9','val_399' -'4','val_4','4','0','4','val_4' -'400','val_400','400','40','0','val_400' -'401','val_401','401','40','1','val_401' -'401','val_401','401','40','1','val_401' -'401','val_401','401','40','1','val_401' -'401','val_401','401','40','1','val_401' -'401','val_401','401','40','1','val_401' -'402','val_402','402','40','2','val_402' -'403','val_403','403','40','3','val_403' -'403','val_403','403','40','3','val_403' -'403','val_403','403','40','3','val_403' -'404','val_404','404','40','4','val_404' -'404','val_404','404','40','4','val_404' -'406','val_406','406','40','6','val_406' -'406','val_406','406','40','6','val_406' -'406','val_406','406','40','6','val_406' -'406','val_406','406','40','6','val_406' -'407','val_407','407','40','7','val_407' -'409','val_409','409','40','9','val_409' -'409','val_409','409','40','9','val_409' -'409','val_409','409','40','9','val_409' -'41','val_41','41','4','1','val_41' -'411','val_411','411','41','1','val_411' -'413','val_413','413','41','3','val_413' -'413','val_413','413','41','3','val_413' -'414','val_414','414','41','4','val_414' -'414','val_414','414','41','4','val_414' -'417','val_417','417','41','7','val_417' -'417','val_417','417','41','7','val_417' -'417','val_417','417','41','7','val_417' -'418','val_418','418','41','8','val_418' -'419','val_419','419','41','9','val_419' -'42','val_42','42','4','2','val_42' -'42','val_42','42','4','2','val_42' -'421','val_421','421','42','1','val_421' -'424','val_424','424','42','4','val_424' -'424','val_424','424','42','4','val_424' -'427','val_427','427','42','7','val_427' -'429','val_429','429','42','9','val_429' -'429','val_429','429','42','9','val_429' -'43','val_43','43','4','3','val_43' -'430','val_430','430','43','0','val_430' -'430','val_430','430','43','0','val_430' -'430','val_430','430','43','0','val_430' -'431','val_431','431','43','1','val_431' -'431','val_431','431','43','1','val_431' -'431','val_431','431','43','1','val_431' -'432','val_432','432','43','2','val_432' -'435','val_435','435','43','5','val_435' -'436','val_436','436','43','6','val_436' -'437','val_437','437','43','7','val_437' -'438','val_438','438','43','8','val_438' -'438','val_438','438','43','8','val_438' -'438','val_438','438','43','8','val_438' -'439','val_439','439','43','9','val_439' -'439','val_439','439','43','9','val_439' -'44','val_44','44','4','4','val_44' -'443','val_443','443','44','3','val_443' -'444','val_444','444','44','4','val_444' -'446','val_446','446','44','6','val_446' -'448','val_448','448','44','8','val_448' -'449','val_449','449','44','9','val_449' -'452','val_452','452','45','2','val_452' -'453','val_453','453','45','3','val_453' -'454','val_454','454','45','4','val_454' -'454','val_454','454','45','4','val_454' -'454','val_454','454','45','4','val_454' -'455','val_455','455','45','5','val_455' -'457','val_457','457','45','7','val_457' -'458','val_458','458','45','8','val_458' -'458','val_458','458','45','8','val_458' -'459','val_459','459','45','9','val_459' -'459','val_459','459','45','9','val_459' -'460','val_460','460','46','0','val_460' -'462','val_462','462','46','2','val_462' -'462','val_462','462','46','2','val_462' -'463','val_463','463','46','3','val_463' -'463','val_463','463','46','3','val_463' -'466','val_466','466','46','6','val_466' -'466','val_466','466','46','6','val_466' -'466','val_466','466','46','6','val_466' -'467','val_467','467','46','7','val_467' -'468','val_468','468','46','8','val_468' -'468','val_468','468','46','8','val_468' -'468','val_468','468','46','8','val_468' -'468','val_468','468','46','8','val_468' -'469','val_469','469','46','9','val_469' -'469','val_469','469','46','9','val_469' -'469','val_469','469','46','9','val_469' -'469','val_469','469','46','9','val_469' -'469','val_469','469','46','9','val_469' -'47','val_47','47','4','7','val_47' -'470','val_470','470','47','0','val_470' -'472','val_472','472','47','2','val_472' -'475','val_475','475','47','5','val_475' -'477','val_477','477','47','7','val_477' -'478','val_478','478','47','8','val_478' -'478','val_478','478','47','8','val_478' -'479','val_479','479','47','9','val_479' -'480','val_480','480','48','0','val_480' -'480','val_480','480','48','0','val_480' -'480','val_480','480','48','0','val_480' -'481','val_481','481','48','1','val_481' -'482','val_482','482','48','2','val_482' -'483','val_483','483','48','3','val_483' -'484','val_484','484','48','4','val_484' -'485','val_485','485','48','5','val_485' -'487','val_487','487','48','7','val_487' -'489','val_489','489','48','9','val_489' -'489','val_489','489','48','9','val_489' -'489','val_489','489','48','9','val_489' -'489','val_489','489','48','9','val_489' -'490','val_490','490','49','0','val_490' -'491','val_491','491','49','1','val_491' -'492','val_492','492','49','2','val_492' -'492','val_492','492','49','2','val_492' -'493','val_493','493','49','3','val_493' -'494','val_494','494','49','4','val_494' -'495','val_495','495','49','5','val_495' -'496','val_496','496','49','6','val_496' -'497','val_497','497','49','7','val_497' -'498','val_498','498','49','8','val_498' -'498','val_498','498','49','8','val_498' -'498','val_498','498','49','8','val_498' -'5','val_5','5','0','5','val_5' -'5','val_5','5','0','5','val_5' -'5','val_5','5','0','5','val_5' -'51','val_51','51','5','1','val_51' -'51','val_51','51','5','1','val_51' -'53','val_53','53','5','3','val_53' -'54','val_54','54','5','4','val_54' -'57','val_57','57','5','7','val_57' -'58','val_58','58','5','8','val_58' -'58','val_58','58','5','8','val_58' -'64','val_64','64','6','4','val_64' -'65','val_65','65','6','5','val_65' -'66','val_66','66','6','6','val_66' -'67','val_67','67','6','7','val_67' -'67','val_67','67','6','7','val_67' -'69','val_69','69','6','9','val_69' -'70','val_70','70','7','0','val_70' -'70','val_70','70','7','0','val_70' -'70','val_70','70','7','0','val_70' -'72','val_72','72','7','2','val_72' -'72','val_72','72','7','2','val_72' -'74','val_74','74','7','4','val_74' -'76','val_76','76','7','6','val_76' -'76','val_76','76','7','6','val_76' -'77','val_77','77','7','7','val_77' -'78','val_78','78','7','8','val_78' -'8','val_8','8','0','8','val_8' -'80','val_80','80','8','0','val_80' -'82','val_82','82','8','2','val_82' -'83','val_83','83','8','3','val_83' -'83','val_83','83','8','3','val_83' -'84','val_84','84','8','4','val_84' -'84','val_84','84','8','4','val_84' -'85','val_85','85','8','5','val_85' -'86','val_86','86','8','6','val_86' -'87','val_87','87','8','7','val_87' -'9','val_9','9','0','9','val_9' -'90','val_90','90','9','0','val_90' -'90','val_90','90','9','0','val_90' -'90','val_90','90','9','0','val_90' -'92','val_92','92','9','2','val_92' -'95','val_95','95','9','5','val_95' -'95','val_95','95','9','5','val_95' -'96','val_96','96','9','6','val_96' -'97','val_97','97','9','7','val_97' -'97','val_97','97','9','7','val_97' -'98','val_98','98','9','8','val_98' -'98','val_98','98','9','8','val_98' -500 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/mapreduce8.q.out ql/src/test/results/beelinepositive/mapreduce8.q.out deleted file mode 100644 index 70b3cca..0000000 --- ql/src/test/results/beelinepositive/mapreduce8.q.out +++ /dev/null @@ -1,628 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/mapreduce8.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/mapreduce8.q ->>> CREATE TABLE dest1(k STRING, v STRING, key INT, ten INT, one INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest1 -MAP src.*, src.key, CAST(src.key / 10 AS INT), CAST(src.key % 10 AS INT), src.value -USING 'cat' AS (k, v, tkey, ten, one, tvalue) -DISTRIBUTE BY rand(3) -SORT BY tvalue, tkey; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_TRANSFORM (TOK_EXPLIST (TOK_ALLCOLREF (TOK_TABNAME src)) (. (TOK_TABLE_OR_COL src) key) (TOK_FUNCTION TOK_INT (/ (. (TOK_TABLE_OR_COL src) key) 10)) (TOK_FUNCTION TOK_INT (% (. (TOK_TABLE_OR_COL src) key) 10)) (. (TOK_TABLE_OR_COL src) value)) TOK_SERDE TOK_RECORDWRITER 'cat' TOK_SERDE TOK_RECORDREADER (TOK_ALIASLIST k v tkey ten one tvalue)))) (TOK_DISTRIBUTEBY (TOK_FUNCTION rand 3)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL tvalue)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL tkey)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: key' -' type: string' -' expr: UDFToInteger((key / 10))' -' type: int' -' expr: UDFToInteger((key % 10))' -' type: int' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' Transform Operator' -' command: cat' -' output info:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Reduce Output Operator' -' key expressions:' -' expr: _col5' -' type: string' -' expr: _col2' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: rand(3)' -' type: double' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: UDFToInteger(_col2)' -' type: int' -' expr: UDFToInteger(_col3)' -' type: int' -' expr: UDFToInteger(_col4)' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: mapreduce8.dest1' -'' -' 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: mapreduce8.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -99 rows selected ->>> ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 -MAP src.*, src.key, CAST(src.key / 10 AS INT), CAST(src.key % 10 AS INT), src.value -USING 'cat' AS (k, v, tkey, ten, one, tvalue) -DISTRIBUTE BY rand(3) -SORT BY tvalue, tkey; -'_col0','_col1','_col2','_col3','_col4','_col5' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'k','v','key','ten','one','value' -'0','val_0','0','0','0','val_0' -'0','val_0','0','0','0','val_0' -'0','val_0','0','0','0','val_0' -'10','val_10','10','1','0','val_10' -'100','val_100','100','10','0','val_100' -'100','val_100','100','10','0','val_100' -'103','val_103','103','10','3','val_103' -'103','val_103','103','10','3','val_103' -'104','val_104','104','10','4','val_104' -'104','val_104','104','10','4','val_104' -'105','val_105','105','10','5','val_105' -'11','val_11','11','1','1','val_11' -'111','val_111','111','11','1','val_111' -'113','val_113','113','11','3','val_113' -'113','val_113','113','11','3','val_113' -'114','val_114','114','11','4','val_114' -'116','val_116','116','11','6','val_116' -'118','val_118','118','11','8','val_118' -'118','val_118','118','11','8','val_118' -'119','val_119','119','11','9','val_119' -'119','val_119','119','11','9','val_119' -'119','val_119','119','11','9','val_119' -'12','val_12','12','1','2','val_12' -'12','val_12','12','1','2','val_12' -'120','val_120','120','12','0','val_120' -'120','val_120','120','12','0','val_120' -'125','val_125','125','12','5','val_125' -'125','val_125','125','12','5','val_125' -'126','val_126','126','12','6','val_126' -'128','val_128','128','12','8','val_128' -'128','val_128','128','12','8','val_128' -'128','val_128','128','12','8','val_128' -'129','val_129','129','12','9','val_129' -'129','val_129','129','12','9','val_129' -'131','val_131','131','13','1','val_131' -'133','val_133','133','13','3','val_133' -'134','val_134','134','13','4','val_134' -'134','val_134','134','13','4','val_134' -'136','val_136','136','13','6','val_136' -'137','val_137','137','13','7','val_137' -'137','val_137','137','13','7','val_137' -'138','val_138','138','13','8','val_138' -'138','val_138','138','13','8','val_138' -'138','val_138','138','13','8','val_138' -'138','val_138','138','13','8','val_138' -'143','val_143','143','14','3','val_143' -'145','val_145','145','14','5','val_145' -'146','val_146','146','14','6','val_146' -'146','val_146','146','14','6','val_146' -'149','val_149','149','14','9','val_149' -'149','val_149','149','14','9','val_149' -'15','val_15','15','1','5','val_15' -'15','val_15','15','1','5','val_15' -'150','val_150','150','15','0','val_150' -'152','val_152','152','15','2','val_152' -'152','val_152','152','15','2','val_152' -'153','val_153','153','15','3','val_153' -'155','val_155','155','15','5','val_155' -'156','val_156','156','15','6','val_156' -'157','val_157','157','15','7','val_157' -'158','val_158','158','15','8','val_158' -'160','val_160','160','16','0','val_160' -'162','val_162','162','16','2','val_162' -'163','val_163','163','16','3','val_163' -'164','val_164','164','16','4','val_164' -'164','val_164','164','16','4','val_164' -'165','val_165','165','16','5','val_165' -'165','val_165','165','16','5','val_165' -'166','val_166','166','16','6','val_166' -'167','val_167','167','16','7','val_167' -'167','val_167','167','16','7','val_167' -'167','val_167','167','16','7','val_167' -'168','val_168','168','16','8','val_168' -'169','val_169','169','16','9','val_169' -'169','val_169','169','16','9','val_169' -'169','val_169','169','16','9','val_169' -'169','val_169','169','16','9','val_169' -'17','val_17','17','1','7','val_17' -'170','val_170','170','17','0','val_170' -'172','val_172','172','17','2','val_172' -'172','val_172','172','17','2','val_172' -'174','val_174','174','17','4','val_174' -'174','val_174','174','17','4','val_174' -'175','val_175','175','17','5','val_175' -'175','val_175','175','17','5','val_175' -'176','val_176','176','17','6','val_176' -'176','val_176','176','17','6','val_176' -'177','val_177','177','17','7','val_177' -'178','val_178','178','17','8','val_178' -'179','val_179','179','17','9','val_179' -'179','val_179','179','17','9','val_179' -'18','val_18','18','1','8','val_18' -'18','val_18','18','1','8','val_18' -'180','val_180','180','18','0','val_180' -'181','val_181','181','18','1','val_181' -'183','val_183','183','18','3','val_183' -'186','val_186','186','18','6','val_186' -'187','val_187','187','18','7','val_187' -'187','val_187','187','18','7','val_187' -'187','val_187','187','18','7','val_187' -'189','val_189','189','18','9','val_189' -'19','val_19','19','1','9','val_19' -'190','val_190','190','19','0','val_190' -'191','val_191','191','19','1','val_191' -'191','val_191','191','19','1','val_191' -'192','val_192','192','19','2','val_192' -'193','val_193','193','19','3','val_193' -'193','val_193','193','19','3','val_193' -'193','val_193','193','19','3','val_193' -'194','val_194','194','19','4','val_194' -'195','val_195','195','19','5','val_195' -'195','val_195','195','19','5','val_195' -'196','val_196','196','19','6','val_196' -'197','val_197','197','19','7','val_197' -'197','val_197','197','19','7','val_197' -'199','val_199','199','19','9','val_199' -'199','val_199','199','19','9','val_199' -'199','val_199','199','19','9','val_199' -'2','val_2','2','0','2','val_2' -'20','val_20','20','2','0','val_20' -'200','val_200','200','20','0','val_200' -'200','val_200','200','20','0','val_200' -'201','val_201','201','20','1','val_201' -'202','val_202','202','20','2','val_202' -'203','val_203','203','20','3','val_203' -'203','val_203','203','20','3','val_203' -'205','val_205','205','20','5','val_205' -'205','val_205','205','20','5','val_205' -'207','val_207','207','20','7','val_207' -'207','val_207','207','20','7','val_207' -'208','val_208','208','20','8','val_208' -'208','val_208','208','20','8','val_208' -'208','val_208','208','20','8','val_208' -'209','val_209','209','20','9','val_209' -'209','val_209','209','20','9','val_209' -'213','val_213','213','21','3','val_213' -'213','val_213','213','21','3','val_213' -'214','val_214','214','21','4','val_214' -'216','val_216','216','21','6','val_216' -'216','val_216','216','21','6','val_216' -'217','val_217','217','21','7','val_217' -'217','val_217','217','21','7','val_217' -'218','val_218','218','21','8','val_218' -'219','val_219','219','21','9','val_219' -'219','val_219','219','21','9','val_219' -'221','val_221','221','22','1','val_221' -'221','val_221','221','22','1','val_221' -'222','val_222','222','22','2','val_222' -'223','val_223','223','22','3','val_223' -'223','val_223','223','22','3','val_223' -'224','val_224','224','22','4','val_224' -'224','val_224','224','22','4','val_224' -'226','val_226','226','22','6','val_226' -'228','val_228','228','22','8','val_228' -'229','val_229','229','22','9','val_229' -'229','val_229','229','22','9','val_229' -'230','val_230','230','23','0','val_230' -'230','val_230','230','23','0','val_230' -'230','val_230','230','23','0','val_230' -'230','val_230','230','23','0','val_230' -'230','val_230','230','23','0','val_230' -'233','val_233','233','23','3','val_233' -'233','val_233','233','23','3','val_233' -'235','val_235','235','23','5','val_235' -'237','val_237','237','23','7','val_237' -'237','val_237','237','23','7','val_237' -'238','val_238','238','23','8','val_238' -'238','val_238','238','23','8','val_238' -'239','val_239','239','23','9','val_239' -'239','val_239','239','23','9','val_239' -'24','val_24','24','2','4','val_24' -'24','val_24','24','2','4','val_24' -'241','val_241','241','24','1','val_241' -'242','val_242','242','24','2','val_242' -'242','val_242','242','24','2','val_242' -'244','val_244','244','24','4','val_244' -'247','val_247','247','24','7','val_247' -'248','val_248','248','24','8','val_248' -'249','val_249','249','24','9','val_249' -'252','val_252','252','25','2','val_252' -'255','val_255','255','25','5','val_255' -'255','val_255','255','25','5','val_255' -'256','val_256','256','25','6','val_256' -'256','val_256','256','25','6','val_256' -'257','val_257','257','25','7','val_257' -'258','val_258','258','25','8','val_258' -'26','val_26','26','2','6','val_26' -'26','val_26','26','2','6','val_26' -'260','val_260','260','26','0','val_260' -'262','val_262','262','26','2','val_262' -'263','val_263','263','26','3','val_263' -'265','val_265','265','26','5','val_265' -'265','val_265','265','26','5','val_265' -'266','val_266','266','26','6','val_266' -'27','val_27','27','2','7','val_27' -'272','val_272','272','27','2','val_272' -'272','val_272','272','27','2','val_272' -'273','val_273','273','27','3','val_273' -'273','val_273','273','27','3','val_273' -'273','val_273','273','27','3','val_273' -'274','val_274','274','27','4','val_274' -'275','val_275','275','27','5','val_275' -'277','val_277','277','27','7','val_277' -'277','val_277','277','27','7','val_277' -'277','val_277','277','27','7','val_277' -'277','val_277','277','27','7','val_277' -'278','val_278','278','27','8','val_278' -'278','val_278','278','27','8','val_278' -'28','val_28','28','2','8','val_28' -'280','val_280','280','28','0','val_280' -'280','val_280','280','28','0','val_280' -'281','val_281','281','28','1','val_281' -'281','val_281','281','28','1','val_281' -'282','val_282','282','28','2','val_282' -'282','val_282','282','28','2','val_282' -'283','val_283','283','28','3','val_283' -'284','val_284','284','28','4','val_284' -'285','val_285','285','28','5','val_285' -'286','val_286','286','28','6','val_286' -'287','val_287','287','28','7','val_287' -'288','val_288','288','28','8','val_288' -'288','val_288','288','28','8','val_288' -'289','val_289','289','28','9','val_289' -'291','val_291','291','29','1','val_291' -'292','val_292','292','29','2','val_292' -'296','val_296','296','29','6','val_296' -'298','val_298','298','29','8','val_298' -'298','val_298','298','29','8','val_298' -'298','val_298','298','29','8','val_298' -'30','val_30','30','3','0','val_30' -'302','val_302','302','30','2','val_302' -'305','val_305','305','30','5','val_305' -'306','val_306','306','30','6','val_306' -'307','val_307','307','30','7','val_307' -'307','val_307','307','30','7','val_307' -'308','val_308','308','30','8','val_308' -'309','val_309','309','30','9','val_309' -'309','val_309','309','30','9','val_309' -'310','val_310','310','31','0','val_310' -'311','val_311','311','31','1','val_311' -'311','val_311','311','31','1','val_311' -'311','val_311','311','31','1','val_311' -'315','val_315','315','31','5','val_315' -'316','val_316','316','31','6','val_316' -'316','val_316','316','31','6','val_316' -'316','val_316','316','31','6','val_316' -'317','val_317','317','31','7','val_317' -'317','val_317','317','31','7','val_317' -'318','val_318','318','31','8','val_318' -'318','val_318','318','31','8','val_318' -'318','val_318','318','31','8','val_318' -'321','val_321','321','32','1','val_321' -'321','val_321','321','32','1','val_321' -'322','val_322','322','32','2','val_322' -'322','val_322','322','32','2','val_322' -'323','val_323','323','32','3','val_323' -'325','val_325','325','32','5','val_325' -'325','val_325','325','32','5','val_325' -'327','val_327','327','32','7','val_327' -'327','val_327','327','32','7','val_327' -'327','val_327','327','32','7','val_327' -'33','val_33','33','3','3','val_33' -'331','val_331','331','33','1','val_331' -'331','val_331','331','33','1','val_331' -'332','val_332','332','33','2','val_332' -'333','val_333','333','33','3','val_333' -'333','val_333','333','33','3','val_333' -'335','val_335','335','33','5','val_335' -'336','val_336','336','33','6','val_336' -'338','val_338','338','33','8','val_338' -'339','val_339','339','33','9','val_339' -'34','val_34','34','3','4','val_34' -'341','val_341','341','34','1','val_341' -'342','val_342','342','34','2','val_342' -'342','val_342','342','34','2','val_342' -'344','val_344','344','34','4','val_344' -'344','val_344','344','34','4','val_344' -'345','val_345','345','34','5','val_345' -'348','val_348','348','34','8','val_348' -'348','val_348','348','34','8','val_348' -'348','val_348','348','34','8','val_348' -'348','val_348','348','34','8','val_348' -'348','val_348','348','34','8','val_348' -'35','val_35','35','3','5','val_35' -'35','val_35','35','3','5','val_35' -'35','val_35','35','3','5','val_35' -'351','val_351','351','35','1','val_351' -'353','val_353','353','35','3','val_353' -'353','val_353','353','35','3','val_353' -'356','val_356','356','35','6','val_356' -'360','val_360','360','36','0','val_360' -'362','val_362','362','36','2','val_362' -'364','val_364','364','36','4','val_364' -'365','val_365','365','36','5','val_365' -'366','val_366','366','36','6','val_366' -'367','val_367','367','36','7','val_367' -'367','val_367','367','36','7','val_367' -'368','val_368','368','36','8','val_368' -'369','val_369','369','36','9','val_369' -'369','val_369','369','36','9','val_369' -'369','val_369','369','36','9','val_369' -'37','val_37','37','3','7','val_37' -'37','val_37','37','3','7','val_37' -'373','val_373','373','37','3','val_373' -'374','val_374','374','37','4','val_374' -'375','val_375','375','37','5','val_375' -'377','val_377','377','37','7','val_377' -'378','val_378','378','37','8','val_378' -'379','val_379','379','37','9','val_379' -'382','val_382','382','38','2','val_382' -'382','val_382','382','38','2','val_382' -'384','val_384','384','38','4','val_384' -'384','val_384','384','38','4','val_384' -'384','val_384','384','38','4','val_384' -'386','val_386','386','38','6','val_386' -'389','val_389','389','38','9','val_389' -'392','val_392','392','39','2','val_392' -'393','val_393','393','39','3','val_393' -'394','val_394','394','39','4','val_394' -'395','val_395','395','39','5','val_395' -'395','val_395','395','39','5','val_395' -'396','val_396','396','39','6','val_396' -'396','val_396','396','39','6','val_396' -'396','val_396','396','39','6','val_396' -'397','val_397','397','39','7','val_397' -'397','val_397','397','39','7','val_397' -'399','val_399','399','39','9','val_399' -'399','val_399','399','39','9','val_399' -'4','val_4','4','0','4','val_4' -'400','val_400','400','40','0','val_400' -'401','val_401','401','40','1','val_401' -'401','val_401','401','40','1','val_401' -'401','val_401','401','40','1','val_401' -'401','val_401','401','40','1','val_401' -'401','val_401','401','40','1','val_401' -'402','val_402','402','40','2','val_402' -'403','val_403','403','40','3','val_403' -'403','val_403','403','40','3','val_403' -'403','val_403','403','40','3','val_403' -'404','val_404','404','40','4','val_404' -'404','val_404','404','40','4','val_404' -'406','val_406','406','40','6','val_406' -'406','val_406','406','40','6','val_406' -'406','val_406','406','40','6','val_406' -'406','val_406','406','40','6','val_406' -'407','val_407','407','40','7','val_407' -'409','val_409','409','40','9','val_409' -'409','val_409','409','40','9','val_409' -'409','val_409','409','40','9','val_409' -'41','val_41','41','4','1','val_41' -'411','val_411','411','41','1','val_411' -'413','val_413','413','41','3','val_413' -'413','val_413','413','41','3','val_413' -'414','val_414','414','41','4','val_414' -'414','val_414','414','41','4','val_414' -'417','val_417','417','41','7','val_417' -'417','val_417','417','41','7','val_417' -'417','val_417','417','41','7','val_417' -'418','val_418','418','41','8','val_418' -'419','val_419','419','41','9','val_419' -'42','val_42','42','4','2','val_42' -'42','val_42','42','4','2','val_42' -'421','val_421','421','42','1','val_421' -'424','val_424','424','42','4','val_424' -'424','val_424','424','42','4','val_424' -'427','val_427','427','42','7','val_427' -'429','val_429','429','42','9','val_429' -'429','val_429','429','42','9','val_429' -'43','val_43','43','4','3','val_43' -'430','val_430','430','43','0','val_430' -'430','val_430','430','43','0','val_430' -'430','val_430','430','43','0','val_430' -'431','val_431','431','43','1','val_431' -'431','val_431','431','43','1','val_431' -'431','val_431','431','43','1','val_431' -'432','val_432','432','43','2','val_432' -'435','val_435','435','43','5','val_435' -'436','val_436','436','43','6','val_436' -'437','val_437','437','43','7','val_437' -'438','val_438','438','43','8','val_438' -'438','val_438','438','43','8','val_438' -'438','val_438','438','43','8','val_438' -'439','val_439','439','43','9','val_439' -'439','val_439','439','43','9','val_439' -'44','val_44','44','4','4','val_44' -'443','val_443','443','44','3','val_443' -'444','val_444','444','44','4','val_444' -'446','val_446','446','44','6','val_446' -'448','val_448','448','44','8','val_448' -'449','val_449','449','44','9','val_449' -'452','val_452','452','45','2','val_452' -'453','val_453','453','45','3','val_453' -'454','val_454','454','45','4','val_454' -'454','val_454','454','45','4','val_454' -'454','val_454','454','45','4','val_454' -'455','val_455','455','45','5','val_455' -'457','val_457','457','45','7','val_457' -'458','val_458','458','45','8','val_458' -'458','val_458','458','45','8','val_458' -'459','val_459','459','45','9','val_459' -'459','val_459','459','45','9','val_459' -'460','val_460','460','46','0','val_460' -'462','val_462','462','46','2','val_462' -'462','val_462','462','46','2','val_462' -'463','val_463','463','46','3','val_463' -'463','val_463','463','46','3','val_463' -'466','val_466','466','46','6','val_466' -'466','val_466','466','46','6','val_466' -'466','val_466','466','46','6','val_466' -'467','val_467','467','46','7','val_467' -'468','val_468','468','46','8','val_468' -'468','val_468','468','46','8','val_468' -'468','val_468','468','46','8','val_468' -'468','val_468','468','46','8','val_468' -'469','val_469','469','46','9','val_469' -'469','val_469','469','46','9','val_469' -'469','val_469','469','46','9','val_469' -'469','val_469','469','46','9','val_469' -'469','val_469','469','46','9','val_469' -'47','val_47','47','4','7','val_47' -'470','val_470','470','47','0','val_470' -'472','val_472','472','47','2','val_472' -'475','val_475','475','47','5','val_475' -'477','val_477','477','47','7','val_477' -'478','val_478','478','47','8','val_478' -'478','val_478','478','47','8','val_478' -'479','val_479','479','47','9','val_479' -'480','val_480','480','48','0','val_480' -'480','val_480','480','48','0','val_480' -'480','val_480','480','48','0','val_480' -'481','val_481','481','48','1','val_481' -'482','val_482','482','48','2','val_482' -'483','val_483','483','48','3','val_483' -'484','val_484','484','48','4','val_484' -'485','val_485','485','48','5','val_485' -'487','val_487','487','48','7','val_487' -'489','val_489','489','48','9','val_489' -'489','val_489','489','48','9','val_489' -'489','val_489','489','48','9','val_489' -'489','val_489','489','48','9','val_489' -'490','val_490','490','49','0','val_490' -'491','val_491','491','49','1','val_491' -'492','val_492','492','49','2','val_492' -'492','val_492','492','49','2','val_492' -'493','val_493','493','49','3','val_493' -'494','val_494','494','49','4','val_494' -'495','val_495','495','49','5','val_495' -'496','val_496','496','49','6','val_496' -'497','val_497','497','49','7','val_497' -'498','val_498','498','49','8','val_498' -'498','val_498','498','49','8','val_498' -'498','val_498','498','49','8','val_498' -'5','val_5','5','0','5','val_5' -'5','val_5','5','0','5','val_5' -'5','val_5','5','0','5','val_5' -'51','val_51','51','5','1','val_51' -'51','val_51','51','5','1','val_51' -'53','val_53','53','5','3','val_53' -'54','val_54','54','5','4','val_54' -'57','val_57','57','5','7','val_57' -'58','val_58','58','5','8','val_58' -'58','val_58','58','5','8','val_58' -'64','val_64','64','6','4','val_64' -'65','val_65','65','6','5','val_65' -'66','val_66','66','6','6','val_66' -'67','val_67','67','6','7','val_67' -'67','val_67','67','6','7','val_67' -'69','val_69','69','6','9','val_69' -'70','val_70','70','7','0','val_70' -'70','val_70','70','7','0','val_70' -'70','val_70','70','7','0','val_70' -'72','val_72','72','7','2','val_72' -'72','val_72','72','7','2','val_72' -'74','val_74','74','7','4','val_74' -'76','val_76','76','7','6','val_76' -'76','val_76','76','7','6','val_76' -'77','val_77','77','7','7','val_77' -'78','val_78','78','7','8','val_78' -'8','val_8','8','0','8','val_8' -'80','val_80','80','8','0','val_80' -'82','val_82','82','8','2','val_82' -'83','val_83','83','8','3','val_83' -'83','val_83','83','8','3','val_83' -'84','val_84','84','8','4','val_84' -'84','val_84','84','8','4','val_84' -'85','val_85','85','8','5','val_85' -'86','val_86','86','8','6','val_86' -'87','val_87','87','8','7','val_87' -'9','val_9','9','0','9','val_9' -'90','val_90','90','9','0','val_90' -'90','val_90','90','9','0','val_90' -'90','val_90','90','9','0','val_90' -'92','val_92','92','9','2','val_92' -'95','val_95','95','9','5','val_95' -'95','val_95','95','9','5','val_95' -'96','val_96','96','9','6','val_96' -'97','val_97','97','9','7','val_97' -'97','val_97','97','9','7','val_97' -'98','val_98','98','9','8','val_98' -'98','val_98','98','9','8','val_98' -500 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/merge1.q.out ql/src/test/results/beelinepositive/merge1.q.out deleted file mode 100644 index 4f5d4a6..0000000 --- ql/src/test/results/beelinepositive/merge1.q.out +++ /dev/null @@ -1,677 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/merge1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/merge1.q ->>> set hive.merge.mapredfiles=true; -No rows affected ->>> ->>> create table dest1(key int, val int); -No rows affected ->>> ->>> explain -insert overwrite table dest1 -select key, count(1) from src group by key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: merge1.dest1' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: merge1.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: merge1.dest1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: merge1.dest1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -134 rows selected ->>> ->>> insert overwrite table dest1 -select key, count(1) from src group by key; -'_col0','_col1' -No rows selected ->>> ->>> select * from dest1; -'key','val' -'0','3' -'10','1' -'100','2' -'103','2' -'104','2' -'105','1' -'11','1' -'111','1' -'113','2' -'114','1' -'116','1' -'118','2' -'119','3' -'12','2' -'120','2' -'125','2' -'126','1' -'128','3' -'129','2' -'131','1' -'133','1' -'134','2' -'136','1' -'137','2' -'138','4' -'143','1' -'145','1' -'146','2' -'149','2' -'15','2' -'150','1' -'152','2' -'153','1' -'155','1' -'156','1' -'157','1' -'158','1' -'160','1' -'162','1' -'163','1' -'164','2' -'165','2' -'166','1' -'167','3' -'168','1' -'169','4' -'17','1' -'170','1' -'172','2' -'174','2' -'175','2' -'176','2' -'177','1' -'178','1' -'179','2' -'18','2' -'180','1' -'181','1' -'183','1' -'186','1' -'187','3' -'189','1' -'19','1' -'190','1' -'191','2' -'192','1' -'193','3' -'194','1' -'195','2' -'196','1' -'197','2' -'199','3' -'2','1' -'20','1' -'200','2' -'201','1' -'202','1' -'203','2' -'205','2' -'207','2' -'208','3' -'209','2' -'213','2' -'214','1' -'216','2' -'217','2' -'218','1' -'219','2' -'221','2' -'222','1' -'223','2' -'224','2' -'226','1' -'228','1' -'229','2' -'230','5' -'233','2' -'235','1' -'237','2' -'238','2' -'239','2' -'24','2' -'241','1' -'242','2' -'244','1' -'247','1' -'248','1' -'249','1' -'252','1' -'255','2' -'256','2' -'257','1' -'258','1' -'26','2' -'260','1' -'262','1' -'263','1' -'265','2' -'266','1' -'27','1' -'272','2' -'273','3' -'274','1' -'275','1' -'277','4' -'278','2' -'28','1' -'280','2' -'281','2' -'282','2' -'283','1' -'284','1' -'285','1' -'286','1' -'287','1' -'288','2' -'289','1' -'291','1' -'292','1' -'296','1' -'298','3' -'30','1' -'302','1' -'305','1' -'306','1' -'307','2' -'308','1' -'309','2' -'310','1' -'311','3' -'315','1' -'316','3' -'317','2' -'318','3' -'321','2' -'322','2' -'323','1' -'325','2' -'327','3' -'33','1' -'331','2' -'332','1' -'333','2' -'335','1' -'336','1' -'338','1' -'339','1' -'34','1' -'341','1' -'342','2' -'344','2' -'345','1' -'348','5' -'35','3' -'351','1' -'353','2' -'356','1' -'360','1' -'362','1' -'364','1' -'365','1' -'366','1' -'367','2' -'368','1' -'369','3' -'37','2' -'373','1' -'374','1' -'375','1' -'377','1' -'378','1' -'379','1' -'382','2' -'384','3' -'386','1' -'389','1' -'392','1' -'393','1' -'394','1' -'395','2' -'396','3' -'397','2' -'399','2' -'4','1' -'400','1' -'401','5' -'402','1' -'403','3' -'404','2' -'406','4' -'407','1' -'409','3' -'41','1' -'411','1' -'413','2' -'414','2' -'417','3' -'418','1' -'419','1' -'42','2' -'421','1' -'424','2' -'427','1' -'429','2' -'43','1' -'430','3' -'431','3' -'432','1' -'435','1' -'436','1' -'437','1' -'438','3' -'439','2' -'44','1' -'443','1' -'444','1' -'446','1' -'448','1' -'449','1' -'452','1' -'453','1' -'454','3' -'455','1' -'457','1' -'458','2' -'459','2' -'460','1' -'462','2' -'463','2' -'466','3' -'467','1' -'468','4' -'469','5' -'47','1' -'470','1' -'472','1' -'475','1' -'477','1' -'478','2' -'479','1' -'480','3' -'481','1' -'482','1' -'483','1' -'484','1' -'485','1' -'487','1' -'489','4' -'490','1' -'491','1' -'492','2' -'493','1' -'494','1' -'495','1' -'496','1' -'497','1' -'498','3' -'5','3' -'51','2' -'53','1' -'54','1' -'57','1' -'58','2' -'64','1' -'65','1' -'66','1' -'67','2' -'69','1' -'70','3' -'72','2' -'74','1' -'76','2' -'77','1' -'78','1' -'8','1' -'80','1' -'82','1' -'83','2' -'84','2' -'85','1' -'86','1' -'87','1' -'9','1' -'90','3' -'92','1' -'95','2' -'96','1' -'97','2' -'98','2' -309 rows selected ->>> ->>> drop table dest1; -No rows affected ->>> ->>> create table test_src(key string, value string) partitioned by (ds string); -No rows affected ->>> create table dest1(key string); -No rows affected ->>> ->>> insert overwrite table test_src partition(ds='101') select * from src; -'key','value' -No rows selected ->>> insert overwrite table test_src partition(ds='102') select * from src; -'key','value' -No rows selected ->>> ->>> explain -insert overwrite table dest1 select key from test_src; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME test_src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' test_src ' -' TableScan' -' alias: test_src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: merge1.dest1' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: merge1.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: merge1.dest1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: merge1.dest1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -89 rows selected ->>> insert overwrite table dest1 select key from test_src; -'key' -No rows selected ->>> ->>> set hive.merge.smallfiles.avgsize=16; -No rows affected ->>> explain -insert overwrite table dest1 select key from test_src; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME test_src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' test_src ' -' TableScan' -' alias: test_src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: merge1.dest1' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: merge1.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: merge1.dest1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: merge1.dest1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -89 rows selected ->>> insert overwrite table dest1 select key from test_src; -'key' -No rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/merge2.q.out ql/src/test/results/beelinepositive/merge2.q.out deleted file mode 100644 index 029a3be..0000000 --- ql/src/test/results/beelinepositive/merge2.q.out +++ /dev/null @@ -1,688 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/merge2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/merge2.q ->>> set hive.merge.mapfiles=true; -No rows affected ->>> set hive.merge.mapredfiles=true; -No rows affected ->>> set mapred.min.split.size=256; -No rows affected ->>> set mapred.min.split.size.per.node=256; -No rows affected ->>> set mapred.min.split.size.per.rack=256; -No rows affected ->>> set mapred.max.split.size=256; -No rows affected ->>> ->>> create table test1(key int, val int); -No rows affected ->>> ->>> explain -insert overwrite table test1 -select key, count(1) from src group by key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME test1))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: merge2.test1' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: merge2.test1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: merge2.test1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: merge2.test1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -134 rows selected ->>> ->>> insert overwrite table test1 -select key, count(1) from src group by key; -'_col0','_col1' -No rows selected ->>> ->>> select * from test1; -'key','val' -'0','3' -'10','1' -'100','2' -'103','2' -'104','2' -'105','1' -'11','1' -'111','1' -'113','2' -'114','1' -'116','1' -'118','2' -'119','3' -'12','2' -'120','2' -'125','2' -'126','1' -'128','3' -'129','2' -'131','1' -'133','1' -'134','2' -'136','1' -'137','2' -'138','4' -'143','1' -'145','1' -'146','2' -'149','2' -'15','2' -'150','1' -'152','2' -'153','1' -'155','1' -'156','1' -'157','1' -'158','1' -'160','1' -'162','1' -'163','1' -'164','2' -'165','2' -'166','1' -'167','3' -'168','1' -'169','4' -'17','1' -'170','1' -'172','2' -'174','2' -'175','2' -'176','2' -'177','1' -'178','1' -'179','2' -'18','2' -'180','1' -'181','1' -'183','1' -'186','1' -'187','3' -'189','1' -'19','1' -'190','1' -'191','2' -'192','1' -'193','3' -'194','1' -'195','2' -'196','1' -'197','2' -'199','3' -'2','1' -'20','1' -'200','2' -'201','1' -'202','1' -'203','2' -'205','2' -'207','2' -'208','3' -'209','2' -'213','2' -'214','1' -'216','2' -'217','2' -'218','1' -'219','2' -'221','2' -'222','1' -'223','2' -'224','2' -'226','1' -'228','1' -'229','2' -'230','5' -'233','2' -'235','1' -'237','2' -'238','2' -'239','2' -'24','2' -'241','1' -'242','2' -'244','1' -'247','1' -'248','1' -'249','1' -'252','1' -'255','2' -'256','2' -'257','1' -'258','1' -'26','2' -'260','1' -'262','1' -'263','1' -'265','2' -'266','1' -'27','1' -'272','2' -'273','3' -'274','1' -'275','1' -'277','4' -'278','2' -'28','1' -'280','2' -'281','2' -'282','2' -'283','1' -'284','1' -'285','1' -'286','1' -'287','1' -'288','2' -'289','1' -'291','1' -'292','1' -'296','1' -'298','3' -'30','1' -'302','1' -'305','1' -'306','1' -'307','2' -'308','1' -'309','2' -'310','1' -'311','3' -'315','1' -'316','3' -'317','2' -'318','3' -'321','2' -'322','2' -'323','1' -'325','2' -'327','3' -'33','1' -'331','2' -'332','1' -'333','2' -'335','1' -'336','1' -'338','1' -'339','1' -'34','1' -'341','1' -'342','2' -'344','2' -'345','1' -'348','5' -'35','3' -'351','1' -'353','2' -'356','1' -'360','1' -'362','1' -'364','1' -'365','1' -'366','1' -'367','2' -'368','1' -'369','3' -'37','2' -'373','1' -'374','1' -'375','1' -'377','1' -'378','1' -'379','1' -'382','2' -'384','3' -'386','1' -'389','1' -'392','1' -'393','1' -'394','1' -'395','2' -'396','3' -'397','2' -'399','2' -'4','1' -'400','1' -'401','5' -'402','1' -'403','3' -'404','2' -'406','4' -'407','1' -'409','3' -'41','1' -'411','1' -'413','2' -'414','2' -'417','3' -'418','1' -'419','1' -'42','2' -'421','1' -'424','2' -'427','1' -'429','2' -'43','1' -'430','3' -'431','3' -'432','1' -'435','1' -'436','1' -'437','1' -'438','3' -'439','2' -'44','1' -'443','1' -'444','1' -'446','1' -'448','1' -'449','1' -'452','1' -'453','1' -'454','3' -'455','1' -'457','1' -'458','2' -'459','2' -'460','1' -'462','2' -'463','2' -'466','3' -'467','1' -'468','4' -'469','5' -'47','1' -'470','1' -'472','1' -'475','1' -'477','1' -'478','2' -'479','1' -'480','3' -'481','1' -'482','1' -'483','1' -'484','1' -'485','1' -'487','1' -'489','4' -'490','1' -'491','1' -'492','2' -'493','1' -'494','1' -'495','1' -'496','1' -'497','1' -'498','3' -'5','3' -'51','2' -'53','1' -'54','1' -'57','1' -'58','2' -'64','1' -'65','1' -'66','1' -'67','2' -'69','1' -'70','3' -'72','2' -'74','1' -'76','2' -'77','1' -'78','1' -'8','1' -'80','1' -'82','1' -'83','2' -'84','2' -'85','1' -'86','1' -'87','1' -'9','1' -'90','3' -'92','1' -'95','2' -'96','1' -'97','2' -'98','2' -309 rows selected ->>> ->>> drop table test1; -No rows affected ->>> ->>> ->>> create table test_src(key string, value string) partitioned by (ds string); -No rows affected ->>> create table test1(key string); -No rows affected ->>> ->>> insert overwrite table test_src partition(ds='101') select * from src; -'key','value' -No rows selected ->>> insert overwrite table test_src partition(ds='102') select * from src; -'key','value' -No rows selected ->>> ->>> explain -insert overwrite table test1 select key from test_src; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME test_src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME test1))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' test_src ' -' TableScan' -' alias: test_src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: merge2.test1' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: merge2.test1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: merge2.test1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: merge2.test1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -89 rows selected ->>> insert overwrite table test1 select key from test_src; -'key' -No rows selected ->>> ->>> set hive.merge.smallfiles.avgsize=16; -No rows affected ->>> explain -insert overwrite table test1 select key from test_src; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME test_src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME test1))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' test_src ' -' TableScan' -' alias: test_src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: merge2.test1' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: merge2.test1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: merge2.test1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: merge2.test1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -89 rows selected ->>> insert overwrite table test1 select key from test_src; -'key' -No rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/merge3.q.out ql/src/test/results/beelinepositive/merge3.q.out deleted file mode 100644 index 7e7d8cb..0000000 --- ql/src/test/results/beelinepositive/merge3.q.out +++ /dev/null @@ -1,7104 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/merge3.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/merge3.q ->>> set hive.merge.mapfiles=false; -No rows affected ->>> set hive.merge.mapredfiles=false; -No rows affected ->>> set hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> set hive.exec.dynamic.partition=true; -No rows affected ->>> set hive.exec.dynamic.partition.mode=nonstrict; -No rows affected ->>> ->>> create table merge_src as -select key, value from srcpart where ds is not null; -'key','value' -No rows selected ->>> ->>> create table merge_src_part (key string, value string) partitioned by (ds string); -No rows affected ->>> insert overwrite table merge_src_part partition(ds) select key, value, ds from srcpart where ds is not null; -'key','value','ds' -No rows selected ->>> ->>> set hive.merge.mapfiles=true; -No rows affected ->>> set hive.merge.mapredfiles=true; -No rows affected ->>> ->>> explain extended -create table merge_src2 as -select key, value from merge_src; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_CREATETABLE (TOK_TABNAME merge_src2) TOK_LIKETABLE (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME merge_src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))))))' -'' -'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-8 depends on stages: Stage-0' -' Stage-2 depends on stages: Stage-8' -' Stage-3' -' Stage-5' -' Stage-6 depends on stages: Stage-5' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' merge_src ' -' TableScan' -' alias: merge_src' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string:string' -' name merge3.merge_src2' -' serialization.format 1' -' name: merge3.merge_src2' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src [merge_src]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src ' -' Partition' -' base file name: merge_src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src' -' name merge3.merge_src' -' numFiles 4' -' numPartitions 0' -' numRows 2000' -' rawDataSize 21248' -' serialization.ddl struct merge_src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src' -' name merge3.merge_src' -' numFiles 4' -' numPartitions 0' -' numRows 2000' -' rawDataSize 21248' -' serialization.ddl struct merge_src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: merge3.merge_src' -' name: merge3.merge_src' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src2' -'' -' Stage: Stage-8' -' Create Table Operator:' -' Create Table' -' columns: key string, value string' -' if not exists: false' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' # buckets: -1' -' output format: org.apache.hadoop.hive.ql.io.IgnoreKeyTextOutputFormat' -' name: merge_src2' -' isExternal: false' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string:string' -' name merge3.merge_src2' -' serialization.format 1' -' name: merge3.merge_src2' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string:string' -' name merge3.merge_src2' -' serialization.format 1' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string:string' -' name merge3.merge_src2' -' serialization.format 1' -' name: merge3.merge_src2' -' name: merge3.merge_src2' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string:string' -' name merge3.merge_src2' -' serialization.format 1' -' name: merge3.merge_src2' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string:string' -' name merge3.merge_src2' -' serialization.format 1' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string:string' -' name merge3.merge_src2' -' serialization.format 1' -' name: merge3.merge_src2' -' name: merge3.merge_src2' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -230 rows selected ->>> ->>> create table merge_src2 as -select key, value from merge_src; -'key','value' -No rows selected ->>> ->>> select * from merge_src2 ORDER BY key ASC, value ASC; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -2,000 rows selected ->>> describe formatted merge_src2; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','merge3 ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src2','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','numFiles ','1 ' -'','numPartitions ','0 ' -'','numRows ','2000 ' -'','rawDataSize ','21248 ' -'','totalSize ','23248 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -32 rows selected ->>> ->>> create table merge_src_part2 like merge_src_part; -No rows affected ->>> ->>> ->>> explain extended -insert overwrite table merge_src_part2 partition(ds) -select key, value, ds from merge_src_part -where ds is not null; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME merge_src_part))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME merge_src_part2) (TOK_PARTSPEC (TOK_PARTVAL ds)))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL ds))) (TOK_WHERE (TOK_FUNCTION TOK_ISNOTNULL (TOK_TABLE_OR_COL ds)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' merge_src_part ' -' TableScan' -' alias: merge_src_part' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src_part2' -' name merge3.merge_src_part2' -' partition_columns ds' -' serialization.ddl struct merge_src_part2 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: merge3.merge_src_part2' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src_part/ds=2008-04-08 [merge_src_part]' -' !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src_part/ds=2008-04-09 [merge_src_part]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src_part/ds=2008-04-08 ' -' Partition' -' base file name: ds=2008-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src_part/ds=2008-04-08' -' name merge3.merge_src_part' -' numFiles 2' -' numPartitions 2' -' numRows 1000' -' partition_columns ds' -' rawDataSize 10624' -' serialization.ddl struct merge_src_part { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11624' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src_part' -' name merge3.merge_src_part' -' numFiles 4' -' numPartitions 2' -' numRows 2000' -' partition_columns ds' -' rawDataSize 21248' -' serialization.ddl struct merge_src_part { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: merge3.merge_src_part' -' name: merge3.merge_src_part' -' !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src_part/ds=2008-04-09 ' -' Partition' -' base file name: ds=2008-04-09' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-09' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src_part/ds=2008-04-09' -' name merge3.merge_src_part' -' numFiles 2' -' numPartitions 2' -' numRows 1000' -' partition_columns ds' -' rawDataSize 10624' -' serialization.ddl struct merge_src_part { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11624' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src_part' -' name merge3.merge_src_part' -' numFiles 4' -' numPartitions 2' -' numRows 2000' -' partition_columns ds' -' rawDataSize 21248' -' serialization.ddl struct merge_src_part { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: merge3.merge_src_part' -' name: merge3.merge_src_part' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' partition:' -' ds ' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src_part2' -' name merge3.merge_src_part2' -' partition_columns ds' -' serialization.ddl struct merge_src_part2 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: merge3.merge_src_part2' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src_part2' -' name merge3.merge_src_part2' -' partition_columns ds' -' serialization.ddl struct merge_src_part2 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: merge3.merge_src_part2' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src_part2' -' name merge3.merge_src_part2' -' partition_columns ds' -' serialization.ddl struct merge_src_part2 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src_part2' -' name merge3.merge_src_part2' -' partition_columns ds' -' serialization.ddl struct merge_src_part2 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: merge3.merge_src_part2' -' name: merge3.merge_src_part2' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src_part2' -' name merge3.merge_src_part2' -' partition_columns ds' -' serialization.ddl struct merge_src_part2 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: merge3.merge_src_part2' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src_part2' -' name merge3.merge_src_part2' -' partition_columns ds' -' serialization.ddl struct merge_src_part2 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src_part2' -' name merge3.merge_src_part2' -' partition_columns ds' -' serialization.ddl struct merge_src_part2 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: merge3.merge_src_part2' -' name: merge3.merge_src_part2' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -358 rows selected ->>> ->>> insert overwrite table merge_src_part2 partition(ds) -select key, value, ds from merge_src_part -where ds is not null; -'key','value','ds' -No rows selected ->>> ->>> show partitions merge_src_part2; -'partition' -'ds=2008-04-08' -'ds=2008-04-09' -2 rows selected ->>> ->>> select * from merge_src_part2 where ds is not null ORDER BY key ASC, value ASC; -'key','value','ds' -'0','val_0','2008-04-08' -'0','val_0','2008-04-08' -'0','val_0','2008-04-08' -'0','val_0','2008-04-08' -'0','val_0','2008-04-08' -'0','val_0','2008-04-08' -'0','val_0','2008-04-09' -'0','val_0','2008-04-09' -'0','val_0','2008-04-09' -'0','val_0','2008-04-09' -'0','val_0','2008-04-09' -'0','val_0','2008-04-09' -'10','val_10','2008-04-09' -'10','val_10','2008-04-09' -'10','val_10','2008-04-08' -'10','val_10','2008-04-08' -'100','val_100','2008-04-08' -'100','val_100','2008-04-08' -'100','val_100','2008-04-08' -'100','val_100','2008-04-08' -'100','val_100','2008-04-09' -'100','val_100','2008-04-09' -'100','val_100','2008-04-09' -'100','val_100','2008-04-09' -'103','val_103','2008-04-09' -'103','val_103','2008-04-09' -'103','val_103','2008-04-09' -'103','val_103','2008-04-09' -'103','val_103','2008-04-08' -'103','val_103','2008-04-08' -'103','val_103','2008-04-08' -'103','val_103','2008-04-08' -'104','val_104','2008-04-08' -'104','val_104','2008-04-08' -'104','val_104','2008-04-08' -'104','val_104','2008-04-08' -'104','val_104','2008-04-09' -'104','val_104','2008-04-09' -'104','val_104','2008-04-09' -'104','val_104','2008-04-09' -'105','val_105','2008-04-09' -'105','val_105','2008-04-09' -'105','val_105','2008-04-08' -'105','val_105','2008-04-08' -'11','val_11','2008-04-08' -'11','val_11','2008-04-08' -'11','val_11','2008-04-09' -'11','val_11','2008-04-09' -'111','val_111','2008-04-09' -'111','val_111','2008-04-09' -'111','val_111','2008-04-08' -'111','val_111','2008-04-08' -'113','val_113','2008-04-08' -'113','val_113','2008-04-08' -'113','val_113','2008-04-08' -'113','val_113','2008-04-08' -'113','val_113','2008-04-09' -'113','val_113','2008-04-09' -'113','val_113','2008-04-09' -'113','val_113','2008-04-09' -'114','val_114','2008-04-09' -'114','val_114','2008-04-09' -'114','val_114','2008-04-08' -'114','val_114','2008-04-08' -'116','val_116','2008-04-08' -'116','val_116','2008-04-08' -'116','val_116','2008-04-09' -'116','val_116','2008-04-09' -'118','val_118','2008-04-09' -'118','val_118','2008-04-09' -'118','val_118','2008-04-09' -'118','val_118','2008-04-09' -'118','val_118','2008-04-08' -'118','val_118','2008-04-08' -'118','val_118','2008-04-08' -'118','val_118','2008-04-08' -'119','val_119','2008-04-08' -'119','val_119','2008-04-08' -'119','val_119','2008-04-08' -'119','val_119','2008-04-08' -'119','val_119','2008-04-08' -'119','val_119','2008-04-08' -'119','val_119','2008-04-09' -'119','val_119','2008-04-09' -'119','val_119','2008-04-09' -'119','val_119','2008-04-09' -'119','val_119','2008-04-09' -'119','val_119','2008-04-09' -'12','val_12','2008-04-09' -'12','val_12','2008-04-09' -'12','val_12','2008-04-09' -'12','val_12','2008-04-09' -'12','val_12','2008-04-08' -'12','val_12','2008-04-08' -'12','val_12','2008-04-08' -'12','val_12','2008-04-08' -'120','val_120','2008-04-08' -'120','val_120','2008-04-08' -'120','val_120','2008-04-08' -'120','val_120','2008-04-08' -'120','val_120','2008-04-09' -'120','val_120','2008-04-09' -'120','val_120','2008-04-09' -'120','val_120','2008-04-09' -'125','val_125','2008-04-09' -'125','val_125','2008-04-09' -'125','val_125','2008-04-09' -'125','val_125','2008-04-09' -'125','val_125','2008-04-08' -'125','val_125','2008-04-08' -'125','val_125','2008-04-08' -'125','val_125','2008-04-08' -'126','val_126','2008-04-08' -'126','val_126','2008-04-08' -'126','val_126','2008-04-09' -'126','val_126','2008-04-09' -'128','val_128','2008-04-09' -'128','val_128','2008-04-09' -'128','val_128','2008-04-09' -'128','val_128','2008-04-09' -'128','val_128','2008-04-09' -'128','val_128','2008-04-09' -'128','val_128','2008-04-08' -'128','val_128','2008-04-08' -'128','val_128','2008-04-08' -'128','val_128','2008-04-08' -'128','val_128','2008-04-08' -'128','val_128','2008-04-08' -'129','val_129','2008-04-08' -'129','val_129','2008-04-08' -'129','val_129','2008-04-08' -'129','val_129','2008-04-08' -'129','val_129','2008-04-09' -'129','val_129','2008-04-09' -'129','val_129','2008-04-09' -'129','val_129','2008-04-09' -'131','val_131','2008-04-09' -'131','val_131','2008-04-09' -'131','val_131','2008-04-08' -'131','val_131','2008-04-08' -'133','val_133','2008-04-08' -'133','val_133','2008-04-08' -'133','val_133','2008-04-09' -'133','val_133','2008-04-09' -'134','val_134','2008-04-09' -'134','val_134','2008-04-09' -'134','val_134','2008-04-09' -'134','val_134','2008-04-09' -'134','val_134','2008-04-08' -'134','val_134','2008-04-08' -'134','val_134','2008-04-08' -'134','val_134','2008-04-08' -'136','val_136','2008-04-08' -'136','val_136','2008-04-08' -'136','val_136','2008-04-09' -'136','val_136','2008-04-09' -'137','val_137','2008-04-09' -'137','val_137','2008-04-09' -'137','val_137','2008-04-09' -'137','val_137','2008-04-09' -'137','val_137','2008-04-08' -'137','val_137','2008-04-08' -'137','val_137','2008-04-08' -'137','val_137','2008-04-08' -'138','val_138','2008-04-08' -'138','val_138','2008-04-08' -'138','val_138','2008-04-08' -'138','val_138','2008-04-08' -'138','val_138','2008-04-08' -'138','val_138','2008-04-08' -'138','val_138','2008-04-08' -'138','val_138','2008-04-08' -'138','val_138','2008-04-09' -'138','val_138','2008-04-09' -'138','val_138','2008-04-09' -'138','val_138','2008-04-09' -'138','val_138','2008-04-09' -'138','val_138','2008-04-09' -'138','val_138','2008-04-09' -'138','val_138','2008-04-09' -'143','val_143','2008-04-09' -'143','val_143','2008-04-09' -'143','val_143','2008-04-08' -'143','val_143','2008-04-08' -'145','val_145','2008-04-08' -'145','val_145','2008-04-08' -'145','val_145','2008-04-09' -'145','val_145','2008-04-09' -'146','val_146','2008-04-09' -'146','val_146','2008-04-09' -'146','val_146','2008-04-09' -'146','val_146','2008-04-09' -'146','val_146','2008-04-08' -'146','val_146','2008-04-08' -'146','val_146','2008-04-08' -'146','val_146','2008-04-08' -'149','val_149','2008-04-08' -'149','val_149','2008-04-08' -'149','val_149','2008-04-08' -'149','val_149','2008-04-08' -'149','val_149','2008-04-09' -'149','val_149','2008-04-09' -'149','val_149','2008-04-09' -'149','val_149','2008-04-09' -'15','val_15','2008-04-09' -'15','val_15','2008-04-09' -'15','val_15','2008-04-09' -'15','val_15','2008-04-09' -'15','val_15','2008-04-08' -'15','val_15','2008-04-08' -'15','val_15','2008-04-08' -'15','val_15','2008-04-08' -'150','val_150','2008-04-08' -'150','val_150','2008-04-08' -'150','val_150','2008-04-09' -'150','val_150','2008-04-09' -'152','val_152','2008-04-09' -'152','val_152','2008-04-09' -'152','val_152','2008-04-09' -'152','val_152','2008-04-09' -'152','val_152','2008-04-08' -'152','val_152','2008-04-08' -'152','val_152','2008-04-08' -'152','val_152','2008-04-08' -'153','val_153','2008-04-08' -'153','val_153','2008-04-08' -'153','val_153','2008-04-09' -'153','val_153','2008-04-09' -'155','val_155','2008-04-09' -'155','val_155','2008-04-09' -'155','val_155','2008-04-08' -'155','val_155','2008-04-08' -'156','val_156','2008-04-08' -'156','val_156','2008-04-08' -'156','val_156','2008-04-09' -'156','val_156','2008-04-09' -'157','val_157','2008-04-09' -'157','val_157','2008-04-09' -'157','val_157','2008-04-08' -'157','val_157','2008-04-08' -'158','val_158','2008-04-08' -'158','val_158','2008-04-08' -'158','val_158','2008-04-09' -'158','val_158','2008-04-09' -'160','val_160','2008-04-09' -'160','val_160','2008-04-09' -'160','val_160','2008-04-08' -'160','val_160','2008-04-08' -'162','val_162','2008-04-08' -'162','val_162','2008-04-08' -'162','val_162','2008-04-09' -'162','val_162','2008-04-09' -'163','val_163','2008-04-09' -'163','val_163','2008-04-09' -'163','val_163','2008-04-08' -'163','val_163','2008-04-08' -'164','val_164','2008-04-08' -'164','val_164','2008-04-08' -'164','val_164','2008-04-08' -'164','val_164','2008-04-08' -'164','val_164','2008-04-09' -'164','val_164','2008-04-09' -'164','val_164','2008-04-09' -'164','val_164','2008-04-09' -'165','val_165','2008-04-09' -'165','val_165','2008-04-09' -'165','val_165','2008-04-09' -'165','val_165','2008-04-09' -'165','val_165','2008-04-08' -'165','val_165','2008-04-08' -'165','val_165','2008-04-08' -'165','val_165','2008-04-08' -'166','val_166','2008-04-08' -'166','val_166','2008-04-08' -'166','val_166','2008-04-09' -'166','val_166','2008-04-09' -'167','val_167','2008-04-09' -'167','val_167','2008-04-09' -'167','val_167','2008-04-09' -'167','val_167','2008-04-09' -'167','val_167','2008-04-09' -'167','val_167','2008-04-09' -'167','val_167','2008-04-08' -'167','val_167','2008-04-08' -'167','val_167','2008-04-08' -'167','val_167','2008-04-08' -'167','val_167','2008-04-08' -'167','val_167','2008-04-08' -'168','val_168','2008-04-08' -'168','val_168','2008-04-08' -'168','val_168','2008-04-09' -'168','val_168','2008-04-09' -'169','val_169','2008-04-09' -'169','val_169','2008-04-09' -'169','val_169','2008-04-09' -'169','val_169','2008-04-09' -'169','val_169','2008-04-09' -'169','val_169','2008-04-09' -'169','val_169','2008-04-09' -'169','val_169','2008-04-09' -'169','val_169','2008-04-08' -'169','val_169','2008-04-08' -'169','val_169','2008-04-08' -'169','val_169','2008-04-08' -'169','val_169','2008-04-08' -'169','val_169','2008-04-08' -'169','val_169','2008-04-08' -'169','val_169','2008-04-08' -'17','val_17','2008-04-08' -'17','val_17','2008-04-08' -'17','val_17','2008-04-09' -'17','val_17','2008-04-09' -'170','val_170','2008-04-09' -'170','val_170','2008-04-09' -'170','val_170','2008-04-08' -'170','val_170','2008-04-08' -'172','val_172','2008-04-08' -'172','val_172','2008-04-08' -'172','val_172','2008-04-08' -'172','val_172','2008-04-08' -'172','val_172','2008-04-09' -'172','val_172','2008-04-09' -'172','val_172','2008-04-09' -'172','val_172','2008-04-09' -'174','val_174','2008-04-09' -'174','val_174','2008-04-09' -'174','val_174','2008-04-09' -'174','val_174','2008-04-09' -'174','val_174','2008-04-08' -'174','val_174','2008-04-08' -'174','val_174','2008-04-08' -'174','val_174','2008-04-08' -'175','val_175','2008-04-08' -'175','val_175','2008-04-08' -'175','val_175','2008-04-08' -'175','val_175','2008-04-08' -'175','val_175','2008-04-09' -'175','val_175','2008-04-09' -'175','val_175','2008-04-09' -'175','val_175','2008-04-09' -'176','val_176','2008-04-09' -'176','val_176','2008-04-09' -'176','val_176','2008-04-09' -'176','val_176','2008-04-09' -'176','val_176','2008-04-08' -'176','val_176','2008-04-08' -'176','val_176','2008-04-08' -'176','val_176','2008-04-08' -'177','val_177','2008-04-08' -'177','val_177','2008-04-08' -'177','val_177','2008-04-09' -'177','val_177','2008-04-09' -'178','val_178','2008-04-09' -'178','val_178','2008-04-09' -'178','val_178','2008-04-08' -'178','val_178','2008-04-08' -'179','val_179','2008-04-08' -'179','val_179','2008-04-08' -'179','val_179','2008-04-08' -'179','val_179','2008-04-08' -'179','val_179','2008-04-09' -'179','val_179','2008-04-09' -'179','val_179','2008-04-09' -'179','val_179','2008-04-09' -'18','val_18','2008-04-09' -'18','val_18','2008-04-09' -'18','val_18','2008-04-09' -'18','val_18','2008-04-09' -'18','val_18','2008-04-08' -'18','val_18','2008-04-08' -'18','val_18','2008-04-08' -'18','val_18','2008-04-08' -'180','val_180','2008-04-08' -'180','val_180','2008-04-08' -'180','val_180','2008-04-09' -'180','val_180','2008-04-09' -'181','val_181','2008-04-09' -'181','val_181','2008-04-09' -'181','val_181','2008-04-08' -'181','val_181','2008-04-08' -'183','val_183','2008-04-08' -'183','val_183','2008-04-08' -'183','val_183','2008-04-09' -'183','val_183','2008-04-09' -'186','val_186','2008-04-09' -'186','val_186','2008-04-09' -'186','val_186','2008-04-08' -'186','val_186','2008-04-08' -'187','val_187','2008-04-08' -'187','val_187','2008-04-08' -'187','val_187','2008-04-08' -'187','val_187','2008-04-08' -'187','val_187','2008-04-08' -'187','val_187','2008-04-08' -'187','val_187','2008-04-09' -'187','val_187','2008-04-09' -'187','val_187','2008-04-09' -'187','val_187','2008-04-09' -'187','val_187','2008-04-09' -'187','val_187','2008-04-09' -'189','val_189','2008-04-09' -'189','val_189','2008-04-09' -'189','val_189','2008-04-08' -'189','val_189','2008-04-08' -'19','val_19','2008-04-08' -'19','val_19','2008-04-08' -'19','val_19','2008-04-09' -'19','val_19','2008-04-09' -'190','val_190','2008-04-09' -'190','val_190','2008-04-09' -'190','val_190','2008-04-08' -'190','val_190','2008-04-08' -'191','val_191','2008-04-08' -'191','val_191','2008-04-08' -'191','val_191','2008-04-08' -'191','val_191','2008-04-08' -'191','val_191','2008-04-09' -'191','val_191','2008-04-09' -'191','val_191','2008-04-09' -'191','val_191','2008-04-09' -'192','val_192','2008-04-09' -'192','val_192','2008-04-09' -'192','val_192','2008-04-08' -'192','val_192','2008-04-08' -'193','val_193','2008-04-08' -'193','val_193','2008-04-08' -'193','val_193','2008-04-08' -'193','val_193','2008-04-08' -'193','val_193','2008-04-08' -'193','val_193','2008-04-08' -'193','val_193','2008-04-09' -'193','val_193','2008-04-09' -'193','val_193','2008-04-09' -'193','val_193','2008-04-09' -'193','val_193','2008-04-09' -'193','val_193','2008-04-09' -'194','val_194','2008-04-09' -'194','val_194','2008-04-09' -'194','val_194','2008-04-08' -'194','val_194','2008-04-08' -'195','val_195','2008-04-08' -'195','val_195','2008-04-08' -'195','val_195','2008-04-08' -'195','val_195','2008-04-08' -'195','val_195','2008-04-09' -'195','val_195','2008-04-09' -'195','val_195','2008-04-09' -'195','val_195','2008-04-09' -'196','val_196','2008-04-09' -'196','val_196','2008-04-09' -'196','val_196','2008-04-08' -'196','val_196','2008-04-08' -'197','val_197','2008-04-08' -'197','val_197','2008-04-08' -'197','val_197','2008-04-08' -'197','val_197','2008-04-08' -'197','val_197','2008-04-09' -'197','val_197','2008-04-09' -'197','val_197','2008-04-09' -'197','val_197','2008-04-09' -'199','val_199','2008-04-09' -'199','val_199','2008-04-09' -'199','val_199','2008-04-09' -'199','val_199','2008-04-09' -'199','val_199','2008-04-09' -'199','val_199','2008-04-09' -'199','val_199','2008-04-08' -'199','val_199','2008-04-08' -'199','val_199','2008-04-08' -'199','val_199','2008-04-08' -'199','val_199','2008-04-08' -'199','val_199','2008-04-08' -'2','val_2','2008-04-08' -'2','val_2','2008-04-08' -'2','val_2','2008-04-09' -'2','val_2','2008-04-09' -'20','val_20','2008-04-09' -'20','val_20','2008-04-09' -'20','val_20','2008-04-08' -'20','val_20','2008-04-08' -'200','val_200','2008-04-08' -'200','val_200','2008-04-08' -'200','val_200','2008-04-08' -'200','val_200','2008-04-08' -'200','val_200','2008-04-09' -'200','val_200','2008-04-09' -'200','val_200','2008-04-09' -'200','val_200','2008-04-09' -'201','val_201','2008-04-09' -'201','val_201','2008-04-09' -'201','val_201','2008-04-08' -'201','val_201','2008-04-08' -'202','val_202','2008-04-08' -'202','val_202','2008-04-08' -'202','val_202','2008-04-09' -'202','val_202','2008-04-09' -'203','val_203','2008-04-09' -'203','val_203','2008-04-09' -'203','val_203','2008-04-09' -'203','val_203','2008-04-09' -'203','val_203','2008-04-08' -'203','val_203','2008-04-08' -'203','val_203','2008-04-08' -'203','val_203','2008-04-08' -'205','val_205','2008-04-08' -'205','val_205','2008-04-08' -'205','val_205','2008-04-08' -'205','val_205','2008-04-08' -'205','val_205','2008-04-09' -'205','val_205','2008-04-09' -'205','val_205','2008-04-09' -'205','val_205','2008-04-09' -'207','val_207','2008-04-09' -'207','val_207','2008-04-09' -'207','val_207','2008-04-09' -'207','val_207','2008-04-09' -'207','val_207','2008-04-08' -'207','val_207','2008-04-08' -'207','val_207','2008-04-08' -'207','val_207','2008-04-08' -'208','val_208','2008-04-08' -'208','val_208','2008-04-08' -'208','val_208','2008-04-08' -'208','val_208','2008-04-08' -'208','val_208','2008-04-08' -'208','val_208','2008-04-08' -'208','val_208','2008-04-09' -'208','val_208','2008-04-09' -'208','val_208','2008-04-09' -'208','val_208','2008-04-09' -'208','val_208','2008-04-09' -'208','val_208','2008-04-09' -'209','val_209','2008-04-09' -'209','val_209','2008-04-09' -'209','val_209','2008-04-09' -'209','val_209','2008-04-09' -'209','val_209','2008-04-08' -'209','val_209','2008-04-08' -'209','val_209','2008-04-08' -'209','val_209','2008-04-08' -'213','val_213','2008-04-08' -'213','val_213','2008-04-08' -'213','val_213','2008-04-08' -'213','val_213','2008-04-08' -'213','val_213','2008-04-09' -'213','val_213','2008-04-09' -'213','val_213','2008-04-09' -'213','val_213','2008-04-09' -'214','val_214','2008-04-09' -'214','val_214','2008-04-09' -'214','val_214','2008-04-08' -'214','val_214','2008-04-08' -'216','val_216','2008-04-08' -'216','val_216','2008-04-08' -'216','val_216','2008-04-08' -'216','val_216','2008-04-08' -'216','val_216','2008-04-09' -'216','val_216','2008-04-09' -'216','val_216','2008-04-09' -'216','val_216','2008-04-09' -'217','val_217','2008-04-09' -'217','val_217','2008-04-09' -'217','val_217','2008-04-09' -'217','val_217','2008-04-09' -'217','val_217','2008-04-08' -'217','val_217','2008-04-08' -'217','val_217','2008-04-08' -'217','val_217','2008-04-08' -'218','val_218','2008-04-08' -'218','val_218','2008-04-08' -'218','val_218','2008-04-09' -'218','val_218','2008-04-09' -'219','val_219','2008-04-09' -'219','val_219','2008-04-09' -'219','val_219','2008-04-09' -'219','val_219','2008-04-09' -'219','val_219','2008-04-08' -'219','val_219','2008-04-08' -'219','val_219','2008-04-08' -'219','val_219','2008-04-08' -'221','val_221','2008-04-08' -'221','val_221','2008-04-08' -'221','val_221','2008-04-08' -'221','val_221','2008-04-08' -'221','val_221','2008-04-09' -'221','val_221','2008-04-09' -'221','val_221','2008-04-09' -'221','val_221','2008-04-09' -'222','val_222','2008-04-09' -'222','val_222','2008-04-09' -'222','val_222','2008-04-08' -'222','val_222','2008-04-08' -'223','val_223','2008-04-08' -'223','val_223','2008-04-08' -'223','val_223','2008-04-08' -'223','val_223','2008-04-08' -'223','val_223','2008-04-09' -'223','val_223','2008-04-09' -'223','val_223','2008-04-09' -'223','val_223','2008-04-09' -'224','val_224','2008-04-09' -'224','val_224','2008-04-09' -'224','val_224','2008-04-09' -'224','val_224','2008-04-09' -'224','val_224','2008-04-08' -'224','val_224','2008-04-08' -'224','val_224','2008-04-08' -'224','val_224','2008-04-08' -'226','val_226','2008-04-08' -'226','val_226','2008-04-08' -'226','val_226','2008-04-09' -'226','val_226','2008-04-09' -'228','val_228','2008-04-09' -'228','val_228','2008-04-09' -'228','val_228','2008-04-08' -'228','val_228','2008-04-08' -'229','val_229','2008-04-08' -'229','val_229','2008-04-08' -'229','val_229','2008-04-08' -'229','val_229','2008-04-08' -'229','val_229','2008-04-09' -'229','val_229','2008-04-09' -'229','val_229','2008-04-09' -'229','val_229','2008-04-09' -'230','val_230','2008-04-09' -'230','val_230','2008-04-09' -'230','val_230','2008-04-09' -'230','val_230','2008-04-09' -'230','val_230','2008-04-09' -'230','val_230','2008-04-09' -'230','val_230','2008-04-09' -'230','val_230','2008-04-09' -'230','val_230','2008-04-09' -'230','val_230','2008-04-09' -'230','val_230','2008-04-08' -'230','val_230','2008-04-08' -'230','val_230','2008-04-08' -'230','val_230','2008-04-08' -'230','val_230','2008-04-08' -'230','val_230','2008-04-08' -'230','val_230','2008-04-08' -'230','val_230','2008-04-08' -'230','val_230','2008-04-08' -'230','val_230','2008-04-08' -'233','val_233','2008-04-08' -'233','val_233','2008-04-08' -'233','val_233','2008-04-08' -'233','val_233','2008-04-08' -'233','val_233','2008-04-09' -'233','val_233','2008-04-09' -'233','val_233','2008-04-09' -'233','val_233','2008-04-09' -'235','val_235','2008-04-09' -'235','val_235','2008-04-09' -'235','val_235','2008-04-08' -'235','val_235','2008-04-08' -'237','val_237','2008-04-08' -'237','val_237','2008-04-08' -'237','val_237','2008-04-08' -'237','val_237','2008-04-08' -'237','val_237','2008-04-09' -'237','val_237','2008-04-09' -'237','val_237','2008-04-09' -'237','val_237','2008-04-09' -'238','val_238','2008-04-09' -'238','val_238','2008-04-09' -'238','val_238','2008-04-09' -'238','val_238','2008-04-09' -'238','val_238','2008-04-08' -'238','val_238','2008-04-08' -'238','val_238','2008-04-08' -'238','val_238','2008-04-08' -'239','val_239','2008-04-08' -'239','val_239','2008-04-08' -'239','val_239','2008-04-08' -'239','val_239','2008-04-08' -'239','val_239','2008-04-09' -'239','val_239','2008-04-09' -'239','val_239','2008-04-09' -'239','val_239','2008-04-09' -'24','val_24','2008-04-09' -'24','val_24','2008-04-09' -'24','val_24','2008-04-09' -'24','val_24','2008-04-09' -'24','val_24','2008-04-08' -'24','val_24','2008-04-08' -'24','val_24','2008-04-08' -'24','val_24','2008-04-08' -'241','val_241','2008-04-08' -'241','val_241','2008-04-08' -'241','val_241','2008-04-09' -'241','val_241','2008-04-09' -'242','val_242','2008-04-09' -'242','val_242','2008-04-09' -'242','val_242','2008-04-09' -'242','val_242','2008-04-09' -'242','val_242','2008-04-08' -'242','val_242','2008-04-08' -'242','val_242','2008-04-08' -'242','val_242','2008-04-08' -'244','val_244','2008-04-08' -'244','val_244','2008-04-08' -'244','val_244','2008-04-09' -'244','val_244','2008-04-09' -'247','val_247','2008-04-09' -'247','val_247','2008-04-09' -'247','val_247','2008-04-08' -'247','val_247','2008-04-08' -'248','val_248','2008-04-08' -'248','val_248','2008-04-08' -'248','val_248','2008-04-09' -'248','val_248','2008-04-09' -'249','val_249','2008-04-09' -'249','val_249','2008-04-09' -'249','val_249','2008-04-08' -'249','val_249','2008-04-08' -'252','val_252','2008-04-08' -'252','val_252','2008-04-08' -'252','val_252','2008-04-09' -'252','val_252','2008-04-09' -'255','val_255','2008-04-09' -'255','val_255','2008-04-09' -'255','val_255','2008-04-09' -'255','val_255','2008-04-09' -'255','val_255','2008-04-08' -'255','val_255','2008-04-08' -'255','val_255','2008-04-08' -'255','val_255','2008-04-08' -'256','val_256','2008-04-08' -'256','val_256','2008-04-08' -'256','val_256','2008-04-08' -'256','val_256','2008-04-08' -'256','val_256','2008-04-09' -'256','val_256','2008-04-09' -'256','val_256','2008-04-09' -'256','val_256','2008-04-09' -'257','val_257','2008-04-09' -'257','val_257','2008-04-09' -'257','val_257','2008-04-08' -'257','val_257','2008-04-08' -'258','val_258','2008-04-08' -'258','val_258','2008-04-08' -'258','val_258','2008-04-09' -'258','val_258','2008-04-09' -'26','val_26','2008-04-09' -'26','val_26','2008-04-09' -'26','val_26','2008-04-09' -'26','val_26','2008-04-09' -'26','val_26','2008-04-08' -'26','val_26','2008-04-08' -'26','val_26','2008-04-08' -'26','val_26','2008-04-08' -'260','val_260','2008-04-08' -'260','val_260','2008-04-08' -'260','val_260','2008-04-09' -'260','val_260','2008-04-09' -'262','val_262','2008-04-09' -'262','val_262','2008-04-09' -'262','val_262','2008-04-08' -'262','val_262','2008-04-08' -'263','val_263','2008-04-08' -'263','val_263','2008-04-08' -'263','val_263','2008-04-09' -'263','val_263','2008-04-09' -'265','val_265','2008-04-09' -'265','val_265','2008-04-09' -'265','val_265','2008-04-09' -'265','val_265','2008-04-09' -'265','val_265','2008-04-08' -'265','val_265','2008-04-08' -'265','val_265','2008-04-08' -'265','val_265','2008-04-08' -'266','val_266','2008-04-08' -'266','val_266','2008-04-08' -'266','val_266','2008-04-09' -'266','val_266','2008-04-09' -'27','val_27','2008-04-09' -'27','val_27','2008-04-09' -'27','val_27','2008-04-08' -'27','val_27','2008-04-08' -'272','val_272','2008-04-08' -'272','val_272','2008-04-08' -'272','val_272','2008-04-08' -'272','val_272','2008-04-08' -'272','val_272','2008-04-09' -'272','val_272','2008-04-09' -'272','val_272','2008-04-09' -'272','val_272','2008-04-09' -'273','val_273','2008-04-09' -'273','val_273','2008-04-09' -'273','val_273','2008-04-09' -'273','val_273','2008-04-09' -'273','val_273','2008-04-09' -'273','val_273','2008-04-09' -'273','val_273','2008-04-08' -'273','val_273','2008-04-08' -'273','val_273','2008-04-08' -'273','val_273','2008-04-08' -'273','val_273','2008-04-08' -'273','val_273','2008-04-08' -'274','val_274','2008-04-08' -'274','val_274','2008-04-08' -'274','val_274','2008-04-09' -'274','val_274','2008-04-09' -'275','val_275','2008-04-09' -'275','val_275','2008-04-09' -'275','val_275','2008-04-08' -'275','val_275','2008-04-08' -'277','val_277','2008-04-08' -'277','val_277','2008-04-08' -'277','val_277','2008-04-08' -'277','val_277','2008-04-08' -'277','val_277','2008-04-08' -'277','val_277','2008-04-08' -'277','val_277','2008-04-08' -'277','val_277','2008-04-08' -'277','val_277','2008-04-09' -'277','val_277','2008-04-09' -'277','val_277','2008-04-09' -'277','val_277','2008-04-09' -'277','val_277','2008-04-09' -'277','val_277','2008-04-09' -'277','val_277','2008-04-09' -'277','val_277','2008-04-09' -'278','val_278','2008-04-09' -'278','val_278','2008-04-09' -'278','val_278','2008-04-09' -'278','val_278','2008-04-09' -'278','val_278','2008-04-08' -'278','val_278','2008-04-08' -'278','val_278','2008-04-08' -'278','val_278','2008-04-08' -'28','val_28','2008-04-08' -'28','val_28','2008-04-08' -'28','val_28','2008-04-09' -'28','val_28','2008-04-09' -'280','val_280','2008-04-09' -'280','val_280','2008-04-09' -'280','val_280','2008-04-09' -'280','val_280','2008-04-09' -'280','val_280','2008-04-08' -'280','val_280','2008-04-08' -'280','val_280','2008-04-08' -'280','val_280','2008-04-08' -'281','val_281','2008-04-08' -'281','val_281','2008-04-08' -'281','val_281','2008-04-08' -'281','val_281','2008-04-08' -'281','val_281','2008-04-09' -'281','val_281','2008-04-09' -'281','val_281','2008-04-09' -'281','val_281','2008-04-09' -'282','val_282','2008-04-09' -'282','val_282','2008-04-09' -'282','val_282','2008-04-09' -'282','val_282','2008-04-09' -'282','val_282','2008-04-08' -'282','val_282','2008-04-08' -'282','val_282','2008-04-08' -'282','val_282','2008-04-08' -'283','val_283','2008-04-08' -'283','val_283','2008-04-08' -'283','val_283','2008-04-09' -'283','val_283','2008-04-09' -'284','val_284','2008-04-09' -'284','val_284','2008-04-09' -'284','val_284','2008-04-08' -'284','val_284','2008-04-08' -'285','val_285','2008-04-08' -'285','val_285','2008-04-08' -'285','val_285','2008-04-09' -'285','val_285','2008-04-09' -'286','val_286','2008-04-09' -'286','val_286','2008-04-09' -'286','val_286','2008-04-08' -'286','val_286','2008-04-08' -'287','val_287','2008-04-08' -'287','val_287','2008-04-08' -'287','val_287','2008-04-09' -'287','val_287','2008-04-09' -'288','val_288','2008-04-09' -'288','val_288','2008-04-09' -'288','val_288','2008-04-09' -'288','val_288','2008-04-09' -'288','val_288','2008-04-08' -'288','val_288','2008-04-08' -'288','val_288','2008-04-08' -'288','val_288','2008-04-08' -'289','val_289','2008-04-08' -'289','val_289','2008-04-08' -'289','val_289','2008-04-09' -'289','val_289','2008-04-09' -'291','val_291','2008-04-09' -'291','val_291','2008-04-09' -'291','val_291','2008-04-08' -'291','val_291','2008-04-08' -'292','val_292','2008-04-08' -'292','val_292','2008-04-08' -'292','val_292','2008-04-09' -'292','val_292','2008-04-09' -'296','val_296','2008-04-09' -'296','val_296','2008-04-09' -'296','val_296','2008-04-08' -'296','val_296','2008-04-08' -'298','val_298','2008-04-08' -'298','val_298','2008-04-08' -'298','val_298','2008-04-08' -'298','val_298','2008-04-08' -'298','val_298','2008-04-08' -'298','val_298','2008-04-08' -'298','val_298','2008-04-09' -'298','val_298','2008-04-09' -'298','val_298','2008-04-09' -'298','val_298','2008-04-09' -'298','val_298','2008-04-09' -'298','val_298','2008-04-09' -'30','val_30','2008-04-09' -'30','val_30','2008-04-09' -'30','val_30','2008-04-08' -'30','val_30','2008-04-08' -'302','val_302','2008-04-08' -'302','val_302','2008-04-08' -'302','val_302','2008-04-09' -'302','val_302','2008-04-09' -'305','val_305','2008-04-09' -'305','val_305','2008-04-09' -'305','val_305','2008-04-08' -'305','val_305','2008-04-08' -'306','val_306','2008-04-08' -'306','val_306','2008-04-08' -'306','val_306','2008-04-09' -'306','val_306','2008-04-09' -'307','val_307','2008-04-09' -'307','val_307','2008-04-09' -'307','val_307','2008-04-09' -'307','val_307','2008-04-09' -'307','val_307','2008-04-08' -'307','val_307','2008-04-08' -'307','val_307','2008-04-08' -'307','val_307','2008-04-08' -'308','val_308','2008-04-08' -'308','val_308','2008-04-08' -'308','val_308','2008-04-09' -'308','val_308','2008-04-09' -'309','val_309','2008-04-09' -'309','val_309','2008-04-09' -'309','val_309','2008-04-09' -'309','val_309','2008-04-09' -'309','val_309','2008-04-08' -'309','val_309','2008-04-08' -'309','val_309','2008-04-08' -'309','val_309','2008-04-08' -'310','val_310','2008-04-08' -'310','val_310','2008-04-08' -'310','val_310','2008-04-09' -'310','val_310','2008-04-09' -'311','val_311','2008-04-09' -'311','val_311','2008-04-09' -'311','val_311','2008-04-09' -'311','val_311','2008-04-09' -'311','val_311','2008-04-09' -'311','val_311','2008-04-09' -'311','val_311','2008-04-08' -'311','val_311','2008-04-08' -'311','val_311','2008-04-08' -'311','val_311','2008-04-08' -'311','val_311','2008-04-08' -'311','val_311','2008-04-08' -'315','val_315','2008-04-08' -'315','val_315','2008-04-08' -'315','val_315','2008-04-09' -'315','val_315','2008-04-09' -'316','val_316','2008-04-09' -'316','val_316','2008-04-09' -'316','val_316','2008-04-09' -'316','val_316','2008-04-09' -'316','val_316','2008-04-09' -'316','val_316','2008-04-09' -'316','val_316','2008-04-08' -'316','val_316','2008-04-08' -'316','val_316','2008-04-08' -'316','val_316','2008-04-08' -'316','val_316','2008-04-08' -'316','val_316','2008-04-08' -'317','val_317','2008-04-08' -'317','val_317','2008-04-08' -'317','val_317','2008-04-08' -'317','val_317','2008-04-08' -'317','val_317','2008-04-09' -'317','val_317','2008-04-09' -'317','val_317','2008-04-09' -'317','val_317','2008-04-09' -'318','val_318','2008-04-09' -'318','val_318','2008-04-09' -'318','val_318','2008-04-09' -'318','val_318','2008-04-09' -'318','val_318','2008-04-09' -'318','val_318','2008-04-09' -'318','val_318','2008-04-08' -'318','val_318','2008-04-08' -'318','val_318','2008-04-08' -'318','val_318','2008-04-08' -'318','val_318','2008-04-08' -'318','val_318','2008-04-08' -'321','val_321','2008-04-08' -'321','val_321','2008-04-08' -'321','val_321','2008-04-08' -'321','val_321','2008-04-08' -'321','val_321','2008-04-09' -'321','val_321','2008-04-09' -'321','val_321','2008-04-09' -'321','val_321','2008-04-09' -'322','val_322','2008-04-09' -'322','val_322','2008-04-09' -'322','val_322','2008-04-09' -'322','val_322','2008-04-09' -'322','val_322','2008-04-08' -'322','val_322','2008-04-08' -'322','val_322','2008-04-08' -'322','val_322','2008-04-08' -'323','val_323','2008-04-08' -'323','val_323','2008-04-08' -'323','val_323','2008-04-09' -'323','val_323','2008-04-09' -'325','val_325','2008-04-09' -'325','val_325','2008-04-09' -'325','val_325','2008-04-09' -'325','val_325','2008-04-09' -'325','val_325','2008-04-08' -'325','val_325','2008-04-08' -'325','val_325','2008-04-08' -'325','val_325','2008-04-08' -'327','val_327','2008-04-08' -'327','val_327','2008-04-08' -'327','val_327','2008-04-08' -'327','val_327','2008-04-08' -'327','val_327','2008-04-08' -'327','val_327','2008-04-08' -'327','val_327','2008-04-09' -'327','val_327','2008-04-09' -'327','val_327','2008-04-09' -'327','val_327','2008-04-09' -'327','val_327','2008-04-09' -'327','val_327','2008-04-09' -'33','val_33','2008-04-09' -'33','val_33','2008-04-09' -'33','val_33','2008-04-08' -'33','val_33','2008-04-08' -'331','val_331','2008-04-08' -'331','val_331','2008-04-08' -'331','val_331','2008-04-08' -'331','val_331','2008-04-08' -'331','val_331','2008-04-09' -'331','val_331','2008-04-09' -'331','val_331','2008-04-09' -'331','val_331','2008-04-09' -'332','val_332','2008-04-09' -'332','val_332','2008-04-09' -'332','val_332','2008-04-08' -'332','val_332','2008-04-08' -'333','val_333','2008-04-08' -'333','val_333','2008-04-08' -'333','val_333','2008-04-08' -'333','val_333','2008-04-08' -'333','val_333','2008-04-09' -'333','val_333','2008-04-09' -'333','val_333','2008-04-09' -'333','val_333','2008-04-09' -'335','val_335','2008-04-09' -'335','val_335','2008-04-09' -'335','val_335','2008-04-08' -'335','val_335','2008-04-08' -'336','val_336','2008-04-08' -'336','val_336','2008-04-08' -'336','val_336','2008-04-09' -'336','val_336','2008-04-09' -'338','val_338','2008-04-09' -'338','val_338','2008-04-09' -'338','val_338','2008-04-08' -'338','val_338','2008-04-08' -'339','val_339','2008-04-08' -'339','val_339','2008-04-08' -'339','val_339','2008-04-09' -'339','val_339','2008-04-09' -'34','val_34','2008-04-09' -'34','val_34','2008-04-09' -'34','val_34','2008-04-08' -'34','val_34','2008-04-08' -'341','val_341','2008-04-08' -'341','val_341','2008-04-08' -'341','val_341','2008-04-09' -'341','val_341','2008-04-09' -'342','val_342','2008-04-09' -'342','val_342','2008-04-09' -'342','val_342','2008-04-09' -'342','val_342','2008-04-09' -'342','val_342','2008-04-08' -'342','val_342','2008-04-08' -'342','val_342','2008-04-08' -'342','val_342','2008-04-08' -'344','val_344','2008-04-08' -'344','val_344','2008-04-08' -'344','val_344','2008-04-08' -'344','val_344','2008-04-08' -'344','val_344','2008-04-09' -'344','val_344','2008-04-09' -'344','val_344','2008-04-09' -'344','val_344','2008-04-09' -'345','val_345','2008-04-09' -'345','val_345','2008-04-09' -'345','val_345','2008-04-08' -'345','val_345','2008-04-08' -'348','val_348','2008-04-08' -'348','val_348','2008-04-08' -'348','val_348','2008-04-08' -'348','val_348','2008-04-08' -'348','val_348','2008-04-08' -'348','val_348','2008-04-08' -'348','val_348','2008-04-08' -'348','val_348','2008-04-08' -'348','val_348','2008-04-08' -'348','val_348','2008-04-08' -'348','val_348','2008-04-09' -'348','val_348','2008-04-09' -'348','val_348','2008-04-09' -'348','val_348','2008-04-09' -'348','val_348','2008-04-09' -'348','val_348','2008-04-09' -'348','val_348','2008-04-09' -'348','val_348','2008-04-09' -'348','val_348','2008-04-09' -'348','val_348','2008-04-09' -'35','val_35','2008-04-09' -'35','val_35','2008-04-09' -'35','val_35','2008-04-09' -'35','val_35','2008-04-09' -'35','val_35','2008-04-09' -'35','val_35','2008-04-09' -'35','val_35','2008-04-08' -'35','val_35','2008-04-08' -'35','val_35','2008-04-08' -'35','val_35','2008-04-08' -'35','val_35','2008-04-08' -'35','val_35','2008-04-08' -'351','val_351','2008-04-08' -'351','val_351','2008-04-08' -'351','val_351','2008-04-09' -'351','val_351','2008-04-09' -'353','val_353','2008-04-09' -'353','val_353','2008-04-09' -'353','val_353','2008-04-09' -'353','val_353','2008-04-09' -'353','val_353','2008-04-08' -'353','val_353','2008-04-08' -'353','val_353','2008-04-08' -'353','val_353','2008-04-08' -'356','val_356','2008-04-08' -'356','val_356','2008-04-08' -'356','val_356','2008-04-09' -'356','val_356','2008-04-09' -'360','val_360','2008-04-09' -'360','val_360','2008-04-09' -'360','val_360','2008-04-08' -'360','val_360','2008-04-08' -'362','val_362','2008-04-08' -'362','val_362','2008-04-08' -'362','val_362','2008-04-09' -'362','val_362','2008-04-09' -'364','val_364','2008-04-09' -'364','val_364','2008-04-09' -'364','val_364','2008-04-08' -'364','val_364','2008-04-08' -'365','val_365','2008-04-08' -'365','val_365','2008-04-08' -'365','val_365','2008-04-09' -'365','val_365','2008-04-09' -'366','val_366','2008-04-09' -'366','val_366','2008-04-09' -'366','val_366','2008-04-08' -'366','val_366','2008-04-08' -'367','val_367','2008-04-08' -'367','val_367','2008-04-08' -'367','val_367','2008-04-08' -'367','val_367','2008-04-08' -'367','val_367','2008-04-09' -'367','val_367','2008-04-09' -'367','val_367','2008-04-09' -'367','val_367','2008-04-09' -'368','val_368','2008-04-09' -'368','val_368','2008-04-09' -'368','val_368','2008-04-08' -'368','val_368','2008-04-08' -'369','val_369','2008-04-08' -'369','val_369','2008-04-08' -'369','val_369','2008-04-08' -'369','val_369','2008-04-08' -'369','val_369','2008-04-08' -'369','val_369','2008-04-08' -'369','val_369','2008-04-09' -'369','val_369','2008-04-09' -'369','val_369','2008-04-09' -'369','val_369','2008-04-09' -'369','val_369','2008-04-09' -'369','val_369','2008-04-09' -'37','val_37','2008-04-09' -'37','val_37','2008-04-09' -'37','val_37','2008-04-09' -'37','val_37','2008-04-09' -'37','val_37','2008-04-08' -'37','val_37','2008-04-08' -'37','val_37','2008-04-08' -'37','val_37','2008-04-08' -'373','val_373','2008-04-08' -'373','val_373','2008-04-08' -'373','val_373','2008-04-09' -'373','val_373','2008-04-09' -'374','val_374','2008-04-09' -'374','val_374','2008-04-09' -'374','val_374','2008-04-08' -'374','val_374','2008-04-08' -'375','val_375','2008-04-08' -'375','val_375','2008-04-08' -'375','val_375','2008-04-09' -'375','val_375','2008-04-09' -'377','val_377','2008-04-09' -'377','val_377','2008-04-09' -'377','val_377','2008-04-08' -'377','val_377','2008-04-08' -'378','val_378','2008-04-08' -'378','val_378','2008-04-08' -'378','val_378','2008-04-09' -'378','val_378','2008-04-09' -'379','val_379','2008-04-09' -'379','val_379','2008-04-09' -'379','val_379','2008-04-08' -'379','val_379','2008-04-08' -'382','val_382','2008-04-08' -'382','val_382','2008-04-08' -'382','val_382','2008-04-08' -'382','val_382','2008-04-08' -'382','val_382','2008-04-09' -'382','val_382','2008-04-09' -'382','val_382','2008-04-09' -'382','val_382','2008-04-09' -'384','val_384','2008-04-09' -'384','val_384','2008-04-09' -'384','val_384','2008-04-09' -'384','val_384','2008-04-09' -'384','val_384','2008-04-09' -'384','val_384','2008-04-09' -'384','val_384','2008-04-08' -'384','val_384','2008-04-08' -'384','val_384','2008-04-08' -'384','val_384','2008-04-08' -'384','val_384','2008-04-08' -'384','val_384','2008-04-08' -'386','val_386','2008-04-08' -'386','val_386','2008-04-08' -'386','val_386','2008-04-09' -'386','val_386','2008-04-09' -'389','val_389','2008-04-09' -'389','val_389','2008-04-09' -'389','val_389','2008-04-08' -'389','val_389','2008-04-08' -'392','val_392','2008-04-08' -'392','val_392','2008-04-08' -'392','val_392','2008-04-09' -'392','val_392','2008-04-09' -'393','val_393','2008-04-09' -'393','val_393','2008-04-09' -'393','val_393','2008-04-08' -'393','val_393','2008-04-08' -'394','val_394','2008-04-08' -'394','val_394','2008-04-08' -'394','val_394','2008-04-09' -'394','val_394','2008-04-09' -'395','val_395','2008-04-09' -'395','val_395','2008-04-09' -'395','val_395','2008-04-09' -'395','val_395','2008-04-09' -'395','val_395','2008-04-08' -'395','val_395','2008-04-08' -'395','val_395','2008-04-08' -'395','val_395','2008-04-08' -'396','val_396','2008-04-08' -'396','val_396','2008-04-08' -'396','val_396','2008-04-08' -'396','val_396','2008-04-08' -'396','val_396','2008-04-08' -'396','val_396','2008-04-08' -'396','val_396','2008-04-09' -'396','val_396','2008-04-09' -'396','val_396','2008-04-09' -'396','val_396','2008-04-09' -'396','val_396','2008-04-09' -'396','val_396','2008-04-09' -'397','val_397','2008-04-09' -'397','val_397','2008-04-09' -'397','val_397','2008-04-09' -'397','val_397','2008-04-09' -'397','val_397','2008-04-08' -'397','val_397','2008-04-08' -'397','val_397','2008-04-08' -'397','val_397','2008-04-08' -'399','val_399','2008-04-08' -'399','val_399','2008-04-08' -'399','val_399','2008-04-08' -'399','val_399','2008-04-08' -'399','val_399','2008-04-09' -'399','val_399','2008-04-09' -'399','val_399','2008-04-09' -'399','val_399','2008-04-09' -'4','val_4','2008-04-09' -'4','val_4','2008-04-09' -'4','val_4','2008-04-08' -'4','val_4','2008-04-08' -'400','val_400','2008-04-08' -'400','val_400','2008-04-08' -'400','val_400','2008-04-09' -'400','val_400','2008-04-09' -'401','val_401','2008-04-09' -'401','val_401','2008-04-09' -'401','val_401','2008-04-09' -'401','val_401','2008-04-09' -'401','val_401','2008-04-09' -'401','val_401','2008-04-09' -'401','val_401','2008-04-09' -'401','val_401','2008-04-09' -'401','val_401','2008-04-09' -'401','val_401','2008-04-09' -'401','val_401','2008-04-08' -'401','val_401','2008-04-08' -'401','val_401','2008-04-08' -'401','val_401','2008-04-08' -'401','val_401','2008-04-08' -'401','val_401','2008-04-08' -'401','val_401','2008-04-08' -'401','val_401','2008-04-08' -'401','val_401','2008-04-08' -'401','val_401','2008-04-08' -'402','val_402','2008-04-08' -'402','val_402','2008-04-08' -'402','val_402','2008-04-09' -'402','val_402','2008-04-09' -'403','val_403','2008-04-09' -'403','val_403','2008-04-09' -'403','val_403','2008-04-09' -'403','val_403','2008-04-09' -'403','val_403','2008-04-09' -'403','val_403','2008-04-09' -'403','val_403','2008-04-08' -'403','val_403','2008-04-08' -'403','val_403','2008-04-08' -'403','val_403','2008-04-08' -'403','val_403','2008-04-08' -'403','val_403','2008-04-08' -'404','val_404','2008-04-08' -'404','val_404','2008-04-08' -'404','val_404','2008-04-08' -'404','val_404','2008-04-08' -'404','val_404','2008-04-09' -'404','val_404','2008-04-09' -'404','val_404','2008-04-09' -'404','val_404','2008-04-09' -'406','val_406','2008-04-09' -'406','val_406','2008-04-09' -'406','val_406','2008-04-09' -'406','val_406','2008-04-09' -'406','val_406','2008-04-09' -'406','val_406','2008-04-09' -'406','val_406','2008-04-09' -'406','val_406','2008-04-09' -'406','val_406','2008-04-08' -'406','val_406','2008-04-08' -'406','val_406','2008-04-08' -'406','val_406','2008-04-08' -'406','val_406','2008-04-08' -'406','val_406','2008-04-08' -'406','val_406','2008-04-08' -'406','val_406','2008-04-08' -'407','val_407','2008-04-08' -'407','val_407','2008-04-08' -'407','val_407','2008-04-09' -'407','val_407','2008-04-09' -'409','val_409','2008-04-09' -'409','val_409','2008-04-09' -'409','val_409','2008-04-09' -'409','val_409','2008-04-09' -'409','val_409','2008-04-09' -'409','val_409','2008-04-09' -'409','val_409','2008-04-08' -'409','val_409','2008-04-08' -'409','val_409','2008-04-08' -'409','val_409','2008-04-08' -'409','val_409','2008-04-08' -'409','val_409','2008-04-08' -'41','val_41','2008-04-08' -'41','val_41','2008-04-08' -'41','val_41','2008-04-09' -'41','val_41','2008-04-09' -'411','val_411','2008-04-09' -'411','val_411','2008-04-09' -'411','val_411','2008-04-08' -'411','val_411','2008-04-08' -'413','val_413','2008-04-08' -'413','val_413','2008-04-08' -'413','val_413','2008-04-08' -'413','val_413','2008-04-08' -'413','val_413','2008-04-09' -'413','val_413','2008-04-09' -'413','val_413','2008-04-09' -'413','val_413','2008-04-09' -'414','val_414','2008-04-09' -'414','val_414','2008-04-09' -'414','val_414','2008-04-09' -'414','val_414','2008-04-09' -'414','val_414','2008-04-08' -'414','val_414','2008-04-08' -'414','val_414','2008-04-08' -'414','val_414','2008-04-08' -'417','val_417','2008-04-08' -'417','val_417','2008-04-08' -'417','val_417','2008-04-08' -'417','val_417','2008-04-08' -'417','val_417','2008-04-08' -'417','val_417','2008-04-08' -'417','val_417','2008-04-09' -'417','val_417','2008-04-09' -'417','val_417','2008-04-09' -'417','val_417','2008-04-09' -'417','val_417','2008-04-09' -'417','val_417','2008-04-09' -'418','val_418','2008-04-09' -'418','val_418','2008-04-09' -'418','val_418','2008-04-08' -'418','val_418','2008-04-08' -'419','val_419','2008-04-08' -'419','val_419','2008-04-08' -'419','val_419','2008-04-09' -'419','val_419','2008-04-09' -'42','val_42','2008-04-09' -'42','val_42','2008-04-09' -'42','val_42','2008-04-09' -'42','val_42','2008-04-09' -'42','val_42','2008-04-08' -'42','val_42','2008-04-08' -'42','val_42','2008-04-08' -'42','val_42','2008-04-08' -'421','val_421','2008-04-08' -'421','val_421','2008-04-08' -'421','val_421','2008-04-09' -'421','val_421','2008-04-09' -'424','val_424','2008-04-09' -'424','val_424','2008-04-09' -'424','val_424','2008-04-09' -'424','val_424','2008-04-09' -'424','val_424','2008-04-08' -'424','val_424','2008-04-08' -'424','val_424','2008-04-08' -'424','val_424','2008-04-08' -'427','val_427','2008-04-08' -'427','val_427','2008-04-08' -'427','val_427','2008-04-09' -'427','val_427','2008-04-09' -'429','val_429','2008-04-09' -'429','val_429','2008-04-09' -'429','val_429','2008-04-09' -'429','val_429','2008-04-09' -'429','val_429','2008-04-08' -'429','val_429','2008-04-08' -'429','val_429','2008-04-08' -'429','val_429','2008-04-08' -'43','val_43','2008-04-08' -'43','val_43','2008-04-08' -'43','val_43','2008-04-09' -'43','val_43','2008-04-09' -'430','val_430','2008-04-09' -'430','val_430','2008-04-09' -'430','val_430','2008-04-09' -'430','val_430','2008-04-09' -'430','val_430','2008-04-09' -'430','val_430','2008-04-09' -'430','val_430','2008-04-08' -'430','val_430','2008-04-08' -'430','val_430','2008-04-08' -'430','val_430','2008-04-08' -'430','val_430','2008-04-08' -'430','val_430','2008-04-08' -'431','val_431','2008-04-08' -'431','val_431','2008-04-08' -'431','val_431','2008-04-08' -'431','val_431','2008-04-08' -'431','val_431','2008-04-08' -'431','val_431','2008-04-08' -'431','val_431','2008-04-09' -'431','val_431','2008-04-09' -'431','val_431','2008-04-09' -'431','val_431','2008-04-09' -'431','val_431','2008-04-09' -'431','val_431','2008-04-09' -'432','val_432','2008-04-09' -'432','val_432','2008-04-09' -'432','val_432','2008-04-08' -'432','val_432','2008-04-08' -'435','val_435','2008-04-08' -'435','val_435','2008-04-08' -'435','val_435','2008-04-09' -'435','val_435','2008-04-09' -'436','val_436','2008-04-09' -'436','val_436','2008-04-09' -'436','val_436','2008-04-08' -'436','val_436','2008-04-08' -'437','val_437','2008-04-08' -'437','val_437','2008-04-08' -'437','val_437','2008-04-09' -'437','val_437','2008-04-09' -'438','val_438','2008-04-09' -'438','val_438','2008-04-09' -'438','val_438','2008-04-09' -'438','val_438','2008-04-09' -'438','val_438','2008-04-09' -'438','val_438','2008-04-09' -'438','val_438','2008-04-08' -'438','val_438','2008-04-08' -'438','val_438','2008-04-08' -'438','val_438','2008-04-08' -'438','val_438','2008-04-08' -'438','val_438','2008-04-08' -'439','val_439','2008-04-08' -'439','val_439','2008-04-08' -'439','val_439','2008-04-08' -'439','val_439','2008-04-08' -'439','val_439','2008-04-09' -'439','val_439','2008-04-09' -'439','val_439','2008-04-09' -'439','val_439','2008-04-09' -'44','val_44','2008-04-09' -'44','val_44','2008-04-09' -'44','val_44','2008-04-08' -'44','val_44','2008-04-08' -'443','val_443','2008-04-08' -'443','val_443','2008-04-08' -'443','val_443','2008-04-09' -'443','val_443','2008-04-09' -'444','val_444','2008-04-09' -'444','val_444','2008-04-09' -'444','val_444','2008-04-08' -'444','val_444','2008-04-08' -'446','val_446','2008-04-08' -'446','val_446','2008-04-08' -'446','val_446','2008-04-09' -'446','val_446','2008-04-09' -'448','val_448','2008-04-09' -'448','val_448','2008-04-09' -'448','val_448','2008-04-08' -'448','val_448','2008-04-08' -'449','val_449','2008-04-08' -'449','val_449','2008-04-08' -'449','val_449','2008-04-09' -'449','val_449','2008-04-09' -'452','val_452','2008-04-09' -'452','val_452','2008-04-09' -'452','val_452','2008-04-08' -'452','val_452','2008-04-08' -'453','val_453','2008-04-08' -'453','val_453','2008-04-08' -'453','val_453','2008-04-09' -'453','val_453','2008-04-09' -'454','val_454','2008-04-09' -'454','val_454','2008-04-09' -'454','val_454','2008-04-09' -'454','val_454','2008-04-09' -'454','val_454','2008-04-09' -'454','val_454','2008-04-09' -'454','val_454','2008-04-08' -'454','val_454','2008-04-08' -'454','val_454','2008-04-08' -'454','val_454','2008-04-08' -'454','val_454','2008-04-08' -'454','val_454','2008-04-08' -'455','val_455','2008-04-08' -'455','val_455','2008-04-08' -'455','val_455','2008-04-09' -'455','val_455','2008-04-09' -'457','val_457','2008-04-09' -'457','val_457','2008-04-09' -'457','val_457','2008-04-08' -'457','val_457','2008-04-08' -'458','val_458','2008-04-08' -'458','val_458','2008-04-08' -'458','val_458','2008-04-08' -'458','val_458','2008-04-08' -'458','val_458','2008-04-09' -'458','val_458','2008-04-09' -'458','val_458','2008-04-09' -'458','val_458','2008-04-09' -'459','val_459','2008-04-09' -'459','val_459','2008-04-09' -'459','val_459','2008-04-09' -'459','val_459','2008-04-09' -'459','val_459','2008-04-08' -'459','val_459','2008-04-08' -'459','val_459','2008-04-08' -'459','val_459','2008-04-08' -'460','val_460','2008-04-08' -'460','val_460','2008-04-08' -'460','val_460','2008-04-09' -'460','val_460','2008-04-09' -'462','val_462','2008-04-09' -'462','val_462','2008-04-09' -'462','val_462','2008-04-09' -'462','val_462','2008-04-09' -'462','val_462','2008-04-08' -'462','val_462','2008-04-08' -'462','val_462','2008-04-08' -'462','val_462','2008-04-08' -'463','val_463','2008-04-08' -'463','val_463','2008-04-08' -'463','val_463','2008-04-08' -'463','val_463','2008-04-08' -'463','val_463','2008-04-09' -'463','val_463','2008-04-09' -'463','val_463','2008-04-09' -'463','val_463','2008-04-09' -'466','val_466','2008-04-09' -'466','val_466','2008-04-09' -'466','val_466','2008-04-09' -'466','val_466','2008-04-09' -'466','val_466','2008-04-09' -'466','val_466','2008-04-09' -'466','val_466','2008-04-08' -'466','val_466','2008-04-08' -'466','val_466','2008-04-08' -'466','val_466','2008-04-08' -'466','val_466','2008-04-08' -'466','val_466','2008-04-08' -'467','val_467','2008-04-08' -'467','val_467','2008-04-08' -'467','val_467','2008-04-09' -'467','val_467','2008-04-09' -'468','val_468','2008-04-09' -'468','val_468','2008-04-09' -'468','val_468','2008-04-09' -'468','val_468','2008-04-09' -'468','val_468','2008-04-09' -'468','val_468','2008-04-09' -'468','val_468','2008-04-09' -'468','val_468','2008-04-09' -'468','val_468','2008-04-08' -'468','val_468','2008-04-08' -'468','val_468','2008-04-08' -'468','val_468','2008-04-08' -'468','val_468','2008-04-08' -'468','val_468','2008-04-08' -'468','val_468','2008-04-08' -'468','val_468','2008-04-08' -'469','val_469','2008-04-08' -'469','val_469','2008-04-08' -'469','val_469','2008-04-08' -'469','val_469','2008-04-08' -'469','val_469','2008-04-08' -'469','val_469','2008-04-08' -'469','val_469','2008-04-08' -'469','val_469','2008-04-08' -'469','val_469','2008-04-08' -'469','val_469','2008-04-08' -'469','val_469','2008-04-09' -'469','val_469','2008-04-09' -'469','val_469','2008-04-09' -'469','val_469','2008-04-09' -'469','val_469','2008-04-09' -'469','val_469','2008-04-09' -'469','val_469','2008-04-09' -'469','val_469','2008-04-09' -'469','val_469','2008-04-09' -'469','val_469','2008-04-09' -'47','val_47','2008-04-09' -'47','val_47','2008-04-09' -'47','val_47','2008-04-08' -'47','val_47','2008-04-08' -'470','val_470','2008-04-08' -'470','val_470','2008-04-08' -'470','val_470','2008-04-09' -'470','val_470','2008-04-09' -'472','val_472','2008-04-09' -'472','val_472','2008-04-09' -'472','val_472','2008-04-08' -'472','val_472','2008-04-08' -'475','val_475','2008-04-08' -'475','val_475','2008-04-08' -'475','val_475','2008-04-09' -'475','val_475','2008-04-09' -'477','val_477','2008-04-09' -'477','val_477','2008-04-09' -'477','val_477','2008-04-08' -'477','val_477','2008-04-08' -'478','val_478','2008-04-08' -'478','val_478','2008-04-08' -'478','val_478','2008-04-08' -'478','val_478','2008-04-08' -'478','val_478','2008-04-09' -'478','val_478','2008-04-09' -'478','val_478','2008-04-09' -'478','val_478','2008-04-09' -'479','val_479','2008-04-09' -'479','val_479','2008-04-09' -'479','val_479','2008-04-08' -'479','val_479','2008-04-08' -'480','val_480','2008-04-08' -'480','val_480','2008-04-08' -'480','val_480','2008-04-08' -'480','val_480','2008-04-08' -'480','val_480','2008-04-08' -'480','val_480','2008-04-08' -'480','val_480','2008-04-09' -'480','val_480','2008-04-09' -'480','val_480','2008-04-09' -'480','val_480','2008-04-09' -'480','val_480','2008-04-09' -'480','val_480','2008-04-09' -'481','val_481','2008-04-09' -'481','val_481','2008-04-09' -'481','val_481','2008-04-08' -'481','val_481','2008-04-08' -'482','val_482','2008-04-08' -'482','val_482','2008-04-08' -'482','val_482','2008-04-09' -'482','val_482','2008-04-09' -'483','val_483','2008-04-09' -'483','val_483','2008-04-09' -'483','val_483','2008-04-08' -'483','val_483','2008-04-08' -'484','val_484','2008-04-08' -'484','val_484','2008-04-08' -'484','val_484','2008-04-09' -'484','val_484','2008-04-09' -'485','val_485','2008-04-09' -'485','val_485','2008-04-09' -'485','val_485','2008-04-08' -'485','val_485','2008-04-08' -'487','val_487','2008-04-08' -'487','val_487','2008-04-08' -'487','val_487','2008-04-09' -'487','val_487','2008-04-09' -'489','val_489','2008-04-09' -'489','val_489','2008-04-09' -'489','val_489','2008-04-09' -'489','val_489','2008-04-09' -'489','val_489','2008-04-09' -'489','val_489','2008-04-09' -'489','val_489','2008-04-09' -'489','val_489','2008-04-09' -'489','val_489','2008-04-08' -'489','val_489','2008-04-08' -'489','val_489','2008-04-08' -'489','val_489','2008-04-08' -'489','val_489','2008-04-08' -'489','val_489','2008-04-08' -'489','val_489','2008-04-08' -'489','val_489','2008-04-08' -'490','val_490','2008-04-08' -'490','val_490','2008-04-08' -'490','val_490','2008-04-09' -'490','val_490','2008-04-09' -'491','val_491','2008-04-09' -'491','val_491','2008-04-09' -'491','val_491','2008-04-08' -'491','val_491','2008-04-08' -'492','val_492','2008-04-08' -'492','val_492','2008-04-08' -'492','val_492','2008-04-08' -'492','val_492','2008-04-08' -'492','val_492','2008-04-09' -'492','val_492','2008-04-09' -'492','val_492','2008-04-09' -'492','val_492','2008-04-09' -'493','val_493','2008-04-09' -'493','val_493','2008-04-09' -'493','val_493','2008-04-08' -'493','val_493','2008-04-08' -'494','val_494','2008-04-08' -'494','val_494','2008-04-08' -'494','val_494','2008-04-09' -'494','val_494','2008-04-09' -'495','val_495','2008-04-09' -'495','val_495','2008-04-09' -'495','val_495','2008-04-08' -'495','val_495','2008-04-08' -'496','val_496','2008-04-08' -'496','val_496','2008-04-08' -'496','val_496','2008-04-09' -'496','val_496','2008-04-09' -'497','val_497','2008-04-09' -'497','val_497','2008-04-09' -'497','val_497','2008-04-08' -'497','val_497','2008-04-08' -'498','val_498','2008-04-08' -'498','val_498','2008-04-08' -'498','val_498','2008-04-08' -'498','val_498','2008-04-08' -'498','val_498','2008-04-08' -'498','val_498','2008-04-08' -'498','val_498','2008-04-09' -'498','val_498','2008-04-09' -'498','val_498','2008-04-09' -'498','val_498','2008-04-09' -'498','val_498','2008-04-09' -'498','val_498','2008-04-09' -'5','val_5','2008-04-09' -'5','val_5','2008-04-09' -'5','val_5','2008-04-09' -'5','val_5','2008-04-09' -'5','val_5','2008-04-09' -'5','val_5','2008-04-09' -'5','val_5','2008-04-08' -'5','val_5','2008-04-08' -'5','val_5','2008-04-08' -'5','val_5','2008-04-08' -'5','val_5','2008-04-08' -'5','val_5','2008-04-08' -'51','val_51','2008-04-08' -'51','val_51','2008-04-08' -'51','val_51','2008-04-08' -'51','val_51','2008-04-08' -'51','val_51','2008-04-09' -'51','val_51','2008-04-09' -'51','val_51','2008-04-09' -'51','val_51','2008-04-09' -'53','val_53','2008-04-09' -'53','val_53','2008-04-09' -'53','val_53','2008-04-08' -'53','val_53','2008-04-08' -'54','val_54','2008-04-08' -'54','val_54','2008-04-08' -'54','val_54','2008-04-09' -'54','val_54','2008-04-09' -'57','val_57','2008-04-09' -'57','val_57','2008-04-09' -'57','val_57','2008-04-08' -'57','val_57','2008-04-08' -'58','val_58','2008-04-08' -'58','val_58','2008-04-08' -'58','val_58','2008-04-08' -'58','val_58','2008-04-08' -'58','val_58','2008-04-09' -'58','val_58','2008-04-09' -'58','val_58','2008-04-09' -'58','val_58','2008-04-09' -'64','val_64','2008-04-09' -'64','val_64','2008-04-09' -'64','val_64','2008-04-08' -'64','val_64','2008-04-08' -'65','val_65','2008-04-08' -'65','val_65','2008-04-08' -'65','val_65','2008-04-09' -'65','val_65','2008-04-09' -'66','val_66','2008-04-09' -'66','val_66','2008-04-09' -'66','val_66','2008-04-08' -'66','val_66','2008-04-08' -'67','val_67','2008-04-08' -'67','val_67','2008-04-08' -'67','val_67','2008-04-08' -'67','val_67','2008-04-08' -'67','val_67','2008-04-09' -'67','val_67','2008-04-09' -'67','val_67','2008-04-09' -'67','val_67','2008-04-09' -'69','val_69','2008-04-09' -'69','val_69','2008-04-09' -'69','val_69','2008-04-08' -'69','val_69','2008-04-08' -'70','val_70','2008-04-08' -'70','val_70','2008-04-08' -'70','val_70','2008-04-08' -'70','val_70','2008-04-08' -'70','val_70','2008-04-08' -'70','val_70','2008-04-08' -'70','val_70','2008-04-09' -'70','val_70','2008-04-09' -'70','val_70','2008-04-09' -'70','val_70','2008-04-09' -'70','val_70','2008-04-09' -'70','val_70','2008-04-09' -'72','val_72','2008-04-09' -'72','val_72','2008-04-09' -'72','val_72','2008-04-09' -'72','val_72','2008-04-09' -'72','val_72','2008-04-08' -'72','val_72','2008-04-08' -'72','val_72','2008-04-08' -'72','val_72','2008-04-08' -'74','val_74','2008-04-08' -'74','val_74','2008-04-08' -'74','val_74','2008-04-09' -'74','val_74','2008-04-09' -'76','val_76','2008-04-09' -'76','val_76','2008-04-09' -'76','val_76','2008-04-09' -'76','val_76','2008-04-09' -'76','val_76','2008-04-08' -'76','val_76','2008-04-08' -'76','val_76','2008-04-08' -'76','val_76','2008-04-08' -'77','val_77','2008-04-08' -'77','val_77','2008-04-08' -'77','val_77','2008-04-09' -'77','val_77','2008-04-09' -'78','val_78','2008-04-09' -'78','val_78','2008-04-09' -'78','val_78','2008-04-08' -'78','val_78','2008-04-08' -'8','val_8','2008-04-08' -'8','val_8','2008-04-08' -'8','val_8','2008-04-09' -'8','val_8','2008-04-09' -'80','val_80','2008-04-09' -'80','val_80','2008-04-09' -'80','val_80','2008-04-08' -'80','val_80','2008-04-08' -'82','val_82','2008-04-08' -'82','val_82','2008-04-08' -'82','val_82','2008-04-09' -'82','val_82','2008-04-09' -'83','val_83','2008-04-09' -'83','val_83','2008-04-09' -'83','val_83','2008-04-09' -'83','val_83','2008-04-09' -'83','val_83','2008-04-08' -'83','val_83','2008-04-08' -'83','val_83','2008-04-08' -'83','val_83','2008-04-08' -'84','val_84','2008-04-08' -'84','val_84','2008-04-08' -'84','val_84','2008-04-08' -'84','val_84','2008-04-08' -'84','val_84','2008-04-09' -'84','val_84','2008-04-09' -'84','val_84','2008-04-09' -'84','val_84','2008-04-09' -'85','val_85','2008-04-09' -'85','val_85','2008-04-09' -'85','val_85','2008-04-08' -'85','val_85','2008-04-08' -'86','val_86','2008-04-08' -'86','val_86','2008-04-08' -'86','val_86','2008-04-09' -'86','val_86','2008-04-09' -'87','val_87','2008-04-09' -'87','val_87','2008-04-09' -'87','val_87','2008-04-08' -'87','val_87','2008-04-08' -'9','val_9','2008-04-08' -'9','val_9','2008-04-08' -'9','val_9','2008-04-09' -'9','val_9','2008-04-09' -'90','val_90','2008-04-09' -'90','val_90','2008-04-09' -'90','val_90','2008-04-09' -'90','val_90','2008-04-09' -'90','val_90','2008-04-09' -'90','val_90','2008-04-09' -'90','val_90','2008-04-08' -'90','val_90','2008-04-08' -'90','val_90','2008-04-08' -'90','val_90','2008-04-08' -'90','val_90','2008-04-08' -'90','val_90','2008-04-08' -'92','val_92','2008-04-08' -'92','val_92','2008-04-08' -'92','val_92','2008-04-09' -'92','val_92','2008-04-09' -'95','val_95','2008-04-09' -'95','val_95','2008-04-09' -'95','val_95','2008-04-09' -'95','val_95','2008-04-09' -'95','val_95','2008-04-08' -'95','val_95','2008-04-08' -'95','val_95','2008-04-08' -'95','val_95','2008-04-08' -'96','val_96','2008-04-08' -'96','val_96','2008-04-08' -'96','val_96','2008-04-09' -'96','val_96','2008-04-09' -'97','val_97','2008-04-09' -'97','val_97','2008-04-09' -'97','val_97','2008-04-09' -'97','val_97','2008-04-09' -'97','val_97','2008-04-08' -'97','val_97','2008-04-08' -'97','val_97','2008-04-08' -'97','val_97','2008-04-08' -'98','val_98','2008-04-08' -'98','val_98','2008-04-08' -'98','val_98','2008-04-08' -'98','val_98','2008-04-08' -'98','val_98','2008-04-09' -'98','val_98','2008-04-09' -'98','val_98','2008-04-09' -'98','val_98','2008-04-09' -2,000 rows selected ->>> ->>> drop table merge_src_part2; -No rows affected ->>> ->>> create table merge_src_part2 like merge_src_part; -No rows affected ->>> ->>> explain extended -from (select * from merge_src_part where ds is not null distribute by ds) s -insert overwrite table merge_src_part2 partition(ds) -select key, value, ds; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME merge_src_part))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (TOK_FUNCTION TOK_ISNOTNULL (TOK_TABLE_OR_COL ds))) (TOK_DISTRIBUTEBY (TOK_TABLE_OR_COL ds)))) s)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME merge_src_part2) (TOK_PARTSPEC (TOK_PARTVAL ds)))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL ds)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' s:merge_src_part ' -' TableScan' -' alias: merge_src_part' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' sort order: ' -' Map-reduce partition columns:' -' expr: _col2' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src_part/ds=2008-04-08 [s:merge_src_part]' -' !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src_part/ds=2008-04-09 [s:merge_src_part]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src_part/ds=2008-04-08 ' -' Partition' -' base file name: ds=2008-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src_part/ds=2008-04-08' -' name merge3.merge_src_part' -' numFiles 2' -' numPartitions 2' -' numRows 1000' -' partition_columns ds' -' rawDataSize 10624' -' serialization.ddl struct merge_src_part { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11624' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src_part' -' name merge3.merge_src_part' -' numFiles 4' -' numPartitions 2' -' numRows 2000' -' partition_columns ds' -' rawDataSize 21248' -' serialization.ddl struct merge_src_part { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: merge3.merge_src_part' -' name: merge3.merge_src_part' -' !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src_part/ds=2008-04-09 ' -' Partition' -' base file name: ds=2008-04-09' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-09' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src_part/ds=2008-04-09' -' name merge3.merge_src_part' -' numFiles 2' -' numPartitions 2' -' numRows 1000' -' partition_columns ds' -' rawDataSize 10624' -' serialization.ddl struct merge_src_part { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11624' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src_part' -' name merge3.merge_src_part' -' numFiles 4' -' numPartitions 2' -' numRows 2000' -' partition_columns ds' -' rawDataSize 21248' -' serialization.ddl struct merge_src_part { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: merge3.merge_src_part' -' name: merge3.merge_src_part' -' Reduce Operator Tree:' -' Extract' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src_part2' -' name merge3.merge_src_part2' -' partition_columns ds' -' serialization.ddl struct merge_src_part2 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: merge3.merge_src_part2' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' partition:' -' ds ' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src_part2' -' name merge3.merge_src_part2' -' partition_columns ds' -' serialization.ddl struct merge_src_part2 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: merge3.merge_src_part2' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src_part2' -' name merge3.merge_src_part2' -' partition_columns ds' -' serialization.ddl struct merge_src_part2 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: merge3.merge_src_part2' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src_part2' -' name merge3.merge_src_part2' -' partition_columns ds' -' serialization.ddl struct merge_src_part2 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src_part2' -' name merge3.merge_src_part2' -' partition_columns ds' -' serialization.ddl struct merge_src_part2 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: merge3.merge_src_part2' -' name: merge3.merge_src_part2' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src_part2' -' name merge3.merge_src_part2' -' partition_columns ds' -' serialization.ddl struct merge_src_part2 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: merge3.merge_src_part2' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src_part2' -' name merge3.merge_src_part2' -' partition_columns ds' -' serialization.ddl struct merge_src_part2 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/merge3.db/merge_src_part2' -' name merge3.merge_src_part2' -' partition_columns ds' -' serialization.ddl struct merge_src_part2 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: merge3.merge_src_part2' -' name: merge3.merge_src_part2' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -382 rows selected ->>> ->>> from (select * from merge_src_part where ds is not null distribute by ds) s -insert overwrite table merge_src_part2 partition(ds) -select key, value, ds; -'key','value','ds' -No rows selected ->>> ->>> show partitions merge_src_part2; -'partition' -'ds=2008-04-08' -'ds=2008-04-09' -2 rows selected ->>> ->>> select * from merge_src_part2 where ds is not null ORDER BY key ASC, value ASC; -'key','value','ds' -'0','val_0','2008-04-08' -'0','val_0','2008-04-08' -'0','val_0','2008-04-08' -'0','val_0','2008-04-08' -'0','val_0','2008-04-08' -'0','val_0','2008-04-08' -'0','val_0','2008-04-09' -'0','val_0','2008-04-09' -'0','val_0','2008-04-09' -'0','val_0','2008-04-09' -'0','val_0','2008-04-09' -'0','val_0','2008-04-09' -'10','val_10','2008-04-09' -'10','val_10','2008-04-09' -'10','val_10','2008-04-08' -'10','val_10','2008-04-08' -'100','val_100','2008-04-08' -'100','val_100','2008-04-08' -'100','val_100','2008-04-08' -'100','val_100','2008-04-08' -'100','val_100','2008-04-09' -'100','val_100','2008-04-09' -'100','val_100','2008-04-09' -'100','val_100','2008-04-09' -'103','val_103','2008-04-09' -'103','val_103','2008-04-09' -'103','val_103','2008-04-09' -'103','val_103','2008-04-09' -'103','val_103','2008-04-08' -'103','val_103','2008-04-08' -'103','val_103','2008-04-08' -'103','val_103','2008-04-08' -'104','val_104','2008-04-08' -'104','val_104','2008-04-08' -'104','val_104','2008-04-08' -'104','val_104','2008-04-08' -'104','val_104','2008-04-09' -'104','val_104','2008-04-09' -'104','val_104','2008-04-09' -'104','val_104','2008-04-09' -'105','val_105','2008-04-09' -'105','val_105','2008-04-09' -'105','val_105','2008-04-08' -'105','val_105','2008-04-08' -'11','val_11','2008-04-08' -'11','val_11','2008-04-08' -'11','val_11','2008-04-09' -'11','val_11','2008-04-09' -'111','val_111','2008-04-09' -'111','val_111','2008-04-09' -'111','val_111','2008-04-08' -'111','val_111','2008-04-08' -'113','val_113','2008-04-08' -'113','val_113','2008-04-08' -'113','val_113','2008-04-08' -'113','val_113','2008-04-08' -'113','val_113','2008-04-09' -'113','val_113','2008-04-09' -'113','val_113','2008-04-09' -'113','val_113','2008-04-09' -'114','val_114','2008-04-09' -'114','val_114','2008-04-09' -'114','val_114','2008-04-08' -'114','val_114','2008-04-08' -'116','val_116','2008-04-08' -'116','val_116','2008-04-08' -'116','val_116','2008-04-09' -'116','val_116','2008-04-09' -'118','val_118','2008-04-09' -'118','val_118','2008-04-09' -'118','val_118','2008-04-09' -'118','val_118','2008-04-09' -'118','val_118','2008-04-08' -'118','val_118','2008-04-08' -'118','val_118','2008-04-08' -'118','val_118','2008-04-08' -'119','val_119','2008-04-08' -'119','val_119','2008-04-08' -'119','val_119','2008-04-08' -'119','val_119','2008-04-08' -'119','val_119','2008-04-08' -'119','val_119','2008-04-08' -'119','val_119','2008-04-09' -'119','val_119','2008-04-09' -'119','val_119','2008-04-09' -'119','val_119','2008-04-09' -'119','val_119','2008-04-09' -'119','val_119','2008-04-09' -'12','val_12','2008-04-09' -'12','val_12','2008-04-09' -'12','val_12','2008-04-09' -'12','val_12','2008-04-09' -'12','val_12','2008-04-08' -'12','val_12','2008-04-08' -'12','val_12','2008-04-08' -'12','val_12','2008-04-08' -'120','val_120','2008-04-08' -'120','val_120','2008-04-08' -'120','val_120','2008-04-08' -'120','val_120','2008-04-08' -'120','val_120','2008-04-09' -'120','val_120','2008-04-09' -'120','val_120','2008-04-09' -'120','val_120','2008-04-09' -'125','val_125','2008-04-09' -'125','val_125','2008-04-09' -'125','val_125','2008-04-09' -'125','val_125','2008-04-09' -'125','val_125','2008-04-08' -'125','val_125','2008-04-08' -'125','val_125','2008-04-08' -'125','val_125','2008-04-08' -'126','val_126','2008-04-08' -'126','val_126','2008-04-08' -'126','val_126','2008-04-09' -'126','val_126','2008-04-09' -'128','val_128','2008-04-09' -'128','val_128','2008-04-09' -'128','val_128','2008-04-09' -'128','val_128','2008-04-09' -'128','val_128','2008-04-09' -'128','val_128','2008-04-09' -'128','val_128','2008-04-08' -'128','val_128','2008-04-08' -'128','val_128','2008-04-08' -'128','val_128','2008-04-08' -'128','val_128','2008-04-08' -'128','val_128','2008-04-08' -'129','val_129','2008-04-08' -'129','val_129','2008-04-08' -'129','val_129','2008-04-08' -'129','val_129','2008-04-08' -'129','val_129','2008-04-09' -'129','val_129','2008-04-09' -'129','val_129','2008-04-09' -'129','val_129','2008-04-09' -'131','val_131','2008-04-09' -'131','val_131','2008-04-09' -'131','val_131','2008-04-08' -'131','val_131','2008-04-08' -'133','val_133','2008-04-08' -'133','val_133','2008-04-08' -'133','val_133','2008-04-09' -'133','val_133','2008-04-09' -'134','val_134','2008-04-09' -'134','val_134','2008-04-09' -'134','val_134','2008-04-09' -'134','val_134','2008-04-09' -'134','val_134','2008-04-08' -'134','val_134','2008-04-08' -'134','val_134','2008-04-08' -'134','val_134','2008-04-08' -'136','val_136','2008-04-08' -'136','val_136','2008-04-08' -'136','val_136','2008-04-09' -'136','val_136','2008-04-09' -'137','val_137','2008-04-09' -'137','val_137','2008-04-09' -'137','val_137','2008-04-09' -'137','val_137','2008-04-09' -'137','val_137','2008-04-08' -'137','val_137','2008-04-08' -'137','val_137','2008-04-08' -'137','val_137','2008-04-08' -'138','val_138','2008-04-08' -'138','val_138','2008-04-08' -'138','val_138','2008-04-08' -'138','val_138','2008-04-08' -'138','val_138','2008-04-08' -'138','val_138','2008-04-08' -'138','val_138','2008-04-08' -'138','val_138','2008-04-08' -'138','val_138','2008-04-09' -'138','val_138','2008-04-09' -'138','val_138','2008-04-09' -'138','val_138','2008-04-09' -'138','val_138','2008-04-09' -'138','val_138','2008-04-09' -'138','val_138','2008-04-09' -'138','val_138','2008-04-09' -'143','val_143','2008-04-09' -'143','val_143','2008-04-09' -'143','val_143','2008-04-08' -'143','val_143','2008-04-08' -'145','val_145','2008-04-08' -'145','val_145','2008-04-08' -'145','val_145','2008-04-09' -'145','val_145','2008-04-09' -'146','val_146','2008-04-09' -'146','val_146','2008-04-09' -'146','val_146','2008-04-09' -'146','val_146','2008-04-09' -'146','val_146','2008-04-08' -'146','val_146','2008-04-08' -'146','val_146','2008-04-08' -'146','val_146','2008-04-08' -'149','val_149','2008-04-08' -'149','val_149','2008-04-08' -'149','val_149','2008-04-08' -'149','val_149','2008-04-08' -'149','val_149','2008-04-09' -'149','val_149','2008-04-09' -'149','val_149','2008-04-09' -'149','val_149','2008-04-09' -'15','val_15','2008-04-09' -'15','val_15','2008-04-09' -'15','val_15','2008-04-09' -'15','val_15','2008-04-09' -'15','val_15','2008-04-08' -'15','val_15','2008-04-08' -'15','val_15','2008-04-08' -'15','val_15','2008-04-08' -'150','val_150','2008-04-08' -'150','val_150','2008-04-08' -'150','val_150','2008-04-09' -'150','val_150','2008-04-09' -'152','val_152','2008-04-09' -'152','val_152','2008-04-09' -'152','val_152','2008-04-09' -'152','val_152','2008-04-09' -'152','val_152','2008-04-08' -'152','val_152','2008-04-08' -'152','val_152','2008-04-08' -'152','val_152','2008-04-08' -'153','val_153','2008-04-08' -'153','val_153','2008-04-08' -'153','val_153','2008-04-09' -'153','val_153','2008-04-09' -'155','val_155','2008-04-09' -'155','val_155','2008-04-09' -'155','val_155','2008-04-08' -'155','val_155','2008-04-08' -'156','val_156','2008-04-08' -'156','val_156','2008-04-08' -'156','val_156','2008-04-09' -'156','val_156','2008-04-09' -'157','val_157','2008-04-09' -'157','val_157','2008-04-09' -'157','val_157','2008-04-08' -'157','val_157','2008-04-08' -'158','val_158','2008-04-08' -'158','val_158','2008-04-08' -'158','val_158','2008-04-09' -'158','val_158','2008-04-09' -'160','val_160','2008-04-09' -'160','val_160','2008-04-09' -'160','val_160','2008-04-08' -'160','val_160','2008-04-08' -'162','val_162','2008-04-08' -'162','val_162','2008-04-08' -'162','val_162','2008-04-09' -'162','val_162','2008-04-09' -'163','val_163','2008-04-09' -'163','val_163','2008-04-09' -'163','val_163','2008-04-08' -'163','val_163','2008-04-08' -'164','val_164','2008-04-08' -'164','val_164','2008-04-08' -'164','val_164','2008-04-08' -'164','val_164','2008-04-08' -'164','val_164','2008-04-09' -'164','val_164','2008-04-09' -'164','val_164','2008-04-09' -'164','val_164','2008-04-09' -'165','val_165','2008-04-09' -'165','val_165','2008-04-09' -'165','val_165','2008-04-09' -'165','val_165','2008-04-09' -'165','val_165','2008-04-08' -'165','val_165','2008-04-08' -'165','val_165','2008-04-08' -'165','val_165','2008-04-08' -'166','val_166','2008-04-08' -'166','val_166','2008-04-08' -'166','val_166','2008-04-09' -'166','val_166','2008-04-09' -'167','val_167','2008-04-09' -'167','val_167','2008-04-09' -'167','val_167','2008-04-09' -'167','val_167','2008-04-09' -'167','val_167','2008-04-09' -'167','val_167','2008-04-09' -'167','val_167','2008-04-08' -'167','val_167','2008-04-08' -'167','val_167','2008-04-08' -'167','val_167','2008-04-08' -'167','val_167','2008-04-08' -'167','val_167','2008-04-08' -'168','val_168','2008-04-08' -'168','val_168','2008-04-08' -'168','val_168','2008-04-09' -'168','val_168','2008-04-09' -'169','val_169','2008-04-09' -'169','val_169','2008-04-09' -'169','val_169','2008-04-09' -'169','val_169','2008-04-09' -'169','val_169','2008-04-09' -'169','val_169','2008-04-09' -'169','val_169','2008-04-09' -'169','val_169','2008-04-09' -'169','val_169','2008-04-08' -'169','val_169','2008-04-08' -'169','val_169','2008-04-08' -'169','val_169','2008-04-08' -'169','val_169','2008-04-08' -'169','val_169','2008-04-08' -'169','val_169','2008-04-08' -'169','val_169','2008-04-08' -'17','val_17','2008-04-08' -'17','val_17','2008-04-08' -'17','val_17','2008-04-09' -'17','val_17','2008-04-09' -'170','val_170','2008-04-09' -'170','val_170','2008-04-09' -'170','val_170','2008-04-08' -'170','val_170','2008-04-08' -'172','val_172','2008-04-08' -'172','val_172','2008-04-08' -'172','val_172','2008-04-08' -'172','val_172','2008-04-08' -'172','val_172','2008-04-09' -'172','val_172','2008-04-09' -'172','val_172','2008-04-09' -'172','val_172','2008-04-09' -'174','val_174','2008-04-09' -'174','val_174','2008-04-09' -'174','val_174','2008-04-09' -'174','val_174','2008-04-09' -'174','val_174','2008-04-08' -'174','val_174','2008-04-08' -'174','val_174','2008-04-08' -'174','val_174','2008-04-08' -'175','val_175','2008-04-08' -'175','val_175','2008-04-08' -'175','val_175','2008-04-08' -'175','val_175','2008-04-08' -'175','val_175','2008-04-09' -'175','val_175','2008-04-09' -'175','val_175','2008-04-09' -'175','val_175','2008-04-09' -'176','val_176','2008-04-09' -'176','val_176','2008-04-09' -'176','val_176','2008-04-09' -'176','val_176','2008-04-09' -'176','val_176','2008-04-08' -'176','val_176','2008-04-08' -'176','val_176','2008-04-08' -'176','val_176','2008-04-08' -'177','val_177','2008-04-08' -'177','val_177','2008-04-08' -'177','val_177','2008-04-09' -'177','val_177','2008-04-09' -'178','val_178','2008-04-09' -'178','val_178','2008-04-09' -'178','val_178','2008-04-08' -'178','val_178','2008-04-08' -'179','val_179','2008-04-08' -'179','val_179','2008-04-08' -'179','val_179','2008-04-08' -'179','val_179','2008-04-08' -'179','val_179','2008-04-09' -'179','val_179','2008-04-09' -'179','val_179','2008-04-09' -'179','val_179','2008-04-09' -'18','val_18','2008-04-09' -'18','val_18','2008-04-09' -'18','val_18','2008-04-09' -'18','val_18','2008-04-09' -'18','val_18','2008-04-08' -'18','val_18','2008-04-08' -'18','val_18','2008-04-08' -'18','val_18','2008-04-08' -'180','val_180','2008-04-08' -'180','val_180','2008-04-08' -'180','val_180','2008-04-09' -'180','val_180','2008-04-09' -'181','val_181','2008-04-09' -'181','val_181','2008-04-09' -'181','val_181','2008-04-08' -'181','val_181','2008-04-08' -'183','val_183','2008-04-08' -'183','val_183','2008-04-08' -'183','val_183','2008-04-09' -'183','val_183','2008-04-09' -'186','val_186','2008-04-09' -'186','val_186','2008-04-09' -'186','val_186','2008-04-08' -'186','val_186','2008-04-08' -'187','val_187','2008-04-08' -'187','val_187','2008-04-08' -'187','val_187','2008-04-08' -'187','val_187','2008-04-08' -'187','val_187','2008-04-08' -'187','val_187','2008-04-08' -'187','val_187','2008-04-09' -'187','val_187','2008-04-09' -'187','val_187','2008-04-09' -'187','val_187','2008-04-09' -'187','val_187','2008-04-09' -'187','val_187','2008-04-09' -'189','val_189','2008-04-09' -'189','val_189','2008-04-09' -'189','val_189','2008-04-08' -'189','val_189','2008-04-08' -'19','val_19','2008-04-08' -'19','val_19','2008-04-08' -'19','val_19','2008-04-09' -'19','val_19','2008-04-09' -'190','val_190','2008-04-09' -'190','val_190','2008-04-09' -'190','val_190','2008-04-08' -'190','val_190','2008-04-08' -'191','val_191','2008-04-08' -'191','val_191','2008-04-08' -'191','val_191','2008-04-08' -'191','val_191','2008-04-08' -'191','val_191','2008-04-09' -'191','val_191','2008-04-09' -'191','val_191','2008-04-09' -'191','val_191','2008-04-09' -'192','val_192','2008-04-09' -'192','val_192','2008-04-09' -'192','val_192','2008-04-08' -'192','val_192','2008-04-08' -'193','val_193','2008-04-08' -'193','val_193','2008-04-08' -'193','val_193','2008-04-08' -'193','val_193','2008-04-08' -'193','val_193','2008-04-08' -'193','val_193','2008-04-08' -'193','val_193','2008-04-09' -'193','val_193','2008-04-09' -'193','val_193','2008-04-09' -'193','val_193','2008-04-09' -'193','val_193','2008-04-09' -'193','val_193','2008-04-09' -'194','val_194','2008-04-09' -'194','val_194','2008-04-09' -'194','val_194','2008-04-08' -'194','val_194','2008-04-08' -'195','val_195','2008-04-08' -'195','val_195','2008-04-08' -'195','val_195','2008-04-08' -'195','val_195','2008-04-08' -'195','val_195','2008-04-09' -'195','val_195','2008-04-09' -'195','val_195','2008-04-09' -'195','val_195','2008-04-09' -'196','val_196','2008-04-09' -'196','val_196','2008-04-09' -'196','val_196','2008-04-08' -'196','val_196','2008-04-08' -'197','val_197','2008-04-08' -'197','val_197','2008-04-08' -'197','val_197','2008-04-08' -'197','val_197','2008-04-08' -'197','val_197','2008-04-09' -'197','val_197','2008-04-09' -'197','val_197','2008-04-09' -'197','val_197','2008-04-09' -'199','val_199','2008-04-09' -'199','val_199','2008-04-09' -'199','val_199','2008-04-09' -'199','val_199','2008-04-09' -'199','val_199','2008-04-09' -'199','val_199','2008-04-09' -'199','val_199','2008-04-08' -'199','val_199','2008-04-08' -'199','val_199','2008-04-08' -'199','val_199','2008-04-08' -'199','val_199','2008-04-08' -'199','val_199','2008-04-08' -'2','val_2','2008-04-08' -'2','val_2','2008-04-08' -'2','val_2','2008-04-09' -'2','val_2','2008-04-09' -'20','val_20','2008-04-09' -'20','val_20','2008-04-09' -'20','val_20','2008-04-08' -'20','val_20','2008-04-08' -'200','val_200','2008-04-08' -'200','val_200','2008-04-08' -'200','val_200','2008-04-08' -'200','val_200','2008-04-08' -'200','val_200','2008-04-09' -'200','val_200','2008-04-09' -'200','val_200','2008-04-09' -'200','val_200','2008-04-09' -'201','val_201','2008-04-09' -'201','val_201','2008-04-09' -'201','val_201','2008-04-08' -'201','val_201','2008-04-08' -'202','val_202','2008-04-08' -'202','val_202','2008-04-08' -'202','val_202','2008-04-09' -'202','val_202','2008-04-09' -'203','val_203','2008-04-09' -'203','val_203','2008-04-09' -'203','val_203','2008-04-09' -'203','val_203','2008-04-09' -'203','val_203','2008-04-08' -'203','val_203','2008-04-08' -'203','val_203','2008-04-08' -'203','val_203','2008-04-08' -'205','val_205','2008-04-08' -'205','val_205','2008-04-08' -'205','val_205','2008-04-08' -'205','val_205','2008-04-08' -'205','val_205','2008-04-09' -'205','val_205','2008-04-09' -'205','val_205','2008-04-09' -'205','val_205','2008-04-09' -'207','val_207','2008-04-09' -'207','val_207','2008-04-09' -'207','val_207','2008-04-09' -'207','val_207','2008-04-09' -'207','val_207','2008-04-08' -'207','val_207','2008-04-08' -'207','val_207','2008-04-08' -'207','val_207','2008-04-08' -'208','val_208','2008-04-08' -'208','val_208','2008-04-08' -'208','val_208','2008-04-08' -'208','val_208','2008-04-08' -'208','val_208','2008-04-08' -'208','val_208','2008-04-08' -'208','val_208','2008-04-09' -'208','val_208','2008-04-09' -'208','val_208','2008-04-09' -'208','val_208','2008-04-09' -'208','val_208','2008-04-09' -'208','val_208','2008-04-09' -'209','val_209','2008-04-09' -'209','val_209','2008-04-09' -'209','val_209','2008-04-09' -'209','val_209','2008-04-09' -'209','val_209','2008-04-08' -'209','val_209','2008-04-08' -'209','val_209','2008-04-08' -'209','val_209','2008-04-08' -'213','val_213','2008-04-08' -'213','val_213','2008-04-08' -'213','val_213','2008-04-08' -'213','val_213','2008-04-08' -'213','val_213','2008-04-09' -'213','val_213','2008-04-09' -'213','val_213','2008-04-09' -'213','val_213','2008-04-09' -'214','val_214','2008-04-09' -'214','val_214','2008-04-09' -'214','val_214','2008-04-08' -'214','val_214','2008-04-08' -'216','val_216','2008-04-08' -'216','val_216','2008-04-08' -'216','val_216','2008-04-08' -'216','val_216','2008-04-08' -'216','val_216','2008-04-09' -'216','val_216','2008-04-09' -'216','val_216','2008-04-09' -'216','val_216','2008-04-09' -'217','val_217','2008-04-09' -'217','val_217','2008-04-09' -'217','val_217','2008-04-09' -'217','val_217','2008-04-09' -'217','val_217','2008-04-08' -'217','val_217','2008-04-08' -'217','val_217','2008-04-08' -'217','val_217','2008-04-08' -'218','val_218','2008-04-08' -'218','val_218','2008-04-08' -'218','val_218','2008-04-09' -'218','val_218','2008-04-09' -'219','val_219','2008-04-09' -'219','val_219','2008-04-09' -'219','val_219','2008-04-09' -'219','val_219','2008-04-09' -'219','val_219','2008-04-08' -'219','val_219','2008-04-08' -'219','val_219','2008-04-08' -'219','val_219','2008-04-08' -'221','val_221','2008-04-08' -'221','val_221','2008-04-08' -'221','val_221','2008-04-08' -'221','val_221','2008-04-08' -'221','val_221','2008-04-09' -'221','val_221','2008-04-09' -'221','val_221','2008-04-09' -'221','val_221','2008-04-09' -'222','val_222','2008-04-09' -'222','val_222','2008-04-09' -'222','val_222','2008-04-08' -'222','val_222','2008-04-08' -'223','val_223','2008-04-08' -'223','val_223','2008-04-08' -'223','val_223','2008-04-08' -'223','val_223','2008-04-08' -'223','val_223','2008-04-09' -'223','val_223','2008-04-09' -'223','val_223','2008-04-09' -'223','val_223','2008-04-09' -'224','val_224','2008-04-09' -'224','val_224','2008-04-09' -'224','val_224','2008-04-09' -'224','val_224','2008-04-09' -'224','val_224','2008-04-08' -'224','val_224','2008-04-08' -'224','val_224','2008-04-08' -'224','val_224','2008-04-08' -'226','val_226','2008-04-08' -'226','val_226','2008-04-08' -'226','val_226','2008-04-09' -'226','val_226','2008-04-09' -'228','val_228','2008-04-09' -'228','val_228','2008-04-09' -'228','val_228','2008-04-08' -'228','val_228','2008-04-08' -'229','val_229','2008-04-08' -'229','val_229','2008-04-08' -'229','val_229','2008-04-08' -'229','val_229','2008-04-08' -'229','val_229','2008-04-09' -'229','val_229','2008-04-09' -'229','val_229','2008-04-09' -'229','val_229','2008-04-09' -'230','val_230','2008-04-09' -'230','val_230','2008-04-09' -'230','val_230','2008-04-09' -'230','val_230','2008-04-09' -'230','val_230','2008-04-09' -'230','val_230','2008-04-09' -'230','val_230','2008-04-09' -'230','val_230','2008-04-09' -'230','val_230','2008-04-09' -'230','val_230','2008-04-09' -'230','val_230','2008-04-08' -'230','val_230','2008-04-08' -'230','val_230','2008-04-08' -'230','val_230','2008-04-08' -'230','val_230','2008-04-08' -'230','val_230','2008-04-08' -'230','val_230','2008-04-08' -'230','val_230','2008-04-08' -'230','val_230','2008-04-08' -'230','val_230','2008-04-08' -'233','val_233','2008-04-08' -'233','val_233','2008-04-08' -'233','val_233','2008-04-08' -'233','val_233','2008-04-08' -'233','val_233','2008-04-09' -'233','val_233','2008-04-09' -'233','val_233','2008-04-09' -'233','val_233','2008-04-09' -'235','val_235','2008-04-09' -'235','val_235','2008-04-09' -'235','val_235','2008-04-08' -'235','val_235','2008-04-08' -'237','val_237','2008-04-08' -'237','val_237','2008-04-08' -'237','val_237','2008-04-08' -'237','val_237','2008-04-08' -'237','val_237','2008-04-09' -'237','val_237','2008-04-09' -'237','val_237','2008-04-09' -'237','val_237','2008-04-09' -'238','val_238','2008-04-09' -'238','val_238','2008-04-09' -'238','val_238','2008-04-09' -'238','val_238','2008-04-09' -'238','val_238','2008-04-08' -'238','val_238','2008-04-08' -'238','val_238','2008-04-08' -'238','val_238','2008-04-08' -'239','val_239','2008-04-08' -'239','val_239','2008-04-08' -'239','val_239','2008-04-08' -'239','val_239','2008-04-08' -'239','val_239','2008-04-09' -'239','val_239','2008-04-09' -'239','val_239','2008-04-09' -'239','val_239','2008-04-09' -'24','val_24','2008-04-09' -'24','val_24','2008-04-09' -'24','val_24','2008-04-09' -'24','val_24','2008-04-09' -'24','val_24','2008-04-08' -'24','val_24','2008-04-08' -'24','val_24','2008-04-08' -'24','val_24','2008-04-08' -'241','val_241','2008-04-08' -'241','val_241','2008-04-08' -'241','val_241','2008-04-09' -'241','val_241','2008-04-09' -'242','val_242','2008-04-09' -'242','val_242','2008-04-09' -'242','val_242','2008-04-09' -'242','val_242','2008-04-09' -'242','val_242','2008-04-08' -'242','val_242','2008-04-08' -'242','val_242','2008-04-08' -'242','val_242','2008-04-08' -'244','val_244','2008-04-08' -'244','val_244','2008-04-08' -'244','val_244','2008-04-09' -'244','val_244','2008-04-09' -'247','val_247','2008-04-09' -'247','val_247','2008-04-09' -'247','val_247','2008-04-08' -'247','val_247','2008-04-08' -'248','val_248','2008-04-08' -'248','val_248','2008-04-08' -'248','val_248','2008-04-09' -'248','val_248','2008-04-09' -'249','val_249','2008-04-09' -'249','val_249','2008-04-09' -'249','val_249','2008-04-08' -'249','val_249','2008-04-08' -'252','val_252','2008-04-08' -'252','val_252','2008-04-08' -'252','val_252','2008-04-09' -'252','val_252','2008-04-09' -'255','val_255','2008-04-09' -'255','val_255','2008-04-09' -'255','val_255','2008-04-09' -'255','val_255','2008-04-09' -'255','val_255','2008-04-08' -'255','val_255','2008-04-08' -'255','val_255','2008-04-08' -'255','val_255','2008-04-08' -'256','val_256','2008-04-08' -'256','val_256','2008-04-08' -'256','val_256','2008-04-08' -'256','val_256','2008-04-08' -'256','val_256','2008-04-09' -'256','val_256','2008-04-09' -'256','val_256','2008-04-09' -'256','val_256','2008-04-09' -'257','val_257','2008-04-09' -'257','val_257','2008-04-09' -'257','val_257','2008-04-08' -'257','val_257','2008-04-08' -'258','val_258','2008-04-08' -'258','val_258','2008-04-08' -'258','val_258','2008-04-09' -'258','val_258','2008-04-09' -'26','val_26','2008-04-09' -'26','val_26','2008-04-09' -'26','val_26','2008-04-09' -'26','val_26','2008-04-09' -'26','val_26','2008-04-08' -'26','val_26','2008-04-08' -'26','val_26','2008-04-08' -'26','val_26','2008-04-08' -'260','val_260','2008-04-08' -'260','val_260','2008-04-08' -'260','val_260','2008-04-09' -'260','val_260','2008-04-09' -'262','val_262','2008-04-09' -'262','val_262','2008-04-09' -'262','val_262','2008-04-08' -'262','val_262','2008-04-08' -'263','val_263','2008-04-08' -'263','val_263','2008-04-08' -'263','val_263','2008-04-09' -'263','val_263','2008-04-09' -'265','val_265','2008-04-09' -'265','val_265','2008-04-09' -'265','val_265','2008-04-09' -'265','val_265','2008-04-09' -'265','val_265','2008-04-08' -'265','val_265','2008-04-08' -'265','val_265','2008-04-08' -'265','val_265','2008-04-08' -'266','val_266','2008-04-08' -'266','val_266','2008-04-08' -'266','val_266','2008-04-09' -'266','val_266','2008-04-09' -'27','val_27','2008-04-09' -'27','val_27','2008-04-09' -'27','val_27','2008-04-08' -'27','val_27','2008-04-08' -'272','val_272','2008-04-08' -'272','val_272','2008-04-08' -'272','val_272','2008-04-08' -'272','val_272','2008-04-08' -'272','val_272','2008-04-09' -'272','val_272','2008-04-09' -'272','val_272','2008-04-09' -'272','val_272','2008-04-09' -'273','val_273','2008-04-09' -'273','val_273','2008-04-09' -'273','val_273','2008-04-09' -'273','val_273','2008-04-09' -'273','val_273','2008-04-09' -'273','val_273','2008-04-09' -'273','val_273','2008-04-08' -'273','val_273','2008-04-08' -'273','val_273','2008-04-08' -'273','val_273','2008-04-08' -'273','val_273','2008-04-08' -'273','val_273','2008-04-08' -'274','val_274','2008-04-08' -'274','val_274','2008-04-08' -'274','val_274','2008-04-09' -'274','val_274','2008-04-09' -'275','val_275','2008-04-09' -'275','val_275','2008-04-09' -'275','val_275','2008-04-08' -'275','val_275','2008-04-08' -'277','val_277','2008-04-08' -'277','val_277','2008-04-08' -'277','val_277','2008-04-08' -'277','val_277','2008-04-08' -'277','val_277','2008-04-08' -'277','val_277','2008-04-08' -'277','val_277','2008-04-08' -'277','val_277','2008-04-08' -'277','val_277','2008-04-09' -'277','val_277','2008-04-09' -'277','val_277','2008-04-09' -'277','val_277','2008-04-09' -'277','val_277','2008-04-09' -'277','val_277','2008-04-09' -'277','val_277','2008-04-09' -'277','val_277','2008-04-09' -'278','val_278','2008-04-09' -'278','val_278','2008-04-09' -'278','val_278','2008-04-09' -'278','val_278','2008-04-09' -'278','val_278','2008-04-08' -'278','val_278','2008-04-08' -'278','val_278','2008-04-08' -'278','val_278','2008-04-08' -'28','val_28','2008-04-08' -'28','val_28','2008-04-08' -'28','val_28','2008-04-09' -'28','val_28','2008-04-09' -'280','val_280','2008-04-09' -'280','val_280','2008-04-09' -'280','val_280','2008-04-09' -'280','val_280','2008-04-09' -'280','val_280','2008-04-08' -'280','val_280','2008-04-08' -'280','val_280','2008-04-08' -'280','val_280','2008-04-08' -'281','val_281','2008-04-08' -'281','val_281','2008-04-08' -'281','val_281','2008-04-08' -'281','val_281','2008-04-08' -'281','val_281','2008-04-09' -'281','val_281','2008-04-09' -'281','val_281','2008-04-09' -'281','val_281','2008-04-09' -'282','val_282','2008-04-09' -'282','val_282','2008-04-09' -'282','val_282','2008-04-09' -'282','val_282','2008-04-09' -'282','val_282','2008-04-08' -'282','val_282','2008-04-08' -'282','val_282','2008-04-08' -'282','val_282','2008-04-08' -'283','val_283','2008-04-08' -'283','val_283','2008-04-08' -'283','val_283','2008-04-09' -'283','val_283','2008-04-09' -'284','val_284','2008-04-09' -'284','val_284','2008-04-09' -'284','val_284','2008-04-08' -'284','val_284','2008-04-08' -'285','val_285','2008-04-08' -'285','val_285','2008-04-08' -'285','val_285','2008-04-09' -'285','val_285','2008-04-09' -'286','val_286','2008-04-09' -'286','val_286','2008-04-09' -'286','val_286','2008-04-08' -'286','val_286','2008-04-08' -'287','val_287','2008-04-08' -'287','val_287','2008-04-08' -'287','val_287','2008-04-09' -'287','val_287','2008-04-09' -'288','val_288','2008-04-09' -'288','val_288','2008-04-09' -'288','val_288','2008-04-09' -'288','val_288','2008-04-09' -'288','val_288','2008-04-08' -'288','val_288','2008-04-08' -'288','val_288','2008-04-08' -'288','val_288','2008-04-08' -'289','val_289','2008-04-08' -'289','val_289','2008-04-08' -'289','val_289','2008-04-09' -'289','val_289','2008-04-09' -'291','val_291','2008-04-09' -'291','val_291','2008-04-09' -'291','val_291','2008-04-08' -'291','val_291','2008-04-08' -'292','val_292','2008-04-08' -'292','val_292','2008-04-08' -'292','val_292','2008-04-09' -'292','val_292','2008-04-09' -'296','val_296','2008-04-09' -'296','val_296','2008-04-09' -'296','val_296','2008-04-08' -'296','val_296','2008-04-08' -'298','val_298','2008-04-08' -'298','val_298','2008-04-08' -'298','val_298','2008-04-08' -'298','val_298','2008-04-08' -'298','val_298','2008-04-08' -'298','val_298','2008-04-08' -'298','val_298','2008-04-09' -'298','val_298','2008-04-09' -'298','val_298','2008-04-09' -'298','val_298','2008-04-09' -'298','val_298','2008-04-09' -'298','val_298','2008-04-09' -'30','val_30','2008-04-09' -'30','val_30','2008-04-09' -'30','val_30','2008-04-08' -'30','val_30','2008-04-08' -'302','val_302','2008-04-08' -'302','val_302','2008-04-08' -'302','val_302','2008-04-09' -'302','val_302','2008-04-09' -'305','val_305','2008-04-09' -'305','val_305','2008-04-09' -'305','val_305','2008-04-08' -'305','val_305','2008-04-08' -'306','val_306','2008-04-08' -'306','val_306','2008-04-08' -'306','val_306','2008-04-09' -'306','val_306','2008-04-09' -'307','val_307','2008-04-09' -'307','val_307','2008-04-09' -'307','val_307','2008-04-09' -'307','val_307','2008-04-09' -'307','val_307','2008-04-08' -'307','val_307','2008-04-08' -'307','val_307','2008-04-08' -'307','val_307','2008-04-08' -'308','val_308','2008-04-08' -'308','val_308','2008-04-08' -'308','val_308','2008-04-09' -'308','val_308','2008-04-09' -'309','val_309','2008-04-09' -'309','val_309','2008-04-09' -'309','val_309','2008-04-09' -'309','val_309','2008-04-09' -'309','val_309','2008-04-08' -'309','val_309','2008-04-08' -'309','val_309','2008-04-08' -'309','val_309','2008-04-08' -'310','val_310','2008-04-08' -'310','val_310','2008-04-08' -'310','val_310','2008-04-09' -'310','val_310','2008-04-09' -'311','val_311','2008-04-09' -'311','val_311','2008-04-09' -'311','val_311','2008-04-09' -'311','val_311','2008-04-09' -'311','val_311','2008-04-09' -'311','val_311','2008-04-09' -'311','val_311','2008-04-08' -'311','val_311','2008-04-08' -'311','val_311','2008-04-08' -'311','val_311','2008-04-08' -'311','val_311','2008-04-08' -'311','val_311','2008-04-08' -'315','val_315','2008-04-08' -'315','val_315','2008-04-08' -'315','val_315','2008-04-09' -'315','val_315','2008-04-09' -'316','val_316','2008-04-09' -'316','val_316','2008-04-09' -'316','val_316','2008-04-09' -'316','val_316','2008-04-09' -'316','val_316','2008-04-09' -'316','val_316','2008-04-09' -'316','val_316','2008-04-08' -'316','val_316','2008-04-08' -'316','val_316','2008-04-08' -'316','val_316','2008-04-08' -'316','val_316','2008-04-08' -'316','val_316','2008-04-08' -'317','val_317','2008-04-08' -'317','val_317','2008-04-08' -'317','val_317','2008-04-08' -'317','val_317','2008-04-08' -'317','val_317','2008-04-09' -'317','val_317','2008-04-09' -'317','val_317','2008-04-09' -'317','val_317','2008-04-09' -'318','val_318','2008-04-09' -'318','val_318','2008-04-09' -'318','val_318','2008-04-09' -'318','val_318','2008-04-09' -'318','val_318','2008-04-09' -'318','val_318','2008-04-09' -'318','val_318','2008-04-08' -'318','val_318','2008-04-08' -'318','val_318','2008-04-08' -'318','val_318','2008-04-08' -'318','val_318','2008-04-08' -'318','val_318','2008-04-08' -'321','val_321','2008-04-08' -'321','val_321','2008-04-08' -'321','val_321','2008-04-08' -'321','val_321','2008-04-08' -'321','val_321','2008-04-09' -'321','val_321','2008-04-09' -'321','val_321','2008-04-09' -'321','val_321','2008-04-09' -'322','val_322','2008-04-09' -'322','val_322','2008-04-09' -'322','val_322','2008-04-09' -'322','val_322','2008-04-09' -'322','val_322','2008-04-08' -'322','val_322','2008-04-08' -'322','val_322','2008-04-08' -'322','val_322','2008-04-08' -'323','val_323','2008-04-08' -'323','val_323','2008-04-08' -'323','val_323','2008-04-09' -'323','val_323','2008-04-09' -'325','val_325','2008-04-09' -'325','val_325','2008-04-09' -'325','val_325','2008-04-09' -'325','val_325','2008-04-09' -'325','val_325','2008-04-08' -'325','val_325','2008-04-08' -'325','val_325','2008-04-08' -'325','val_325','2008-04-08' -'327','val_327','2008-04-08' -'327','val_327','2008-04-08' -'327','val_327','2008-04-08' -'327','val_327','2008-04-08' -'327','val_327','2008-04-08' -'327','val_327','2008-04-08' -'327','val_327','2008-04-09' -'327','val_327','2008-04-09' -'327','val_327','2008-04-09' -'327','val_327','2008-04-09' -'327','val_327','2008-04-09' -'327','val_327','2008-04-09' -'33','val_33','2008-04-09' -'33','val_33','2008-04-09' -'33','val_33','2008-04-08' -'33','val_33','2008-04-08' -'331','val_331','2008-04-08' -'331','val_331','2008-04-08' -'331','val_331','2008-04-08' -'331','val_331','2008-04-08' -'331','val_331','2008-04-09' -'331','val_331','2008-04-09' -'331','val_331','2008-04-09' -'331','val_331','2008-04-09' -'332','val_332','2008-04-09' -'332','val_332','2008-04-09' -'332','val_332','2008-04-08' -'332','val_332','2008-04-08' -'333','val_333','2008-04-08' -'333','val_333','2008-04-08' -'333','val_333','2008-04-08' -'333','val_333','2008-04-08' -'333','val_333','2008-04-09' -'333','val_333','2008-04-09' -'333','val_333','2008-04-09' -'333','val_333','2008-04-09' -'335','val_335','2008-04-09' -'335','val_335','2008-04-09' -'335','val_335','2008-04-08' -'335','val_335','2008-04-08' -'336','val_336','2008-04-08' -'336','val_336','2008-04-08' -'336','val_336','2008-04-09' -'336','val_336','2008-04-09' -'338','val_338','2008-04-09' -'338','val_338','2008-04-09' -'338','val_338','2008-04-08' -'338','val_338','2008-04-08' -'339','val_339','2008-04-08' -'339','val_339','2008-04-08' -'339','val_339','2008-04-09' -'339','val_339','2008-04-09' -'34','val_34','2008-04-09' -'34','val_34','2008-04-09' -'34','val_34','2008-04-08' -'34','val_34','2008-04-08' -'341','val_341','2008-04-08' -'341','val_341','2008-04-08' -'341','val_341','2008-04-09' -'341','val_341','2008-04-09' -'342','val_342','2008-04-09' -'342','val_342','2008-04-09' -'342','val_342','2008-04-09' -'342','val_342','2008-04-09' -'342','val_342','2008-04-08' -'342','val_342','2008-04-08' -'342','val_342','2008-04-08' -'342','val_342','2008-04-08' -'344','val_344','2008-04-08' -'344','val_344','2008-04-08' -'344','val_344','2008-04-08' -'344','val_344','2008-04-08' -'344','val_344','2008-04-09' -'344','val_344','2008-04-09' -'344','val_344','2008-04-09' -'344','val_344','2008-04-09' -'345','val_345','2008-04-09' -'345','val_345','2008-04-09' -'345','val_345','2008-04-08' -'345','val_345','2008-04-08' -'348','val_348','2008-04-08' -'348','val_348','2008-04-08' -'348','val_348','2008-04-08' -'348','val_348','2008-04-08' -'348','val_348','2008-04-08' -'348','val_348','2008-04-08' -'348','val_348','2008-04-08' -'348','val_348','2008-04-08' -'348','val_348','2008-04-08' -'348','val_348','2008-04-08' -'348','val_348','2008-04-09' -'348','val_348','2008-04-09' -'348','val_348','2008-04-09' -'348','val_348','2008-04-09' -'348','val_348','2008-04-09' -'348','val_348','2008-04-09' -'348','val_348','2008-04-09' -'348','val_348','2008-04-09' -'348','val_348','2008-04-09' -'348','val_348','2008-04-09' -'35','val_35','2008-04-09' -'35','val_35','2008-04-09' -'35','val_35','2008-04-09' -'35','val_35','2008-04-09' -'35','val_35','2008-04-09' -'35','val_35','2008-04-09' -'35','val_35','2008-04-08' -'35','val_35','2008-04-08' -'35','val_35','2008-04-08' -'35','val_35','2008-04-08' -'35','val_35','2008-04-08' -'35','val_35','2008-04-08' -'351','val_351','2008-04-08' -'351','val_351','2008-04-08' -'351','val_351','2008-04-09' -'351','val_351','2008-04-09' -'353','val_353','2008-04-09' -'353','val_353','2008-04-09' -'353','val_353','2008-04-09' -'353','val_353','2008-04-09' -'353','val_353','2008-04-08' -'353','val_353','2008-04-08' -'353','val_353','2008-04-08' -'353','val_353','2008-04-08' -'356','val_356','2008-04-08' -'356','val_356','2008-04-08' -'356','val_356','2008-04-09' -'356','val_356','2008-04-09' -'360','val_360','2008-04-09' -'360','val_360','2008-04-09' -'360','val_360','2008-04-08' -'360','val_360','2008-04-08' -'362','val_362','2008-04-08' -'362','val_362','2008-04-08' -'362','val_362','2008-04-09' -'362','val_362','2008-04-09' -'364','val_364','2008-04-09' -'364','val_364','2008-04-09' -'364','val_364','2008-04-08' -'364','val_364','2008-04-08' -'365','val_365','2008-04-08' -'365','val_365','2008-04-08' -'365','val_365','2008-04-09' -'365','val_365','2008-04-09' -'366','val_366','2008-04-09' -'366','val_366','2008-04-09' -'366','val_366','2008-04-08' -'366','val_366','2008-04-08' -'367','val_367','2008-04-08' -'367','val_367','2008-04-08' -'367','val_367','2008-04-08' -'367','val_367','2008-04-08' -'367','val_367','2008-04-09' -'367','val_367','2008-04-09' -'367','val_367','2008-04-09' -'367','val_367','2008-04-09' -'368','val_368','2008-04-09' -'368','val_368','2008-04-09' -'368','val_368','2008-04-08' -'368','val_368','2008-04-08' -'369','val_369','2008-04-08' -'369','val_369','2008-04-08' -'369','val_369','2008-04-08' -'369','val_369','2008-04-08' -'369','val_369','2008-04-08' -'369','val_369','2008-04-08' -'369','val_369','2008-04-09' -'369','val_369','2008-04-09' -'369','val_369','2008-04-09' -'369','val_369','2008-04-09' -'369','val_369','2008-04-09' -'369','val_369','2008-04-09' -'37','val_37','2008-04-09' -'37','val_37','2008-04-09' -'37','val_37','2008-04-09' -'37','val_37','2008-04-09' -'37','val_37','2008-04-08' -'37','val_37','2008-04-08' -'37','val_37','2008-04-08' -'37','val_37','2008-04-08' -'373','val_373','2008-04-08' -'373','val_373','2008-04-08' -'373','val_373','2008-04-09' -'373','val_373','2008-04-09' -'374','val_374','2008-04-09' -'374','val_374','2008-04-09' -'374','val_374','2008-04-08' -'374','val_374','2008-04-08' -'375','val_375','2008-04-08' -'375','val_375','2008-04-08' -'375','val_375','2008-04-09' -'375','val_375','2008-04-09' -'377','val_377','2008-04-09' -'377','val_377','2008-04-09' -'377','val_377','2008-04-08' -'377','val_377','2008-04-08' -'378','val_378','2008-04-08' -'378','val_378','2008-04-08' -'378','val_378','2008-04-09' -'378','val_378','2008-04-09' -'379','val_379','2008-04-09' -'379','val_379','2008-04-09' -'379','val_379','2008-04-08' -'379','val_379','2008-04-08' -'382','val_382','2008-04-08' -'382','val_382','2008-04-08' -'382','val_382','2008-04-08' -'382','val_382','2008-04-08' -'382','val_382','2008-04-09' -'382','val_382','2008-04-09' -'382','val_382','2008-04-09' -'382','val_382','2008-04-09' -'384','val_384','2008-04-09' -'384','val_384','2008-04-09' -'384','val_384','2008-04-09' -'384','val_384','2008-04-09' -'384','val_384','2008-04-09' -'384','val_384','2008-04-09' -'384','val_384','2008-04-08' -'384','val_384','2008-04-08' -'384','val_384','2008-04-08' -'384','val_384','2008-04-08' -'384','val_384','2008-04-08' -'384','val_384','2008-04-08' -'386','val_386','2008-04-08' -'386','val_386','2008-04-08' -'386','val_386','2008-04-09' -'386','val_386','2008-04-09' -'389','val_389','2008-04-09' -'389','val_389','2008-04-09' -'389','val_389','2008-04-08' -'389','val_389','2008-04-08' -'392','val_392','2008-04-08' -'392','val_392','2008-04-08' -'392','val_392','2008-04-09' -'392','val_392','2008-04-09' -'393','val_393','2008-04-09' -'393','val_393','2008-04-09' -'393','val_393','2008-04-08' -'393','val_393','2008-04-08' -'394','val_394','2008-04-08' -'394','val_394','2008-04-08' -'394','val_394','2008-04-09' -'394','val_394','2008-04-09' -'395','val_395','2008-04-09' -'395','val_395','2008-04-09' -'395','val_395','2008-04-09' -'395','val_395','2008-04-09' -'395','val_395','2008-04-08' -'395','val_395','2008-04-08' -'395','val_395','2008-04-08' -'395','val_395','2008-04-08' -'396','val_396','2008-04-08' -'396','val_396','2008-04-08' -'396','val_396','2008-04-08' -'396','val_396','2008-04-08' -'396','val_396','2008-04-08' -'396','val_396','2008-04-08' -'396','val_396','2008-04-09' -'396','val_396','2008-04-09' -'396','val_396','2008-04-09' -'396','val_396','2008-04-09' -'396','val_396','2008-04-09' -'396','val_396','2008-04-09' -'397','val_397','2008-04-09' -'397','val_397','2008-04-09' -'397','val_397','2008-04-09' -'397','val_397','2008-04-09' -'397','val_397','2008-04-08' -'397','val_397','2008-04-08' -'397','val_397','2008-04-08' -'397','val_397','2008-04-08' -'399','val_399','2008-04-08' -'399','val_399','2008-04-08' -'399','val_399','2008-04-08' -'399','val_399','2008-04-08' -'399','val_399','2008-04-09' -'399','val_399','2008-04-09' -'399','val_399','2008-04-09' -'399','val_399','2008-04-09' -'4','val_4','2008-04-09' -'4','val_4','2008-04-09' -'4','val_4','2008-04-08' -'4','val_4','2008-04-08' -'400','val_400','2008-04-08' -'400','val_400','2008-04-08' -'400','val_400','2008-04-09' -'400','val_400','2008-04-09' -'401','val_401','2008-04-09' -'401','val_401','2008-04-09' -'401','val_401','2008-04-09' -'401','val_401','2008-04-09' -'401','val_401','2008-04-09' -'401','val_401','2008-04-09' -'401','val_401','2008-04-09' -'401','val_401','2008-04-09' -'401','val_401','2008-04-09' -'401','val_401','2008-04-09' -'401','val_401','2008-04-08' -'401','val_401','2008-04-08' -'401','val_401','2008-04-08' -'401','val_401','2008-04-08' -'401','val_401','2008-04-08' -'401','val_401','2008-04-08' -'401','val_401','2008-04-08' -'401','val_401','2008-04-08' -'401','val_401','2008-04-08' -'401','val_401','2008-04-08' -'402','val_402','2008-04-08' -'402','val_402','2008-04-08' -'402','val_402','2008-04-09' -'402','val_402','2008-04-09' -'403','val_403','2008-04-09' -'403','val_403','2008-04-09' -'403','val_403','2008-04-09' -'403','val_403','2008-04-09' -'403','val_403','2008-04-09' -'403','val_403','2008-04-09' -'403','val_403','2008-04-08' -'403','val_403','2008-04-08' -'403','val_403','2008-04-08' -'403','val_403','2008-04-08' -'403','val_403','2008-04-08' -'403','val_403','2008-04-08' -'404','val_404','2008-04-08' -'404','val_404','2008-04-08' -'404','val_404','2008-04-08' -'404','val_404','2008-04-08' -'404','val_404','2008-04-09' -'404','val_404','2008-04-09' -'404','val_404','2008-04-09' -'404','val_404','2008-04-09' -'406','val_406','2008-04-09' -'406','val_406','2008-04-09' -'406','val_406','2008-04-09' -'406','val_406','2008-04-09' -'406','val_406','2008-04-09' -'406','val_406','2008-04-09' -'406','val_406','2008-04-09' -'406','val_406','2008-04-09' -'406','val_406','2008-04-08' -'406','val_406','2008-04-08' -'406','val_406','2008-04-08' -'406','val_406','2008-04-08' -'406','val_406','2008-04-08' -'406','val_406','2008-04-08' -'406','val_406','2008-04-08' -'406','val_406','2008-04-08' -'407','val_407','2008-04-08' -'407','val_407','2008-04-08' -'407','val_407','2008-04-09' -'407','val_407','2008-04-09' -'409','val_409','2008-04-09' -'409','val_409','2008-04-09' -'409','val_409','2008-04-09' -'409','val_409','2008-04-09' -'409','val_409','2008-04-09' -'409','val_409','2008-04-09' -'409','val_409','2008-04-08' -'409','val_409','2008-04-08' -'409','val_409','2008-04-08' -'409','val_409','2008-04-08' -'409','val_409','2008-04-08' -'409','val_409','2008-04-08' -'41','val_41','2008-04-08' -'41','val_41','2008-04-08' -'41','val_41','2008-04-09' -'41','val_41','2008-04-09' -'411','val_411','2008-04-09' -'411','val_411','2008-04-09' -'411','val_411','2008-04-08' -'411','val_411','2008-04-08' -'413','val_413','2008-04-08' -'413','val_413','2008-04-08' -'413','val_413','2008-04-08' -'413','val_413','2008-04-08' -'413','val_413','2008-04-09' -'413','val_413','2008-04-09' -'413','val_413','2008-04-09' -'413','val_413','2008-04-09' -'414','val_414','2008-04-09' -'414','val_414','2008-04-09' -'414','val_414','2008-04-09' -'414','val_414','2008-04-09' -'414','val_414','2008-04-08' -'414','val_414','2008-04-08' -'414','val_414','2008-04-08' -'414','val_414','2008-04-08' -'417','val_417','2008-04-08' -'417','val_417','2008-04-08' -'417','val_417','2008-04-08' -'417','val_417','2008-04-08' -'417','val_417','2008-04-08' -'417','val_417','2008-04-08' -'417','val_417','2008-04-09' -'417','val_417','2008-04-09' -'417','val_417','2008-04-09' -'417','val_417','2008-04-09' -'417','val_417','2008-04-09' -'417','val_417','2008-04-09' -'418','val_418','2008-04-09' -'418','val_418','2008-04-09' -'418','val_418','2008-04-08' -'418','val_418','2008-04-08' -'419','val_419','2008-04-08' -'419','val_419','2008-04-08' -'419','val_419','2008-04-09' -'419','val_419','2008-04-09' -'42','val_42','2008-04-09' -'42','val_42','2008-04-09' -'42','val_42','2008-04-09' -'42','val_42','2008-04-09' -'42','val_42','2008-04-08' -'42','val_42','2008-04-08' -'42','val_42','2008-04-08' -'42','val_42','2008-04-08' -'421','val_421','2008-04-08' -'421','val_421','2008-04-08' -'421','val_421','2008-04-09' -'421','val_421','2008-04-09' -'424','val_424','2008-04-09' -'424','val_424','2008-04-09' -'424','val_424','2008-04-09' -'424','val_424','2008-04-09' -'424','val_424','2008-04-08' -'424','val_424','2008-04-08' -'424','val_424','2008-04-08' -'424','val_424','2008-04-08' -'427','val_427','2008-04-08' -'427','val_427','2008-04-08' -'427','val_427','2008-04-09' -'427','val_427','2008-04-09' -'429','val_429','2008-04-09' -'429','val_429','2008-04-09' -'429','val_429','2008-04-09' -'429','val_429','2008-04-09' -'429','val_429','2008-04-08' -'429','val_429','2008-04-08' -'429','val_429','2008-04-08' -'429','val_429','2008-04-08' -'43','val_43','2008-04-08' -'43','val_43','2008-04-08' -'43','val_43','2008-04-09' -'43','val_43','2008-04-09' -'430','val_430','2008-04-09' -'430','val_430','2008-04-09' -'430','val_430','2008-04-09' -'430','val_430','2008-04-09' -'430','val_430','2008-04-09' -'430','val_430','2008-04-09' -'430','val_430','2008-04-08' -'430','val_430','2008-04-08' -'430','val_430','2008-04-08' -'430','val_430','2008-04-08' -'430','val_430','2008-04-08' -'430','val_430','2008-04-08' -'431','val_431','2008-04-08' -'431','val_431','2008-04-08' -'431','val_431','2008-04-08' -'431','val_431','2008-04-08' -'431','val_431','2008-04-08' -'431','val_431','2008-04-08' -'431','val_431','2008-04-09' -'431','val_431','2008-04-09' -'431','val_431','2008-04-09' -'431','val_431','2008-04-09' -'431','val_431','2008-04-09' -'431','val_431','2008-04-09' -'432','val_432','2008-04-09' -'432','val_432','2008-04-09' -'432','val_432','2008-04-08' -'432','val_432','2008-04-08' -'435','val_435','2008-04-08' -'435','val_435','2008-04-08' -'435','val_435','2008-04-09' -'435','val_435','2008-04-09' -'436','val_436','2008-04-09' -'436','val_436','2008-04-09' -'436','val_436','2008-04-08' -'436','val_436','2008-04-08' -'437','val_437','2008-04-08' -'437','val_437','2008-04-08' -'437','val_437','2008-04-09' -'437','val_437','2008-04-09' -'438','val_438','2008-04-09' -'438','val_438','2008-04-09' -'438','val_438','2008-04-09' -'438','val_438','2008-04-09' -'438','val_438','2008-04-09' -'438','val_438','2008-04-09' -'438','val_438','2008-04-08' -'438','val_438','2008-04-08' -'438','val_438','2008-04-08' -'438','val_438','2008-04-08' -'438','val_438','2008-04-08' -'438','val_438','2008-04-08' -'439','val_439','2008-04-08' -'439','val_439','2008-04-08' -'439','val_439','2008-04-08' -'439','val_439','2008-04-08' -'439','val_439','2008-04-09' -'439','val_439','2008-04-09' -'439','val_439','2008-04-09' -'439','val_439','2008-04-09' -'44','val_44','2008-04-09' -'44','val_44','2008-04-09' -'44','val_44','2008-04-08' -'44','val_44','2008-04-08' -'443','val_443','2008-04-08' -'443','val_443','2008-04-08' -'443','val_443','2008-04-09' -'443','val_443','2008-04-09' -'444','val_444','2008-04-09' -'444','val_444','2008-04-09' -'444','val_444','2008-04-08' -'444','val_444','2008-04-08' -'446','val_446','2008-04-08' -'446','val_446','2008-04-08' -'446','val_446','2008-04-09' -'446','val_446','2008-04-09' -'448','val_448','2008-04-09' -'448','val_448','2008-04-09' -'448','val_448','2008-04-08' -'448','val_448','2008-04-08' -'449','val_449','2008-04-08' -'449','val_449','2008-04-08' -'449','val_449','2008-04-09' -'449','val_449','2008-04-09' -'452','val_452','2008-04-09' -'452','val_452','2008-04-09' -'452','val_452','2008-04-08' -'452','val_452','2008-04-08' -'453','val_453','2008-04-08' -'453','val_453','2008-04-08' -'453','val_453','2008-04-09' -'453','val_453','2008-04-09' -'454','val_454','2008-04-09' -'454','val_454','2008-04-09' -'454','val_454','2008-04-09' -'454','val_454','2008-04-09' -'454','val_454','2008-04-09' -'454','val_454','2008-04-09' -'454','val_454','2008-04-08' -'454','val_454','2008-04-08' -'454','val_454','2008-04-08' -'454','val_454','2008-04-08' -'454','val_454','2008-04-08' -'454','val_454','2008-04-08' -'455','val_455','2008-04-08' -'455','val_455','2008-04-08' -'455','val_455','2008-04-09' -'455','val_455','2008-04-09' -'457','val_457','2008-04-09' -'457','val_457','2008-04-09' -'457','val_457','2008-04-08' -'457','val_457','2008-04-08' -'458','val_458','2008-04-08' -'458','val_458','2008-04-08' -'458','val_458','2008-04-08' -'458','val_458','2008-04-08' -'458','val_458','2008-04-09' -'458','val_458','2008-04-09' -'458','val_458','2008-04-09' -'458','val_458','2008-04-09' -'459','val_459','2008-04-09' -'459','val_459','2008-04-09' -'459','val_459','2008-04-09' -'459','val_459','2008-04-09' -'459','val_459','2008-04-08' -'459','val_459','2008-04-08' -'459','val_459','2008-04-08' -'459','val_459','2008-04-08' -'460','val_460','2008-04-08' -'460','val_460','2008-04-08' -'460','val_460','2008-04-09' -'460','val_460','2008-04-09' -'462','val_462','2008-04-09' -'462','val_462','2008-04-09' -'462','val_462','2008-04-09' -'462','val_462','2008-04-09' -'462','val_462','2008-04-08' -'462','val_462','2008-04-08' -'462','val_462','2008-04-08' -'462','val_462','2008-04-08' -'463','val_463','2008-04-08' -'463','val_463','2008-04-08' -'463','val_463','2008-04-08' -'463','val_463','2008-04-08' -'463','val_463','2008-04-09' -'463','val_463','2008-04-09' -'463','val_463','2008-04-09' -'463','val_463','2008-04-09' -'466','val_466','2008-04-09' -'466','val_466','2008-04-09' -'466','val_466','2008-04-09' -'466','val_466','2008-04-09' -'466','val_466','2008-04-09' -'466','val_466','2008-04-09' -'466','val_466','2008-04-08' -'466','val_466','2008-04-08' -'466','val_466','2008-04-08' -'466','val_466','2008-04-08' -'466','val_466','2008-04-08' -'466','val_466','2008-04-08' -'467','val_467','2008-04-08' -'467','val_467','2008-04-08' -'467','val_467','2008-04-09' -'467','val_467','2008-04-09' -'468','val_468','2008-04-09' -'468','val_468','2008-04-09' -'468','val_468','2008-04-09' -'468','val_468','2008-04-09' -'468','val_468','2008-04-09' -'468','val_468','2008-04-09' -'468','val_468','2008-04-09' -'468','val_468','2008-04-09' -'468','val_468','2008-04-08' -'468','val_468','2008-04-08' -'468','val_468','2008-04-08' -'468','val_468','2008-04-08' -'468','val_468','2008-04-08' -'468','val_468','2008-04-08' -'468','val_468','2008-04-08' -'468','val_468','2008-04-08' -'469','val_469','2008-04-08' -'469','val_469','2008-04-08' -'469','val_469','2008-04-08' -'469','val_469','2008-04-08' -'469','val_469','2008-04-08' -'469','val_469','2008-04-08' -'469','val_469','2008-04-08' -'469','val_469','2008-04-08' -'469','val_469','2008-04-08' -'469','val_469','2008-04-08' -'469','val_469','2008-04-09' -'469','val_469','2008-04-09' -'469','val_469','2008-04-09' -'469','val_469','2008-04-09' -'469','val_469','2008-04-09' -'469','val_469','2008-04-09' -'469','val_469','2008-04-09' -'469','val_469','2008-04-09' -'469','val_469','2008-04-09' -'469','val_469','2008-04-09' -'47','val_47','2008-04-09' -'47','val_47','2008-04-09' -'47','val_47','2008-04-08' -'47','val_47','2008-04-08' -'470','val_470','2008-04-08' -'470','val_470','2008-04-08' -'470','val_470','2008-04-09' -'470','val_470','2008-04-09' -'472','val_472','2008-04-09' -'472','val_472','2008-04-09' -'472','val_472','2008-04-08' -'472','val_472','2008-04-08' -'475','val_475','2008-04-08' -'475','val_475','2008-04-08' -'475','val_475','2008-04-09' -'475','val_475','2008-04-09' -'477','val_477','2008-04-09' -'477','val_477','2008-04-09' -'477','val_477','2008-04-08' -'477','val_477','2008-04-08' -'478','val_478','2008-04-08' -'478','val_478','2008-04-08' -'478','val_478','2008-04-08' -'478','val_478','2008-04-08' -'478','val_478','2008-04-09' -'478','val_478','2008-04-09' -'478','val_478','2008-04-09' -'478','val_478','2008-04-09' -'479','val_479','2008-04-09' -'479','val_479','2008-04-09' -'479','val_479','2008-04-08' -'479','val_479','2008-04-08' -'480','val_480','2008-04-08' -'480','val_480','2008-04-08' -'480','val_480','2008-04-08' -'480','val_480','2008-04-08' -'480','val_480','2008-04-08' -'480','val_480','2008-04-08' -'480','val_480','2008-04-09' -'480','val_480','2008-04-09' -'480','val_480','2008-04-09' -'480','val_480','2008-04-09' -'480','val_480','2008-04-09' -'480','val_480','2008-04-09' -'481','val_481','2008-04-09' -'481','val_481','2008-04-09' -'481','val_481','2008-04-08' -'481','val_481','2008-04-08' -'482','val_482','2008-04-08' -'482','val_482','2008-04-08' -'482','val_482','2008-04-09' -'482','val_482','2008-04-09' -'483','val_483','2008-04-09' -'483','val_483','2008-04-09' -'483','val_483','2008-04-08' -'483','val_483','2008-04-08' -'484','val_484','2008-04-08' -'484','val_484','2008-04-08' -'484','val_484','2008-04-09' -'484','val_484','2008-04-09' -'485','val_485','2008-04-09' -'485','val_485','2008-04-09' -'485','val_485','2008-04-08' -'485','val_485','2008-04-08' -'487','val_487','2008-04-08' -'487','val_487','2008-04-08' -'487','val_487','2008-04-09' -'487','val_487','2008-04-09' -'489','val_489','2008-04-09' -'489','val_489','2008-04-09' -'489','val_489','2008-04-09' -'489','val_489','2008-04-09' -'489','val_489','2008-04-09' -'489','val_489','2008-04-09' -'489','val_489','2008-04-09' -'489','val_489','2008-04-09' -'489','val_489','2008-04-08' -'489','val_489','2008-04-08' -'489','val_489','2008-04-08' -'489','val_489','2008-04-08' -'489','val_489','2008-04-08' -'489','val_489','2008-04-08' -'489','val_489','2008-04-08' -'489','val_489','2008-04-08' -'490','val_490','2008-04-08' -'490','val_490','2008-04-08' -'490','val_490','2008-04-09' -'490','val_490','2008-04-09' -'491','val_491','2008-04-09' -'491','val_491','2008-04-09' -'491','val_491','2008-04-08' -'491','val_491','2008-04-08' -'492','val_492','2008-04-08' -'492','val_492','2008-04-08' -'492','val_492','2008-04-08' -'492','val_492','2008-04-08' -'492','val_492','2008-04-09' -'492','val_492','2008-04-09' -'492','val_492','2008-04-09' -'492','val_492','2008-04-09' -'493','val_493','2008-04-09' -'493','val_493','2008-04-09' -'493','val_493','2008-04-08' -'493','val_493','2008-04-08' -'494','val_494','2008-04-08' -'494','val_494','2008-04-08' -'494','val_494','2008-04-09' -'494','val_494','2008-04-09' -'495','val_495','2008-04-09' -'495','val_495','2008-04-09' -'495','val_495','2008-04-08' -'495','val_495','2008-04-08' -'496','val_496','2008-04-08' -'496','val_496','2008-04-08' -'496','val_496','2008-04-09' -'496','val_496','2008-04-09' -'497','val_497','2008-04-09' -'497','val_497','2008-04-09' -'497','val_497','2008-04-08' -'497','val_497','2008-04-08' -'498','val_498','2008-04-08' -'498','val_498','2008-04-08' -'498','val_498','2008-04-08' -'498','val_498','2008-04-08' -'498','val_498','2008-04-08' -'498','val_498','2008-04-08' -'498','val_498','2008-04-09' -'498','val_498','2008-04-09' -'498','val_498','2008-04-09' -'498','val_498','2008-04-09' -'498','val_498','2008-04-09' -'498','val_498','2008-04-09' -'5','val_5','2008-04-09' -'5','val_5','2008-04-09' -'5','val_5','2008-04-09' -'5','val_5','2008-04-09' -'5','val_5','2008-04-09' -'5','val_5','2008-04-09' -'5','val_5','2008-04-08' -'5','val_5','2008-04-08' -'5','val_5','2008-04-08' -'5','val_5','2008-04-08' -'5','val_5','2008-04-08' -'5','val_5','2008-04-08' -'51','val_51','2008-04-08' -'51','val_51','2008-04-08' -'51','val_51','2008-04-08' -'51','val_51','2008-04-08' -'51','val_51','2008-04-09' -'51','val_51','2008-04-09' -'51','val_51','2008-04-09' -'51','val_51','2008-04-09' -'53','val_53','2008-04-09' -'53','val_53','2008-04-09' -'53','val_53','2008-04-08' -'53','val_53','2008-04-08' -'54','val_54','2008-04-08' -'54','val_54','2008-04-08' -'54','val_54','2008-04-09' -'54','val_54','2008-04-09' -'57','val_57','2008-04-09' -'57','val_57','2008-04-09' -'57','val_57','2008-04-08' -'57','val_57','2008-04-08' -'58','val_58','2008-04-08' -'58','val_58','2008-04-08' -'58','val_58','2008-04-08' -'58','val_58','2008-04-08' -'58','val_58','2008-04-09' -'58','val_58','2008-04-09' -'58','val_58','2008-04-09' -'58','val_58','2008-04-09' -'64','val_64','2008-04-09' -'64','val_64','2008-04-09' -'64','val_64','2008-04-08' -'64','val_64','2008-04-08' -'65','val_65','2008-04-08' -'65','val_65','2008-04-08' -'65','val_65','2008-04-09' -'65','val_65','2008-04-09' -'66','val_66','2008-04-09' -'66','val_66','2008-04-09' -'66','val_66','2008-04-08' -'66','val_66','2008-04-08' -'67','val_67','2008-04-08' -'67','val_67','2008-04-08' -'67','val_67','2008-04-08' -'67','val_67','2008-04-08' -'67','val_67','2008-04-09' -'67','val_67','2008-04-09' -'67','val_67','2008-04-09' -'67','val_67','2008-04-09' -'69','val_69','2008-04-09' -'69','val_69','2008-04-09' -'69','val_69','2008-04-08' -'69','val_69','2008-04-08' -'70','val_70','2008-04-08' -'70','val_70','2008-04-08' -'70','val_70','2008-04-08' -'70','val_70','2008-04-08' -'70','val_70','2008-04-08' -'70','val_70','2008-04-08' -'70','val_70','2008-04-09' -'70','val_70','2008-04-09' -'70','val_70','2008-04-09' -'70','val_70','2008-04-09' -'70','val_70','2008-04-09' -'70','val_70','2008-04-09' -'72','val_72','2008-04-09' -'72','val_72','2008-04-09' -'72','val_72','2008-04-09' -'72','val_72','2008-04-09' -'72','val_72','2008-04-08' -'72','val_72','2008-04-08' -'72','val_72','2008-04-08' -'72','val_72','2008-04-08' -'74','val_74','2008-04-08' -'74','val_74','2008-04-08' -'74','val_74','2008-04-09' -'74','val_74','2008-04-09' -'76','val_76','2008-04-09' -'76','val_76','2008-04-09' -'76','val_76','2008-04-09' -'76','val_76','2008-04-09' -'76','val_76','2008-04-08' -'76','val_76','2008-04-08' -'76','val_76','2008-04-08' -'76','val_76','2008-04-08' -'77','val_77','2008-04-08' -'77','val_77','2008-04-08' -'77','val_77','2008-04-09' -'77','val_77','2008-04-09' -'78','val_78','2008-04-09' -'78','val_78','2008-04-09' -'78','val_78','2008-04-08' -'78','val_78','2008-04-08' -'8','val_8','2008-04-08' -'8','val_8','2008-04-08' -'8','val_8','2008-04-09' -'8','val_8','2008-04-09' -'80','val_80','2008-04-09' -'80','val_80','2008-04-09' -'80','val_80','2008-04-08' -'80','val_80','2008-04-08' -'82','val_82','2008-04-08' -'82','val_82','2008-04-08' -'82','val_82','2008-04-09' -'82','val_82','2008-04-09' -'83','val_83','2008-04-09' -'83','val_83','2008-04-09' -'83','val_83','2008-04-09' -'83','val_83','2008-04-09' -'83','val_83','2008-04-08' -'83','val_83','2008-04-08' -'83','val_83','2008-04-08' -'83','val_83','2008-04-08' -'84','val_84','2008-04-08' -'84','val_84','2008-04-08' -'84','val_84','2008-04-08' -'84','val_84','2008-04-08' -'84','val_84','2008-04-09' -'84','val_84','2008-04-09' -'84','val_84','2008-04-09' -'84','val_84','2008-04-09' -'85','val_85','2008-04-09' -'85','val_85','2008-04-09' -'85','val_85','2008-04-08' -'85','val_85','2008-04-08' -'86','val_86','2008-04-08' -'86','val_86','2008-04-08' -'86','val_86','2008-04-09' -'86','val_86','2008-04-09' -'87','val_87','2008-04-09' -'87','val_87','2008-04-09' -'87','val_87','2008-04-08' -'87','val_87','2008-04-08' -'9','val_9','2008-04-08' -'9','val_9','2008-04-08' -'9','val_9','2008-04-09' -'9','val_9','2008-04-09' -'90','val_90','2008-04-09' -'90','val_90','2008-04-09' -'90','val_90','2008-04-09' -'90','val_90','2008-04-09' -'90','val_90','2008-04-09' -'90','val_90','2008-04-09' -'90','val_90','2008-04-08' -'90','val_90','2008-04-08' -'90','val_90','2008-04-08' -'90','val_90','2008-04-08' -'90','val_90','2008-04-08' -'90','val_90','2008-04-08' -'92','val_92','2008-04-08' -'92','val_92','2008-04-08' -'92','val_92','2008-04-09' -'92','val_92','2008-04-09' -'95','val_95','2008-04-09' -'95','val_95','2008-04-09' -'95','val_95','2008-04-09' -'95','val_95','2008-04-09' -'95','val_95','2008-04-08' -'95','val_95','2008-04-08' -'95','val_95','2008-04-08' -'95','val_95','2008-04-08' -'96','val_96','2008-04-08' -'96','val_96','2008-04-08' -'96','val_96','2008-04-09' -'96','val_96','2008-04-09' -'97','val_97','2008-04-09' -'97','val_97','2008-04-09' -'97','val_97','2008-04-09' -'97','val_97','2008-04-09' -'97','val_97','2008-04-08' -'97','val_97','2008-04-08' -'97','val_97','2008-04-08' -'97','val_97','2008-04-08' -'98','val_98','2008-04-08' -'98','val_98','2008-04-08' -'98','val_98','2008-04-08' -'98','val_98','2008-04-08' -'98','val_98','2008-04-09' -'98','val_98','2008-04-09' -'98','val_98','2008-04-09' -'98','val_98','2008-04-09' -2,000 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/merge4.q.out ql/src/test/results/beelinepositive/merge4.q.out deleted file mode 100644 index ed81805..0000000 --- ql/src/test/results/beelinepositive/merge4.q.out +++ /dev/null @@ -1,2926 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/merge4.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/merge4.q ->>> set hive.merge.mapfiles=true; -No rows affected ->>> set hive.merge.mapredfiles=true; -No rows affected ->>> set hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> set hive.exec.dynamic.partition=true; -No rows affected ->>> set hive.exec.dynamic.partition.mode=nonstrict; -No rows affected ->>> ->>> create table nzhang_part like srcpart; -No rows affected ->>> ->>> explain -insert overwrite table nzhang_part partition (ds='2010-08-15', hr) select key, value, hr from srcpart where ds='2008-04-08'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME nzhang_part) (TOK_PARTSPEC (TOK_PARTVAL ds '2010-08-15') (TOK_PARTVAL hr)))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL hr))) (TOK_WHERE (= (TOK_TABLE_OR_COL ds) '2008-04-08'))))' -'' -'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' -' Alias -> Map Operator Tree:' -' srcpart ' -' TableScan' -' alias: srcpart' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: merge4.nzhang_part' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' partition:' -' ds 2010-08-15' -' 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: merge4.nzhang_part' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: merge4.nzhang_part' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: merge4.nzhang_part' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -96 rows selected ->>> ->>> insert overwrite table nzhang_part partition (ds='2010-08-15', hr) select key, value, hr from srcpart where ds='2008-04-08'; -'key','value','hr' -No rows selected ->>> ->>> select * from nzhang_part; -'key','value','ds','hr' -'238','val_238','2010-08-15','11' -'86','val_86','2010-08-15','11' -'311','val_311','2010-08-15','11' -'27','val_27','2010-08-15','11' -'165','val_165','2010-08-15','11' -'409','val_409','2010-08-15','11' -'255','val_255','2010-08-15','11' -'278','val_278','2010-08-15','11' -'98','val_98','2010-08-15','11' -'484','val_484','2010-08-15','11' -'265','val_265','2010-08-15','11' -'193','val_193','2010-08-15','11' -'401','val_401','2010-08-15','11' -'150','val_150','2010-08-15','11' -'273','val_273','2010-08-15','11' -'224','val_224','2010-08-15','11' -'369','val_369','2010-08-15','11' -'66','val_66','2010-08-15','11' -'128','val_128','2010-08-15','11' -'213','val_213','2010-08-15','11' -'146','val_146','2010-08-15','11' -'406','val_406','2010-08-15','11' -'429','val_429','2010-08-15','11' -'374','val_374','2010-08-15','11' -'152','val_152','2010-08-15','11' -'469','val_469','2010-08-15','11' -'145','val_145','2010-08-15','11' -'495','val_495','2010-08-15','11' -'37','val_37','2010-08-15','11' -'327','val_327','2010-08-15','11' -'281','val_281','2010-08-15','11' -'277','val_277','2010-08-15','11' -'209','val_209','2010-08-15','11' -'15','val_15','2010-08-15','11' -'82','val_82','2010-08-15','11' -'403','val_403','2010-08-15','11' -'166','val_166','2010-08-15','11' -'417','val_417','2010-08-15','11' -'430','val_430','2010-08-15','11' -'252','val_252','2010-08-15','11' -'292','val_292','2010-08-15','11' -'219','val_219','2010-08-15','11' -'287','val_287','2010-08-15','11' -'153','val_153','2010-08-15','11' -'193','val_193','2010-08-15','11' -'338','val_338','2010-08-15','11' -'446','val_446','2010-08-15','11' -'459','val_459','2010-08-15','11' -'394','val_394','2010-08-15','11' -'237','val_237','2010-08-15','11' -'482','val_482','2010-08-15','11' -'174','val_174','2010-08-15','11' -'413','val_413','2010-08-15','11' -'494','val_494','2010-08-15','11' -'207','val_207','2010-08-15','11' -'199','val_199','2010-08-15','11' -'466','val_466','2010-08-15','11' -'208','val_208','2010-08-15','11' -'174','val_174','2010-08-15','11' -'399','val_399','2010-08-15','11' -'396','val_396','2010-08-15','11' -'247','val_247','2010-08-15','11' -'417','val_417','2010-08-15','11' -'489','val_489','2010-08-15','11' -'162','val_162','2010-08-15','11' -'377','val_377','2010-08-15','11' -'397','val_397','2010-08-15','11' -'309','val_309','2010-08-15','11' -'365','val_365','2010-08-15','11' -'266','val_266','2010-08-15','11' -'439','val_439','2010-08-15','11' -'342','val_342','2010-08-15','11' -'367','val_367','2010-08-15','11' -'325','val_325','2010-08-15','11' -'167','val_167','2010-08-15','11' -'195','val_195','2010-08-15','11' -'475','val_475','2010-08-15','11' -'17','val_17','2010-08-15','11' -'113','val_113','2010-08-15','11' -'155','val_155','2010-08-15','11' -'203','val_203','2010-08-15','11' -'339','val_339','2010-08-15','11' -'0','val_0','2010-08-15','11' -'455','val_455','2010-08-15','11' -'128','val_128','2010-08-15','11' -'311','val_311','2010-08-15','11' -'316','val_316','2010-08-15','11' -'57','val_57','2010-08-15','11' -'302','val_302','2010-08-15','11' -'205','val_205','2010-08-15','11' -'149','val_149','2010-08-15','11' -'438','val_438','2010-08-15','11' -'345','val_345','2010-08-15','11' -'129','val_129','2010-08-15','11' -'170','val_170','2010-08-15','11' -'20','val_20','2010-08-15','11' -'489','val_489','2010-08-15','11' -'157','val_157','2010-08-15','11' -'378','val_378','2010-08-15','11' -'221','val_221','2010-08-15','11' -'92','val_92','2010-08-15','11' -'111','val_111','2010-08-15','11' -'47','val_47','2010-08-15','11' -'72','val_72','2010-08-15','11' -'4','val_4','2010-08-15','11' -'280','val_280','2010-08-15','11' -'35','val_35','2010-08-15','11' -'427','val_427','2010-08-15','11' -'277','val_277','2010-08-15','11' -'208','val_208','2010-08-15','11' -'356','val_356','2010-08-15','11' -'399','val_399','2010-08-15','11' -'169','val_169','2010-08-15','11' -'382','val_382','2010-08-15','11' -'498','val_498','2010-08-15','11' -'125','val_125','2010-08-15','11' -'386','val_386','2010-08-15','11' -'437','val_437','2010-08-15','11' -'469','val_469','2010-08-15','11' -'192','val_192','2010-08-15','11' -'286','val_286','2010-08-15','11' -'187','val_187','2010-08-15','11' -'176','val_176','2010-08-15','11' -'54','val_54','2010-08-15','11' -'459','val_459','2010-08-15','11' -'51','val_51','2010-08-15','11' -'138','val_138','2010-08-15','11' -'103','val_103','2010-08-15','11' -'239','val_239','2010-08-15','11' -'213','val_213','2010-08-15','11' -'216','val_216','2010-08-15','11' -'430','val_430','2010-08-15','11' -'278','val_278','2010-08-15','11' -'176','val_176','2010-08-15','11' -'289','val_289','2010-08-15','11' -'221','val_221','2010-08-15','11' -'65','val_65','2010-08-15','11' -'318','val_318','2010-08-15','11' -'332','val_332','2010-08-15','11' -'311','val_311','2010-08-15','11' -'275','val_275','2010-08-15','11' -'137','val_137','2010-08-15','11' -'241','val_241','2010-08-15','11' -'83','val_83','2010-08-15','11' -'333','val_333','2010-08-15','11' -'180','val_180','2010-08-15','11' -'284','val_284','2010-08-15','11' -'12','val_12','2010-08-15','11' -'230','val_230','2010-08-15','11' -'181','val_181','2010-08-15','11' -'67','val_67','2010-08-15','11' -'260','val_260','2010-08-15','11' -'404','val_404','2010-08-15','11' -'384','val_384','2010-08-15','11' -'489','val_489','2010-08-15','11' -'353','val_353','2010-08-15','11' -'373','val_373','2010-08-15','11' -'272','val_272','2010-08-15','11' -'138','val_138','2010-08-15','11' -'217','val_217','2010-08-15','11' -'84','val_84','2010-08-15','11' -'348','val_348','2010-08-15','11' -'466','val_466','2010-08-15','11' -'58','val_58','2010-08-15','11' -'8','val_8','2010-08-15','11' -'411','val_411','2010-08-15','11' -'230','val_230','2010-08-15','11' -'208','val_208','2010-08-15','11' -'348','val_348','2010-08-15','11' -'24','val_24','2010-08-15','11' -'463','val_463','2010-08-15','11' -'431','val_431','2010-08-15','11' -'179','val_179','2010-08-15','11' -'172','val_172','2010-08-15','11' -'42','val_42','2010-08-15','11' -'129','val_129','2010-08-15','11' -'158','val_158','2010-08-15','11' -'119','val_119','2010-08-15','11' -'496','val_496','2010-08-15','11' -'0','val_0','2010-08-15','11' -'322','val_322','2010-08-15','11' -'197','val_197','2010-08-15','11' -'468','val_468','2010-08-15','11' -'393','val_393','2010-08-15','11' -'454','val_454','2010-08-15','11' -'100','val_100','2010-08-15','11' -'298','val_298','2010-08-15','11' -'199','val_199','2010-08-15','11' -'191','val_191','2010-08-15','11' -'418','val_418','2010-08-15','11' -'96','val_96','2010-08-15','11' -'26','val_26','2010-08-15','11' -'165','val_165','2010-08-15','11' -'327','val_327','2010-08-15','11' -'230','val_230','2010-08-15','11' -'205','val_205','2010-08-15','11' -'120','val_120','2010-08-15','11' -'131','val_131','2010-08-15','11' -'51','val_51','2010-08-15','11' -'404','val_404','2010-08-15','11' -'43','val_43','2010-08-15','11' -'436','val_436','2010-08-15','11' -'156','val_156','2010-08-15','11' -'469','val_469','2010-08-15','11' -'468','val_468','2010-08-15','11' -'308','val_308','2010-08-15','11' -'95','val_95','2010-08-15','11' -'196','val_196','2010-08-15','11' -'288','val_288','2010-08-15','11' -'481','val_481','2010-08-15','11' -'457','val_457','2010-08-15','11' -'98','val_98','2010-08-15','11' -'282','val_282','2010-08-15','11' -'197','val_197','2010-08-15','11' -'187','val_187','2010-08-15','11' -'318','val_318','2010-08-15','11' -'318','val_318','2010-08-15','11' -'409','val_409','2010-08-15','11' -'470','val_470','2010-08-15','11' -'137','val_137','2010-08-15','11' -'369','val_369','2010-08-15','11' -'316','val_316','2010-08-15','11' -'169','val_169','2010-08-15','11' -'413','val_413','2010-08-15','11' -'85','val_85','2010-08-15','11' -'77','val_77','2010-08-15','11' -'0','val_0','2010-08-15','11' -'490','val_490','2010-08-15','11' -'87','val_87','2010-08-15','11' -'364','val_364','2010-08-15','11' -'179','val_179','2010-08-15','11' -'118','val_118','2010-08-15','11' -'134','val_134','2010-08-15','11' -'395','val_395','2010-08-15','11' -'282','val_282','2010-08-15','11' -'138','val_138','2010-08-15','11' -'238','val_238','2010-08-15','11' -'419','val_419','2010-08-15','11' -'15','val_15','2010-08-15','11' -'118','val_118','2010-08-15','11' -'72','val_72','2010-08-15','11' -'90','val_90','2010-08-15','11' -'307','val_307','2010-08-15','11' -'19','val_19','2010-08-15','11' -'435','val_435','2010-08-15','11' -'10','val_10','2010-08-15','11' -'277','val_277','2010-08-15','11' -'273','val_273','2010-08-15','11' -'306','val_306','2010-08-15','11' -'224','val_224','2010-08-15','11' -'309','val_309','2010-08-15','11' -'389','val_389','2010-08-15','11' -'327','val_327','2010-08-15','11' -'242','val_242','2010-08-15','11' -'369','val_369','2010-08-15','11' -'392','val_392','2010-08-15','11' -'272','val_272','2010-08-15','11' -'331','val_331','2010-08-15','11' -'401','val_401','2010-08-15','11' -'242','val_242','2010-08-15','11' -'452','val_452','2010-08-15','11' -'177','val_177','2010-08-15','11' -'226','val_226','2010-08-15','11' -'5','val_5','2010-08-15','11' -'497','val_497','2010-08-15','11' -'402','val_402','2010-08-15','11' -'396','val_396','2010-08-15','11' -'317','val_317','2010-08-15','11' -'395','val_395','2010-08-15','11' -'58','val_58','2010-08-15','11' -'35','val_35','2010-08-15','11' -'336','val_336','2010-08-15','11' -'95','val_95','2010-08-15','11' -'11','val_11','2010-08-15','11' -'168','val_168','2010-08-15','11' -'34','val_34','2010-08-15','11' -'229','val_229','2010-08-15','11' -'233','val_233','2010-08-15','11' -'143','val_143','2010-08-15','11' -'472','val_472','2010-08-15','11' -'322','val_322','2010-08-15','11' -'498','val_498','2010-08-15','11' -'160','val_160','2010-08-15','11' -'195','val_195','2010-08-15','11' -'42','val_42','2010-08-15','11' -'321','val_321','2010-08-15','11' -'430','val_430','2010-08-15','11' -'119','val_119','2010-08-15','11' -'489','val_489','2010-08-15','11' -'458','val_458','2010-08-15','11' -'78','val_78','2010-08-15','11' -'76','val_76','2010-08-15','11' -'41','val_41','2010-08-15','11' -'223','val_223','2010-08-15','11' -'492','val_492','2010-08-15','11' -'149','val_149','2010-08-15','11' -'449','val_449','2010-08-15','11' -'218','val_218','2010-08-15','11' -'228','val_228','2010-08-15','11' -'138','val_138','2010-08-15','11' -'453','val_453','2010-08-15','11' -'30','val_30','2010-08-15','11' -'209','val_209','2010-08-15','11' -'64','val_64','2010-08-15','11' -'468','val_468','2010-08-15','11' -'76','val_76','2010-08-15','11' -'74','val_74','2010-08-15','11' -'342','val_342','2010-08-15','11' -'69','val_69','2010-08-15','11' -'230','val_230','2010-08-15','11' -'33','val_33','2010-08-15','11' -'368','val_368','2010-08-15','11' -'103','val_103','2010-08-15','11' -'296','val_296','2010-08-15','11' -'113','val_113','2010-08-15','11' -'216','val_216','2010-08-15','11' -'367','val_367','2010-08-15','11' -'344','val_344','2010-08-15','11' -'167','val_167','2010-08-15','11' -'274','val_274','2010-08-15','11' -'219','val_219','2010-08-15','11' -'239','val_239','2010-08-15','11' -'485','val_485','2010-08-15','11' -'116','val_116','2010-08-15','11' -'223','val_223','2010-08-15','11' -'256','val_256','2010-08-15','11' -'263','val_263','2010-08-15','11' -'70','val_70','2010-08-15','11' -'487','val_487','2010-08-15','11' -'480','val_480','2010-08-15','11' -'401','val_401','2010-08-15','11' -'288','val_288','2010-08-15','11' -'191','val_191','2010-08-15','11' -'5','val_5','2010-08-15','11' -'244','val_244','2010-08-15','11' -'438','val_438','2010-08-15','11' -'128','val_128','2010-08-15','11' -'467','val_467','2010-08-15','11' -'432','val_432','2010-08-15','11' -'202','val_202','2010-08-15','11' -'316','val_316','2010-08-15','11' -'229','val_229','2010-08-15','11' -'469','val_469','2010-08-15','11' -'463','val_463','2010-08-15','11' -'280','val_280','2010-08-15','11' -'2','val_2','2010-08-15','11' -'35','val_35','2010-08-15','11' -'283','val_283','2010-08-15','11' -'331','val_331','2010-08-15','11' -'235','val_235','2010-08-15','11' -'80','val_80','2010-08-15','11' -'44','val_44','2010-08-15','11' -'193','val_193','2010-08-15','11' -'321','val_321','2010-08-15','11' -'335','val_335','2010-08-15','11' -'104','val_104','2010-08-15','11' -'466','val_466','2010-08-15','11' -'366','val_366','2010-08-15','11' -'175','val_175','2010-08-15','11' -'403','val_403','2010-08-15','11' -'483','val_483','2010-08-15','11' -'53','val_53','2010-08-15','11' -'105','val_105','2010-08-15','11' -'257','val_257','2010-08-15','11' -'406','val_406','2010-08-15','11' -'409','val_409','2010-08-15','11' -'190','val_190','2010-08-15','11' -'406','val_406','2010-08-15','11' -'401','val_401','2010-08-15','11' -'114','val_114','2010-08-15','11' -'258','val_258','2010-08-15','11' -'90','val_90','2010-08-15','11' -'203','val_203','2010-08-15','11' -'262','val_262','2010-08-15','11' -'348','val_348','2010-08-15','11' -'424','val_424','2010-08-15','11' -'12','val_12','2010-08-15','11' -'396','val_396','2010-08-15','11' -'201','val_201','2010-08-15','11' -'217','val_217','2010-08-15','11' -'164','val_164','2010-08-15','11' -'431','val_431','2010-08-15','11' -'454','val_454','2010-08-15','11' -'478','val_478','2010-08-15','11' -'298','val_298','2010-08-15','11' -'125','val_125','2010-08-15','11' -'431','val_431','2010-08-15','11' -'164','val_164','2010-08-15','11' -'424','val_424','2010-08-15','11' -'187','val_187','2010-08-15','11' -'382','val_382','2010-08-15','11' -'5','val_5','2010-08-15','11' -'70','val_70','2010-08-15','11' -'397','val_397','2010-08-15','11' -'480','val_480','2010-08-15','11' -'291','val_291','2010-08-15','11' -'24','val_24','2010-08-15','11' -'351','val_351','2010-08-15','11' -'255','val_255','2010-08-15','11' -'104','val_104','2010-08-15','11' -'70','val_70','2010-08-15','11' -'163','val_163','2010-08-15','11' -'438','val_438','2010-08-15','11' -'119','val_119','2010-08-15','11' -'414','val_414','2010-08-15','11' -'200','val_200','2010-08-15','11' -'491','val_491','2010-08-15','11' -'237','val_237','2010-08-15','11' -'439','val_439','2010-08-15','11' -'360','val_360','2010-08-15','11' -'248','val_248','2010-08-15','11' -'479','val_479','2010-08-15','11' -'305','val_305','2010-08-15','11' -'417','val_417','2010-08-15','11' -'199','val_199','2010-08-15','11' -'444','val_444','2010-08-15','11' -'120','val_120','2010-08-15','11' -'429','val_429','2010-08-15','11' -'169','val_169','2010-08-15','11' -'443','val_443','2010-08-15','11' -'323','val_323','2010-08-15','11' -'325','val_325','2010-08-15','11' -'277','val_277','2010-08-15','11' -'230','val_230','2010-08-15','11' -'478','val_478','2010-08-15','11' -'178','val_178','2010-08-15','11' -'468','val_468','2010-08-15','11' -'310','val_310','2010-08-15','11' -'317','val_317','2010-08-15','11' -'333','val_333','2010-08-15','11' -'493','val_493','2010-08-15','11' -'460','val_460','2010-08-15','11' -'207','val_207','2010-08-15','11' -'249','val_249','2010-08-15','11' -'265','val_265','2010-08-15','11' -'480','val_480','2010-08-15','11' -'83','val_83','2010-08-15','11' -'136','val_136','2010-08-15','11' -'353','val_353','2010-08-15','11' -'172','val_172','2010-08-15','11' -'214','val_214','2010-08-15','11' -'462','val_462','2010-08-15','11' -'233','val_233','2010-08-15','11' -'406','val_406','2010-08-15','11' -'133','val_133','2010-08-15','11' -'175','val_175','2010-08-15','11' -'189','val_189','2010-08-15','11' -'454','val_454','2010-08-15','11' -'375','val_375','2010-08-15','11' -'401','val_401','2010-08-15','11' -'421','val_421','2010-08-15','11' -'407','val_407','2010-08-15','11' -'384','val_384','2010-08-15','11' -'256','val_256','2010-08-15','11' -'26','val_26','2010-08-15','11' -'134','val_134','2010-08-15','11' -'67','val_67','2010-08-15','11' -'384','val_384','2010-08-15','11' -'379','val_379','2010-08-15','11' -'18','val_18','2010-08-15','11' -'462','val_462','2010-08-15','11' -'492','val_492','2010-08-15','11' -'100','val_100','2010-08-15','11' -'298','val_298','2010-08-15','11' -'9','val_9','2010-08-15','11' -'341','val_341','2010-08-15','11' -'498','val_498','2010-08-15','11' -'146','val_146','2010-08-15','11' -'458','val_458','2010-08-15','11' -'362','val_362','2010-08-15','11' -'186','val_186','2010-08-15','11' -'285','val_285','2010-08-15','11' -'348','val_348','2010-08-15','11' -'167','val_167','2010-08-15','11' -'18','val_18','2010-08-15','11' -'273','val_273','2010-08-15','11' -'183','val_183','2010-08-15','11' -'281','val_281','2010-08-15','11' -'344','val_344','2010-08-15','11' -'97','val_97','2010-08-15','11' -'469','val_469','2010-08-15','11' -'315','val_315','2010-08-15','11' -'84','val_84','2010-08-15','11' -'28','val_28','2010-08-15','11' -'37','val_37','2010-08-15','11' -'448','val_448','2010-08-15','11' -'152','val_152','2010-08-15','11' -'348','val_348','2010-08-15','11' -'307','val_307','2010-08-15','11' -'194','val_194','2010-08-15','11' -'414','val_414','2010-08-15','11' -'477','val_477','2010-08-15','11' -'222','val_222','2010-08-15','11' -'126','val_126','2010-08-15','11' -'90','val_90','2010-08-15','11' -'169','val_169','2010-08-15','11' -'403','val_403','2010-08-15','11' -'400','val_400','2010-08-15','11' -'200','val_200','2010-08-15','11' -'97','val_97','2010-08-15','11' -'238','val_238','2010-08-15','12' -'86','val_86','2010-08-15','12' -'311','val_311','2010-08-15','12' -'27','val_27','2010-08-15','12' -'165','val_165','2010-08-15','12' -'409','val_409','2010-08-15','12' -'255','val_255','2010-08-15','12' -'278','val_278','2010-08-15','12' -'98','val_98','2010-08-15','12' -'484','val_484','2010-08-15','12' -'265','val_265','2010-08-15','12' -'193','val_193','2010-08-15','12' -'401','val_401','2010-08-15','12' -'150','val_150','2010-08-15','12' -'273','val_273','2010-08-15','12' -'224','val_224','2010-08-15','12' -'369','val_369','2010-08-15','12' -'66','val_66','2010-08-15','12' -'128','val_128','2010-08-15','12' -'213','val_213','2010-08-15','12' -'146','val_146','2010-08-15','12' -'406','val_406','2010-08-15','12' -'429','val_429','2010-08-15','12' -'374','val_374','2010-08-15','12' -'152','val_152','2010-08-15','12' -'469','val_469','2010-08-15','12' -'145','val_145','2010-08-15','12' -'495','val_495','2010-08-15','12' -'37','val_37','2010-08-15','12' -'327','val_327','2010-08-15','12' -'281','val_281','2010-08-15','12' -'277','val_277','2010-08-15','12' -'209','val_209','2010-08-15','12' -'15','val_15','2010-08-15','12' -'82','val_82','2010-08-15','12' -'403','val_403','2010-08-15','12' -'166','val_166','2010-08-15','12' -'417','val_417','2010-08-15','12' -'430','val_430','2010-08-15','12' -'252','val_252','2010-08-15','12' -'292','val_292','2010-08-15','12' -'219','val_219','2010-08-15','12' -'287','val_287','2010-08-15','12' -'153','val_153','2010-08-15','12' -'193','val_193','2010-08-15','12' -'338','val_338','2010-08-15','12' -'446','val_446','2010-08-15','12' -'459','val_459','2010-08-15','12' -'394','val_394','2010-08-15','12' -'237','val_237','2010-08-15','12' -'482','val_482','2010-08-15','12' -'174','val_174','2010-08-15','12' -'413','val_413','2010-08-15','12' -'494','val_494','2010-08-15','12' -'207','val_207','2010-08-15','12' -'199','val_199','2010-08-15','12' -'466','val_466','2010-08-15','12' -'208','val_208','2010-08-15','12' -'174','val_174','2010-08-15','12' -'399','val_399','2010-08-15','12' -'396','val_396','2010-08-15','12' -'247','val_247','2010-08-15','12' -'417','val_417','2010-08-15','12' -'489','val_489','2010-08-15','12' -'162','val_162','2010-08-15','12' -'377','val_377','2010-08-15','12' -'397','val_397','2010-08-15','12' -'309','val_309','2010-08-15','12' -'365','val_365','2010-08-15','12' -'266','val_266','2010-08-15','12' -'439','val_439','2010-08-15','12' -'342','val_342','2010-08-15','12' -'367','val_367','2010-08-15','12' -'325','val_325','2010-08-15','12' -'167','val_167','2010-08-15','12' -'195','val_195','2010-08-15','12' -'475','val_475','2010-08-15','12' -'17','val_17','2010-08-15','12' -'113','val_113','2010-08-15','12' -'155','val_155','2010-08-15','12' -'203','val_203','2010-08-15','12' -'339','val_339','2010-08-15','12' -'0','val_0','2010-08-15','12' -'455','val_455','2010-08-15','12' -'128','val_128','2010-08-15','12' -'311','val_311','2010-08-15','12' -'316','val_316','2010-08-15','12' -'57','val_57','2010-08-15','12' -'302','val_302','2010-08-15','12' -'205','val_205','2010-08-15','12' -'149','val_149','2010-08-15','12' -'438','val_438','2010-08-15','12' -'345','val_345','2010-08-15','12' -'129','val_129','2010-08-15','12' -'170','val_170','2010-08-15','12' -'20','val_20','2010-08-15','12' -'489','val_489','2010-08-15','12' -'157','val_157','2010-08-15','12' -'378','val_378','2010-08-15','12' -'221','val_221','2010-08-15','12' -'92','val_92','2010-08-15','12' -'111','val_111','2010-08-15','12' -'47','val_47','2010-08-15','12' -'72','val_72','2010-08-15','12' -'4','val_4','2010-08-15','12' -'280','val_280','2010-08-15','12' -'35','val_35','2010-08-15','12' -'427','val_427','2010-08-15','12' -'277','val_277','2010-08-15','12' -'208','val_208','2010-08-15','12' -'356','val_356','2010-08-15','12' -'399','val_399','2010-08-15','12' -'169','val_169','2010-08-15','12' -'382','val_382','2010-08-15','12' -'498','val_498','2010-08-15','12' -'125','val_125','2010-08-15','12' -'386','val_386','2010-08-15','12' -'437','val_437','2010-08-15','12' -'469','val_469','2010-08-15','12' -'192','val_192','2010-08-15','12' -'286','val_286','2010-08-15','12' -'187','val_187','2010-08-15','12' -'176','val_176','2010-08-15','12' -'54','val_54','2010-08-15','12' -'459','val_459','2010-08-15','12' -'51','val_51','2010-08-15','12' -'138','val_138','2010-08-15','12' -'103','val_103','2010-08-15','12' -'239','val_239','2010-08-15','12' -'213','val_213','2010-08-15','12' -'216','val_216','2010-08-15','12' -'430','val_430','2010-08-15','12' -'278','val_278','2010-08-15','12' -'176','val_176','2010-08-15','12' -'289','val_289','2010-08-15','12' -'221','val_221','2010-08-15','12' -'65','val_65','2010-08-15','12' -'318','val_318','2010-08-15','12' -'332','val_332','2010-08-15','12' -'311','val_311','2010-08-15','12' -'275','val_275','2010-08-15','12' -'137','val_137','2010-08-15','12' -'241','val_241','2010-08-15','12' -'83','val_83','2010-08-15','12' -'333','val_333','2010-08-15','12' -'180','val_180','2010-08-15','12' -'284','val_284','2010-08-15','12' -'12','val_12','2010-08-15','12' -'230','val_230','2010-08-15','12' -'181','val_181','2010-08-15','12' -'67','val_67','2010-08-15','12' -'260','val_260','2010-08-15','12' -'404','val_404','2010-08-15','12' -'384','val_384','2010-08-15','12' -'489','val_489','2010-08-15','12' -'353','val_353','2010-08-15','12' -'373','val_373','2010-08-15','12' -'272','val_272','2010-08-15','12' -'138','val_138','2010-08-15','12' -'217','val_217','2010-08-15','12' -'84','val_84','2010-08-15','12' -'348','val_348','2010-08-15','12' -'466','val_466','2010-08-15','12' -'58','val_58','2010-08-15','12' -'8','val_8','2010-08-15','12' -'411','val_411','2010-08-15','12' -'230','val_230','2010-08-15','12' -'208','val_208','2010-08-15','12' -'348','val_348','2010-08-15','12' -'24','val_24','2010-08-15','12' -'463','val_463','2010-08-15','12' -'431','val_431','2010-08-15','12' -'179','val_179','2010-08-15','12' -'172','val_172','2010-08-15','12' -'42','val_42','2010-08-15','12' -'129','val_129','2010-08-15','12' -'158','val_158','2010-08-15','12' -'119','val_119','2010-08-15','12' -'496','val_496','2010-08-15','12' -'0','val_0','2010-08-15','12' -'322','val_322','2010-08-15','12' -'197','val_197','2010-08-15','12' -'468','val_468','2010-08-15','12' -'393','val_393','2010-08-15','12' -'454','val_454','2010-08-15','12' -'100','val_100','2010-08-15','12' -'298','val_298','2010-08-15','12' -'199','val_199','2010-08-15','12' -'191','val_191','2010-08-15','12' -'418','val_418','2010-08-15','12' -'96','val_96','2010-08-15','12' -'26','val_26','2010-08-15','12' -'165','val_165','2010-08-15','12' -'327','val_327','2010-08-15','12' -'230','val_230','2010-08-15','12' -'205','val_205','2010-08-15','12' -'120','val_120','2010-08-15','12' -'131','val_131','2010-08-15','12' -'51','val_51','2010-08-15','12' -'404','val_404','2010-08-15','12' -'43','val_43','2010-08-15','12' -'436','val_436','2010-08-15','12' -'156','val_156','2010-08-15','12' -'469','val_469','2010-08-15','12' -'468','val_468','2010-08-15','12' -'308','val_308','2010-08-15','12' -'95','val_95','2010-08-15','12' -'196','val_196','2010-08-15','12' -'288','val_288','2010-08-15','12' -'481','val_481','2010-08-15','12' -'457','val_457','2010-08-15','12' -'98','val_98','2010-08-15','12' -'282','val_282','2010-08-15','12' -'197','val_197','2010-08-15','12' -'187','val_187','2010-08-15','12' -'318','val_318','2010-08-15','12' -'318','val_318','2010-08-15','12' -'409','val_409','2010-08-15','12' -'470','val_470','2010-08-15','12' -'137','val_137','2010-08-15','12' -'369','val_369','2010-08-15','12' -'316','val_316','2010-08-15','12' -'169','val_169','2010-08-15','12' -'413','val_413','2010-08-15','12' -'85','val_85','2010-08-15','12' -'77','val_77','2010-08-15','12' -'0','val_0','2010-08-15','12' -'490','val_490','2010-08-15','12' -'87','val_87','2010-08-15','12' -'364','val_364','2010-08-15','12' -'179','val_179','2010-08-15','12' -'118','val_118','2010-08-15','12' -'134','val_134','2010-08-15','12' -'395','val_395','2010-08-15','12' -'282','val_282','2010-08-15','12' -'138','val_138','2010-08-15','12' -'238','val_238','2010-08-15','12' -'419','val_419','2010-08-15','12' -'15','val_15','2010-08-15','12' -'118','val_118','2010-08-15','12' -'72','val_72','2010-08-15','12' -'90','val_90','2010-08-15','12' -'307','val_307','2010-08-15','12' -'19','val_19','2010-08-15','12' -'435','val_435','2010-08-15','12' -'10','val_10','2010-08-15','12' -'277','val_277','2010-08-15','12' -'273','val_273','2010-08-15','12' -'306','val_306','2010-08-15','12' -'224','val_224','2010-08-15','12' -'309','val_309','2010-08-15','12' -'389','val_389','2010-08-15','12' -'327','val_327','2010-08-15','12' -'242','val_242','2010-08-15','12' -'369','val_369','2010-08-15','12' -'392','val_392','2010-08-15','12' -'272','val_272','2010-08-15','12' -'331','val_331','2010-08-15','12' -'401','val_401','2010-08-15','12' -'242','val_242','2010-08-15','12' -'452','val_452','2010-08-15','12' -'177','val_177','2010-08-15','12' -'226','val_226','2010-08-15','12' -'5','val_5','2010-08-15','12' -'497','val_497','2010-08-15','12' -'402','val_402','2010-08-15','12' -'396','val_396','2010-08-15','12' -'317','val_317','2010-08-15','12' -'395','val_395','2010-08-15','12' -'58','val_58','2010-08-15','12' -'35','val_35','2010-08-15','12' -'336','val_336','2010-08-15','12' -'95','val_95','2010-08-15','12' -'11','val_11','2010-08-15','12' -'168','val_168','2010-08-15','12' -'34','val_34','2010-08-15','12' -'229','val_229','2010-08-15','12' -'233','val_233','2010-08-15','12' -'143','val_143','2010-08-15','12' -'472','val_472','2010-08-15','12' -'322','val_322','2010-08-15','12' -'498','val_498','2010-08-15','12' -'160','val_160','2010-08-15','12' -'195','val_195','2010-08-15','12' -'42','val_42','2010-08-15','12' -'321','val_321','2010-08-15','12' -'430','val_430','2010-08-15','12' -'119','val_119','2010-08-15','12' -'489','val_489','2010-08-15','12' -'458','val_458','2010-08-15','12' -'78','val_78','2010-08-15','12' -'76','val_76','2010-08-15','12' -'41','val_41','2010-08-15','12' -'223','val_223','2010-08-15','12' -'492','val_492','2010-08-15','12' -'149','val_149','2010-08-15','12' -'449','val_449','2010-08-15','12' -'218','val_218','2010-08-15','12' -'228','val_228','2010-08-15','12' -'138','val_138','2010-08-15','12' -'453','val_453','2010-08-15','12' -'30','val_30','2010-08-15','12' -'209','val_209','2010-08-15','12' -'64','val_64','2010-08-15','12' -'468','val_468','2010-08-15','12' -'76','val_76','2010-08-15','12' -'74','val_74','2010-08-15','12' -'342','val_342','2010-08-15','12' -'69','val_69','2010-08-15','12' -'230','val_230','2010-08-15','12' -'33','val_33','2010-08-15','12' -'368','val_368','2010-08-15','12' -'103','val_103','2010-08-15','12' -'296','val_296','2010-08-15','12' -'113','val_113','2010-08-15','12' -'216','val_216','2010-08-15','12' -'367','val_367','2010-08-15','12' -'344','val_344','2010-08-15','12' -'167','val_167','2010-08-15','12' -'274','val_274','2010-08-15','12' -'219','val_219','2010-08-15','12' -'239','val_239','2010-08-15','12' -'485','val_485','2010-08-15','12' -'116','val_116','2010-08-15','12' -'223','val_223','2010-08-15','12' -'256','val_256','2010-08-15','12' -'263','val_263','2010-08-15','12' -'70','val_70','2010-08-15','12' -'487','val_487','2010-08-15','12' -'480','val_480','2010-08-15','12' -'401','val_401','2010-08-15','12' -'288','val_288','2010-08-15','12' -'191','val_191','2010-08-15','12' -'5','val_5','2010-08-15','12' -'244','val_244','2010-08-15','12' -'438','val_438','2010-08-15','12' -'128','val_128','2010-08-15','12' -'467','val_467','2010-08-15','12' -'432','val_432','2010-08-15','12' -'202','val_202','2010-08-15','12' -'316','val_316','2010-08-15','12' -'229','val_229','2010-08-15','12' -'469','val_469','2010-08-15','12' -'463','val_463','2010-08-15','12' -'280','val_280','2010-08-15','12' -'2','val_2','2010-08-15','12' -'35','val_35','2010-08-15','12' -'283','val_283','2010-08-15','12' -'331','val_331','2010-08-15','12' -'235','val_235','2010-08-15','12' -'80','val_80','2010-08-15','12' -'44','val_44','2010-08-15','12' -'193','val_193','2010-08-15','12' -'321','val_321','2010-08-15','12' -'335','val_335','2010-08-15','12' -'104','val_104','2010-08-15','12' -'466','val_466','2010-08-15','12' -'366','val_366','2010-08-15','12' -'175','val_175','2010-08-15','12' -'403','val_403','2010-08-15','12' -'483','val_483','2010-08-15','12' -'53','val_53','2010-08-15','12' -'105','val_105','2010-08-15','12' -'257','val_257','2010-08-15','12' -'406','val_406','2010-08-15','12' -'409','val_409','2010-08-15','12' -'190','val_190','2010-08-15','12' -'406','val_406','2010-08-15','12' -'401','val_401','2010-08-15','12' -'114','val_114','2010-08-15','12' -'258','val_258','2010-08-15','12' -'90','val_90','2010-08-15','12' -'203','val_203','2010-08-15','12' -'262','val_262','2010-08-15','12' -'348','val_348','2010-08-15','12' -'424','val_424','2010-08-15','12' -'12','val_12','2010-08-15','12' -'396','val_396','2010-08-15','12' -'201','val_201','2010-08-15','12' -'217','val_217','2010-08-15','12' -'164','val_164','2010-08-15','12' -'431','val_431','2010-08-15','12' -'454','val_454','2010-08-15','12' -'478','val_478','2010-08-15','12' -'298','val_298','2010-08-15','12' -'125','val_125','2010-08-15','12' -'431','val_431','2010-08-15','12' -'164','val_164','2010-08-15','12' -'424','val_424','2010-08-15','12' -'187','val_187','2010-08-15','12' -'382','val_382','2010-08-15','12' -'5','val_5','2010-08-15','12' -'70','val_70','2010-08-15','12' -'397','val_397','2010-08-15','12' -'480','val_480','2010-08-15','12' -'291','val_291','2010-08-15','12' -'24','val_24','2010-08-15','12' -'351','val_351','2010-08-15','12' -'255','val_255','2010-08-15','12' -'104','val_104','2010-08-15','12' -'70','val_70','2010-08-15','12' -'163','val_163','2010-08-15','12' -'438','val_438','2010-08-15','12' -'119','val_119','2010-08-15','12' -'414','val_414','2010-08-15','12' -'200','val_200','2010-08-15','12' -'491','val_491','2010-08-15','12' -'237','val_237','2010-08-15','12' -'439','val_439','2010-08-15','12' -'360','val_360','2010-08-15','12' -'248','val_248','2010-08-15','12' -'479','val_479','2010-08-15','12' -'305','val_305','2010-08-15','12' -'417','val_417','2010-08-15','12' -'199','val_199','2010-08-15','12' -'444','val_444','2010-08-15','12' -'120','val_120','2010-08-15','12' -'429','val_429','2010-08-15','12' -'169','val_169','2010-08-15','12' -'443','val_443','2010-08-15','12' -'323','val_323','2010-08-15','12' -'325','val_325','2010-08-15','12' -'277','val_277','2010-08-15','12' -'230','val_230','2010-08-15','12' -'478','val_478','2010-08-15','12' -'178','val_178','2010-08-15','12' -'468','val_468','2010-08-15','12' -'310','val_310','2010-08-15','12' -'317','val_317','2010-08-15','12' -'333','val_333','2010-08-15','12' -'493','val_493','2010-08-15','12' -'460','val_460','2010-08-15','12' -'207','val_207','2010-08-15','12' -'249','val_249','2010-08-15','12' -'265','val_265','2010-08-15','12' -'480','val_480','2010-08-15','12' -'83','val_83','2010-08-15','12' -'136','val_136','2010-08-15','12' -'353','val_353','2010-08-15','12' -'172','val_172','2010-08-15','12' -'214','val_214','2010-08-15','12' -'462','val_462','2010-08-15','12' -'233','val_233','2010-08-15','12' -'406','val_406','2010-08-15','12' -'133','val_133','2010-08-15','12' -'175','val_175','2010-08-15','12' -'189','val_189','2010-08-15','12' -'454','val_454','2010-08-15','12' -'375','val_375','2010-08-15','12' -'401','val_401','2010-08-15','12' -'421','val_421','2010-08-15','12' -'407','val_407','2010-08-15','12' -'384','val_384','2010-08-15','12' -'256','val_256','2010-08-15','12' -'26','val_26','2010-08-15','12' -'134','val_134','2010-08-15','12' -'67','val_67','2010-08-15','12' -'384','val_384','2010-08-15','12' -'379','val_379','2010-08-15','12' -'18','val_18','2010-08-15','12' -'462','val_462','2010-08-15','12' -'492','val_492','2010-08-15','12' -'100','val_100','2010-08-15','12' -'298','val_298','2010-08-15','12' -'9','val_9','2010-08-15','12' -'341','val_341','2010-08-15','12' -'498','val_498','2010-08-15','12' -'146','val_146','2010-08-15','12' -'458','val_458','2010-08-15','12' -'362','val_362','2010-08-15','12' -'186','val_186','2010-08-15','12' -'285','val_285','2010-08-15','12' -'348','val_348','2010-08-15','12' -'167','val_167','2010-08-15','12' -'18','val_18','2010-08-15','12' -'273','val_273','2010-08-15','12' -'183','val_183','2010-08-15','12' -'281','val_281','2010-08-15','12' -'344','val_344','2010-08-15','12' -'97','val_97','2010-08-15','12' -'469','val_469','2010-08-15','12' -'315','val_315','2010-08-15','12' -'84','val_84','2010-08-15','12' -'28','val_28','2010-08-15','12' -'37','val_37','2010-08-15','12' -'448','val_448','2010-08-15','12' -'152','val_152','2010-08-15','12' -'348','val_348','2010-08-15','12' -'307','val_307','2010-08-15','12' -'194','val_194','2010-08-15','12' -'414','val_414','2010-08-15','12' -'477','val_477','2010-08-15','12' -'222','val_222','2010-08-15','12' -'126','val_126','2010-08-15','12' -'90','val_90','2010-08-15','12' -'169','val_169','2010-08-15','12' -'403','val_403','2010-08-15','12' -'400','val_400','2010-08-15','12' -'200','val_200','2010-08-15','12' -'97','val_97','2010-08-15','12' -1,000 rows selected ->>> ->>> explain -insert overwrite table nzhang_part partition (ds='2010-08-15', hr=11) select key, value from srcpart where ds='2008-04-08'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME nzhang_part) (TOK_PARTSPEC (TOK_PARTVAL ds '2010-08-15') (TOK_PARTVAL hr 11)))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_WHERE (= (TOK_TABLE_OR_COL ds) '2008-04-08'))))' -'' -'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' -' Alias -> Map Operator Tree:' -' srcpart ' -' TableScan' -' alias: srcpart' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: merge4.nzhang_part' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' partition:' -' ds 2010-08-15' -' hr 11' -' 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: merge4.nzhang_part' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: merge4.nzhang_part' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: merge4.nzhang_part' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -94 rows selected ->>> ->>> insert overwrite table nzhang_part partition (ds='2010-08-15', hr=11) select key, value from srcpart where ds='2008-04-08'; -'key','value' -No rows selected ->>> ->>> select * from nzhang_part; -'key','value','ds','hr' -'238','val_238','2010-08-15','11' -'86','val_86','2010-08-15','11' -'311','val_311','2010-08-15','11' -'27','val_27','2010-08-15','11' -'165','val_165','2010-08-15','11' -'409','val_409','2010-08-15','11' -'255','val_255','2010-08-15','11' -'278','val_278','2010-08-15','11' -'98','val_98','2010-08-15','11' -'484','val_484','2010-08-15','11' -'265','val_265','2010-08-15','11' -'193','val_193','2010-08-15','11' -'401','val_401','2010-08-15','11' -'150','val_150','2010-08-15','11' -'273','val_273','2010-08-15','11' -'224','val_224','2010-08-15','11' -'369','val_369','2010-08-15','11' -'66','val_66','2010-08-15','11' -'128','val_128','2010-08-15','11' -'213','val_213','2010-08-15','11' -'146','val_146','2010-08-15','11' -'406','val_406','2010-08-15','11' -'429','val_429','2010-08-15','11' -'374','val_374','2010-08-15','11' -'152','val_152','2010-08-15','11' -'469','val_469','2010-08-15','11' -'145','val_145','2010-08-15','11' -'495','val_495','2010-08-15','11' -'37','val_37','2010-08-15','11' -'327','val_327','2010-08-15','11' -'281','val_281','2010-08-15','11' -'277','val_277','2010-08-15','11' -'209','val_209','2010-08-15','11' -'15','val_15','2010-08-15','11' -'82','val_82','2010-08-15','11' -'403','val_403','2010-08-15','11' -'166','val_166','2010-08-15','11' -'417','val_417','2010-08-15','11' -'430','val_430','2010-08-15','11' -'252','val_252','2010-08-15','11' -'292','val_292','2010-08-15','11' -'219','val_219','2010-08-15','11' -'287','val_287','2010-08-15','11' -'153','val_153','2010-08-15','11' -'193','val_193','2010-08-15','11' -'338','val_338','2010-08-15','11' -'446','val_446','2010-08-15','11' -'459','val_459','2010-08-15','11' -'394','val_394','2010-08-15','11' -'237','val_237','2010-08-15','11' -'482','val_482','2010-08-15','11' -'174','val_174','2010-08-15','11' -'413','val_413','2010-08-15','11' -'494','val_494','2010-08-15','11' -'207','val_207','2010-08-15','11' -'199','val_199','2010-08-15','11' -'466','val_466','2010-08-15','11' -'208','val_208','2010-08-15','11' -'174','val_174','2010-08-15','11' -'399','val_399','2010-08-15','11' -'396','val_396','2010-08-15','11' -'247','val_247','2010-08-15','11' -'417','val_417','2010-08-15','11' -'489','val_489','2010-08-15','11' -'162','val_162','2010-08-15','11' -'377','val_377','2010-08-15','11' -'397','val_397','2010-08-15','11' -'309','val_309','2010-08-15','11' -'365','val_365','2010-08-15','11' -'266','val_266','2010-08-15','11' -'439','val_439','2010-08-15','11' -'342','val_342','2010-08-15','11' -'367','val_367','2010-08-15','11' -'325','val_325','2010-08-15','11' -'167','val_167','2010-08-15','11' -'195','val_195','2010-08-15','11' -'475','val_475','2010-08-15','11' -'17','val_17','2010-08-15','11' -'113','val_113','2010-08-15','11' -'155','val_155','2010-08-15','11' -'203','val_203','2010-08-15','11' -'339','val_339','2010-08-15','11' -'0','val_0','2010-08-15','11' -'455','val_455','2010-08-15','11' -'128','val_128','2010-08-15','11' -'311','val_311','2010-08-15','11' -'316','val_316','2010-08-15','11' -'57','val_57','2010-08-15','11' -'302','val_302','2010-08-15','11' -'205','val_205','2010-08-15','11' -'149','val_149','2010-08-15','11' -'438','val_438','2010-08-15','11' -'345','val_345','2010-08-15','11' -'129','val_129','2010-08-15','11' -'170','val_170','2010-08-15','11' -'20','val_20','2010-08-15','11' -'489','val_489','2010-08-15','11' -'157','val_157','2010-08-15','11' -'378','val_378','2010-08-15','11' -'221','val_221','2010-08-15','11' -'92','val_92','2010-08-15','11' -'111','val_111','2010-08-15','11' -'47','val_47','2010-08-15','11' -'72','val_72','2010-08-15','11' -'4','val_4','2010-08-15','11' -'280','val_280','2010-08-15','11' -'35','val_35','2010-08-15','11' -'427','val_427','2010-08-15','11' -'277','val_277','2010-08-15','11' -'208','val_208','2010-08-15','11' -'356','val_356','2010-08-15','11' -'399','val_399','2010-08-15','11' -'169','val_169','2010-08-15','11' -'382','val_382','2010-08-15','11' -'498','val_498','2010-08-15','11' -'125','val_125','2010-08-15','11' -'386','val_386','2010-08-15','11' -'437','val_437','2010-08-15','11' -'469','val_469','2010-08-15','11' -'192','val_192','2010-08-15','11' -'286','val_286','2010-08-15','11' -'187','val_187','2010-08-15','11' -'176','val_176','2010-08-15','11' -'54','val_54','2010-08-15','11' -'459','val_459','2010-08-15','11' -'51','val_51','2010-08-15','11' -'138','val_138','2010-08-15','11' -'103','val_103','2010-08-15','11' -'239','val_239','2010-08-15','11' -'213','val_213','2010-08-15','11' -'216','val_216','2010-08-15','11' -'430','val_430','2010-08-15','11' -'278','val_278','2010-08-15','11' -'176','val_176','2010-08-15','11' -'289','val_289','2010-08-15','11' -'221','val_221','2010-08-15','11' -'65','val_65','2010-08-15','11' -'318','val_318','2010-08-15','11' -'332','val_332','2010-08-15','11' -'311','val_311','2010-08-15','11' -'275','val_275','2010-08-15','11' -'137','val_137','2010-08-15','11' -'241','val_241','2010-08-15','11' -'83','val_83','2010-08-15','11' -'333','val_333','2010-08-15','11' -'180','val_180','2010-08-15','11' -'284','val_284','2010-08-15','11' -'12','val_12','2010-08-15','11' -'230','val_230','2010-08-15','11' -'181','val_181','2010-08-15','11' -'67','val_67','2010-08-15','11' -'260','val_260','2010-08-15','11' -'404','val_404','2010-08-15','11' -'384','val_384','2010-08-15','11' -'489','val_489','2010-08-15','11' -'353','val_353','2010-08-15','11' -'373','val_373','2010-08-15','11' -'272','val_272','2010-08-15','11' -'138','val_138','2010-08-15','11' -'217','val_217','2010-08-15','11' -'84','val_84','2010-08-15','11' -'348','val_348','2010-08-15','11' -'466','val_466','2010-08-15','11' -'58','val_58','2010-08-15','11' -'8','val_8','2010-08-15','11' -'411','val_411','2010-08-15','11' -'230','val_230','2010-08-15','11' -'208','val_208','2010-08-15','11' -'348','val_348','2010-08-15','11' -'24','val_24','2010-08-15','11' -'463','val_463','2010-08-15','11' -'431','val_431','2010-08-15','11' -'179','val_179','2010-08-15','11' -'172','val_172','2010-08-15','11' -'42','val_42','2010-08-15','11' -'129','val_129','2010-08-15','11' -'158','val_158','2010-08-15','11' -'119','val_119','2010-08-15','11' -'496','val_496','2010-08-15','11' -'0','val_0','2010-08-15','11' -'322','val_322','2010-08-15','11' -'197','val_197','2010-08-15','11' -'468','val_468','2010-08-15','11' -'393','val_393','2010-08-15','11' -'454','val_454','2010-08-15','11' -'100','val_100','2010-08-15','11' -'298','val_298','2010-08-15','11' -'199','val_199','2010-08-15','11' -'191','val_191','2010-08-15','11' -'418','val_418','2010-08-15','11' -'96','val_96','2010-08-15','11' -'26','val_26','2010-08-15','11' -'165','val_165','2010-08-15','11' -'327','val_327','2010-08-15','11' -'230','val_230','2010-08-15','11' -'205','val_205','2010-08-15','11' -'120','val_120','2010-08-15','11' -'131','val_131','2010-08-15','11' -'51','val_51','2010-08-15','11' -'404','val_404','2010-08-15','11' -'43','val_43','2010-08-15','11' -'436','val_436','2010-08-15','11' -'156','val_156','2010-08-15','11' -'469','val_469','2010-08-15','11' -'468','val_468','2010-08-15','11' -'308','val_308','2010-08-15','11' -'95','val_95','2010-08-15','11' -'196','val_196','2010-08-15','11' -'288','val_288','2010-08-15','11' -'481','val_481','2010-08-15','11' -'457','val_457','2010-08-15','11' -'98','val_98','2010-08-15','11' -'282','val_282','2010-08-15','11' -'197','val_197','2010-08-15','11' -'187','val_187','2010-08-15','11' -'318','val_318','2010-08-15','11' -'318','val_318','2010-08-15','11' -'409','val_409','2010-08-15','11' -'470','val_470','2010-08-15','11' -'137','val_137','2010-08-15','11' -'369','val_369','2010-08-15','11' -'316','val_316','2010-08-15','11' -'169','val_169','2010-08-15','11' -'413','val_413','2010-08-15','11' -'85','val_85','2010-08-15','11' -'77','val_77','2010-08-15','11' -'0','val_0','2010-08-15','11' -'490','val_490','2010-08-15','11' -'87','val_87','2010-08-15','11' -'364','val_364','2010-08-15','11' -'179','val_179','2010-08-15','11' -'118','val_118','2010-08-15','11' -'134','val_134','2010-08-15','11' -'395','val_395','2010-08-15','11' -'282','val_282','2010-08-15','11' -'138','val_138','2010-08-15','11' -'238','val_238','2010-08-15','11' -'419','val_419','2010-08-15','11' -'15','val_15','2010-08-15','11' -'118','val_118','2010-08-15','11' -'72','val_72','2010-08-15','11' -'90','val_90','2010-08-15','11' -'307','val_307','2010-08-15','11' -'19','val_19','2010-08-15','11' -'435','val_435','2010-08-15','11' -'10','val_10','2010-08-15','11' -'277','val_277','2010-08-15','11' -'273','val_273','2010-08-15','11' -'306','val_306','2010-08-15','11' -'224','val_224','2010-08-15','11' -'309','val_309','2010-08-15','11' -'389','val_389','2010-08-15','11' -'327','val_327','2010-08-15','11' -'242','val_242','2010-08-15','11' -'369','val_369','2010-08-15','11' -'392','val_392','2010-08-15','11' -'272','val_272','2010-08-15','11' -'331','val_331','2010-08-15','11' -'401','val_401','2010-08-15','11' -'242','val_242','2010-08-15','11' -'452','val_452','2010-08-15','11' -'177','val_177','2010-08-15','11' -'226','val_226','2010-08-15','11' -'5','val_5','2010-08-15','11' -'497','val_497','2010-08-15','11' -'402','val_402','2010-08-15','11' -'396','val_396','2010-08-15','11' -'317','val_317','2010-08-15','11' -'395','val_395','2010-08-15','11' -'58','val_58','2010-08-15','11' -'35','val_35','2010-08-15','11' -'336','val_336','2010-08-15','11' -'95','val_95','2010-08-15','11' -'11','val_11','2010-08-15','11' -'168','val_168','2010-08-15','11' -'34','val_34','2010-08-15','11' -'229','val_229','2010-08-15','11' -'233','val_233','2010-08-15','11' -'143','val_143','2010-08-15','11' -'472','val_472','2010-08-15','11' -'322','val_322','2010-08-15','11' -'498','val_498','2010-08-15','11' -'160','val_160','2010-08-15','11' -'195','val_195','2010-08-15','11' -'42','val_42','2010-08-15','11' -'321','val_321','2010-08-15','11' -'430','val_430','2010-08-15','11' -'119','val_119','2010-08-15','11' -'489','val_489','2010-08-15','11' -'458','val_458','2010-08-15','11' -'78','val_78','2010-08-15','11' -'76','val_76','2010-08-15','11' -'41','val_41','2010-08-15','11' -'223','val_223','2010-08-15','11' -'492','val_492','2010-08-15','11' -'149','val_149','2010-08-15','11' -'449','val_449','2010-08-15','11' -'218','val_218','2010-08-15','11' -'228','val_228','2010-08-15','11' -'138','val_138','2010-08-15','11' -'453','val_453','2010-08-15','11' -'30','val_30','2010-08-15','11' -'209','val_209','2010-08-15','11' -'64','val_64','2010-08-15','11' -'468','val_468','2010-08-15','11' -'76','val_76','2010-08-15','11' -'74','val_74','2010-08-15','11' -'342','val_342','2010-08-15','11' -'69','val_69','2010-08-15','11' -'230','val_230','2010-08-15','11' -'33','val_33','2010-08-15','11' -'368','val_368','2010-08-15','11' -'103','val_103','2010-08-15','11' -'296','val_296','2010-08-15','11' -'113','val_113','2010-08-15','11' -'216','val_216','2010-08-15','11' -'367','val_367','2010-08-15','11' -'344','val_344','2010-08-15','11' -'167','val_167','2010-08-15','11' -'274','val_274','2010-08-15','11' -'219','val_219','2010-08-15','11' -'239','val_239','2010-08-15','11' -'485','val_485','2010-08-15','11' -'116','val_116','2010-08-15','11' -'223','val_223','2010-08-15','11' -'256','val_256','2010-08-15','11' -'263','val_263','2010-08-15','11' -'70','val_70','2010-08-15','11' -'487','val_487','2010-08-15','11' -'480','val_480','2010-08-15','11' -'401','val_401','2010-08-15','11' -'288','val_288','2010-08-15','11' -'191','val_191','2010-08-15','11' -'5','val_5','2010-08-15','11' -'244','val_244','2010-08-15','11' -'438','val_438','2010-08-15','11' -'128','val_128','2010-08-15','11' -'467','val_467','2010-08-15','11' -'432','val_432','2010-08-15','11' -'202','val_202','2010-08-15','11' -'316','val_316','2010-08-15','11' -'229','val_229','2010-08-15','11' -'469','val_469','2010-08-15','11' -'463','val_463','2010-08-15','11' -'280','val_280','2010-08-15','11' -'2','val_2','2010-08-15','11' -'35','val_35','2010-08-15','11' -'283','val_283','2010-08-15','11' -'331','val_331','2010-08-15','11' -'235','val_235','2010-08-15','11' -'80','val_80','2010-08-15','11' -'44','val_44','2010-08-15','11' -'193','val_193','2010-08-15','11' -'321','val_321','2010-08-15','11' -'335','val_335','2010-08-15','11' -'104','val_104','2010-08-15','11' -'466','val_466','2010-08-15','11' -'366','val_366','2010-08-15','11' -'175','val_175','2010-08-15','11' -'403','val_403','2010-08-15','11' -'483','val_483','2010-08-15','11' -'53','val_53','2010-08-15','11' -'105','val_105','2010-08-15','11' -'257','val_257','2010-08-15','11' -'406','val_406','2010-08-15','11' -'409','val_409','2010-08-15','11' -'190','val_190','2010-08-15','11' -'406','val_406','2010-08-15','11' -'401','val_401','2010-08-15','11' -'114','val_114','2010-08-15','11' -'258','val_258','2010-08-15','11' -'90','val_90','2010-08-15','11' -'203','val_203','2010-08-15','11' -'262','val_262','2010-08-15','11' -'348','val_348','2010-08-15','11' -'424','val_424','2010-08-15','11' -'12','val_12','2010-08-15','11' -'396','val_396','2010-08-15','11' -'201','val_201','2010-08-15','11' -'217','val_217','2010-08-15','11' -'164','val_164','2010-08-15','11' -'431','val_431','2010-08-15','11' -'454','val_454','2010-08-15','11' -'478','val_478','2010-08-15','11' -'298','val_298','2010-08-15','11' -'125','val_125','2010-08-15','11' -'431','val_431','2010-08-15','11' -'164','val_164','2010-08-15','11' -'424','val_424','2010-08-15','11' -'187','val_187','2010-08-15','11' -'382','val_382','2010-08-15','11' -'5','val_5','2010-08-15','11' -'70','val_70','2010-08-15','11' -'397','val_397','2010-08-15','11' -'480','val_480','2010-08-15','11' -'291','val_291','2010-08-15','11' -'24','val_24','2010-08-15','11' -'351','val_351','2010-08-15','11' -'255','val_255','2010-08-15','11' -'104','val_104','2010-08-15','11' -'70','val_70','2010-08-15','11' -'163','val_163','2010-08-15','11' -'438','val_438','2010-08-15','11' -'119','val_119','2010-08-15','11' -'414','val_414','2010-08-15','11' -'200','val_200','2010-08-15','11' -'491','val_491','2010-08-15','11' -'237','val_237','2010-08-15','11' -'439','val_439','2010-08-15','11' -'360','val_360','2010-08-15','11' -'248','val_248','2010-08-15','11' -'479','val_479','2010-08-15','11' -'305','val_305','2010-08-15','11' -'417','val_417','2010-08-15','11' -'199','val_199','2010-08-15','11' -'444','val_444','2010-08-15','11' -'120','val_120','2010-08-15','11' -'429','val_429','2010-08-15','11' -'169','val_169','2010-08-15','11' -'443','val_443','2010-08-15','11' -'323','val_323','2010-08-15','11' -'325','val_325','2010-08-15','11' -'277','val_277','2010-08-15','11' -'230','val_230','2010-08-15','11' -'478','val_478','2010-08-15','11' -'178','val_178','2010-08-15','11' -'468','val_468','2010-08-15','11' -'310','val_310','2010-08-15','11' -'317','val_317','2010-08-15','11' -'333','val_333','2010-08-15','11' -'493','val_493','2010-08-15','11' -'460','val_460','2010-08-15','11' -'207','val_207','2010-08-15','11' -'249','val_249','2010-08-15','11' -'265','val_265','2010-08-15','11' -'480','val_480','2010-08-15','11' -'83','val_83','2010-08-15','11' -'136','val_136','2010-08-15','11' -'353','val_353','2010-08-15','11' -'172','val_172','2010-08-15','11' -'214','val_214','2010-08-15','11' -'462','val_462','2010-08-15','11' -'233','val_233','2010-08-15','11' -'406','val_406','2010-08-15','11' -'133','val_133','2010-08-15','11' -'175','val_175','2010-08-15','11' -'189','val_189','2010-08-15','11' -'454','val_454','2010-08-15','11' -'375','val_375','2010-08-15','11' -'401','val_401','2010-08-15','11' -'421','val_421','2010-08-15','11' -'407','val_407','2010-08-15','11' -'384','val_384','2010-08-15','11' -'256','val_256','2010-08-15','11' -'26','val_26','2010-08-15','11' -'134','val_134','2010-08-15','11' -'67','val_67','2010-08-15','11' -'384','val_384','2010-08-15','11' -'379','val_379','2010-08-15','11' -'18','val_18','2010-08-15','11' -'462','val_462','2010-08-15','11' -'492','val_492','2010-08-15','11' -'100','val_100','2010-08-15','11' -'298','val_298','2010-08-15','11' -'9','val_9','2010-08-15','11' -'341','val_341','2010-08-15','11' -'498','val_498','2010-08-15','11' -'146','val_146','2010-08-15','11' -'458','val_458','2010-08-15','11' -'362','val_362','2010-08-15','11' -'186','val_186','2010-08-15','11' -'285','val_285','2010-08-15','11' -'348','val_348','2010-08-15','11' -'167','val_167','2010-08-15','11' -'18','val_18','2010-08-15','11' -'273','val_273','2010-08-15','11' -'183','val_183','2010-08-15','11' -'281','val_281','2010-08-15','11' -'344','val_344','2010-08-15','11' -'97','val_97','2010-08-15','11' -'469','val_469','2010-08-15','11' -'315','val_315','2010-08-15','11' -'84','val_84','2010-08-15','11' -'28','val_28','2010-08-15','11' -'37','val_37','2010-08-15','11' -'448','val_448','2010-08-15','11' -'152','val_152','2010-08-15','11' -'348','val_348','2010-08-15','11' -'307','val_307','2010-08-15','11' -'194','val_194','2010-08-15','11' -'414','val_414','2010-08-15','11' -'477','val_477','2010-08-15','11' -'222','val_222','2010-08-15','11' -'126','val_126','2010-08-15','11' -'90','val_90','2010-08-15','11' -'169','val_169','2010-08-15','11' -'403','val_403','2010-08-15','11' -'400','val_400','2010-08-15','11' -'200','val_200','2010-08-15','11' -'97','val_97','2010-08-15','11' -'238','val_238','2010-08-15','11' -'86','val_86','2010-08-15','11' -'311','val_311','2010-08-15','11' -'27','val_27','2010-08-15','11' -'165','val_165','2010-08-15','11' -'409','val_409','2010-08-15','11' -'255','val_255','2010-08-15','11' -'278','val_278','2010-08-15','11' -'98','val_98','2010-08-15','11' -'484','val_484','2010-08-15','11' -'265','val_265','2010-08-15','11' -'193','val_193','2010-08-15','11' -'401','val_401','2010-08-15','11' -'150','val_150','2010-08-15','11' -'273','val_273','2010-08-15','11' -'224','val_224','2010-08-15','11' -'369','val_369','2010-08-15','11' -'66','val_66','2010-08-15','11' -'128','val_128','2010-08-15','11' -'213','val_213','2010-08-15','11' -'146','val_146','2010-08-15','11' -'406','val_406','2010-08-15','11' -'429','val_429','2010-08-15','11' -'374','val_374','2010-08-15','11' -'152','val_152','2010-08-15','11' -'469','val_469','2010-08-15','11' -'145','val_145','2010-08-15','11' -'495','val_495','2010-08-15','11' -'37','val_37','2010-08-15','11' -'327','val_327','2010-08-15','11' -'281','val_281','2010-08-15','11' -'277','val_277','2010-08-15','11' -'209','val_209','2010-08-15','11' -'15','val_15','2010-08-15','11' -'82','val_82','2010-08-15','11' -'403','val_403','2010-08-15','11' -'166','val_166','2010-08-15','11' -'417','val_417','2010-08-15','11' -'430','val_430','2010-08-15','11' -'252','val_252','2010-08-15','11' -'292','val_292','2010-08-15','11' -'219','val_219','2010-08-15','11' -'287','val_287','2010-08-15','11' -'153','val_153','2010-08-15','11' -'193','val_193','2010-08-15','11' -'338','val_338','2010-08-15','11' -'446','val_446','2010-08-15','11' -'459','val_459','2010-08-15','11' -'394','val_394','2010-08-15','11' -'237','val_237','2010-08-15','11' -'482','val_482','2010-08-15','11' -'174','val_174','2010-08-15','11' -'413','val_413','2010-08-15','11' -'494','val_494','2010-08-15','11' -'207','val_207','2010-08-15','11' -'199','val_199','2010-08-15','11' -'466','val_466','2010-08-15','11' -'208','val_208','2010-08-15','11' -'174','val_174','2010-08-15','11' -'399','val_399','2010-08-15','11' -'396','val_396','2010-08-15','11' -'247','val_247','2010-08-15','11' -'417','val_417','2010-08-15','11' -'489','val_489','2010-08-15','11' -'162','val_162','2010-08-15','11' -'377','val_377','2010-08-15','11' -'397','val_397','2010-08-15','11' -'309','val_309','2010-08-15','11' -'365','val_365','2010-08-15','11' -'266','val_266','2010-08-15','11' -'439','val_439','2010-08-15','11' -'342','val_342','2010-08-15','11' -'367','val_367','2010-08-15','11' -'325','val_325','2010-08-15','11' -'167','val_167','2010-08-15','11' -'195','val_195','2010-08-15','11' -'475','val_475','2010-08-15','11' -'17','val_17','2010-08-15','11' -'113','val_113','2010-08-15','11' -'155','val_155','2010-08-15','11' -'203','val_203','2010-08-15','11' -'339','val_339','2010-08-15','11' -'0','val_0','2010-08-15','11' -'455','val_455','2010-08-15','11' -'128','val_128','2010-08-15','11' -'311','val_311','2010-08-15','11' -'316','val_316','2010-08-15','11' -'57','val_57','2010-08-15','11' -'302','val_302','2010-08-15','11' -'205','val_205','2010-08-15','11' -'149','val_149','2010-08-15','11' -'438','val_438','2010-08-15','11' -'345','val_345','2010-08-15','11' -'129','val_129','2010-08-15','11' -'170','val_170','2010-08-15','11' -'20','val_20','2010-08-15','11' -'489','val_489','2010-08-15','11' -'157','val_157','2010-08-15','11' -'378','val_378','2010-08-15','11' -'221','val_221','2010-08-15','11' -'92','val_92','2010-08-15','11' -'111','val_111','2010-08-15','11' -'47','val_47','2010-08-15','11' -'72','val_72','2010-08-15','11' -'4','val_4','2010-08-15','11' -'280','val_280','2010-08-15','11' -'35','val_35','2010-08-15','11' -'427','val_427','2010-08-15','11' -'277','val_277','2010-08-15','11' -'208','val_208','2010-08-15','11' -'356','val_356','2010-08-15','11' -'399','val_399','2010-08-15','11' -'169','val_169','2010-08-15','11' -'382','val_382','2010-08-15','11' -'498','val_498','2010-08-15','11' -'125','val_125','2010-08-15','11' -'386','val_386','2010-08-15','11' -'437','val_437','2010-08-15','11' -'469','val_469','2010-08-15','11' -'192','val_192','2010-08-15','11' -'286','val_286','2010-08-15','11' -'187','val_187','2010-08-15','11' -'176','val_176','2010-08-15','11' -'54','val_54','2010-08-15','11' -'459','val_459','2010-08-15','11' -'51','val_51','2010-08-15','11' -'138','val_138','2010-08-15','11' -'103','val_103','2010-08-15','11' -'239','val_239','2010-08-15','11' -'213','val_213','2010-08-15','11' -'216','val_216','2010-08-15','11' -'430','val_430','2010-08-15','11' -'278','val_278','2010-08-15','11' -'176','val_176','2010-08-15','11' -'289','val_289','2010-08-15','11' -'221','val_221','2010-08-15','11' -'65','val_65','2010-08-15','11' -'318','val_318','2010-08-15','11' -'332','val_332','2010-08-15','11' -'311','val_311','2010-08-15','11' -'275','val_275','2010-08-15','11' -'137','val_137','2010-08-15','11' -'241','val_241','2010-08-15','11' -'83','val_83','2010-08-15','11' -'333','val_333','2010-08-15','11' -'180','val_180','2010-08-15','11' -'284','val_284','2010-08-15','11' -'12','val_12','2010-08-15','11' -'230','val_230','2010-08-15','11' -'181','val_181','2010-08-15','11' -'67','val_67','2010-08-15','11' -'260','val_260','2010-08-15','11' -'404','val_404','2010-08-15','11' -'384','val_384','2010-08-15','11' -'489','val_489','2010-08-15','11' -'353','val_353','2010-08-15','11' -'373','val_373','2010-08-15','11' -'272','val_272','2010-08-15','11' -'138','val_138','2010-08-15','11' -'217','val_217','2010-08-15','11' -'84','val_84','2010-08-15','11' -'348','val_348','2010-08-15','11' -'466','val_466','2010-08-15','11' -'58','val_58','2010-08-15','11' -'8','val_8','2010-08-15','11' -'411','val_411','2010-08-15','11' -'230','val_230','2010-08-15','11' -'208','val_208','2010-08-15','11' -'348','val_348','2010-08-15','11' -'24','val_24','2010-08-15','11' -'463','val_463','2010-08-15','11' -'431','val_431','2010-08-15','11' -'179','val_179','2010-08-15','11' -'172','val_172','2010-08-15','11' -'42','val_42','2010-08-15','11' -'129','val_129','2010-08-15','11' -'158','val_158','2010-08-15','11' -'119','val_119','2010-08-15','11' -'496','val_496','2010-08-15','11' -'0','val_0','2010-08-15','11' -'322','val_322','2010-08-15','11' -'197','val_197','2010-08-15','11' -'468','val_468','2010-08-15','11' -'393','val_393','2010-08-15','11' -'454','val_454','2010-08-15','11' -'100','val_100','2010-08-15','11' -'298','val_298','2010-08-15','11' -'199','val_199','2010-08-15','11' -'191','val_191','2010-08-15','11' -'418','val_418','2010-08-15','11' -'96','val_96','2010-08-15','11' -'26','val_26','2010-08-15','11' -'165','val_165','2010-08-15','11' -'327','val_327','2010-08-15','11' -'230','val_230','2010-08-15','11' -'205','val_205','2010-08-15','11' -'120','val_120','2010-08-15','11' -'131','val_131','2010-08-15','11' -'51','val_51','2010-08-15','11' -'404','val_404','2010-08-15','11' -'43','val_43','2010-08-15','11' -'436','val_436','2010-08-15','11' -'156','val_156','2010-08-15','11' -'469','val_469','2010-08-15','11' -'468','val_468','2010-08-15','11' -'308','val_308','2010-08-15','11' -'95','val_95','2010-08-15','11' -'196','val_196','2010-08-15','11' -'288','val_288','2010-08-15','11' -'481','val_481','2010-08-15','11' -'457','val_457','2010-08-15','11' -'98','val_98','2010-08-15','11' -'282','val_282','2010-08-15','11' -'197','val_197','2010-08-15','11' -'187','val_187','2010-08-15','11' -'318','val_318','2010-08-15','11' -'318','val_318','2010-08-15','11' -'409','val_409','2010-08-15','11' -'470','val_470','2010-08-15','11' -'137','val_137','2010-08-15','11' -'369','val_369','2010-08-15','11' -'316','val_316','2010-08-15','11' -'169','val_169','2010-08-15','11' -'413','val_413','2010-08-15','11' -'85','val_85','2010-08-15','11' -'77','val_77','2010-08-15','11' -'0','val_0','2010-08-15','11' -'490','val_490','2010-08-15','11' -'87','val_87','2010-08-15','11' -'364','val_364','2010-08-15','11' -'179','val_179','2010-08-15','11' -'118','val_118','2010-08-15','11' -'134','val_134','2010-08-15','11' -'395','val_395','2010-08-15','11' -'282','val_282','2010-08-15','11' -'138','val_138','2010-08-15','11' -'238','val_238','2010-08-15','11' -'419','val_419','2010-08-15','11' -'15','val_15','2010-08-15','11' -'118','val_118','2010-08-15','11' -'72','val_72','2010-08-15','11' -'90','val_90','2010-08-15','11' -'307','val_307','2010-08-15','11' -'19','val_19','2010-08-15','11' -'435','val_435','2010-08-15','11' -'10','val_10','2010-08-15','11' -'277','val_277','2010-08-15','11' -'273','val_273','2010-08-15','11' -'306','val_306','2010-08-15','11' -'224','val_224','2010-08-15','11' -'309','val_309','2010-08-15','11' -'389','val_389','2010-08-15','11' -'327','val_327','2010-08-15','11' -'242','val_242','2010-08-15','11' -'369','val_369','2010-08-15','11' -'392','val_392','2010-08-15','11' -'272','val_272','2010-08-15','11' -'331','val_331','2010-08-15','11' -'401','val_401','2010-08-15','11' -'242','val_242','2010-08-15','11' -'452','val_452','2010-08-15','11' -'177','val_177','2010-08-15','11' -'226','val_226','2010-08-15','11' -'5','val_5','2010-08-15','11' -'497','val_497','2010-08-15','11' -'402','val_402','2010-08-15','11' -'396','val_396','2010-08-15','11' -'317','val_317','2010-08-15','11' -'395','val_395','2010-08-15','11' -'58','val_58','2010-08-15','11' -'35','val_35','2010-08-15','11' -'336','val_336','2010-08-15','11' -'95','val_95','2010-08-15','11' -'11','val_11','2010-08-15','11' -'168','val_168','2010-08-15','11' -'34','val_34','2010-08-15','11' -'229','val_229','2010-08-15','11' -'233','val_233','2010-08-15','11' -'143','val_143','2010-08-15','11' -'472','val_472','2010-08-15','11' -'322','val_322','2010-08-15','11' -'498','val_498','2010-08-15','11' -'160','val_160','2010-08-15','11' -'195','val_195','2010-08-15','11' -'42','val_42','2010-08-15','11' -'321','val_321','2010-08-15','11' -'430','val_430','2010-08-15','11' -'119','val_119','2010-08-15','11' -'489','val_489','2010-08-15','11' -'458','val_458','2010-08-15','11' -'78','val_78','2010-08-15','11' -'76','val_76','2010-08-15','11' -'41','val_41','2010-08-15','11' -'223','val_223','2010-08-15','11' -'492','val_492','2010-08-15','11' -'149','val_149','2010-08-15','11' -'449','val_449','2010-08-15','11' -'218','val_218','2010-08-15','11' -'228','val_228','2010-08-15','11' -'138','val_138','2010-08-15','11' -'453','val_453','2010-08-15','11' -'30','val_30','2010-08-15','11' -'209','val_209','2010-08-15','11' -'64','val_64','2010-08-15','11' -'468','val_468','2010-08-15','11' -'76','val_76','2010-08-15','11' -'74','val_74','2010-08-15','11' -'342','val_342','2010-08-15','11' -'69','val_69','2010-08-15','11' -'230','val_230','2010-08-15','11' -'33','val_33','2010-08-15','11' -'368','val_368','2010-08-15','11' -'103','val_103','2010-08-15','11' -'296','val_296','2010-08-15','11' -'113','val_113','2010-08-15','11' -'216','val_216','2010-08-15','11' -'367','val_367','2010-08-15','11' -'344','val_344','2010-08-15','11' -'167','val_167','2010-08-15','11' -'274','val_274','2010-08-15','11' -'219','val_219','2010-08-15','11' -'239','val_239','2010-08-15','11' -'485','val_485','2010-08-15','11' -'116','val_116','2010-08-15','11' -'223','val_223','2010-08-15','11' -'256','val_256','2010-08-15','11' -'263','val_263','2010-08-15','11' -'70','val_70','2010-08-15','11' -'487','val_487','2010-08-15','11' -'480','val_480','2010-08-15','11' -'401','val_401','2010-08-15','11' -'288','val_288','2010-08-15','11' -'191','val_191','2010-08-15','11' -'5','val_5','2010-08-15','11' -'244','val_244','2010-08-15','11' -'438','val_438','2010-08-15','11' -'128','val_128','2010-08-15','11' -'467','val_467','2010-08-15','11' -'432','val_432','2010-08-15','11' -'202','val_202','2010-08-15','11' -'316','val_316','2010-08-15','11' -'229','val_229','2010-08-15','11' -'469','val_469','2010-08-15','11' -'463','val_463','2010-08-15','11' -'280','val_280','2010-08-15','11' -'2','val_2','2010-08-15','11' -'35','val_35','2010-08-15','11' -'283','val_283','2010-08-15','11' -'331','val_331','2010-08-15','11' -'235','val_235','2010-08-15','11' -'80','val_80','2010-08-15','11' -'44','val_44','2010-08-15','11' -'193','val_193','2010-08-15','11' -'321','val_321','2010-08-15','11' -'335','val_335','2010-08-15','11' -'104','val_104','2010-08-15','11' -'466','val_466','2010-08-15','11' -'366','val_366','2010-08-15','11' -'175','val_175','2010-08-15','11' -'403','val_403','2010-08-15','11' -'483','val_483','2010-08-15','11' -'53','val_53','2010-08-15','11' -'105','val_105','2010-08-15','11' -'257','val_257','2010-08-15','11' -'406','val_406','2010-08-15','11' -'409','val_409','2010-08-15','11' -'190','val_190','2010-08-15','11' -'406','val_406','2010-08-15','11' -'401','val_401','2010-08-15','11' -'114','val_114','2010-08-15','11' -'258','val_258','2010-08-15','11' -'90','val_90','2010-08-15','11' -'203','val_203','2010-08-15','11' -'262','val_262','2010-08-15','11' -'348','val_348','2010-08-15','11' -'424','val_424','2010-08-15','11' -'12','val_12','2010-08-15','11' -'396','val_396','2010-08-15','11' -'201','val_201','2010-08-15','11' -'217','val_217','2010-08-15','11' -'164','val_164','2010-08-15','11' -'431','val_431','2010-08-15','11' -'454','val_454','2010-08-15','11' -'478','val_478','2010-08-15','11' -'298','val_298','2010-08-15','11' -'125','val_125','2010-08-15','11' -'431','val_431','2010-08-15','11' -'164','val_164','2010-08-15','11' -'424','val_424','2010-08-15','11' -'187','val_187','2010-08-15','11' -'382','val_382','2010-08-15','11' -'5','val_5','2010-08-15','11' -'70','val_70','2010-08-15','11' -'397','val_397','2010-08-15','11' -'480','val_480','2010-08-15','11' -'291','val_291','2010-08-15','11' -'24','val_24','2010-08-15','11' -'351','val_351','2010-08-15','11' -'255','val_255','2010-08-15','11' -'104','val_104','2010-08-15','11' -'70','val_70','2010-08-15','11' -'163','val_163','2010-08-15','11' -'438','val_438','2010-08-15','11' -'119','val_119','2010-08-15','11' -'414','val_414','2010-08-15','11' -'200','val_200','2010-08-15','11' -'491','val_491','2010-08-15','11' -'237','val_237','2010-08-15','11' -'439','val_439','2010-08-15','11' -'360','val_360','2010-08-15','11' -'248','val_248','2010-08-15','11' -'479','val_479','2010-08-15','11' -'305','val_305','2010-08-15','11' -'417','val_417','2010-08-15','11' -'199','val_199','2010-08-15','11' -'444','val_444','2010-08-15','11' -'120','val_120','2010-08-15','11' -'429','val_429','2010-08-15','11' -'169','val_169','2010-08-15','11' -'443','val_443','2010-08-15','11' -'323','val_323','2010-08-15','11' -'325','val_325','2010-08-15','11' -'277','val_277','2010-08-15','11' -'230','val_230','2010-08-15','11' -'478','val_478','2010-08-15','11' -'178','val_178','2010-08-15','11' -'468','val_468','2010-08-15','11' -'310','val_310','2010-08-15','11' -'317','val_317','2010-08-15','11' -'333','val_333','2010-08-15','11' -'493','val_493','2010-08-15','11' -'460','val_460','2010-08-15','11' -'207','val_207','2010-08-15','11' -'249','val_249','2010-08-15','11' -'265','val_265','2010-08-15','11' -'480','val_480','2010-08-15','11' -'83','val_83','2010-08-15','11' -'136','val_136','2010-08-15','11' -'353','val_353','2010-08-15','11' -'172','val_172','2010-08-15','11' -'214','val_214','2010-08-15','11' -'462','val_462','2010-08-15','11' -'233','val_233','2010-08-15','11' -'406','val_406','2010-08-15','11' -'133','val_133','2010-08-15','11' -'175','val_175','2010-08-15','11' -'189','val_189','2010-08-15','11' -'454','val_454','2010-08-15','11' -'375','val_375','2010-08-15','11' -'401','val_401','2010-08-15','11' -'421','val_421','2010-08-15','11' -'407','val_407','2010-08-15','11' -'384','val_384','2010-08-15','11' -'256','val_256','2010-08-15','11' -'26','val_26','2010-08-15','11' -'134','val_134','2010-08-15','11' -'67','val_67','2010-08-15','11' -'384','val_384','2010-08-15','11' -'379','val_379','2010-08-15','11' -'18','val_18','2010-08-15','11' -'462','val_462','2010-08-15','11' -'492','val_492','2010-08-15','11' -'100','val_100','2010-08-15','11' -'298','val_298','2010-08-15','11' -'9','val_9','2010-08-15','11' -'341','val_341','2010-08-15','11' -'498','val_498','2010-08-15','11' -'146','val_146','2010-08-15','11' -'458','val_458','2010-08-15','11' -'362','val_362','2010-08-15','11' -'186','val_186','2010-08-15','11' -'285','val_285','2010-08-15','11' -'348','val_348','2010-08-15','11' -'167','val_167','2010-08-15','11' -'18','val_18','2010-08-15','11' -'273','val_273','2010-08-15','11' -'183','val_183','2010-08-15','11' -'281','val_281','2010-08-15','11' -'344','val_344','2010-08-15','11' -'97','val_97','2010-08-15','11' -'469','val_469','2010-08-15','11' -'315','val_315','2010-08-15','11' -'84','val_84','2010-08-15','11' -'28','val_28','2010-08-15','11' -'37','val_37','2010-08-15','11' -'448','val_448','2010-08-15','11' -'152','val_152','2010-08-15','11' -'348','val_348','2010-08-15','11' -'307','val_307','2010-08-15','11' -'194','val_194','2010-08-15','11' -'414','val_414','2010-08-15','11' -'477','val_477','2010-08-15','11' -'222','val_222','2010-08-15','11' -'126','val_126','2010-08-15','11' -'90','val_90','2010-08-15','11' -'169','val_169','2010-08-15','11' -'403','val_403','2010-08-15','11' -'400','val_400','2010-08-15','11' -'200','val_200','2010-08-15','11' -'97','val_97','2010-08-15','11' -'238','val_238','2010-08-15','12' -'86','val_86','2010-08-15','12' -'311','val_311','2010-08-15','12' -'27','val_27','2010-08-15','12' -'165','val_165','2010-08-15','12' -'409','val_409','2010-08-15','12' -'255','val_255','2010-08-15','12' -'278','val_278','2010-08-15','12' -'98','val_98','2010-08-15','12' -'484','val_484','2010-08-15','12' -'265','val_265','2010-08-15','12' -'193','val_193','2010-08-15','12' -'401','val_401','2010-08-15','12' -'150','val_150','2010-08-15','12' -'273','val_273','2010-08-15','12' -'224','val_224','2010-08-15','12' -'369','val_369','2010-08-15','12' -'66','val_66','2010-08-15','12' -'128','val_128','2010-08-15','12' -'213','val_213','2010-08-15','12' -'146','val_146','2010-08-15','12' -'406','val_406','2010-08-15','12' -'429','val_429','2010-08-15','12' -'374','val_374','2010-08-15','12' -'152','val_152','2010-08-15','12' -'469','val_469','2010-08-15','12' -'145','val_145','2010-08-15','12' -'495','val_495','2010-08-15','12' -'37','val_37','2010-08-15','12' -'327','val_327','2010-08-15','12' -'281','val_281','2010-08-15','12' -'277','val_277','2010-08-15','12' -'209','val_209','2010-08-15','12' -'15','val_15','2010-08-15','12' -'82','val_82','2010-08-15','12' -'403','val_403','2010-08-15','12' -'166','val_166','2010-08-15','12' -'417','val_417','2010-08-15','12' -'430','val_430','2010-08-15','12' -'252','val_252','2010-08-15','12' -'292','val_292','2010-08-15','12' -'219','val_219','2010-08-15','12' -'287','val_287','2010-08-15','12' -'153','val_153','2010-08-15','12' -'193','val_193','2010-08-15','12' -'338','val_338','2010-08-15','12' -'446','val_446','2010-08-15','12' -'459','val_459','2010-08-15','12' -'394','val_394','2010-08-15','12' -'237','val_237','2010-08-15','12' -'482','val_482','2010-08-15','12' -'174','val_174','2010-08-15','12' -'413','val_413','2010-08-15','12' -'494','val_494','2010-08-15','12' -'207','val_207','2010-08-15','12' -'199','val_199','2010-08-15','12' -'466','val_466','2010-08-15','12' -'208','val_208','2010-08-15','12' -'174','val_174','2010-08-15','12' -'399','val_399','2010-08-15','12' -'396','val_396','2010-08-15','12' -'247','val_247','2010-08-15','12' -'417','val_417','2010-08-15','12' -'489','val_489','2010-08-15','12' -'162','val_162','2010-08-15','12' -'377','val_377','2010-08-15','12' -'397','val_397','2010-08-15','12' -'309','val_309','2010-08-15','12' -'365','val_365','2010-08-15','12' -'266','val_266','2010-08-15','12' -'439','val_439','2010-08-15','12' -'342','val_342','2010-08-15','12' -'367','val_367','2010-08-15','12' -'325','val_325','2010-08-15','12' -'167','val_167','2010-08-15','12' -'195','val_195','2010-08-15','12' -'475','val_475','2010-08-15','12' -'17','val_17','2010-08-15','12' -'113','val_113','2010-08-15','12' -'155','val_155','2010-08-15','12' -'203','val_203','2010-08-15','12' -'339','val_339','2010-08-15','12' -'0','val_0','2010-08-15','12' -'455','val_455','2010-08-15','12' -'128','val_128','2010-08-15','12' -'311','val_311','2010-08-15','12' -'316','val_316','2010-08-15','12' -'57','val_57','2010-08-15','12' -'302','val_302','2010-08-15','12' -'205','val_205','2010-08-15','12' -'149','val_149','2010-08-15','12' -'438','val_438','2010-08-15','12' -'345','val_345','2010-08-15','12' -'129','val_129','2010-08-15','12' -'170','val_170','2010-08-15','12' -'20','val_20','2010-08-15','12' -'489','val_489','2010-08-15','12' -'157','val_157','2010-08-15','12' -'378','val_378','2010-08-15','12' -'221','val_221','2010-08-15','12' -'92','val_92','2010-08-15','12' -'111','val_111','2010-08-15','12' -'47','val_47','2010-08-15','12' -'72','val_72','2010-08-15','12' -'4','val_4','2010-08-15','12' -'280','val_280','2010-08-15','12' -'35','val_35','2010-08-15','12' -'427','val_427','2010-08-15','12' -'277','val_277','2010-08-15','12' -'208','val_208','2010-08-15','12' -'356','val_356','2010-08-15','12' -'399','val_399','2010-08-15','12' -'169','val_169','2010-08-15','12' -'382','val_382','2010-08-15','12' -'498','val_498','2010-08-15','12' -'125','val_125','2010-08-15','12' -'386','val_386','2010-08-15','12' -'437','val_437','2010-08-15','12' -'469','val_469','2010-08-15','12' -'192','val_192','2010-08-15','12' -'286','val_286','2010-08-15','12' -'187','val_187','2010-08-15','12' -'176','val_176','2010-08-15','12' -'54','val_54','2010-08-15','12' -'459','val_459','2010-08-15','12' -'51','val_51','2010-08-15','12' -'138','val_138','2010-08-15','12' -'103','val_103','2010-08-15','12' -'239','val_239','2010-08-15','12' -'213','val_213','2010-08-15','12' -'216','val_216','2010-08-15','12' -'430','val_430','2010-08-15','12' -'278','val_278','2010-08-15','12' -'176','val_176','2010-08-15','12' -'289','val_289','2010-08-15','12' -'221','val_221','2010-08-15','12' -'65','val_65','2010-08-15','12' -'318','val_318','2010-08-15','12' -'332','val_332','2010-08-15','12' -'311','val_311','2010-08-15','12' -'275','val_275','2010-08-15','12' -'137','val_137','2010-08-15','12' -'241','val_241','2010-08-15','12' -'83','val_83','2010-08-15','12' -'333','val_333','2010-08-15','12' -'180','val_180','2010-08-15','12' -'284','val_284','2010-08-15','12' -'12','val_12','2010-08-15','12' -'230','val_230','2010-08-15','12' -'181','val_181','2010-08-15','12' -'67','val_67','2010-08-15','12' -'260','val_260','2010-08-15','12' -'404','val_404','2010-08-15','12' -'384','val_384','2010-08-15','12' -'489','val_489','2010-08-15','12' -'353','val_353','2010-08-15','12' -'373','val_373','2010-08-15','12' -'272','val_272','2010-08-15','12' -'138','val_138','2010-08-15','12' -'217','val_217','2010-08-15','12' -'84','val_84','2010-08-15','12' -'348','val_348','2010-08-15','12' -'466','val_466','2010-08-15','12' -'58','val_58','2010-08-15','12' -'8','val_8','2010-08-15','12' -'411','val_411','2010-08-15','12' -'230','val_230','2010-08-15','12' -'208','val_208','2010-08-15','12' -'348','val_348','2010-08-15','12' -'24','val_24','2010-08-15','12' -'463','val_463','2010-08-15','12' -'431','val_431','2010-08-15','12' -'179','val_179','2010-08-15','12' -'172','val_172','2010-08-15','12' -'42','val_42','2010-08-15','12' -'129','val_129','2010-08-15','12' -'158','val_158','2010-08-15','12' -'119','val_119','2010-08-15','12' -'496','val_496','2010-08-15','12' -'0','val_0','2010-08-15','12' -'322','val_322','2010-08-15','12' -'197','val_197','2010-08-15','12' -'468','val_468','2010-08-15','12' -'393','val_393','2010-08-15','12' -'454','val_454','2010-08-15','12' -'100','val_100','2010-08-15','12' -'298','val_298','2010-08-15','12' -'199','val_199','2010-08-15','12' -'191','val_191','2010-08-15','12' -'418','val_418','2010-08-15','12' -'96','val_96','2010-08-15','12' -'26','val_26','2010-08-15','12' -'165','val_165','2010-08-15','12' -'327','val_327','2010-08-15','12' -'230','val_230','2010-08-15','12' -'205','val_205','2010-08-15','12' -'120','val_120','2010-08-15','12' -'131','val_131','2010-08-15','12' -'51','val_51','2010-08-15','12' -'404','val_404','2010-08-15','12' -'43','val_43','2010-08-15','12' -'436','val_436','2010-08-15','12' -'156','val_156','2010-08-15','12' -'469','val_469','2010-08-15','12' -'468','val_468','2010-08-15','12' -'308','val_308','2010-08-15','12' -'95','val_95','2010-08-15','12' -'196','val_196','2010-08-15','12' -'288','val_288','2010-08-15','12' -'481','val_481','2010-08-15','12' -'457','val_457','2010-08-15','12' -'98','val_98','2010-08-15','12' -'282','val_282','2010-08-15','12' -'197','val_197','2010-08-15','12' -'187','val_187','2010-08-15','12' -'318','val_318','2010-08-15','12' -'318','val_318','2010-08-15','12' -'409','val_409','2010-08-15','12' -'470','val_470','2010-08-15','12' -'137','val_137','2010-08-15','12' -'369','val_369','2010-08-15','12' -'316','val_316','2010-08-15','12' -'169','val_169','2010-08-15','12' -'413','val_413','2010-08-15','12' -'85','val_85','2010-08-15','12' -'77','val_77','2010-08-15','12' -'0','val_0','2010-08-15','12' -'490','val_490','2010-08-15','12' -'87','val_87','2010-08-15','12' -'364','val_364','2010-08-15','12' -'179','val_179','2010-08-15','12' -'118','val_118','2010-08-15','12' -'134','val_134','2010-08-15','12' -'395','val_395','2010-08-15','12' -'282','val_282','2010-08-15','12' -'138','val_138','2010-08-15','12' -'238','val_238','2010-08-15','12' -'419','val_419','2010-08-15','12' -'15','val_15','2010-08-15','12' -'118','val_118','2010-08-15','12' -'72','val_72','2010-08-15','12' -'90','val_90','2010-08-15','12' -'307','val_307','2010-08-15','12' -'19','val_19','2010-08-15','12' -'435','val_435','2010-08-15','12' -'10','val_10','2010-08-15','12' -'277','val_277','2010-08-15','12' -'273','val_273','2010-08-15','12' -'306','val_306','2010-08-15','12' -'224','val_224','2010-08-15','12' -'309','val_309','2010-08-15','12' -'389','val_389','2010-08-15','12' -'327','val_327','2010-08-15','12' -'242','val_242','2010-08-15','12' -'369','val_369','2010-08-15','12' -'392','val_392','2010-08-15','12' -'272','val_272','2010-08-15','12' -'331','val_331','2010-08-15','12' -'401','val_401','2010-08-15','12' -'242','val_242','2010-08-15','12' -'452','val_452','2010-08-15','12' -'177','val_177','2010-08-15','12' -'226','val_226','2010-08-15','12' -'5','val_5','2010-08-15','12' -'497','val_497','2010-08-15','12' -'402','val_402','2010-08-15','12' -'396','val_396','2010-08-15','12' -'317','val_317','2010-08-15','12' -'395','val_395','2010-08-15','12' -'58','val_58','2010-08-15','12' -'35','val_35','2010-08-15','12' -'336','val_336','2010-08-15','12' -'95','val_95','2010-08-15','12' -'11','val_11','2010-08-15','12' -'168','val_168','2010-08-15','12' -'34','val_34','2010-08-15','12' -'229','val_229','2010-08-15','12' -'233','val_233','2010-08-15','12' -'143','val_143','2010-08-15','12' -'472','val_472','2010-08-15','12' -'322','val_322','2010-08-15','12' -'498','val_498','2010-08-15','12' -'160','val_160','2010-08-15','12' -'195','val_195','2010-08-15','12' -'42','val_42','2010-08-15','12' -'321','val_321','2010-08-15','12' -'430','val_430','2010-08-15','12' -'119','val_119','2010-08-15','12' -'489','val_489','2010-08-15','12' -'458','val_458','2010-08-15','12' -'78','val_78','2010-08-15','12' -'76','val_76','2010-08-15','12' -'41','val_41','2010-08-15','12' -'223','val_223','2010-08-15','12' -'492','val_492','2010-08-15','12' -'149','val_149','2010-08-15','12' -'449','val_449','2010-08-15','12' -'218','val_218','2010-08-15','12' -'228','val_228','2010-08-15','12' -'138','val_138','2010-08-15','12' -'453','val_453','2010-08-15','12' -'30','val_30','2010-08-15','12' -'209','val_209','2010-08-15','12' -'64','val_64','2010-08-15','12' -'468','val_468','2010-08-15','12' -'76','val_76','2010-08-15','12' -'74','val_74','2010-08-15','12' -'342','val_342','2010-08-15','12' -'69','val_69','2010-08-15','12' -'230','val_230','2010-08-15','12' -'33','val_33','2010-08-15','12' -'368','val_368','2010-08-15','12' -'103','val_103','2010-08-15','12' -'296','val_296','2010-08-15','12' -'113','val_113','2010-08-15','12' -'216','val_216','2010-08-15','12' -'367','val_367','2010-08-15','12' -'344','val_344','2010-08-15','12' -'167','val_167','2010-08-15','12' -'274','val_274','2010-08-15','12' -'219','val_219','2010-08-15','12' -'239','val_239','2010-08-15','12' -'485','val_485','2010-08-15','12' -'116','val_116','2010-08-15','12' -'223','val_223','2010-08-15','12' -'256','val_256','2010-08-15','12' -'263','val_263','2010-08-15','12' -'70','val_70','2010-08-15','12' -'487','val_487','2010-08-15','12' -'480','val_480','2010-08-15','12' -'401','val_401','2010-08-15','12' -'288','val_288','2010-08-15','12' -'191','val_191','2010-08-15','12' -'5','val_5','2010-08-15','12' -'244','val_244','2010-08-15','12' -'438','val_438','2010-08-15','12' -'128','val_128','2010-08-15','12' -'467','val_467','2010-08-15','12' -'432','val_432','2010-08-15','12' -'202','val_202','2010-08-15','12' -'316','val_316','2010-08-15','12' -'229','val_229','2010-08-15','12' -'469','val_469','2010-08-15','12' -'463','val_463','2010-08-15','12' -'280','val_280','2010-08-15','12' -'2','val_2','2010-08-15','12' -'35','val_35','2010-08-15','12' -'283','val_283','2010-08-15','12' -'331','val_331','2010-08-15','12' -'235','val_235','2010-08-15','12' -'80','val_80','2010-08-15','12' -'44','val_44','2010-08-15','12' -'193','val_193','2010-08-15','12' -'321','val_321','2010-08-15','12' -'335','val_335','2010-08-15','12' -'104','val_104','2010-08-15','12' -'466','val_466','2010-08-15','12' -'366','val_366','2010-08-15','12' -'175','val_175','2010-08-15','12' -'403','val_403','2010-08-15','12' -'483','val_483','2010-08-15','12' -'53','val_53','2010-08-15','12' -'105','val_105','2010-08-15','12' -'257','val_257','2010-08-15','12' -'406','val_406','2010-08-15','12' -'409','val_409','2010-08-15','12' -'190','val_190','2010-08-15','12' -'406','val_406','2010-08-15','12' -'401','val_401','2010-08-15','12' -'114','val_114','2010-08-15','12' -'258','val_258','2010-08-15','12' -'90','val_90','2010-08-15','12' -'203','val_203','2010-08-15','12' -'262','val_262','2010-08-15','12' -'348','val_348','2010-08-15','12' -'424','val_424','2010-08-15','12' -'12','val_12','2010-08-15','12' -'396','val_396','2010-08-15','12' -'201','val_201','2010-08-15','12' -'217','val_217','2010-08-15','12' -'164','val_164','2010-08-15','12' -'431','val_431','2010-08-15','12' -'454','val_454','2010-08-15','12' -'478','val_478','2010-08-15','12' -'298','val_298','2010-08-15','12' -'125','val_125','2010-08-15','12' -'431','val_431','2010-08-15','12' -'164','val_164','2010-08-15','12' -'424','val_424','2010-08-15','12' -'187','val_187','2010-08-15','12' -'382','val_382','2010-08-15','12' -'5','val_5','2010-08-15','12' -'70','val_70','2010-08-15','12' -'397','val_397','2010-08-15','12' -'480','val_480','2010-08-15','12' -'291','val_291','2010-08-15','12' -'24','val_24','2010-08-15','12' -'351','val_351','2010-08-15','12' -'255','val_255','2010-08-15','12' -'104','val_104','2010-08-15','12' -'70','val_70','2010-08-15','12' -'163','val_163','2010-08-15','12' -'438','val_438','2010-08-15','12' -'119','val_119','2010-08-15','12' -'414','val_414','2010-08-15','12' -'200','val_200','2010-08-15','12' -'491','val_491','2010-08-15','12' -'237','val_237','2010-08-15','12' -'439','val_439','2010-08-15','12' -'360','val_360','2010-08-15','12' -'248','val_248','2010-08-15','12' -'479','val_479','2010-08-15','12' -'305','val_305','2010-08-15','12' -'417','val_417','2010-08-15','12' -'199','val_199','2010-08-15','12' -'444','val_444','2010-08-15','12' -'120','val_120','2010-08-15','12' -'429','val_429','2010-08-15','12' -'169','val_169','2010-08-15','12' -'443','val_443','2010-08-15','12' -'323','val_323','2010-08-15','12' -'325','val_325','2010-08-15','12' -'277','val_277','2010-08-15','12' -'230','val_230','2010-08-15','12' -'478','val_478','2010-08-15','12' -'178','val_178','2010-08-15','12' -'468','val_468','2010-08-15','12' -'310','val_310','2010-08-15','12' -'317','val_317','2010-08-15','12' -'333','val_333','2010-08-15','12' -'493','val_493','2010-08-15','12' -'460','val_460','2010-08-15','12' -'207','val_207','2010-08-15','12' -'249','val_249','2010-08-15','12' -'265','val_265','2010-08-15','12' -'480','val_480','2010-08-15','12' -'83','val_83','2010-08-15','12' -'136','val_136','2010-08-15','12' -'353','val_353','2010-08-15','12' -'172','val_172','2010-08-15','12' -'214','val_214','2010-08-15','12' -'462','val_462','2010-08-15','12' -'233','val_233','2010-08-15','12' -'406','val_406','2010-08-15','12' -'133','val_133','2010-08-15','12' -'175','val_175','2010-08-15','12' -'189','val_189','2010-08-15','12' -'454','val_454','2010-08-15','12' -'375','val_375','2010-08-15','12' -'401','val_401','2010-08-15','12' -'421','val_421','2010-08-15','12' -'407','val_407','2010-08-15','12' -'384','val_384','2010-08-15','12' -'256','val_256','2010-08-15','12' -'26','val_26','2010-08-15','12' -'134','val_134','2010-08-15','12' -'67','val_67','2010-08-15','12' -'384','val_384','2010-08-15','12' -'379','val_379','2010-08-15','12' -'18','val_18','2010-08-15','12' -'462','val_462','2010-08-15','12' -'492','val_492','2010-08-15','12' -'100','val_100','2010-08-15','12' -'298','val_298','2010-08-15','12' -'9','val_9','2010-08-15','12' -'341','val_341','2010-08-15','12' -'498','val_498','2010-08-15','12' -'146','val_146','2010-08-15','12' -'458','val_458','2010-08-15','12' -'362','val_362','2010-08-15','12' -'186','val_186','2010-08-15','12' -'285','val_285','2010-08-15','12' -'348','val_348','2010-08-15','12' -'167','val_167','2010-08-15','12' -'18','val_18','2010-08-15','12' -'273','val_273','2010-08-15','12' -'183','val_183','2010-08-15','12' -'281','val_281','2010-08-15','12' -'344','val_344','2010-08-15','12' -'97','val_97','2010-08-15','12' -'469','val_469','2010-08-15','12' -'315','val_315','2010-08-15','12' -'84','val_84','2010-08-15','12' -'28','val_28','2010-08-15','12' -'37','val_37','2010-08-15','12' -'448','val_448','2010-08-15','12' -'152','val_152','2010-08-15','12' -'348','val_348','2010-08-15','12' -'307','val_307','2010-08-15','12' -'194','val_194','2010-08-15','12' -'414','val_414','2010-08-15','12' -'477','val_477','2010-08-15','12' -'222','val_222','2010-08-15','12' -'126','val_126','2010-08-15','12' -'90','val_90','2010-08-15','12' -'169','val_169','2010-08-15','12' -'403','val_403','2010-08-15','12' -'400','val_400','2010-08-15','12' -'200','val_200','2010-08-15','12' -'97','val_97','2010-08-15','12' -1,500 rows selected ->>> ->>> explain -insert overwrite table nzhang_part partition (ds='2010-08-15', hr) -select * from ( -select key, value, hr from srcpart where ds='2008-04-08' -union all -select '1' as key, '1' as value, 'file,' as hr from src limit 1) s; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL hr))) (TOK_WHERE (= (TOK_TABLE_OR_COL ds) '2008-04-08')))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR '1' key) (TOK_SELEXPR '1' value) (TOK_SELEXPR 'file,' hr)) (TOK_LIMIT 1)))) s)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME nzhang_part) (TOK_PARTSPEC (TOK_PARTVAL ds '2010-08-15') (TOK_PARTVAL hr)))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-9 is a root stage' -' Stage-2 depends on stages: Stage-9' -' Stage-8 depends on stages: Stage-2 , consists of Stage-5, Stage-4, Stage-6' -' Stage-5' -' Stage-0 depends on stages: Stage-5, Stage-4, Stage-7' -' Stage-3 depends on stages: Stage-0' -' Stage-4' -' Stage-6' -' Stage-7 depends on stages: Stage-6' -'' -'STAGE PLANS:' -' Stage: Stage-9' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery2:s-subquery2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: '1'' -' type: string' -' expr: '1'' -' type: string' -' expr: 'file,'' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Limit' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: merge4.nzhang_part' -' null-subquery1:s-subquery1:srcpart ' -' TableScan' -' alias: srcpart' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: merge4.nzhang_part' -'' -' Stage: Stage-8' -' Conditional Operator' -'' -' Stage: Stage-5' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' partition:' -' ds 2010-08-15' -' 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: merge4.nzhang_part' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: merge4.nzhang_part' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: merge4.nzhang_part' -'' -' Stage: Stage-7' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -163 rows selected ->>> ->>> insert overwrite table nzhang_part partition (ds='2010-08-15', hr) -select * from ( -select key, value, hr from srcpart where ds='2008-04-08' -union all -select '1' as key, '1' as value, 'file,' as hr from src limit 1) s; -'key','value','hr' -No rows selected ->>> ->>> show partitions nzhang_part; -'partition' -'ds=2010-08-15/hr=11' -'ds=2010-08-15/hr=12' -'ds=2010-08-15/hr=file,' -3 rows selected ->>> ->>> select * from nzhang_part where hr = 'file,'; -'key','value','ds','hr' -'1','1','2010-08-15','file,' -1 row selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/merge_dynamic_partition2.q.out ql/src/test/results/beelinepositive/merge_dynamic_partition2.q.out deleted file mode 100644 index 50f516e..0000000 --- ql/src/test/results/beelinepositive/merge_dynamic_partition2.q.out +++ /dev/null @@ -1,162 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/merge_dynamic_partition2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/merge_dynamic_partition2.q ->>> set hive.exec.dynamic.partition=true; -No rows affected ->>> set hive.exec.dynamic.partition.mode=nonstrict; -No rows affected ->>> ->>> create table srcpart_merge_dp like srcpart; -No rows affected ->>> ->>> create table merge_dynamic_part like srcpart; -No rows affected ->>> ->>> load data local inpath '../data/files/srcbucket20.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=11); -No rows affected ->>> load data local inpath '../data/files/srcbucket21.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=11); -No rows affected ->>> load data local inpath '../data/files/srcbucket22.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=11); -No rows affected ->>> load data local inpath '../data/files/srcbucket23.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=11); -No rows affected ->>> load data local inpath '../data/files/srcbucket0.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=12); -No rows affected ->>> load data local inpath '../data/files/srcbucket1.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=12); -No rows affected ->>> ->>> ->>> set hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> set hive.merge.mapfiles=true; -No rows affected ->>> set hive.merge.mapredfiles=true; -No rows affected ->>> set hive.merge.smallfiles.avgsize=3000; -No rows affected ->>> set hive.exec.compress.output=false; -No rows affected ->>> ->>> explain -insert overwrite table merge_dynamic_part partition (ds='2008-04-08', hr) select key, value, hr from srcpart_merge_dp where ds='2008-04-08'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart_merge_dp))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME merge_dynamic_part) (TOK_PARTSPEC (TOK_PARTVAL ds '2008-04-08') (TOK_PARTVAL hr)))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL hr))) (TOK_WHERE (= (TOK_TABLE_OR_COL ds) '2008-04-08'))))' -'' -'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' -' Alias -> Map Operator Tree:' -' srcpart_merge_dp ' -' TableScan' -' alias: srcpart_merge_dp' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: merge_dynamic_partition2.merge_dynamic_part' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' partition:' -' ds 2008-04-08' -' 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: merge_dynamic_partition2.merge_dynamic_part' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: merge_dynamic_partition2.merge_dynamic_part' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: merge_dynamic_partition2.merge_dynamic_part' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -96 rows selected ->>> insert overwrite table merge_dynamic_part partition (ds='2008-04-08', hr) select key, value, hr from srcpart_merge_dp where ds='2008-04-08'; -'key','value','hr' -No rows selected ->>> ->>> show table extended like `merge_dynamic_part`; -'tab_name' -'tableName:merge_dynamic_part' -'owner:!!{user.name}!!' -'location:!!{hive.metastore.warehouse.dir}!!/merge_dynamic_partition2.db/merge_dynamic_part' -'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:3' -'totalFileSize:17415' -'maxFileSize:5901' -'minFileSize:5702' -'lastAccessTime:0' -'lastUpdateTime:!!UNIXTIMEMILLIS!!' -'' -15 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/merge_dynamic_partition3.q.out ql/src/test/results/beelinepositive/merge_dynamic_partition3.q.out deleted file mode 100644 index b4bd691..0000000 --- ql/src/test/results/beelinepositive/merge_dynamic_partition3.q.out +++ /dev/null @@ -1,193 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/merge_dynamic_partition3.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/merge_dynamic_partition3.q ->>> set hive.exec.dynamic.partition=true; -No rows affected ->>> set hive.exec.dynamic.partition.mode=nonstrict; -No rows affected ->>> ->>> create table srcpart_merge_dp like srcpart; -No rows affected ->>> ->>> create table merge_dynamic_part like srcpart; -No rows affected ->>> ->>> load data local inpath '../data/files/srcbucket20.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=11); -No rows affected ->>> load data local inpath '../data/files/srcbucket21.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=11); -No rows affected ->>> load data local inpath '../data/files/srcbucket22.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=11); -No rows affected ->>> load data local inpath '../data/files/srcbucket23.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=11); -No rows affected ->>> ->>> load data local inpath '../data/files/srcbucket20.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=12); -No rows affected ->>> load data local inpath '../data/files/srcbucket21.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=12); -No rows affected ->>> load data local inpath '../data/files/srcbucket22.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=12); -No rows affected ->>> load data local inpath '../data/files/srcbucket23.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=12); -No rows affected ->>> ->>> load data local inpath '../data/files/kv1.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-09', hr=11); -No rows affected ->>> load data local inpath '../data/files/kv2.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-09', hr=11); -No rows affected ->>> load data local inpath '../data/files/kv1.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-09', hr=12); -No rows affected ->>> load data local inpath '../data/files/kv2.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-09', hr=12); -No rows affected ->>> ->>> show partitions srcpart_merge_dp; -'partition' -'ds=2008-04-08/hr=11' -'ds=2008-04-08/hr=12' -'ds=2008-04-09/hr=11' -'ds=2008-04-09/hr=12' -4 rows selected ->>> ->>> set hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> set hive.merge.mapfiles=true; -No rows affected ->>> set hive.merge.mapredfiles=true; -No rows affected ->>> set hive.merge.smallfiles.avgsize=3000; -No rows affected ->>> set hive.exec.compress.output=false; -No rows affected ->>> ->>> explain -insert overwrite table merge_dynamic_part partition (ds, hr) select key, value, ds, hr from srcpart_merge_dp where ds>='2008-04-08'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart_merge_dp))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME merge_dynamic_part) (TOK_PARTSPEC (TOK_PARTVAL ds) (TOK_PARTVAL hr)))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL ds)) (TOK_SELEXPR (TOK_TABLE_OR_COL hr))) (TOK_WHERE (>= (TOK_TABLE_OR_COL ds) '2008-04-08'))))' -'' -'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' -' Alias -> Map Operator Tree:' -' srcpart_merge_dp ' -' TableScan' -' alias: srcpart_merge_dp' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: merge_dynamic_partition3.merge_dynamic_part' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: merge_dynamic_partition3.merge_dynamic_part' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: merge_dynamic_partition3.merge_dynamic_part' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: merge_dynamic_partition3.merge_dynamic_part' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -98 rows selected ->>> ->>> insert overwrite table merge_dynamic_part partition (ds, hr) select key, value, ds, hr from srcpart_merge_dp where ds>='2008-04-08'; -'key','value','ds','hr' -No rows selected ->>> ->>> select ds, hr, count(1) from merge_dynamic_part where ds>='2008-04-08' group by ds, hr order by ds, hr; -'ds','hr','_c2' -'2008-04-08','11','500' -'2008-04-08','12','500' -'2008-04-09','11','1000' -'2008-04-09','12','1000' -4 rows selected ->>> ->>> show table extended like `merge_dynamic_part`; -'tab_name' -'tableName:merge_dynamic_part' -'owner:!!{user.name}!!' -'location:!!{hive.metastore.warehouse.dir}!!/merge_dynamic_partition3.db/merge_dynamic_part' -'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' -'lastAccessTime:0' -'lastUpdateTime:!!UNIXTIMEMILLIS!!' -'' -15 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/merge_dynamic_partition4.q.out ql/src/test/results/beelinepositive/merge_dynamic_partition4.q.out deleted file mode 100644 index b9a7a05..0000000 --- ql/src/test/results/beelinepositive/merge_dynamic_partition4.q.out +++ /dev/null @@ -1,154 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/merge_dynamic_partition4.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/merge_dynamic_partition4.q ->>> -- this test verifies that the block merge task that can follow a query to generate dynamic ->>> -- partitions does not produce incorrect results by dropping partitions ->>> ->>> create table srcpart_merge_dp like srcpart; -No rows affected ->>> ->>> create table srcpart_merge_dp_rc like srcpart; -No rows affected ->>> alter table srcpart_merge_dp_rc set fileformat RCFILE; -No rows affected ->>> ->>> create table merge_dynamic_part like srcpart; -No rows affected ->>> alter table merge_dynamic_part set fileformat RCFILE; -No rows affected ->>> ->>> load data local inpath '../data/files/srcbucket20.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=11); -No rows affected ->>> load data local inpath '../data/files/srcbucket21.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=11); -No rows affected ->>> load data local inpath '../data/files/srcbucket22.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=11); -No rows affected ->>> load data local inpath '../data/files/srcbucket23.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=11); -No rows affected ->>> ->>> load data local inpath '../data/files/srcbucket20.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=12); -No rows affected ->>> load data local inpath '../data/files/srcbucket21.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=12); -No rows affected ->>> load data local inpath '../data/files/srcbucket22.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=12); -No rows affected ->>> load data local inpath '../data/files/srcbucket23.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=12); -No rows affected ->>> ->>> insert overwrite table srcpart_merge_dp_rc partition (ds = '2008-04-08', hr) -select key, value, hr from srcpart_merge_dp where ds = '2008-04-08'; -'key','value','hr' -No rows selected ->>> ->>> set hive.input.format=org.apache.hadoop.hive.ql.io.BucketizedHiveInputFormat; -No rows affected ->>> set hive.merge.mapfiles=true; -No rows affected ->>> set hive.merge.mapredfiles=true; -No rows affected ->>> set hive.merge.smallfiles.avgsize=10000000000000; -No rows affected ->>> set hive.exec.compress.output=false; -No rows affected ->>> set hive.exec.dynamic.partition=true; -No rows affected ->>> set hive.exec.dynamic.partition.mode=nonstrict; -No rows affected ->>> ->>> explain -insert overwrite table merge_dynamic_part partition (ds = '2008-04-08', hr) -select key, value, if(key % 2 == 0, 'a1', 'b1') as hr from srcpart_merge_dp_rc where ds = '2008-04-08'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart_merge_dp_rc))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME merge_dynamic_part) (TOK_PARTSPEC (TOK_PARTVAL ds '2008-04-08') (TOK_PARTVAL hr)))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_FUNCTION if (== (% (TOK_TABLE_OR_COL key) 2) 0) 'a1' 'b1') hr)) (TOK_WHERE (= (TOK_TABLE_OR_COL ds) '2008-04-08'))))' -'' -'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' -' Alias -> Map Operator Tree:' -' srcpart_merge_dp_rc ' -' TableScan' -' alias: srcpart_merge_dp_rc' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: if(((key % 2) = 0), 'a1', 'b1')' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.hive.ql.io.RCFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -' serde: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -' name: merge_dynamic_partition4.merge_dynamic_part' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' partition:' -' ds 2008-04-08' -' hr ' -' replace: true' -' table:' -' input format: org.apache.hadoop.hive.ql.io.RCFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -' serde: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -' name: merge_dynamic_partition4.merge_dynamic_part' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Block level merge' -'' -' Stage: Stage-5' -' Block level merge' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -76 rows selected ->>> ->>> insert overwrite table merge_dynamic_part partition (ds = '2008-04-08', hr) -select key, value, if(key % 2 == 0, 'a1', 'b1') as hr from srcpart_merge_dp_rc where ds = '2008-04-08'; -'key','value','hr' -No rows selected ->>> ->>> show partitions merge_dynamic_part; -'partition' -'ds=2008-04-08/hr=a1' -'ds=2008-04-08/hr=b1' -2 rows selected ->>> ->>> select count(*) from merge_dynamic_part; -'_c0' -'1000' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/merge_dynamic_partition5.q.out ql/src/test/results/beelinepositive/merge_dynamic_partition5.q.out deleted file mode 100644 index 70d2eac..0000000 --- ql/src/test/results/beelinepositive/merge_dynamic_partition5.q.out +++ /dev/null @@ -1,147 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/merge_dynamic_partition5.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/merge_dynamic_partition5.q ->>> -- this is to test the case where some dynamic partitions are merged and some are moved ->>> ->>> create table srcpart_merge_dp like srcpart; -No rows affected ->>> ->>> create table srcpart_merge_dp_rc like srcpart; -No rows affected ->>> alter table srcpart_merge_dp_rc set fileformat RCFILE; -No rows affected ->>> ->>> create table merge_dynamic_part like srcpart; -No rows affected ->>> alter table merge_dynamic_part set fileformat RCFILE; -No rows affected ->>> ->>> load data local inpath '../data/files/srcbucket20.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=11); -No rows affected ->>> load data local inpath '../data/files/srcbucket21.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=11); -No rows affected ->>> load data local inpath '../data/files/srcbucket22.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=11); -No rows affected ->>> load data local inpath '../data/files/srcbucket23.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=11); -No rows affected ->>> ->>> load data local inpath '../data/files/srcbucket20.txt' INTO TABLE srcpart_merge_dp partition(ds='2008-04-08', hr=12); -No rows affected ->>> ->>> insert overwrite table srcpart_merge_dp_rc partition (ds = '2008-04-08', hr) -select key, value, hr from srcpart_merge_dp where ds = '2008-04-08'; -'key','value','hr' -No rows selected ->>> ->>> set hive.input.format=org.apache.hadoop.hive.ql.io.BucketizedHiveInputFormat; -No rows affected ->>> set hive.merge.mapfiles=true; -No rows affected ->>> set hive.merge.mapredfiles=true; -No rows affected ->>> set hive.merge.smallfiles.avgsize=200; -No rows affected ->>> set hive.exec.compress.output=false; -No rows affected ->>> set hive.exec.dynamic.partition=true; -No rows affected ->>> set hive.exec.dynamic.partition.mode=nonstrict; -No rows affected ->>> ->>> explain -insert overwrite table merge_dynamic_part partition (ds = '2008-04-08', hr) -select key, value, if(key % 100 == 0, 'a1', 'b1') as hr from srcpart_merge_dp_rc where ds = '2008-04-08'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart_merge_dp_rc))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME merge_dynamic_part) (TOK_PARTSPEC (TOK_PARTVAL ds '2008-04-08') (TOK_PARTVAL hr)))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_FUNCTION if (== (% (TOK_TABLE_OR_COL key) 100) 0) 'a1' 'b1') hr)) (TOK_WHERE (= (TOK_TABLE_OR_COL ds) '2008-04-08'))))' -'' -'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' -' Alias -> Map Operator Tree:' -' srcpart_merge_dp_rc ' -' TableScan' -' alias: srcpart_merge_dp_rc' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: if(((key % 100) = 0), 'a1', 'b1')' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.hive.ql.io.RCFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -' serde: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -' name: merge_dynamic_partition5.merge_dynamic_part' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' partition:' -' ds 2008-04-08' -' hr ' -' replace: true' -' table:' -' input format: org.apache.hadoop.hive.ql.io.RCFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -' serde: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -' name: merge_dynamic_partition5.merge_dynamic_part' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Block level merge' -'' -' Stage: Stage-5' -' Block level merge' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -76 rows selected ->>> ->>> insert overwrite table merge_dynamic_part partition (ds = '2008-04-08', hr) -select key, value, if(key % 100 == 0, 'a1', 'b1') as hr from srcpart_merge_dp_rc where ds = '2008-04-08'; -'key','value','hr' -No rows selected ->>> ->>> show partitions merge_dynamic_part; -'partition' -'ds=2008-04-08/hr=a1' -'ds=2008-04-08/hr=b1' -2 rows selected ->>> ->>> select count(*) from merge_dynamic_part; -'_c0' -'618' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/mergejoins.q.out ql/src/test/results/beelinepositive/mergejoins.q.out deleted file mode 100644 index 7a9da76..0000000 --- ql/src/test/results/beelinepositive/mergejoins.q.out +++ /dev/null @@ -1,317 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/mergejoins.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/mergejoins.q ->>> create table a (val1 int, val2 int); -No rows affected ->>> create table b (val1 int, val2 int); -No rows affected ->>> create table c (val1 int, val2 int); -No rows affected ->>> create table d (val1 int, val2 int); -No rows affected ->>> create table e (val1 int, val2 int); -No rows affected ->>> ->>> explain select * from a join b on a.val1=b.val1 join c on a.val1=c.val1 join d on a.val1=d.val1 join e on a.val2=e.val2; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_JOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME a)) (TOK_TABREF (TOK_TABNAME b)) (= (. (TOK_TABLE_OR_COL a) val1) (. (TOK_TABLE_OR_COL b) val1))) (TOK_TABREF (TOK_TABNAME c)) (= (. (TOK_TABLE_OR_COL a) val1) (. (TOK_TABLE_OR_COL c) val1))) (TOK_TABREF (TOK_TABNAME d)) (= (. (TOK_TABLE_OR_COL a) val1) (. (TOK_TABLE_OR_COL d) val1))) (TOK_TABREF (TOK_TABNAME e)) (= (. (TOK_TABLE_OR_COL a) val2) (. (TOK_TABLE_OR_COL e) val2)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: val1' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: val1' -' type: int' -' tag: 0' -' value expressions:' -' expr: val1' -' type: int' -' expr: val2' -' type: int' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: val1' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: val1' -' type: int' -' tag: 1' -' value expressions:' -' expr: val1' -' type: int' -' expr: val2' -' type: int' -' c ' -' TableScan' -' alias: c' -' Reduce Output Operator' -' key expressions:' -' expr: val1' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: val1' -' type: int' -' tag: 2' -' value expressions:' -' expr: val1' -' type: int' -' expr: val2' -' type: int' -' d ' -' TableScan' -' alias: d' -' Reduce Output Operator' -' key expressions:' -' expr: val1' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: val1' -' type: int' -' tag: 3' -' value expressions:' -' expr: val1' -' type: int' -' expr: val2' -' type: int' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 0 to 2' -' Inner Join 0 to 3' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' 3 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9, _col12, _col13' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col1' -' type: int' -' tag: 0' -' value expressions:' -' expr: _col12' -' type: int' -' expr: _col13' -' type: int' -' expr: _col4' -' type: int' -' expr: _col5' -' type: int' -' expr: _col8' -' type: int' -' expr: _col9' -' type: int' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' e ' -' TableScan' -' alias: e' -' Reduce Output Operator' -' key expressions:' -' expr: val2' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: val2' -' type: int' -' tag: 1' -' value expressions:' -' expr: val1' -' type: int' -' expr: val2' -' type: int' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1} {VALUE._col4} {VALUE._col5} {VALUE._col8} {VALUE._col9} {VALUE._col12} {VALUE._col13}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9, _col12, _col13, _col16, _col17' -' Select Operator' -' expressions:' -' expr: _col12' -' type: int' -' expr: _col13' -' type: int' -' expr: _col4' -' type: int' -' expr: _col5' -' type: int' -' expr: _col8' -' type: int' -' expr: _col9' -' type: int' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col16' -' type: int' -' expr: _col17' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -191 rows selected ->>> ->>> --HIVE-3070 filter on outer join condition removed while merging join tree ->>> explain select * from src a join src b on a.key=b.key left outer join src c on b.key=c.key and b.key<10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) a) (TOK_TABREF (TOK_TABNAME src) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME src) c) (and (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key)) (< (. (TOK_TABLE_OR_COL b) key) 10)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' c ' -' TableScan' -' alias: c' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 2' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Left Outer Join1 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' filter predicates:' -' 0 ' -' 1 {(VALUE._col0 < 10.0)}' -' 2 ' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -104 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/metadataonly1.q.out ql/src/test/results/beelinepositive/metadataonly1.q.out deleted file mode 100644 index bdf2b39..0000000 --- ql/src/test/results/beelinepositive/metadataonly1.q.out +++ /dev/null @@ -1,1453 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/metadataonly1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/metadataonly1.q ->>> CREATE TABLE TEST1(A INT, B DOUBLE) partitioned by (ds string); -No rows affected ->>> explain extended select max(ds) from TEST1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME TEST1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION max (TOK_TABLE_OR_COL ds))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' test1 ' -' TableScan' -' alias: test1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: ds' -' type: string' -' outputColumnNames: ds' -' Group By Operator' -' aggregations:' -' expr: max(ds)' -' bucketGroup: true' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' Needs Tagging: false' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: max(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -68 rows selected ->>> select max(ds) from TEST1; -'_c0' -'' -1 row selected ->>> ->>> alter table TEST1 add partition (ds='1'); -No rows affected ->>> explain extended select max(ds) from TEST1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME TEST1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION max (TOK_TABLE_OR_COL ds))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' test1 ' -' TableScan' -' alias: test1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: ds' -' type: string' -' outputColumnNames: ds' -' Group By Operator' -' aggregations:' -' expr: max(ds)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' fake-path-metadata-only-query-metadataonly1.test1{ds=1} [test1]' -' Path -> Partition:' -' fake-path-metadata-only-query-metadataonly1.test1{ds=1} ' -' Partition' -' base file name: ds=1' -' input format: org.apache.hadoop.hive.ql.io.OneNullRowInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 1' -' properties:' -' bucket_count -1' -' columns a,b' -' columns.types int:double' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test1/ds=1' -' name metadataonly1.test1' -' partition_columns ds' -' serialization.ddl struct test1 { i32 a, double b}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.NullStructSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns a,b' -' columns.types int:double' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test1' -' name metadataonly1.test1' -' partition_columns ds' -' serialization.ddl struct test1 { i32 a, double b}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: metadataonly1.test1' -' name: metadataonly1.test1' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: max(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -111 rows selected ->>> select max(ds) from TEST1; -'_c0' -'1' -1 row selected ->>> ->>> explain extended select count(distinct ds) from TEST1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME TEST1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL ds))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' test1 ' -' TableScan' -' alias: test1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: ds' -' type: string' -' outputColumnNames: ds' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT ds)' -' bucketGroup: false' -' keys:' -' expr: ds' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' fake-path-metadata-only-query-metadataonly1.test1{ds=1} [test1]' -' Path -> Partition:' -' fake-path-metadata-only-query-metadataonly1.test1{ds=1} ' -' Partition' -' base file name: ds=1' -' input format: org.apache.hadoop.hive.ql.io.OneNullRowInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 1' -' properties:' -' bucket_count -1' -' columns a,b' -' columns.types int:double' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test1/ds=1' -' name metadataonly1.test1' -' partition_columns ds' -' serialization.ddl struct test1 { i32 a, double b}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.NullStructSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns a,b' -' columns.types int:double' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test1' -' name metadataonly1.test1' -' partition_columns ds' -' serialization.ddl struct test1 { i32 a, double b}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: metadataonly1.test1' -' name: metadataonly1.test1' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col0:0._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -117 rows selected ->>> select count(distinct ds) from TEST1; -'_c0' -'1' -1 row selected ->>> ->>> explain extended select count(ds) from TEST1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME TEST1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count (TOK_TABLE_OR_COL ds))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' test1 ' -' TableScan' -' alias: test1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: ds' -' type: string' -' outputColumnNames: ds' -' Group By Operator' -' aggregations:' -' expr: count(ds)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test1/ds=1 [test1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test1/ds=1 ' -' Partition' -' base file name: ds=1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 1' -' properties:' -' bucket_count -1' -' columns a,b' -' columns.types int:double' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test1/ds=1' -' name metadataonly1.test1' -' partition_columns ds' -' serialization.ddl struct test1 { i32 a, double b}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns a,b' -' columns.types int:double' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test1' -' name metadataonly1.test1' -' partition_columns ds' -' serialization.ddl struct test1 { i32 a, double b}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: metadataonly1.test1' -' name: metadataonly1.test1' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -111 rows selected ->>> select count(ds) from TEST1; -'_c0' -'0' -1 row selected ->>> ->>> alter table TEST1 add partition (ds='2'); -No rows affected ->>> explain extended -select count(*) from TEST1 a2 join (select max(ds) m from TEST1) b on a2.ds=b.m; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME TEST1) a2) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME TEST1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION max (TOK_TABLE_OR_COL ds)) m)))) b) (= (. (TOK_TABLE_OR_COL a2) ds) (. (TOK_TABLE_OR_COL b) m)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTIONSTAR count)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-3 depends on stages: Stage-2' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b:test1 ' -' TableScan' -' alias: test1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: ds' -' type: string' -' outputColumnNames: ds' -' Group By Operator' -' aggregations:' -' expr: max(ds)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' fake-path-metadata-only-query-metadataonly1.test1{ds=1} [b:test1]' -' fake-path-metadata-only-query-metadataonly1.test1{ds=2} [b:test1]' -' Path -> Partition:' -' fake-path-metadata-only-query-metadataonly1.test1{ds=1} ' -' Partition' -' base file name: ds=1' -' input format: org.apache.hadoop.hive.ql.io.OneNullRowInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 1' -' properties:' -' bucket_count -1' -' columns a,b' -' columns.types int:double' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test1/ds=1' -' name metadataonly1.test1' -' partition_columns ds' -' serialization.ddl struct test1 { i32 a, double b}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.NullStructSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns a,b' -' columns.types int:double' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test1' -' name metadataonly1.test1' -' partition_columns ds' -' serialization.ddl struct test1 { i32 a, double b}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: metadataonly1.test1' -' name: metadataonly1.test1' -' fake-path-metadata-only-query-metadataonly1.test1{ds=2} ' -' Partition' -' base file name: ds=2' -' input format: org.apache.hadoop.hive.ql.io.OneNullRowInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2' -' properties:' -' bucket_count -1' -' columns a,b' -' columns.types int:double' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test1/ds=2' -' name metadataonly1.test1' -' partition_columns ds' -' serialization.ddl struct test1 { i32 a, double b}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.NullStructSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns a,b' -' columns.types int:double' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test1' -' name metadataonly1.test1' -' partition_columns ds' -' serialization.ddl struct test1 { i32 a, double b}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: metadataonly1.test1' -' name: metadataonly1.test1' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: max(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0' -' columns.types string' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' a2 ' -' TableScan' -' alias: a2' -' GatherStats: false' -' Reduce Output Operator' -' key expressions:' -' expr: ds' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: ds' -' type: string' -' tag: 0' -' Needs Tagging: true' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [$INTNAME]' -' !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test1/ds=1 [a2]' -' !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test1/ds=2 [a2]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0' -' columns.types string' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0' -' columns.types string' -' escape.delim \' -' !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test1/ds=1 ' -' Partition' -' base file name: ds=1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 1' -' properties:' -' bucket_count -1' -' columns a,b' -' columns.types int:double' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test1/ds=1' -' name metadataonly1.test1' -' partition_columns ds' -' serialization.ddl struct test1 { i32 a, double b}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns a,b' -' columns.types int:double' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test1' -' name metadataonly1.test1' -' partition_columns ds' -' serialization.ddl struct test1 { i32 a, double b}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: metadataonly1.test1' -' name: metadataonly1.test1' -' !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test1/ds=2 ' -' Partition' -' base file name: ds=2' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2' -' properties:' -' bucket_count -1' -' columns a,b' -' columns.types int:double' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test1/ds=2' -' name metadataonly1.test1' -' partition_columns ds' -' serialization.ddl struct test1 { i32 a, double b}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns a,b' -' columns.types int:double' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test1' -' name metadataonly1.test1' -' partition_columns ds' -' serialization.ddl struct test1 { i32 a, double b}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: metadataonly1.test1' -' name: metadataonly1.test1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0' -' columns.types bigint' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10003' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0' -' columns.types bigint' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0' -' columns.types bigint' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -371 rows selected ->>> select count(*) from TEST1 a2 join (select max(ds) m from TEST1) b on a2.ds=b.m; -'_c0' -'0' -1 row selected ->>> ->>> ->>> CREATE TABLE TEST2(A INT, B DOUBLE) partitioned by (ds string, hr string); -No rows affected ->>> alter table TEST2 add partition (ds='1', hr='1'); -No rows affected ->>> alter table TEST2 add partition (ds='1', hr='2'); -No rows affected ->>> alter table TEST2 add partition (ds='1', hr='3'); -No rows affected ->>> ->>> explain extended select ds, count(distinct hr) from TEST2 group by ds; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME TEST2))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL ds)) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL hr)))) (TOK_GROUPBY (TOK_TABLE_OR_COL ds))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' test2 ' -' TableScan' -' alias: test2' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: ds, hr' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT hr)' -' bucketGroup: false' -' keys:' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' fake-path-metadata-only-query-metadataonly1.test2{ds=1, hr=1} [test2]' -' fake-path-metadata-only-query-metadataonly1.test2{ds=1, hr=2} [test2]' -' fake-path-metadata-only-query-metadataonly1.test2{ds=1, hr=3} [test2]' -' Path -> Partition:' -' fake-path-metadata-only-query-metadataonly1.test2{ds=1, hr=1} ' -' Partition' -' base file name: hr=1' -' input format: org.apache.hadoop.hive.ql.io.OneNullRowInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 1' -' hr 1' -' properties:' -' bucket_count -1' -' columns a,b' -' columns.types int:double' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test2/ds=1/hr=1' -' name metadataonly1.test2' -' partition_columns ds/hr' -' serialization.ddl struct test2 { i32 a, double b}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.NullStructSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns a,b' -' columns.types int:double' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test2' -' name metadataonly1.test2' -' partition_columns ds/hr' -' serialization.ddl struct test2 { i32 a, double b}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: metadataonly1.test2' -' name: metadataonly1.test2' -' fake-path-metadata-only-query-metadataonly1.test2{ds=1, hr=2} ' -' Partition' -' base file name: hr=2' -' input format: org.apache.hadoop.hive.ql.io.OneNullRowInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 1' -' hr 2' -' properties:' -' bucket_count -1' -' columns a,b' -' columns.types int:double' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test2/ds=1/hr=2' -' name metadataonly1.test2' -' partition_columns ds/hr' -' serialization.ddl struct test2 { i32 a, double b}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.NullStructSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns a,b' -' columns.types int:double' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test2' -' name metadataonly1.test2' -' partition_columns ds/hr' -' serialization.ddl struct test2 { i32 a, double b}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: metadataonly1.test2' -' name: metadataonly1.test2' -' fake-path-metadata-only-query-metadataonly1.test2{ds=1, hr=3} ' -' Partition' -' base file name: hr=3' -' input format: org.apache.hadoop.hive.ql.io.OneNullRowInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 1' -' hr 3' -' properties:' -' bucket_count -1' -' columns a,b' -' columns.types int:double' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test2/ds=1/hr=3' -' name metadataonly1.test2' -' partition_columns ds/hr' -' serialization.ddl struct test2 { i32 a, double b}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.NullStructSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns a,b' -' columns.types int:double' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test2' -' name metadataonly1.test2' -' partition_columns ds/hr' -' serialization.ddl struct test2 { i32 a, double b}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: metadataonly1.test2' -' name: metadataonly1.test2' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col1:0._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string:bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -216 rows selected ->>> select ds, count(distinct hr) from TEST2 group by ds; -'ds','_c1' -'1','3' -1 row selected ->>> ->>> explain extended select ds, count(hr) from TEST2 group by ds; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME TEST2))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL ds)) (TOK_SELEXPR (TOK_FUNCTION count (TOK_TABLE_OR_COL hr)))) (TOK_GROUPBY (TOK_TABLE_OR_COL ds))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' test2 ' -' TableScan' -' alias: test2' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: ds, hr' -' Group By Operator' -' aggregations:' -' expr: count(hr)' -' bucketGroup: false' -' keys:' -' expr: ds' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test2/ds=1/hr=1 [test2]' -' !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test2/ds=1/hr=2 [test2]' -' !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test2/ds=1/hr=3 [test2]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test2/ds=1/hr=1 ' -' Partition' -' base file name: hr=1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 1' -' hr 1' -' properties:' -' bucket_count -1' -' columns a,b' -' columns.types int:double' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test2/ds=1/hr=1' -' name metadataonly1.test2' -' partition_columns ds/hr' -' serialization.ddl struct test2 { i32 a, double b}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns a,b' -' columns.types int:double' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test2' -' name metadataonly1.test2' -' partition_columns ds/hr' -' serialization.ddl struct test2 { i32 a, double b}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: metadataonly1.test2' -' name: metadataonly1.test2' -' !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test2/ds=1/hr=2 ' -' Partition' -' base file name: hr=2' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 1' -' hr 2' -' properties:' -' bucket_count -1' -' columns a,b' -' columns.types int:double' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test2/ds=1/hr=2' -' name metadataonly1.test2' -' partition_columns ds/hr' -' serialization.ddl struct test2 { i32 a, double b}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns a,b' -' columns.types int:double' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test2' -' name metadataonly1.test2' -' partition_columns ds/hr' -' serialization.ddl struct test2 { i32 a, double b}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: metadataonly1.test2' -' name: metadataonly1.test2' -' !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test2/ds=1/hr=3 ' -' Partition' -' base file name: hr=3' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 1' -' hr 3' -' properties:' -' bucket_count -1' -' columns a,b' -' columns.types int:double' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test2/ds=1/hr=3' -' name metadataonly1.test2' -' partition_columns ds/hr' -' serialization.ddl struct test2 { i32 a, double b}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns a,b' -' columns.types int:double' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test2' -' name metadataonly1.test2' -' partition_columns ds/hr' -' serialization.ddl struct test2 { i32 a, double b}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: metadataonly1.test2' -' name: metadataonly1.test2' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string:bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -212 rows selected ->>> select ds, count(hr) from TEST2 group by ds; -'ds','_c1' -No rows selected ->>> ->>> set hive.input.format=org.apache.hadoop.hive.ql.io.CombineHiveInputFormat; -No rows affected ->>> ->>> explain extended select max(ds) from TEST1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME TEST1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION max (TOK_TABLE_OR_COL ds))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' test1 ' -' TableScan' -' alias: test1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: ds' -' type: string' -' outputColumnNames: ds' -' Group By Operator' -' aggregations:' -' expr: max(ds)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' fake-path-metadata-only-query-metadataonly1.test1{ds=1} [test1]' -' fake-path-metadata-only-query-metadataonly1.test1{ds=2} [test1]' -' Path -> Partition:' -' fake-path-metadata-only-query-metadataonly1.test1{ds=1} ' -' Partition' -' base file name: ds=1' -' input format: org.apache.hadoop.hive.ql.io.OneNullRowInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 1' -' properties:' -' bucket_count -1' -' columns a,b' -' columns.types int:double' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test1/ds=1' -' name metadataonly1.test1' -' partition_columns ds' -' serialization.ddl struct test1 { i32 a, double b}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.NullStructSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns a,b' -' columns.types int:double' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test1' -' name metadataonly1.test1' -' partition_columns ds' -' serialization.ddl struct test1 { i32 a, double b}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: metadataonly1.test1' -' name: metadataonly1.test1' -' fake-path-metadata-only-query-metadataonly1.test1{ds=2} ' -' Partition' -' base file name: ds=2' -' input format: org.apache.hadoop.hive.ql.io.OneNullRowInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2' -' properties:' -' bucket_count -1' -' columns a,b' -' columns.types int:double' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test1/ds=2' -' name metadataonly1.test1' -' partition_columns ds' -' serialization.ddl struct test1 { i32 a, double b}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.NullStructSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns a,b' -' columns.types int:double' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/metadataonly1.db/test1' -' name metadataonly1.test1' -' partition_columns ds' -' serialization.ddl struct test1 { i32 a, double b}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: metadataonly1.test1' -' name: metadataonly1.test1' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: max(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -152 rows selected ->>> select max(ds) from TEST1; -'_c0' -'2' -1 row selected ->>> ->>> select distinct ds from srcpart; -'ds' -'2008-04-08' -'2008-04-09' -2 rows selected ->>> select min(ds),max(ds) from srcpart; -'_c0','_c1' -'2008-04-08','2008-04-09' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/mi.q.out ql/src/test/results/beelinepositive/mi.q.out deleted file mode 100644 index 33b6226..0000000 --- ql/src/test/results/beelinepositive/mi.q.out +++ /dev/null @@ -1,849 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/mi.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/mi.q ->>> set hive.exec.dynamic.partition=true; -No rows affected ->>> set hive.exec.dynamic.partition.mode=nonstrict; -No rows affected ->>> create table nzhang_t1 like srcpart; -No rows affected ->>> create table nzhang_t2 like srcpart; -No rows affected ->>> ->>> FROM srcpart -INSERT OVERWRITE TABLE nzhang_t1 PARTITION (ds, hr) -SELECT key, value, ds, hr -WHERE ds = '2008-04-08' AND hr = '11' -INSERT OVERWRITE TABLE nzhang_t2 PARTITION (ds, hr) -SELECT key, value, ds, hr -WHERE ds = '2008-04-08' and hr = '12' -GROUP BY key, value, ds, hr; -'key','value','ds','hr' -No rows selected ->>> ->>> show partitions nzhang_t1; -'partition' -'ds=2008-04-08/hr=11' -1 row selected ->>> show partitions nzhang_t2; -'partition' -'ds=2008-04-08/hr=12' -1 row selected ->>> ->>> select * from nzhang_t1; -'key','value','ds','hr' -'238','val_238','2008-04-08','11' -'86','val_86','2008-04-08','11' -'311','val_311','2008-04-08','11' -'27','val_27','2008-04-08','11' -'165','val_165','2008-04-08','11' -'409','val_409','2008-04-08','11' -'255','val_255','2008-04-08','11' -'278','val_278','2008-04-08','11' -'98','val_98','2008-04-08','11' -'484','val_484','2008-04-08','11' -'265','val_265','2008-04-08','11' -'193','val_193','2008-04-08','11' -'401','val_401','2008-04-08','11' -'150','val_150','2008-04-08','11' -'273','val_273','2008-04-08','11' -'224','val_224','2008-04-08','11' -'369','val_369','2008-04-08','11' -'66','val_66','2008-04-08','11' -'128','val_128','2008-04-08','11' -'213','val_213','2008-04-08','11' -'146','val_146','2008-04-08','11' -'406','val_406','2008-04-08','11' -'429','val_429','2008-04-08','11' -'374','val_374','2008-04-08','11' -'152','val_152','2008-04-08','11' -'469','val_469','2008-04-08','11' -'145','val_145','2008-04-08','11' -'495','val_495','2008-04-08','11' -'37','val_37','2008-04-08','11' -'327','val_327','2008-04-08','11' -'281','val_281','2008-04-08','11' -'277','val_277','2008-04-08','11' -'209','val_209','2008-04-08','11' -'15','val_15','2008-04-08','11' -'82','val_82','2008-04-08','11' -'403','val_403','2008-04-08','11' -'166','val_166','2008-04-08','11' -'417','val_417','2008-04-08','11' -'430','val_430','2008-04-08','11' -'252','val_252','2008-04-08','11' -'292','val_292','2008-04-08','11' -'219','val_219','2008-04-08','11' -'287','val_287','2008-04-08','11' -'153','val_153','2008-04-08','11' -'193','val_193','2008-04-08','11' -'338','val_338','2008-04-08','11' -'446','val_446','2008-04-08','11' -'459','val_459','2008-04-08','11' -'394','val_394','2008-04-08','11' -'237','val_237','2008-04-08','11' -'482','val_482','2008-04-08','11' -'174','val_174','2008-04-08','11' -'413','val_413','2008-04-08','11' -'494','val_494','2008-04-08','11' -'207','val_207','2008-04-08','11' -'199','val_199','2008-04-08','11' -'466','val_466','2008-04-08','11' -'208','val_208','2008-04-08','11' -'174','val_174','2008-04-08','11' -'399','val_399','2008-04-08','11' -'396','val_396','2008-04-08','11' -'247','val_247','2008-04-08','11' -'417','val_417','2008-04-08','11' -'489','val_489','2008-04-08','11' -'162','val_162','2008-04-08','11' -'377','val_377','2008-04-08','11' -'397','val_397','2008-04-08','11' -'309','val_309','2008-04-08','11' -'365','val_365','2008-04-08','11' -'266','val_266','2008-04-08','11' -'439','val_439','2008-04-08','11' -'342','val_342','2008-04-08','11' -'367','val_367','2008-04-08','11' -'325','val_325','2008-04-08','11' -'167','val_167','2008-04-08','11' -'195','val_195','2008-04-08','11' -'475','val_475','2008-04-08','11' -'17','val_17','2008-04-08','11' -'113','val_113','2008-04-08','11' -'155','val_155','2008-04-08','11' -'203','val_203','2008-04-08','11' -'339','val_339','2008-04-08','11' -'0','val_0','2008-04-08','11' -'455','val_455','2008-04-08','11' -'128','val_128','2008-04-08','11' -'311','val_311','2008-04-08','11' -'316','val_316','2008-04-08','11' -'57','val_57','2008-04-08','11' -'302','val_302','2008-04-08','11' -'205','val_205','2008-04-08','11' -'149','val_149','2008-04-08','11' -'438','val_438','2008-04-08','11' -'345','val_345','2008-04-08','11' -'129','val_129','2008-04-08','11' -'170','val_170','2008-04-08','11' -'20','val_20','2008-04-08','11' -'489','val_489','2008-04-08','11' -'157','val_157','2008-04-08','11' -'378','val_378','2008-04-08','11' -'221','val_221','2008-04-08','11' -'92','val_92','2008-04-08','11' -'111','val_111','2008-04-08','11' -'47','val_47','2008-04-08','11' -'72','val_72','2008-04-08','11' -'4','val_4','2008-04-08','11' -'280','val_280','2008-04-08','11' -'35','val_35','2008-04-08','11' -'427','val_427','2008-04-08','11' -'277','val_277','2008-04-08','11' -'208','val_208','2008-04-08','11' -'356','val_356','2008-04-08','11' -'399','val_399','2008-04-08','11' -'169','val_169','2008-04-08','11' -'382','val_382','2008-04-08','11' -'498','val_498','2008-04-08','11' -'125','val_125','2008-04-08','11' -'386','val_386','2008-04-08','11' -'437','val_437','2008-04-08','11' -'469','val_469','2008-04-08','11' -'192','val_192','2008-04-08','11' -'286','val_286','2008-04-08','11' -'187','val_187','2008-04-08','11' -'176','val_176','2008-04-08','11' -'54','val_54','2008-04-08','11' -'459','val_459','2008-04-08','11' -'51','val_51','2008-04-08','11' -'138','val_138','2008-04-08','11' -'103','val_103','2008-04-08','11' -'239','val_239','2008-04-08','11' -'213','val_213','2008-04-08','11' -'216','val_216','2008-04-08','11' -'430','val_430','2008-04-08','11' -'278','val_278','2008-04-08','11' -'176','val_176','2008-04-08','11' -'289','val_289','2008-04-08','11' -'221','val_221','2008-04-08','11' -'65','val_65','2008-04-08','11' -'318','val_318','2008-04-08','11' -'332','val_332','2008-04-08','11' -'311','val_311','2008-04-08','11' -'275','val_275','2008-04-08','11' -'137','val_137','2008-04-08','11' -'241','val_241','2008-04-08','11' -'83','val_83','2008-04-08','11' -'333','val_333','2008-04-08','11' -'180','val_180','2008-04-08','11' -'284','val_284','2008-04-08','11' -'12','val_12','2008-04-08','11' -'230','val_230','2008-04-08','11' -'181','val_181','2008-04-08','11' -'67','val_67','2008-04-08','11' -'260','val_260','2008-04-08','11' -'404','val_404','2008-04-08','11' -'384','val_384','2008-04-08','11' -'489','val_489','2008-04-08','11' -'353','val_353','2008-04-08','11' -'373','val_373','2008-04-08','11' -'272','val_272','2008-04-08','11' -'138','val_138','2008-04-08','11' -'217','val_217','2008-04-08','11' -'84','val_84','2008-04-08','11' -'348','val_348','2008-04-08','11' -'466','val_466','2008-04-08','11' -'58','val_58','2008-04-08','11' -'8','val_8','2008-04-08','11' -'411','val_411','2008-04-08','11' -'230','val_230','2008-04-08','11' -'208','val_208','2008-04-08','11' -'348','val_348','2008-04-08','11' -'24','val_24','2008-04-08','11' -'463','val_463','2008-04-08','11' -'431','val_431','2008-04-08','11' -'179','val_179','2008-04-08','11' -'172','val_172','2008-04-08','11' -'42','val_42','2008-04-08','11' -'129','val_129','2008-04-08','11' -'158','val_158','2008-04-08','11' -'119','val_119','2008-04-08','11' -'496','val_496','2008-04-08','11' -'0','val_0','2008-04-08','11' -'322','val_322','2008-04-08','11' -'197','val_197','2008-04-08','11' -'468','val_468','2008-04-08','11' -'393','val_393','2008-04-08','11' -'454','val_454','2008-04-08','11' -'100','val_100','2008-04-08','11' -'298','val_298','2008-04-08','11' -'199','val_199','2008-04-08','11' -'191','val_191','2008-04-08','11' -'418','val_418','2008-04-08','11' -'96','val_96','2008-04-08','11' -'26','val_26','2008-04-08','11' -'165','val_165','2008-04-08','11' -'327','val_327','2008-04-08','11' -'230','val_230','2008-04-08','11' -'205','val_205','2008-04-08','11' -'120','val_120','2008-04-08','11' -'131','val_131','2008-04-08','11' -'51','val_51','2008-04-08','11' -'404','val_404','2008-04-08','11' -'43','val_43','2008-04-08','11' -'436','val_436','2008-04-08','11' -'156','val_156','2008-04-08','11' -'469','val_469','2008-04-08','11' -'468','val_468','2008-04-08','11' -'308','val_308','2008-04-08','11' -'95','val_95','2008-04-08','11' -'196','val_196','2008-04-08','11' -'288','val_288','2008-04-08','11' -'481','val_481','2008-04-08','11' -'457','val_457','2008-04-08','11' -'98','val_98','2008-04-08','11' -'282','val_282','2008-04-08','11' -'197','val_197','2008-04-08','11' -'187','val_187','2008-04-08','11' -'318','val_318','2008-04-08','11' -'318','val_318','2008-04-08','11' -'409','val_409','2008-04-08','11' -'470','val_470','2008-04-08','11' -'137','val_137','2008-04-08','11' -'369','val_369','2008-04-08','11' -'316','val_316','2008-04-08','11' -'169','val_169','2008-04-08','11' -'413','val_413','2008-04-08','11' -'85','val_85','2008-04-08','11' -'77','val_77','2008-04-08','11' -'0','val_0','2008-04-08','11' -'490','val_490','2008-04-08','11' -'87','val_87','2008-04-08','11' -'364','val_364','2008-04-08','11' -'179','val_179','2008-04-08','11' -'118','val_118','2008-04-08','11' -'134','val_134','2008-04-08','11' -'395','val_395','2008-04-08','11' -'282','val_282','2008-04-08','11' -'138','val_138','2008-04-08','11' -'238','val_238','2008-04-08','11' -'419','val_419','2008-04-08','11' -'15','val_15','2008-04-08','11' -'118','val_118','2008-04-08','11' -'72','val_72','2008-04-08','11' -'90','val_90','2008-04-08','11' -'307','val_307','2008-04-08','11' -'19','val_19','2008-04-08','11' -'435','val_435','2008-04-08','11' -'10','val_10','2008-04-08','11' -'277','val_277','2008-04-08','11' -'273','val_273','2008-04-08','11' -'306','val_306','2008-04-08','11' -'224','val_224','2008-04-08','11' -'309','val_309','2008-04-08','11' -'389','val_389','2008-04-08','11' -'327','val_327','2008-04-08','11' -'242','val_242','2008-04-08','11' -'369','val_369','2008-04-08','11' -'392','val_392','2008-04-08','11' -'272','val_272','2008-04-08','11' -'331','val_331','2008-04-08','11' -'401','val_401','2008-04-08','11' -'242','val_242','2008-04-08','11' -'452','val_452','2008-04-08','11' -'177','val_177','2008-04-08','11' -'226','val_226','2008-04-08','11' -'5','val_5','2008-04-08','11' -'497','val_497','2008-04-08','11' -'402','val_402','2008-04-08','11' -'396','val_396','2008-04-08','11' -'317','val_317','2008-04-08','11' -'395','val_395','2008-04-08','11' -'58','val_58','2008-04-08','11' -'35','val_35','2008-04-08','11' -'336','val_336','2008-04-08','11' -'95','val_95','2008-04-08','11' -'11','val_11','2008-04-08','11' -'168','val_168','2008-04-08','11' -'34','val_34','2008-04-08','11' -'229','val_229','2008-04-08','11' -'233','val_233','2008-04-08','11' -'143','val_143','2008-04-08','11' -'472','val_472','2008-04-08','11' -'322','val_322','2008-04-08','11' -'498','val_498','2008-04-08','11' -'160','val_160','2008-04-08','11' -'195','val_195','2008-04-08','11' -'42','val_42','2008-04-08','11' -'321','val_321','2008-04-08','11' -'430','val_430','2008-04-08','11' -'119','val_119','2008-04-08','11' -'489','val_489','2008-04-08','11' -'458','val_458','2008-04-08','11' -'78','val_78','2008-04-08','11' -'76','val_76','2008-04-08','11' -'41','val_41','2008-04-08','11' -'223','val_223','2008-04-08','11' -'492','val_492','2008-04-08','11' -'149','val_149','2008-04-08','11' -'449','val_449','2008-04-08','11' -'218','val_218','2008-04-08','11' -'228','val_228','2008-04-08','11' -'138','val_138','2008-04-08','11' -'453','val_453','2008-04-08','11' -'30','val_30','2008-04-08','11' -'209','val_209','2008-04-08','11' -'64','val_64','2008-04-08','11' -'468','val_468','2008-04-08','11' -'76','val_76','2008-04-08','11' -'74','val_74','2008-04-08','11' -'342','val_342','2008-04-08','11' -'69','val_69','2008-04-08','11' -'230','val_230','2008-04-08','11' -'33','val_33','2008-04-08','11' -'368','val_368','2008-04-08','11' -'103','val_103','2008-04-08','11' -'296','val_296','2008-04-08','11' -'113','val_113','2008-04-08','11' -'216','val_216','2008-04-08','11' -'367','val_367','2008-04-08','11' -'344','val_344','2008-04-08','11' -'167','val_167','2008-04-08','11' -'274','val_274','2008-04-08','11' -'219','val_219','2008-04-08','11' -'239','val_239','2008-04-08','11' -'485','val_485','2008-04-08','11' -'116','val_116','2008-04-08','11' -'223','val_223','2008-04-08','11' -'256','val_256','2008-04-08','11' -'263','val_263','2008-04-08','11' -'70','val_70','2008-04-08','11' -'487','val_487','2008-04-08','11' -'480','val_480','2008-04-08','11' -'401','val_401','2008-04-08','11' -'288','val_288','2008-04-08','11' -'191','val_191','2008-04-08','11' -'5','val_5','2008-04-08','11' -'244','val_244','2008-04-08','11' -'438','val_438','2008-04-08','11' -'128','val_128','2008-04-08','11' -'467','val_467','2008-04-08','11' -'432','val_432','2008-04-08','11' -'202','val_202','2008-04-08','11' -'316','val_316','2008-04-08','11' -'229','val_229','2008-04-08','11' -'469','val_469','2008-04-08','11' -'463','val_463','2008-04-08','11' -'280','val_280','2008-04-08','11' -'2','val_2','2008-04-08','11' -'35','val_35','2008-04-08','11' -'283','val_283','2008-04-08','11' -'331','val_331','2008-04-08','11' -'235','val_235','2008-04-08','11' -'80','val_80','2008-04-08','11' -'44','val_44','2008-04-08','11' -'193','val_193','2008-04-08','11' -'321','val_321','2008-04-08','11' -'335','val_335','2008-04-08','11' -'104','val_104','2008-04-08','11' -'466','val_466','2008-04-08','11' -'366','val_366','2008-04-08','11' -'175','val_175','2008-04-08','11' -'403','val_403','2008-04-08','11' -'483','val_483','2008-04-08','11' -'53','val_53','2008-04-08','11' -'105','val_105','2008-04-08','11' -'257','val_257','2008-04-08','11' -'406','val_406','2008-04-08','11' -'409','val_409','2008-04-08','11' -'190','val_190','2008-04-08','11' -'406','val_406','2008-04-08','11' -'401','val_401','2008-04-08','11' -'114','val_114','2008-04-08','11' -'258','val_258','2008-04-08','11' -'90','val_90','2008-04-08','11' -'203','val_203','2008-04-08','11' -'262','val_262','2008-04-08','11' -'348','val_348','2008-04-08','11' -'424','val_424','2008-04-08','11' -'12','val_12','2008-04-08','11' -'396','val_396','2008-04-08','11' -'201','val_201','2008-04-08','11' -'217','val_217','2008-04-08','11' -'164','val_164','2008-04-08','11' -'431','val_431','2008-04-08','11' -'454','val_454','2008-04-08','11' -'478','val_478','2008-04-08','11' -'298','val_298','2008-04-08','11' -'125','val_125','2008-04-08','11' -'431','val_431','2008-04-08','11' -'164','val_164','2008-04-08','11' -'424','val_424','2008-04-08','11' -'187','val_187','2008-04-08','11' -'382','val_382','2008-04-08','11' -'5','val_5','2008-04-08','11' -'70','val_70','2008-04-08','11' -'397','val_397','2008-04-08','11' -'480','val_480','2008-04-08','11' -'291','val_291','2008-04-08','11' -'24','val_24','2008-04-08','11' -'351','val_351','2008-04-08','11' -'255','val_255','2008-04-08','11' -'104','val_104','2008-04-08','11' -'70','val_70','2008-04-08','11' -'163','val_163','2008-04-08','11' -'438','val_438','2008-04-08','11' -'119','val_119','2008-04-08','11' -'414','val_414','2008-04-08','11' -'200','val_200','2008-04-08','11' -'491','val_491','2008-04-08','11' -'237','val_237','2008-04-08','11' -'439','val_439','2008-04-08','11' -'360','val_360','2008-04-08','11' -'248','val_248','2008-04-08','11' -'479','val_479','2008-04-08','11' -'305','val_305','2008-04-08','11' -'417','val_417','2008-04-08','11' -'199','val_199','2008-04-08','11' -'444','val_444','2008-04-08','11' -'120','val_120','2008-04-08','11' -'429','val_429','2008-04-08','11' -'169','val_169','2008-04-08','11' -'443','val_443','2008-04-08','11' -'323','val_323','2008-04-08','11' -'325','val_325','2008-04-08','11' -'277','val_277','2008-04-08','11' -'230','val_230','2008-04-08','11' -'478','val_478','2008-04-08','11' -'178','val_178','2008-04-08','11' -'468','val_468','2008-04-08','11' -'310','val_310','2008-04-08','11' -'317','val_317','2008-04-08','11' -'333','val_333','2008-04-08','11' -'493','val_493','2008-04-08','11' -'460','val_460','2008-04-08','11' -'207','val_207','2008-04-08','11' -'249','val_249','2008-04-08','11' -'265','val_265','2008-04-08','11' -'480','val_480','2008-04-08','11' -'83','val_83','2008-04-08','11' -'136','val_136','2008-04-08','11' -'353','val_353','2008-04-08','11' -'172','val_172','2008-04-08','11' -'214','val_214','2008-04-08','11' -'462','val_462','2008-04-08','11' -'233','val_233','2008-04-08','11' -'406','val_406','2008-04-08','11' -'133','val_133','2008-04-08','11' -'175','val_175','2008-04-08','11' -'189','val_189','2008-04-08','11' -'454','val_454','2008-04-08','11' -'375','val_375','2008-04-08','11' -'401','val_401','2008-04-08','11' -'421','val_421','2008-04-08','11' -'407','val_407','2008-04-08','11' -'384','val_384','2008-04-08','11' -'256','val_256','2008-04-08','11' -'26','val_26','2008-04-08','11' -'134','val_134','2008-04-08','11' -'67','val_67','2008-04-08','11' -'384','val_384','2008-04-08','11' -'379','val_379','2008-04-08','11' -'18','val_18','2008-04-08','11' -'462','val_462','2008-04-08','11' -'492','val_492','2008-04-08','11' -'100','val_100','2008-04-08','11' -'298','val_298','2008-04-08','11' -'9','val_9','2008-04-08','11' -'341','val_341','2008-04-08','11' -'498','val_498','2008-04-08','11' -'146','val_146','2008-04-08','11' -'458','val_458','2008-04-08','11' -'362','val_362','2008-04-08','11' -'186','val_186','2008-04-08','11' -'285','val_285','2008-04-08','11' -'348','val_348','2008-04-08','11' -'167','val_167','2008-04-08','11' -'18','val_18','2008-04-08','11' -'273','val_273','2008-04-08','11' -'183','val_183','2008-04-08','11' -'281','val_281','2008-04-08','11' -'344','val_344','2008-04-08','11' -'97','val_97','2008-04-08','11' -'469','val_469','2008-04-08','11' -'315','val_315','2008-04-08','11' -'84','val_84','2008-04-08','11' -'28','val_28','2008-04-08','11' -'37','val_37','2008-04-08','11' -'448','val_448','2008-04-08','11' -'152','val_152','2008-04-08','11' -'348','val_348','2008-04-08','11' -'307','val_307','2008-04-08','11' -'194','val_194','2008-04-08','11' -'414','val_414','2008-04-08','11' -'477','val_477','2008-04-08','11' -'222','val_222','2008-04-08','11' -'126','val_126','2008-04-08','11' -'90','val_90','2008-04-08','11' -'169','val_169','2008-04-08','11' -'403','val_403','2008-04-08','11' -'400','val_400','2008-04-08','11' -'200','val_200','2008-04-08','11' -'97','val_97','2008-04-08','11' -500 rows selected ->>> select * from nzhang_t2; -'key','value','ds','hr' -'0','val_0','2008-04-08','12' -'10','val_10','2008-04-08','12' -'100','val_100','2008-04-08','12' -'103','val_103','2008-04-08','12' -'104','val_104','2008-04-08','12' -'105','val_105','2008-04-08','12' -'11','val_11','2008-04-08','12' -'111','val_111','2008-04-08','12' -'113','val_113','2008-04-08','12' -'114','val_114','2008-04-08','12' -'116','val_116','2008-04-08','12' -'118','val_118','2008-04-08','12' -'119','val_119','2008-04-08','12' -'12','val_12','2008-04-08','12' -'120','val_120','2008-04-08','12' -'125','val_125','2008-04-08','12' -'126','val_126','2008-04-08','12' -'128','val_128','2008-04-08','12' -'129','val_129','2008-04-08','12' -'131','val_131','2008-04-08','12' -'133','val_133','2008-04-08','12' -'134','val_134','2008-04-08','12' -'136','val_136','2008-04-08','12' -'137','val_137','2008-04-08','12' -'138','val_138','2008-04-08','12' -'143','val_143','2008-04-08','12' -'145','val_145','2008-04-08','12' -'146','val_146','2008-04-08','12' -'149','val_149','2008-04-08','12' -'15','val_15','2008-04-08','12' -'150','val_150','2008-04-08','12' -'152','val_152','2008-04-08','12' -'153','val_153','2008-04-08','12' -'155','val_155','2008-04-08','12' -'156','val_156','2008-04-08','12' -'157','val_157','2008-04-08','12' -'158','val_158','2008-04-08','12' -'160','val_160','2008-04-08','12' -'162','val_162','2008-04-08','12' -'163','val_163','2008-04-08','12' -'164','val_164','2008-04-08','12' -'165','val_165','2008-04-08','12' -'166','val_166','2008-04-08','12' -'167','val_167','2008-04-08','12' -'168','val_168','2008-04-08','12' -'169','val_169','2008-04-08','12' -'17','val_17','2008-04-08','12' -'170','val_170','2008-04-08','12' -'172','val_172','2008-04-08','12' -'174','val_174','2008-04-08','12' -'175','val_175','2008-04-08','12' -'176','val_176','2008-04-08','12' -'177','val_177','2008-04-08','12' -'178','val_178','2008-04-08','12' -'179','val_179','2008-04-08','12' -'18','val_18','2008-04-08','12' -'180','val_180','2008-04-08','12' -'181','val_181','2008-04-08','12' -'183','val_183','2008-04-08','12' -'186','val_186','2008-04-08','12' -'187','val_187','2008-04-08','12' -'189','val_189','2008-04-08','12' -'19','val_19','2008-04-08','12' -'190','val_190','2008-04-08','12' -'191','val_191','2008-04-08','12' -'192','val_192','2008-04-08','12' -'193','val_193','2008-04-08','12' -'194','val_194','2008-04-08','12' -'195','val_195','2008-04-08','12' -'196','val_196','2008-04-08','12' -'197','val_197','2008-04-08','12' -'199','val_199','2008-04-08','12' -'2','val_2','2008-04-08','12' -'20','val_20','2008-04-08','12' -'200','val_200','2008-04-08','12' -'201','val_201','2008-04-08','12' -'202','val_202','2008-04-08','12' -'203','val_203','2008-04-08','12' -'205','val_205','2008-04-08','12' -'207','val_207','2008-04-08','12' -'208','val_208','2008-04-08','12' -'209','val_209','2008-04-08','12' -'213','val_213','2008-04-08','12' -'214','val_214','2008-04-08','12' -'216','val_216','2008-04-08','12' -'217','val_217','2008-04-08','12' -'218','val_218','2008-04-08','12' -'219','val_219','2008-04-08','12' -'221','val_221','2008-04-08','12' -'222','val_222','2008-04-08','12' -'223','val_223','2008-04-08','12' -'224','val_224','2008-04-08','12' -'226','val_226','2008-04-08','12' -'228','val_228','2008-04-08','12' -'229','val_229','2008-04-08','12' -'230','val_230','2008-04-08','12' -'233','val_233','2008-04-08','12' -'235','val_235','2008-04-08','12' -'237','val_237','2008-04-08','12' -'238','val_238','2008-04-08','12' -'239','val_239','2008-04-08','12' -'24','val_24','2008-04-08','12' -'241','val_241','2008-04-08','12' -'242','val_242','2008-04-08','12' -'244','val_244','2008-04-08','12' -'247','val_247','2008-04-08','12' -'248','val_248','2008-04-08','12' -'249','val_249','2008-04-08','12' -'252','val_252','2008-04-08','12' -'255','val_255','2008-04-08','12' -'256','val_256','2008-04-08','12' -'257','val_257','2008-04-08','12' -'258','val_258','2008-04-08','12' -'26','val_26','2008-04-08','12' -'260','val_260','2008-04-08','12' -'262','val_262','2008-04-08','12' -'263','val_263','2008-04-08','12' -'265','val_265','2008-04-08','12' -'266','val_266','2008-04-08','12' -'27','val_27','2008-04-08','12' -'272','val_272','2008-04-08','12' -'273','val_273','2008-04-08','12' -'274','val_274','2008-04-08','12' -'275','val_275','2008-04-08','12' -'277','val_277','2008-04-08','12' -'278','val_278','2008-04-08','12' -'28','val_28','2008-04-08','12' -'280','val_280','2008-04-08','12' -'281','val_281','2008-04-08','12' -'282','val_282','2008-04-08','12' -'283','val_283','2008-04-08','12' -'284','val_284','2008-04-08','12' -'285','val_285','2008-04-08','12' -'286','val_286','2008-04-08','12' -'287','val_287','2008-04-08','12' -'288','val_288','2008-04-08','12' -'289','val_289','2008-04-08','12' -'291','val_291','2008-04-08','12' -'292','val_292','2008-04-08','12' -'296','val_296','2008-04-08','12' -'298','val_298','2008-04-08','12' -'30','val_30','2008-04-08','12' -'302','val_302','2008-04-08','12' -'305','val_305','2008-04-08','12' -'306','val_306','2008-04-08','12' -'307','val_307','2008-04-08','12' -'308','val_308','2008-04-08','12' -'309','val_309','2008-04-08','12' -'310','val_310','2008-04-08','12' -'311','val_311','2008-04-08','12' -'315','val_315','2008-04-08','12' -'316','val_316','2008-04-08','12' -'317','val_317','2008-04-08','12' -'318','val_318','2008-04-08','12' -'321','val_321','2008-04-08','12' -'322','val_322','2008-04-08','12' -'323','val_323','2008-04-08','12' -'325','val_325','2008-04-08','12' -'327','val_327','2008-04-08','12' -'33','val_33','2008-04-08','12' -'331','val_331','2008-04-08','12' -'332','val_332','2008-04-08','12' -'333','val_333','2008-04-08','12' -'335','val_335','2008-04-08','12' -'336','val_336','2008-04-08','12' -'338','val_338','2008-04-08','12' -'339','val_339','2008-04-08','12' -'34','val_34','2008-04-08','12' -'341','val_341','2008-04-08','12' -'342','val_342','2008-04-08','12' -'344','val_344','2008-04-08','12' -'345','val_345','2008-04-08','12' -'348','val_348','2008-04-08','12' -'35','val_35','2008-04-08','12' -'351','val_351','2008-04-08','12' -'353','val_353','2008-04-08','12' -'356','val_356','2008-04-08','12' -'360','val_360','2008-04-08','12' -'362','val_362','2008-04-08','12' -'364','val_364','2008-04-08','12' -'365','val_365','2008-04-08','12' -'366','val_366','2008-04-08','12' -'367','val_367','2008-04-08','12' -'368','val_368','2008-04-08','12' -'369','val_369','2008-04-08','12' -'37','val_37','2008-04-08','12' -'373','val_373','2008-04-08','12' -'374','val_374','2008-04-08','12' -'375','val_375','2008-04-08','12' -'377','val_377','2008-04-08','12' -'378','val_378','2008-04-08','12' -'379','val_379','2008-04-08','12' -'382','val_382','2008-04-08','12' -'384','val_384','2008-04-08','12' -'386','val_386','2008-04-08','12' -'389','val_389','2008-04-08','12' -'392','val_392','2008-04-08','12' -'393','val_393','2008-04-08','12' -'394','val_394','2008-04-08','12' -'395','val_395','2008-04-08','12' -'396','val_396','2008-04-08','12' -'397','val_397','2008-04-08','12' -'399','val_399','2008-04-08','12' -'4','val_4','2008-04-08','12' -'400','val_400','2008-04-08','12' -'401','val_401','2008-04-08','12' -'402','val_402','2008-04-08','12' -'403','val_403','2008-04-08','12' -'404','val_404','2008-04-08','12' -'406','val_406','2008-04-08','12' -'407','val_407','2008-04-08','12' -'409','val_409','2008-04-08','12' -'41','val_41','2008-04-08','12' -'411','val_411','2008-04-08','12' -'413','val_413','2008-04-08','12' -'414','val_414','2008-04-08','12' -'417','val_417','2008-04-08','12' -'418','val_418','2008-04-08','12' -'419','val_419','2008-04-08','12' -'42','val_42','2008-04-08','12' -'421','val_421','2008-04-08','12' -'424','val_424','2008-04-08','12' -'427','val_427','2008-04-08','12' -'429','val_429','2008-04-08','12' -'43','val_43','2008-04-08','12' -'430','val_430','2008-04-08','12' -'431','val_431','2008-04-08','12' -'432','val_432','2008-04-08','12' -'435','val_435','2008-04-08','12' -'436','val_436','2008-04-08','12' -'437','val_437','2008-04-08','12' -'438','val_438','2008-04-08','12' -'439','val_439','2008-04-08','12' -'44','val_44','2008-04-08','12' -'443','val_443','2008-04-08','12' -'444','val_444','2008-04-08','12' -'446','val_446','2008-04-08','12' -'448','val_448','2008-04-08','12' -'449','val_449','2008-04-08','12' -'452','val_452','2008-04-08','12' -'453','val_453','2008-04-08','12' -'454','val_454','2008-04-08','12' -'455','val_455','2008-04-08','12' -'457','val_457','2008-04-08','12' -'458','val_458','2008-04-08','12' -'459','val_459','2008-04-08','12' -'460','val_460','2008-04-08','12' -'462','val_462','2008-04-08','12' -'463','val_463','2008-04-08','12' -'466','val_466','2008-04-08','12' -'467','val_467','2008-04-08','12' -'468','val_468','2008-04-08','12' -'469','val_469','2008-04-08','12' -'47','val_47','2008-04-08','12' -'470','val_470','2008-04-08','12' -'472','val_472','2008-04-08','12' -'475','val_475','2008-04-08','12' -'477','val_477','2008-04-08','12' -'478','val_478','2008-04-08','12' -'479','val_479','2008-04-08','12' -'480','val_480','2008-04-08','12' -'481','val_481','2008-04-08','12' -'482','val_482','2008-04-08','12' -'483','val_483','2008-04-08','12' -'484','val_484','2008-04-08','12' -'485','val_485','2008-04-08','12' -'487','val_487','2008-04-08','12' -'489','val_489','2008-04-08','12' -'490','val_490','2008-04-08','12' -'491','val_491','2008-04-08','12' -'492','val_492','2008-04-08','12' -'493','val_493','2008-04-08','12' -'494','val_494','2008-04-08','12' -'495','val_495','2008-04-08','12' -'496','val_496','2008-04-08','12' -'497','val_497','2008-04-08','12' -'498','val_498','2008-04-08','12' -'5','val_5','2008-04-08','12' -'51','val_51','2008-04-08','12' -'53','val_53','2008-04-08','12' -'54','val_54','2008-04-08','12' -'57','val_57','2008-04-08','12' -'58','val_58','2008-04-08','12' -'64','val_64','2008-04-08','12' -'65','val_65','2008-04-08','12' -'66','val_66','2008-04-08','12' -'67','val_67','2008-04-08','12' -'69','val_69','2008-04-08','12' -'70','val_70','2008-04-08','12' -'72','val_72','2008-04-08','12' -'74','val_74','2008-04-08','12' -'76','val_76','2008-04-08','12' -'77','val_77','2008-04-08','12' -'78','val_78','2008-04-08','12' -'8','val_8','2008-04-08','12' -'80','val_80','2008-04-08','12' -'82','val_82','2008-04-08','12' -'83','val_83','2008-04-08','12' -'84','val_84','2008-04-08','12' -'85','val_85','2008-04-08','12' -'86','val_86','2008-04-08','12' -'87','val_87','2008-04-08','12' -'9','val_9','2008-04-08','12' -'90','val_90','2008-04-08','12' -'92','val_92','2008-04-08','12' -'95','val_95','2008-04-08','12' -'96','val_96','2008-04-08','12' -'97','val_97','2008-04-08','12' -'98','val_98','2008-04-08','12' -309 rows selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/misc_json.q.out ql/src/test/results/beelinepositive/misc_json.q.out deleted file mode 100644 index a21e33f..0000000 --- ql/src/test/results/beelinepositive/misc_json.q.out +++ /dev/null @@ -1,25 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/misc_json.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/misc_json.q ->>> set hive.ddl.output.format=json; -No rows affected ->>> ->>> CREATE TABLE IF NOT EXISTS jsontable (key INT, value STRING) COMMENT 'json table' STORED AS TEXTFILE; -No rows affected ->>> ->>> ALTER TABLE jsontable ADD COLUMNS (name STRING COMMENT 'a new column'); -No rows affected ->>> ->>> ALTER TABLE jsontable RENAME TO jsontable2; -No rows affected ->>> ->>> SHOW TABLE EXTENDED LIKE jsontable2; -'tab_name' -'{"tables":[{"minFileSize":0,"totalNumberFiles":0,"location":"!!{hive.metastore.warehouse.dir}!!/misc_json.db/jsontable2","outputFormat":"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat","lastAccessTime":0,"lastUpdateTime":!!UNIXTIMEMILLIS!!,"columns":[{"name":"key","type":"int"},{"name":"value","type":"string"},{"name":"name","comment":"a new column","type":"string"}],"maxFileSize":0,"partitioned":false,"tableName":"jsontable2","owner":"!!{user.name}!!","inputFormat":"org.apache.hadoop.mapred.TextInputFormat","totalFileSize":0}]}' -1 row selected ->>> ->>> DROP TABLE jsontable2; -No rows affected ->>> ->>> set hive.ddl.output.format=text; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/multi_join_union.q.out ql/src/test/results/beelinepositive/multi_join_union.q.out deleted file mode 100644 index 42ac20d..0000000 --- ql/src/test/results/beelinepositive/multi_join_union.q.out +++ /dev/null @@ -1,552 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/multi_join_union.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/multi_join_union.q ->>> ->>> set hive.auto.convert.join=true; -No rows affected ->>> ->>> CREATE TABLE src11 as SELECT * FROM src; -'key','value' -No rows selected ->>> CREATE TABLE src12 as SELECT * FROM src; -'key','value' -No rows selected ->>> CREATE TABLE src13 as SELECT * FROM src; -'key','value' -No rows selected ->>> CREATE TABLE src14 as SELECT * FROM src; -'key','value' -No rows selected ->>> ->>> ->>> EXPLAIN SELECT * FROM -src11 a JOIN -src12 b ON (a.key = b.key) JOIN -(SELECT * FROM (SELECT * FROM src13 UNION ALL SELECT * FROM src14)a )c ON c.value = b.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME src11) a) (TOK_TABREF (TOK_TABNAME src12) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src13))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src14))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)))) c) (= (. (TOK_TABLE_OR_COL c) value) (. (TOK_TABLE_OR_COL b) value)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-11 is a root stage , consists of Stage-14, Stage-15, Stage-1' -' Stage-14 has a backup stage: Stage-1' -' Stage-9 depends on stages: Stage-14' -' Stage-8 depends on stages: Stage-1, Stage-9, Stage-10 , consists of Stage-12, Stage-13, Stage-2' -' Stage-12 has a backup stage: Stage-2' -' Stage-6 depends on stages: Stage-12' -' Stage-13 has a backup stage: Stage-2' -' Stage-7 depends on stages: Stage-13' -' Stage-2' -' Stage-15 has a backup stage: Stage-1' -' Stage-10 depends on stages: Stage-15' -' Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-11' -' Conditional Operator' -'' -' Stage: Stage-14' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' b ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' b ' -' TableScan' -' alias: b' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -'' -' Stage: Stage-9' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-8' -' Conditional Operator' -'' -' Stage: Stage-12' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' c-subquery1:a-subquery1:src13 ' -' Fetch Operator' -' limit: -1' -' c-subquery2:a-subquery2:src14 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' c-subquery1:a-subquery1:src13 ' -' TableScan' -' alias: src13' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col4} {_col5} {_col0} {_col1}' -' 1 {_col0} {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col5]]' -' 1 [Column[_col1]]' -' Position of Big Table: 0' -' c-subquery2:a-subquery2:src14 ' -' TableScan' -' alias: src14' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col4} {_col5} {_col0} {_col1}' -' 1 {_col0} {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col5]]' -' 1 [Column[_col1]]' -' Position of Big Table: 0' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {_col4} {_col5} {_col0} {_col1}' -' 1 {_col0} {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col5]]' -' 1 [Column[_col1]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-13' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' $INTNAME ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' $INTNAME ' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col4} {_col5} {_col0} {_col1}' -' 1 {_col0} {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col5]]' -' 1 [Column[_col1]]' -' Position of Big Table: 1' -'' -' Stage: Stage-7' -' Map Reduce' -' Alias -> Map Operator Tree:' -' c-subquery1:a-subquery1:src13 ' -' TableScan' -' alias: src13' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {_col4} {_col5} {_col0} {_col1}' -' 1 {_col0} {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col5]]' -' 1 [Column[_col1]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' c-subquery2:a-subquery2:src14 ' -' TableScan' -' alias: src14' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {_col4} {_col5} {_col0} {_col1}' -' 1 {_col0} {_col1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col5]]' -' 1 [Column[_col1]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col5' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col5' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' c-subquery1:a-subquery1:src13 ' -' TableScan' -' alias: src13' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col1' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' c-subquery2:a-subquery2:src14 ' -' TableScan' -' alias: src14' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col1' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1} {VALUE._col4} {VALUE._col5}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-15' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' a ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' a ' -' TableScan' -' alias: a' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -'' -' Stage: Stage-10' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -525 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/multi_sahooks.q.out ql/src/test/results/beelinepositive/multi_sahooks.q.out deleted file mode 100644 index 370587f..0000000 --- ql/src/test/results/beelinepositive/multi_sahooks.q.out +++ /dev/null @@ -1,70 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/multi_sahooks.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/multi_sahooks.q ->>> set hive.semantic.analyzer.hook=org.apache.hadoop.hive.ql.metadata.DummySemanticAnalyzerHook1; -No rows affected ->>> ->>> drop table tbl_sahook; -No rows affected ->>> create table tbl_sahook (c string); -No rows affected ->>> desc extended tbl_sahook; -'col_name','data_type','comment' -'c','string','' -'','','' -'Detailed Table Information','Table(tableName:tbl_sahook, dbName:multi_sahooks, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:c, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/multi_sahooks.db/tbl_sahook, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{createdBy=org.apache.hadoop.hive.ql.metadata.DummyCreateTableHook, Message=Hive rocks!! Count: 0, transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -3 rows selected ->>> drop table tbl_sahook; -No rows affected ->>> ->>> set hive.semantic.analyzer.hook=org.apache.hadoop.hive.ql.metadata.DummySemanticAnalyzerHook1,org.apache.hadoop.hive.ql.metadata.DummySemanticAnalyzerHook; -No rows affected ->>> ->>> drop table tbl_sahooks; -No rows affected ->>> create table tbl_sahooks (c string); -No rows affected ->>> desc extended tbl_sahooks; -'col_name','data_type','comment' -'c','string','' -'','','' -'Detailed Table Information','Table(tableName:tbl_sahooks, dbName:multi_sahooks, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:c, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/multi_sahooks.db/tbl_sahooks, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{createdBy=org.apache.hadoop.hive.ql.metadata.DummyCreateTableHook, Message=Open Source rocks!!, transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -3 rows selected ->>> drop table tbl_sahooks; -No rows affected ->>> ->>> set hive.semantic.analyzer.hook=org.apache.hadoop.hive.ql.metadata.DummySemanticAnalyzerHook,org.apache.hadoop.hive.ql.metadata.DummySemanticAnalyzerHook1; -No rows affected ->>> ->>> drop table tbl_sahooks; -No rows affected ->>> create table tbl_sahooks (c string); -No rows affected ->>> desc extended tbl_sahooks; -'col_name','data_type','comment' -'c','string','' -'','','' -'Detailed Table Information','Table(tableName:tbl_sahooks, dbName:multi_sahooks, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:c, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/multi_sahooks.db/tbl_sahooks, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{createdBy=org.apache.hadoop.hive.ql.metadata.DummyCreateTableHook, Message=Hive rocks!! Count: 0, transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -3 rows selected ->>> drop table tbl_sahooks; -No rows affected ->>> ->>> set hive.semantic.analyzer.hook=org.apache.hadoop.hive.ql.metadata.DummySemanticAnalyzerHook1,org.apache.hadoop.hive.ql.metadata.DummySemanticAnalyzerHook1; -No rows affected ->>> ->>> drop table tbl_sahooks; -No rows affected ->>> create table tbl_sahooks (c string); -No rows affected ->>> desc extended tbl_sahooks; -'col_name','data_type','comment' -'c','string','' -'','','' -'Detailed Table Information','Table(tableName:tbl_sahooks, dbName:multi_sahooks, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:c, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/multi_sahooks.db/tbl_sahooks, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{createdBy=org.apache.hadoop.hive.ql.metadata.DummyCreateTableHook, Message=Hive rocks!! Count: 1, transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -3 rows selected ->>> ->>> set hive.semantic.analyzer.hook=; -No rows affected ->>> drop table tbl_sahooks; -No rows affected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/multigroupby_singlemr.q.out ql/src/test/results/beelinepositive/multigroupby_singlemr.q.out deleted file mode 100644 index a3f36e5..0000000 --- ql/src/test/results/beelinepositive/multigroupby_singlemr.q.out +++ /dev/null @@ -1,1122 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/multigroupby_singlemr.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/multigroupby_singlemr.q ->>> CREATE TABLE TBL(C1 INT, C2 INT, C3 INT, C4 INT); -No rows affected ->>> ->>> CREATE TABLE DEST1(d1 INT, d2 INT) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE DEST2(d1 INT, d2 INT, d3 INT) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE DEST3(d1 INT, d2 INT, d3 INT, d4 INT) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE DEST4(d1 INT, d2 INT, d3 INT, d4 INT) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM TBL -INSERT OVERWRITE TABLE DEST1 SELECT TBL.C1, COUNT(TBL.C2) GROUP BY TBL.C1 -INSERT OVERWRITE TABLE DEST2 SELECT TBL.C1, TBL.C2, COUNT(TBL.C3) GROUP BY TBL.C1, TBL.C2; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME TBL))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL TBL) C1)) (TOK_SELEXPR (TOK_FUNCTION COUNT (. (TOK_TABLE_OR_COL TBL) C2)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL TBL) C1))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST2))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL TBL) C1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL TBL) C2)) (TOK_SELEXPR (TOK_FUNCTION COUNT (. (TOK_TABLE_OR_COL TBL) C3)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL TBL) C1) (. (TOK_TABLE_OR_COL TBL) C2))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-0 depends on stages: Stage-2' -' Stage-3 depends on stages: Stage-0' -' Stage-4 depends on stages: Stage-2' -' Stage-1 depends on stages: Stage-4' -' Stage-5 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tbl ' -' TableScan' -' alias: tbl' -' Select Operator' -' expressions:' -' expr: c1' -' type: int' -' expr: c2' -' type: int' -' outputColumnNames: c1, c2' -' Group By Operator' -' aggregations:' -' expr: count(c2)' -' bucketGroup: false' -' keys:' -' expr: c1' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Select Operator' -' expressions:' -' expr: c1' -' type: int' -' expr: c2' -' type: int' -' expr: c3' -' type: int' -' outputColumnNames: c1, c2, c3' -' Group By Operator' -' aggregations:' -' expr: count(c3)' -' bucketGroup: false' -' keys:' -' expr: c1' -' type: int' -' expr: c2' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: multigroupby_singlemr.dest1' -'' -' 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: multigroupby_singlemr.dest1' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' expr: KEY._col1' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: UDFToInteger(_col2)' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: multigroupby_singlemr.dest2' -'' -' Stage: Stage-1' -' 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: multigroupby_singlemr.dest2' -'' -' Stage: Stage-5' -' Stats-Aggr Operator' -'' -'' -191 rows selected ->>> ->>> EXPLAIN -FROM TBL -INSERT OVERWRITE TABLE DEST1 SELECT TBL.C1, COUNT(TBL.C2) GROUP BY TBL.C1 -INSERT OVERWRITE TABLE DEST2 SELECT TBL.C1, TBL.C2, COUNT(TBL.C3) GROUP BY TBL.C2, TBL.C1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME TBL))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL TBL) C1)) (TOK_SELEXPR (TOK_FUNCTION COUNT (. (TOK_TABLE_OR_COL TBL) C2)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL TBL) C1))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST2))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL TBL) C1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL TBL) C2)) (TOK_SELEXPR (TOK_FUNCTION COUNT (. (TOK_TABLE_OR_COL TBL) C3)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL TBL) C2) (. (TOK_TABLE_OR_COL TBL) C1))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-0 depends on stages: Stage-2' -' Stage-3 depends on stages: Stage-0' -' Stage-4 depends on stages: Stage-2' -' Stage-1 depends on stages: Stage-4' -' Stage-5 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tbl ' -' TableScan' -' alias: tbl' -' Select Operator' -' expressions:' -' expr: c1' -' type: int' -' expr: c2' -' type: int' -' outputColumnNames: c1, c2' -' Group By Operator' -' aggregations:' -' expr: count(c2)' -' bucketGroup: false' -' keys:' -' expr: c1' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Select Operator' -' expressions:' -' expr: c2' -' type: int' -' expr: c1' -' type: int' -' expr: c3' -' type: int' -' outputColumnNames: c2, c1, c3' -' Group By Operator' -' aggregations:' -' expr: count(c3)' -' bucketGroup: false' -' keys:' -' expr: c2' -' type: int' -' expr: c1' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: multigroupby_singlemr.dest1' -'' -' 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: multigroupby_singlemr.dest1' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' expr: KEY._col1' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col1' -' type: int' -' expr: _col0' -' type: int' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: UDFToInteger(_col2)' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: multigroupby_singlemr.dest2' -'' -' Stage: Stage-1' -' 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: multigroupby_singlemr.dest2' -'' -' Stage: Stage-5' -' Stats-Aggr Operator' -'' -'' -191 rows selected ->>> ->>> EXPLAIN -FROM TBL -INSERT OVERWRITE TABLE DEST3 SELECT TBL.C1, TBL.C2, TBL.C3, COUNT(TBL.C4) GROUP BY TBL.C1, TBL.C2, TBL.C3 -INSERT OVERWRITE TABLE DEST2 SELECT TBL.C1, TBL.C2, COUNT(TBL.C3) GROUP BY TBL.C1, TBL.C2; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME TBL))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST3))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL TBL) C1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL TBL) C2)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL TBL) C3)) (TOK_SELEXPR (TOK_FUNCTION COUNT (. (TOK_TABLE_OR_COL TBL) C4)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL TBL) C1) (. (TOK_TABLE_OR_COL TBL) C2) (. (TOK_TABLE_OR_COL TBL) C3))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST2))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL TBL) C1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL TBL) C2)) (TOK_SELEXPR (TOK_FUNCTION COUNT (. (TOK_TABLE_OR_COL TBL) C3)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL TBL) C1) (. (TOK_TABLE_OR_COL TBL) C2))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-0 depends on stages: Stage-2' -' Stage-3 depends on stages: Stage-0' -' Stage-4 depends on stages: Stage-2' -' Stage-1 depends on stages: Stage-4' -' Stage-5 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tbl ' -' TableScan' -' alias: tbl' -' Select Operator' -' expressions:' -' expr: c1' -' type: int' -' expr: c2' -' type: int' -' expr: c3' -' type: int' -' expr: c4' -' type: int' -' outputColumnNames: c1, c2, c3, c4' -' Group By Operator' -' aggregations:' -' expr: count(c4)' -' bucketGroup: false' -' keys:' -' expr: c1' -' type: int' -' expr: c2' -' type: int' -' expr: c3' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: int' -' sort order: +++' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col3' -' type: bigint' -' Select Operator' -' expressions:' -' expr: c1' -' type: int' -' expr: c2' -' type: int' -' expr: c3' -' type: int' -' outputColumnNames: c1, c2, c3' -' Group By Operator' -' aggregations:' -' expr: count(c3)' -' bucketGroup: false' -' keys:' -' expr: c1' -' type: int' -' expr: c2' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' expr: KEY._col1' -' type: int' -' expr: KEY._col2' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: int' -' expr: _col3' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: int' -' expr: UDFToInteger(_col3)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: multigroupby_singlemr.dest3' -'' -' 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: multigroupby_singlemr.dest3' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' expr: KEY._col1' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: UDFToInteger(_col2)' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: multigroupby_singlemr.dest2' -'' -' Stage: Stage-1' -' 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: multigroupby_singlemr.dest2' -'' -' Stage: Stage-5' -' Stats-Aggr Operator' -'' -'' -219 rows selected ->>> ->>> EXPLAIN -FROM TBL -INSERT OVERWRITE TABLE DEST3 SELECT TBL.C1, TBL.C2, TBL.C3, COUNT(TBL.C4) GROUP BY TBL.C1, TBL.C2, TBL.C3 -INSERT OVERWRITE TABLE DEST4 SELECT TBL.C1, TBL.C2, TBL.C3, COUNT(TBL.C4) GROUP BY TBL.C1, TBL.C3, TBL.C2; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME TBL))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST3))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL TBL) C1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL TBL) C2)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL TBL) C3)) (TOK_SELEXPR (TOK_FUNCTION COUNT (. (TOK_TABLE_OR_COL TBL) C4)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL TBL) C1) (. (TOK_TABLE_OR_COL TBL) C2) (. (TOK_TABLE_OR_COL TBL) C3))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST4))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL TBL) C1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL TBL) C2)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL TBL) C3)) (TOK_SELEXPR (TOK_FUNCTION COUNT (. (TOK_TABLE_OR_COL TBL) C4)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL TBL) C1) (. (TOK_TABLE_OR_COL TBL) C3) (. (TOK_TABLE_OR_COL TBL) C2))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-0 depends on stages: Stage-2' -' Stage-3 depends on stages: Stage-0' -' Stage-1 depends on stages: Stage-2' -' Stage-4 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tbl ' -' TableScan' -' alias: tbl' -' Select Operator' -' expressions:' -' expr: c1' -' type: int' -' expr: c2' -' type: int' -' expr: c3' -' type: int' -' expr: c4' -' type: int' -' outputColumnNames: c1, c2, c3, c4' -' Reduce Output Operator' -' key expressions:' -' expr: c1' -' type: int' -' expr: c2' -' type: int' -' expr: c3' -' type: int' -' sort order: +++' -' Map-reduce partition columns:' -' expr: c1' -' type: int' -' expr: c2' -' type: int' -' expr: c3' -' type: int' -' tag: -1' -' value expressions:' -' expr: c4' -' type: int' -' Reduce Operator Tree:' -' Forward' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' expr: KEY._col1' -' type: int' -' expr: KEY._col2' -' type: int' -' mode: complete' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: int' -' expr: _col3' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: int' -' expr: UDFToInteger(_col3)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: multigroupby_singlemr.dest3' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' expr: KEY._col2' -' type: int' -' expr: KEY._col1' -' type: int' -' mode: complete' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col2' -' type: int' -' expr: _col1' -' type: int' -' expr: _col3' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: int' -' expr: UDFToInteger(_col3)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: multigroupby_singlemr.dest4' -'' -' 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: multigroupby_singlemr.dest3' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -' Stage: Stage-1' -' 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: multigroupby_singlemr.dest4' -'' -' Stage: Stage-4' -' Stats-Aggr Operator' -'' -'' -164 rows selected ->>> ->>> ->>> EXPLAIN -FROM TBL -INSERT OVERWRITE TABLE DEST3 SELECT TBL.C1, TBL.C2, TBL.C3, COUNT(TBL.C4) GROUP BY TBL.C1, TBL.C2, TBL.C3 -INSERT OVERWRITE TABLE DEST2 SELECT TBL.C1, TBL.C2, COUNT(TBL.C3) GROUP BY TBL.C1, TBL.C2 -INSERT OVERWRITE TABLE DEST1 SELECT TBL.C1, COUNT(TBL.C2) GROUP BY TBL.C1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME TBL))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST3))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL TBL) C1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL TBL) C2)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL TBL) C3)) (TOK_SELEXPR (TOK_FUNCTION COUNT (. (TOK_TABLE_OR_COL TBL) C4)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL TBL) C1) (. (TOK_TABLE_OR_COL TBL) C2) (. (TOK_TABLE_OR_COL TBL) C3))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST2))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL TBL) C1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL TBL) C2)) (TOK_SELEXPR (TOK_FUNCTION COUNT (. (TOK_TABLE_OR_COL TBL) C3)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL TBL) C1) (. (TOK_TABLE_OR_COL TBL) C2))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL TBL) C1)) (TOK_SELEXPR (TOK_FUNCTION COUNT (. (TOK_TABLE_OR_COL TBL) C2)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL TBL) C1))))' -'' -'STAGE DEPENDENCIES:' -' Stage-3 is a root stage' -' Stage-0 depends on stages: Stage-3' -' Stage-4 depends on stages: Stage-0' -' Stage-5 depends on stages: Stage-3' -' Stage-1 depends on stages: Stage-5' -' Stage-6 depends on stages: Stage-1' -' Stage-7 depends on stages: Stage-3' -' Stage-2 depends on stages: Stage-7' -' Stage-8 depends on stages: Stage-2' -'' -'STAGE PLANS:' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tbl ' -' TableScan' -' alias: tbl' -' Select Operator' -' expressions:' -' expr: c1' -' type: int' -' expr: c2' -' type: int' -' expr: c3' -' type: int' -' expr: c4' -' type: int' -' outputColumnNames: c1, c2, c3, c4' -' Group By Operator' -' aggregations:' -' expr: count(c4)' -' bucketGroup: false' -' keys:' -' expr: c1' -' type: int' -' expr: c2' -' type: int' -' expr: c3' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: int' -' sort order: +++' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col3' -' type: bigint' -' Select Operator' -' expressions:' -' expr: c1' -' type: int' -' expr: c2' -' type: int' -' expr: c3' -' type: int' -' outputColumnNames: c1, c2, c3' -' Group By Operator' -' aggregations:' -' expr: count(c3)' -' bucketGroup: false' -' keys:' -' expr: c1' -' type: int' -' expr: c2' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Select Operator' -' expressions:' -' expr: c1' -' type: int' -' expr: c2' -' type: int' -' outputColumnNames: c1, c2' -' Group By Operator' -' aggregations:' -' expr: count(c2)' -' bucketGroup: false' -' keys:' -' expr: c1' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' expr: KEY._col1' -' type: int' -' expr: KEY._col2' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: int' -' expr: _col3' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: int' -' expr: UDFToInteger(_col3)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: multigroupby_singlemr.dest3' -'' -' 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: multigroupby_singlemr.dest3' -'' -' Stage: Stage-4' -' Stats-Aggr Operator' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' expr: KEY._col1' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: UDFToInteger(_col2)' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: multigroupby_singlemr.dest2' -'' -' Stage: Stage-1' -' 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: multigroupby_singlemr.dest2' -'' -' Stage: Stage-6' -' Stats-Aggr Operator' -'' -' Stage: Stage-7' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 3' -' 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: multigroupby_singlemr.dest1' -'' -' Stage: Stage-2' -' 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: multigroupby_singlemr.dest1' -'' -' Stage: Stage-8' -' Stats-Aggr Operator' -'' -'' -306 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/nestedvirtual.q.out ql/src/test/results/beelinepositive/nestedvirtual.q.out deleted file mode 100644 index 74bc2bd..0000000 --- ql/src/test/results/beelinepositive/nestedvirtual.q.out +++ /dev/null @@ -1,51 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/nestedvirtual.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/nestedvirtual.q ->>> CREATE TABLE pokes (foo INT, bar STRING); -No rows affected ->>> create table pokes2(foo INT, bar STRING); -No rows affected ->>> ->>> create table jssarma_nilzma_bad as select a.val, a.filename, a.offset from (select hash(foo) as val, INPUT__FILE__NAME as filename, BLOCK__OFFSET__INSIDE__FILE as offset from pokes) a join pokes2 b on (a.val = b.foo); -'val','filename','offset' -No rows selected ->>> ->>> drop table jssarma_nilzma_bad; -No rows affected ->>> ->>> drop table pokes; -No rows affected ->>> drop table pokes2; -No rows affected ->>> CREATE TABLE pokes (foo INT, bar STRING); -No rows affected ->>> create table pokes2(foo INT, bar STRING); -No rows affected ->>> ->>> create table jssarma_nilzma_bad as select a.val, a.filename, a.offset from (select hash(foo) as val, INPUT__FILE__NAME as filename, BLOCK__OFFSET__INSIDE__FILE as offset from pokes) a join pokes2 b on (a.val = b.foo); -'val','filename','offset' -No rows selected ->>> ->>> drop table jssarma_nilzma_bad; -No rows affected ->>> ->>> drop table pokes; -No rows affected ->>> drop table pokes2; -No rows affected ->>> CREATE TABLE pokes (foo INT, bar STRING); -No rows affected ->>> create table pokes2(foo INT, bar STRING); -No rows affected ->>> ->>> create table jssarma_nilzma_bad as select a.val, a.filename, a.offset from (select hash(foo) as val, INPUT__FILE__NAME as filename, BLOCK__OFFSET__INSIDE__FILE as offset from pokes) a join pokes2 b on (a.val = b.foo); -'val','filename','offset' -No rows selected ->>> ->>> drop table jssarma_nilzma_bad; -No rows affected ->>> ->>> drop table pokes; -No rows affected ->>> drop table pokes2; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/newline.q.out ql/src/test/results/beelinepositive/newline.q.out deleted file mode 100644 index 6c1b6b3..0000000 --- ql/src/test/results/beelinepositive/newline.q.out +++ /dev/null @@ -1,153 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/newline.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/newline.q ->>> add file ../data/scripts/newline.py; -No rows affected ->>> set hive.transform.escape.input=true; -No rows affected ->>> ->>> create table tmp_tmp(key string, value string) stored as rcfile; -No rows affected ->>> insert overwrite table tmp_tmp -SELECT TRANSFORM(key, value) USING -'python newline.py' AS key, value FROM src limit 6; -'key','value' -No rows selected ->>> ->>> select * from tmp_tmp ORDER BY key ASC, value ASC; -'key','value' -'1 2','' -'1 2','' -'1','' -'2','' -'1','' -'2','' -'1','' -'2','' -'1','' -'2','' -10 rows selected ->>> ->>> drop table tmp_tmp; -No rows affected ->>> ->>> add file ../data/scripts/escapednewline.py; -No rows affected ->>> add file ../data/scripts/escapedtab.py; -No rows affected ->>> add file ../data/scripts/doubleescapedtab.py; -No rows affected ->>> add file ../data/scripts/escapedcarriagereturn.py; -No rows affected ->>> ->>> create table tmp_tmp(key string, value string) stored as rcfile; -No rows affected ->>> insert overwrite table tmp_tmp -SELECT TRANSFORM(key, value) USING -'python escapednewline.py' AS key, value FROM src limit 5; -'key','value' -No rows selected ->>> ->>> select * from tmp_tmp ORDER BY key ASC, value ASC; -'key','value' -'1\n2','' -'1\n2','' -'1\n2','' -'1\n2','' -'1\n2','' -5 rows selected ->>> ->>> SELECT TRANSFORM(key, value) USING -'cat' AS (key, value) FROM tmp_tmp; -'key','value' -'1\n2','' -'1\n2','' -'1\n2','' -'1\n2','' -'1\n2','' -5 rows selected ->>> ->>> insert overwrite table tmp_tmp -SELECT TRANSFORM(key, value) USING -'python escapedcarriagereturn.py' AS key, value FROM src limit 5; -'key','value' -No rows selected ->>> ->>> select * from tmp_tmp ORDER BY key ASC, value ASC; -'key','value' -'1\r2','' -'1\r2','' -'1\r2','' -'1\r2','' -'1\r2','' -5 rows selected ->>> ->>> SELECT TRANSFORM(key, value) USING -'cat' AS (key, value) FROM tmp_tmp; -'key','value' -'1\r2','' -'1\r2','' -'1\r2','' -'1\r2','' -'1\r2','' -5 rows selected ->>> ->>> insert overwrite table tmp_tmp -SELECT TRANSFORM(key, value) USING -'python escapedtab.py' AS key, value FROM src limit 5; -'key','value' -No rows selected ->>> ->>> select * from tmp_tmp ORDER BY key ASC, value ASC; -'key','value' -'1\t2','' -'1\t2','' -'1\t2','' -'1\t2','' -'1\t2','' -5 rows selected ->>> ->>> SELECT TRANSFORM(key, value) USING -'cat' AS (key, value) FROM tmp_tmp; -'key','value' -'1\t2','' -'1\t2','' -'1\t2','' -'1\t2','' -'1\t2','' -5 rows selected ->>> ->>> insert overwrite table tmp_tmp -SELECT TRANSFORM(key, value) USING -'python doubleescapedtab.py' AS key, value FROM src limit 5; -'key','value' -No rows selected ->>> ->>> select * from tmp_tmp ORDER BY key ASC, value ASC; -'key','value' -'1\ 2','' -'1\ 2','' -'1\ 2','' -'1\\t2','' -'1\\t2','' -5 rows selected ->>> ->>> SELECT TRANSFORM(key, value) USING -'cat' AS (key, value) FROM tmp_tmp; -'key','value' -'1\ 2','' -'1\\t2','' -'1\ 2','' -'1\\t2','' -'1\ 2','' -5 rows selected ->>> ->>> SELECT key FROM (SELECT TRANSFORM ('a\tb', 'c') USING 'cat' AS (key, value) FROM src limit 1)a ORDER BY key ASC; -'key' -'a b' -1 row selected ->>> ->>> SELECT value FROM (SELECT TRANSFORM ('a\tb', 'c') USING 'cat' AS (key, value) FROM src limit 1)a ORDER BY value ASC; -'value' -'c' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/no_hooks.q.out ql/src/test/results/beelinepositive/no_hooks.q.out deleted file mode 100644 index cf715f3..0000000 --- ql/src/test/results/beelinepositive/no_hooks.q.out +++ /dev/null @@ -1,222 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/no_hooks.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/no_hooks.q ->>> set hive.exec.pre.hooks=; -No rows affected ->>> ->>> EXPLAIN -SELECT * FROM src src1 JOIN src src2 WHERE src1.key < 10 and src2.key < 10 SORT BY src1.key, src1.value, src2.key, src2.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (and (< (. (TOK_TABLE_OR_COL src1) key) 10) (< (. (TOK_TABLE_OR_COL src2) key) 10))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src1) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL src2) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: (key < 10.0)' -' type: boolean' -' Reduce Output Operator' -' sort order: ' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: (key < 10.0)' -' type: boolean' -' Reduce Output Operator' -' sort order: ' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' sort order: ++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -108 rows selected ->>> ->>> SELECT * FROM src src1 JOIN src src2 WHERE src1.key < 10 and src2.key < 10 SORT BY src1.key, src1.value, src2.key, src2.value; -'key','value','key','value' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','2','val_2' -'0','val_0','2','val_2' -'0','val_0','2','val_2' -'0','val_0','4','val_4' -'0','val_0','4','val_4' -'0','val_0','4','val_4' -'0','val_0','5','val_5' -'0','val_0','5','val_5' -'0','val_0','5','val_5' -'0','val_0','5','val_5' -'0','val_0','5','val_5' -'0','val_0','5','val_5' -'0','val_0','5','val_5' -'0','val_0','5','val_5' -'0','val_0','5','val_5' -'0','val_0','8','val_8' -'0','val_0','8','val_8' -'0','val_0','8','val_8' -'0','val_0','9','val_9' -'0','val_0','9','val_9' -'0','val_0','9','val_9' -'2','val_2','0','val_0' -'2','val_2','0','val_0' -'2','val_2','0','val_0' -'2','val_2','2','val_2' -'2','val_2','4','val_4' -'2','val_2','5','val_5' -'2','val_2','5','val_5' -'2','val_2','5','val_5' -'2','val_2','8','val_8' -'2','val_2','9','val_9' -'4','val_4','0','val_0' -'4','val_4','0','val_0' -'4','val_4','0','val_0' -'4','val_4','2','val_2' -'4','val_4','4','val_4' -'4','val_4','5','val_5' -'4','val_4','5','val_5' -'4','val_4','5','val_5' -'4','val_4','8','val_8' -'4','val_4','9','val_9' -'5','val_5','0','val_0' -'5','val_5','0','val_0' -'5','val_5','0','val_0' -'5','val_5','0','val_0' -'5','val_5','0','val_0' -'5','val_5','0','val_0' -'5','val_5','0','val_0' -'5','val_5','0','val_0' -'5','val_5','0','val_0' -'5','val_5','2','val_2' -'5','val_5','2','val_2' -'5','val_5','2','val_2' -'5','val_5','4','val_4' -'5','val_5','4','val_4' -'5','val_5','4','val_4' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','8','val_8' -'5','val_5','8','val_8' -'5','val_5','8','val_8' -'5','val_5','9','val_9' -'5','val_5','9','val_9' -'5','val_5','9','val_9' -'8','val_8','0','val_0' -'8','val_8','0','val_0' -'8','val_8','0','val_0' -'8','val_8','2','val_2' -'8','val_8','4','val_4' -'8','val_8','5','val_5' -'8','val_8','5','val_5' -'8','val_8','5','val_5' -'8','val_8','8','val_8' -'8','val_8','9','val_9' -'9','val_9','0','val_0' -'9','val_9','0','val_0' -'9','val_9','0','val_0' -'9','val_9','2','val_2' -'9','val_9','4','val_4' -'9','val_9','5','val_5' -'9','val_9','5','val_5' -'9','val_9','5','val_5' -'9','val_9','8','val_8' -'9','val_9','9','val_9' -100 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/noalias_subq1.q.out ql/src/test/results/beelinepositive/noalias_subq1.q.out deleted file mode 100644 index f89f89f..0000000 --- ql/src/test/results/beelinepositive/noalias_subq1.q.out +++ /dev/null @@ -1,138 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/noalias_subq1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/noalias_subq1.q ->>> EXPLAIN -SELECT c1 FROM (select value as c1, key as c2 from src) x where c2 < 100; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL value) c1) (TOK_SELEXPR (TOK_TABLE_OR_COL key) c2)))) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL c1))) (TOK_WHERE (< (TOK_TABLE_OR_COL c2) 100))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: value' -' type: string' -' expr: key' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -42 rows selected ->>> ->>> SELECT c1 FROM (select value as c1, key as c2 from src) x where c2 < 100; -'c1' -'val_86' -'val_27' -'val_98' -'val_66' -'val_37' -'val_15' -'val_82' -'val_17' -'val_0' -'val_57' -'val_20' -'val_92' -'val_47' -'val_72' -'val_4' -'val_35' -'val_54' -'val_51' -'val_65' -'val_83' -'val_12' -'val_67' -'val_84' -'val_58' -'val_8' -'val_24' -'val_42' -'val_0' -'val_96' -'val_26' -'val_51' -'val_43' -'val_95' -'val_98' -'val_85' -'val_77' -'val_0' -'val_87' -'val_15' -'val_72' -'val_90' -'val_19' -'val_10' -'val_5' -'val_58' -'val_35' -'val_95' -'val_11' -'val_34' -'val_42' -'val_78' -'val_76' -'val_41' -'val_30' -'val_64' -'val_76' -'val_74' -'val_69' -'val_33' -'val_70' -'val_5' -'val_2' -'val_35' -'val_80' -'val_44' -'val_53' -'val_90' -'val_12' -'val_5' -'val_70' -'val_24' -'val_70' -'val_83' -'val_26' -'val_67' -'val_18' -'val_9' -'val_18' -'val_97' -'val_84' -'val_28' -'val_37' -'val_90' -'val_97' -84 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/nomore_ambiguous_table_col.q.out ql/src/test/results/beelinepositive/nomore_ambiguous_table_col.q.out deleted file mode 100644 index e3996ff..0000000 --- ql/src/test/results/beelinepositive/nomore_ambiguous_table_col.q.out +++ /dev/null @@ -1,17 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/nomore_ambiguous_table_col.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/nomore_ambiguous_table_col.q ->>> -- was negative/ambiguous_table_col.q ->>> ->>> drop table ambiguous; -No rows affected ->>> create table ambiguous (key string, value string); -No rows affected ->>> ->>> FROM src key -INSERT OVERWRITE TABLE ambiguous SELECT key.key, key.value WHERE key.value < 'val_100'; -'key','value' -No rows selected ->>> ->>> drop table ambiguous; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/nonmr_fetch.q.out ql/src/test/results/beelinepositive/nonmr_fetch.q.out deleted file mode 100644 index d560e81..0000000 --- ql/src/test/results/beelinepositive/nonmr_fetch.q.out +++ /dev/null @@ -1,1218 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/nonmr_fetch.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/nonmr_fetch.q ->>> set hive.fetch.task.conversion=minimal; -No rows affected ->>> ->>> -- backward compatible (minimal) ->>> explain select * from src limit 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_LIMIT 10)))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Fetch Operator' -' limit: 10' -' Processor Tree:' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' ListSink' -'' -'' -24 rows selected ->>> select * from src limit 10; -'key','value' -'238','val_238' -'86','val_86' -'311','val_311' -'27','val_27' -'165','val_165' -'409','val_409' -'255','val_255' -'278','val_278' -'98','val_98' -'484','val_484' -10 rows selected ->>> ->>> explain select * from srcpart where ds='2008-04-08' AND hr='11' limit 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (AND (= (TOK_TABLE_OR_COL ds) '2008-04-08') (= (TOK_TABLE_OR_COL hr) '11'))) (TOK_LIMIT 10)))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Fetch Operator' -' limit: 10' -' Processor Tree:' -' TableScan' -' alias: srcpart' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Limit' -' ListSink' -'' -'' -28 rows selected ->>> select * from srcpart where ds='2008-04-08' AND hr='11' limit 10; -'key','value','ds','hr' -'238','val_238','2008-04-08','11' -'86','val_86','2008-04-08','11' -'311','val_311','2008-04-08','11' -'27','val_27','2008-04-08','11' -'165','val_165','2008-04-08','11' -'409','val_409','2008-04-08','11' -'255','val_255','2008-04-08','11' -'278','val_278','2008-04-08','11' -'98','val_98','2008-04-08','11' -'484','val_484','2008-04-08','11' -10 rows selected ->>> ->>> -- negative, select expression ->>> explain select key from src limit 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key))) (TOK_LIMIT 10)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 10' -'' -'' -32 rows selected ->>> select key from src limit 10; -'key' -'238' -'86' -'311' -'27' -'165' -'409' -'255' -'278' -'98' -'484' -10 rows selected ->>> ->>> -- negative, filter on non-partition column ->>> explain select * from srcpart where key > 100 limit 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (> (TOK_TABLE_OR_COL key) 100)) (TOK_LIMIT 10)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' srcpart ' -' TableScan' -' alias: srcpart' -' Filter Operator' -' predicate:' -' expr: (key > 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 10' -'' -'' -42 rows selected ->>> select * from srcpart where key > 100 limit 10; -'key','value','ds','hr' -'238','val_238','2008-04-08','11' -'311','val_311','2008-04-08','11' -'165','val_165','2008-04-08','11' -'409','val_409','2008-04-08','11' -'255','val_255','2008-04-08','11' -'278','val_278','2008-04-08','11' -'484','val_484','2008-04-08','11' -'265','val_265','2008-04-08','11' -'193','val_193','2008-04-08','11' -'401','val_401','2008-04-08','11' -10 rows selected ->>> ->>> -- negative, table sampling ->>> explain select * from src TABLESAMPLE (0.25 PERCENT) limit 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) (TOK_TABLESPLITSAMPLE 0.25))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_LIMIT 10)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Percentage Sample:' -' src ' -' percentage: 0.25' -' seed number: 0' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 10' -'' -'' -38 rows selected ->>> select * from src TABLESAMPLE (0.25 PERCENT) limit 10; -'key','value' -'238','val_238' -'86','val_86' -'311','val_311' -'27','val_27' -'165','val_165' -'409','val_409' -'255','val_255' -'278','val_278' -'98','val_98' -'484','val_484' -10 rows selected ->>> ->>> set hive.fetch.task.conversion=more; -No rows affected ->>> ->>> -- backward compatible (more) ->>> explain select * from src limit 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_LIMIT 10)))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Fetch Operator' -' limit: 10' -' Processor Tree:' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' ListSink' -'' -'' -24 rows selected ->>> select * from src limit 10; -'key','value' -'238','val_238' -'86','val_86' -'311','val_311' -'27','val_27' -'165','val_165' -'409','val_409' -'255','val_255' -'278','val_278' -'98','val_98' -'484','val_484' -10 rows selected ->>> ->>> explain select * from srcpart where ds='2008-04-08' AND hr='11' limit 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (AND (= (TOK_TABLE_OR_COL ds) '2008-04-08') (= (TOK_TABLE_OR_COL hr) '11'))) (TOK_LIMIT 10)))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Fetch Operator' -' limit: 10' -' Processor Tree:' -' TableScan' -' alias: srcpart' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Limit' -' ListSink' -'' -'' -28 rows selected ->>> select * from srcpart where ds='2008-04-08' AND hr='11' limit 10; -'key','value','ds','hr' -'238','val_238','2008-04-08','11' -'86','val_86','2008-04-08','11' -'311','val_311','2008-04-08','11' -'27','val_27','2008-04-08','11' -'165','val_165','2008-04-08','11' -'409','val_409','2008-04-08','11' -'255','val_255','2008-04-08','11' -'278','val_278','2008-04-08','11' -'98','val_98','2008-04-08','11' -'484','val_484','2008-04-08','11' -10 rows selected ->>> ->>> -- select expression ->>> explain select cast(key as int) * 10, upper(value) from src limit 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (* (TOK_FUNCTION TOK_INT (TOK_TABLE_OR_COL key)) 10)) (TOK_SELEXPR (TOK_FUNCTION upper (TOK_TABLE_OR_COL value)))) (TOK_LIMIT 10)))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Fetch Operator' -' limit: 10' -' Processor Tree:' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: (UDFToInteger(key) * 10)' -' type: int' -' expr: upper(value)' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' ListSink' -'' -'' -24 rows selected ->>> select cast(key as int) * 10, upper(value) from src limit 10; -'_c0','_c1' -'2380','VAL_238' -'860','VAL_86' -'3110','VAL_311' -'270','VAL_27' -'1650','VAL_165' -'4090','VAL_409' -'2550','VAL_255' -'2780','VAL_278' -'980','VAL_98' -'4840','VAL_484' -10 rows selected ->>> ->>> -- filter on non-partition column ->>> explain select key from src where key < 100 limit 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key))) (TOK_WHERE (< (TOK_TABLE_OR_COL key) 100)) (TOK_LIMIT 10)))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Fetch Operator' -' limit: 10' -' Processor Tree:' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Limit' -' ListSink' -'' -'' -26 rows selected ->>> select key from src where key < 100 limit 10; -'key' -'86' -'27' -'98' -'66' -'37' -'15' -'82' -'17' -'0' -'57' -10 rows selected ->>> ->>> -- select expr for partitioned table ->>> explain select key from srcpart where ds='2008-04-08' AND hr='11' limit 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key))) (TOK_WHERE (AND (= (TOK_TABLE_OR_COL ds) '2008-04-08') (= (TOK_TABLE_OR_COL hr) '11'))) (TOK_LIMIT 10)))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Fetch Operator' -' limit: 10' -' Processor Tree:' -' TableScan' -' alias: srcpart' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Limit' -' ListSink' -'' -'' -22 rows selected ->>> select key from srcpart where ds='2008-04-08' AND hr='11' limit 10; -'key' -'238' -'86' -'311' -'27' -'165' -'409' -'255' -'278' -'98' -'484' -10 rows selected ->>> ->>> -- virtual columns ->>> explain select *, BLOCK__OFFSET__INSIDE__FILE from src where key < 10 limit 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF) (TOK_SELEXPR (TOK_TABLE_OR_COL BLOCK__OFFSET__INSIDE__FILE))) (TOK_WHERE (< (TOK_TABLE_OR_COL key) 10)) (TOK_LIMIT 10)))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Fetch Operator' -' limit: 10' -' Processor Tree:' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 10.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: BLOCK__OFFSET__INSIDE__FILE' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' Limit' -' ListSink' -'' -'' -30 rows selected ->>> select *, BLOCK__OFFSET__INSIDE__FILE from src where key < 100 limit 10; -'key','value','block__offset__inside__file' -'86','val_86','12' -'27','val_27','34' -'98','val_98','92' -'66','val_66','198' -'37','val_37','328' -'15','val_15','386' -'82','val_82','396' -'17','val_17','910' -'0','val_0','968' -'57','val_57','1024' -10 rows selected ->>> ->>> -- virtual columns on partitioned table ->>> explain select *, BLOCK__OFFSET__INSIDE__FILE from srcpart where key < 10 limit 30; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF) (TOK_SELEXPR (TOK_TABLE_OR_COL BLOCK__OFFSET__INSIDE__FILE))) (TOK_WHERE (< (TOK_TABLE_OR_COL key) 10)) (TOK_LIMIT 30)))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Fetch Operator' -' limit: 30' -' Processor Tree:' -' TableScan' -' alias: srcpart' -' Filter Operator' -' predicate:' -' expr: (key < 10.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' expr: BLOCK__OFFSET__INSIDE__FILE' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Limit' -' ListSink' -'' -'' -34 rows selected ->>> select *, BLOCK__OFFSET__INSIDE__FILE from srcpart where key < 10 limit 30; -'key','value','ds','hr','block__offset__inside__file' -'0','val_0','2008-04-08','11','968' -'4','val_4','2008-04-08','11','1218' -'8','val_8','2008-04-08','11','1916' -'0','val_0','2008-04-08','11','2088' -'0','val_0','2008-04-08','11','2632' -'5','val_5','2008-04-08','11','3060' -'5','val_5','2008-04-08','11','3864' -'2','val_2','2008-04-08','11','4004' -'5','val_5','2008-04-08','11','4540' -'9','val_9','2008-04-08','11','5398' -'0','val_0','2008-04-08','12','968' -'4','val_4','2008-04-08','12','1218' -'8','val_8','2008-04-08','12','1916' -'0','val_0','2008-04-08','12','2088' -'0','val_0','2008-04-08','12','2632' -'5','val_5','2008-04-08','12','3060' -'5','val_5','2008-04-08','12','3864' -'2','val_2','2008-04-08','12','4004' -'5','val_5','2008-04-08','12','4540' -'9','val_9','2008-04-08','12','5398' -'0','val_0','2008-04-09','11','968' -'4','val_4','2008-04-09','11','1218' -'8','val_8','2008-04-09','11','1916' -'0','val_0','2008-04-09','11','2088' -'0','val_0','2008-04-09','11','2632' -'5','val_5','2008-04-09','11','3060' -'5','val_5','2008-04-09','11','3864' -'2','val_2','2008-04-09','11','4004' -'5','val_5','2008-04-09','11','4540' -'9','val_9','2008-04-09','11','5398' -30 rows selected ->>> ->>> -- bucket sampling ->>> explain select *, BLOCK__OFFSET__INSIDE__FILE from src TABLESAMPLE (BUCKET 1 OUT OF 40 ON key); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) (TOK_TABLEBUCKETSAMPLE 1 40 (TOK_TABLE_OR_COL key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF) (TOK_SELEXPR (TOK_TABLE_OR_COL BLOCK__OFFSET__INSIDE__FILE)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -' Processor Tree:' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (((hash(key) & 2147483647) % 40) = 0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: BLOCK__OFFSET__INSIDE__FILE' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' ListSink' -'' -'' -29 rows selected ->>> select *, BLOCK__OFFSET__INSIDE__FILE from src TABLESAMPLE (BUCKET 1 OUT OF 40 ON key); -'key','value','block__offset__inside__file' -'484','val_484','102' -'286','val_286','1404' -'187','val_187','1416' -'187','val_187','2492' -'77','val_77','2622' -'187','val_187','4516' -'448','val_448','5636' -7 rows selected ->>> explain select *, BLOCK__OFFSET__INSIDE__FILE from srcpart TABLESAMPLE (BUCKET 1 OUT OF 40 ON key); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart) (TOK_TABLEBUCKETSAMPLE 1 40 (TOK_TABLE_OR_COL key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF) (TOK_SELEXPR (TOK_TABLE_OR_COL BLOCK__OFFSET__INSIDE__FILE)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -' Processor Tree:' -' TableScan' -' alias: srcpart' -' Filter Operator' -' predicate:' -' expr: (((hash(key) & 2147483647) % 40) = 0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' expr: BLOCK__OFFSET__INSIDE__FILE' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' ListSink' -'' -'' -33 rows selected ->>> select *, BLOCK__OFFSET__INSIDE__FILE from srcpart TABLESAMPLE (BUCKET 1 OUT OF 40 ON key); -'key','value','ds','hr','block__offset__inside__file' -'484','val_484','2008-04-08','11','102' -'286','val_286','2008-04-08','11','1404' -'187','val_187','2008-04-08','11','1416' -'187','val_187','2008-04-08','11','2492' -'77','val_77','2008-04-08','11','2622' -'187','val_187','2008-04-08','11','4516' -'448','val_448','2008-04-08','11','5636' -'484','val_484','2008-04-08','12','102' -'286','val_286','2008-04-08','12','1404' -'187','val_187','2008-04-08','12','1416' -'187','val_187','2008-04-08','12','2492' -'77','val_77','2008-04-08','12','2622' -'187','val_187','2008-04-08','12','4516' -'448','val_448','2008-04-08','12','5636' -'484','val_484','2008-04-09','11','102' -'286','val_286','2008-04-09','11','1404' -'187','val_187','2008-04-09','11','1416' -'187','val_187','2008-04-09','11','2492' -'77','val_77','2008-04-09','11','2622' -'187','val_187','2008-04-09','11','4516' -'448','val_448','2008-04-09','11','5636' -'484','val_484','2008-04-09','12','102' -'286','val_286','2008-04-09','12','1404' -'187','val_187','2008-04-09','12','1416' -'187','val_187','2008-04-09','12','2492' -'77','val_77','2008-04-09','12','2622' -'187','val_187','2008-04-09','12','4516' -'448','val_448','2008-04-09','12','5636' -28 rows selected ->>> ->>> -- split sampling ->>> explain select * from src TABLESAMPLE (0.25 PERCENT); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) (TOK_TABLESPLITSAMPLE 0.25))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -' Processor Tree:' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' ListSink' -'' -'' -23 rows selected ->>> select * from src TABLESAMPLE (0.25 PERCENT); -'key','value' -'238','val_238' -'86','val_86' -2 rows selected ->>> explain select *, BLOCK__OFFSET__INSIDE__FILE from srcpart TABLESAMPLE (0.25 PERCENT); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart) (TOK_TABLESPLITSAMPLE 0.25))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF) (TOK_SELEXPR (TOK_TABLE_OR_COL BLOCK__OFFSET__INSIDE__FILE)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -' Processor Tree:' -' TableScan' -' alias: srcpart' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' expr: BLOCK__OFFSET__INSIDE__FILE' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' ListSink' -'' -'' -29 rows selected ->>> select *, BLOCK__OFFSET__INSIDE__FILE from srcpart TABLESAMPLE (0.25 PERCENT); -'key','value','ds','hr','block__offset__inside__file' -'238','val_238','2008-04-08','11','0' -'86','val_86','2008-04-08','11','12' -'238','val_238','2008-04-08','12','0' -'86','val_86','2008-04-08','12','12' -'238','val_238','2008-04-09','11','0' -'86','val_86','2008-04-09','11','12' -'238','val_238','2008-04-09','12','0' -'86','val_86','2008-04-09','12','12' -8 rows selected ->>> ->>> -- non deterministic func ->>> explain select key, value, BLOCK__OFFSET__INSIDE__FILE from srcpart where ds="2008-04-09" AND rand() > 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL BLOCK__OFFSET__INSIDE__FILE))) (TOK_WHERE (AND (= (TOK_TABLE_OR_COL ds) "2008-04-09") (> (TOK_FUNCTION rand) 1)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -' Processor Tree:' -' TableScan' -' alias: srcpart' -' Filter Operator' -' predicate:' -' expr: (rand() > 1)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: BLOCK__OFFSET__INSIDE__FILE' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' ListSink' -'' -'' -29 rows selected ->>> select key, value, BLOCK__OFFSET__INSIDE__FILE from srcpart where ds="2008-04-09" AND rand() > 1; -'key','value','block__offset__inside__file' -No rows selected ->>> ->>> -- negative, groupby ->>> explain select key, count(value) from src group by key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count (TOK_TABLE_OR_COL value)))) (TOK_GROUPBY (TOK_TABLE_OR_COL key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: count(value)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -71 rows selected ->>> ->>> -- negative, distinct ->>> explain select distinct key, value from src; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECTDI (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -72 rows selected ->>> ->>> -- negative, CTAS ->>> explain create table srcx as select distinct key, value from src; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_CREATETABLE (TOK_TABNAME srcx) TOK_LIKETABLE (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECTDI (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 depends on stages: Stage-1' -' Stage-3 depends on stages: Stage-0' -' Stage-2 depends on stages: Stage-3' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' name: nonmr_fetch.srcx' -'' -' Stage: Stage-0' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: !!{hive.metastore.warehouse.dir}!!/nonmr_fetch.db/srcx' -'' -' Stage: Stage-3' -' Create Table Operator:' -' Create Table' -' columns: key string, value string' -' if not exists: false' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' # buckets: -1' -' output format: org.apache.hadoop.hive.ql.io.IgnoreKeyTextOutputFormat' -' name: srcx' -' isExternal: false' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -91 rows selected ->>> ->>> -- negative, analyze ->>> explain analyze table src compute statistics; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_ANALYZE (TOK_TAB (TOK_TABNAME src)))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -' Stage-1 depends on stages: Stage-0' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -'' -' Stage: Stage-1' -' Stats-Aggr Operator' -'' -'' -19 rows selected ->>> ->>> -- negative, subq ->>> explain select a.* from (select * from src) a; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)))) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME a))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -40 rows selected ->>> ->>> -- negative, join ->>> explain select * from src join src src2 on src.key=src2.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src)) (TOK_TABREF (TOK_TABNAME src) src2) (= (. (TOK_TABLE_OR_COL src) key) (. (TOK_TABLE_OR_COL src2) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -77 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/notable_alias1.q.out ql/src/test/results/beelinepositive/notable_alias1.q.out deleted file mode 100644 index d5da47c..0000000 --- ql/src/test/results/beelinepositive/notable_alias1.q.out +++ /dev/null @@ -1,173 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/notable_alias1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/notable_alias1.q ->>> CREATE TABLE dest1(dummy STRING, key INT, value DOUBLE) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest1 SELECT '1234', key, count(1) WHERE src.key < 100 group by key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR '1234') (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_WHERE (< (. (TOK_TABLE_OR_COL src) key) 100)) (TOK_GROUPBY (TOK_TABLE_OR_COL key))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: '1234'' -' type: string' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: UDFToDouble(_col2)' -' type: double' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: notable_alias1.dest1' -'' -' 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: notable_alias1.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -96 rows selected ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 SELECT '1234', key, count(1) WHERE src.key < 100 group by key; -'_col0','_col1','_col2' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'dummy','key','value' -'1234','0','3.0' -'1234','10','1.0' -'1234','11','1.0' -'1234','12','2.0' -'1234','15','2.0' -'1234','17','1.0' -'1234','18','2.0' -'1234','19','1.0' -'1234','2','1.0' -'1234','20','1.0' -'1234','24','2.0' -'1234','26','2.0' -'1234','27','1.0' -'1234','28','1.0' -'1234','30','1.0' -'1234','33','1.0' -'1234','34','1.0' -'1234','35','3.0' -'1234','37','2.0' -'1234','4','1.0' -'1234','41','1.0' -'1234','42','2.0' -'1234','43','1.0' -'1234','44','1.0' -'1234','47','1.0' -'1234','5','3.0' -'1234','51','2.0' -'1234','53','1.0' -'1234','54','1.0' -'1234','57','1.0' -'1234','58','2.0' -'1234','64','1.0' -'1234','65','1.0' -'1234','66','1.0' -'1234','67','2.0' -'1234','69','1.0' -'1234','70','3.0' -'1234','72','2.0' -'1234','74','1.0' -'1234','76','2.0' -'1234','77','1.0' -'1234','78','1.0' -'1234','8','1.0' -'1234','80','1.0' -'1234','82','1.0' -'1234','83','2.0' -'1234','84','2.0' -'1234','85','1.0' -'1234','86','1.0' -'1234','87','1.0' -'1234','9','1.0' -'1234','90','3.0' -'1234','92','1.0' -'1234','95','2.0' -'1234','96','1.0' -'1234','97','2.0' -'1234','98','2.0' -57 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/notable_alias2.q.out ql/src/test/results/beelinepositive/notable_alias2.q.out deleted file mode 100644 index 4e53eca..0000000 --- ql/src/test/results/beelinepositive/notable_alias2.q.out +++ /dev/null @@ -1,173 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/notable_alias2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/notable_alias2.q ->>> CREATE TABLE dest1(dummy STRING, key INT, value DOUBLE) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest1 SELECT '1234', src.key, count(1) WHERE key < 100 group by src.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR '1234') (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_WHERE (< (TOK_TABLE_OR_COL key) 100)) (TOK_GROUPBY (. (TOK_TABLE_OR_COL src) key))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: '1234'' -' type: string' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: UDFToDouble(_col2)' -' type: double' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: notable_alias2.dest1' -'' -' 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: notable_alias2.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -96 rows selected ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 SELECT '1234', src.key, count(1) WHERE key < 100 group by src.key; -'_col0','_col1','_col2' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'dummy','key','value' -'1234','0','3.0' -'1234','10','1.0' -'1234','11','1.0' -'1234','12','2.0' -'1234','15','2.0' -'1234','17','1.0' -'1234','18','2.0' -'1234','19','1.0' -'1234','2','1.0' -'1234','20','1.0' -'1234','24','2.0' -'1234','26','2.0' -'1234','27','1.0' -'1234','28','1.0' -'1234','30','1.0' -'1234','33','1.0' -'1234','34','1.0' -'1234','35','3.0' -'1234','37','2.0' -'1234','4','1.0' -'1234','41','1.0' -'1234','42','2.0' -'1234','43','1.0' -'1234','44','1.0' -'1234','47','1.0' -'1234','5','3.0' -'1234','51','2.0' -'1234','53','1.0' -'1234','54','1.0' -'1234','57','1.0' -'1234','58','2.0' -'1234','64','1.0' -'1234','65','1.0' -'1234','66','1.0' -'1234','67','2.0' -'1234','69','1.0' -'1234','70','3.0' -'1234','72','2.0' -'1234','74','1.0' -'1234','76','2.0' -'1234','77','1.0' -'1234','78','1.0' -'1234','8','1.0' -'1234','80','1.0' -'1234','82','1.0' -'1234','83','2.0' -'1234','84','2.0' -'1234','85','1.0' -'1234','86','1.0' -'1234','87','1.0' -'1234','9','1.0' -'1234','90','3.0' -'1234','92','1.0' -'1234','95','2.0' -'1234','96','1.0' -'1234','97','2.0' -'1234','98','2.0' -57 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/nullgroup.q.out ql/src/test/results/beelinepositive/nullgroup.q.out deleted file mode 100644 index 54acbd2..0000000 --- ql/src/test/results/beelinepositive/nullgroup.q.out +++ /dev/null @@ -1,298 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/nullgroup.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/nullgroup.q ->>> set hive.map.aggr=true; -No rows affected ->>> set hive.groupby.skewindata=true; -No rows affected ->>> ->>> explain -select count(1) from src x where x.key > 9999; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_WHERE (> (. (TOK_TABLE_OR_COL x) key) 9999))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x ' -' TableScan' -' alias: x' -' Filter Operator' -' predicate:' -' expr: (key > 9999.0)' -' type: boolean' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: final' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -55 rows selected ->>> ->>> select count(1) from src x where x.key > 9999; -'_c0' -'0' -1 row selected ->>> ->>> set hive.map.aggr=true; -No rows affected ->>> set hive.groupby.skewindata=false; -No rows affected ->>> ->>> explain -select count(1) from src x where x.key > 9999; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_WHERE (> (. (TOK_TABLE_OR_COL x) key) 9999))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x ' -' TableScan' -' alias: x' -' Filter Operator' -' predicate:' -' expr: (key > 9999.0)' -' type: boolean' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -55 rows selected ->>> ->>> select count(1) from src x where x.key > 9999; -'_c0' -'0' -1 row selected ->>> ->>> set hive.map.aggr=false; -No rows affected ->>> set hive.groupby.skewindata=true; -No rows affected ->>> ->>> explain -select count(1) from src x where x.key > 9999; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_WHERE (> (. (TOK_TABLE_OR_COL x) key) 9999))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x ' -' TableScan' -' alias: x' -' Filter Operator' -' predicate:' -' expr: (key > 9999.0)' -' type: boolean' -' Select Operator' -' Reduce Output Operator' -' sort order: ' -' Map-reduce partition columns:' -' expr: rand()' -' type: double' -' tag: -1' -' value expressions:' -' expr: 1' -' type: int' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: partial1' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: final' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -77 rows selected ->>> ->>> select count(1) from src x where x.key > 9999; -'_c0' -'0' -1 row selected ->>> ->>> set hive.map.aggr=false; -No rows affected ->>> set hive.groupby.skewindata=false; -No rows affected ->>> ->>> explain -select count(1) from src x where x.key > 9999; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_WHERE (> (. (TOK_TABLE_OR_COL x) key) 9999))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x ' -' TableScan' -' alias: x' -' Filter Operator' -' predicate:' -' expr: (key > 9999.0)' -' type: boolean' -' Select Operator' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: 1' -' type: int' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: complete' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -49 rows selected ->>> ->>> select count(1) from src x where x.key > 9999; -'_c0' -'0' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/nullgroup2.q.out ql/src/test/results/beelinepositive/nullgroup2.q.out deleted file mode 100644 index 623520d..0000000 --- ql/src/test/results/beelinepositive/nullgroup2.q.out +++ /dev/null @@ -1,400 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/nullgroup2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/nullgroup2.q ->>> set hive.map.aggr=true; -No rows affected ->>> set hive.groupby.skewindata=true; -No rows affected ->>> ->>> explain -select x.key, count(1) from src x where x.key > 9999 group by x.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_WHERE (> (. (TOK_TABLE_OR_COL x) key) 9999)) (TOK_GROUPBY (. (TOK_TABLE_OR_COL x) key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x ' -' TableScan' -' alias: x' -' Filter Operator' -' predicate:' -' expr: (key > 9999.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: rand()' -' type: double' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: partials' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -107 rows selected ->>> ->>> select x.key, count(1) from src x where x.key > 9999 group by x.key; -'key','_c1' -No rows selected ->>> ->>> set hive.map.aggr=true; -No rows affected ->>> set hive.groupby.skewindata=false; -No rows affected ->>> ->>> explain -select x.key, count(1) from src x where x.key > 9999 group by x.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_WHERE (> (. (TOK_TABLE_OR_COL x) key) 9999)) (TOK_GROUPBY (. (TOK_TABLE_OR_COL x) key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x ' -' TableScan' -' alias: x' -' Filter Operator' -' predicate:' -' expr: (key > 9999.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -73 rows selected ->>> ->>> select x.key, count(1) from src x where x.key > 9999 group by x.key; -'key','_c1' -No rows selected ->>> ->>> set hive.map.aggr=false; -No rows affected ->>> set hive.groupby.skewindata=true; -No rows affected ->>> ->>> explain -select x.key, count(1) from src x where x.key > 9999 group by x.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_WHERE (> (. (TOK_TABLE_OR_COL x) key) 9999)) (TOK_GROUPBY (. (TOK_TABLE_OR_COL x) key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x ' -' TableScan' -' alias: x' -' Filter Operator' -' predicate:' -' expr: (key > 9999.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: rand()' -' type: double' -' tag: -1' -' value expressions:' -' expr: 1' -' type: int' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: partial1' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -98 rows selected ->>> ->>> select x.key, count(1) from src x where x.key > 9999 group by x.key; -'key','_c1' -No rows selected ->>> ->>> set hive.map.aggr=false; -No rows affected ->>> set hive.groupby.skewindata=false; -No rows affected ->>> ->>> explain -select x.key, count(1) from src x where x.key > 9999 group by x.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_WHERE (> (. (TOK_TABLE_OR_COL x) key) 9999)) (TOK_GROUPBY (. (TOK_TABLE_OR_COL x) key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x ' -' TableScan' -' alias: x' -' Filter Operator' -' predicate:' -' expr: (key > 9999.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: -1' -' value expressions:' -' expr: 1' -' type: int' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: complete' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -64 rows selected ->>> ->>> select x.key, count(1) from src x where x.key > 9999 group by x.key; -'key','_c1' -No rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/nullgroup3.q.out ql/src/test/results/beelinepositive/nullgroup3.q.out deleted file mode 100644 index 9fed338..0000000 --- ql/src/test/results/beelinepositive/nullgroup3.q.out +++ /dev/null @@ -1,265 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/nullgroup3.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/nullgroup3.q ->>> CREATE TABLE tstparttbl(KEY STRING, VALUE STRING) PARTITIONED BY(ds string) STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/kv1.txt' INTO TABLE tstparttbl PARTITION (ds='2008-04-09'); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/nullfile.txt' INTO TABLE tstparttbl PARTITION (ds='2008-04-08'); -No rows affected ->>> explain -select count(1) from tstparttbl; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME tstparttbl))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tstparttbl ' -' TableScan' -' alias: tstparttbl' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -50 rows selected ->>> select count(1) from tstparttbl; -'_c0' -'500' -1 row selected ->>> ->>> CREATE TABLE tstparttbl2(KEY STRING, VALUE STRING) PARTITIONED BY(ds string) STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/nullfile.txt' INTO TABLE tstparttbl2 PARTITION (ds='2008-04-09'); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/nullfile.txt' INTO TABLE tstparttbl2 PARTITION (ds='2008-04-08'); -No rows affected ->>> explain -select count(1) from tstparttbl2; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME tstparttbl2))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tstparttbl2 ' -' TableScan' -' alias: tstparttbl2' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -50 rows selected ->>> select count(1) from tstparttbl2; -'_c0' -'0' -1 row selected ->>> DROP TABLE tstparttbl; -No rows affected ->>> CREATE TABLE tstparttbl(KEY STRING, VALUE STRING) PARTITIONED BY(ds string) STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/kv1.txt' INTO TABLE tstparttbl PARTITION (ds='2008-04-09'); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/nullfile.txt' INTO TABLE tstparttbl PARTITION (ds='2008-04-08'); -No rows affected ->>> explain -select count(1) from tstparttbl; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME tstparttbl))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tstparttbl ' -' TableScan' -' alias: tstparttbl' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -50 rows selected ->>> select count(1) from tstparttbl; -'_c0' -'500' -1 row selected ->>> ->>> DROP TABLE tstparttbl2; -No rows affected ->>> CREATE TABLE tstparttbl2(KEY STRING, VALUE STRING) PARTITIONED BY(ds string) STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/nullfile.txt' INTO TABLE tstparttbl2 PARTITION (ds='2008-04-09'); -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/nullfile.txt' INTO TABLE tstparttbl2 PARTITION (ds='2008-04-08'); -No rows affected ->>> explain -select count(1) from tstparttbl2; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME tstparttbl2))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tstparttbl2 ' -' TableScan' -' alias: tstparttbl2' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -50 rows selected ->>> select count(1) from tstparttbl2; -'_c0' -'0' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/nullgroup4.q.out ql/src/test/results/beelinepositive/nullgroup4.q.out deleted file mode 100644 index acbd30b..0000000 --- ql/src/test/results/beelinepositive/nullgroup4.q.out +++ /dev/null @@ -1,384 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/nullgroup4.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/nullgroup4.q ->>> set hive.map.aggr=true; -No rows affected ->>> set hive.groupby.skewindata=true; -No rows affected ->>> ->>> explain -select count(1), count(distinct x.value) from src x where x.key = 9999; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1)) (TOK_SELEXPR (TOK_FUNCTIONDI count (. (TOK_TABLE_OR_COL x) value)))) (TOK_WHERE (= (. (TOK_TABLE_OR_COL x) key) 9999))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x ' -' TableScan' -' alias: x' -' Filter Operator' -' predicate:' -' expr: (key = 9999.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: value' -' type: string' -' outputColumnNames: value' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' expr: count(DISTINCT value)' -' bucketGroup: false' -' keys:' -' expr: value' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' expr: count(DISTINCT KEY._col0:0._col0)' -' bucketGroup: false' -' mode: partials' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' expr: count(VALUE._col1)' -' bucketGroup: false' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -102 rows selected ->>> ->>> select count(1), count(distinct x.value) from src x where x.key = 9999; -'_c0','_c1' -'0','0' -1 row selected ->>> ->>> set hive.map.aggr=true; -No rows affected ->>> set hive.groupby.skewindata=false; -No rows affected ->>> ->>> explain -select count(1), count(distinct x.value) from src x where x.key = 9999; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1)) (TOK_SELEXPR (TOK_FUNCTIONDI count (. (TOK_TABLE_OR_COL x) value)))) (TOK_WHERE (= (. (TOK_TABLE_OR_COL x) key) 9999))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x ' -' TableScan' -' alias: x' -' Filter Operator' -' predicate:' -' expr: (key = 9999.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: value' -' type: string' -' outputColumnNames: value' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' expr: count(DISTINCT value)' -' bucketGroup: false' -' keys:' -' expr: value' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' expr: count(DISTINCT KEY._col0:0._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -71 rows selected ->>> ->>> select count(1), count(distinct x.value) from src x where x.key = 9999; -'_c0','_c1' -'0','0' -1 row selected ->>> ->>> set hive.map.aggr=false; -No rows affected ->>> set hive.groupby.skewindata=true; -No rows affected ->>> ->>> explain -select count(1), count(distinct x.value) from src x where x.key = 9999; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1)) (TOK_SELEXPR (TOK_FUNCTIONDI count (. (TOK_TABLE_OR_COL x) value)))) (TOK_WHERE (= (. (TOK_TABLE_OR_COL x) key) 9999))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x ' -' TableScan' -' alias: x' -' Filter Operator' -' predicate:' -' expr: (key = 9999.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: value' -' type: string' -' outputColumnNames: value' -' Reduce Output Operator' -' key expressions:' -' expr: value' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: value' -' type: string' -' tag: -1' -' value expressions:' -' expr: 1' -' type: int' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' expr: count(DISTINCT KEY._col0:0._col0)' -' bucketGroup: false' -' mode: partial1' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' expr: count(VALUE._col1)' -' bucketGroup: false' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -90 rows selected ->>> ->>> select count(1), count(distinct x.value) from src x where x.key = 9999; -'_c0','_c1' -'0','0' -1 row selected ->>> ->>> set hive.map.aggr=false; -No rows affected ->>> set hive.groupby.skewindata=false; -No rows affected ->>> ->>> explain -select count(1), count(distinct x.value) from src x where x.key = 9999; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1)) (TOK_SELEXPR (TOK_FUNCTIONDI count (. (TOK_TABLE_OR_COL x) value)))) (TOK_WHERE (= (. (TOK_TABLE_OR_COL x) key) 9999))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x ' -' TableScan' -' alias: x' -' Filter Operator' -' predicate:' -' expr: (key = 9999.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: value' -' type: string' -' outputColumnNames: value' -' Reduce Output Operator' -' key expressions:' -' expr: value' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: 1' -' type: int' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' expr: count(DISTINCT KEY._col0:0._col0)' -' bucketGroup: false' -' mode: complete' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -59 rows selected ->>> ->>> select count(1), count(distinct x.value) from src x where x.key = 9999; -'_c0','_c1' -'0','0' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/nullgroup4_multi_distinct.q.out ql/src/test/results/beelinepositive/nullgroup4_multi_distinct.q.out deleted file mode 100644 index 0cf4422..0000000 --- ql/src/test/results/beelinepositive/nullgroup4_multi_distinct.q.out +++ /dev/null @@ -1,177 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/nullgroup4_multi_distinct.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/nullgroup4_multi_distinct.q ->>> set hive.map.aggr=true; -No rows affected ->>> set hive.groupby.skewindata=false; -No rows affected ->>> ->>> explain -select count(1), count(distinct x.value), count(distinct substr(x.value, 5)) from src x where x.key = 9999; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1)) (TOK_SELEXPR (TOK_FUNCTIONDI count (. (TOK_TABLE_OR_COL x) value))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL x) value) 5)))) (TOK_WHERE (= (. (TOK_TABLE_OR_COL x) key) 9999))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x ' -' TableScan' -' alias: x' -' Filter Operator' -' predicate:' -' expr: (key = 9999.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: value' -' type: string' -' outputColumnNames: value' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' expr: count(DISTINCT value)' -' expr: count(DISTINCT substr(value, 5))' -' bucketGroup: false' -' keys:' -' expr: value' -' type: string' -' expr: substr(value, 5)' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' expr: _col3' -' type: bigint' -' expr: _col4' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' expr: count(DISTINCT KEY._col0:0._col0)' -' expr: count(DISTINCT KEY._col0:1._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -81 rows selected ->>> ->>> select count(1), count(distinct x.value), count(distinct substr(x.value, 5)) from src x where x.key = 9999; -'_c0','_c1','_c2' -'0','0','0' -1 row selected ->>> ->>> set hive.map.aggr=false; -No rows affected ->>> set hive.groupby.skewindata=false; -No rows affected ->>> ->>> explain -select count(1), count(distinct x.value), count(distinct substr(x.value, 5)) from src x where x.key = 9999; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1)) (TOK_SELEXPR (TOK_FUNCTIONDI count (. (TOK_TABLE_OR_COL x) value))) (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_FUNCTION substr (. (TOK_TABLE_OR_COL x) value) 5)))) (TOK_WHERE (= (. (TOK_TABLE_OR_COL x) key) 9999))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x ' -' TableScan' -' alias: x' -' Filter Operator' -' predicate:' -' expr: (key = 9999.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: value' -' type: string' -' outputColumnNames: value' -' Reduce Output Operator' -' key expressions:' -' expr: value' -' type: string' -' expr: substr(value, 5)' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: 1' -' type: int' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' expr: count(DISTINCT KEY._col0:0._col0)' -' expr: count(DISTINCT KEY._col0:1._col0)' -' bucketGroup: false' -' mode: complete' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -64 rows selected ->>> ->>> select count(1), count(distinct x.value), count(distinct substr(x.value, 5)) from src x where x.key = 9999; -'_c0','_c1','_c2' -'0','0','0' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/nullgroup5.q.out ql/src/test/results/beelinepositive/nullgroup5.q.out deleted file mode 100644 index 6869e79..0000000 --- ql/src/test/results/beelinepositive/nullgroup5.q.out +++ /dev/null @@ -1,606 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/nullgroup5.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/nullgroup5.q ->>> ->>> CREATE TABLE tstparttbl(KEY STRING, VALUE STRING) PARTITIONED BY(ds string) STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/kv1.txt' INTO TABLE tstparttbl PARTITION (ds='2009-04-09'); -No rows affected ->>> ->>> ->>> CREATE TABLE tstparttbl2(KEY STRING, VALUE STRING) PARTITIONED BY(ds string) STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/kv1.txt' INTO TABLE tstparttbl2 PARTITION (ds='2009-04-09'); -No rows affected ->>> ->>> explain -select u.* from -( -select key, value from tstparttbl x where x.ds='2009-04-05' -union all -select key, value from tstparttbl2 y where y.ds='2009-04-09' -)u; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME tstparttbl) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_WHERE (= (. (TOK_TABLE_OR_COL x) ds) '2009-04-05')))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME tstparttbl2) y)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_WHERE (= (. (TOK_TABLE_OR_COL y) ds) '2009-04-09'))))) u)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME u))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1:u-subquery1:x ' -' TableScan' -' alias: x' -' Filter Operator' -' predicate:' -' expr: (ds = '2009-04-05')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' null-subquery2:u-subquery2:y ' -' TableScan' -' alias: y' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -69 rows selected ->>> ->>> select u.* from -( -select key, value from tstparttbl x where x.ds='2009-04-05' -union all -select key, value from tstparttbl2 y where y.ds='2009-04-09' -)u; -'key','value' -'238','val_238' -'86','val_86' -'311','val_311' -'27','val_27' -'165','val_165' -'409','val_409' -'255','val_255' -'278','val_278' -'98','val_98' -'484','val_484' -'265','val_265' -'193','val_193' -'401','val_401' -'150','val_150' -'273','val_273' -'224','val_224' -'369','val_369' -'66','val_66' -'128','val_128' -'213','val_213' -'146','val_146' -'406','val_406' -'429','val_429' -'374','val_374' -'152','val_152' -'469','val_469' -'145','val_145' -'495','val_495' -'37','val_37' -'327','val_327' -'281','val_281' -'277','val_277' -'209','val_209' -'15','val_15' -'82','val_82' -'403','val_403' -'166','val_166' -'417','val_417' -'430','val_430' -'252','val_252' -'292','val_292' -'219','val_219' -'287','val_287' -'153','val_153' -'193','val_193' -'338','val_338' -'446','val_446' -'459','val_459' -'394','val_394' -'237','val_237' -'482','val_482' -'174','val_174' -'413','val_413' -'494','val_494' -'207','val_207' -'199','val_199' -'466','val_466' -'208','val_208' -'174','val_174' -'399','val_399' -'396','val_396' -'247','val_247' -'417','val_417' -'489','val_489' -'162','val_162' -'377','val_377' -'397','val_397' -'309','val_309' -'365','val_365' -'266','val_266' -'439','val_439' -'342','val_342' -'367','val_367' -'325','val_325' -'167','val_167' -'195','val_195' -'475','val_475' -'17','val_17' -'113','val_113' -'155','val_155' -'203','val_203' -'339','val_339' -'0','val_0' -'455','val_455' -'128','val_128' -'311','val_311' -'316','val_316' -'57','val_57' -'302','val_302' -'205','val_205' -'149','val_149' -'438','val_438' -'345','val_345' -'129','val_129' -'170','val_170' -'20','val_20' -'489','val_489' -'157','val_157' -'378','val_378' -'221','val_221' -'92','val_92' -'111','val_111' -'47','val_47' -'72','val_72' -'4','val_4' -'280','val_280' -'35','val_35' -'427','val_427' -'277','val_277' -'208','val_208' -'356','val_356' -'399','val_399' -'169','val_169' -'382','val_382' -'498','val_498' -'125','val_125' -'386','val_386' -'437','val_437' -'469','val_469' -'192','val_192' -'286','val_286' -'187','val_187' -'176','val_176' -'54','val_54' -'459','val_459' -'51','val_51' -'138','val_138' -'103','val_103' -'239','val_239' -'213','val_213' -'216','val_216' -'430','val_430' -'278','val_278' -'176','val_176' -'289','val_289' -'221','val_221' -'65','val_65' -'318','val_318' -'332','val_332' -'311','val_311' -'275','val_275' -'137','val_137' -'241','val_241' -'83','val_83' -'333','val_333' -'180','val_180' -'284','val_284' -'12','val_12' -'230','val_230' -'181','val_181' -'67','val_67' -'260','val_260' -'404','val_404' -'384','val_384' -'489','val_489' -'353','val_353' -'373','val_373' -'272','val_272' -'138','val_138' -'217','val_217' -'84','val_84' -'348','val_348' -'466','val_466' -'58','val_58' -'8','val_8' -'411','val_411' -'230','val_230' -'208','val_208' -'348','val_348' -'24','val_24' -'463','val_463' -'431','val_431' -'179','val_179' -'172','val_172' -'42','val_42' -'129','val_129' -'158','val_158' -'119','val_119' -'496','val_496' -'0','val_0' -'322','val_322' -'197','val_197' -'468','val_468' -'393','val_393' -'454','val_454' -'100','val_100' -'298','val_298' -'199','val_199' -'191','val_191' -'418','val_418' -'96','val_96' -'26','val_26' -'165','val_165' -'327','val_327' -'230','val_230' -'205','val_205' -'120','val_120' -'131','val_131' -'51','val_51' -'404','val_404' -'43','val_43' -'436','val_436' -'156','val_156' -'469','val_469' -'468','val_468' -'308','val_308' -'95','val_95' -'196','val_196' -'288','val_288' -'481','val_481' -'457','val_457' -'98','val_98' -'282','val_282' -'197','val_197' -'187','val_187' -'318','val_318' -'318','val_318' -'409','val_409' -'470','val_470' -'137','val_137' -'369','val_369' -'316','val_316' -'169','val_169' -'413','val_413' -'85','val_85' -'77','val_77' -'0','val_0' -'490','val_490' -'87','val_87' -'364','val_364' -'179','val_179' -'118','val_118' -'134','val_134' -'395','val_395' -'282','val_282' -'138','val_138' -'238','val_238' -'419','val_419' -'15','val_15' -'118','val_118' -'72','val_72' -'90','val_90' -'307','val_307' -'19','val_19' -'435','val_435' -'10','val_10' -'277','val_277' -'273','val_273' -'306','val_306' -'224','val_224' -'309','val_309' -'389','val_389' -'327','val_327' -'242','val_242' -'369','val_369' -'392','val_392' -'272','val_272' -'331','val_331' -'401','val_401' -'242','val_242' -'452','val_452' -'177','val_177' -'226','val_226' -'5','val_5' -'497','val_497' -'402','val_402' -'396','val_396' -'317','val_317' -'395','val_395' -'58','val_58' -'35','val_35' -'336','val_336' -'95','val_95' -'11','val_11' -'168','val_168' -'34','val_34' -'229','val_229' -'233','val_233' -'143','val_143' -'472','val_472' -'322','val_322' -'498','val_498' -'160','val_160' -'195','val_195' -'42','val_42' -'321','val_321' -'430','val_430' -'119','val_119' -'489','val_489' -'458','val_458' -'78','val_78' -'76','val_76' -'41','val_41' -'223','val_223' -'492','val_492' -'149','val_149' -'449','val_449' -'218','val_218' -'228','val_228' -'138','val_138' -'453','val_453' -'30','val_30' -'209','val_209' -'64','val_64' -'468','val_468' -'76','val_76' -'74','val_74' -'342','val_342' -'69','val_69' -'230','val_230' -'33','val_33' -'368','val_368' -'103','val_103' -'296','val_296' -'113','val_113' -'216','val_216' -'367','val_367' -'344','val_344' -'167','val_167' -'274','val_274' -'219','val_219' -'239','val_239' -'485','val_485' -'116','val_116' -'223','val_223' -'256','val_256' -'263','val_263' -'70','val_70' -'487','val_487' -'480','val_480' -'401','val_401' -'288','val_288' -'191','val_191' -'5','val_5' -'244','val_244' -'438','val_438' -'128','val_128' -'467','val_467' -'432','val_432' -'202','val_202' -'316','val_316' -'229','val_229' -'469','val_469' -'463','val_463' -'280','val_280' -'2','val_2' -'35','val_35' -'283','val_283' -'331','val_331' -'235','val_235' -'80','val_80' -'44','val_44' -'193','val_193' -'321','val_321' -'335','val_335' -'104','val_104' -'466','val_466' -'366','val_366' -'175','val_175' -'403','val_403' -'483','val_483' -'53','val_53' -'105','val_105' -'257','val_257' -'406','val_406' -'409','val_409' -'190','val_190' -'406','val_406' -'401','val_401' -'114','val_114' -'258','val_258' -'90','val_90' -'203','val_203' -'262','val_262' -'348','val_348' -'424','val_424' -'12','val_12' -'396','val_396' -'201','val_201' -'217','val_217' -'164','val_164' -'431','val_431' -'454','val_454' -'478','val_478' -'298','val_298' -'125','val_125' -'431','val_431' -'164','val_164' -'424','val_424' -'187','val_187' -'382','val_382' -'5','val_5' -'70','val_70' -'397','val_397' -'480','val_480' -'291','val_291' -'24','val_24' -'351','val_351' -'255','val_255' -'104','val_104' -'70','val_70' -'163','val_163' -'438','val_438' -'119','val_119' -'414','val_414' -'200','val_200' -'491','val_491' -'237','val_237' -'439','val_439' -'360','val_360' -'248','val_248' -'479','val_479' -'305','val_305' -'417','val_417' -'199','val_199' -'444','val_444' -'120','val_120' -'429','val_429' -'169','val_169' -'443','val_443' -'323','val_323' -'325','val_325' -'277','val_277' -'230','val_230' -'478','val_478' -'178','val_178' -'468','val_468' -'310','val_310' -'317','val_317' -'333','val_333' -'493','val_493' -'460','val_460' -'207','val_207' -'249','val_249' -'265','val_265' -'480','val_480' -'83','val_83' -'136','val_136' -'353','val_353' -'172','val_172' -'214','val_214' -'462','val_462' -'233','val_233' -'406','val_406' -'133','val_133' -'175','val_175' -'189','val_189' -'454','val_454' -'375','val_375' -'401','val_401' -'421','val_421' -'407','val_407' -'384','val_384' -'256','val_256' -'26','val_26' -'134','val_134' -'67','val_67' -'384','val_384' -'379','val_379' -'18','val_18' -'462','val_462' -'492','val_492' -'100','val_100' -'298','val_298' -'9','val_9' -'341','val_341' -'498','val_498' -'146','val_146' -'458','val_458' -'362','val_362' -'186','val_186' -'285','val_285' -'348','val_348' -'167','val_167' -'18','val_18' -'273','val_273' -'183','val_183' -'281','val_281' -'344','val_344' -'97','val_97' -'469','val_469' -'315','val_315' -'84','val_84' -'28','val_28' -'37','val_37' -'448','val_448' -'152','val_152' -'348','val_348' -'307','val_307' -'194','val_194' -'414','val_414' -'477','val_477' -'222','val_222' -'126','val_126' -'90','val_90' -'169','val_169' -'403','val_403' -'400','val_400' -'200','val_200' -'97','val_97' -500 rows selected ->>> ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/nullinput.q.out ql/src/test/results/beelinepositive/nullinput.q.out deleted file mode 100644 index 2a0440d..0000000 --- ql/src/test/results/beelinepositive/nullinput.q.out +++ /dev/null @@ -1,12 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/nullinput.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/nullinput.q ->>> create table tstnullinut(a string, b string); -No rows affected ->>> select x.* from tstnullinut x; -'a','b' -No rows selected ->>> select x.a, count(1) from tstnullinut x group by x.a; -'a','_c1' -No rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/nullinput2.q.out ql/src/test/results/beelinepositive/nullinput2.q.out deleted file mode 100644 index dbc1d5a..0000000 --- ql/src/test/results/beelinepositive/nullinput2.q.out +++ /dev/null @@ -1,17 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/nullinput2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/nullinput2.q ->>> ->>> ->>> create table nulltbl(key int) partitioned by (ds string); -No rows affected ->>> select key from nulltbl where ds='101'; -'key' -No rows selected ->>> ->>> select count(1) from nulltbl where ds='101'; -'_c0' -'0' -1 row selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/nullscript.q.out ql/src/test/results/beelinepositive/nullscript.q.out deleted file mode 100644 index 147e634..0000000 --- ql/src/test/results/beelinepositive/nullscript.q.out +++ /dev/null @@ -1,556 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/nullscript.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/nullscript.q ->>> ->>> CREATE TABLE nullscript(KEY STRING, VALUE STRING) STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/kv1.txt' INTO TABLE nullscript; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/nullfile.txt' INTO TABLE nullscript; -No rows affected ->>> explain -select transform(key) using 'cat' as key1 from nullscript; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME nullscript))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TRANSFORM (TOK_EXPLIST (TOK_TABLE_OR_COL key)) TOK_SERDE TOK_RECORDWRITER 'cat' TOK_SERDE TOK_RECORDREADER (TOK_ALIASLIST key1))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' nullscript ' -' TableScan' -' alias: nullscript' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Transform Operator' -' command: cat' -' output info:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -36 rows selected ->>> select transform(key) using 'cat' as key1 from nullscript; -'key1' -'238' -'86' -'311' -'27' -'165' -'409' -'255' -'278' -'98' -'484' -'265' -'193' -'401' -'150' -'273' -'224' -'369' -'66' -'128' -'213' -'146' -'406' -'429' -'374' -'152' -'469' -'145' -'495' -'37' -'327' -'281' -'277' -'209' -'15' -'82' -'403' -'166' -'417' -'430' -'252' -'292' -'219' -'287' -'153' -'193' -'338' -'446' -'459' -'394' -'237' -'482' -'174' -'413' -'494' -'207' -'199' -'466' -'208' -'174' -'399' -'396' -'247' -'417' -'489' -'162' -'377' -'397' -'309' -'365' -'266' -'439' -'342' -'367' -'325' -'167' -'195' -'475' -'17' -'113' -'155' -'203' -'339' -'0' -'455' -'128' -'311' -'316' -'57' -'302' -'205' -'149' -'438' -'345' -'129' -'170' -'20' -'489' -'157' -'378' -'221' -'92' -'111' -'47' -'72' -'4' -'280' -'35' -'427' -'277' -'208' -'356' -'399' -'169' -'382' -'498' -'125' -'386' -'437' -'469' -'192' -'286' -'187' -'176' -'54' -'459' -'51' -'138' -'103' -'239' -'213' -'216' -'430' -'278' -'176' -'289' -'221' -'65' -'318' -'332' -'311' -'275' -'137' -'241' -'83' -'333' -'180' -'284' -'12' -'230' -'181' -'67' -'260' -'404' -'384' -'489' -'353' -'373' -'272' -'138' -'217' -'84' -'348' -'466' -'58' -'8' -'411' -'230' -'208' -'348' -'24' -'463' -'431' -'179' -'172' -'42' -'129' -'158' -'119' -'496' -'0' -'322' -'197' -'468' -'393' -'454' -'100' -'298' -'199' -'191' -'418' -'96' -'26' -'165' -'327' -'230' -'205' -'120' -'131' -'51' -'404' -'43' -'436' -'156' -'469' -'468' -'308' -'95' -'196' -'288' -'481' -'457' -'98' -'282' -'197' -'187' -'318' -'318' -'409' -'470' -'137' -'369' -'316' -'169' -'413' -'85' -'77' -'0' -'490' -'87' -'364' -'179' -'118' -'134' -'395' -'282' -'138' -'238' -'419' -'15' -'118' -'72' -'90' -'307' -'19' -'435' -'10' -'277' -'273' -'306' -'224' -'309' -'389' -'327' -'242' -'369' -'392' -'272' -'331' -'401' -'242' -'452' -'177' -'226' -'5' -'497' -'402' -'396' -'317' -'395' -'58' -'35' -'336' -'95' -'11' -'168' -'34' -'229' -'233' -'143' -'472' -'322' -'498' -'160' -'195' -'42' -'321' -'430' -'119' -'489' -'458' -'78' -'76' -'41' -'223' -'492' -'149' -'449' -'218' -'228' -'138' -'453' -'30' -'209' -'64' -'468' -'76' -'74' -'342' -'69' -'230' -'33' -'368' -'103' -'296' -'113' -'216' -'367' -'344' -'167' -'274' -'219' -'239' -'485' -'116' -'223' -'256' -'263' -'70' -'487' -'480' -'401' -'288' -'191' -'5' -'244' -'438' -'128' -'467' -'432' -'202' -'316' -'229' -'469' -'463' -'280' -'2' -'35' -'283' -'331' -'235' -'80' -'44' -'193' -'321' -'335' -'104' -'466' -'366' -'175' -'403' -'483' -'53' -'105' -'257' -'406' -'409' -'190' -'406' -'401' -'114' -'258' -'90' -'203' -'262' -'348' -'424' -'12' -'396' -'201' -'217' -'164' -'431' -'454' -'478' -'298' -'125' -'431' -'164' -'424' -'187' -'382' -'5' -'70' -'397' -'480' -'291' -'24' -'351' -'255' -'104' -'70' -'163' -'438' -'119' -'414' -'200' -'491' -'237' -'439' -'360' -'248' -'479' -'305' -'417' -'199' -'444' -'120' -'429' -'169' -'443' -'323' -'325' -'277' -'230' -'478' -'178' -'468' -'310' -'317' -'333' -'493' -'460' -'207' -'249' -'265' -'480' -'83' -'136' -'353' -'172' -'214' -'462' -'233' -'406' -'133' -'175' -'189' -'454' -'375' -'401' -'421' -'407' -'384' -'256' -'26' -'134' -'67' -'384' -'379' -'18' -'462' -'492' -'100' -'298' -'9' -'341' -'498' -'146' -'458' -'362' -'186' -'285' -'348' -'167' -'18' -'273' -'183' -'281' -'344' -'97' -'469' -'315' -'84' -'28' -'37' -'448' -'152' -'348' -'307' -'194' -'414' -'477' -'222' -'126' -'90' -'169' -'403' -'400' -'200' -'97' -500 rows selected ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/num_op_type_conv.q.out ql/src/test/results/beelinepositive/num_op_type_conv.q.out deleted file mode 100644 index 6f80da1..0000000 --- ql/src/test/results/beelinepositive/num_op_type_conv.q.out +++ /dev/null @@ -1,59 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/num_op_type_conv.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/num_op_type_conv.q ->>> EXPLAIN SELECT null + 7, 1.0 - null, null + null, -CAST(21 AS BIGINT) % CAST(5 AS TINYINT), -CAST(21 AS BIGINT) % CAST(21 AS BIGINT), -9 % "3" FROM src LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (+ TOK_NULL 7)) (TOK_SELEXPR (- 1.0 TOK_NULL)) (TOK_SELEXPR (+ TOK_NULL TOK_NULL)) (TOK_SELEXPR (% (TOK_FUNCTION TOK_BIGINT 21) (TOK_FUNCTION TOK_TINYINT 5))) (TOK_SELEXPR (% (TOK_FUNCTION TOK_BIGINT 21) (TOK_FUNCTION TOK_BIGINT 21))) (TOK_SELEXPR (% 9 "3"))) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: (null + 7)' -' type: int' -' expr: (1.0 - null)' -' type: double' -' expr: (null + null)' -' type: tinyint' -' expr: (UDFToLong(21) % UDFToByte(5))' -' type: bigint' -' expr: (UDFToLong(21) % UDFToLong(21))' -' type: bigint' -' expr: (9 % '3')' -' type: double' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -42 rows selected ->>> ->>> SELECT null + 7, 1.0 - null, null + null, -CAST(21 AS BIGINT) % CAST(5 AS TINYINT), -CAST(21 AS BIGINT) % CAST(21 AS BIGINT), -9 % "3" FROM src LIMIT 1; -'_c0','_c1','_c2','_c3','_c4','_c5' -'','','','1','0','0.0' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/ops_comparison.q.out ql/src/test/results/beelinepositive/ops_comparison.q.out deleted file mode 100644 index 39b43c9..0000000 --- ql/src/test/results/beelinepositive/ops_comparison.q.out +++ /dev/null @@ -1,80 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/ops_comparison.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/ops_comparison.q ->>> ->>> select 1.0 < 2.0 from src limit 1; -'_c0' -'true' -1 row selected ->>> select 2.0 < 2.0 from src limit 1; -'_c0' -'false' -1 row selected ->>> select 2.0 > 1.0 from src limit 1; -'_c0' -'true' -1 row selected ->>> select 2.0 > 2.0 from src limit 1; -'_c0' -'false' -1 row selected ->>> ->>> select 'NaN' < 2.0 from src limit 1; -'_c0' -'false' -1 row selected ->>> select 1.0 < 'NaN' from src limit 1; -'_c0' -'true' -1 row selected ->>> select 1.0 > 'NaN' from src limit 1; -'_c0' -'false' -1 row selected ->>> select 'NaN' > 2.0 from src limit 1; -'_c0' -'true' -1 row selected ->>> select 'NaN' > 'NaN' from src limit 1; -'_c0' -'false' -1 row selected ->>> select 'NaN' < 'NaN' from src limit 1; -'_c0' -'false' -1 row selected ->>> ->>> select 'NaN' = 2.0 from src limit 1; -'_c0' -'false' -1 row selected ->>> select 1.0 = 'NaN' from src limit 1; -'_c0' -'false' -1 row selected ->>> select 'NaN' = 2.0 from src limit 1; -'_c0' -'false' -1 row selected ->>> select 'NaN' = 'NaN' from src limit 1; -'_c0' -'true' -1 row selected ->>> ->>> select 'NaN' <> 2.0 from src limit 1; -'_c0' -'true' -1 row selected ->>> select 1.0 <> 'NaN' from src limit 1; -'_c0' -'true' -1 row selected ->>> select 'NaN' <> 2.0 from src limit 1; -'_c0' -'true' -1 row selected ->>> select 'NaN' <> 'NaN' from src limit 1; -'_c0' -'false' -1 row selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/order.q.out ql/src/test/results/beelinepositive/order.q.out deleted file mode 100644 index f074d57..0000000 --- ql/src/test/results/beelinepositive/order.q.out +++ /dev/null @@ -1,134 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/order.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/order.q ->>> EXPLAIN -SELECT x.* FROM SRC x ORDER BY key limit 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME SRC) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME x)))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key))) (TOK_LIMIT 10)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x ' -' TableScan' -' alias: x' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 10' -'' -'' -47 rows selected ->>> ->>> SELECT x.* FROM SRC x ORDER BY key limit 10; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'10','val_10' -'100','val_100' -'100','val_100' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -10 rows selected ->>> ->>> EXPLAIN -SELECT x.* FROM SRC x ORDER BY key desc limit 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME SRC) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME x)))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEDESC (TOK_TABLE_OR_COL key))) (TOK_LIMIT 10)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x ' -' TableScan' -' alias: x' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: -' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 10' -'' -'' -47 rows selected ->>> ->>> SELECT x.* FROM SRC x ORDER BY key desc limit 10; -'key','value' -'98','val_98' -'98','val_98' -'97','val_97' -'97','val_97' -'96','val_96' -'95','val_95' -'95','val_95' -'92','val_92' -'90','val_90' -'90','val_90' -10 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/order2.q.out ql/src/test/results/beelinepositive/order2.q.out deleted file mode 100644 index 8d0830f..0000000 --- ql/src/test/results/beelinepositive/order2.q.out +++ /dev/null @@ -1,79 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/order2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/order2.q ->>> set hive.optimize.ppd=true; -No rows affected ->>> ->>> EXPLAIN -SELECT subq.key, subq.value FROM -(SELECT x.* FROM SRC x ORDER BY key limit 10) subq -where subq.key < 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME SRC) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME x)))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key))) (TOK_LIMIT 10))) subq)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL subq) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL subq) value))) (TOK_WHERE (< (. (TOK_TABLE_OR_COL subq) key) 10))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subq:x ' -' TableScan' -' alias: x' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' Filter Operator' -' predicate:' -' expr: (_col0 < 10.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -58 rows selected ->>> ->>> SELECT subq.key, subq.value FROM -(SELECT x.* FROM SRC x ORDER BY key limit 10) subq -where subq.key < 10; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -3 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/outer_join_ppr.q.out ql/src/test/results/beelinepositive/outer_join_ppr.q.out deleted file mode 100644 index aa2eb35..0000000 --- ql/src/test/results/beelinepositive/outer_join_ppr.q.out +++ /dev/null @@ -1,786 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/outer_join_ppr.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/outer_join_ppr.q ->>> set hive.optimize.ppd=true; -No rows affected ->>> ->>> EXPLAIN EXTENDED -FROM -src a -FULL OUTER JOIN -srcpart b -ON (a.key = b.key AND b.ds = '2008-04-08') -SELECT a.key, a.value, b.key, b.value -WHERE a.key > 10 AND a.key < 20 AND b.key > 15 AND b.key < 25; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_FULLOUTERJOIN (TOK_TABREF (TOK_TABNAME src) a) (TOK_TABREF (TOK_TABNAME srcpart) b) (AND (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL b) ds) '2008-04-08')))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value))) (TOK_WHERE (AND (AND (AND (> (. (TOK_TABLE_OR_COL a) key) 10) (< (. (TOK_TABLE_OR_COL a) key) 20)) (> (. (TOK_TABLE_OR_COL b) key) 15)) (< (. (TOK_TABLE_OR_COL b) key) 25)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' Needs Tagging: true' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/src [a]' -' !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/srcpart/ds=2008-04-08/hr=11 [b]' -' !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/srcpart/ds=2008-04-08/hr=12 [b]' -' !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/srcpart/ds=2008-04-09/hr=11 [b]' -' !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/srcpart/ds=2008-04-09/hr=12 [b]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/src' -' name outer_join_ppr.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/src' -' name outer_join_ppr.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: outer_join_ppr.src' -' name: outer_join_ppr.src' -' !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/srcpart/ds=2008-04-08/hr=11' -' name outer_join_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/srcpart' -' name outer_join_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: outer_join_ppr.srcpart' -' name: outer_join_ppr.srcpart' -' !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/srcpart/ds=2008-04-08/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/srcpart/ds=2008-04-08/hr=12' -' name outer_join_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/srcpart' -' name outer_join_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: outer_join_ppr.srcpart' -' name: outer_join_ppr.srcpart' -' !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/srcpart/ds=2008-04-09/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-09' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/srcpart/ds=2008-04-09/hr=11' -' name outer_join_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/srcpart' -' name outer_join_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: outer_join_ppr.srcpart' -' name: outer_join_ppr.srcpart' -' !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/srcpart/ds=2008-04-09/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-09' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/srcpart/ds=2008-04-09/hr=12' -' name outer_join_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/srcpart' -' name outer_join_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: outer_join_ppr.srcpart' -' name: outer_join_ppr.srcpart' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Outer Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' filter mappings:' -' 1 [0, 1]' -' filter predicates:' -' 0 ' -' 1 {(VALUE._col2 = '2008-04-08')}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((((_col4 > 15.0) and (_col4 < 25.0)) and (_col0 > 10.0)) and (_col0 < 20.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string:string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -360 rows selected ->>> ->>> FROM -src a -FULL OUTER JOIN -srcpart b -ON (a.key = b.key AND b.ds = '2008-04-08') -SELECT a.key, a.value, b.key, b.value -WHERE a.key > 10 AND a.key < 20 AND b.key > 15 AND b.key < 25; -'key','value','key','value' -'17','val_17','17','val_17' -'17','val_17','17','val_17' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'19','val_19','19','val_19' -'19','val_19','19','val_19' -12 rows selected ->>> ->>> EXPLAIN EXTENDED -FROM -src a -FULL OUTER JOIN -srcpart b -ON (a.key = b.key) -SELECT a.key, a.value, b.key, b.value -WHERE a.key > 10 AND a.key < 20 AND b.key > 15 AND b.key < 25 AND b.ds = '2008-04-08'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_FULLOUTERJOIN (TOK_TABREF (TOK_TABNAME src) a) (TOK_TABREF (TOK_TABNAME srcpart) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value))) (TOK_WHERE (AND (AND (AND (AND (> (. (TOK_TABLE_OR_COL a) key) 10) (< (. (TOK_TABLE_OR_COL a) key) 20)) (> (. (TOK_TABLE_OR_COL b) key) 15)) (< (. (TOK_TABLE_OR_COL b) key) 25)) (= (. (TOK_TABLE_OR_COL b) ds) '2008-04-08')))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' Needs Tagging: true' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/src [a]' -' !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/srcpart/ds=2008-04-08/hr=11 [b]' -' !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/srcpart/ds=2008-04-08/hr=12 [b]' -' !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/srcpart/ds=2008-04-09/hr=11 [b]' -' !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/srcpart/ds=2008-04-09/hr=12 [b]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/src' -' name outer_join_ppr.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/src' -' name outer_join_ppr.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: outer_join_ppr.src' -' name: outer_join_ppr.src' -' !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/srcpart/ds=2008-04-08/hr=11' -' name outer_join_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/srcpart' -' name outer_join_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: outer_join_ppr.srcpart' -' name: outer_join_ppr.srcpart' -' !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/srcpart/ds=2008-04-08/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/srcpart/ds=2008-04-08/hr=12' -' name outer_join_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/srcpart' -' name outer_join_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: outer_join_ppr.srcpart' -' name: outer_join_ppr.srcpart' -' !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/srcpart/ds=2008-04-09/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-09' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/srcpart/ds=2008-04-09/hr=11' -' name outer_join_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/srcpart' -' name outer_join_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: outer_join_ppr.srcpart' -' name: outer_join_ppr.srcpart' -' !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/srcpart/ds=2008-04-09/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-09' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/srcpart/ds=2008-04-09/hr=12' -' name outer_join_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/outer_join_ppr.db/srcpart' -' name outer_join_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: outer_join_ppr.srcpart' -' name: outer_join_ppr.srcpart' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Outer Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1} {VALUE._col2}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col6' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (((((_col4 > 15.0) and (_col4 < 25.0)) and (_col6 = '2008-04-08')) and (_col0 > 10.0)) and (_col0 < 20.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string:string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -355 rows selected ->>> ->>> FROM -src a -FULL OUTER JOIN -srcpart b -ON (a.key = b.key) -SELECT a.key, a.value, b.key, b.value -WHERE a.key > 10 AND a.key < 20 AND b.key > 15 AND b.key < 25 AND b.ds = '2008-04-08'; -'key','value','key','value' -'17','val_17','17','val_17' -'17','val_17','17','val_17' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'19','val_19','19','val_19' -'19','val_19','19','val_19' -12 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/overridden_confs.q.out ql/src/test/results/beelinepositive/overridden_confs.q.out deleted file mode 100644 index df2c02a..0000000 --- ql/src/test/results/beelinepositive/overridden_confs.q.out +++ /dev/null @@ -1,12 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/overridden_confs.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/overridden_confs.q ->>> set hive.exec.post.hooks=org.apache.hadoop.hive.ql.hooks.VerifyOverriddenConfigsHook; -No rows affected ->>> set hive.config.doesnt.exit=abc; -No rows affected ->>> ->>> select count(*) from src; -'_c0' -'500' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/parallel.q.out ql/src/test/results/beelinepositive/parallel.q.out deleted file mode 100644 index 965a4ef..0000000 --- ql/src/test/results/beelinepositive/parallel.q.out +++ /dev/null @@ -1,1460 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/parallel.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/parallel.q ->>> set mapred.job.name='test_parallel'; -No rows affected ->>> set hive.exec.parallel=true; -No rows affected ->>> set hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> ->>> create table if not exists src_a like src; -No rows affected ->>> create table if not exists src_b like src; -No rows affected ->>> ->>> explain -from (select key, value from src group by key, value) s -insert overwrite table src_a select s.key, s.value group by s.key, s.value -insert overwrite table src_b select s.key, s.value group by s.key, s.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_GROUPBY (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL value)))) s)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME src_a))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL s) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL s) value))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL s) key) (. (TOK_TABLE_OR_COL s) value))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME src_b))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL s) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL s) value))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL s) key) (. (TOK_TABLE_OR_COL s) value))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-3 depends on stages: Stage-2' -' Stage-0 depends on stages: Stage-3' -' Stage-4 depends on stages: Stage-0' -' Stage-1 depends on stages: Stage-3' -' Stage-5 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' s:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' tag: -1' -' Reduce Operator Tree:' -' Forward' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: string' -' mode: complete' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: parallel.src_a' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: string' -' mode: complete' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: parallel.src_b' -'' -' 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: parallel.src_a' -'' -' Stage: Stage-4' -' Stats-Aggr Operator' -'' -' Stage: Stage-1' -' 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: parallel.src_b' -'' -' Stage: Stage-5' -' Stats-Aggr Operator' -'' -'' -173 rows selected ->>> ->>> from (select key, value from src group by key, value) s -insert overwrite table src_a select s.key, s.value group by s.key, s.value -insert overwrite table src_b select s.key, s.value group by s.key, s.value; -'key','value' -No rows selected ->>> ->>> select * from src_a order by key, value; -'key','value' -'0','val_0' -'10','val_10' -'100','val_100' -'103','val_103' -'104','val_104' -'105','val_105' -'11','val_11' -'111','val_111' -'113','val_113' -'114','val_114' -'116','val_116' -'118','val_118' -'119','val_119' -'12','val_12' -'120','val_120' -'125','val_125' -'126','val_126' -'128','val_128' -'129','val_129' -'131','val_131' -'133','val_133' -'134','val_134' -'136','val_136' -'137','val_137' -'138','val_138' -'143','val_143' -'145','val_145' -'146','val_146' -'149','val_149' -'15','val_15' -'150','val_150' -'152','val_152' -'153','val_153' -'155','val_155' -'156','val_156' -'157','val_157' -'158','val_158' -'160','val_160' -'162','val_162' -'163','val_163' -'164','val_164' -'165','val_165' -'166','val_166' -'167','val_167' -'168','val_168' -'169','val_169' -'17','val_17' -'170','val_170' -'172','val_172' -'174','val_174' -'175','val_175' -'176','val_176' -'177','val_177' -'178','val_178' -'179','val_179' -'18','val_18' -'180','val_180' -'181','val_181' -'183','val_183' -'186','val_186' -'187','val_187' -'189','val_189' -'19','val_19' -'190','val_190' -'191','val_191' -'192','val_192' -'193','val_193' -'194','val_194' -'195','val_195' -'196','val_196' -'197','val_197' -'199','val_199' -'2','val_2' -'20','val_20' -'200','val_200' -'201','val_201' -'202','val_202' -'203','val_203' -'205','val_205' -'207','val_207' -'208','val_208' -'209','val_209' -'213','val_213' -'214','val_214' -'216','val_216' -'217','val_217' -'218','val_218' -'219','val_219' -'221','val_221' -'222','val_222' -'223','val_223' -'224','val_224' -'226','val_226' -'228','val_228' -'229','val_229' -'230','val_230' -'233','val_233' -'235','val_235' -'237','val_237' -'238','val_238' -'239','val_239' -'24','val_24' -'241','val_241' -'242','val_242' -'244','val_244' -'247','val_247' -'248','val_248' -'249','val_249' -'252','val_252' -'255','val_255' -'256','val_256' -'257','val_257' -'258','val_258' -'26','val_26' -'260','val_260' -'262','val_262' -'263','val_263' -'265','val_265' -'266','val_266' -'27','val_27' -'272','val_272' -'273','val_273' -'274','val_274' -'275','val_275' -'277','val_277' -'278','val_278' -'28','val_28' -'280','val_280' -'281','val_281' -'282','val_282' -'283','val_283' -'284','val_284' -'285','val_285' -'286','val_286' -'287','val_287' -'288','val_288' -'289','val_289' -'291','val_291' -'292','val_292' -'296','val_296' -'298','val_298' -'30','val_30' -'302','val_302' -'305','val_305' -'306','val_306' -'307','val_307' -'308','val_308' -'309','val_309' -'310','val_310' -'311','val_311' -'315','val_315' -'316','val_316' -'317','val_317' -'318','val_318' -'321','val_321' -'322','val_322' -'323','val_323' -'325','val_325' -'327','val_327' -'33','val_33' -'331','val_331' -'332','val_332' -'333','val_333' -'335','val_335' -'336','val_336' -'338','val_338' -'339','val_339' -'34','val_34' -'341','val_341' -'342','val_342' -'344','val_344' -'345','val_345' -'348','val_348' -'35','val_35' -'351','val_351' -'353','val_353' -'356','val_356' -'360','val_360' -'362','val_362' -'364','val_364' -'365','val_365' -'366','val_366' -'367','val_367' -'368','val_368' -'369','val_369' -'37','val_37' -'373','val_373' -'374','val_374' -'375','val_375' -'377','val_377' -'378','val_378' -'379','val_379' -'382','val_382' -'384','val_384' -'386','val_386' -'389','val_389' -'392','val_392' -'393','val_393' -'394','val_394' -'395','val_395' -'396','val_396' -'397','val_397' -'399','val_399' -'4','val_4' -'400','val_400' -'401','val_401' -'402','val_402' -'403','val_403' -'404','val_404' -'406','val_406' -'407','val_407' -'409','val_409' -'41','val_41' -'411','val_411' -'413','val_413' -'414','val_414' -'417','val_417' -'418','val_418' -'419','val_419' -'42','val_42' -'421','val_421' -'424','val_424' -'427','val_427' -'429','val_429' -'43','val_43' -'430','val_430' -'431','val_431' -'432','val_432' -'435','val_435' -'436','val_436' -'437','val_437' -'438','val_438' -'439','val_439' -'44','val_44' -'443','val_443' -'444','val_444' -'446','val_446' -'448','val_448' -'449','val_449' -'452','val_452' -'453','val_453' -'454','val_454' -'455','val_455' -'457','val_457' -'458','val_458' -'459','val_459' -'460','val_460' -'462','val_462' -'463','val_463' -'466','val_466' -'467','val_467' -'468','val_468' -'469','val_469' -'47','val_47' -'470','val_470' -'472','val_472' -'475','val_475' -'477','val_477' -'478','val_478' -'479','val_479' -'480','val_480' -'481','val_481' -'482','val_482' -'483','val_483' -'484','val_484' -'485','val_485' -'487','val_487' -'489','val_489' -'490','val_490' -'491','val_491' -'492','val_492' -'493','val_493' -'494','val_494' -'495','val_495' -'496','val_496' -'497','val_497' -'498','val_498' -'5','val_5' -'51','val_51' -'53','val_53' -'54','val_54' -'57','val_57' -'58','val_58' -'64','val_64' -'65','val_65' -'66','val_66' -'67','val_67' -'69','val_69' -'70','val_70' -'72','val_72' -'74','val_74' -'76','val_76' -'77','val_77' -'78','val_78' -'8','val_8' -'80','val_80' -'82','val_82' -'83','val_83' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'9','val_9' -'90','val_90' -'92','val_92' -'95','val_95' -'96','val_96' -'97','val_97' -'98','val_98' -309 rows selected ->>> select * from src_b order by key, value; -'key','value' -'0','val_0' -'10','val_10' -'100','val_100' -'103','val_103' -'104','val_104' -'105','val_105' -'11','val_11' -'111','val_111' -'113','val_113' -'114','val_114' -'116','val_116' -'118','val_118' -'119','val_119' -'12','val_12' -'120','val_120' -'125','val_125' -'126','val_126' -'128','val_128' -'129','val_129' -'131','val_131' -'133','val_133' -'134','val_134' -'136','val_136' -'137','val_137' -'138','val_138' -'143','val_143' -'145','val_145' -'146','val_146' -'149','val_149' -'15','val_15' -'150','val_150' -'152','val_152' -'153','val_153' -'155','val_155' -'156','val_156' -'157','val_157' -'158','val_158' -'160','val_160' -'162','val_162' -'163','val_163' -'164','val_164' -'165','val_165' -'166','val_166' -'167','val_167' -'168','val_168' -'169','val_169' -'17','val_17' -'170','val_170' -'172','val_172' -'174','val_174' -'175','val_175' -'176','val_176' -'177','val_177' -'178','val_178' -'179','val_179' -'18','val_18' -'180','val_180' -'181','val_181' -'183','val_183' -'186','val_186' -'187','val_187' -'189','val_189' -'19','val_19' -'190','val_190' -'191','val_191' -'192','val_192' -'193','val_193' -'194','val_194' -'195','val_195' -'196','val_196' -'197','val_197' -'199','val_199' -'2','val_2' -'20','val_20' -'200','val_200' -'201','val_201' -'202','val_202' -'203','val_203' -'205','val_205' -'207','val_207' -'208','val_208' -'209','val_209' -'213','val_213' -'214','val_214' -'216','val_216' -'217','val_217' -'218','val_218' -'219','val_219' -'221','val_221' -'222','val_222' -'223','val_223' -'224','val_224' -'226','val_226' -'228','val_228' -'229','val_229' -'230','val_230' -'233','val_233' -'235','val_235' -'237','val_237' -'238','val_238' -'239','val_239' -'24','val_24' -'241','val_241' -'242','val_242' -'244','val_244' -'247','val_247' -'248','val_248' -'249','val_249' -'252','val_252' -'255','val_255' -'256','val_256' -'257','val_257' -'258','val_258' -'26','val_26' -'260','val_260' -'262','val_262' -'263','val_263' -'265','val_265' -'266','val_266' -'27','val_27' -'272','val_272' -'273','val_273' -'274','val_274' -'275','val_275' -'277','val_277' -'278','val_278' -'28','val_28' -'280','val_280' -'281','val_281' -'282','val_282' -'283','val_283' -'284','val_284' -'285','val_285' -'286','val_286' -'287','val_287' -'288','val_288' -'289','val_289' -'291','val_291' -'292','val_292' -'296','val_296' -'298','val_298' -'30','val_30' -'302','val_302' -'305','val_305' -'306','val_306' -'307','val_307' -'308','val_308' -'309','val_309' -'310','val_310' -'311','val_311' -'315','val_315' -'316','val_316' -'317','val_317' -'318','val_318' -'321','val_321' -'322','val_322' -'323','val_323' -'325','val_325' -'327','val_327' -'33','val_33' -'331','val_331' -'332','val_332' -'333','val_333' -'335','val_335' -'336','val_336' -'338','val_338' -'339','val_339' -'34','val_34' -'341','val_341' -'342','val_342' -'344','val_344' -'345','val_345' -'348','val_348' -'35','val_35' -'351','val_351' -'353','val_353' -'356','val_356' -'360','val_360' -'362','val_362' -'364','val_364' -'365','val_365' -'366','val_366' -'367','val_367' -'368','val_368' -'369','val_369' -'37','val_37' -'373','val_373' -'374','val_374' -'375','val_375' -'377','val_377' -'378','val_378' -'379','val_379' -'382','val_382' -'384','val_384' -'386','val_386' -'389','val_389' -'392','val_392' -'393','val_393' -'394','val_394' -'395','val_395' -'396','val_396' -'397','val_397' -'399','val_399' -'4','val_4' -'400','val_400' -'401','val_401' -'402','val_402' -'403','val_403' -'404','val_404' -'406','val_406' -'407','val_407' -'409','val_409' -'41','val_41' -'411','val_411' -'413','val_413' -'414','val_414' -'417','val_417' -'418','val_418' -'419','val_419' -'42','val_42' -'421','val_421' -'424','val_424' -'427','val_427' -'429','val_429' -'43','val_43' -'430','val_430' -'431','val_431' -'432','val_432' -'435','val_435' -'436','val_436' -'437','val_437' -'438','val_438' -'439','val_439' -'44','val_44' -'443','val_443' -'444','val_444' -'446','val_446' -'448','val_448' -'449','val_449' -'452','val_452' -'453','val_453' -'454','val_454' -'455','val_455' -'457','val_457' -'458','val_458' -'459','val_459' -'460','val_460' -'462','val_462' -'463','val_463' -'466','val_466' -'467','val_467' -'468','val_468' -'469','val_469' -'47','val_47' -'470','val_470' -'472','val_472' -'475','val_475' -'477','val_477' -'478','val_478' -'479','val_479' -'480','val_480' -'481','val_481' -'482','val_482' -'483','val_483' -'484','val_484' -'485','val_485' -'487','val_487' -'489','val_489' -'490','val_490' -'491','val_491' -'492','val_492' -'493','val_493' -'494','val_494' -'495','val_495' -'496','val_496' -'497','val_497' -'498','val_498' -'5','val_5' -'51','val_51' -'53','val_53' -'54','val_54' -'57','val_57' -'58','val_58' -'64','val_64' -'65','val_65' -'66','val_66' -'67','val_67' -'69','val_69' -'70','val_70' -'72','val_72' -'74','val_74' -'76','val_76' -'77','val_77' -'78','val_78' -'8','val_8' -'80','val_80' -'82','val_82' -'83','val_83' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'9','val_9' -'90','val_90' -'92','val_92' -'95','val_95' -'96','val_96' -'97','val_97' -'98','val_98' -309 rows selected ->>> ->>> ->>> set hive.input.format=org.apache.hadoop.hive.ql.io.CombineHiveInputFormat; -No rows affected ->>> ->>> from (select key, value from src group by key, value) s -insert overwrite table src_a select s.key, s.value group by s.key, s.value -insert overwrite table src_b select s.key, s.value group by s.key, s.value; -'key','value' -No rows selected ->>> ->>> select * from src_a order by key, value; -'key','value' -'0','val_0' -'10','val_10' -'100','val_100' -'103','val_103' -'104','val_104' -'105','val_105' -'11','val_11' -'111','val_111' -'113','val_113' -'114','val_114' -'116','val_116' -'118','val_118' -'119','val_119' -'12','val_12' -'120','val_120' -'125','val_125' -'126','val_126' -'128','val_128' -'129','val_129' -'131','val_131' -'133','val_133' -'134','val_134' -'136','val_136' -'137','val_137' -'138','val_138' -'143','val_143' -'145','val_145' -'146','val_146' -'149','val_149' -'15','val_15' -'150','val_150' -'152','val_152' -'153','val_153' -'155','val_155' -'156','val_156' -'157','val_157' -'158','val_158' -'160','val_160' -'162','val_162' -'163','val_163' -'164','val_164' -'165','val_165' -'166','val_166' -'167','val_167' -'168','val_168' -'169','val_169' -'17','val_17' -'170','val_170' -'172','val_172' -'174','val_174' -'175','val_175' -'176','val_176' -'177','val_177' -'178','val_178' -'179','val_179' -'18','val_18' -'180','val_180' -'181','val_181' -'183','val_183' -'186','val_186' -'187','val_187' -'189','val_189' -'19','val_19' -'190','val_190' -'191','val_191' -'192','val_192' -'193','val_193' -'194','val_194' -'195','val_195' -'196','val_196' -'197','val_197' -'199','val_199' -'2','val_2' -'20','val_20' -'200','val_200' -'201','val_201' -'202','val_202' -'203','val_203' -'205','val_205' -'207','val_207' -'208','val_208' -'209','val_209' -'213','val_213' -'214','val_214' -'216','val_216' -'217','val_217' -'218','val_218' -'219','val_219' -'221','val_221' -'222','val_222' -'223','val_223' -'224','val_224' -'226','val_226' -'228','val_228' -'229','val_229' -'230','val_230' -'233','val_233' -'235','val_235' -'237','val_237' -'238','val_238' -'239','val_239' -'24','val_24' -'241','val_241' -'242','val_242' -'244','val_244' -'247','val_247' -'248','val_248' -'249','val_249' -'252','val_252' -'255','val_255' -'256','val_256' -'257','val_257' -'258','val_258' -'26','val_26' -'260','val_260' -'262','val_262' -'263','val_263' -'265','val_265' -'266','val_266' -'27','val_27' -'272','val_272' -'273','val_273' -'274','val_274' -'275','val_275' -'277','val_277' -'278','val_278' -'28','val_28' -'280','val_280' -'281','val_281' -'282','val_282' -'283','val_283' -'284','val_284' -'285','val_285' -'286','val_286' -'287','val_287' -'288','val_288' -'289','val_289' -'291','val_291' -'292','val_292' -'296','val_296' -'298','val_298' -'30','val_30' -'302','val_302' -'305','val_305' -'306','val_306' -'307','val_307' -'308','val_308' -'309','val_309' -'310','val_310' -'311','val_311' -'315','val_315' -'316','val_316' -'317','val_317' -'318','val_318' -'321','val_321' -'322','val_322' -'323','val_323' -'325','val_325' -'327','val_327' -'33','val_33' -'331','val_331' -'332','val_332' -'333','val_333' -'335','val_335' -'336','val_336' -'338','val_338' -'339','val_339' -'34','val_34' -'341','val_341' -'342','val_342' -'344','val_344' -'345','val_345' -'348','val_348' -'35','val_35' -'351','val_351' -'353','val_353' -'356','val_356' -'360','val_360' -'362','val_362' -'364','val_364' -'365','val_365' -'366','val_366' -'367','val_367' -'368','val_368' -'369','val_369' -'37','val_37' -'373','val_373' -'374','val_374' -'375','val_375' -'377','val_377' -'378','val_378' -'379','val_379' -'382','val_382' -'384','val_384' -'386','val_386' -'389','val_389' -'392','val_392' -'393','val_393' -'394','val_394' -'395','val_395' -'396','val_396' -'397','val_397' -'399','val_399' -'4','val_4' -'400','val_400' -'401','val_401' -'402','val_402' -'403','val_403' -'404','val_404' -'406','val_406' -'407','val_407' -'409','val_409' -'41','val_41' -'411','val_411' -'413','val_413' -'414','val_414' -'417','val_417' -'418','val_418' -'419','val_419' -'42','val_42' -'421','val_421' -'424','val_424' -'427','val_427' -'429','val_429' -'43','val_43' -'430','val_430' -'431','val_431' -'432','val_432' -'435','val_435' -'436','val_436' -'437','val_437' -'438','val_438' -'439','val_439' -'44','val_44' -'443','val_443' -'444','val_444' -'446','val_446' -'448','val_448' -'449','val_449' -'452','val_452' -'453','val_453' -'454','val_454' -'455','val_455' -'457','val_457' -'458','val_458' -'459','val_459' -'460','val_460' -'462','val_462' -'463','val_463' -'466','val_466' -'467','val_467' -'468','val_468' -'469','val_469' -'47','val_47' -'470','val_470' -'472','val_472' -'475','val_475' -'477','val_477' -'478','val_478' -'479','val_479' -'480','val_480' -'481','val_481' -'482','val_482' -'483','val_483' -'484','val_484' -'485','val_485' -'487','val_487' -'489','val_489' -'490','val_490' -'491','val_491' -'492','val_492' -'493','val_493' -'494','val_494' -'495','val_495' -'496','val_496' -'497','val_497' -'498','val_498' -'5','val_5' -'51','val_51' -'53','val_53' -'54','val_54' -'57','val_57' -'58','val_58' -'64','val_64' -'65','val_65' -'66','val_66' -'67','val_67' -'69','val_69' -'70','val_70' -'72','val_72' -'74','val_74' -'76','val_76' -'77','val_77' -'78','val_78' -'8','val_8' -'80','val_80' -'82','val_82' -'83','val_83' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'9','val_9' -'90','val_90' -'92','val_92' -'95','val_95' -'96','val_96' -'97','val_97' -'98','val_98' -309 rows selected ->>> select * from src_b order by key, value; -'key','value' -'0','val_0' -'10','val_10' -'100','val_100' -'103','val_103' -'104','val_104' -'105','val_105' -'11','val_11' -'111','val_111' -'113','val_113' -'114','val_114' -'116','val_116' -'118','val_118' -'119','val_119' -'12','val_12' -'120','val_120' -'125','val_125' -'126','val_126' -'128','val_128' -'129','val_129' -'131','val_131' -'133','val_133' -'134','val_134' -'136','val_136' -'137','val_137' -'138','val_138' -'143','val_143' -'145','val_145' -'146','val_146' -'149','val_149' -'15','val_15' -'150','val_150' -'152','val_152' -'153','val_153' -'155','val_155' -'156','val_156' -'157','val_157' -'158','val_158' -'160','val_160' -'162','val_162' -'163','val_163' -'164','val_164' -'165','val_165' -'166','val_166' -'167','val_167' -'168','val_168' -'169','val_169' -'17','val_17' -'170','val_170' -'172','val_172' -'174','val_174' -'175','val_175' -'176','val_176' -'177','val_177' -'178','val_178' -'179','val_179' -'18','val_18' -'180','val_180' -'181','val_181' -'183','val_183' -'186','val_186' -'187','val_187' -'189','val_189' -'19','val_19' -'190','val_190' -'191','val_191' -'192','val_192' -'193','val_193' -'194','val_194' -'195','val_195' -'196','val_196' -'197','val_197' -'199','val_199' -'2','val_2' -'20','val_20' -'200','val_200' -'201','val_201' -'202','val_202' -'203','val_203' -'205','val_205' -'207','val_207' -'208','val_208' -'209','val_209' -'213','val_213' -'214','val_214' -'216','val_216' -'217','val_217' -'218','val_218' -'219','val_219' -'221','val_221' -'222','val_222' -'223','val_223' -'224','val_224' -'226','val_226' -'228','val_228' -'229','val_229' -'230','val_230' -'233','val_233' -'235','val_235' -'237','val_237' -'238','val_238' -'239','val_239' -'24','val_24' -'241','val_241' -'242','val_242' -'244','val_244' -'247','val_247' -'248','val_248' -'249','val_249' -'252','val_252' -'255','val_255' -'256','val_256' -'257','val_257' -'258','val_258' -'26','val_26' -'260','val_260' -'262','val_262' -'263','val_263' -'265','val_265' -'266','val_266' -'27','val_27' -'272','val_272' -'273','val_273' -'274','val_274' -'275','val_275' -'277','val_277' -'278','val_278' -'28','val_28' -'280','val_280' -'281','val_281' -'282','val_282' -'283','val_283' -'284','val_284' -'285','val_285' -'286','val_286' -'287','val_287' -'288','val_288' -'289','val_289' -'291','val_291' -'292','val_292' -'296','val_296' -'298','val_298' -'30','val_30' -'302','val_302' -'305','val_305' -'306','val_306' -'307','val_307' -'308','val_308' -'309','val_309' -'310','val_310' -'311','val_311' -'315','val_315' -'316','val_316' -'317','val_317' -'318','val_318' -'321','val_321' -'322','val_322' -'323','val_323' -'325','val_325' -'327','val_327' -'33','val_33' -'331','val_331' -'332','val_332' -'333','val_333' -'335','val_335' -'336','val_336' -'338','val_338' -'339','val_339' -'34','val_34' -'341','val_341' -'342','val_342' -'344','val_344' -'345','val_345' -'348','val_348' -'35','val_35' -'351','val_351' -'353','val_353' -'356','val_356' -'360','val_360' -'362','val_362' -'364','val_364' -'365','val_365' -'366','val_366' -'367','val_367' -'368','val_368' -'369','val_369' -'37','val_37' -'373','val_373' -'374','val_374' -'375','val_375' -'377','val_377' -'378','val_378' -'379','val_379' -'382','val_382' -'384','val_384' -'386','val_386' -'389','val_389' -'392','val_392' -'393','val_393' -'394','val_394' -'395','val_395' -'396','val_396' -'397','val_397' -'399','val_399' -'4','val_4' -'400','val_400' -'401','val_401' -'402','val_402' -'403','val_403' -'404','val_404' -'406','val_406' -'407','val_407' -'409','val_409' -'41','val_41' -'411','val_411' -'413','val_413' -'414','val_414' -'417','val_417' -'418','val_418' -'419','val_419' -'42','val_42' -'421','val_421' -'424','val_424' -'427','val_427' -'429','val_429' -'43','val_43' -'430','val_430' -'431','val_431' -'432','val_432' -'435','val_435' -'436','val_436' -'437','val_437' -'438','val_438' -'439','val_439' -'44','val_44' -'443','val_443' -'444','val_444' -'446','val_446' -'448','val_448' -'449','val_449' -'452','val_452' -'453','val_453' -'454','val_454' -'455','val_455' -'457','val_457' -'458','val_458' -'459','val_459' -'460','val_460' -'462','val_462' -'463','val_463' -'466','val_466' -'467','val_467' -'468','val_468' -'469','val_469' -'47','val_47' -'470','val_470' -'472','val_472' -'475','val_475' -'477','val_477' -'478','val_478' -'479','val_479' -'480','val_480' -'481','val_481' -'482','val_482' -'483','val_483' -'484','val_484' -'485','val_485' -'487','val_487' -'489','val_489' -'490','val_490' -'491','val_491' -'492','val_492' -'493','val_493' -'494','val_494' -'495','val_495' -'496','val_496' -'497','val_497' -'498','val_498' -'5','val_5' -'51','val_51' -'53','val_53' -'54','val_54' -'57','val_57' -'58','val_58' -'64','val_64' -'65','val_65' -'66','val_66' -'67','val_67' -'69','val_69' -'70','val_70' -'72','val_72' -'74','val_74' -'76','val_76' -'77','val_77' -'78','val_78' -'8','val_8' -'80','val_80' -'82','val_82' -'83','val_83' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'9','val_9' -'90','val_90' -'92','val_92' -'95','val_95' -'96','val_96' -'97','val_97' -'98','val_98' -309 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/parenthesis_star_by.q.out ql/src/test/results/beelinepositive/parenthesis_star_by.q.out deleted file mode 100644 index 3f32509..0000000 --- ql/src/test/results/beelinepositive/parenthesis_star_by.q.out +++ /dev/null @@ -1,4029 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/parenthesis_star_by.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/parenthesis_star_by.q ->>> SELECT key, value FROM src CLUSTER BY key, value; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'10','val_10' -'100','val_100' -'100','val_100' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -'105','val_105' -'11','val_11' -'111','val_111' -'113','val_113' -'113','val_113' -'114','val_114' -'116','val_116' -'118','val_118' -'118','val_118' -'119','val_119' -'119','val_119' -'119','val_119' -'12','val_12' -'12','val_12' -'120','val_120' -'120','val_120' -'125','val_125' -'125','val_125' -'126','val_126' -'128','val_128' -'128','val_128' -'128','val_128' -'129','val_129' -'129','val_129' -'131','val_131' -'133','val_133' -'134','val_134' -'134','val_134' -'136','val_136' -'137','val_137' -'137','val_137' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'143','val_143' -'145','val_145' -'146','val_146' -'146','val_146' -'149','val_149' -'149','val_149' -'15','val_15' -'15','val_15' -'150','val_150' -'152','val_152' -'152','val_152' -'153','val_153' -'155','val_155' -'156','val_156' -'157','val_157' -'158','val_158' -'160','val_160' -'162','val_162' -'163','val_163' -'164','val_164' -'164','val_164' -'165','val_165' -'165','val_165' -'166','val_166' -'167','val_167' -'167','val_167' -'167','val_167' -'168','val_168' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'17','val_17' -'170','val_170' -'172','val_172' -'172','val_172' -'174','val_174' -'174','val_174' -'175','val_175' -'175','val_175' -'176','val_176' -'176','val_176' -'177','val_177' -'178','val_178' -'179','val_179' -'179','val_179' -'18','val_18' -'18','val_18' -'180','val_180' -'181','val_181' -'183','val_183' -'186','val_186' -'187','val_187' -'187','val_187' -'187','val_187' -'189','val_189' -'19','val_19' -'190','val_190' -'191','val_191' -'191','val_191' -'192','val_192' -'193','val_193' -'193','val_193' -'193','val_193' -'194','val_194' -'195','val_195' -'195','val_195' -'196','val_196' -'197','val_197' -'197','val_197' -'199','val_199' -'199','val_199' -'199','val_199' -'2','val_2' -'20','val_20' -'200','val_200' -'200','val_200' -'201','val_201' -'202','val_202' -'203','val_203' -'203','val_203' -'205','val_205' -'205','val_205' -'207','val_207' -'207','val_207' -'208','val_208' -'208','val_208' -'208','val_208' -'209','val_209' -'209','val_209' -'213','val_213' -'213','val_213' -'214','val_214' -'216','val_216' -'216','val_216' -'217','val_217' -'217','val_217' -'218','val_218' -'219','val_219' -'219','val_219' -'221','val_221' -'221','val_221' -'222','val_222' -'223','val_223' -'223','val_223' -'224','val_224' -'224','val_224' -'226','val_226' -'228','val_228' -'229','val_229' -'229','val_229' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'233','val_233' -'233','val_233' -'235','val_235' -'237','val_237' -'237','val_237' -'238','val_238' -'238','val_238' -'239','val_239' -'239','val_239' -'24','val_24' -'24','val_24' -'241','val_241' -'242','val_242' -'242','val_242' -'244','val_244' -'247','val_247' -'248','val_248' -'249','val_249' -'252','val_252' -'255','val_255' -'255','val_255' -'256','val_256' -'256','val_256' -'257','val_257' -'258','val_258' -'26','val_26' -'26','val_26' -'260','val_260' -'262','val_262' -'263','val_263' -'265','val_265' -'265','val_265' -'266','val_266' -'27','val_27' -'272','val_272' -'272','val_272' -'273','val_273' -'273','val_273' -'273','val_273' -'274','val_274' -'275','val_275' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'278','val_278' -'278','val_278' -'28','val_28' -'280','val_280' -'280','val_280' -'281','val_281' -'281','val_281' -'282','val_282' -'282','val_282' -'283','val_283' -'284','val_284' -'285','val_285' -'286','val_286' -'287','val_287' -'288','val_288' -'288','val_288' -'289','val_289' -'291','val_291' -'292','val_292' -'296','val_296' -'298','val_298' -'298','val_298' -'298','val_298' -'30','val_30' -'302','val_302' -'305','val_305' -'306','val_306' -'307','val_307' -'307','val_307' -'308','val_308' -'309','val_309' -'309','val_309' -'310','val_310' -'311','val_311' -'311','val_311' -'311','val_311' -'315','val_315' -'316','val_316' -'316','val_316' -'316','val_316' -'317','val_317' -'317','val_317' -'318','val_318' -'318','val_318' -'318','val_318' -'321','val_321' -'321','val_321' -'322','val_322' -'322','val_322' -'323','val_323' -'325','val_325' -'325','val_325' -'327','val_327' -'327','val_327' -'327','val_327' -'33','val_33' -'331','val_331' -'331','val_331' -'332','val_332' -'333','val_333' -'333','val_333' -'335','val_335' -'336','val_336' -'338','val_338' -'339','val_339' -'34','val_34' -'341','val_341' -'342','val_342' -'342','val_342' -'344','val_344' -'344','val_344' -'345','val_345' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'35','val_35' -'35','val_35' -'35','val_35' -'351','val_351' -'353','val_353' -'353','val_353' -'356','val_356' -'360','val_360' -'362','val_362' -'364','val_364' -'365','val_365' -'366','val_366' -'367','val_367' -'367','val_367' -'368','val_368' -'369','val_369' -'369','val_369' -'369','val_369' -'37','val_37' -'37','val_37' -'373','val_373' -'374','val_374' -'375','val_375' -'377','val_377' -'378','val_378' -'379','val_379' -'382','val_382' -'382','val_382' -'384','val_384' -'384','val_384' -'384','val_384' -'386','val_386' -'389','val_389' -'392','val_392' -'393','val_393' -'394','val_394' -'395','val_395' -'395','val_395' -'396','val_396' -'396','val_396' -'396','val_396' -'397','val_397' -'397','val_397' -'399','val_399' -'399','val_399' -'4','val_4' -'400','val_400' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'402','val_402' -'403','val_403' -'403','val_403' -'403','val_403' -'404','val_404' -'404','val_404' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'407','val_407' -'409','val_409' -'409','val_409' -'409','val_409' -'41','val_41' -'411','val_411' -'413','val_413' -'413','val_413' -'414','val_414' -'414','val_414' -'417','val_417' -'417','val_417' -'417','val_417' -'418','val_418' -'419','val_419' -'42','val_42' -'42','val_42' -'421','val_421' -'424','val_424' -'424','val_424' -'427','val_427' -'429','val_429' -'429','val_429' -'43','val_43' -'430','val_430' -'430','val_430' -'430','val_430' -'431','val_431' -'431','val_431' -'431','val_431' -'432','val_432' -'435','val_435' -'436','val_436' -'437','val_437' -'438','val_438' -'438','val_438' -'438','val_438' -'439','val_439' -'439','val_439' -'44','val_44' -'443','val_443' -'444','val_444' -'446','val_446' -'448','val_448' -'449','val_449' -'452','val_452' -'453','val_453' -'454','val_454' -'454','val_454' -'454','val_454' -'455','val_455' -'457','val_457' -'458','val_458' -'458','val_458' -'459','val_459' -'459','val_459' -'460','val_460' -'462','val_462' -'462','val_462' -'463','val_463' -'463','val_463' -'466','val_466' -'466','val_466' -'466','val_466' -'467','val_467' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'47','val_47' -'470','val_470' -'472','val_472' -'475','val_475' -'477','val_477' -'478','val_478' -'478','val_478' -'479','val_479' -'480','val_480' -'480','val_480' -'480','val_480' -'481','val_481' -'482','val_482' -'483','val_483' -'484','val_484' -'485','val_485' -'487','val_487' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'490','val_490' -'491','val_491' -'492','val_492' -'492','val_492' -'493','val_493' -'494','val_494' -'495','val_495' -'496','val_496' -'497','val_497' -'498','val_498' -'498','val_498' -'498','val_498' -'5','val_5' -'5','val_5' -'5','val_5' -'51','val_51' -'51','val_51' -'53','val_53' -'54','val_54' -'57','val_57' -'58','val_58' -'58','val_58' -'64','val_64' -'65','val_65' -'66','val_66' -'67','val_67' -'67','val_67' -'69','val_69' -'70','val_70' -'70','val_70' -'70','val_70' -'72','val_72' -'72','val_72' -'74','val_74' -'76','val_76' -'76','val_76' -'77','val_77' -'78','val_78' -'8','val_8' -'80','val_80' -'82','val_82' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'9','val_9' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'95','val_95' -'95','val_95' -'96','val_96' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -500 rows selected ->>> SELECT key, value FROM src ORDER BY key ASC, value ASC; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'10','val_10' -'100','val_100' -'100','val_100' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -'105','val_105' -'11','val_11' -'111','val_111' -'113','val_113' -'113','val_113' -'114','val_114' -'116','val_116' -'118','val_118' -'118','val_118' -'119','val_119' -'119','val_119' -'119','val_119' -'12','val_12' -'12','val_12' -'120','val_120' -'120','val_120' -'125','val_125' -'125','val_125' -'126','val_126' -'128','val_128' -'128','val_128' -'128','val_128' -'129','val_129' -'129','val_129' -'131','val_131' -'133','val_133' -'134','val_134' -'134','val_134' -'136','val_136' -'137','val_137' -'137','val_137' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'143','val_143' -'145','val_145' -'146','val_146' -'146','val_146' -'149','val_149' -'149','val_149' -'15','val_15' -'15','val_15' -'150','val_150' -'152','val_152' -'152','val_152' -'153','val_153' -'155','val_155' -'156','val_156' -'157','val_157' -'158','val_158' -'160','val_160' -'162','val_162' -'163','val_163' -'164','val_164' -'164','val_164' -'165','val_165' -'165','val_165' -'166','val_166' -'167','val_167' -'167','val_167' -'167','val_167' -'168','val_168' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'17','val_17' -'170','val_170' -'172','val_172' -'172','val_172' -'174','val_174' -'174','val_174' -'175','val_175' -'175','val_175' -'176','val_176' -'176','val_176' -'177','val_177' -'178','val_178' -'179','val_179' -'179','val_179' -'18','val_18' -'18','val_18' -'180','val_180' -'181','val_181' -'183','val_183' -'186','val_186' -'187','val_187' -'187','val_187' -'187','val_187' -'189','val_189' -'19','val_19' -'190','val_190' -'191','val_191' -'191','val_191' -'192','val_192' -'193','val_193' -'193','val_193' -'193','val_193' -'194','val_194' -'195','val_195' -'195','val_195' -'196','val_196' -'197','val_197' -'197','val_197' -'199','val_199' -'199','val_199' -'199','val_199' -'2','val_2' -'20','val_20' -'200','val_200' -'200','val_200' -'201','val_201' -'202','val_202' -'203','val_203' -'203','val_203' -'205','val_205' -'205','val_205' -'207','val_207' -'207','val_207' -'208','val_208' -'208','val_208' -'208','val_208' -'209','val_209' -'209','val_209' -'213','val_213' -'213','val_213' -'214','val_214' -'216','val_216' -'216','val_216' -'217','val_217' -'217','val_217' -'218','val_218' -'219','val_219' -'219','val_219' -'221','val_221' -'221','val_221' -'222','val_222' -'223','val_223' -'223','val_223' -'224','val_224' -'224','val_224' -'226','val_226' -'228','val_228' -'229','val_229' -'229','val_229' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'233','val_233' -'233','val_233' -'235','val_235' -'237','val_237' -'237','val_237' -'238','val_238' -'238','val_238' -'239','val_239' -'239','val_239' -'24','val_24' -'24','val_24' -'241','val_241' -'242','val_242' -'242','val_242' -'244','val_244' -'247','val_247' -'248','val_248' -'249','val_249' -'252','val_252' -'255','val_255' -'255','val_255' -'256','val_256' -'256','val_256' -'257','val_257' -'258','val_258' -'26','val_26' -'26','val_26' -'260','val_260' -'262','val_262' -'263','val_263' -'265','val_265' -'265','val_265' -'266','val_266' -'27','val_27' -'272','val_272' -'272','val_272' -'273','val_273' -'273','val_273' -'273','val_273' -'274','val_274' -'275','val_275' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'278','val_278' -'278','val_278' -'28','val_28' -'280','val_280' -'280','val_280' -'281','val_281' -'281','val_281' -'282','val_282' -'282','val_282' -'283','val_283' -'284','val_284' -'285','val_285' -'286','val_286' -'287','val_287' -'288','val_288' -'288','val_288' -'289','val_289' -'291','val_291' -'292','val_292' -'296','val_296' -'298','val_298' -'298','val_298' -'298','val_298' -'30','val_30' -'302','val_302' -'305','val_305' -'306','val_306' -'307','val_307' -'307','val_307' -'308','val_308' -'309','val_309' -'309','val_309' -'310','val_310' -'311','val_311' -'311','val_311' -'311','val_311' -'315','val_315' -'316','val_316' -'316','val_316' -'316','val_316' -'317','val_317' -'317','val_317' -'318','val_318' -'318','val_318' -'318','val_318' -'321','val_321' -'321','val_321' -'322','val_322' -'322','val_322' -'323','val_323' -'325','val_325' -'325','val_325' -'327','val_327' -'327','val_327' -'327','val_327' -'33','val_33' -'331','val_331' -'331','val_331' -'332','val_332' -'333','val_333' -'333','val_333' -'335','val_335' -'336','val_336' -'338','val_338' -'339','val_339' -'34','val_34' -'341','val_341' -'342','val_342' -'342','val_342' -'344','val_344' -'344','val_344' -'345','val_345' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'35','val_35' -'35','val_35' -'35','val_35' -'351','val_351' -'353','val_353' -'353','val_353' -'356','val_356' -'360','val_360' -'362','val_362' -'364','val_364' -'365','val_365' -'366','val_366' -'367','val_367' -'367','val_367' -'368','val_368' -'369','val_369' -'369','val_369' -'369','val_369' -'37','val_37' -'37','val_37' -'373','val_373' -'374','val_374' -'375','val_375' -'377','val_377' -'378','val_378' -'379','val_379' -'382','val_382' -'382','val_382' -'384','val_384' -'384','val_384' -'384','val_384' -'386','val_386' -'389','val_389' -'392','val_392' -'393','val_393' -'394','val_394' -'395','val_395' -'395','val_395' -'396','val_396' -'396','val_396' -'396','val_396' -'397','val_397' -'397','val_397' -'399','val_399' -'399','val_399' -'4','val_4' -'400','val_400' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'402','val_402' -'403','val_403' -'403','val_403' -'403','val_403' -'404','val_404' -'404','val_404' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'407','val_407' -'409','val_409' -'409','val_409' -'409','val_409' -'41','val_41' -'411','val_411' -'413','val_413' -'413','val_413' -'414','val_414' -'414','val_414' -'417','val_417' -'417','val_417' -'417','val_417' -'418','val_418' -'419','val_419' -'42','val_42' -'42','val_42' -'421','val_421' -'424','val_424' -'424','val_424' -'427','val_427' -'429','val_429' -'429','val_429' -'43','val_43' -'430','val_430' -'430','val_430' -'430','val_430' -'431','val_431' -'431','val_431' -'431','val_431' -'432','val_432' -'435','val_435' -'436','val_436' -'437','val_437' -'438','val_438' -'438','val_438' -'438','val_438' -'439','val_439' -'439','val_439' -'44','val_44' -'443','val_443' -'444','val_444' -'446','val_446' -'448','val_448' -'449','val_449' -'452','val_452' -'453','val_453' -'454','val_454' -'454','val_454' -'454','val_454' -'455','val_455' -'457','val_457' -'458','val_458' -'458','val_458' -'459','val_459' -'459','val_459' -'460','val_460' -'462','val_462' -'462','val_462' -'463','val_463' -'463','val_463' -'466','val_466' -'466','val_466' -'466','val_466' -'467','val_467' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'47','val_47' -'470','val_470' -'472','val_472' -'475','val_475' -'477','val_477' -'478','val_478' -'478','val_478' -'479','val_479' -'480','val_480' -'480','val_480' -'480','val_480' -'481','val_481' -'482','val_482' -'483','val_483' -'484','val_484' -'485','val_485' -'487','val_487' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'490','val_490' -'491','val_491' -'492','val_492' -'492','val_492' -'493','val_493' -'494','val_494' -'495','val_495' -'496','val_496' -'497','val_497' -'498','val_498' -'498','val_498' -'498','val_498' -'5','val_5' -'5','val_5' -'5','val_5' -'51','val_51' -'51','val_51' -'53','val_53' -'54','val_54' -'57','val_57' -'58','val_58' -'58','val_58' -'64','val_64' -'65','val_65' -'66','val_66' -'67','val_67' -'67','val_67' -'69','val_69' -'70','val_70' -'70','val_70' -'70','val_70' -'72','val_72' -'72','val_72' -'74','val_74' -'76','val_76' -'76','val_76' -'77','val_77' -'78','val_78' -'8','val_8' -'80','val_80' -'82','val_82' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'9','val_9' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'95','val_95' -'95','val_95' -'96','val_96' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -500 rows selected ->>> SELECT key, value FROM src SORT BY key, value; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'10','val_10' -'100','val_100' -'100','val_100' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -'105','val_105' -'11','val_11' -'111','val_111' -'113','val_113' -'113','val_113' -'114','val_114' -'116','val_116' -'118','val_118' -'118','val_118' -'119','val_119' -'119','val_119' -'119','val_119' -'12','val_12' -'12','val_12' -'120','val_120' -'120','val_120' -'125','val_125' -'125','val_125' -'126','val_126' -'128','val_128' -'128','val_128' -'128','val_128' -'129','val_129' -'129','val_129' -'131','val_131' -'133','val_133' -'134','val_134' -'134','val_134' -'136','val_136' -'137','val_137' -'137','val_137' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'143','val_143' -'145','val_145' -'146','val_146' -'146','val_146' -'149','val_149' -'149','val_149' -'15','val_15' -'15','val_15' -'150','val_150' -'152','val_152' -'152','val_152' -'153','val_153' -'155','val_155' -'156','val_156' -'157','val_157' -'158','val_158' -'160','val_160' -'162','val_162' -'163','val_163' -'164','val_164' -'164','val_164' -'165','val_165' -'165','val_165' -'166','val_166' -'167','val_167' -'167','val_167' -'167','val_167' -'168','val_168' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'17','val_17' -'170','val_170' -'172','val_172' -'172','val_172' -'174','val_174' -'174','val_174' -'175','val_175' -'175','val_175' -'176','val_176' -'176','val_176' -'177','val_177' -'178','val_178' -'179','val_179' -'179','val_179' -'18','val_18' -'18','val_18' -'180','val_180' -'181','val_181' -'183','val_183' -'186','val_186' -'187','val_187' -'187','val_187' -'187','val_187' -'189','val_189' -'19','val_19' -'190','val_190' -'191','val_191' -'191','val_191' -'192','val_192' -'193','val_193' -'193','val_193' -'193','val_193' -'194','val_194' -'195','val_195' -'195','val_195' -'196','val_196' -'197','val_197' -'197','val_197' -'199','val_199' -'199','val_199' -'199','val_199' -'2','val_2' -'20','val_20' -'200','val_200' -'200','val_200' -'201','val_201' -'202','val_202' -'203','val_203' -'203','val_203' -'205','val_205' -'205','val_205' -'207','val_207' -'207','val_207' -'208','val_208' -'208','val_208' -'208','val_208' -'209','val_209' -'209','val_209' -'213','val_213' -'213','val_213' -'214','val_214' -'216','val_216' -'216','val_216' -'217','val_217' -'217','val_217' -'218','val_218' -'219','val_219' -'219','val_219' -'221','val_221' -'221','val_221' -'222','val_222' -'223','val_223' -'223','val_223' -'224','val_224' -'224','val_224' -'226','val_226' -'228','val_228' -'229','val_229' -'229','val_229' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'233','val_233' -'233','val_233' -'235','val_235' -'237','val_237' -'237','val_237' -'238','val_238' -'238','val_238' -'239','val_239' -'239','val_239' -'24','val_24' -'24','val_24' -'241','val_241' -'242','val_242' -'242','val_242' -'244','val_244' -'247','val_247' -'248','val_248' -'249','val_249' -'252','val_252' -'255','val_255' -'255','val_255' -'256','val_256' -'256','val_256' -'257','val_257' -'258','val_258' -'26','val_26' -'26','val_26' -'260','val_260' -'262','val_262' -'263','val_263' -'265','val_265' -'265','val_265' -'266','val_266' -'27','val_27' -'272','val_272' -'272','val_272' -'273','val_273' -'273','val_273' -'273','val_273' -'274','val_274' -'275','val_275' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'278','val_278' -'278','val_278' -'28','val_28' -'280','val_280' -'280','val_280' -'281','val_281' -'281','val_281' -'282','val_282' -'282','val_282' -'283','val_283' -'284','val_284' -'285','val_285' -'286','val_286' -'287','val_287' -'288','val_288' -'288','val_288' -'289','val_289' -'291','val_291' -'292','val_292' -'296','val_296' -'298','val_298' -'298','val_298' -'298','val_298' -'30','val_30' -'302','val_302' -'305','val_305' -'306','val_306' -'307','val_307' -'307','val_307' -'308','val_308' -'309','val_309' -'309','val_309' -'310','val_310' -'311','val_311' -'311','val_311' -'311','val_311' -'315','val_315' -'316','val_316' -'316','val_316' -'316','val_316' -'317','val_317' -'317','val_317' -'318','val_318' -'318','val_318' -'318','val_318' -'321','val_321' -'321','val_321' -'322','val_322' -'322','val_322' -'323','val_323' -'325','val_325' -'325','val_325' -'327','val_327' -'327','val_327' -'327','val_327' -'33','val_33' -'331','val_331' -'331','val_331' -'332','val_332' -'333','val_333' -'333','val_333' -'335','val_335' -'336','val_336' -'338','val_338' -'339','val_339' -'34','val_34' -'341','val_341' -'342','val_342' -'342','val_342' -'344','val_344' -'344','val_344' -'345','val_345' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'35','val_35' -'35','val_35' -'35','val_35' -'351','val_351' -'353','val_353' -'353','val_353' -'356','val_356' -'360','val_360' -'362','val_362' -'364','val_364' -'365','val_365' -'366','val_366' -'367','val_367' -'367','val_367' -'368','val_368' -'369','val_369' -'369','val_369' -'369','val_369' -'37','val_37' -'37','val_37' -'373','val_373' -'374','val_374' -'375','val_375' -'377','val_377' -'378','val_378' -'379','val_379' -'382','val_382' -'382','val_382' -'384','val_384' -'384','val_384' -'384','val_384' -'386','val_386' -'389','val_389' -'392','val_392' -'393','val_393' -'394','val_394' -'395','val_395' -'395','val_395' -'396','val_396' -'396','val_396' -'396','val_396' -'397','val_397' -'397','val_397' -'399','val_399' -'399','val_399' -'4','val_4' -'400','val_400' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'402','val_402' -'403','val_403' -'403','val_403' -'403','val_403' -'404','val_404' -'404','val_404' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'407','val_407' -'409','val_409' -'409','val_409' -'409','val_409' -'41','val_41' -'411','val_411' -'413','val_413' -'413','val_413' -'414','val_414' -'414','val_414' -'417','val_417' -'417','val_417' -'417','val_417' -'418','val_418' -'419','val_419' -'42','val_42' -'42','val_42' -'421','val_421' -'424','val_424' -'424','val_424' -'427','val_427' -'429','val_429' -'429','val_429' -'43','val_43' -'430','val_430' -'430','val_430' -'430','val_430' -'431','val_431' -'431','val_431' -'431','val_431' -'432','val_432' -'435','val_435' -'436','val_436' -'437','val_437' -'438','val_438' -'438','val_438' -'438','val_438' -'439','val_439' -'439','val_439' -'44','val_44' -'443','val_443' -'444','val_444' -'446','val_446' -'448','val_448' -'449','val_449' -'452','val_452' -'453','val_453' -'454','val_454' -'454','val_454' -'454','val_454' -'455','val_455' -'457','val_457' -'458','val_458' -'458','val_458' -'459','val_459' -'459','val_459' -'460','val_460' -'462','val_462' -'462','val_462' -'463','val_463' -'463','val_463' -'466','val_466' -'466','val_466' -'466','val_466' -'467','val_467' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'47','val_47' -'470','val_470' -'472','val_472' -'475','val_475' -'477','val_477' -'478','val_478' -'478','val_478' -'479','val_479' -'480','val_480' -'480','val_480' -'480','val_480' -'481','val_481' -'482','val_482' -'483','val_483' -'484','val_484' -'485','val_485' -'487','val_487' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'490','val_490' -'491','val_491' -'492','val_492' -'492','val_492' -'493','val_493' -'494','val_494' -'495','val_495' -'496','val_496' -'497','val_497' -'498','val_498' -'498','val_498' -'498','val_498' -'5','val_5' -'5','val_5' -'5','val_5' -'51','val_51' -'51','val_51' -'53','val_53' -'54','val_54' -'57','val_57' -'58','val_58' -'58','val_58' -'64','val_64' -'65','val_65' -'66','val_66' -'67','val_67' -'67','val_67' -'69','val_69' -'70','val_70' -'70','val_70' -'70','val_70' -'72','val_72' -'72','val_72' -'74','val_74' -'76','val_76' -'76','val_76' -'77','val_77' -'78','val_78' -'8','val_8' -'80','val_80' -'82','val_82' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'9','val_9' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'95','val_95' -'95','val_95' -'96','val_96' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -500 rows selected ->>> SELECT key, value FROM src DISTRIBUTE BY key, value; -'key','value' -'238','val_238' -'86','val_86' -'311','val_311' -'27','val_27' -'165','val_165' -'409','val_409' -'255','val_255' -'278','val_278' -'98','val_98' -'484','val_484' -'265','val_265' -'193','val_193' -'401','val_401' -'150','val_150' -'273','val_273' -'224','val_224' -'369','val_369' -'66','val_66' -'128','val_128' -'213','val_213' -'146','val_146' -'406','val_406' -'429','val_429' -'374','val_374' -'152','val_152' -'469','val_469' -'145','val_145' -'495','val_495' -'37','val_37' -'327','val_327' -'281','val_281' -'277','val_277' -'209','val_209' -'15','val_15' -'82','val_82' -'403','val_403' -'166','val_166' -'417','val_417' -'430','val_430' -'252','val_252' -'292','val_292' -'219','val_219' -'287','val_287' -'153','val_153' -'193','val_193' -'338','val_338' -'446','val_446' -'459','val_459' -'394','val_394' -'237','val_237' -'482','val_482' -'174','val_174' -'413','val_413' -'494','val_494' -'207','val_207' -'199','val_199' -'466','val_466' -'208','val_208' -'174','val_174' -'399','val_399' -'396','val_396' -'247','val_247' -'417','val_417' -'489','val_489' -'162','val_162' -'377','val_377' -'397','val_397' -'309','val_309' -'365','val_365' -'266','val_266' -'439','val_439' -'342','val_342' -'367','val_367' -'325','val_325' -'167','val_167' -'195','val_195' -'475','val_475' -'17','val_17' -'113','val_113' -'155','val_155' -'203','val_203' -'339','val_339' -'0','val_0' -'455','val_455' -'128','val_128' -'311','val_311' -'316','val_316' -'57','val_57' -'302','val_302' -'205','val_205' -'149','val_149' -'438','val_438' -'345','val_345' -'129','val_129' -'170','val_170' -'20','val_20' -'489','val_489' -'157','val_157' -'378','val_378' -'221','val_221' -'92','val_92' -'111','val_111' -'47','val_47' -'72','val_72' -'4','val_4' -'280','val_280' -'35','val_35' -'427','val_427' -'277','val_277' -'208','val_208' -'356','val_356' -'399','val_399' -'169','val_169' -'382','val_382' -'498','val_498' -'125','val_125' -'386','val_386' -'437','val_437' -'469','val_469' -'192','val_192' -'286','val_286' -'187','val_187' -'176','val_176' -'54','val_54' -'459','val_459' -'51','val_51' -'138','val_138' -'103','val_103' -'239','val_239' -'213','val_213' -'216','val_216' -'430','val_430' -'278','val_278' -'176','val_176' -'289','val_289' -'221','val_221' -'65','val_65' -'318','val_318' -'332','val_332' -'311','val_311' -'275','val_275' -'137','val_137' -'241','val_241' -'83','val_83' -'333','val_333' -'180','val_180' -'284','val_284' -'12','val_12' -'230','val_230' -'181','val_181' -'67','val_67' -'260','val_260' -'404','val_404' -'384','val_384' -'489','val_489' -'353','val_353' -'373','val_373' -'272','val_272' -'138','val_138' -'217','val_217' -'84','val_84' -'348','val_348' -'466','val_466' -'58','val_58' -'8','val_8' -'411','val_411' -'230','val_230' -'208','val_208' -'348','val_348' -'24','val_24' -'463','val_463' -'431','val_431' -'179','val_179' -'172','val_172' -'42','val_42' -'129','val_129' -'158','val_158' -'119','val_119' -'496','val_496' -'0','val_0' -'322','val_322' -'197','val_197' -'468','val_468' -'393','val_393' -'454','val_454' -'100','val_100' -'298','val_298' -'199','val_199' -'191','val_191' -'418','val_418' -'96','val_96' -'26','val_26' -'165','val_165' -'327','val_327' -'230','val_230' -'205','val_205' -'120','val_120' -'131','val_131' -'51','val_51' -'404','val_404' -'43','val_43' -'436','val_436' -'156','val_156' -'469','val_469' -'468','val_468' -'308','val_308' -'95','val_95' -'196','val_196' -'288','val_288' -'481','val_481' -'457','val_457' -'98','val_98' -'282','val_282' -'197','val_197' -'187','val_187' -'318','val_318' -'318','val_318' -'409','val_409' -'470','val_470' -'137','val_137' -'369','val_369' -'316','val_316' -'169','val_169' -'413','val_413' -'85','val_85' -'77','val_77' -'0','val_0' -'490','val_490' -'87','val_87' -'364','val_364' -'179','val_179' -'118','val_118' -'134','val_134' -'395','val_395' -'282','val_282' -'138','val_138' -'238','val_238' -'419','val_419' -'15','val_15' -'118','val_118' -'72','val_72' -'90','val_90' -'307','val_307' -'19','val_19' -'435','val_435' -'10','val_10' -'277','val_277' -'273','val_273' -'306','val_306' -'224','val_224' -'309','val_309' -'389','val_389' -'327','val_327' -'242','val_242' -'369','val_369' -'392','val_392' -'272','val_272' -'331','val_331' -'401','val_401' -'242','val_242' -'452','val_452' -'177','val_177' -'226','val_226' -'5','val_5' -'497','val_497' -'402','val_402' -'396','val_396' -'317','val_317' -'395','val_395' -'58','val_58' -'35','val_35' -'336','val_336' -'95','val_95' -'11','val_11' -'168','val_168' -'34','val_34' -'229','val_229' -'233','val_233' -'143','val_143' -'472','val_472' -'322','val_322' -'498','val_498' -'160','val_160' -'195','val_195' -'42','val_42' -'321','val_321' -'430','val_430' -'119','val_119' -'489','val_489' -'458','val_458' -'78','val_78' -'76','val_76' -'41','val_41' -'223','val_223' -'492','val_492' -'149','val_149' -'449','val_449' -'218','val_218' -'228','val_228' -'138','val_138' -'453','val_453' -'30','val_30' -'209','val_209' -'64','val_64' -'468','val_468' -'76','val_76' -'74','val_74' -'342','val_342' -'69','val_69' -'230','val_230' -'33','val_33' -'368','val_368' -'103','val_103' -'296','val_296' -'113','val_113' -'216','val_216' -'367','val_367' -'344','val_344' -'167','val_167' -'274','val_274' -'219','val_219' -'239','val_239' -'485','val_485' -'116','val_116' -'223','val_223' -'256','val_256' -'263','val_263' -'70','val_70' -'487','val_487' -'480','val_480' -'401','val_401' -'288','val_288' -'191','val_191' -'5','val_5' -'244','val_244' -'438','val_438' -'128','val_128' -'467','val_467' -'432','val_432' -'202','val_202' -'316','val_316' -'229','val_229' -'469','val_469' -'463','val_463' -'280','val_280' -'2','val_2' -'35','val_35' -'283','val_283' -'331','val_331' -'235','val_235' -'80','val_80' -'44','val_44' -'193','val_193' -'321','val_321' -'335','val_335' -'104','val_104' -'466','val_466' -'366','val_366' -'175','val_175' -'403','val_403' -'483','val_483' -'53','val_53' -'105','val_105' -'257','val_257' -'406','val_406' -'409','val_409' -'190','val_190' -'406','val_406' -'401','val_401' -'114','val_114' -'258','val_258' -'90','val_90' -'203','val_203' -'262','val_262' -'348','val_348' -'424','val_424' -'12','val_12' -'396','val_396' -'201','val_201' -'217','val_217' -'164','val_164' -'431','val_431' -'454','val_454' -'478','val_478' -'298','val_298' -'125','val_125' -'431','val_431' -'164','val_164' -'424','val_424' -'187','val_187' -'382','val_382' -'5','val_5' -'70','val_70' -'397','val_397' -'480','val_480' -'291','val_291' -'24','val_24' -'351','val_351' -'255','val_255' -'104','val_104' -'70','val_70' -'163','val_163' -'438','val_438' -'119','val_119' -'414','val_414' -'200','val_200' -'491','val_491' -'237','val_237' -'439','val_439' -'360','val_360' -'248','val_248' -'479','val_479' -'305','val_305' -'417','val_417' -'199','val_199' -'444','val_444' -'120','val_120' -'429','val_429' -'169','val_169' -'443','val_443' -'323','val_323' -'325','val_325' -'277','val_277' -'230','val_230' -'478','val_478' -'178','val_178' -'468','val_468' -'310','val_310' -'317','val_317' -'333','val_333' -'493','val_493' -'460','val_460' -'207','val_207' -'249','val_249' -'265','val_265' -'480','val_480' -'83','val_83' -'136','val_136' -'353','val_353' -'172','val_172' -'214','val_214' -'462','val_462' -'233','val_233' -'406','val_406' -'133','val_133' -'175','val_175' -'189','val_189' -'454','val_454' -'375','val_375' -'401','val_401' -'421','val_421' -'407','val_407' -'384','val_384' -'256','val_256' -'26','val_26' -'134','val_134' -'67','val_67' -'384','val_384' -'379','val_379' -'18','val_18' -'462','val_462' -'492','val_492' -'100','val_100' -'298','val_298' -'9','val_9' -'341','val_341' -'498','val_498' -'146','val_146' -'458','val_458' -'362','val_362' -'186','val_186' -'285','val_285' -'348','val_348' -'167','val_167' -'18','val_18' -'273','val_273' -'183','val_183' -'281','val_281' -'344','val_344' -'97','val_97' -'469','val_469' -'315','val_315' -'84','val_84' -'28','val_28' -'37','val_37' -'448','val_448' -'152','val_152' -'348','val_348' -'307','val_307' -'194','val_194' -'414','val_414' -'477','val_477' -'222','val_222' -'126','val_126' -'90','val_90' -'169','val_169' -'403','val_403' -'400','val_400' -'200','val_200' -'97','val_97' -500 rows selected ->>> ->>> ->>> SELECT key, value FROM src CLUSTER BY (key, value); -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'10','val_10' -'100','val_100' -'100','val_100' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -'105','val_105' -'11','val_11' -'111','val_111' -'113','val_113' -'113','val_113' -'114','val_114' -'116','val_116' -'118','val_118' -'118','val_118' -'119','val_119' -'119','val_119' -'119','val_119' -'12','val_12' -'12','val_12' -'120','val_120' -'120','val_120' -'125','val_125' -'125','val_125' -'126','val_126' -'128','val_128' -'128','val_128' -'128','val_128' -'129','val_129' -'129','val_129' -'131','val_131' -'133','val_133' -'134','val_134' -'134','val_134' -'136','val_136' -'137','val_137' -'137','val_137' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'143','val_143' -'145','val_145' -'146','val_146' -'146','val_146' -'149','val_149' -'149','val_149' -'15','val_15' -'15','val_15' -'150','val_150' -'152','val_152' -'152','val_152' -'153','val_153' -'155','val_155' -'156','val_156' -'157','val_157' -'158','val_158' -'160','val_160' -'162','val_162' -'163','val_163' -'164','val_164' -'164','val_164' -'165','val_165' -'165','val_165' -'166','val_166' -'167','val_167' -'167','val_167' -'167','val_167' -'168','val_168' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'17','val_17' -'170','val_170' -'172','val_172' -'172','val_172' -'174','val_174' -'174','val_174' -'175','val_175' -'175','val_175' -'176','val_176' -'176','val_176' -'177','val_177' -'178','val_178' -'179','val_179' -'179','val_179' -'18','val_18' -'18','val_18' -'180','val_180' -'181','val_181' -'183','val_183' -'186','val_186' -'187','val_187' -'187','val_187' -'187','val_187' -'189','val_189' -'19','val_19' -'190','val_190' -'191','val_191' -'191','val_191' -'192','val_192' -'193','val_193' -'193','val_193' -'193','val_193' -'194','val_194' -'195','val_195' -'195','val_195' -'196','val_196' -'197','val_197' -'197','val_197' -'199','val_199' -'199','val_199' -'199','val_199' -'2','val_2' -'20','val_20' -'200','val_200' -'200','val_200' -'201','val_201' -'202','val_202' -'203','val_203' -'203','val_203' -'205','val_205' -'205','val_205' -'207','val_207' -'207','val_207' -'208','val_208' -'208','val_208' -'208','val_208' -'209','val_209' -'209','val_209' -'213','val_213' -'213','val_213' -'214','val_214' -'216','val_216' -'216','val_216' -'217','val_217' -'217','val_217' -'218','val_218' -'219','val_219' -'219','val_219' -'221','val_221' -'221','val_221' -'222','val_222' -'223','val_223' -'223','val_223' -'224','val_224' -'224','val_224' -'226','val_226' -'228','val_228' -'229','val_229' -'229','val_229' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'233','val_233' -'233','val_233' -'235','val_235' -'237','val_237' -'237','val_237' -'238','val_238' -'238','val_238' -'239','val_239' -'239','val_239' -'24','val_24' -'24','val_24' -'241','val_241' -'242','val_242' -'242','val_242' -'244','val_244' -'247','val_247' -'248','val_248' -'249','val_249' -'252','val_252' -'255','val_255' -'255','val_255' -'256','val_256' -'256','val_256' -'257','val_257' -'258','val_258' -'26','val_26' -'26','val_26' -'260','val_260' -'262','val_262' -'263','val_263' -'265','val_265' -'265','val_265' -'266','val_266' -'27','val_27' -'272','val_272' -'272','val_272' -'273','val_273' -'273','val_273' -'273','val_273' -'274','val_274' -'275','val_275' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'278','val_278' -'278','val_278' -'28','val_28' -'280','val_280' -'280','val_280' -'281','val_281' -'281','val_281' -'282','val_282' -'282','val_282' -'283','val_283' -'284','val_284' -'285','val_285' -'286','val_286' -'287','val_287' -'288','val_288' -'288','val_288' -'289','val_289' -'291','val_291' -'292','val_292' -'296','val_296' -'298','val_298' -'298','val_298' -'298','val_298' -'30','val_30' -'302','val_302' -'305','val_305' -'306','val_306' -'307','val_307' -'307','val_307' -'308','val_308' -'309','val_309' -'309','val_309' -'310','val_310' -'311','val_311' -'311','val_311' -'311','val_311' -'315','val_315' -'316','val_316' -'316','val_316' -'316','val_316' -'317','val_317' -'317','val_317' -'318','val_318' -'318','val_318' -'318','val_318' -'321','val_321' -'321','val_321' -'322','val_322' -'322','val_322' -'323','val_323' -'325','val_325' -'325','val_325' -'327','val_327' -'327','val_327' -'327','val_327' -'33','val_33' -'331','val_331' -'331','val_331' -'332','val_332' -'333','val_333' -'333','val_333' -'335','val_335' -'336','val_336' -'338','val_338' -'339','val_339' -'34','val_34' -'341','val_341' -'342','val_342' -'342','val_342' -'344','val_344' -'344','val_344' -'345','val_345' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'35','val_35' -'35','val_35' -'35','val_35' -'351','val_351' -'353','val_353' -'353','val_353' -'356','val_356' -'360','val_360' -'362','val_362' -'364','val_364' -'365','val_365' -'366','val_366' -'367','val_367' -'367','val_367' -'368','val_368' -'369','val_369' -'369','val_369' -'369','val_369' -'37','val_37' -'37','val_37' -'373','val_373' -'374','val_374' -'375','val_375' -'377','val_377' -'378','val_378' -'379','val_379' -'382','val_382' -'382','val_382' -'384','val_384' -'384','val_384' -'384','val_384' -'386','val_386' -'389','val_389' -'392','val_392' -'393','val_393' -'394','val_394' -'395','val_395' -'395','val_395' -'396','val_396' -'396','val_396' -'396','val_396' -'397','val_397' -'397','val_397' -'399','val_399' -'399','val_399' -'4','val_4' -'400','val_400' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'402','val_402' -'403','val_403' -'403','val_403' -'403','val_403' -'404','val_404' -'404','val_404' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'407','val_407' -'409','val_409' -'409','val_409' -'409','val_409' -'41','val_41' -'411','val_411' -'413','val_413' -'413','val_413' -'414','val_414' -'414','val_414' -'417','val_417' -'417','val_417' -'417','val_417' -'418','val_418' -'419','val_419' -'42','val_42' -'42','val_42' -'421','val_421' -'424','val_424' -'424','val_424' -'427','val_427' -'429','val_429' -'429','val_429' -'43','val_43' -'430','val_430' -'430','val_430' -'430','val_430' -'431','val_431' -'431','val_431' -'431','val_431' -'432','val_432' -'435','val_435' -'436','val_436' -'437','val_437' -'438','val_438' -'438','val_438' -'438','val_438' -'439','val_439' -'439','val_439' -'44','val_44' -'443','val_443' -'444','val_444' -'446','val_446' -'448','val_448' -'449','val_449' -'452','val_452' -'453','val_453' -'454','val_454' -'454','val_454' -'454','val_454' -'455','val_455' -'457','val_457' -'458','val_458' -'458','val_458' -'459','val_459' -'459','val_459' -'460','val_460' -'462','val_462' -'462','val_462' -'463','val_463' -'463','val_463' -'466','val_466' -'466','val_466' -'466','val_466' -'467','val_467' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'47','val_47' -'470','val_470' -'472','val_472' -'475','val_475' -'477','val_477' -'478','val_478' -'478','val_478' -'479','val_479' -'480','val_480' -'480','val_480' -'480','val_480' -'481','val_481' -'482','val_482' -'483','val_483' -'484','val_484' -'485','val_485' -'487','val_487' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'490','val_490' -'491','val_491' -'492','val_492' -'492','val_492' -'493','val_493' -'494','val_494' -'495','val_495' -'496','val_496' -'497','val_497' -'498','val_498' -'498','val_498' -'498','val_498' -'5','val_5' -'5','val_5' -'5','val_5' -'51','val_51' -'51','val_51' -'53','val_53' -'54','val_54' -'57','val_57' -'58','val_58' -'58','val_58' -'64','val_64' -'65','val_65' -'66','val_66' -'67','val_67' -'67','val_67' -'69','val_69' -'70','val_70' -'70','val_70' -'70','val_70' -'72','val_72' -'72','val_72' -'74','val_74' -'76','val_76' -'76','val_76' -'77','val_77' -'78','val_78' -'8','val_8' -'80','val_80' -'82','val_82' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'9','val_9' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'95','val_95' -'95','val_95' -'96','val_96' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -500 rows selected ->>> SELECT key, value FROM src ORDER BY (key ASC, value ASC); -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'10','val_10' -'100','val_100' -'100','val_100' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -'105','val_105' -'11','val_11' -'111','val_111' -'113','val_113' -'113','val_113' -'114','val_114' -'116','val_116' -'118','val_118' -'118','val_118' -'119','val_119' -'119','val_119' -'119','val_119' -'12','val_12' -'12','val_12' -'120','val_120' -'120','val_120' -'125','val_125' -'125','val_125' -'126','val_126' -'128','val_128' -'128','val_128' -'128','val_128' -'129','val_129' -'129','val_129' -'131','val_131' -'133','val_133' -'134','val_134' -'134','val_134' -'136','val_136' -'137','val_137' -'137','val_137' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'143','val_143' -'145','val_145' -'146','val_146' -'146','val_146' -'149','val_149' -'149','val_149' -'15','val_15' -'15','val_15' -'150','val_150' -'152','val_152' -'152','val_152' -'153','val_153' -'155','val_155' -'156','val_156' -'157','val_157' -'158','val_158' -'160','val_160' -'162','val_162' -'163','val_163' -'164','val_164' -'164','val_164' -'165','val_165' -'165','val_165' -'166','val_166' -'167','val_167' -'167','val_167' -'167','val_167' -'168','val_168' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'17','val_17' -'170','val_170' -'172','val_172' -'172','val_172' -'174','val_174' -'174','val_174' -'175','val_175' -'175','val_175' -'176','val_176' -'176','val_176' -'177','val_177' -'178','val_178' -'179','val_179' -'179','val_179' -'18','val_18' -'18','val_18' -'180','val_180' -'181','val_181' -'183','val_183' -'186','val_186' -'187','val_187' -'187','val_187' -'187','val_187' -'189','val_189' -'19','val_19' -'190','val_190' -'191','val_191' -'191','val_191' -'192','val_192' -'193','val_193' -'193','val_193' -'193','val_193' -'194','val_194' -'195','val_195' -'195','val_195' -'196','val_196' -'197','val_197' -'197','val_197' -'199','val_199' -'199','val_199' -'199','val_199' -'2','val_2' -'20','val_20' -'200','val_200' -'200','val_200' -'201','val_201' -'202','val_202' -'203','val_203' -'203','val_203' -'205','val_205' -'205','val_205' -'207','val_207' -'207','val_207' -'208','val_208' -'208','val_208' -'208','val_208' -'209','val_209' -'209','val_209' -'213','val_213' -'213','val_213' -'214','val_214' -'216','val_216' -'216','val_216' -'217','val_217' -'217','val_217' -'218','val_218' -'219','val_219' -'219','val_219' -'221','val_221' -'221','val_221' -'222','val_222' -'223','val_223' -'223','val_223' -'224','val_224' -'224','val_224' -'226','val_226' -'228','val_228' -'229','val_229' -'229','val_229' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'233','val_233' -'233','val_233' -'235','val_235' -'237','val_237' -'237','val_237' -'238','val_238' -'238','val_238' -'239','val_239' -'239','val_239' -'24','val_24' -'24','val_24' -'241','val_241' -'242','val_242' -'242','val_242' -'244','val_244' -'247','val_247' -'248','val_248' -'249','val_249' -'252','val_252' -'255','val_255' -'255','val_255' -'256','val_256' -'256','val_256' -'257','val_257' -'258','val_258' -'26','val_26' -'26','val_26' -'260','val_260' -'262','val_262' -'263','val_263' -'265','val_265' -'265','val_265' -'266','val_266' -'27','val_27' -'272','val_272' -'272','val_272' -'273','val_273' -'273','val_273' -'273','val_273' -'274','val_274' -'275','val_275' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'278','val_278' -'278','val_278' -'28','val_28' -'280','val_280' -'280','val_280' -'281','val_281' -'281','val_281' -'282','val_282' -'282','val_282' -'283','val_283' -'284','val_284' -'285','val_285' -'286','val_286' -'287','val_287' -'288','val_288' -'288','val_288' -'289','val_289' -'291','val_291' -'292','val_292' -'296','val_296' -'298','val_298' -'298','val_298' -'298','val_298' -'30','val_30' -'302','val_302' -'305','val_305' -'306','val_306' -'307','val_307' -'307','val_307' -'308','val_308' -'309','val_309' -'309','val_309' -'310','val_310' -'311','val_311' -'311','val_311' -'311','val_311' -'315','val_315' -'316','val_316' -'316','val_316' -'316','val_316' -'317','val_317' -'317','val_317' -'318','val_318' -'318','val_318' -'318','val_318' -'321','val_321' -'321','val_321' -'322','val_322' -'322','val_322' -'323','val_323' -'325','val_325' -'325','val_325' -'327','val_327' -'327','val_327' -'327','val_327' -'33','val_33' -'331','val_331' -'331','val_331' -'332','val_332' -'333','val_333' -'333','val_333' -'335','val_335' -'336','val_336' -'338','val_338' -'339','val_339' -'34','val_34' -'341','val_341' -'342','val_342' -'342','val_342' -'344','val_344' -'344','val_344' -'345','val_345' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'35','val_35' -'35','val_35' -'35','val_35' -'351','val_351' -'353','val_353' -'353','val_353' -'356','val_356' -'360','val_360' -'362','val_362' -'364','val_364' -'365','val_365' -'366','val_366' -'367','val_367' -'367','val_367' -'368','val_368' -'369','val_369' -'369','val_369' -'369','val_369' -'37','val_37' -'37','val_37' -'373','val_373' -'374','val_374' -'375','val_375' -'377','val_377' -'378','val_378' -'379','val_379' -'382','val_382' -'382','val_382' -'384','val_384' -'384','val_384' -'384','val_384' -'386','val_386' -'389','val_389' -'392','val_392' -'393','val_393' -'394','val_394' -'395','val_395' -'395','val_395' -'396','val_396' -'396','val_396' -'396','val_396' -'397','val_397' -'397','val_397' -'399','val_399' -'399','val_399' -'4','val_4' -'400','val_400' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'402','val_402' -'403','val_403' -'403','val_403' -'403','val_403' -'404','val_404' -'404','val_404' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'407','val_407' -'409','val_409' -'409','val_409' -'409','val_409' -'41','val_41' -'411','val_411' -'413','val_413' -'413','val_413' -'414','val_414' -'414','val_414' -'417','val_417' -'417','val_417' -'417','val_417' -'418','val_418' -'419','val_419' -'42','val_42' -'42','val_42' -'421','val_421' -'424','val_424' -'424','val_424' -'427','val_427' -'429','val_429' -'429','val_429' -'43','val_43' -'430','val_430' -'430','val_430' -'430','val_430' -'431','val_431' -'431','val_431' -'431','val_431' -'432','val_432' -'435','val_435' -'436','val_436' -'437','val_437' -'438','val_438' -'438','val_438' -'438','val_438' -'439','val_439' -'439','val_439' -'44','val_44' -'443','val_443' -'444','val_444' -'446','val_446' -'448','val_448' -'449','val_449' -'452','val_452' -'453','val_453' -'454','val_454' -'454','val_454' -'454','val_454' -'455','val_455' -'457','val_457' -'458','val_458' -'458','val_458' -'459','val_459' -'459','val_459' -'460','val_460' -'462','val_462' -'462','val_462' -'463','val_463' -'463','val_463' -'466','val_466' -'466','val_466' -'466','val_466' -'467','val_467' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'47','val_47' -'470','val_470' -'472','val_472' -'475','val_475' -'477','val_477' -'478','val_478' -'478','val_478' -'479','val_479' -'480','val_480' -'480','val_480' -'480','val_480' -'481','val_481' -'482','val_482' -'483','val_483' -'484','val_484' -'485','val_485' -'487','val_487' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'490','val_490' -'491','val_491' -'492','val_492' -'492','val_492' -'493','val_493' -'494','val_494' -'495','val_495' -'496','val_496' -'497','val_497' -'498','val_498' -'498','val_498' -'498','val_498' -'5','val_5' -'5','val_5' -'5','val_5' -'51','val_51' -'51','val_51' -'53','val_53' -'54','val_54' -'57','val_57' -'58','val_58' -'58','val_58' -'64','val_64' -'65','val_65' -'66','val_66' -'67','val_67' -'67','val_67' -'69','val_69' -'70','val_70' -'70','val_70' -'70','val_70' -'72','val_72' -'72','val_72' -'74','val_74' -'76','val_76' -'76','val_76' -'77','val_77' -'78','val_78' -'8','val_8' -'80','val_80' -'82','val_82' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'9','val_9' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'95','val_95' -'95','val_95' -'96','val_96' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -500 rows selected ->>> SELECT key, value FROM src SORT BY (key, value); -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'10','val_10' -'100','val_100' -'100','val_100' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -'105','val_105' -'11','val_11' -'111','val_111' -'113','val_113' -'113','val_113' -'114','val_114' -'116','val_116' -'118','val_118' -'118','val_118' -'119','val_119' -'119','val_119' -'119','val_119' -'12','val_12' -'12','val_12' -'120','val_120' -'120','val_120' -'125','val_125' -'125','val_125' -'126','val_126' -'128','val_128' -'128','val_128' -'128','val_128' -'129','val_129' -'129','val_129' -'131','val_131' -'133','val_133' -'134','val_134' -'134','val_134' -'136','val_136' -'137','val_137' -'137','val_137' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'143','val_143' -'145','val_145' -'146','val_146' -'146','val_146' -'149','val_149' -'149','val_149' -'15','val_15' -'15','val_15' -'150','val_150' -'152','val_152' -'152','val_152' -'153','val_153' -'155','val_155' -'156','val_156' -'157','val_157' -'158','val_158' -'160','val_160' -'162','val_162' -'163','val_163' -'164','val_164' -'164','val_164' -'165','val_165' -'165','val_165' -'166','val_166' -'167','val_167' -'167','val_167' -'167','val_167' -'168','val_168' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'17','val_17' -'170','val_170' -'172','val_172' -'172','val_172' -'174','val_174' -'174','val_174' -'175','val_175' -'175','val_175' -'176','val_176' -'176','val_176' -'177','val_177' -'178','val_178' -'179','val_179' -'179','val_179' -'18','val_18' -'18','val_18' -'180','val_180' -'181','val_181' -'183','val_183' -'186','val_186' -'187','val_187' -'187','val_187' -'187','val_187' -'189','val_189' -'19','val_19' -'190','val_190' -'191','val_191' -'191','val_191' -'192','val_192' -'193','val_193' -'193','val_193' -'193','val_193' -'194','val_194' -'195','val_195' -'195','val_195' -'196','val_196' -'197','val_197' -'197','val_197' -'199','val_199' -'199','val_199' -'199','val_199' -'2','val_2' -'20','val_20' -'200','val_200' -'200','val_200' -'201','val_201' -'202','val_202' -'203','val_203' -'203','val_203' -'205','val_205' -'205','val_205' -'207','val_207' -'207','val_207' -'208','val_208' -'208','val_208' -'208','val_208' -'209','val_209' -'209','val_209' -'213','val_213' -'213','val_213' -'214','val_214' -'216','val_216' -'216','val_216' -'217','val_217' -'217','val_217' -'218','val_218' -'219','val_219' -'219','val_219' -'221','val_221' -'221','val_221' -'222','val_222' -'223','val_223' -'223','val_223' -'224','val_224' -'224','val_224' -'226','val_226' -'228','val_228' -'229','val_229' -'229','val_229' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'233','val_233' -'233','val_233' -'235','val_235' -'237','val_237' -'237','val_237' -'238','val_238' -'238','val_238' -'239','val_239' -'239','val_239' -'24','val_24' -'24','val_24' -'241','val_241' -'242','val_242' -'242','val_242' -'244','val_244' -'247','val_247' -'248','val_248' -'249','val_249' -'252','val_252' -'255','val_255' -'255','val_255' -'256','val_256' -'256','val_256' -'257','val_257' -'258','val_258' -'26','val_26' -'26','val_26' -'260','val_260' -'262','val_262' -'263','val_263' -'265','val_265' -'265','val_265' -'266','val_266' -'27','val_27' -'272','val_272' -'272','val_272' -'273','val_273' -'273','val_273' -'273','val_273' -'274','val_274' -'275','val_275' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'278','val_278' -'278','val_278' -'28','val_28' -'280','val_280' -'280','val_280' -'281','val_281' -'281','val_281' -'282','val_282' -'282','val_282' -'283','val_283' -'284','val_284' -'285','val_285' -'286','val_286' -'287','val_287' -'288','val_288' -'288','val_288' -'289','val_289' -'291','val_291' -'292','val_292' -'296','val_296' -'298','val_298' -'298','val_298' -'298','val_298' -'30','val_30' -'302','val_302' -'305','val_305' -'306','val_306' -'307','val_307' -'307','val_307' -'308','val_308' -'309','val_309' -'309','val_309' -'310','val_310' -'311','val_311' -'311','val_311' -'311','val_311' -'315','val_315' -'316','val_316' -'316','val_316' -'316','val_316' -'317','val_317' -'317','val_317' -'318','val_318' -'318','val_318' -'318','val_318' -'321','val_321' -'321','val_321' -'322','val_322' -'322','val_322' -'323','val_323' -'325','val_325' -'325','val_325' -'327','val_327' -'327','val_327' -'327','val_327' -'33','val_33' -'331','val_331' -'331','val_331' -'332','val_332' -'333','val_333' -'333','val_333' -'335','val_335' -'336','val_336' -'338','val_338' -'339','val_339' -'34','val_34' -'341','val_341' -'342','val_342' -'342','val_342' -'344','val_344' -'344','val_344' -'345','val_345' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'35','val_35' -'35','val_35' -'35','val_35' -'351','val_351' -'353','val_353' -'353','val_353' -'356','val_356' -'360','val_360' -'362','val_362' -'364','val_364' -'365','val_365' -'366','val_366' -'367','val_367' -'367','val_367' -'368','val_368' -'369','val_369' -'369','val_369' -'369','val_369' -'37','val_37' -'37','val_37' -'373','val_373' -'374','val_374' -'375','val_375' -'377','val_377' -'378','val_378' -'379','val_379' -'382','val_382' -'382','val_382' -'384','val_384' -'384','val_384' -'384','val_384' -'386','val_386' -'389','val_389' -'392','val_392' -'393','val_393' -'394','val_394' -'395','val_395' -'395','val_395' -'396','val_396' -'396','val_396' -'396','val_396' -'397','val_397' -'397','val_397' -'399','val_399' -'399','val_399' -'4','val_4' -'400','val_400' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'402','val_402' -'403','val_403' -'403','val_403' -'403','val_403' -'404','val_404' -'404','val_404' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'407','val_407' -'409','val_409' -'409','val_409' -'409','val_409' -'41','val_41' -'411','val_411' -'413','val_413' -'413','val_413' -'414','val_414' -'414','val_414' -'417','val_417' -'417','val_417' -'417','val_417' -'418','val_418' -'419','val_419' -'42','val_42' -'42','val_42' -'421','val_421' -'424','val_424' -'424','val_424' -'427','val_427' -'429','val_429' -'429','val_429' -'43','val_43' -'430','val_430' -'430','val_430' -'430','val_430' -'431','val_431' -'431','val_431' -'431','val_431' -'432','val_432' -'435','val_435' -'436','val_436' -'437','val_437' -'438','val_438' -'438','val_438' -'438','val_438' -'439','val_439' -'439','val_439' -'44','val_44' -'443','val_443' -'444','val_444' -'446','val_446' -'448','val_448' -'449','val_449' -'452','val_452' -'453','val_453' -'454','val_454' -'454','val_454' -'454','val_454' -'455','val_455' -'457','val_457' -'458','val_458' -'458','val_458' -'459','val_459' -'459','val_459' -'460','val_460' -'462','val_462' -'462','val_462' -'463','val_463' -'463','val_463' -'466','val_466' -'466','val_466' -'466','val_466' -'467','val_467' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'47','val_47' -'470','val_470' -'472','val_472' -'475','val_475' -'477','val_477' -'478','val_478' -'478','val_478' -'479','val_479' -'480','val_480' -'480','val_480' -'480','val_480' -'481','val_481' -'482','val_482' -'483','val_483' -'484','val_484' -'485','val_485' -'487','val_487' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'490','val_490' -'491','val_491' -'492','val_492' -'492','val_492' -'493','val_493' -'494','val_494' -'495','val_495' -'496','val_496' -'497','val_497' -'498','val_498' -'498','val_498' -'498','val_498' -'5','val_5' -'5','val_5' -'5','val_5' -'51','val_51' -'51','val_51' -'53','val_53' -'54','val_54' -'57','val_57' -'58','val_58' -'58','val_58' -'64','val_64' -'65','val_65' -'66','val_66' -'67','val_67' -'67','val_67' -'69','val_69' -'70','val_70' -'70','val_70' -'70','val_70' -'72','val_72' -'72','val_72' -'74','val_74' -'76','val_76' -'76','val_76' -'77','val_77' -'78','val_78' -'8','val_8' -'80','val_80' -'82','val_82' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'9','val_9' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'95','val_95' -'95','val_95' -'96','val_96' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -500 rows selected ->>> SELECT key, value FROM src DISTRIBUTE BY (key, value); -'key','value' -'238','val_238' -'86','val_86' -'311','val_311' -'27','val_27' -'165','val_165' -'409','val_409' -'255','val_255' -'278','val_278' -'98','val_98' -'484','val_484' -'265','val_265' -'193','val_193' -'401','val_401' -'150','val_150' -'273','val_273' -'224','val_224' -'369','val_369' -'66','val_66' -'128','val_128' -'213','val_213' -'146','val_146' -'406','val_406' -'429','val_429' -'374','val_374' -'152','val_152' -'469','val_469' -'145','val_145' -'495','val_495' -'37','val_37' -'327','val_327' -'281','val_281' -'277','val_277' -'209','val_209' -'15','val_15' -'82','val_82' -'403','val_403' -'166','val_166' -'417','val_417' -'430','val_430' -'252','val_252' -'292','val_292' -'219','val_219' -'287','val_287' -'153','val_153' -'193','val_193' -'338','val_338' -'446','val_446' -'459','val_459' -'394','val_394' -'237','val_237' -'482','val_482' -'174','val_174' -'413','val_413' -'494','val_494' -'207','val_207' -'199','val_199' -'466','val_466' -'208','val_208' -'174','val_174' -'399','val_399' -'396','val_396' -'247','val_247' -'417','val_417' -'489','val_489' -'162','val_162' -'377','val_377' -'397','val_397' -'309','val_309' -'365','val_365' -'266','val_266' -'439','val_439' -'342','val_342' -'367','val_367' -'325','val_325' -'167','val_167' -'195','val_195' -'475','val_475' -'17','val_17' -'113','val_113' -'155','val_155' -'203','val_203' -'339','val_339' -'0','val_0' -'455','val_455' -'128','val_128' -'311','val_311' -'316','val_316' -'57','val_57' -'302','val_302' -'205','val_205' -'149','val_149' -'438','val_438' -'345','val_345' -'129','val_129' -'170','val_170' -'20','val_20' -'489','val_489' -'157','val_157' -'378','val_378' -'221','val_221' -'92','val_92' -'111','val_111' -'47','val_47' -'72','val_72' -'4','val_4' -'280','val_280' -'35','val_35' -'427','val_427' -'277','val_277' -'208','val_208' -'356','val_356' -'399','val_399' -'169','val_169' -'382','val_382' -'498','val_498' -'125','val_125' -'386','val_386' -'437','val_437' -'469','val_469' -'192','val_192' -'286','val_286' -'187','val_187' -'176','val_176' -'54','val_54' -'459','val_459' -'51','val_51' -'138','val_138' -'103','val_103' -'239','val_239' -'213','val_213' -'216','val_216' -'430','val_430' -'278','val_278' -'176','val_176' -'289','val_289' -'221','val_221' -'65','val_65' -'318','val_318' -'332','val_332' -'311','val_311' -'275','val_275' -'137','val_137' -'241','val_241' -'83','val_83' -'333','val_333' -'180','val_180' -'284','val_284' -'12','val_12' -'230','val_230' -'181','val_181' -'67','val_67' -'260','val_260' -'404','val_404' -'384','val_384' -'489','val_489' -'353','val_353' -'373','val_373' -'272','val_272' -'138','val_138' -'217','val_217' -'84','val_84' -'348','val_348' -'466','val_466' -'58','val_58' -'8','val_8' -'411','val_411' -'230','val_230' -'208','val_208' -'348','val_348' -'24','val_24' -'463','val_463' -'431','val_431' -'179','val_179' -'172','val_172' -'42','val_42' -'129','val_129' -'158','val_158' -'119','val_119' -'496','val_496' -'0','val_0' -'322','val_322' -'197','val_197' -'468','val_468' -'393','val_393' -'454','val_454' -'100','val_100' -'298','val_298' -'199','val_199' -'191','val_191' -'418','val_418' -'96','val_96' -'26','val_26' -'165','val_165' -'327','val_327' -'230','val_230' -'205','val_205' -'120','val_120' -'131','val_131' -'51','val_51' -'404','val_404' -'43','val_43' -'436','val_436' -'156','val_156' -'469','val_469' -'468','val_468' -'308','val_308' -'95','val_95' -'196','val_196' -'288','val_288' -'481','val_481' -'457','val_457' -'98','val_98' -'282','val_282' -'197','val_197' -'187','val_187' -'318','val_318' -'318','val_318' -'409','val_409' -'470','val_470' -'137','val_137' -'369','val_369' -'316','val_316' -'169','val_169' -'413','val_413' -'85','val_85' -'77','val_77' -'0','val_0' -'490','val_490' -'87','val_87' -'364','val_364' -'179','val_179' -'118','val_118' -'134','val_134' -'395','val_395' -'282','val_282' -'138','val_138' -'238','val_238' -'419','val_419' -'15','val_15' -'118','val_118' -'72','val_72' -'90','val_90' -'307','val_307' -'19','val_19' -'435','val_435' -'10','val_10' -'277','val_277' -'273','val_273' -'306','val_306' -'224','val_224' -'309','val_309' -'389','val_389' -'327','val_327' -'242','val_242' -'369','val_369' -'392','val_392' -'272','val_272' -'331','val_331' -'401','val_401' -'242','val_242' -'452','val_452' -'177','val_177' -'226','val_226' -'5','val_5' -'497','val_497' -'402','val_402' -'396','val_396' -'317','val_317' -'395','val_395' -'58','val_58' -'35','val_35' -'336','val_336' -'95','val_95' -'11','val_11' -'168','val_168' -'34','val_34' -'229','val_229' -'233','val_233' -'143','val_143' -'472','val_472' -'322','val_322' -'498','val_498' -'160','val_160' -'195','val_195' -'42','val_42' -'321','val_321' -'430','val_430' -'119','val_119' -'489','val_489' -'458','val_458' -'78','val_78' -'76','val_76' -'41','val_41' -'223','val_223' -'492','val_492' -'149','val_149' -'449','val_449' -'218','val_218' -'228','val_228' -'138','val_138' -'453','val_453' -'30','val_30' -'209','val_209' -'64','val_64' -'468','val_468' -'76','val_76' -'74','val_74' -'342','val_342' -'69','val_69' -'230','val_230' -'33','val_33' -'368','val_368' -'103','val_103' -'296','val_296' -'113','val_113' -'216','val_216' -'367','val_367' -'344','val_344' -'167','val_167' -'274','val_274' -'219','val_219' -'239','val_239' -'485','val_485' -'116','val_116' -'223','val_223' -'256','val_256' -'263','val_263' -'70','val_70' -'487','val_487' -'480','val_480' -'401','val_401' -'288','val_288' -'191','val_191' -'5','val_5' -'244','val_244' -'438','val_438' -'128','val_128' -'467','val_467' -'432','val_432' -'202','val_202' -'316','val_316' -'229','val_229' -'469','val_469' -'463','val_463' -'280','val_280' -'2','val_2' -'35','val_35' -'283','val_283' -'331','val_331' -'235','val_235' -'80','val_80' -'44','val_44' -'193','val_193' -'321','val_321' -'335','val_335' -'104','val_104' -'466','val_466' -'366','val_366' -'175','val_175' -'403','val_403' -'483','val_483' -'53','val_53' -'105','val_105' -'257','val_257' -'406','val_406' -'409','val_409' -'190','val_190' -'406','val_406' -'401','val_401' -'114','val_114' -'258','val_258' -'90','val_90' -'203','val_203' -'262','val_262' -'348','val_348' -'424','val_424' -'12','val_12' -'396','val_396' -'201','val_201' -'217','val_217' -'164','val_164' -'431','val_431' -'454','val_454' -'478','val_478' -'298','val_298' -'125','val_125' -'431','val_431' -'164','val_164' -'424','val_424' -'187','val_187' -'382','val_382' -'5','val_5' -'70','val_70' -'397','val_397' -'480','val_480' -'291','val_291' -'24','val_24' -'351','val_351' -'255','val_255' -'104','val_104' -'70','val_70' -'163','val_163' -'438','val_438' -'119','val_119' -'414','val_414' -'200','val_200' -'491','val_491' -'237','val_237' -'439','val_439' -'360','val_360' -'248','val_248' -'479','val_479' -'305','val_305' -'417','val_417' -'199','val_199' -'444','val_444' -'120','val_120' -'429','val_429' -'169','val_169' -'443','val_443' -'323','val_323' -'325','val_325' -'277','val_277' -'230','val_230' -'478','val_478' -'178','val_178' -'468','val_468' -'310','val_310' -'317','val_317' -'333','val_333' -'493','val_493' -'460','val_460' -'207','val_207' -'249','val_249' -'265','val_265' -'480','val_480' -'83','val_83' -'136','val_136' -'353','val_353' -'172','val_172' -'214','val_214' -'462','val_462' -'233','val_233' -'406','val_406' -'133','val_133' -'175','val_175' -'189','val_189' -'454','val_454' -'375','val_375' -'401','val_401' -'421','val_421' -'407','val_407' -'384','val_384' -'256','val_256' -'26','val_26' -'134','val_134' -'67','val_67' -'384','val_384' -'379','val_379' -'18','val_18' -'462','val_462' -'492','val_492' -'100','val_100' -'298','val_298' -'9','val_9' -'341','val_341' -'498','val_498' -'146','val_146' -'458','val_458' -'362','val_362' -'186','val_186' -'285','val_285' -'348','val_348' -'167','val_167' -'18','val_18' -'273','val_273' -'183','val_183' -'281','val_281' -'344','val_344' -'97','val_97' -'469','val_469' -'315','val_315' -'84','val_84' -'28','val_28' -'37','val_37' -'448','val_448' -'152','val_152' -'348','val_348' -'307','val_307' -'194','val_194' -'414','val_414' -'477','val_477' -'222','val_222' -'126','val_126' -'90','val_90' -'169','val_169' -'403','val_403' -'400','val_400' -'200','val_200' -'97','val_97' -500 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/part_inherit_tbl_props.q.out ql/src/test/results/beelinepositive/part_inherit_tbl_props.q.out deleted file mode 100644 index 0b7ba0e..0000000 --- ql/src/test/results/beelinepositive/part_inherit_tbl_props.q.out +++ /dev/null @@ -1,48 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/part_inherit_tbl_props.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/part_inherit_tbl_props.q ->>> set hive.metastore.partition.inherit.table.properties=a,b; -No rows affected ->>> -- The property needs to be unset at the end of the test till HIVE-3109/HIVE-3112 is fixed ->>> ->>> create table mytbl (c1 tinyint) partitioned by (c2 string) tblproperties ('a'='myval','b'='yourval','c'='noval'); -No rows affected ->>> alter table mytbl add partition (c2 = 'v1'); -No rows affected ->>> describe formatted mytbl partition (c2='v1'); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'c1 ','tinyint ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'c2 ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[v1] ','' -'Database: ','part_inherit_tbl_props','' -'Table: ','mytbl ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/part_inherit_tbl_props.db/mytbl/c2=v1','' -'Partition Parameters:','','' -'','a ','myval ' -'','b ','yourval ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -32 rows selected ->>> ->>> set hive.metastore.partition.inherit.table.properties=; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/part_inherit_tbl_props_empty.q.out ql/src/test/results/beelinepositive/part_inherit_tbl_props_empty.q.out deleted file mode 100644 index fa45c0c..0000000 --- ql/src/test/results/beelinepositive/part_inherit_tbl_props_empty.q.out +++ /dev/null @@ -1,41 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/part_inherit_tbl_props_empty.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/part_inherit_tbl_props_empty.q ->>> set hive.metastore.partition.inherit.table.properties=""; -No rows affected ->>> create table mytbl (c1 tinyint) partitioned by (c2 string) tblproperties ('a'='myval','b'='yourval','c'='noval'); -No rows affected ->>> alter table mytbl add partition (c2 = 'v1'); -No rows affected ->>> describe formatted mytbl partition (c2='v1'); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'c1 ','tinyint ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'c2 ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[v1] ','' -'Database: ','part_inherit_tbl_props_empty','' -'Table: ','mytbl ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/part_inherit_tbl_props_empty.db/mytbl/c2=v1','' -'Partition Parameters:','','' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -30 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/part_inherit_tbl_props_with_star.q.out ql/src/test/results/beelinepositive/part_inherit_tbl_props_with_star.q.out deleted file mode 100644 index b6d964e..0000000 --- ql/src/test/results/beelinepositive/part_inherit_tbl_props_with_star.q.out +++ /dev/null @@ -1,49 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/part_inherit_tbl_props_with_star.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/part_inherit_tbl_props_with_star.q ->>> set hive.metastore.partition.inherit.table.properties=key1,*; -No rows affected ->>> -- The property needs to be unset at the end of the test till HIVE-3109/HIVE-3112 is fixed ->>> ->>> create table mytbl (c1 tinyint) partitioned by (c2 string) tblproperties ('a'='myval','b'='yourval','c'='noval'); -No rows affected ->>> alter table mytbl add partition (c2 = 'v1'); -No rows affected ->>> describe formatted mytbl partition (c2='v1'); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'c1 ','tinyint ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'c2 ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[v1] ','' -'Database: ','part_inherit_tbl_props_with_star','' -'Table: ','mytbl ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/part_inherit_tbl_props_with_star.db/mytbl/c2=v1','' -'Partition Parameters:','','' -'','a ','myval ' -'','b ','yourval ' -'','c ','noval ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -33 rows selected ->>> ->>> set hive.metastore.partition.inherit.table.properties=; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/partcols1.q.out ql/src/test/results/beelinepositive/partcols1.q.out deleted file mode 100644 index 5422bfb..0000000 --- ql/src/test/results/beelinepositive/partcols1.q.out +++ /dev/null @@ -1,36 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/partcols1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/partcols1.q ->>> ->>> create table test1(col1 string) partitioned by (partitionId int); -No rows affected ->>> insert overwrite table test1 partition (partitionId=1) -select key from src limit 10; -'key' -No rows selected ->>> ->>> FROM ( -FROM test1 -SELECT partitionId, 111 as col2, 222 as col3, 333 as col4 -WHERE partitionId = 1 -DISTRIBUTE BY partitionId -SORT BY partitionId -) b - -SELECT TRANSFORM( -b.partitionId,b.col2,b.col3,b.col4 -) - -USING 'cat' as (a,b,c,d); -'a','b','c','d' -'1','111','222','333' -'1','111','222','333' -'1','111','222','333' -'1','111','222','333' -'1','111','222','333' -'1','111','222','333' -'1','111','222','333' -'1','111','222','333' -'1','111','222','333' -'1','111','222','333' -10 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/partition_schema1.q.out ql/src/test/results/beelinepositive/partition_schema1.q.out deleted file mode 100644 index 8017a6f..0000000 --- ql/src/test/results/beelinepositive/partition_schema1.q.out +++ /dev/null @@ -1,35 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/partition_schema1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/partition_schema1.q ->>> ->>> create table partition_schema1(key string, value string) partitioned by (dt string); -No rows affected ->>> ->>> insert overwrite table partition_schema1 partition(dt='100') select * from src1; -'key','value' -No rows selected ->>> desc partition_schema1 partition(dt='100'); -'col_name','data_type','comment' -'key','string','' -'value','string','' -'dt','string','' -3 rows selected ->>> ->>> alter table partition_schema1 add columns (x string); -No rows affected ->>> ->>> desc partition_schema1; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'x','string','' -'dt','string','' -4 rows selected ->>> desc partition_schema1 partition (dt='100'); -'col_name','data_type','comment' -'key','string','' -'value','string','' -'dt','string','' -3 rows selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/partition_serde_format.q.out ql/src/test/results/beelinepositive/partition_serde_format.q.out deleted file mode 100644 index 80561a4..0000000 --- ql/src/test/results/beelinepositive/partition_serde_format.q.out +++ /dev/null @@ -1,33 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/partition_serde_format.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/partition_serde_format.q ->>> create table src_part_serde (key int, value string) partitioned by (ds string) stored as sequencefile; -No rows affected ->>> insert overwrite table src_part_serde partition (ds='2011') select * from src; -'_col0','_col1' -No rows selected ->>> alter table src_part_serde set serde 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' with SERDEPROPERTIES ('serialization.format'='\t'); -No rows affected ->>> select key, value from src_part_serde where ds='2011' order by key, value limit 20; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'2','val_2' -'4','val_4' -'5','val_5' -'5','val_5' -'5','val_5' -'8','val_8' -'9','val_9' -'10','val_10' -'11','val_11' -'12','val_12' -'12','val_12' -'15','val_15' -'15','val_15' -'17','val_17' -'18','val_18' -'18','val_18' -'19','val_19' -20 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/partition_special_char.q.out ql/src/test/results/beelinepositive/partition_special_char.q.out deleted file mode 100644 index 5eef795..0000000 --- ql/src/test/results/beelinepositive/partition_special_char.q.out +++ /dev/null @@ -1,47 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/partition_special_char.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/partition_special_char.q ->>> create table sc as select * -from (select '2011-01-11', '2011-01-11+14:18:26' from src limit 1 -union all -select '2011-01-11', '2011-01-11+15:18:26' from src limit 1 -union all -select '2011-01-11', '2011-01-11+16:18:26' from src limit 1 ) s; -'_c0','_c1' -No rows selected ->>> ->>> create table sc_part (key string) partitioned by (ts string) stored as rcfile; -No rows affected ->>> ->>> set hive.exec.dynamic.partition=true; -No rows affected ->>> set hive.exec.dynamic.partition.mode=nonstrict; -No rows affected ->>> ->>> insert overwrite table sc_part partition(ts) select * from sc; -'_c0','_c1' -No rows selected ->>> show partitions sc_part; -'partition' -'ts=2011-01-11+14%3A18%3A26' -'ts=2011-01-11+15%3A18%3A26' -'ts=2011-01-11+16%3A18%3A26' -3 rows selected ->>> select count(*) from sc_part where ts is not null; -'_c0' -'3' -1 row selected ->>> ->>> insert overwrite table sc_part partition(ts) select * from sc; -'_c0','_c1' -No rows selected ->>> show partitions sc_part; -'partition' -'ts=2011-01-11+14%3A18%3A26' -'ts=2011-01-11+15%3A18%3A26' -'ts=2011-01-11+16%3A18%3A26' -3 rows selected ->>> select count(*) from sc_part where ts is not null; -'_c0' -'3' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/partition_vs_table_metadata.q.out ql/src/test/results/beelinepositive/partition_vs_table_metadata.q.out deleted file mode 100644 index 6178567..0000000 --- ql/src/test/results/beelinepositive/partition_vs_table_metadata.q.out +++ /dev/null @@ -1,1024 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/partition_vs_table_metadata.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/partition_vs_table_metadata.q ->>> ->>> ->>> create table partition_vs_table(key string, value string) partitioned by (ds string); -No rows affected ->>> ->>> insert overwrite table partition_vs_table partition(ds='100') select key, value from src; -'key','value' -No rows selected ->>> ->>> alter table partition_vs_table add columns (newcol string); -No rows affected ->>> ->>> insert overwrite table partition_vs_table partition(ds='101') select key, value, key from src; -'key','value','key' -No rows selected ->>> ->>> select key, value, newcol from partition_vs_table -order by key, value, newcol; -'key','value','newcol' -'0','val_0','' -'0','val_0','' -'0','val_0','' -'0','val_0','0' -'0','val_0','0' -'0','val_0','0' -'10','val_10','' -'10','val_10','10' -'100','val_100','' -'100','val_100','' -'100','val_100','100' -'100','val_100','100' -'103','val_103','' -'103','val_103','' -'103','val_103','103' -'103','val_103','103' -'104','val_104','' -'104','val_104','' -'104','val_104','104' -'104','val_104','104' -'105','val_105','' -'105','val_105','105' -'11','val_11','' -'11','val_11','11' -'111','val_111','' -'111','val_111','111' -'113','val_113','' -'113','val_113','' -'113','val_113','113' -'113','val_113','113' -'114','val_114','' -'114','val_114','114' -'116','val_116','' -'116','val_116','116' -'118','val_118','' -'118','val_118','' -'118','val_118','118' -'118','val_118','118' -'119','val_119','' -'119','val_119','' -'119','val_119','' -'119','val_119','119' -'119','val_119','119' -'119','val_119','119' -'12','val_12','' -'12','val_12','' -'12','val_12','12' -'12','val_12','12' -'120','val_120','' -'120','val_120','' -'120','val_120','120' -'120','val_120','120' -'125','val_125','' -'125','val_125','' -'125','val_125','125' -'125','val_125','125' -'126','val_126','' -'126','val_126','126' -'128','val_128','' -'128','val_128','' -'128','val_128','' -'128','val_128','128' -'128','val_128','128' -'128','val_128','128' -'129','val_129','' -'129','val_129','' -'129','val_129','129' -'129','val_129','129' -'131','val_131','' -'131','val_131','131' -'133','val_133','' -'133','val_133','133' -'134','val_134','' -'134','val_134','' -'134','val_134','134' -'134','val_134','134' -'136','val_136','' -'136','val_136','136' -'137','val_137','' -'137','val_137','' -'137','val_137','137' -'137','val_137','137' -'138','val_138','' -'138','val_138','' -'138','val_138','' -'138','val_138','' -'138','val_138','138' -'138','val_138','138' -'138','val_138','138' -'138','val_138','138' -'143','val_143','' -'143','val_143','143' -'145','val_145','' -'145','val_145','145' -'146','val_146','' -'146','val_146','' -'146','val_146','146' -'146','val_146','146' -'149','val_149','' -'149','val_149','' -'149','val_149','149' -'149','val_149','149' -'15','val_15','' -'15','val_15','' -'15','val_15','15' -'15','val_15','15' -'150','val_150','' -'150','val_150','150' -'152','val_152','' -'152','val_152','' -'152','val_152','152' -'152','val_152','152' -'153','val_153','' -'153','val_153','153' -'155','val_155','' -'155','val_155','155' -'156','val_156','' -'156','val_156','156' -'157','val_157','' -'157','val_157','157' -'158','val_158','' -'158','val_158','158' -'160','val_160','' -'160','val_160','160' -'162','val_162','' -'162','val_162','162' -'163','val_163','' -'163','val_163','163' -'164','val_164','' -'164','val_164','' -'164','val_164','164' -'164','val_164','164' -'165','val_165','' -'165','val_165','' -'165','val_165','165' -'165','val_165','165' -'166','val_166','' -'166','val_166','166' -'167','val_167','' -'167','val_167','' -'167','val_167','' -'167','val_167','167' -'167','val_167','167' -'167','val_167','167' -'168','val_168','' -'168','val_168','168' -'169','val_169','' -'169','val_169','' -'169','val_169','' -'169','val_169','' -'169','val_169','169' -'169','val_169','169' -'169','val_169','169' -'169','val_169','169' -'17','val_17','' -'17','val_17','17' -'170','val_170','' -'170','val_170','170' -'172','val_172','' -'172','val_172','' -'172','val_172','172' -'172','val_172','172' -'174','val_174','' -'174','val_174','' -'174','val_174','174' -'174','val_174','174' -'175','val_175','' -'175','val_175','' -'175','val_175','175' -'175','val_175','175' -'176','val_176','' -'176','val_176','' -'176','val_176','176' -'176','val_176','176' -'177','val_177','' -'177','val_177','177' -'178','val_178','' -'178','val_178','178' -'179','val_179','' -'179','val_179','' -'179','val_179','179' -'179','val_179','179' -'18','val_18','' -'18','val_18','' -'18','val_18','18' -'18','val_18','18' -'180','val_180','' -'180','val_180','180' -'181','val_181','' -'181','val_181','181' -'183','val_183','' -'183','val_183','183' -'186','val_186','' -'186','val_186','186' -'187','val_187','' -'187','val_187','' -'187','val_187','' -'187','val_187','187' -'187','val_187','187' -'187','val_187','187' -'189','val_189','' -'189','val_189','189' -'19','val_19','' -'19','val_19','19' -'190','val_190','' -'190','val_190','190' -'191','val_191','' -'191','val_191','' -'191','val_191','191' -'191','val_191','191' -'192','val_192','' -'192','val_192','192' -'193','val_193','' -'193','val_193','' -'193','val_193','' -'193','val_193','193' -'193','val_193','193' -'193','val_193','193' -'194','val_194','' -'194','val_194','194' -'195','val_195','' -'195','val_195','' -'195','val_195','195' -'195','val_195','195' -'196','val_196','' -'196','val_196','196' -'197','val_197','' -'197','val_197','' -'197','val_197','197' -'197','val_197','197' -'199','val_199','' -'199','val_199','' -'199','val_199','' -'199','val_199','199' -'199','val_199','199' -'199','val_199','199' -'2','val_2','' -'2','val_2','2' -'20','val_20','' -'20','val_20','20' -'200','val_200','' -'200','val_200','' -'200','val_200','200' -'200','val_200','200' -'201','val_201','' -'201','val_201','201' -'202','val_202','' -'202','val_202','202' -'203','val_203','' -'203','val_203','' -'203','val_203','203' -'203','val_203','203' -'205','val_205','' -'205','val_205','' -'205','val_205','205' -'205','val_205','205' -'207','val_207','' -'207','val_207','' -'207','val_207','207' -'207','val_207','207' -'208','val_208','' -'208','val_208','' -'208','val_208','' -'208','val_208','208' -'208','val_208','208' -'208','val_208','208' -'209','val_209','' -'209','val_209','' -'209','val_209','209' -'209','val_209','209' -'213','val_213','' -'213','val_213','' -'213','val_213','213' -'213','val_213','213' -'214','val_214','' -'214','val_214','214' -'216','val_216','' -'216','val_216','' -'216','val_216','216' -'216','val_216','216' -'217','val_217','' -'217','val_217','' -'217','val_217','217' -'217','val_217','217' -'218','val_218','' -'218','val_218','218' -'219','val_219','' -'219','val_219','' -'219','val_219','219' -'219','val_219','219' -'221','val_221','' -'221','val_221','' -'221','val_221','221' -'221','val_221','221' -'222','val_222','' -'222','val_222','222' -'223','val_223','' -'223','val_223','' -'223','val_223','223' -'223','val_223','223' -'224','val_224','' -'224','val_224','' -'224','val_224','224' -'224','val_224','224' -'226','val_226','' -'226','val_226','226' -'228','val_228','' -'228','val_228','228' -'229','val_229','' -'229','val_229','' -'229','val_229','229' -'229','val_229','229' -'230','val_230','' -'230','val_230','' -'230','val_230','' -'230','val_230','' -'230','val_230','' -'230','val_230','230' -'230','val_230','230' -'230','val_230','230' -'230','val_230','230' -'230','val_230','230' -'233','val_233','' -'233','val_233','' -'233','val_233','233' -'233','val_233','233' -'235','val_235','' -'235','val_235','235' -'237','val_237','' -'237','val_237','' -'237','val_237','237' -'237','val_237','237' -'238','val_238','' -'238','val_238','' -'238','val_238','238' -'238','val_238','238' -'239','val_239','' -'239','val_239','' -'239','val_239','239' -'239','val_239','239' -'24','val_24','' -'24','val_24','' -'24','val_24','24' -'24','val_24','24' -'241','val_241','' -'241','val_241','241' -'242','val_242','' -'242','val_242','' -'242','val_242','242' -'242','val_242','242' -'244','val_244','' -'244','val_244','244' -'247','val_247','' -'247','val_247','247' -'248','val_248','' -'248','val_248','248' -'249','val_249','' -'249','val_249','249' -'252','val_252','' -'252','val_252','252' -'255','val_255','' -'255','val_255','' -'255','val_255','255' -'255','val_255','255' -'256','val_256','' -'256','val_256','' -'256','val_256','256' -'256','val_256','256' -'257','val_257','' -'257','val_257','257' -'258','val_258','' -'258','val_258','258' -'26','val_26','' -'26','val_26','' -'26','val_26','26' -'26','val_26','26' -'260','val_260','' -'260','val_260','260' -'262','val_262','' -'262','val_262','262' -'263','val_263','' -'263','val_263','263' -'265','val_265','' -'265','val_265','' -'265','val_265','265' -'265','val_265','265' -'266','val_266','' -'266','val_266','266' -'27','val_27','' -'27','val_27','27' -'272','val_272','' -'272','val_272','' -'272','val_272','272' -'272','val_272','272' -'273','val_273','' -'273','val_273','' -'273','val_273','' -'273','val_273','273' -'273','val_273','273' -'273','val_273','273' -'274','val_274','' -'274','val_274','274' -'275','val_275','' -'275','val_275','275' -'277','val_277','' -'277','val_277','' -'277','val_277','' -'277','val_277','' -'277','val_277','277' -'277','val_277','277' -'277','val_277','277' -'277','val_277','277' -'278','val_278','' -'278','val_278','' -'278','val_278','278' -'278','val_278','278' -'28','val_28','' -'28','val_28','28' -'280','val_280','' -'280','val_280','' -'280','val_280','280' -'280','val_280','280' -'281','val_281','' -'281','val_281','' -'281','val_281','281' -'281','val_281','281' -'282','val_282','' -'282','val_282','' -'282','val_282','282' -'282','val_282','282' -'283','val_283','' -'283','val_283','283' -'284','val_284','' -'284','val_284','284' -'285','val_285','' -'285','val_285','285' -'286','val_286','' -'286','val_286','286' -'287','val_287','' -'287','val_287','287' -'288','val_288','' -'288','val_288','' -'288','val_288','288' -'288','val_288','288' -'289','val_289','' -'289','val_289','289' -'291','val_291','' -'291','val_291','291' -'292','val_292','' -'292','val_292','292' -'296','val_296','' -'296','val_296','296' -'298','val_298','' -'298','val_298','' -'298','val_298','' -'298','val_298','298' -'298','val_298','298' -'298','val_298','298' -'30','val_30','' -'30','val_30','30' -'302','val_302','' -'302','val_302','302' -'305','val_305','' -'305','val_305','305' -'306','val_306','' -'306','val_306','306' -'307','val_307','' -'307','val_307','' -'307','val_307','307' -'307','val_307','307' -'308','val_308','' -'308','val_308','308' -'309','val_309','' -'309','val_309','' -'309','val_309','309' -'309','val_309','309' -'310','val_310','' -'310','val_310','310' -'311','val_311','' -'311','val_311','' -'311','val_311','' -'311','val_311','311' -'311','val_311','311' -'311','val_311','311' -'315','val_315','' -'315','val_315','315' -'316','val_316','' -'316','val_316','' -'316','val_316','' -'316','val_316','316' -'316','val_316','316' -'316','val_316','316' -'317','val_317','' -'317','val_317','' -'317','val_317','317' -'317','val_317','317' -'318','val_318','' -'318','val_318','' -'318','val_318','' -'318','val_318','318' -'318','val_318','318' -'318','val_318','318' -'321','val_321','' -'321','val_321','' -'321','val_321','321' -'321','val_321','321' -'322','val_322','' -'322','val_322','' -'322','val_322','322' -'322','val_322','322' -'323','val_323','' -'323','val_323','323' -'325','val_325','' -'325','val_325','' -'325','val_325','325' -'325','val_325','325' -'327','val_327','' -'327','val_327','' -'327','val_327','' -'327','val_327','327' -'327','val_327','327' -'327','val_327','327' -'33','val_33','' -'33','val_33','33' -'331','val_331','' -'331','val_331','' -'331','val_331','331' -'331','val_331','331' -'332','val_332','' -'332','val_332','332' -'333','val_333','' -'333','val_333','' -'333','val_333','333' -'333','val_333','333' -'335','val_335','' -'335','val_335','335' -'336','val_336','' -'336','val_336','336' -'338','val_338','' -'338','val_338','338' -'339','val_339','' -'339','val_339','339' -'34','val_34','' -'34','val_34','34' -'341','val_341','' -'341','val_341','341' -'342','val_342','' -'342','val_342','' -'342','val_342','342' -'342','val_342','342' -'344','val_344','' -'344','val_344','' -'344','val_344','344' -'344','val_344','344' -'345','val_345','' -'345','val_345','345' -'348','val_348','' -'348','val_348','' -'348','val_348','' -'348','val_348','' -'348','val_348','' -'348','val_348','348' -'348','val_348','348' -'348','val_348','348' -'348','val_348','348' -'348','val_348','348' -'35','val_35','' -'35','val_35','' -'35','val_35','' -'35','val_35','35' -'35','val_35','35' -'35','val_35','35' -'351','val_351','' -'351','val_351','351' -'353','val_353','' -'353','val_353','' -'353','val_353','353' -'353','val_353','353' -'356','val_356','' -'356','val_356','356' -'360','val_360','' -'360','val_360','360' -'362','val_362','' -'362','val_362','362' -'364','val_364','' -'364','val_364','364' -'365','val_365','' -'365','val_365','365' -'366','val_366','' -'366','val_366','366' -'367','val_367','' -'367','val_367','' -'367','val_367','367' -'367','val_367','367' -'368','val_368','' -'368','val_368','368' -'369','val_369','' -'369','val_369','' -'369','val_369','' -'369','val_369','369' -'369','val_369','369' -'369','val_369','369' -'37','val_37','' -'37','val_37','' -'37','val_37','37' -'37','val_37','37' -'373','val_373','' -'373','val_373','373' -'374','val_374','' -'374','val_374','374' -'375','val_375','' -'375','val_375','375' -'377','val_377','' -'377','val_377','377' -'378','val_378','' -'378','val_378','378' -'379','val_379','' -'379','val_379','379' -'382','val_382','' -'382','val_382','' -'382','val_382','382' -'382','val_382','382' -'384','val_384','' -'384','val_384','' -'384','val_384','' -'384','val_384','384' -'384','val_384','384' -'384','val_384','384' -'386','val_386','' -'386','val_386','386' -'389','val_389','' -'389','val_389','389' -'392','val_392','' -'392','val_392','392' -'393','val_393','' -'393','val_393','393' -'394','val_394','' -'394','val_394','394' -'395','val_395','' -'395','val_395','' -'395','val_395','395' -'395','val_395','395' -'396','val_396','' -'396','val_396','' -'396','val_396','' -'396','val_396','396' -'396','val_396','396' -'396','val_396','396' -'397','val_397','' -'397','val_397','' -'397','val_397','397' -'397','val_397','397' -'399','val_399','' -'399','val_399','' -'399','val_399','399' -'399','val_399','399' -'4','val_4','' -'4','val_4','4' -'400','val_400','' -'400','val_400','400' -'401','val_401','' -'401','val_401','' -'401','val_401','' -'401','val_401','' -'401','val_401','' -'401','val_401','401' -'401','val_401','401' -'401','val_401','401' -'401','val_401','401' -'401','val_401','401' -'402','val_402','' -'402','val_402','402' -'403','val_403','' -'403','val_403','' -'403','val_403','' -'403','val_403','403' -'403','val_403','403' -'403','val_403','403' -'404','val_404','' -'404','val_404','' -'404','val_404','404' -'404','val_404','404' -'406','val_406','' -'406','val_406','' -'406','val_406','' -'406','val_406','' -'406','val_406','406' -'406','val_406','406' -'406','val_406','406' -'406','val_406','406' -'407','val_407','' -'407','val_407','407' -'409','val_409','' -'409','val_409','' -'409','val_409','' -'409','val_409','409' -'409','val_409','409' -'409','val_409','409' -'41','val_41','' -'41','val_41','41' -'411','val_411','' -'411','val_411','411' -'413','val_413','' -'413','val_413','' -'413','val_413','413' -'413','val_413','413' -'414','val_414','' -'414','val_414','' -'414','val_414','414' -'414','val_414','414' -'417','val_417','' -'417','val_417','' -'417','val_417','' -'417','val_417','417' -'417','val_417','417' -'417','val_417','417' -'418','val_418','' -'418','val_418','418' -'419','val_419','' -'419','val_419','419' -'42','val_42','' -'42','val_42','' -'42','val_42','42' -'42','val_42','42' -'421','val_421','' -'421','val_421','421' -'424','val_424','' -'424','val_424','' -'424','val_424','424' -'424','val_424','424' -'427','val_427','' -'427','val_427','427' -'429','val_429','' -'429','val_429','' -'429','val_429','429' -'429','val_429','429' -'43','val_43','' -'43','val_43','43' -'430','val_430','' -'430','val_430','' -'430','val_430','' -'430','val_430','430' -'430','val_430','430' -'430','val_430','430' -'431','val_431','' -'431','val_431','' -'431','val_431','' -'431','val_431','431' -'431','val_431','431' -'431','val_431','431' -'432','val_432','' -'432','val_432','432' -'435','val_435','' -'435','val_435','435' -'436','val_436','' -'436','val_436','436' -'437','val_437','' -'437','val_437','437' -'438','val_438','' -'438','val_438','' -'438','val_438','' -'438','val_438','438' -'438','val_438','438' -'438','val_438','438' -'439','val_439','' -'439','val_439','' -'439','val_439','439' -'439','val_439','439' -'44','val_44','' -'44','val_44','44' -'443','val_443','' -'443','val_443','443' -'444','val_444','' -'444','val_444','444' -'446','val_446','' -'446','val_446','446' -'448','val_448','' -'448','val_448','448' -'449','val_449','' -'449','val_449','449' -'452','val_452','' -'452','val_452','452' -'453','val_453','' -'453','val_453','453' -'454','val_454','' -'454','val_454','' -'454','val_454','' -'454','val_454','454' -'454','val_454','454' -'454','val_454','454' -'455','val_455','' -'455','val_455','455' -'457','val_457','' -'457','val_457','457' -'458','val_458','' -'458','val_458','' -'458','val_458','458' -'458','val_458','458' -'459','val_459','' -'459','val_459','' -'459','val_459','459' -'459','val_459','459' -'460','val_460','' -'460','val_460','460' -'462','val_462','' -'462','val_462','' -'462','val_462','462' -'462','val_462','462' -'463','val_463','' -'463','val_463','' -'463','val_463','463' -'463','val_463','463' -'466','val_466','' -'466','val_466','' -'466','val_466','' -'466','val_466','466' -'466','val_466','466' -'466','val_466','466' -'467','val_467','' -'467','val_467','467' -'468','val_468','' -'468','val_468','' -'468','val_468','' -'468','val_468','' -'468','val_468','468' -'468','val_468','468' -'468','val_468','468' -'468','val_468','468' -'469','val_469','' -'469','val_469','' -'469','val_469','' -'469','val_469','' -'469','val_469','' -'469','val_469','469' -'469','val_469','469' -'469','val_469','469' -'469','val_469','469' -'469','val_469','469' -'47','val_47','' -'47','val_47','47' -'470','val_470','' -'470','val_470','470' -'472','val_472','' -'472','val_472','472' -'475','val_475','' -'475','val_475','475' -'477','val_477','' -'477','val_477','477' -'478','val_478','' -'478','val_478','' -'478','val_478','478' -'478','val_478','478' -'479','val_479','' -'479','val_479','479' -'480','val_480','' -'480','val_480','' -'480','val_480','' -'480','val_480','480' -'480','val_480','480' -'480','val_480','480' -'481','val_481','' -'481','val_481','481' -'482','val_482','' -'482','val_482','482' -'483','val_483','' -'483','val_483','483' -'484','val_484','' -'484','val_484','484' -'485','val_485','' -'485','val_485','485' -'487','val_487','' -'487','val_487','487' -'489','val_489','' -'489','val_489','' -'489','val_489','' -'489','val_489','' -'489','val_489','489' -'489','val_489','489' -'489','val_489','489' -'489','val_489','489' -'490','val_490','' -'490','val_490','490' -'491','val_491','' -'491','val_491','491' -'492','val_492','' -'492','val_492','' -'492','val_492','492' -'492','val_492','492' -'493','val_493','' -'493','val_493','493' -'494','val_494','' -'494','val_494','494' -'495','val_495','' -'495','val_495','495' -'496','val_496','' -'496','val_496','496' -'497','val_497','' -'497','val_497','497' -'498','val_498','' -'498','val_498','' -'498','val_498','' -'498','val_498','498' -'498','val_498','498' -'498','val_498','498' -'5','val_5','' -'5','val_5','' -'5','val_5','' -'5','val_5','5' -'5','val_5','5' -'5','val_5','5' -'51','val_51','' -'51','val_51','' -'51','val_51','51' -'51','val_51','51' -'53','val_53','' -'53','val_53','53' -'54','val_54','' -'54','val_54','54' -'57','val_57','' -'57','val_57','57' -'58','val_58','' -'58','val_58','' -'58','val_58','58' -'58','val_58','58' -'64','val_64','' -'64','val_64','64' -'65','val_65','' -'65','val_65','65' -'66','val_66','' -'66','val_66','66' -'67','val_67','' -'67','val_67','' -'67','val_67','67' -'67','val_67','67' -'69','val_69','' -'69','val_69','69' -'70','val_70','' -'70','val_70','' -'70','val_70','' -'70','val_70','70' -'70','val_70','70' -'70','val_70','70' -'72','val_72','' -'72','val_72','' -'72','val_72','72' -'72','val_72','72' -'74','val_74','' -'74','val_74','74' -'76','val_76','' -'76','val_76','' -'76','val_76','76' -'76','val_76','76' -'77','val_77','' -'77','val_77','77' -'78','val_78','' -'78','val_78','78' -'8','val_8','' -'8','val_8','8' -'80','val_80','' -'80','val_80','80' -'82','val_82','' -'82','val_82','82' -'83','val_83','' -'83','val_83','' -'83','val_83','83' -'83','val_83','83' -'84','val_84','' -'84','val_84','' -'84','val_84','84' -'84','val_84','84' -'85','val_85','' -'85','val_85','85' -'86','val_86','' -'86','val_86','86' -'87','val_87','' -'87','val_87','87' -'9','val_9','' -'9','val_9','9' -'90','val_90','' -'90','val_90','' -'90','val_90','' -'90','val_90','90' -'90','val_90','90' -'90','val_90','90' -'92','val_92','' -'92','val_92','92' -'95','val_95','' -'95','val_95','' -'95','val_95','95' -'95','val_95','95' -'96','val_96','' -'96','val_96','96' -'97','val_97','' -'97','val_97','' -'97','val_97','97' -'97','val_97','97' -'98','val_98','' -'98','val_98','' -'98','val_98','98' -'98','val_98','98' -1,000 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/partition_wise_fileformat.q.out ql/src/test/results/beelinepositive/partition_wise_fileformat.q.out deleted file mode 100644 index e77cc3e..0000000 --- ql/src/test/results/beelinepositive/partition_wise_fileformat.q.out +++ /dev/null @@ -1,592 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/partition_wise_fileformat.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/partition_wise_fileformat.q ->>> ->>> ->>> create table partition_test_partitioned(key string, value string) partitioned by (dt string); -No rows affected ->>> ->>> insert overwrite table partition_test_partitioned partition(dt=100) select * from src1; -'key','value' -No rows selected ->>> show table extended like partition_test_partitioned; -'tab_name' -'tableName:partition_test_partitioned' -'owner:!!{user.name}!!' -'location:!!{hive.metastore.warehouse.dir}!!/partition_wise_fileformat.db/partition_test_partitioned' -'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 dt}' -'totalNumberFiles:1' -'totalFileSize:216' -'maxFileSize:216' -'minFileSize:216' -'lastAccessTime:0' -'lastUpdateTime:!!UNIXTIMEMILLIS!!' -'' -15 rows selected ->>> show table extended like partition_test_partitioned partition(dt=100); -'tab_name' -'tableName:partition_test_partitioned' -'owner:!!{user.name}!!' -'location:!!{hive.metastore.warehouse.dir}!!/partition_wise_fileformat.db/partition_test_partitioned/dt=100' -'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 dt}' -'totalNumberFiles:1' -'totalFileSize:216' -'maxFileSize:216' -'minFileSize:216' -'lastAccessTime:0' -'lastUpdateTime:!!UNIXTIMEMILLIS!!' -'' -15 rows selected ->>> select key from partition_test_partitioned where dt=100; -'key' -'238' -'' -'311' -'' -'' -'' -'255' -'278' -'98' -'' -'' -'' -'401' -'150' -'273' -'224' -'369' -'66' -'128' -'213' -'146' -'406' -'' -'' -'' -25 rows selected ->>> select key from partition_test_partitioned; -'key' -'238' -'' -'311' -'' -'' -'' -'255' -'278' -'98' -'' -'' -'' -'401' -'150' -'273' -'224' -'369' -'66' -'128' -'213' -'146' -'406' -'' -'' -'' -25 rows selected ->>> ->>> alter table partition_test_partitioned set fileformat rcfile; -No rows affected ->>> insert overwrite table partition_test_partitioned partition(dt=101) select * from src1; -'key','value' -No rows selected ->>> show table extended like partition_test_partitioned; -'tab_name' -'tableName:partition_test_partitioned' -'owner:!!{user.name}!!' -'location:!!{hive.metastore.warehouse.dir}!!/partition_wise_fileformat.db/partition_test_partitioned' -'inputformat:org.apache.hadoop.hive.ql.io.RCFileInputFormat' -'outputformat:org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -'columns:struct columns { string key, string value}' -'partitioned:true' -'partitionColumns:struct partition_columns { string dt}' -'totalNumberFiles:2' -'totalFileSize:491' -'maxFileSize:275' -'minFileSize:216' -'lastAccessTime:0' -'lastUpdateTime:!!UNIXTIMEMILLIS!!' -'' -15 rows selected ->>> show table extended like partition_test_partitioned partition(dt=100); -'tab_name' -'tableName:partition_test_partitioned' -'owner:!!{user.name}!!' -'location:!!{hive.metastore.warehouse.dir}!!/partition_wise_fileformat.db/partition_test_partitioned/dt=100' -'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 dt}' -'totalNumberFiles:1' -'totalFileSize:216' -'maxFileSize:216' -'minFileSize:216' -'lastAccessTime:0' -'lastUpdateTime:!!UNIXTIMEMILLIS!!' -'' -15 rows selected ->>> show table extended like partition_test_partitioned partition(dt=101); -'tab_name' -'tableName:partition_test_partitioned' -'owner:!!{user.name}!!' -'location:!!{hive.metastore.warehouse.dir}!!/partition_wise_fileformat.db/partition_test_partitioned/dt=101' -'inputformat:org.apache.hadoop.hive.ql.io.RCFileInputFormat' -'outputformat:org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -'columns:struct columns { string key, string value}' -'partitioned:true' -'partitionColumns:struct partition_columns { string dt}' -'totalNumberFiles:1' -'totalFileSize:275' -'maxFileSize:275' -'minFileSize:275' -'lastAccessTime:0' -'lastUpdateTime:!!UNIXTIMEMILLIS!!' -'' -15 rows selected ->>> select key from partition_test_partitioned where dt=100; -'key' -'238' -'' -'311' -'' -'' -'' -'255' -'278' -'98' -'' -'' -'' -'401' -'150' -'273' -'224' -'369' -'66' -'128' -'213' -'146' -'406' -'' -'' -'' -25 rows selected ->>> select key from partition_test_partitioned where dt=101; -'key' -'238' -'' -'311' -'' -'' -'' -'255' -'278' -'98' -'' -'' -'' -'401' -'150' -'273' -'224' -'369' -'66' -'128' -'213' -'146' -'406' -'' -'' -'' -25 rows selected ->>> select key from partition_test_partitioned; -'key' -'238' -'' -'311' -'' -'' -'' -'255' -'278' -'98' -'' -'' -'' -'401' -'150' -'273' -'224' -'369' -'66' -'128' -'213' -'146' -'406' -'' -'' -'' -'238' -'' -'311' -'' -'' -'' -'255' -'278' -'98' -'' -'' -'' -'401' -'150' -'273' -'224' -'369' -'66' -'128' -'213' -'146' -'406' -'' -'' -'' -50 rows selected ->>> ->>> alter table partition_test_partitioned set fileformat Sequencefile; -No rows affected ->>> insert overwrite table partition_test_partitioned partition(dt=102) select * from src1; -'key','value' -No rows selected ->>> show table extended like partition_test_partitioned; -'tab_name' -'tableName:partition_test_partitioned' -'owner:!!{user.name}!!' -'location:!!{hive.metastore.warehouse.dir}!!/partition_wise_fileformat.db/partition_test_partitioned' -'inputformat:org.apache.hadoop.mapred.SequenceFileInputFormat' -'outputformat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'columns:struct columns { string key, string value}' -'partitioned:true' -'partitionColumns:struct partition_columns { string dt}' -'totalNumberFiles:3' -'totalFileSize:1379' -'maxFileSize:888' -'minFileSize:216' -'lastAccessTime:0' -'lastUpdateTime:!!UNIXTIMEMILLIS!!' -'' -15 rows selected ->>> show table extended like partition_test_partitioned partition(dt=100); -'tab_name' -'tableName:partition_test_partitioned' -'owner:!!{user.name}!!' -'location:!!{hive.metastore.warehouse.dir}!!/partition_wise_fileformat.db/partition_test_partitioned/dt=100' -'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 dt}' -'totalNumberFiles:1' -'totalFileSize:216' -'maxFileSize:216' -'minFileSize:216' -'lastAccessTime:0' -'lastUpdateTime:!!UNIXTIMEMILLIS!!' -'' -15 rows selected ->>> show table extended like partition_test_partitioned partition(dt=101); -'tab_name' -'tableName:partition_test_partitioned' -'owner:!!{user.name}!!' -'location:!!{hive.metastore.warehouse.dir}!!/partition_wise_fileformat.db/partition_test_partitioned/dt=101' -'inputformat:org.apache.hadoop.hive.ql.io.RCFileInputFormat' -'outputformat:org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -'columns:struct columns { string key, string value}' -'partitioned:true' -'partitionColumns:struct partition_columns { string dt}' -'totalNumberFiles:1' -'totalFileSize:275' -'maxFileSize:275' -'minFileSize:275' -'lastAccessTime:0' -'lastUpdateTime:!!UNIXTIMEMILLIS!!' -'' -15 rows selected ->>> show table extended like partition_test_partitioned partition(dt=102); -'tab_name' -'tableName:partition_test_partitioned' -'owner:!!{user.name}!!' -'location:!!{hive.metastore.warehouse.dir}!!/partition_wise_fileformat.db/partition_test_partitioned/dt=102' -'inputformat:org.apache.hadoop.mapred.SequenceFileInputFormat' -'outputformat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'columns:struct columns { string key, string value}' -'partitioned:true' -'partitionColumns:struct partition_columns { string dt}' -'totalNumberFiles:1' -'totalFileSize:888' -'maxFileSize:888' -'minFileSize:888' -'lastAccessTime:0' -'lastUpdateTime:!!UNIXTIMEMILLIS!!' -'' -15 rows selected ->>> select key from partition_test_partitioned where dt=100; -'key' -'238' -'' -'311' -'' -'' -'' -'255' -'278' -'98' -'' -'' -'' -'401' -'150' -'273' -'224' -'369' -'66' -'128' -'213' -'146' -'406' -'' -'' -'' -25 rows selected ->>> select key from partition_test_partitioned where dt=101; -'key' -'238' -'' -'311' -'' -'' -'' -'255' -'278' -'98' -'' -'' -'' -'401' -'150' -'273' -'224' -'369' -'66' -'128' -'213' -'146' -'406' -'' -'' -'' -25 rows selected ->>> select key from partition_test_partitioned where dt=102; -'key' -'238' -'' -'311' -'' -'' -'' -'255' -'278' -'98' -'' -'' -'' -'401' -'150' -'273' -'224' -'369' -'66' -'128' -'213' -'146' -'406' -'' -'' -'' -25 rows selected ->>> select key from partition_test_partitioned; -'key' -'238' -'' -'311' -'' -'' -'' -'255' -'278' -'98' -'' -'' -'' -'401' -'150' -'273' -'224' -'369' -'66' -'128' -'213' -'146' -'406' -'' -'' -'' -'238' -'' -'311' -'' -'' -'' -'255' -'278' -'98' -'' -'' -'' -'401' -'150' -'273' -'224' -'369' -'66' -'128' -'213' -'146' -'406' -'' -'' -'' -'238' -'' -'311' -'' -'' -'' -'255' -'278' -'98' -'' -'' -'' -'401' -'150' -'273' -'224' -'369' -'66' -'128' -'213' -'146' -'406' -'' -'' -'' -75 rows selected ->>> ->>> select key from partition_test_partitioned where dt >=100 and dt <= 102; -'key' -'238' -'' -'311' -'' -'' -'' -'255' -'278' -'98' -'' -'' -'' -'401' -'150' -'273' -'224' -'369' -'66' -'128' -'213' -'146' -'406' -'' -'' -'' -'238' -'' -'311' -'' -'' -'' -'255' -'278' -'98' -'' -'' -'' -'401' -'150' -'273' -'224' -'369' -'66' -'128' -'213' -'146' -'406' -'' -'' -'' -'238' -'' -'311' -'' -'' -'' -'255' -'278' -'98' -'' -'' -'' -'401' -'150' -'273' -'224' -'369' -'66' -'128' -'213' -'146' -'406' -'' -'' -'' -75 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/partition_wise_fileformat2.q.out ql/src/test/results/beelinepositive/partition_wise_fileformat2.q.out deleted file mode 100644 index cbce480..0000000 --- ql/src/test/results/beelinepositive/partition_wise_fileformat2.q.out +++ /dev/null @@ -1,254 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/partition_wise_fileformat2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/partition_wise_fileformat2.q ->>> ->>> ->>> create table partition_test_partitioned(key string, value string) partitioned by (dt string); -No rows affected ->>> ->>> insert overwrite table partition_test_partitioned partition(dt=100) select * from src1; -'key','value' -No rows selected ->>> alter table partition_test_partitioned set fileformat rcfile; -No rows affected ->>> insert overwrite table partition_test_partitioned partition(dt=101) select * from src1; -'key','value' -No rows selected ->>> alter table partition_test_partitioned set fileformat Sequencefile; -No rows affected ->>> insert overwrite table partition_test_partitioned partition(dt=102) select * from src1; -'key','value' -No rows selected ->>> ->>> set hive.fetch.task.conversion=minimal; -No rows affected ->>> explain select *, BLOCK__OFFSET__INSIDE__FILE from partition_test_partitioned where dt >=100 and dt <= 102; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME partition_test_partitioned))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF) (TOK_SELEXPR (TOK_TABLE_OR_COL BLOCK__OFFSET__INSIDE__FILE))) (TOK_WHERE (and (>= (TOK_TABLE_OR_COL dt) 100) (<= (TOK_TABLE_OR_COL dt) 102)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' partition_test_partitioned ' -' TableScan' -' alias: partition_test_partitioned' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: dt' -' type: string' -' expr: BLOCK__OFFSET__INSIDE__FILE' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -37 rows selected ->>> select * from partition_test_partitioned where dt >=100 and dt <= 102; -'key','value','dt' -'238','val_238','100' -'','','100' -'311','val_311','100' -'','val_27','100' -'','val_165','100' -'','val_409','100' -'255','val_255','100' -'278','val_278','100' -'98','val_98','100' -'','val_484','100' -'','val_265','100' -'','val_193','100' -'401','val_401','100' -'150','val_150','100' -'273','val_273','100' -'224','','100' -'369','','100' -'66','val_66','100' -'128','','100' -'213','val_213','100' -'146','val_146','100' -'406','val_406','100' -'','','100' -'','','100' -'','','100' -'238','val_238','101' -'','','101' -'311','val_311','101' -'','val_27','101' -'','val_165','101' -'','val_409','101' -'255','val_255','101' -'278','val_278','101' -'98','val_98','101' -'','val_484','101' -'','val_265','101' -'','val_193','101' -'401','val_401','101' -'150','val_150','101' -'273','val_273','101' -'224','','101' -'369','','101' -'66','val_66','101' -'128','','101' -'213','val_213','101' -'146','val_146','101' -'406','val_406','101' -'','','101' -'','','101' -'','','101' -'238','val_238','102' -'','','102' -'311','val_311','102' -'','val_27','102' -'','val_165','102' -'','val_409','102' -'255','val_255','102' -'278','val_278','102' -'98','val_98','102' -'','val_484','102' -'','val_265','102' -'','val_193','102' -'401','val_401','102' -'150','val_150','102' -'273','val_273','102' -'224','','102' -'369','','102' -'66','val_66','102' -'128','','102' -'213','val_213','102' -'146','val_146','102' -'406','val_406','102' -'','','102' -'','','102' -'','','102' -75 rows selected ->>> ->>> set hive.fetch.task.conversion=more; -No rows affected ->>> explain select *, BLOCK__OFFSET__INSIDE__FILE from partition_test_partitioned where dt >=100 and dt <= 102; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME partition_test_partitioned))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF) (TOK_SELEXPR (TOK_TABLE_OR_COL BLOCK__OFFSET__INSIDE__FILE))) (TOK_WHERE (and (>= (TOK_TABLE_OR_COL dt) 100) (<= (TOK_TABLE_OR_COL dt) 102)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -' Processor Tree:' -' TableScan' -' alias: partition_test_partitioned' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: dt' -' type: string' -' expr: BLOCK__OFFSET__INSIDE__FILE' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3' -' ListSink' -'' -'' -27 rows selected ->>> select * from partition_test_partitioned where dt >=100 and dt <= 102; -'key','value','dt' -'238','val_238','100' -'','','100' -'311','val_311','100' -'','val_27','100' -'','val_165','100' -'','val_409','100' -'255','val_255','100' -'278','val_278','100' -'98','val_98','100' -'','val_484','100' -'','val_265','100' -'','val_193','100' -'401','val_401','100' -'150','val_150','100' -'273','val_273','100' -'224','','100' -'369','','100' -'66','val_66','100' -'128','','100' -'213','val_213','100' -'146','val_146','100' -'406','val_406','100' -'','','100' -'','','100' -'','','100' -'238','val_238','101' -'','','101' -'311','val_311','101' -'','val_27','101' -'','val_165','101' -'','val_409','101' -'255','val_255','101' -'278','val_278','101' -'98','val_98','101' -'','val_484','101' -'','val_265','101' -'','val_193','101' -'401','val_401','101' -'150','val_150','101' -'273','val_273','101' -'224','','101' -'369','','101' -'66','val_66','101' -'128','','101' -'213','val_213','101' -'146','val_146','101' -'406','val_406','101' -'','','101' -'','','101' -'','','101' -'238','val_238','102' -'','','102' -'311','val_311','102' -'','val_27','102' -'','val_165','102' -'','val_409','102' -'255','val_255','102' -'278','val_278','102' -'98','val_98','102' -'','val_484','102' -'','val_265','102' -'','val_193','102' -'401','val_401','102' -'150','val_150','102' -'273','val_273','102' -'224','','102' -'369','','102' -'66','val_66','102' -'128','','102' -'213','val_213','102' -'146','val_146','102' -'406','val_406','102' -'','','102' -'','','102' -'','','102' -75 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/partition_wise_fileformat3.q.out ql/src/test/results/beelinepositive/partition_wise_fileformat3.q.out deleted file mode 100644 index 17fe55a..0000000 --- ql/src/test/results/beelinepositive/partition_wise_fileformat3.q.out +++ /dev/null @@ -1,135 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/partition_wise_fileformat3.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/partition_wise_fileformat3.q ->>> ->>> ->>> create table partition_test_partitioned(key string, value string) partitioned by (dt string); -No rows affected ->>> ->>> alter table partition_test_partitioned set fileformat rcfile; -No rows affected ->>> insert overwrite table partition_test_partitioned partition(dt=101) select * from src1; -'key','value' -No rows selected ->>> show table extended like partition_test_partitioned partition(dt=101); -'tab_name' -'tableName:partition_test_partitioned' -'owner:!!{user.name}!!' -'location:!!{hive.metastore.warehouse.dir}!!/partition_wise_fileformat3.db/partition_test_partitioned/dt=101' -'inputformat:org.apache.hadoop.hive.ql.io.RCFileInputFormat' -'outputformat:org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -'columns:struct columns { string key, string value}' -'partitioned:true' -'partitionColumns:struct partition_columns { string dt}' -'totalNumberFiles:1' -'totalFileSize:275' -'maxFileSize:275' -'minFileSize:275' -'lastAccessTime:0' -'lastUpdateTime:!!UNIXTIMEMILLIS!!' -'' -15 rows selected ->>> ->>> alter table partition_test_partitioned set fileformat Sequencefile; -No rows affected ->>> insert overwrite table partition_test_partitioned partition(dt=102) select * from src1; -'key','value' -No rows selected ->>> show table extended like partition_test_partitioned partition(dt=102); -'tab_name' -'tableName:partition_test_partitioned' -'owner:!!{user.name}!!' -'location:!!{hive.metastore.warehouse.dir}!!/partition_wise_fileformat3.db/partition_test_partitioned/dt=102' -'inputformat:org.apache.hadoop.mapred.SequenceFileInputFormat' -'outputformat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'columns:struct columns { string key, string value}' -'partitioned:true' -'partitionColumns:struct partition_columns { string dt}' -'totalNumberFiles:1' -'totalFileSize:888' -'maxFileSize:888' -'minFileSize:888' -'lastAccessTime:0' -'lastUpdateTime:!!UNIXTIMEMILLIS!!' -'' -15 rows selected ->>> select key from partition_test_partitioned where dt=102; -'key' -'238' -'' -'311' -'' -'' -'' -'255' -'278' -'98' -'' -'' -'' -'401' -'150' -'273' -'224' -'369' -'66' -'128' -'213' -'146' -'406' -'' -'' -'' -25 rows selected ->>> ->>> insert overwrite table partition_test_partitioned partition(dt=101) select * from src1; -'key','value' -No rows selected ->>> show table extended like partition_test_partitioned partition(dt=101); -'tab_name' -'tableName:partition_test_partitioned' -'owner:!!{user.name}!!' -'location:!!{hive.metastore.warehouse.dir}!!/partition_wise_fileformat3.db/partition_test_partitioned/dt=101' -'inputformat:org.apache.hadoop.mapred.SequenceFileInputFormat' -'outputformat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'columns:struct columns { string key, string value}' -'partitioned:true' -'partitionColumns:struct partition_columns { string dt}' -'totalNumberFiles:1' -'totalFileSize:888' -'maxFileSize:888' -'minFileSize:888' -'lastAccessTime:0' -'lastUpdateTime:!!UNIXTIMEMILLIS!!' -'' -15 rows selected ->>> select key from partition_test_partitioned where dt=101; -'key' -'238' -'' -'311' -'' -'' -'' -'255' -'278' -'98' -'' -'' -'' -'401' -'150' -'273' -'224' -'369' -'66' -'128' -'213' -'146' -'406' -'' -'' -'' -25 rows selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/partition_wise_fileformat4.q.out ql/src/test/results/beelinepositive/partition_wise_fileformat4.q.out deleted file mode 100644 index 8e6d205..0000000 --- ql/src/test/results/beelinepositive/partition_wise_fileformat4.q.out +++ /dev/null @@ -1,18 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/partition_wise_fileformat4.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/partition_wise_fileformat4.q ->>> create table partition_test_partitioned(key string, value string) partitioned by (dt string); -No rows affected ->>> alter table partition_test_partitioned set fileformat sequencefile; -No rows affected ->>> insert overwrite table partition_test_partitioned partition(dt='1') select * from src1; -'key','value' -No rows selected ->>> alter table partition_test_partitioned partition (dt='1') set fileformat sequencefile; -No rows affected ->>> ->>> alter table partition_test_partitioned add partition (dt='2'); -No rows affected ->>> alter table partition_test_partitioned drop partition (dt='2'); -No rows affected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/partition_wise_fileformat5.q.out ql/src/test/results/beelinepositive/partition_wise_fileformat5.q.out deleted file mode 100644 index e047caf..0000000 --- ql/src/test/results/beelinepositive/partition_wise_fileformat5.q.out +++ /dev/null @@ -1,36 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/partition_wise_fileformat5.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/partition_wise_fileformat5.q ->>> set hive.input.format = org.apache.hadoop.hive.ql.io.CombineHiveInputFormat; -No rows affected ->>> ->>> create table partition_test_partitioned(key string, value string) partitioned by (dt string); -No rows affected ->>> ->>> alter table partition_test_partitioned set fileformat rcfile; -No rows affected ->>> insert overwrite table partition_test_partitioned partition(dt=101) select * from src1; -'key','value' -No rows selected ->>> alter table partition_test_partitioned set fileformat Sequencefile; -No rows affected ->>> insert overwrite table partition_test_partitioned partition(dt=102) select * from src1; -'key','value' -No rows selected ->>> ->>> select dt, count(1) from partition_test_partitioned where dt is not null group by dt; -'dt','_c1' -'101','25' -'102','25' -2 rows selected ->>> ->>> insert overwrite table partition_test_partitioned partition(dt=103) select * from src1; -'key','value' -No rows selected ->>> ->>> select dt, count(1) from partition_test_partitioned where dt is not null group by dt; -'dt','_c1' -'101','25' -'102','25' -'103','25' -3 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/partition_wise_fileformat6.q.out ql/src/test/results/beelinepositive/partition_wise_fileformat6.q.out deleted file mode 100644 index 2de3edc..0000000 --- ql/src/test/results/beelinepositive/partition_wise_fileformat6.q.out +++ /dev/null @@ -1,36 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/partition_wise_fileformat6.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/partition_wise_fileformat6.q ->>> set hive.input.format = org.apache.hadoop.hive.ql.io.CombineHiveInputFormat; -No rows affected ->>> ->>> create table partition_test_partitioned(key string, value string) partitioned by (dt string); -No rows affected ->>> ->>> alter table partition_test_partitioned set fileformat rcfile; -No rows affected ->>> insert overwrite table partition_test_partitioned partition(dt=101) select * from src1; -'key','value' -No rows selected ->>> alter table partition_test_partitioned set fileformat Sequencefile; -No rows affected ->>> ->>> insert overwrite table partition_test_partitioned partition(dt=102) select * from src1; -'key','value' -No rows selected ->>> ->>> select count(1) from -(select key, value from partition_test_partitioned where dt=101 and key < 100 -union all -select key, value from partition_test_partitioned where dt=101 and key < 20)s; -'_c0' -'2' -1 row selected ->>> ->>> select count(1) from -(select key, value from partition_test_partitioned where dt=101 and key < 100 -union all -select key, value from partition_test_partitioned where dt=102 and key < 20)s; -'_c0' -'2' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/partition_wise_fileformat7.q.out ql/src/test/results/beelinepositive/partition_wise_fileformat7.q.out deleted file mode 100644 index ca3ac40..0000000 --- ql/src/test/results/beelinepositive/partition_wise_fileformat7.q.out +++ /dev/null @@ -1,26 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/partition_wise_fileformat7.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/partition_wise_fileformat7.q ->>> set hive.input.format = org.apache.hadoop.hive.ql.io.CombineHiveInputFormat; -No rows affected ->>> ->>> create table partition_test_partitioned(key string, value string) partitioned by (dt string); -No rows affected ->>> ->>> alter table partition_test_partitioned set fileformat rcfile; -No rows affected ->>> insert overwrite table partition_test_partitioned partition(dt=101) select * from src1; -'key','value' -No rows selected ->>> ->>> select count(1) from partition_test_partitioned a join partition_test_partitioned b on a.key = b.key -where a.dt = '101' and b.dt = '101'; -'_c0' -'115' -1 row selected ->>> ->>> select count(1) from partition_test_partitioned a join partition_test_partitioned b on a.key = b.key -where a.dt = '101' and b.dt = '101' and a.key < 100; -'_c0' -'2' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/partitions_json.q.out ql/src/test/results/beelinepositive/partitions_json.q.out deleted file mode 100644 index d66bce6..0000000 --- ql/src/test/results/beelinepositive/partitions_json.q.out +++ /dev/null @@ -1,47 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/partitions_json.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/partitions_json.q ->>> set hive.ddl.output.format=json; -No rows affected ->>> ->>> CREATE TABLE add_part_test (key STRING, value STRING) PARTITIONED BY (ds STRING); -No rows affected ->>> SHOW PARTITIONS add_part_test; -'partition' -'{"partitions":[]}' -1 row selected ->>> ->>> ALTER TABLE add_part_test ADD PARTITION (ds='2010-01-01'); -No rows affected ->>> SHOW PARTITIONS add_part_test; -'partition' -'{"partitions":[{"values":[{"columnName":"ds","columnValue":"2010-01-01"}],"name":"ds='2010-01-01'"}]}' -1 row selected ->>> ->>> ALTER TABLE add_part_test ADD IF NOT EXISTS PARTITION (ds='2010-01-01'); -No rows affected ->>> SHOW PARTITIONS add_part_test; -'partition' -'{"partitions":[{"values":[{"columnName":"ds","columnValue":"2010-01-01"}],"name":"ds='2010-01-01'"}]}' -1 row selected ->>> ->>> ALTER TABLE add_part_test ADD IF NOT EXISTS PARTITION (ds='2010-01-02'); -No rows affected ->>> SHOW PARTITIONS add_part_test; -'partition' -'{"partitions":[{"values":[{"columnName":"ds","columnValue":"2010-01-01"}],"name":"ds='2010-01-01'"},{"values":[{"columnName":"ds","columnValue":"2010-01-02"}],"name":"ds='2010-01-02'"}]}' -1 row selected ->>> ->>> SHOW TABLE EXTENDED LIKE add_part_test PARTITION (ds='2010-01-02'); -'tab_name' -'{"tables":[{"minFileSize":0,"totalNumberFiles":0,"location":"!!{hive.metastore.warehouse.dir}!!/partitions_json.db/add_part_test/ds=2010-01-02","lastUpdateTime":!!UNIXTIMEMILLIS!!,"outputFormat":"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat","lastAccessTime":0,"columns":[{"name":"key","type":"string"},{"name":"value","type":"string"}],"partitionColumns":[{"name":"ds","type":"string"}],"maxFileSize":0,"partitioned":true,"tableName":"add_part_test","owner":"!!{user.name}!!","inputFormat":"org.apache.hadoop.mapred.TextInputFormat","totalFileSize":0}]}' -1 row selected ->>> ->>> ALTER TABLE add_part_test DROP PARTITION (ds='2010-01-02'); -No rows affected ->>> ->>> DROP TABLE add_part_test; -No rows affected ->>> ->>> set hive.ddl.output.format=text; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/pcr.q.out ql/src/test/results/beelinepositive/pcr.q.out deleted file mode 100644 index c6c608b..0000000 --- ql/src/test/results/beelinepositive/pcr.q.out +++ /dev/null @@ -1,5089 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/pcr.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/pcr.q ->>> drop table pcr_t1; -No rows affected ->>> drop table pcr_t2; -No rows affected ->>> drop table pcr_t3; -No rows affected ->>> ->>> create table pcr_t1 (key int, value string) partitioned by (ds string); -No rows affected ->>> ->>> insert overwrite table pcr_t1 partition (ds='2000-04-08') select * from src where key < 20 order by key; -'_col0','_col1' -No rows selected ->>> insert overwrite table pcr_t1 partition (ds='2000-04-09') select * from src where key < 20 order by key; -'_col0','_col1' -No rows selected ->>> insert overwrite table pcr_t1 partition (ds='2000-04-10') select * from src where key < 20 order by key; -'_col0','_col1' -No rows selected ->>> ->>> explain extended select key, value, ds from pcr_t1 where ds<='2000-04-09' and key<5 order by key, ds; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME pcr_t1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL ds))) (TOK_WHERE (and (<= (TOK_TABLE_OR_COL ds) '2000-04-09') (< (TOK_TABLE_OR_COL key) 5))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL ds)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pcr_t1 ' -' TableScan' -' alias: pcr_t1' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (key < 5)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col2' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08 [pcr_t1]' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-09 [pcr_t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08 ' -' Partition' -' base file name: ds=2000-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2000-04-08' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08' -' name pcr.pcr_t1' -' numFiles 1' -' numPartitions 3' -' numRows 20' -' partition_columns ds' -' rawDataSize 160' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1' -' name pcr.pcr_t1' -' numFiles 3' -' numPartitions 3' -' numRows 60' -' partition_columns ds' -' rawDataSize 480' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 540' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t1' -' name: pcr.pcr_t1' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-09 ' -' Partition' -' base file name: ds=2000-04-09' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2000-04-09' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-09' -' name pcr.pcr_t1' -' numFiles 1' -' numPartitions 3' -' numRows 20' -' partition_columns ds' -' rawDataSize 160' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1' -' name pcr.pcr_t1' -' numFiles 3' -' numPartitions 3' -' numRows 60' -' partition_columns ds' -' rawDataSize 480' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 540' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t1' -' name: pcr.pcr_t1' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types int:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -174 rows selected ->>> select key, value, ds from pcr_t1 where ds<='2000-04-09' and key<5 order by key, ds; -'key','value','ds' -'0','val_0','2000-04-08' -'0','val_0','2000-04-08' -'0','val_0','2000-04-08' -'0','val_0','2000-04-09' -'0','val_0','2000-04-09' -'0','val_0','2000-04-09' -'2','val_2','2000-04-08' -'2','val_2','2000-04-09' -'4','val_4','2000-04-08' -'4','val_4','2000-04-09' -10 rows selected ->>> ->>> explain extended select key, value from pcr_t1 where ds<='2000-04-09' or key<5 order by key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME pcr_t1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_WHERE (or (<= (TOK_TABLE_OR_COL ds) '2000-04-09') (< (TOK_TABLE_OR_COL key) 5))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pcr_t1 ' -' TableScan' -' alias: pcr_t1' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((ds <= '2000-04-09') or (key < 5))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08 [pcr_t1]' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-09 [pcr_t1]' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-10 [pcr_t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08 ' -' Partition' -' base file name: ds=2000-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2000-04-08' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08' -' name pcr.pcr_t1' -' numFiles 1' -' numPartitions 3' -' numRows 20' -' partition_columns ds' -' rawDataSize 160' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1' -' name pcr.pcr_t1' -' numFiles 3' -' numPartitions 3' -' numRows 60' -' partition_columns ds' -' rawDataSize 480' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 540' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t1' -' name: pcr.pcr_t1' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-09 ' -' Partition' -' base file name: ds=2000-04-09' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2000-04-09' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-09' -' name pcr.pcr_t1' -' numFiles 1' -' numPartitions 3' -' numRows 20' -' partition_columns ds' -' rawDataSize 160' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1' -' name pcr.pcr_t1' -' numFiles 3' -' numPartitions 3' -' numRows 60' -' partition_columns ds' -' rawDataSize 480' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 540' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t1' -' name: pcr.pcr_t1' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-10 ' -' Partition' -' base file name: ds=2000-04-10' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2000-04-10' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-10' -' name pcr.pcr_t1' -' numFiles 1' -' numPartitions 3' -' numRows 20' -' partition_columns ds' -' rawDataSize 160' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1' -' name pcr.pcr_t1' -' numFiles 3' -' numPartitions 3' -' numRows 60' -' partition_columns ds' -' rawDataSize 480' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 540' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t1' -' name: pcr.pcr_t1' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types int:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -219 rows selected ->>> select key, value from pcr_t1 where ds<='2000-04-09' or key<5 order by key; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'2','val_2' -'2','val_2' -'2','val_2' -'4','val_4' -'4','val_4' -'4','val_4' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'8','val_8' -'8','val_8' -'9','val_9' -'9','val_9' -'10','val_10' -'10','val_10' -'11','val_11' -'11','val_11' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'17','val_17' -'17','val_17' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'19','val_19' -'19','val_19' -45 rows selected ->>> ->>> explain extended select key, value, ds from pcr_t1 where ds<='2000-04-09' and key<5 and value != 'val_2' order by key, ds; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME pcr_t1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL ds))) (TOK_WHERE (and (and (<= (TOK_TABLE_OR_COL ds) '2000-04-09') (< (TOK_TABLE_OR_COL key) 5)) (!= (TOK_TABLE_OR_COL value) 'val_2'))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL ds)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pcr_t1 ' -' TableScan' -' alias: pcr_t1' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((key < 5) and (value <> 'val_2'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col2' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08 [pcr_t1]' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-09 [pcr_t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08 ' -' Partition' -' base file name: ds=2000-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2000-04-08' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08' -' name pcr.pcr_t1' -' numFiles 1' -' numPartitions 3' -' numRows 20' -' partition_columns ds' -' rawDataSize 160' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1' -' name pcr.pcr_t1' -' numFiles 3' -' numPartitions 3' -' numRows 60' -' partition_columns ds' -' rawDataSize 480' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 540' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t1' -' name: pcr.pcr_t1' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-09 ' -' Partition' -' base file name: ds=2000-04-09' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2000-04-09' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-09' -' name pcr.pcr_t1' -' numFiles 1' -' numPartitions 3' -' numRows 20' -' partition_columns ds' -' rawDataSize 160' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1' -' name pcr.pcr_t1' -' numFiles 3' -' numPartitions 3' -' numRows 60' -' partition_columns ds' -' rawDataSize 480' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 540' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t1' -' name: pcr.pcr_t1' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types int:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -174 rows selected ->>> select key, value, ds from pcr_t1 where ds<='2000-04-09' and key<5 and value != 'val_2' order by key, ds; -'key','value','ds' -'0','val_0','2000-04-08' -'0','val_0','2000-04-08' -'0','val_0','2000-04-08' -'0','val_0','2000-04-09' -'0','val_0','2000-04-09' -'0','val_0','2000-04-09' -'4','val_4','2000-04-08' -'4','val_4','2000-04-09' -8 rows selected ->>> ->>> ->>> explain extended -select key, value, ds from pcr_t1 -where (ds < '2000-04-09' and key < 5) or (ds > '2000-04-09' and value == 'val_5') order by key, ds; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME pcr_t1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL ds))) (TOK_WHERE (or (and (< (TOK_TABLE_OR_COL ds) '2000-04-09') (< (TOK_TABLE_OR_COL key) 5)) (and (> (TOK_TABLE_OR_COL ds) '2000-04-09') (== (TOK_TABLE_OR_COL value) 'val_5')))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL ds)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pcr_t1 ' -' TableScan' -' alias: pcr_t1' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (((ds < '2000-04-09') and (key < 5)) or ((ds > '2000-04-09') and (value = 'val_5')))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col2' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08 [pcr_t1]' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-10 [pcr_t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08 ' -' Partition' -' base file name: ds=2000-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2000-04-08' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08' -' name pcr.pcr_t1' -' numFiles 1' -' numPartitions 3' -' numRows 20' -' partition_columns ds' -' rawDataSize 160' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1' -' name pcr.pcr_t1' -' numFiles 3' -' numPartitions 3' -' numRows 60' -' partition_columns ds' -' rawDataSize 480' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 540' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t1' -' name: pcr.pcr_t1' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-10 ' -' Partition' -' base file name: ds=2000-04-10' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2000-04-10' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-10' -' name pcr.pcr_t1' -' numFiles 1' -' numPartitions 3' -' numRows 20' -' partition_columns ds' -' rawDataSize 160' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1' -' name pcr.pcr_t1' -' numFiles 3' -' numPartitions 3' -' numRows 60' -' partition_columns ds' -' rawDataSize 480' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 540' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t1' -' name: pcr.pcr_t1' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types int:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -174 rows selected ->>> ->>> select key, value, ds from pcr_t1 -where (ds < '2000-04-09' and key < 5) or (ds > '2000-04-09' and value == 'val_5') order by key, ds; -'key','value','ds' -'0','val_0','2000-04-08' -'0','val_0','2000-04-08' -'0','val_0','2000-04-08' -'2','val_2','2000-04-08' -'4','val_4','2000-04-08' -'5','val_5','2000-04-10' -'5','val_5','2000-04-10' -'5','val_5','2000-04-10' -8 rows selected ->>> ->>> ->>> explain extended -select key, value, ds from pcr_t1 -where (ds < '2000-04-10' and key < 5) or (ds > '2000-04-08' and value == 'val_5') order by key, ds; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME pcr_t1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL ds))) (TOK_WHERE (or (and (< (TOK_TABLE_OR_COL ds) '2000-04-10') (< (TOK_TABLE_OR_COL key) 5)) (and (> (TOK_TABLE_OR_COL ds) '2000-04-08') (== (TOK_TABLE_OR_COL value) 'val_5')))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL ds)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pcr_t1 ' -' TableScan' -' alias: pcr_t1' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (((ds < '2000-04-10') and (key < 5)) or ((ds > '2000-04-08') and (value = 'val_5')))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col2' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08 [pcr_t1]' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-09 [pcr_t1]' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-10 [pcr_t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08 ' -' Partition' -' base file name: ds=2000-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2000-04-08' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08' -' name pcr.pcr_t1' -' numFiles 1' -' numPartitions 3' -' numRows 20' -' partition_columns ds' -' rawDataSize 160' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1' -' name pcr.pcr_t1' -' numFiles 3' -' numPartitions 3' -' numRows 60' -' partition_columns ds' -' rawDataSize 480' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 540' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t1' -' name: pcr.pcr_t1' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-09 ' -' Partition' -' base file name: ds=2000-04-09' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2000-04-09' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-09' -' name pcr.pcr_t1' -' numFiles 1' -' numPartitions 3' -' numRows 20' -' partition_columns ds' -' rawDataSize 160' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1' -' name pcr.pcr_t1' -' numFiles 3' -' numPartitions 3' -' numRows 60' -' partition_columns ds' -' rawDataSize 480' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 540' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t1' -' name: pcr.pcr_t1' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-10 ' -' Partition' -' base file name: ds=2000-04-10' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2000-04-10' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-10' -' name pcr.pcr_t1' -' numFiles 1' -' numPartitions 3' -' numRows 20' -' partition_columns ds' -' rawDataSize 160' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1' -' name pcr.pcr_t1' -' numFiles 3' -' numPartitions 3' -' numRows 60' -' partition_columns ds' -' rawDataSize 480' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 540' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t1' -' name: pcr.pcr_t1' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types int:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -225 rows selected ->>> ->>> select key, value, ds from pcr_t1 -where (ds < '2000-04-10' and key < 5) or (ds > '2000-04-08' and value == 'val_5') order by key, ds; -'key','value','ds' -'0','val_0','2000-04-08' -'0','val_0','2000-04-08' -'0','val_0','2000-04-08' -'0','val_0','2000-04-09' -'0','val_0','2000-04-09' -'0','val_0','2000-04-09' -'2','val_2','2000-04-08' -'2','val_2','2000-04-09' -'4','val_4','2000-04-08' -'4','val_4','2000-04-09' -'5','val_5','2000-04-09' -'5','val_5','2000-04-09' -'5','val_5','2000-04-09' -'5','val_5','2000-04-10' -'5','val_5','2000-04-10' -'5','val_5','2000-04-10' -16 rows selected ->>> ->>> ->>> explain extended -select key, value, ds from pcr_t1 -where (ds < '2000-04-10' or key < 5) and (ds > '2000-04-08' or value == 'val_5') order by key, ds; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME pcr_t1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL ds))) (TOK_WHERE (and (or (< (TOK_TABLE_OR_COL ds) '2000-04-10') (< (TOK_TABLE_OR_COL key) 5)) (or (> (TOK_TABLE_OR_COL ds) '2000-04-08') (== (TOK_TABLE_OR_COL value) 'val_5')))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL ds)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pcr_t1 ' -' TableScan' -' alias: pcr_t1' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (((ds < '2000-04-10') or (key < 5)) and ((ds > '2000-04-08') or (value = 'val_5')))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col2' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08 [pcr_t1]' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-09 [pcr_t1]' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-10 [pcr_t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08 ' -' Partition' -' base file name: ds=2000-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2000-04-08' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08' -' name pcr.pcr_t1' -' numFiles 1' -' numPartitions 3' -' numRows 20' -' partition_columns ds' -' rawDataSize 160' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1' -' name pcr.pcr_t1' -' numFiles 3' -' numPartitions 3' -' numRows 60' -' partition_columns ds' -' rawDataSize 480' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 540' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t1' -' name: pcr.pcr_t1' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-09 ' -' Partition' -' base file name: ds=2000-04-09' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2000-04-09' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-09' -' name pcr.pcr_t1' -' numFiles 1' -' numPartitions 3' -' numRows 20' -' partition_columns ds' -' rawDataSize 160' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1' -' name pcr.pcr_t1' -' numFiles 3' -' numPartitions 3' -' numRows 60' -' partition_columns ds' -' rawDataSize 480' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 540' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t1' -' name: pcr.pcr_t1' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-10 ' -' Partition' -' base file name: ds=2000-04-10' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2000-04-10' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-10' -' name pcr.pcr_t1' -' numFiles 1' -' numPartitions 3' -' numRows 20' -' partition_columns ds' -' rawDataSize 160' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1' -' name pcr.pcr_t1' -' numFiles 3' -' numPartitions 3' -' numRows 60' -' partition_columns ds' -' rawDataSize 480' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 540' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t1' -' name: pcr.pcr_t1' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types int:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -225 rows selected ->>> ->>> select key, value, ds from pcr_t1 -where (ds < '2000-04-10' or key < 5) and (ds > '2000-04-08' or value == 'val_5') order by key, ds; -'key','value','ds' -'0','val_0','2000-04-09' -'0','val_0','2000-04-09' -'0','val_0','2000-04-09' -'0','val_0','2000-04-10' -'0','val_0','2000-04-10' -'0','val_0','2000-04-10' -'2','val_2','2000-04-09' -'2','val_2','2000-04-10' -'4','val_4','2000-04-09' -'4','val_4','2000-04-10' -'5','val_5','2000-04-08' -'5','val_5','2000-04-08' -'5','val_5','2000-04-08' -'5','val_5','2000-04-09' -'5','val_5','2000-04-09' -'5','val_5','2000-04-09' -'8','val_8','2000-04-09' -'9','val_9','2000-04-09' -'10','val_10','2000-04-09' -'11','val_11','2000-04-09' -'12','val_12','2000-04-09' -'12','val_12','2000-04-09' -'15','val_15','2000-04-09' -'15','val_15','2000-04-09' -'17','val_17','2000-04-09' -'18','val_18','2000-04-09' -'18','val_18','2000-04-09' -'19','val_19','2000-04-09' -28 rows selected ->>> ->>> ->>> explain extended select key, value from pcr_t1 where (ds='2000-04-08' or ds='2000-04-09') and key=14 order by key, value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME pcr_t1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_WHERE (and (or (= (TOK_TABLE_OR_COL ds) '2000-04-08') (= (TOK_TABLE_OR_COL ds) '2000-04-09')) (= (TOK_TABLE_OR_COL key) 14))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pcr_t1 ' -' TableScan' -' alias: pcr_t1' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (key = 14)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08 [pcr_t1]' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-09 [pcr_t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08 ' -' Partition' -' base file name: ds=2000-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2000-04-08' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08' -' name pcr.pcr_t1' -' numFiles 1' -' numPartitions 3' -' numRows 20' -' partition_columns ds' -' rawDataSize 160' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1' -' name pcr.pcr_t1' -' numFiles 3' -' numPartitions 3' -' numRows 60' -' partition_columns ds' -' rawDataSize 480' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 540' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t1' -' name: pcr.pcr_t1' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-09 ' -' Partition' -' base file name: ds=2000-04-09' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2000-04-09' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-09' -' name pcr.pcr_t1' -' numFiles 1' -' numPartitions 3' -' numRows 20' -' partition_columns ds' -' rawDataSize 160' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1' -' name pcr.pcr_t1' -' numFiles 3' -' numPartitions 3' -' numRows 60' -' partition_columns ds' -' rawDataSize 480' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 540' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t1' -' name: pcr.pcr_t1' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types int:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -170 rows selected ->>> select key, value from pcr_t1 where (ds='2000-04-08' or ds='2000-04-09') and key=14 order by key, value; -'key','value' -No rows selected ->>> ->>> explain extended select key, value from pcr_t1 where ds='2000-04-08' or ds='2000-04-09' order by key, value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME pcr_t1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_WHERE (or (= (TOK_TABLE_OR_COL ds) '2000-04-08') (= (TOK_TABLE_OR_COL ds) '2000-04-09'))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pcr_t1 ' -' TableScan' -' alias: pcr_t1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08 [pcr_t1]' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-09 [pcr_t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08 ' -' Partition' -' base file name: ds=2000-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2000-04-08' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08' -' name pcr.pcr_t1' -' numFiles 1' -' numPartitions 3' -' numRows 20' -' partition_columns ds' -' rawDataSize 160' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1' -' name pcr.pcr_t1' -' numFiles 3' -' numPartitions 3' -' numRows 60' -' partition_columns ds' -' rawDataSize 480' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 540' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t1' -' name: pcr.pcr_t1' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-09 ' -' Partition' -' base file name: ds=2000-04-09' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2000-04-09' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-09' -' name pcr.pcr_t1' -' numFiles 1' -' numPartitions 3' -' numRows 20' -' partition_columns ds' -' rawDataSize 160' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1' -' name pcr.pcr_t1' -' numFiles 3' -' numPartitions 3' -' numRows 60' -' partition_columns ds' -' rawDataSize 480' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 540' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t1' -' name: pcr.pcr_t1' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types int:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -165 rows selected ->>> select key, value from pcr_t1 where ds='2000-04-08' or ds='2000-04-09' order by key, value; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'2','val_2' -'2','val_2' -'4','val_4' -'4','val_4' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'8','val_8' -'8','val_8' -'9','val_9' -'9','val_9' -'10','val_10' -'10','val_10' -'11','val_11' -'11','val_11' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'17','val_17' -'17','val_17' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'19','val_19' -'19','val_19' -40 rows selected ->>> ->>> explain extended select key, value from pcr_t1 where ds>='2000-04-08' or ds<'2000-04-10' order by key, value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME pcr_t1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_WHERE (or (>= (TOK_TABLE_OR_COL ds) '2000-04-08') (< (TOK_TABLE_OR_COL ds) '2000-04-10'))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pcr_t1 ' -' TableScan' -' alias: pcr_t1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08 [pcr_t1]' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-09 [pcr_t1]' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-10 [pcr_t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08 ' -' Partition' -' base file name: ds=2000-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2000-04-08' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08' -' name pcr.pcr_t1' -' numFiles 1' -' numPartitions 3' -' numRows 20' -' partition_columns ds' -' rawDataSize 160' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1' -' name pcr.pcr_t1' -' numFiles 3' -' numPartitions 3' -' numRows 60' -' partition_columns ds' -' rawDataSize 480' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 540' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t1' -' name: pcr.pcr_t1' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-09 ' -' Partition' -' base file name: ds=2000-04-09' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2000-04-09' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-09' -' name pcr.pcr_t1' -' numFiles 1' -' numPartitions 3' -' numRows 20' -' partition_columns ds' -' rawDataSize 160' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1' -' name pcr.pcr_t1' -' numFiles 3' -' numPartitions 3' -' numRows 60' -' partition_columns ds' -' rawDataSize 480' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 540' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t1' -' name: pcr.pcr_t1' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-10 ' -' Partition' -' base file name: ds=2000-04-10' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2000-04-10' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-10' -' name pcr.pcr_t1' -' numFiles 1' -' numPartitions 3' -' numRows 20' -' partition_columns ds' -' rawDataSize 160' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1' -' name pcr.pcr_t1' -' numFiles 3' -' numPartitions 3' -' numRows 60' -' partition_columns ds' -' rawDataSize 480' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 540' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t1' -' name: pcr.pcr_t1' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types int:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -216 rows selected ->>> select key, value from pcr_t1 where ds>='2000-04-08' or ds<'2000-04-10' order by key, value; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'2','val_2' -'2','val_2' -'2','val_2' -'4','val_4' -'4','val_4' -'4','val_4' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'8','val_8' -'8','val_8' -'8','val_8' -'9','val_9' -'9','val_9' -'9','val_9' -'10','val_10' -'10','val_10' -'10','val_10' -'11','val_11' -'11','val_11' -'11','val_11' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'17','val_17' -'17','val_17' -'17','val_17' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'19','val_19' -'19','val_19' -'19','val_19' -60 rows selected ->>> ->>> explain extended select key, value, ds from pcr_t1 where (ds='2000-04-08' and key=1) or (ds='2000-04-09' and key=2) order by key, value, ds; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME pcr_t1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL ds))) (TOK_WHERE (or (and (= (TOK_TABLE_OR_COL ds) '2000-04-08') (= (TOK_TABLE_OR_COL key) 1)) (and (= (TOK_TABLE_OR_COL ds) '2000-04-09') (= (TOK_TABLE_OR_COL key) 2)))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL ds)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pcr_t1 ' -' TableScan' -' alias: pcr_t1' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (((ds = '2000-04-08') and (key = 1)) or ((ds = '2000-04-09') and (key = 2)))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' sort order: +++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08 [pcr_t1]' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-09 [pcr_t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08 ' -' Partition' -' base file name: ds=2000-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2000-04-08' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08' -' name pcr.pcr_t1' -' numFiles 1' -' numPartitions 3' -' numRows 20' -' partition_columns ds' -' rawDataSize 160' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1' -' name pcr.pcr_t1' -' numFiles 3' -' numPartitions 3' -' numRows 60' -' partition_columns ds' -' rawDataSize 480' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 540' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t1' -' name: pcr.pcr_t1' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-09 ' -' Partition' -' base file name: ds=2000-04-09' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2000-04-09' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-09' -' name pcr.pcr_t1' -' numFiles 1' -' numPartitions 3' -' numRows 20' -' partition_columns ds' -' rawDataSize 160' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1' -' name pcr.pcr_t1' -' numFiles 3' -' numPartitions 3' -' numRows 60' -' partition_columns ds' -' rawDataSize 480' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 540' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t1' -' name: pcr.pcr_t1' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types int:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -176 rows selected ->>> select key, value, ds from pcr_t1 where (ds='2000-04-08' and key=1) or (ds='2000-04-09' and key=2) order by key, value, ds; -'key','value','ds' -'2','val_2','2000-04-09' -1 row selected ->>> ->>> explain extended select * from pcr_t1 t1 join pcr_t1 t2 on t1.key=t2.key and t1.ds='2000-04-08' and t2.ds='2000-04-08' order by t1.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME pcr_t1) t1) (TOK_TABREF (TOK_TABNAME pcr_t1) t2) (and (and (= (. (TOK_TABLE_OR_COL t1) key) (. (TOK_TABLE_OR_COL t2) key)) (= (. (TOK_TABLE_OR_COL t1) ds) '2000-04-08')) (= (. (TOK_TABLE_OR_COL t2) ds) '2000-04-08')))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL t1) key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' t1 ' -' TableScan' -' alias: t1' -' GatherStats: false' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' t2 ' -' TableScan' -' alias: t2' -' GatherStats: false' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 1' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' Needs Tagging: true' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08 [t2, t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08 ' -' Partition' -' base file name: ds=2000-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2000-04-08' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08' -' name pcr.pcr_t1' -' numFiles 1' -' numPartitions 3' -' numRows 20' -' partition_columns ds' -' rawDataSize 160' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1' -' name pcr.pcr_t1' -' numFiles 3' -' numPartitions 3' -' numRows 60' -' partition_columns ds' -' rawDataSize 480' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 540' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t1' -' name: pcr.pcr_t1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1} {VALUE._col2}' -' 1 {VALUE._col0} {VALUE._col1} {VALUE._col2}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col5, _col6, _col7' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col5' -' type: int' -' expr: _col6' -' type: string' -' expr: _col7' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3,_col4,_col5' -' columns.types int,string,string,int,string,string' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: int' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3,_col4,_col5' -' columns.types int,string,string,int,string,string' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3,_col4,_col5' -' columns.types int,string,string,int,string,string' -' escape.delim \' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3,_col4,_col5' -' columns.types int:string:string:int:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -214 rows selected ->>> select * from pcr_t1 t1 join pcr_t1 t2 on t1.key=t2.key and t1.ds='2000-04-08' and t2.ds='2000-04-08' order by t1.key; -'key','value','ds','key','value','ds' -'0','val_0','2000-04-08','0','val_0','2000-04-08' -'0','val_0','2000-04-08','0','val_0','2000-04-08' -'0','val_0','2000-04-08','0','val_0','2000-04-08' -'0','val_0','2000-04-08','0','val_0','2000-04-08' -'0','val_0','2000-04-08','0','val_0','2000-04-08' -'0','val_0','2000-04-08','0','val_0','2000-04-08' -'0','val_0','2000-04-08','0','val_0','2000-04-08' -'0','val_0','2000-04-08','0','val_0','2000-04-08' -'0','val_0','2000-04-08','0','val_0','2000-04-08' -'2','val_2','2000-04-08','2','val_2','2000-04-08' -'4','val_4','2000-04-08','4','val_4','2000-04-08' -'5','val_5','2000-04-08','5','val_5','2000-04-08' -'5','val_5','2000-04-08','5','val_5','2000-04-08' -'5','val_5','2000-04-08','5','val_5','2000-04-08' -'5','val_5','2000-04-08','5','val_5','2000-04-08' -'5','val_5','2000-04-08','5','val_5','2000-04-08' -'5','val_5','2000-04-08','5','val_5','2000-04-08' -'5','val_5','2000-04-08','5','val_5','2000-04-08' -'5','val_5','2000-04-08','5','val_5','2000-04-08' -'5','val_5','2000-04-08','5','val_5','2000-04-08' -'8','val_8','2000-04-08','8','val_8','2000-04-08' -'9','val_9','2000-04-08','9','val_9','2000-04-08' -'10','val_10','2000-04-08','10','val_10','2000-04-08' -'11','val_11','2000-04-08','11','val_11','2000-04-08' -'12','val_12','2000-04-08','12','val_12','2000-04-08' -'12','val_12','2000-04-08','12','val_12','2000-04-08' -'12','val_12','2000-04-08','12','val_12','2000-04-08' -'12','val_12','2000-04-08','12','val_12','2000-04-08' -'15','val_15','2000-04-08','15','val_15','2000-04-08' -'15','val_15','2000-04-08','15','val_15','2000-04-08' -'15','val_15','2000-04-08','15','val_15','2000-04-08' -'15','val_15','2000-04-08','15','val_15','2000-04-08' -'17','val_17','2000-04-08','17','val_17','2000-04-08' -'18','val_18','2000-04-08','18','val_18','2000-04-08' -'18','val_18','2000-04-08','18','val_18','2000-04-08' -'18','val_18','2000-04-08','18','val_18','2000-04-08' -'18','val_18','2000-04-08','18','val_18','2000-04-08' -'19','val_19','2000-04-08','19','val_19','2000-04-08' -38 rows selected ->>> ->>> explain extended select * from pcr_t1 t1 join pcr_t1 t2 on t1.key=t2.key and t1.ds='2000-04-08' and t2.ds='2000-04-09' order by t1.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME pcr_t1) t1) (TOK_TABREF (TOK_TABNAME pcr_t1) t2) (and (and (= (. (TOK_TABLE_OR_COL t1) key) (. (TOK_TABLE_OR_COL t2) key)) (= (. (TOK_TABLE_OR_COL t1) ds) '2000-04-08')) (= (. (TOK_TABLE_OR_COL t2) ds) '2000-04-09')))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL t1) key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' t1 ' -' TableScan' -' alias: t1' -' GatherStats: false' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' t2 ' -' TableScan' -' alias: t2' -' GatherStats: false' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 1' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' Needs Tagging: true' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08 [t1]' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-09 [t2]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08 ' -' Partition' -' base file name: ds=2000-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2000-04-08' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08' -' name pcr.pcr_t1' -' numFiles 1' -' numPartitions 3' -' numRows 20' -' partition_columns ds' -' rawDataSize 160' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1' -' name pcr.pcr_t1' -' numFiles 3' -' numPartitions 3' -' numRows 60' -' partition_columns ds' -' rawDataSize 480' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 540' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t1' -' name: pcr.pcr_t1' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-09 ' -' Partition' -' base file name: ds=2000-04-09' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2000-04-09' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-09' -' name pcr.pcr_t1' -' numFiles 1' -' numPartitions 3' -' numRows 20' -' partition_columns ds' -' rawDataSize 160' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1' -' name pcr.pcr_t1' -' numFiles 3' -' numPartitions 3' -' numRows 60' -' partition_columns ds' -' rawDataSize 480' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 540' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t1' -' name: pcr.pcr_t1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1} {VALUE._col2}' -' 1 {VALUE._col0} {VALUE._col1} {VALUE._col2}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col5, _col6, _col7' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col5' -' type: int' -' expr: _col6' -' type: string' -' expr: _col7' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3,_col4,_col5' -' columns.types int,string,string,int,string,string' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: int' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3,_col4,_col5' -' columns.types int,string,string,int,string,string' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3,_col4,_col5' -' columns.types int,string,string,int,string,string' -' escape.delim \' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3,_col4,_col5' -' columns.types int:string:string:int:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -265 rows selected ->>> select * from pcr_t1 t1 join pcr_t1 t2 on t1.key=t2.key and t1.ds='2000-04-08' and t2.ds='2000-04-09' order by t1.key; -'key','value','ds','key','value','ds' -'0','val_0','2000-04-08','0','val_0','2000-04-09' -'0','val_0','2000-04-08','0','val_0','2000-04-09' -'0','val_0','2000-04-08','0','val_0','2000-04-09' -'0','val_0','2000-04-08','0','val_0','2000-04-09' -'0','val_0','2000-04-08','0','val_0','2000-04-09' -'0','val_0','2000-04-08','0','val_0','2000-04-09' -'0','val_0','2000-04-08','0','val_0','2000-04-09' -'0','val_0','2000-04-08','0','val_0','2000-04-09' -'0','val_0','2000-04-08','0','val_0','2000-04-09' -'2','val_2','2000-04-08','2','val_2','2000-04-09' -'4','val_4','2000-04-08','4','val_4','2000-04-09' -'5','val_5','2000-04-08','5','val_5','2000-04-09' -'5','val_5','2000-04-08','5','val_5','2000-04-09' -'5','val_5','2000-04-08','5','val_5','2000-04-09' -'5','val_5','2000-04-08','5','val_5','2000-04-09' -'5','val_5','2000-04-08','5','val_5','2000-04-09' -'5','val_5','2000-04-08','5','val_5','2000-04-09' -'5','val_5','2000-04-08','5','val_5','2000-04-09' -'5','val_5','2000-04-08','5','val_5','2000-04-09' -'5','val_5','2000-04-08','5','val_5','2000-04-09' -'8','val_8','2000-04-08','8','val_8','2000-04-09' -'9','val_9','2000-04-08','9','val_9','2000-04-09' -'10','val_10','2000-04-08','10','val_10','2000-04-09' -'11','val_11','2000-04-08','11','val_11','2000-04-09' -'12','val_12','2000-04-08','12','val_12','2000-04-09' -'12','val_12','2000-04-08','12','val_12','2000-04-09' -'12','val_12','2000-04-08','12','val_12','2000-04-09' -'12','val_12','2000-04-08','12','val_12','2000-04-09' -'15','val_15','2000-04-08','15','val_15','2000-04-09' -'15','val_15','2000-04-08','15','val_15','2000-04-09' -'15','val_15','2000-04-08','15','val_15','2000-04-09' -'15','val_15','2000-04-08','15','val_15','2000-04-09' -'17','val_17','2000-04-08','17','val_17','2000-04-09' -'18','val_18','2000-04-08','18','val_18','2000-04-09' -'18','val_18','2000-04-08','18','val_18','2000-04-09' -'18','val_18','2000-04-08','18','val_18','2000-04-09' -'18','val_18','2000-04-08','18','val_18','2000-04-09' -'19','val_19','2000-04-08','19','val_19','2000-04-09' -38 rows selected ->>> ->>> insert overwrite table pcr_t1 partition (ds='2000-04-11') select * from src where key < 20 order by key; -'_col0','_col1' -No rows selected ->>> ->>> explain extended select key, value, ds from pcr_t1 where (ds>'2000-04-08' and ds<'2000-04-11') or (ds>='2000-04-08' and ds<='2000-04-11' and key=2) order by key, value, ds; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME pcr_t1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL ds))) (TOK_WHERE (or (and (> (TOK_TABLE_OR_COL ds) '2000-04-08') (< (TOK_TABLE_OR_COL ds) '2000-04-11')) (and (and (>= (TOK_TABLE_OR_COL ds) '2000-04-08') (<= (TOK_TABLE_OR_COL ds) '2000-04-11')) (= (TOK_TABLE_OR_COL key) 2)))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL ds)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pcr_t1 ' -' TableScan' -' alias: pcr_t1' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (((ds > '2000-04-08') and (ds < '2000-04-11')) or (key = 2))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' sort order: +++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08 [pcr_t1]' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-09 [pcr_t1]' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-10 [pcr_t1]' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-11 [pcr_t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08 ' -' Partition' -' base file name: ds=2000-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2000-04-08' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08' -' name pcr.pcr_t1' -' numFiles 1' -' numPartitions 4' -' numRows 20' -' partition_columns ds' -' rawDataSize 160' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1' -' name pcr.pcr_t1' -' numFiles 4' -' numPartitions 4' -' numRows 80' -' partition_columns ds' -' rawDataSize 640' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 720' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t1' -' name: pcr.pcr_t1' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-09 ' -' Partition' -' base file name: ds=2000-04-09' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2000-04-09' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-09' -' name pcr.pcr_t1' -' numFiles 1' -' numPartitions 4' -' numRows 20' -' partition_columns ds' -' rawDataSize 160' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1' -' name pcr.pcr_t1' -' numFiles 4' -' numPartitions 4' -' numRows 80' -' partition_columns ds' -' rawDataSize 640' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 720' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t1' -' name: pcr.pcr_t1' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-10 ' -' Partition' -' base file name: ds=2000-04-10' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2000-04-10' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-10' -' name pcr.pcr_t1' -' numFiles 1' -' numPartitions 4' -' numRows 20' -' partition_columns ds' -' rawDataSize 160' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1' -' name pcr.pcr_t1' -' numFiles 4' -' numPartitions 4' -' numRows 80' -' partition_columns ds' -' rawDataSize 640' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 720' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t1' -' name: pcr.pcr_t1' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-11 ' -' Partition' -' base file name: ds=2000-04-11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2000-04-11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-11' -' name pcr.pcr_t1' -' numFiles 1' -' numPartitions 4' -' numRows 20' -' partition_columns ds' -' rawDataSize 160' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1' -' name pcr.pcr_t1' -' numFiles 4' -' numPartitions 4' -' numRows 80' -' partition_columns ds' -' rawDataSize 640' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 720' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t1' -' name: pcr.pcr_t1' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types int:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -278 rows selected ->>> select key, value, ds from pcr_t1 where (ds>'2000-04-08' and ds<'2000-04-11') or (ds>='2000-04-08' and ds<='2000-04-11' and key=2) order by key, value, ds; -'key','value','ds' -'0','val_0','2000-04-09' -'0','val_0','2000-04-09' -'0','val_0','2000-04-09' -'0','val_0','2000-04-10' -'0','val_0','2000-04-10' -'0','val_0','2000-04-10' -'2','val_2','2000-04-08' -'2','val_2','2000-04-09' -'2','val_2','2000-04-10' -'2','val_2','2000-04-11' -'4','val_4','2000-04-09' -'4','val_4','2000-04-10' -'5','val_5','2000-04-09' -'5','val_5','2000-04-09' -'5','val_5','2000-04-09' -'5','val_5','2000-04-10' -'5','val_5','2000-04-10' -'5','val_5','2000-04-10' -'8','val_8','2000-04-09' -'8','val_8','2000-04-10' -'9','val_9','2000-04-09' -'9','val_9','2000-04-10' -'10','val_10','2000-04-09' -'10','val_10','2000-04-10' -'11','val_11','2000-04-09' -'11','val_11','2000-04-10' -'12','val_12','2000-04-09' -'12','val_12','2000-04-09' -'12','val_12','2000-04-10' -'12','val_12','2000-04-10' -'15','val_15','2000-04-09' -'15','val_15','2000-04-09' -'15','val_15','2000-04-10' -'15','val_15','2000-04-10' -'17','val_17','2000-04-09' -'17','val_17','2000-04-10' -'18','val_18','2000-04-09' -'18','val_18','2000-04-09' -'18','val_18','2000-04-10' -'18','val_18','2000-04-10' -'19','val_19','2000-04-09' -'19','val_19','2000-04-10' -42 rows selected ->>> ->>> explain extended select key, value, ds from pcr_t1 where (ds>'2000-04-08' and ds<'2000-04-11') or (ds<='2000-04-09' and key=2) order by key, value, ds; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME pcr_t1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL ds))) (TOK_WHERE (or (and (> (TOK_TABLE_OR_COL ds) '2000-04-08') (< (TOK_TABLE_OR_COL ds) '2000-04-11')) (and (<= (TOK_TABLE_OR_COL ds) '2000-04-09') (= (TOK_TABLE_OR_COL key) 2)))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL ds)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pcr_t1 ' -' TableScan' -' alias: pcr_t1' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((ds > '2000-04-08') or ((ds <= '2000-04-09') and (key = 2)))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' sort order: +++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08 [pcr_t1]' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-09 [pcr_t1]' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-10 [pcr_t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08 ' -' Partition' -' base file name: ds=2000-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2000-04-08' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08' -' name pcr.pcr_t1' -' numFiles 1' -' numPartitions 4' -' numRows 20' -' partition_columns ds' -' rawDataSize 160' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1' -' name pcr.pcr_t1' -' numFiles 4' -' numPartitions 4' -' numRows 80' -' partition_columns ds' -' rawDataSize 640' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 720' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t1' -' name: pcr.pcr_t1' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-09 ' -' Partition' -' base file name: ds=2000-04-09' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2000-04-09' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-09' -' name pcr.pcr_t1' -' numFiles 1' -' numPartitions 4' -' numRows 20' -' partition_columns ds' -' rawDataSize 160' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1' -' name pcr.pcr_t1' -' numFiles 4' -' numPartitions 4' -' numRows 80' -' partition_columns ds' -' rawDataSize 640' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 720' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t1' -' name: pcr.pcr_t1' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-10 ' -' Partition' -' base file name: ds=2000-04-10' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2000-04-10' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-10' -' name pcr.pcr_t1' -' numFiles 1' -' numPartitions 4' -' numRows 20' -' partition_columns ds' -' rawDataSize 160' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1' -' name pcr.pcr_t1' -' numFiles 4' -' numPartitions 4' -' numRows 80' -' partition_columns ds' -' rawDataSize 640' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 720' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t1' -' name: pcr.pcr_t1' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types int:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -227 rows selected ->>> select key, value, ds from pcr_t1 where (ds>'2000-04-08' and ds<'2000-04-11') or (ds<='2000-04-09' and key=2) order by key, value, ds; -'key','value','ds' -'0','val_0','2000-04-09' -'0','val_0','2000-04-09' -'0','val_0','2000-04-09' -'0','val_0','2000-04-10' -'0','val_0','2000-04-10' -'0','val_0','2000-04-10' -'2','val_2','2000-04-08' -'2','val_2','2000-04-09' -'2','val_2','2000-04-10' -'4','val_4','2000-04-09' -'4','val_4','2000-04-10' -'5','val_5','2000-04-09' -'5','val_5','2000-04-09' -'5','val_5','2000-04-09' -'5','val_5','2000-04-10' -'5','val_5','2000-04-10' -'5','val_5','2000-04-10' -'8','val_8','2000-04-09' -'8','val_8','2000-04-10' -'9','val_9','2000-04-09' -'9','val_9','2000-04-10' -'10','val_10','2000-04-09' -'10','val_10','2000-04-10' -'11','val_11','2000-04-09' -'11','val_11','2000-04-10' -'12','val_12','2000-04-09' -'12','val_12','2000-04-09' -'12','val_12','2000-04-10' -'12','val_12','2000-04-10' -'15','val_15','2000-04-09' -'15','val_15','2000-04-09' -'15','val_15','2000-04-10' -'15','val_15','2000-04-10' -'17','val_17','2000-04-09' -'17','val_17','2000-04-10' -'18','val_18','2000-04-09' -'18','val_18','2000-04-09' -'18','val_18','2000-04-10' -'18','val_18','2000-04-10' -'19','val_19','2000-04-09' -'19','val_19','2000-04-10' -41 rows selected ->>> ->>> create table pcr_t2 (key int, value string); -No rows affected ->>> create table pcr_t3 (key int, value string); -No rows affected ->>> ->>> explain extended -from pcr_t1 -insert overwrite table pcr_t2 select key, value where ds='2000-04-08' -insert overwrite table pcr_t3 select key, value where ds='2000-04-08'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME pcr_t1))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME pcr_t2))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_WHERE (= (TOK_TABLE_OR_COL ds) '2000-04-08'))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME pcr_t3))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_WHERE (= (TOK_TABLE_OR_COL ds) '2000-04-08'))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-8 depends on stages: Stage-2 , consists of Stage-5, Stage-4, Stage-6' -' Stage-5' -' Stage-0 depends on stages: Stage-5, Stage-4, Stage-7' -' Stage-3 depends on stages: Stage-0' -' Stage-4' -' Stage-6' -' Stage-7 depends on stages: Stage-6' -' Stage-14 depends on stages: Stage-2 , consists of Stage-11, Stage-10, Stage-12' -' Stage-11' -' Stage-1 depends on stages: Stage-11, Stage-10, Stage-13' -' Stage-9 depends on stages: Stage-1' -' Stage-10' -' Stage-12' -' Stage-13 depends on stages: Stage-12' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pcr_t1 ' -' TableScan' -' alias: pcr_t1' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t2' -' name pcr.pcr_t2' -' serialization.ddl struct pcr_t2 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t2' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t3' -' name pcr.pcr_t3' -' serialization.ddl struct pcr_t3 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t3' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08 [pcr_t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08 ' -' Partition' -' base file name: ds=2000-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2000-04-08' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08' -' name pcr.pcr_t1' -' numFiles 1' -' numPartitions 4' -' numRows 20' -' partition_columns ds' -' rawDataSize 160' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1' -' name pcr.pcr_t1' -' numFiles 4' -' numPartitions 4' -' numRows 80' -' partition_columns ds' -' rawDataSize 640' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 720' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t1' -' name: pcr.pcr_t1' -'' -' Stage: Stage-8' -' Conditional Operator' -'' -' Stage: Stage-5' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t2' -' name pcr.pcr_t2' -' serialization.ddl struct pcr_t2 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t2' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t2' -' name pcr.pcr_t2' -' serialization.ddl struct pcr_t2 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t2' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10004' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t2' -' name pcr.pcr_t2' -' serialization.ddl struct pcr_t2 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t2' -' name pcr.pcr_t2' -' serialization.ddl struct pcr_t2 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t2' -' name: pcr.pcr_t2' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t2' -' name pcr.pcr_t2' -' serialization.ddl struct pcr_t2 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t2' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10004' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t2' -' name pcr.pcr_t2' -' serialization.ddl struct pcr_t2 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t2' -' name pcr.pcr_t2' -' serialization.ddl struct pcr_t2 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t2' -' name: pcr.pcr_t2' -'' -' Stage: Stage-7' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-14' -' Conditional Operator' -'' -' Stage: Stage-11' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t3' -' name pcr.pcr_t3' -' serialization.ddl struct pcr_t3 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t3' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-9' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-10' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t3' -' name pcr.pcr_t3' -' serialization.ddl struct pcr_t3 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t3' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10005' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t3' -' name pcr.pcr_t3' -' serialization.ddl struct pcr_t3 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t3' -' name pcr.pcr_t3' -' serialization.ddl struct pcr_t3 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t3' -' name: pcr.pcr_t3' -'' -' Stage: Stage-12' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t3' -' name pcr.pcr_t3' -' serialization.ddl struct pcr_t3 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t3' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10005' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t3' -' name pcr.pcr_t3' -' serialization.ddl struct pcr_t3 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t3' -' name pcr.pcr_t3' -' serialization.ddl struct pcr_t3 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t3' -' name: pcr.pcr_t3' -'' -' Stage: Stage-13' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -520 rows selected ->>> ->>> from pcr_t1 -insert overwrite table pcr_t2 select key, value where ds='2000-04-08' -insert overwrite table pcr_t3 select key, value where ds='2000-04-08'; -'key','value' -No rows selected ->>> ->>> explain extended -from pcr_t1 -insert overwrite table pcr_t2 select key, value where ds='2000-04-08' and key=2 -insert overwrite table pcr_t3 select key, value where ds='2000-04-08' and key=3; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME pcr_t1))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME pcr_t2))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_WHERE (and (= (TOK_TABLE_OR_COL ds) '2000-04-08') (= (TOK_TABLE_OR_COL key) 2)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME pcr_t3))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_WHERE (and (= (TOK_TABLE_OR_COL ds) '2000-04-08') (= (TOK_TABLE_OR_COL key) 3)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-8 depends on stages: Stage-2 , consists of Stage-5, Stage-4, Stage-6' -' Stage-5' -' Stage-0 depends on stages: Stage-5, Stage-4, Stage-7' -' Stage-3 depends on stages: Stage-0' -' Stage-4' -' Stage-6' -' Stage-7 depends on stages: Stage-6' -' Stage-14 depends on stages: Stage-2 , consists of Stage-11, Stage-10, Stage-12' -' Stage-11' -' Stage-1 depends on stages: Stage-11, Stage-10, Stage-13' -' Stage-9 depends on stages: Stage-1' -' Stage-10' -' Stage-12' -' Stage-13 depends on stages: Stage-12' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pcr_t1 ' -' TableScan' -' alias: pcr_t1' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (key = 2)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t2' -' name pcr.pcr_t2' -' numFiles 1' -' numPartitions 0' -' numRows 20' -' rawDataSize 160' -' serialization.ddl struct pcr_t2 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t2' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (key = 3)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t3' -' name pcr.pcr_t3' -' numFiles 1' -' numPartitions 0' -' numRows 20' -' rawDataSize 160' -' serialization.ddl struct pcr_t3 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t3' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08 [pcr_t1]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08 ' -' Partition' -' base file name: ds=2000-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2000-04-08' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1/ds=2000-04-08' -' name pcr.pcr_t1' -' numFiles 1' -' numPartitions 4' -' numRows 20' -' partition_columns ds' -' rawDataSize 160' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t1' -' name pcr.pcr_t1' -' numFiles 4' -' numPartitions 4' -' numRows 80' -' partition_columns ds' -' rawDataSize 640' -' serialization.ddl struct pcr_t1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 720' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t1' -' name: pcr.pcr_t1' -'' -' Stage: Stage-8' -' Conditional Operator' -'' -' Stage: Stage-5' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t2' -' name pcr.pcr_t2' -' numFiles 1' -' numPartitions 0' -' numRows 20' -' rawDataSize 160' -' serialization.ddl struct pcr_t2 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t2' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t2' -' name pcr.pcr_t2' -' numFiles 1' -' numPartitions 0' -' numRows 20' -' rawDataSize 160' -' serialization.ddl struct pcr_t2 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t2' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10004' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t2' -' name pcr.pcr_t2' -' numFiles 1' -' numPartitions 0' -' numRows 20' -' rawDataSize 160' -' serialization.ddl struct pcr_t2 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t2' -' name pcr.pcr_t2' -' numFiles 1' -' numPartitions 0' -' numRows 20' -' rawDataSize 160' -' serialization.ddl struct pcr_t2 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t2' -' name: pcr.pcr_t2' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t2' -' name pcr.pcr_t2' -' numFiles 1' -' numPartitions 0' -' numRows 20' -' rawDataSize 160' -' serialization.ddl struct pcr_t2 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t2' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10004' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t2' -' name pcr.pcr_t2' -' numFiles 1' -' numPartitions 0' -' numRows 20' -' rawDataSize 160' -' serialization.ddl struct pcr_t2 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t2' -' name pcr.pcr_t2' -' numFiles 1' -' numPartitions 0' -' numRows 20' -' rawDataSize 160' -' serialization.ddl struct pcr_t2 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t2' -' name: pcr.pcr_t2' -'' -' Stage: Stage-7' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-14' -' Conditional Operator' -'' -' Stage: Stage-11' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t3' -' name pcr.pcr_t3' -' numFiles 1' -' numPartitions 0' -' numRows 20' -' rawDataSize 160' -' serialization.ddl struct pcr_t3 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t3' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-9' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-10' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t3' -' name pcr.pcr_t3' -' numFiles 1' -' numPartitions 0' -' numRows 20' -' rawDataSize 160' -' serialization.ddl struct pcr_t3 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t3' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10005' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t3' -' name pcr.pcr_t3' -' numFiles 1' -' numPartitions 0' -' numRows 20' -' rawDataSize 160' -' serialization.ddl struct pcr_t3 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t3' -' name pcr.pcr_t3' -' numFiles 1' -' numPartitions 0' -' numRows 20' -' rawDataSize 160' -' serialization.ddl struct pcr_t3 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t3' -' name: pcr.pcr_t3' -'' -' Stage: Stage-12' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t3' -' name pcr.pcr_t3' -' numFiles 1' -' numPartitions 0' -' numRows 20' -' rawDataSize 160' -' serialization.ddl struct pcr_t3 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t3' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10005' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t3' -' name pcr.pcr_t3' -' numFiles 1' -' numPartitions 0' -' numRows 20' -' rawDataSize 160' -' serialization.ddl struct pcr_t3 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/pcr_t3' -' name pcr.pcr_t3' -' numFiles 1' -' numPartitions 0' -' numRows 20' -' rawDataSize 160' -' serialization.ddl struct pcr_t3 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 180' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.pcr_t3' -' name: pcr.pcr_t3' -'' -' Stage: Stage-13' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -610 rows selected ->>> ->>> from pcr_t1 -insert overwrite table pcr_t2 select key, value where ds='2000-04-08' and key=2 -insert overwrite table pcr_t3 select key, value where ds='2000-04-08' and key=3; -'key','value' -No rows selected ->>> ->>> ->>> explain extended select key, value from srcpart where ds='2008-04-08' and hr=11 order by key limit 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_WHERE (and (= (TOK_TABLE_OR_COL ds) '2008-04-08') (= (TOK_TABLE_OR_COL hr) 11))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key))) (TOK_LIMIT 10)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' srcpart ' -' TableScan' -' alias: srcpart' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/srcpart/ds=2008-04-08/hr=11 [srcpart]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/srcpart/ds=2008-04-08/hr=11' -' name pcr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/srcpart' -' name pcr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.srcpart' -' name: pcr.srcpart' -' Reduce Operator Tree:' -' Extract' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 10' -'' -'' -114 rows selected ->>> select key, value from srcpart where ds='2008-04-04' and hr=11 order by key limit 10; -'key','value' -No rows selected ->>> ->>> explain extended select key, value, ds, hr from srcpart where ds='2008-04-08' and (hr='11' or hr='12') and key=11 order by key, ds, hr; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL ds)) (TOK_SELEXPR (TOK_TABLE_OR_COL hr))) (TOK_WHERE (and (and (= (TOK_TABLE_OR_COL ds) '2008-04-08') (or (= (TOK_TABLE_OR_COL hr) '11') (= (TOK_TABLE_OR_COL hr) '12'))) (= (TOK_TABLE_OR_COL key) 11))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL ds)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL hr)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' srcpart ' -' TableScan' -' alias: srcpart' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (key = 11.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' sort order: +++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/srcpart/ds=2008-04-08/hr=11 [srcpart]' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/srcpart/ds=2008-04-08/hr=12 [srcpart]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/srcpart/ds=2008-04-08/hr=11' -' name pcr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/srcpart' -' name pcr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.srcpart' -' name: pcr.srcpart' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/srcpart/ds=2008-04-08/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/srcpart/ds=2008-04-08/hr=12' -' name pcr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/srcpart' -' name pcr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.srcpart' -' name: pcr.srcpart' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string:string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -182 rows selected ->>> select key, value, ds, hr from srcpart where ds='2008-04-08' and (hr='11' or hr='12') and key=11 order by key, ds, hr; -'key','value','ds','hr' -'11','val_11','2008-04-08','11' -'11','val_11','2008-04-08','12' -2 rows selected ->>> ->>> explain extended select key, value, ds, hr from srcpart where hr='11' and key=11 order by key, ds, hr; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL ds)) (TOK_SELEXPR (TOK_TABLE_OR_COL hr))) (TOK_WHERE (and (= (TOK_TABLE_OR_COL hr) '11') (= (TOK_TABLE_OR_COL key) 11))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL ds)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL hr)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' srcpart ' -' TableScan' -' alias: srcpart' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (key = 11.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' sort order: +++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/srcpart/ds=2008-04-08/hr=11 [srcpart]' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/srcpart/ds=2008-04-09/hr=11 [srcpart]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/srcpart/ds=2008-04-08/hr=11' -' name pcr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/srcpart' -' name pcr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.srcpart' -' name: pcr.srcpart' -' !!{hive.metastore.warehouse.dir}!!/pcr.db/srcpart/ds=2008-04-09/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-09' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/srcpart/ds=2008-04-09/hr=11' -' name pcr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/pcr.db/srcpart' -' name pcr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: pcr.srcpart' -' name: pcr.srcpart' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string:string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -182 rows selected ->>> select key, value, ds, hr from srcpart where hr='11' and key=11 order by key, ds, hr; -'key','value','ds','hr' -'11','val_11','2008-04-08','11' -'11','val_11','2008-04-09','11' -2 rows selected ->>> ->>> drop table pcr_t1; -No rows affected ->>> drop table pcr_t2; -No rows affected ->>> drop table pcr_t3; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/ppd1.q.out ql/src/test/results/beelinepositive/ppd1.q.out deleted file mode 100644 index 96c72ab..0000000 --- ql/src/test/results/beelinepositive/ppd1.q.out +++ /dev/null @@ -1,864 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/ppd1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/ppd1.q ->>> set hive.optimize.ppd=true; -No rows affected ->>> set hive.ppd.remove.duplicatefilters=false; -No rows affected ->>> ->>> EXPLAIN -SELECT src.key as c3 from src where src.key > '2'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c3)) (TOK_WHERE (> (. (TOK_TABLE_OR_COL src) key) '2'))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key > '2')' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key > '2')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -39 rows selected ->>> ->>> SELECT src.key as c3 from src where src.key > '2'; -'c3' -'238' -'86' -'311' -'27' -'409' -'255' -'278' -'98' -'484' -'265' -'401' -'273' -'224' -'369' -'66' -'213' -'406' -'429' -'374' -'469' -'495' -'37' -'327' -'281' -'277' -'209' -'82' -'403' -'417' -'430' -'252' -'292' -'219' -'287' -'338' -'446' -'459' -'394' -'237' -'482' -'413' -'494' -'207' -'466' -'208' -'399' -'396' -'247' -'417' -'489' -'377' -'397' -'309' -'365' -'266' -'439' -'342' -'367' -'325' -'475' -'203' -'339' -'455' -'311' -'316' -'57' -'302' -'205' -'438' -'345' -'20' -'489' -'378' -'221' -'92' -'47' -'72' -'4' -'280' -'35' -'427' -'277' -'208' -'356' -'399' -'382' -'498' -'386' -'437' -'469' -'286' -'54' -'459' -'51' -'239' -'213' -'216' -'430' -'278' -'289' -'221' -'65' -'318' -'332' -'311' -'275' -'241' -'83' -'333' -'284' -'230' -'67' -'260' -'404' -'384' -'489' -'353' -'373' -'272' -'217' -'84' -'348' -'466' -'58' -'8' -'411' -'230' -'208' -'348' -'24' -'463' -'431' -'42' -'496' -'322' -'468' -'393' -'454' -'298' -'418' -'96' -'26' -'327' -'230' -'205' -'51' -'404' -'43' -'436' -'469' -'468' -'308' -'95' -'288' -'481' -'457' -'98' -'282' -'318' -'318' -'409' -'470' -'369' -'316' -'413' -'85' -'77' -'490' -'87' -'364' -'395' -'282' -'238' -'419' -'72' -'90' -'307' -'435' -'277' -'273' -'306' -'224' -'309' -'389' -'327' -'242' -'369' -'392' -'272' -'331' -'401' -'242' -'452' -'226' -'5' -'497' -'402' -'396' -'317' -'395' -'58' -'35' -'336' -'95' -'34' -'229' -'233' -'472' -'322' -'498' -'42' -'321' -'430' -'489' -'458' -'78' -'76' -'41' -'223' -'492' -'449' -'218' -'228' -'453' -'30' -'209' -'64' -'468' -'76' -'74' -'342' -'69' -'230' -'33' -'368' -'296' -'216' -'367' -'344' -'274' -'219' -'239' -'485' -'223' -'256' -'263' -'70' -'487' -'480' -'401' -'288' -'5' -'244' -'438' -'467' -'432' -'202' -'316' -'229' -'469' -'463' -'280' -'35' -'283' -'331' -'235' -'80' -'44' -'321' -'335' -'466' -'366' -'403' -'483' -'53' -'257' -'406' -'409' -'406' -'401' -'258' -'90' -'203' -'262' -'348' -'424' -'396' -'201' -'217' -'431' -'454' -'478' -'298' -'431' -'424' -'382' -'5' -'70' -'397' -'480' -'291' -'24' -'351' -'255' -'70' -'438' -'414' -'200' -'491' -'237' -'439' -'360' -'248' -'479' -'305' -'417' -'444' -'429' -'443' -'323' -'325' -'277' -'230' -'478' -'468' -'310' -'317' -'333' -'493' -'460' -'207' -'249' -'265' -'480' -'83' -'353' -'214' -'462' -'233' -'406' -'454' -'375' -'401' -'421' -'407' -'384' -'256' -'26' -'67' -'384' -'379' -'462' -'492' -'298' -'9' -'341' -'498' -'458' -'362' -'285' -'348' -'273' -'281' -'344' -'97' -'469' -'315' -'84' -'28' -'37' -'448' -'348' -'307' -'414' -'477' -'222' -'90' -'403' -'400' -'200' -'97' -381 rows selected ->>> ->>> set hive.ppd.remove.duplicatefilters=true; -No rows affected ->>> ->>> EXPLAIN -SELECT src.key as c3 from src where src.key > '2'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c3)) (TOK_WHERE (> (. (TOK_TABLE_OR_COL src) key) '2'))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key > '2')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -35 rows selected ->>> ->>> SELECT src.key as c3 from src where src.key > '2'; -'c3' -'238' -'86' -'311' -'27' -'409' -'255' -'278' -'98' -'484' -'265' -'401' -'273' -'224' -'369' -'66' -'213' -'406' -'429' -'374' -'469' -'495' -'37' -'327' -'281' -'277' -'209' -'82' -'403' -'417' -'430' -'252' -'292' -'219' -'287' -'338' -'446' -'459' -'394' -'237' -'482' -'413' -'494' -'207' -'466' -'208' -'399' -'396' -'247' -'417' -'489' -'377' -'397' -'309' -'365' -'266' -'439' -'342' -'367' -'325' -'475' -'203' -'339' -'455' -'311' -'316' -'57' -'302' -'205' -'438' -'345' -'20' -'489' -'378' -'221' -'92' -'47' -'72' -'4' -'280' -'35' -'427' -'277' -'208' -'356' -'399' -'382' -'498' -'386' -'437' -'469' -'286' -'54' -'459' -'51' -'239' -'213' -'216' -'430' -'278' -'289' -'221' -'65' -'318' -'332' -'311' -'275' -'241' -'83' -'333' -'284' -'230' -'67' -'260' -'404' -'384' -'489' -'353' -'373' -'272' -'217' -'84' -'348' -'466' -'58' -'8' -'411' -'230' -'208' -'348' -'24' -'463' -'431' -'42' -'496' -'322' -'468' -'393' -'454' -'298' -'418' -'96' -'26' -'327' -'230' -'205' -'51' -'404' -'43' -'436' -'469' -'468' -'308' -'95' -'288' -'481' -'457' -'98' -'282' -'318' -'318' -'409' -'470' -'369' -'316' -'413' -'85' -'77' -'490' -'87' -'364' -'395' -'282' -'238' -'419' -'72' -'90' -'307' -'435' -'277' -'273' -'306' -'224' -'309' -'389' -'327' -'242' -'369' -'392' -'272' -'331' -'401' -'242' -'452' -'226' -'5' -'497' -'402' -'396' -'317' -'395' -'58' -'35' -'336' -'95' -'34' -'229' -'233' -'472' -'322' -'498' -'42' -'321' -'430' -'489' -'458' -'78' -'76' -'41' -'223' -'492' -'449' -'218' -'228' -'453' -'30' -'209' -'64' -'468' -'76' -'74' -'342' -'69' -'230' -'33' -'368' -'296' -'216' -'367' -'344' -'274' -'219' -'239' -'485' -'223' -'256' -'263' -'70' -'487' -'480' -'401' -'288' -'5' -'244' -'438' -'467' -'432' -'202' -'316' -'229' -'469' -'463' -'280' -'35' -'283' -'331' -'235' -'80' -'44' -'321' -'335' -'466' -'366' -'403' -'483' -'53' -'257' -'406' -'409' -'406' -'401' -'258' -'90' -'203' -'262' -'348' -'424' -'396' -'201' -'217' -'431' -'454' -'478' -'298' -'431' -'424' -'382' -'5' -'70' -'397' -'480' -'291' -'24' -'351' -'255' -'70' -'438' -'414' -'200' -'491' -'237' -'439' -'360' -'248' -'479' -'305' -'417' -'444' -'429' -'443' -'323' -'325' -'277' -'230' -'478' -'468' -'310' -'317' -'333' -'493' -'460' -'207' -'249' -'265' -'480' -'83' -'353' -'214' -'462' -'233' -'406' -'454' -'375' -'401' -'421' -'407' -'384' -'256' -'26' -'67' -'384' -'379' -'462' -'492' -'298' -'9' -'341' -'498' -'458' -'362' -'285' -'348' -'273' -'281' -'344' -'97' -'469' -'315' -'84' -'28' -'37' -'448' -'348' -'307' -'414' -'477' -'222' -'90' -'403' -'400' -'200' -'97' -381 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/ppd2.q.out ql/src/test/results/beelinepositive/ppd2.q.out deleted file mode 100644 index 72dee35..0000000 --- ql/src/test/results/beelinepositive/ppd2.q.out +++ /dev/null @@ -1,760 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/ppd2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/ppd2.q ->>> set hive.optimize.ppd=true; -No rows affected ->>> set hive.ppd.remove.duplicatefilters=true; -No rows affected ->>> ->>> explain -select b.key,b.cc -from ( -select a.* -from ( -select key, count(value) as cc -from srcpart a -where a.ds = '2008-04-08' and a.hr = '11' -group by key -)a -distribute by a.key -sort by a.key,a.cc desc) b -where b.cc>1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count (TOK_TABLE_OR_COL value)) cc)) (TOK_WHERE (and (= (. (TOK_TABLE_OR_COL a) ds) '2008-04-08') (= (. (TOK_TABLE_OR_COL a) hr) '11'))) (TOK_GROUPBY (TOK_TABLE_OR_COL key)))) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME a)))) (TOK_DISTRIBUTEBY (. (TOK_TABLE_OR_COL a) key)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)) (TOK_TABSORTCOLNAMEDESC (. (TOK_TABLE_OR_COL a) cc))))) b)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) cc))) (TOK_WHERE (> (. (TOK_TABLE_OR_COL b) cc) 1))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b:a:a ' -' TableScan' -' alias: a' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: count(value)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' sort order: +-' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Extract' -' Filter Operator' -' predicate:' -' expr: (_col1 > 1)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -119 rows selected ->>> ->>> select b.key,b.cc -from ( -select a.* -from ( -select key, count(value) as cc -from srcpart a -where a.ds = '2008-04-08' and a.hr = '11' -group by key -)a -distribute by a.key -sort by a.key,a.cc desc) b -where b.cc>1; -'key','cc' -'0','3' -'100','2' -'103','2' -'104','2' -'113','2' -'118','2' -'119','3' -'12','2' -'120','2' -'125','2' -'128','3' -'129','2' -'134','2' -'137','2' -'138','4' -'146','2' -'149','2' -'15','2' -'152','2' -'164','2' -'165','2' -'167','3' -'169','4' -'172','2' -'174','2' -'175','2' -'176','2' -'179','2' -'18','2' -'187','3' -'191','2' -'193','3' -'195','2' -'197','2' -'199','3' -'200','2' -'203','2' -'205','2' -'207','2' -'208','3' -'209','2' -'213','2' -'216','2' -'217','2' -'219','2' -'221','2' -'223','2' -'224','2' -'229','2' -'230','5' -'233','2' -'237','2' -'238','2' -'239','2' -'24','2' -'242','2' -'255','2' -'256','2' -'26','2' -'265','2' -'272','2' -'273','3' -'277','4' -'278','2' -'280','2' -'281','2' -'282','2' -'288','2' -'298','3' -'307','2' -'309','2' -'311','3' -'316','3' -'317','2' -'318','3' -'321','2' -'322','2' -'325','2' -'327','3' -'331','2' -'333','2' -'342','2' -'344','2' -'348','5' -'35','3' -'353','2' -'367','2' -'369','3' -'37','2' -'382','2' -'384','3' -'395','2' -'396','3' -'397','2' -'399','2' -'401','5' -'403','3' -'404','2' -'406','4' -'409','3' -'413','2' -'414','2' -'417','3' -'42','2' -'424','2' -'429','2' -'430','3' -'431','3' -'438','3' -'439','2' -'454','3' -'458','2' -'459','2' -'462','2' -'463','2' -'466','3' -'468','4' -'469','5' -'478','2' -'480','3' -'489','4' -'492','2' -'498','3' -'5','3' -'51','2' -'58','2' -'67','2' -'70','3' -'72','2' -'76','2' -'83','2' -'84','2' -'90','3' -'95','2' -'97','2' -'98','2' -136 rows selected ->>> ->>> EXPLAIN -SELECT user_id -FROM ( -SELECT -CAST(key AS INT) AS user_id -,CASE WHEN (value LIKE 'aaa%' OR value LIKE 'vvv%') -THEN 1 -ELSE 0 END AS tag_student -FROM srcpart -) sub -WHERE sub.tag_student > 0; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION TOK_INT (TOK_TABLE_OR_COL key)) user_id) (TOK_SELEXPR (TOK_FUNCTION WHEN (OR (LIKE (TOK_TABLE_OR_COL value) 'aaa%') (LIKE (TOK_TABLE_OR_COL value) 'vvv%')) 1 0) tag_student)))) sub)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL user_id))) (TOK_WHERE (> (. (TOK_TABLE_OR_COL sub) tag_student) 0))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' sub:srcpart ' -' TableScan' -' alias: srcpart' -' Select Operator' -' expressions:' -' expr: UDFToInteger(key)' -' type: int' -' expr: CASE WHEN (((value like 'aaa%') or (value like 'vvv%'))) THEN (1) ELSE (0) END' -' type: int' -' outputColumnNames: _col0, _col1' -' Filter Operator' -' predicate:' -' expr: (_col1 > 0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -42 rows selected ->>> ->>> EXPLAIN -SELECT x.key, x.value as v1, y.key FROM SRC x JOIN SRC y ON (x.key = y.key) where x.key = 20 CLUSTER BY v1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME SRC) x) (TOK_TABREF (TOK_TABNAME SRC) y) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL y) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL x) value) v1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL y) key))) (TOK_WHERE (= (. (TOK_TABLE_OR_COL x) key) 20)) (TOK_CLUSTERBY (TOK_TABLE_OR_COL v1))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x ' -' TableScan' -' alias: x' -' Filter Operator' -' predicate:' -' expr: (key = 20.0)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' y ' -' TableScan' -' alias: y' -' Filter Operator' -' predicate:' -' expr: (key = 20.0)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col1' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -111 rows selected ->>> ->>> set hive.optimize.ppd=true; -No rows affected ->>> set hive.ppd.remove.duplicatefilters=false; -No rows affected ->>> ->>> explain -select b.key,b.cc -from ( -select a.* -from ( -select key, count(value) as cc -from srcpart a -where a.ds = '2008-04-08' and a.hr = '11' -group by key -)a -distribute by a.key -sort by a.key,a.cc desc) b -where b.cc>1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count (TOK_TABLE_OR_COL value)) cc)) (TOK_WHERE (and (= (. (TOK_TABLE_OR_COL a) ds) '2008-04-08') (= (. (TOK_TABLE_OR_COL a) hr) '11'))) (TOK_GROUPBY (TOK_TABLE_OR_COL key)))) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME a)))) (TOK_DISTRIBUTEBY (. (TOK_TABLE_OR_COL a) key)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)) (TOK_TABSORTCOLNAMEDESC (. (TOK_TABLE_OR_COL a) cc))))) b)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) cc))) (TOK_WHERE (> (. (TOK_TABLE_OR_COL b) cc) 1))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b:a:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: ((ds = '2008-04-08') and (hr = '11'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: count(value)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' sort order: +-' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Extract' -' Filter Operator' -' predicate:' -' expr: (_col1 > 1)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -123 rows selected ->>> ->>> select b.key,b.cc -from ( -select a.* -from ( -select key, count(value) as cc -from srcpart a -where a.ds = '2008-04-08' and a.hr = '11' -group by key -)a -distribute by a.key -sort by a.key,a.cc desc) b -where b.cc>1; -'key','cc' -'0','3' -'100','2' -'103','2' -'104','2' -'113','2' -'118','2' -'119','3' -'12','2' -'120','2' -'125','2' -'128','3' -'129','2' -'134','2' -'137','2' -'138','4' -'146','2' -'149','2' -'15','2' -'152','2' -'164','2' -'165','2' -'167','3' -'169','4' -'172','2' -'174','2' -'175','2' -'176','2' -'179','2' -'18','2' -'187','3' -'191','2' -'193','3' -'195','2' -'197','2' -'199','3' -'200','2' -'203','2' -'205','2' -'207','2' -'208','3' -'209','2' -'213','2' -'216','2' -'217','2' -'219','2' -'221','2' -'223','2' -'224','2' -'229','2' -'230','5' -'233','2' -'237','2' -'238','2' -'239','2' -'24','2' -'242','2' -'255','2' -'256','2' -'26','2' -'265','2' -'272','2' -'273','3' -'277','4' -'278','2' -'280','2' -'281','2' -'282','2' -'288','2' -'298','3' -'307','2' -'309','2' -'311','3' -'316','3' -'317','2' -'318','3' -'321','2' -'322','2' -'325','2' -'327','3' -'331','2' -'333','2' -'342','2' -'344','2' -'348','5' -'35','3' -'353','2' -'367','2' -'369','3' -'37','2' -'382','2' -'384','3' -'395','2' -'396','3' -'397','2' -'399','2' -'401','5' -'403','3' -'404','2' -'406','4' -'409','3' -'413','2' -'414','2' -'417','3' -'42','2' -'424','2' -'429','2' -'430','3' -'431','3' -'438','3' -'439','2' -'454','3' -'458','2' -'459','2' -'462','2' -'463','2' -'466','3' -'468','4' -'469','5' -'478','2' -'480','3' -'489','4' -'492','2' -'498','3' -'5','3' -'51','2' -'58','2' -'67','2' -'70','3' -'72','2' -'76','2' -'83','2' -'84','2' -'90','3' -'95','2' -'97','2' -'98','2' -136 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/ppd_constant_expr.q.out ql/src/test/results/beelinepositive/ppd_constant_expr.q.out deleted file mode 100644 index 9cee9b2..0000000 --- ql/src/test/results/beelinepositive/ppd_constant_expr.q.out +++ /dev/null @@ -1,297 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/ppd_constant_expr.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/ppd_constant_expr.q ->>> set hive.optimize.ppd=true; -No rows affected ->>> set hive.ppd.remove.duplicatefilters=false; -No rows affected ->>> ->>> CREATE TABLE ppd_constant_expr(c1 STRING, c2 INT, c3 DOUBLE) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src1 -INSERT OVERWRITE TABLE ppd_constant_expr SELECT 4 + NULL, src1.key - NULL, NULL + NULL; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src1))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME ppd_constant_expr))) (TOK_SELECT (TOK_SELEXPR (+ 4 TOK_NULL)) (TOK_SELEXPR (- (. (TOK_TABLE_OR_COL src1) key) TOK_NULL)) (TOK_SELEXPR (+ TOK_NULL TOK_NULL)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Select Operator' -' expressions:' -' expr: (4 + null)' -' type: int' -' expr: (key - null)' -' type: double' -' expr: (null + null)' -' type: tinyint' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: UDFToDouble(_col2)' -' type: double' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: ppd_constant_expr.ppd_constant_expr' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: ppd_constant_expr.ppd_constant_expr' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: ppd_constant_expr.ppd_constant_expr' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: ppd_constant_expr.ppd_constant_expr' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -102 rows selected ->>> ->>> FROM src1 -INSERT OVERWRITE TABLE ppd_constant_expr SELECT 4 + NULL, src1.key - NULL, NULL + NULL; -'_col0','_col1','_col2' -No rows selected ->>> ->>> SELECT ppd_constant_expr.* FROM ppd_constant_expr; -'c1','c2','c3' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -25 rows selected ->>> ->>> set hive.ppd.remove.duplicatefilters=true; -No rows affected ->>> ->>> EXPLAIN -FROM src1 -INSERT OVERWRITE TABLE ppd_constant_expr SELECT 4 + NULL, src1.key - NULL, NULL + NULL; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src1))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME ppd_constant_expr))) (TOK_SELECT (TOK_SELEXPR (+ 4 TOK_NULL)) (TOK_SELEXPR (- (. (TOK_TABLE_OR_COL src1) key) TOK_NULL)) (TOK_SELEXPR (+ TOK_NULL TOK_NULL)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Select Operator' -' expressions:' -' expr: (4 + null)' -' type: int' -' expr: (key - null)' -' type: double' -' expr: (null + null)' -' type: tinyint' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: UDFToInteger(_col1)' -' type: int' -' expr: UDFToDouble(_col2)' -' type: double' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: ppd_constant_expr.ppd_constant_expr' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: ppd_constant_expr.ppd_constant_expr' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: ppd_constant_expr.ppd_constant_expr' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: ppd_constant_expr.ppd_constant_expr' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -102 rows selected ->>> ->>> FROM src1 -INSERT OVERWRITE TABLE ppd_constant_expr SELECT 4 + NULL, src1.key - NULL, NULL + NULL; -'_col0','_col1','_col2' -No rows selected ->>> ->>> SELECT ppd_constant_expr.* FROM ppd_constant_expr; -'c1','c2','c3' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -'','','' -25 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/ppd_gby.q.out ql/src/test/results/beelinepositive/ppd_gby.q.out deleted file mode 100644 index d21ea54..0000000 --- ql/src/test/results/beelinepositive/ppd_gby.q.out +++ /dev/null @@ -1,470 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/ppd_gby.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/ppd_gby.q ->>> set hive.optimize.ppd=true; -No rows affected ->>> set hive.ppd.remove.duplicatefilters=false; -No rows affected ->>> ->>> EXPLAIN -SELECT src1.c1 -FROM -(SELECT src.value as c1, count(src.key) as c2 from src where src.value > 'val_10' group by src.value) src1 -WHERE src1.c1 > 'val_200' and (src1.c2 > 30 or src1.c1 < 'val_400'); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c1) (TOK_SELEXPR (TOK_FUNCTION count (. (TOK_TABLE_OR_COL src) key)) c2)) (TOK_WHERE (> (. (TOK_TABLE_OR_COL src) value) 'val_10')) (TOK_GROUPBY (. (TOK_TABLE_OR_COL src) value)))) src1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) c1))) (TOK_WHERE (and (> (. (TOK_TABLE_OR_COL src1) c1) 'val_200') (or (> (. (TOK_TABLE_OR_COL src1) c2) 30) (< (. (TOK_TABLE_OR_COL src1) c1) 'val_400'))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: ((value > 'val_10') and (value > 'val_200'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (value > 'val_10')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: value' -' type: string' -' expr: key' -' type: string' -' outputColumnNames: value, key' -' Group By Operator' -' aggregations:' -' expr: count(key)' -' bucketGroup: false' -' keys:' -' expr: value' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Filter Operator' -' predicate:' -' expr: ((_col0 > 'val_200') and ((_col1 > 30) or (_col0 < 'val_400')))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -88 rows selected ->>> ->>> SELECT src1.c1 -FROM -(SELECT src.value as c1, count(src.key) as c2 from src where src.value > 'val_10' group by src.value) src1 -WHERE src1.c1 > 'val_200' and (src1.c2 > 30 or src1.c1 < 'val_400'); -'c1' -'val_201' -'val_202' -'val_203' -'val_205' -'val_207' -'val_208' -'val_209' -'val_213' -'val_214' -'val_216' -'val_217' -'val_218' -'val_219' -'val_221' -'val_222' -'val_223' -'val_224' -'val_226' -'val_228' -'val_229' -'val_230' -'val_233' -'val_235' -'val_237' -'val_238' -'val_239' -'val_24' -'val_241' -'val_242' -'val_244' -'val_247' -'val_248' -'val_249' -'val_252' -'val_255' -'val_256' -'val_257' -'val_258' -'val_26' -'val_260' -'val_262' -'val_263' -'val_265' -'val_266' -'val_27' -'val_272' -'val_273' -'val_274' -'val_275' -'val_277' -'val_278' -'val_28' -'val_280' -'val_281' -'val_282' -'val_283' -'val_284' -'val_285' -'val_286' -'val_287' -'val_288' -'val_289' -'val_291' -'val_292' -'val_296' -'val_298' -'val_30' -'val_302' -'val_305' -'val_306' -'val_307' -'val_308' -'val_309' -'val_310' -'val_311' -'val_315' -'val_316' -'val_317' -'val_318' -'val_321' -'val_322' -'val_323' -'val_325' -'val_327' -'val_33' -'val_331' -'val_332' -'val_333' -'val_335' -'val_336' -'val_338' -'val_339' -'val_34' -'val_341' -'val_342' -'val_344' -'val_345' -'val_348' -'val_35' -'val_351' -'val_353' -'val_356' -'val_360' -'val_362' -'val_364' -'val_365' -'val_366' -'val_367' -'val_368' -'val_369' -'val_37' -'val_373' -'val_374' -'val_375' -'val_377' -'val_378' -'val_379' -'val_382' -'val_384' -'val_386' -'val_389' -'val_392' -'val_393' -'val_394' -'val_395' -'val_396' -'val_397' -'val_399' -'val_4' -129 rows selected ->>> ->>> set hive.ppd.remove.duplicatefilters=true; -No rows affected ->>> ->>> EXPLAIN -SELECT src1.c1 -FROM -(SELECT src.value as c1, count(src.key) as c2 from src where src.value > 'val_10' group by src.value) src1 -WHERE src1.c1 > 'val_200' and (src1.c2 > 30 or src1.c1 < 'val_400'); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c1) (TOK_SELEXPR (TOK_FUNCTION count (. (TOK_TABLE_OR_COL src) key)) c2)) (TOK_WHERE (> (. (TOK_TABLE_OR_COL src) value) 'val_10')) (TOK_GROUPBY (. (TOK_TABLE_OR_COL src) value)))) src1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) c1))) (TOK_WHERE (and (> (. (TOK_TABLE_OR_COL src1) c1) 'val_200') (or (> (. (TOK_TABLE_OR_COL src1) c2) 30) (< (. (TOK_TABLE_OR_COL src1) c1) 'val_400'))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: ((value > 'val_10') and (value > 'val_200'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: value' -' type: string' -' expr: key' -' type: string' -' outputColumnNames: value, key' -' Group By Operator' -' aggregations:' -' expr: count(key)' -' bucketGroup: false' -' keys:' -' expr: value' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Filter Operator' -' predicate:' -' expr: ((_col0 > 'val_200') and ((_col1 > 30) or (_col0 < 'val_400')))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -84 rows selected ->>> ->>> SELECT src1.c1 -FROM -(SELECT src.value as c1, count(src.key) as c2 from src where src.value > 'val_10' group by src.value) src1 -WHERE src1.c1 > 'val_200' and (src1.c2 > 30 or src1.c1 < 'val_400'); -'c1' -'val_201' -'val_202' -'val_203' -'val_205' -'val_207' -'val_208' -'val_209' -'val_213' -'val_214' -'val_216' -'val_217' -'val_218' -'val_219' -'val_221' -'val_222' -'val_223' -'val_224' -'val_226' -'val_228' -'val_229' -'val_230' -'val_233' -'val_235' -'val_237' -'val_238' -'val_239' -'val_24' -'val_241' -'val_242' -'val_244' -'val_247' -'val_248' -'val_249' -'val_252' -'val_255' -'val_256' -'val_257' -'val_258' -'val_26' -'val_260' -'val_262' -'val_263' -'val_265' -'val_266' -'val_27' -'val_272' -'val_273' -'val_274' -'val_275' -'val_277' -'val_278' -'val_28' -'val_280' -'val_281' -'val_282' -'val_283' -'val_284' -'val_285' -'val_286' -'val_287' -'val_288' -'val_289' -'val_291' -'val_292' -'val_296' -'val_298' -'val_30' -'val_302' -'val_305' -'val_306' -'val_307' -'val_308' -'val_309' -'val_310' -'val_311' -'val_315' -'val_316' -'val_317' -'val_318' -'val_321' -'val_322' -'val_323' -'val_325' -'val_327' -'val_33' -'val_331' -'val_332' -'val_333' -'val_335' -'val_336' -'val_338' -'val_339' -'val_34' -'val_341' -'val_342' -'val_344' -'val_345' -'val_348' -'val_35' -'val_351' -'val_353' -'val_356' -'val_360' -'val_362' -'val_364' -'val_365' -'val_366' -'val_367' -'val_368' -'val_369' -'val_37' -'val_373' -'val_374' -'val_375' -'val_377' -'val_378' -'val_379' -'val_382' -'val_384' -'val_386' -'val_389' -'val_392' -'val_393' -'val_394' -'val_395' -'val_396' -'val_397' -'val_399' -'val_4' -129 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/ppd_gby2.q.out ql/src/test/results/beelinepositive/ppd_gby2.q.out deleted file mode 100644 index c286e21..0000000 --- ql/src/test/results/beelinepositive/ppd_gby2.q.out +++ /dev/null @@ -1,330 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/ppd_gby2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/ppd_gby2.q ->>> set hive.optimize.ppd=true; -No rows affected ->>> set hive.ppd.remove.duplicatefilters=false; -No rows affected ->>> ->>> EXPLAIN -SELECT max(src1.c1), src1.c2 -FROM -(SELECT src.value AS c1, count(src.key) AS c2 FROM src WHERE src.value > 'val_10' GROUP BY src.value) src1 -WHERE src1.c1 > 'val_200' AND (src1.c2 > 30 OR src1.c1 < 'val_400') -GROUP BY src1.c2; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c1) (TOK_SELEXPR (TOK_FUNCTION count (. (TOK_TABLE_OR_COL src) key)) c2)) (TOK_WHERE (> (. (TOK_TABLE_OR_COL src) value) 'val_10')) (TOK_GROUPBY (. (TOK_TABLE_OR_COL src) value)))) src1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION max (. (TOK_TABLE_OR_COL src1) c1))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) c2))) (TOK_WHERE (AND (> (. (TOK_TABLE_OR_COL src1) c1) 'val_200') (OR (> (. (TOK_TABLE_OR_COL src1) c2) 30) (< (. (TOK_TABLE_OR_COL src1) c1) 'val_400')))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL src1) c2))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: ((value > 'val_10') and (value > 'val_200'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (value > 'val_10')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: value' -' type: string' -' expr: key' -' type: string' -' outputColumnNames: value, key' -' Group By Operator' -' aggregations:' -' expr: count(key)' -' bucketGroup: false' -' keys:' -' expr: value' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Filter Operator' -' predicate:' -' expr: ((_col0 > 'val_200') and ((_col1 > 30) or (_col0 < 'val_400')))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Group By Operator' -' aggregations:' -' expr: max(_col0)' -' bucketGroup: false' -' keys:' -' expr: _col1' -' type: bigint' -' mode: hash' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: bigint' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: bigint' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: max(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: bigint' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -140 rows selected ->>> ->>> SELECT max(src1.c1), src1.c2 -FROM -(SELECT src.value AS c1, count(src.key) AS c2 FROM src WHERE src.value > 'val_10' GROUP BY src.value) src1 -WHERE src1.c1 > 'val_200' AND (src1.c2 > 30 OR src1.c1 < 'val_400') -GROUP BY src1.c2; -'_c0','c2' -'val_4','1' -'val_399','2' -'val_396','3' -'val_277','4' -'val_348','5' -5 rows selected ->>> ->>> set hive.ppd.remove.duplicatefilters=true; -No rows affected ->>> ->>> EXPLAIN -SELECT max(src1.c1), src1.c2 -FROM -(SELECT src.value AS c1, count(src.key) AS c2 FROM src WHERE src.value > 'val_10' GROUP BY src.value) src1 -WHERE src1.c1 > 'val_200' AND (src1.c2 > 30 OR src1.c1 < 'val_400') -GROUP BY src1.c2; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c1) (TOK_SELEXPR (TOK_FUNCTION count (. (TOK_TABLE_OR_COL src) key)) c2)) (TOK_WHERE (> (. (TOK_TABLE_OR_COL src) value) 'val_10')) (TOK_GROUPBY (. (TOK_TABLE_OR_COL src) value)))) src1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION max (. (TOK_TABLE_OR_COL src1) c1))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) c2))) (TOK_WHERE (AND (> (. (TOK_TABLE_OR_COL src1) c1) 'val_200') (OR (> (. (TOK_TABLE_OR_COL src1) c2) 30) (< (. (TOK_TABLE_OR_COL src1) c1) 'val_400')))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL src1) c2))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: ((value > 'val_10') and (value > 'val_200'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: value' -' type: string' -' expr: key' -' type: string' -' outputColumnNames: value, key' -' Group By Operator' -' aggregations:' -' expr: count(key)' -' bucketGroup: false' -' keys:' -' expr: value' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Filter Operator' -' predicate:' -' expr: ((_col0 > 'val_200') and ((_col1 > 30) or (_col0 < 'val_400')))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Group By Operator' -' aggregations:' -' expr: max(_col0)' -' bucketGroup: false' -' keys:' -' expr: _col1' -' type: bigint' -' mode: hash' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: bigint' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: bigint' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: max(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: bigint' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -136 rows selected ->>> ->>> SELECT max(src1.c1), src1.c2 -FROM -(SELECT src.value AS c1, count(src.key) AS c2 FROM src WHERE src.value > 'val_10' GROUP BY src.value) src1 -WHERE src1.c1 > 'val_200' AND (src1.c2 > 30 OR src1.c1 < 'val_400') -GROUP BY src1.c2; -'_c0','c2' -'val_4','1' -'val_399','2' -'val_396','3' -'val_277','4' -'val_348','5' -5 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/ppd_gby_join.q.out ql/src/test/results/beelinepositive/ppd_gby_join.q.out deleted file mode 100644 index 4f77a32..0000000 --- ql/src/test/results/beelinepositive/ppd_gby_join.q.out +++ /dev/null @@ -1,336 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/ppd_gby_join.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/ppd_gby_join.q ->>> set hive.optimize.ppd=true; -No rows affected ->>> set hive.ppd.remove.duplicatefilters=false; -No rows affected ->>> ->>> EXPLAIN -SELECT src1.c1, count(1) -FROM -(SELECT src.key AS c1, src.value AS c2 from src where src.key > '1' ) src1 -JOIN -(SELECT src.key AS c3, src.value AS c4 from src where src.key > '2' ) src2 -ON src1.c1 = src2.c3 AND src1.c1 < '400' -WHERE src1.c1 > '20' AND (src1.c2 < 'val_50' OR src1.c1 > '2') AND (src2.c3 > '50' OR src1.c1 < '50') AND (src2.c3 <> '4') -GROUP BY src1.c1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c2)) (TOK_WHERE (> (. (TOK_TABLE_OR_COL src) key) '1')))) src1) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c4)) (TOK_WHERE (> (. (TOK_TABLE_OR_COL src) key) '2')))) src2) (AND (= (. (TOK_TABLE_OR_COL src1) c1) (. (TOK_TABLE_OR_COL src2) c3)) (< (. (TOK_TABLE_OR_COL src1) c1) '400')))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) c1)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_WHERE (AND (AND (AND (> (. (TOK_TABLE_OR_COL src1) c1) '20') (OR (< (. (TOK_TABLE_OR_COL src1) c2) 'val_50') (> (. (TOK_TABLE_OR_COL src1) c1) '2'))) (OR (> (. (TOK_TABLE_OR_COL src2) c3) '50') (< (. (TOK_TABLE_OR_COL src1) c1) '50'))) (<> (. (TOK_TABLE_OR_COL src2) c3) '4'))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL src1) c1))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (((((key > '1') and (key < '400')) and (key > '20')) and ((value < 'val_50') or (key > '2'))) and (key <> '4'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key > '1')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Filter Operator' -' predicate:' -' expr: (_col0 < '400')' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' src2:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: ((((key > '2') and (key < '400')) and (key <> '4')) and (key > '20'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key > '2')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Filter Operator' -' predicate:' -' expr: (_col0 < '400')' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2' -' Filter Operator' -' predicate:' -' expr: ((((_col0 > '20') and ((_col1 < 'val_50') or (_col0 > '2'))) and ((_col2 > '50') or (_col0 < '50'))) and (_col2 <> '4'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -159 rows selected ->>> ->>> set hive.ppd.remove.duplicatefilters=true; -No rows affected ->>> ->>> EXPLAIN -SELECT src1.c1, count(1) -FROM -(SELECT src.key AS c1, src.value AS c2 from src where src.key > '1' ) src1 -JOIN -(SELECT src.key AS c3, src.value AS c4 from src where src.key > '2' ) src2 -ON src1.c1 = src2.c3 AND src1.c1 < '400' -WHERE src1.c1 > '20' AND (src1.c2 < 'val_50' OR src1.c1 > '2') AND (src2.c3 > '50' OR src1.c1 < '50') AND (src2.c3 <> '4') -GROUP BY src1.c1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c2)) (TOK_WHERE (> (. (TOK_TABLE_OR_COL src) key) '1')))) src1) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c4)) (TOK_WHERE (> (. (TOK_TABLE_OR_COL src) key) '2')))) src2) (AND (= (. (TOK_TABLE_OR_COL src1) c1) (. (TOK_TABLE_OR_COL src2) c3)) (< (. (TOK_TABLE_OR_COL src1) c1) '400')))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) c1)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_WHERE (AND (AND (AND (> (. (TOK_TABLE_OR_COL src1) c1) '20') (OR (< (. (TOK_TABLE_OR_COL src1) c2) 'val_50') (> (. (TOK_TABLE_OR_COL src1) c1) '2'))) (OR (> (. (TOK_TABLE_OR_COL src2) c3) '50') (< (. (TOK_TABLE_OR_COL src1) c1) '50'))) (<> (. (TOK_TABLE_OR_COL src2) c3) '4'))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL src1) c1))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (((((key > '1') and (key < '400')) and (key > '20')) and ((value < 'val_50') or (key > '2'))) and (key <> '4'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' src2:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: ((((key > '2') and (key < '400')) and (key <> '4')) and (key > '20'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2' -' Filter Operator' -' predicate:' -' expr: ((((_col0 > '20') and ((_col1 < 'val_50') or (_col0 > '2'))) and ((_col2 > '50') or (_col0 < '50'))) and (_col2 <> '4'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -143 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/ppd_join.q.out ql/src/test/results/beelinepositive/ppd_join.q.out deleted file mode 100644 index 2b8a60c..0000000 --- ql/src/test/results/beelinepositive/ppd_join.q.out +++ /dev/null @@ -1,1102 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/ppd_join.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/ppd_join.q ->>> set hive.optimize.ppd=true; -No rows affected ->>> set hive.ppd.remove.duplicatefilters=false; -No rows affected ->>> ->>> EXPLAIN -SELECT src1.c1, src2.c4 -FROM -(SELECT src.key as c1, src.value as c2 from src where src.key > '1' ) src1 -JOIN -(SELECT src.key as c3, src.value as c4 from src where src.key > '2' ) src2 -ON src1.c1 = src2.c3 AND src1.c1 < '400' -WHERE src1.c1 > '20' and (src1.c2 < 'val_50' or src1.c1 > '2') and (src2.c3 > '50' or src1.c1 < '50') and (src2.c3 <> '4'); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c2)) (TOK_WHERE (> (. (TOK_TABLE_OR_COL src) key) '1')))) src1) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c4)) (TOK_WHERE (> (. (TOK_TABLE_OR_COL src) key) '2')))) src2) (AND (= (. (TOK_TABLE_OR_COL src1) c1) (. (TOK_TABLE_OR_COL src2) c3)) (< (. (TOK_TABLE_OR_COL src1) c1) '400')))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) c1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) c4))) (TOK_WHERE (and (and (and (> (. (TOK_TABLE_OR_COL src1) c1) '20') (or (< (. (TOK_TABLE_OR_COL src1) c2) 'val_50') (> (. (TOK_TABLE_OR_COL src1) c1) '2'))) (or (> (. (TOK_TABLE_OR_COL src2) c3) '50') (< (. (TOK_TABLE_OR_COL src1) c1) '50'))) (<> (. (TOK_TABLE_OR_COL src2) c3) '4')))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (((((key > '1') and (key < '400')) and (key > '20')) and ((value < 'val_50') or (key > '2'))) and (key <> '4'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key > '1')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Filter Operator' -' predicate:' -' expr: (_col0 < '400')' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' src2:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: ((((key > '2') and (key < '400')) and (key <> '4')) and (key > '20'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key > '2')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Filter Operator' -' predicate:' -' expr: (_col0 < '400')' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Filter Operator' -' predicate:' -' expr: ((((_col0 > '20') and ((_col1 < 'val_50') or (_col0 > '2'))) and ((_col2 > '50') or (_col0 < '50'))) and (_col2 <> '4'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -115 rows selected ->>> ->>> SELECT src1.c1, src2.c4 -FROM -(SELECT src.key as c1, src.value as c2 from src where src.key > '1' ) src1 -JOIN -(SELECT src.key as c3, src.value as c4 from src where src.key > '2' ) src2 -ON src1.c1 = src2.c3 AND src1.c1 < '400' -WHERE src1.c1 > '20' and (src1.c2 < 'val_50' or src1.c1 > '2') and (src2.c3 > '50' or src1.c1 < '50') and (src2.c3 <> '4'); -'c1','c4' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'201','val_201' -'202','val_202' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'214','val_214' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'218','val_218' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'222','val_222' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'226','val_226' -'228','val_228' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'235','val_235' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'241','val_241' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'244','val_244' -'247','val_247' -'248','val_248' -'249','val_249' -'252','val_252' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'257','val_257' -'258','val_258' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'260','val_260' -'262','val_262' -'263','val_263' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'266','val_266' -'27','val_27' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'274','val_274' -'275','val_275' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'28','val_28' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'283','val_283' -'284','val_284' -'285','val_285' -'286','val_286' -'287','val_287' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'289','val_289' -'291','val_291' -'292','val_292' -'296','val_296' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'30','val_30' -'302','val_302' -'305','val_305' -'306','val_306' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'308','val_308' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'310','val_310' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'315','val_315' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'323','val_323' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'33','val_33' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'332','val_332' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'335','val_335' -'336','val_336' -'338','val_338' -'339','val_339' -'34','val_34' -'341','val_341' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'345','val_345' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'351','val_351' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'356','val_356' -'360','val_360' -'362','val_362' -'364','val_364' -'365','val_365' -'366','val_366' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'368','val_368' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'373','val_373' -'374','val_374' -'375','val_375' -'377','val_377' -'378','val_378' -'379','val_379' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'386','val_386' -'389','val_389' -'392','val_392' -'393','val_393' -'394','val_394' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -418 rows selected ->>> ->>> set hive.ppd.remove.duplicatefilters=true; -No rows affected ->>> ->>> EXPLAIN -SELECT src1.c1, src2.c4 -FROM -(SELECT src.key as c1, src.value as c2 from src where src.key > '1' ) src1 -JOIN -(SELECT src.key as c3, src.value as c4 from src where src.key > '2' ) src2 -ON src1.c1 = src2.c3 AND src1.c1 < '400' -WHERE src1.c1 > '20' and (src1.c2 < 'val_50' or src1.c1 > '2') and (src2.c3 > '50' or src1.c1 < '50') and (src2.c3 <> '4'); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c2)) (TOK_WHERE (> (. (TOK_TABLE_OR_COL src) key) '1')))) src1) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c4)) (TOK_WHERE (> (. (TOK_TABLE_OR_COL src) key) '2')))) src2) (AND (= (. (TOK_TABLE_OR_COL src1) c1) (. (TOK_TABLE_OR_COL src2) c3)) (< (. (TOK_TABLE_OR_COL src1) c1) '400')))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) c1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) c4))) (TOK_WHERE (and (and (and (> (. (TOK_TABLE_OR_COL src1) c1) '20') (or (< (. (TOK_TABLE_OR_COL src1) c2) 'val_50') (> (. (TOK_TABLE_OR_COL src1) c1) '2'))) (or (> (. (TOK_TABLE_OR_COL src2) c3) '50') (< (. (TOK_TABLE_OR_COL src1) c1) '50'))) (<> (. (TOK_TABLE_OR_COL src2) c3) '4')))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (((((key > '1') and (key < '400')) and (key > '20')) and ((value < 'val_50') or (key > '2'))) and (key <> '4'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' src2:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: ((((key > '2') and (key < '400')) and (key <> '4')) and (key > '20'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Filter Operator' -' predicate:' -' expr: ((((_col0 > '20') and ((_col1 < 'val_50') or (_col0 > '2'))) and ((_col2 > '50') or (_col0 < '50'))) and (_col2 <> '4'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -99 rows selected ->>> ->>> SELECT src1.c1, src2.c4 -FROM -(SELECT src.key as c1, src.value as c2 from src where src.key > '1' ) src1 -JOIN -(SELECT src.key as c3, src.value as c4 from src where src.key > '2' ) src2 -ON src1.c1 = src2.c3 AND src1.c1 < '400' -WHERE src1.c1 > '20' and (src1.c2 < 'val_50' or src1.c1 > '2') and (src2.c3 > '50' or src1.c1 < '50') and (src2.c3 <> '4'); -'c1','c4' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'201','val_201' -'202','val_202' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'214','val_214' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'218','val_218' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'222','val_222' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'226','val_226' -'228','val_228' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'235','val_235' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'241','val_241' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'244','val_244' -'247','val_247' -'248','val_248' -'249','val_249' -'252','val_252' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'257','val_257' -'258','val_258' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'260','val_260' -'262','val_262' -'263','val_263' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'266','val_266' -'27','val_27' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'274','val_274' -'275','val_275' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'28','val_28' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'283','val_283' -'284','val_284' -'285','val_285' -'286','val_286' -'287','val_287' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'289','val_289' -'291','val_291' -'292','val_292' -'296','val_296' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'30','val_30' -'302','val_302' -'305','val_305' -'306','val_306' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'308','val_308' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'310','val_310' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'315','val_315' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'323','val_323' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'33','val_33' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'332','val_332' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'335','val_335' -'336','val_336' -'338','val_338' -'339','val_339' -'34','val_34' -'341','val_341' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'345','val_345' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'351','val_351' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'356','val_356' -'360','val_360' -'362','val_362' -'364','val_364' -'365','val_365' -'366','val_366' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'368','val_368' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'373','val_373' -'374','val_374' -'375','val_375' -'377','val_377' -'378','val_378' -'379','val_379' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'386','val_386' -'389','val_389' -'392','val_392' -'393','val_393' -'394','val_394' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -418 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/ppd_join2.q.out ql/src/test/results/beelinepositive/ppd_join2.q.out deleted file mode 100644 index ced232e..0000000 --- ql/src/test/results/beelinepositive/ppd_join2.q.out +++ /dev/null @@ -1,3448 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/ppd_join2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/ppd_join2.q ->>> set hive.optimize.ppd=true; -No rows affected ->>> set hive.ppd.remove.duplicatefilters=false; -No rows affected ->>> ->>> EXPLAIN -SELECT src1.c1, src2.c4 -FROM -(SELECT src.key as c1, src.value as c2 from src where src.key <> '302' ) src1 -JOIN -(SELECT src.key as c3, src.value as c4 from src where src.key <> '305' ) src2 -ON src1.c1 = src2.c3 AND src1.c1 < '400' -JOIN -(SELECT src.key as c5, src.value as c6 from src where src.key <> '306' ) src3 -ON src1.c2 = src3.c6 -WHERE src1.c1 <> '311' and (src1.c2 <> 'val_50' or src1.c1 > '1') and (src2.c3 <> '10' or src1.c1 <> '10') and (src2.c3 <> '14') and (sqrt(src3.c5) <> 13); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c2)) (TOK_WHERE (<> (. (TOK_TABLE_OR_COL src) key) '302')))) src1) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c4)) (TOK_WHERE (<> (. (TOK_TABLE_OR_COL src) key) '305')))) src2) (AND (= (. (TOK_TABLE_OR_COL src1) c1) (. (TOK_TABLE_OR_COL src2) c3)) (< (. (TOK_TABLE_OR_COL src1) c1) '400'))) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c5) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c6)) (TOK_WHERE (<> (. (TOK_TABLE_OR_COL src) key) '306')))) src3) (= (. (TOK_TABLE_OR_COL src1) c2) (. (TOK_TABLE_OR_COL src3) c6)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) c1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) c4))) (TOK_WHERE (and (and (and (and (<> (. (TOK_TABLE_OR_COL src1) c1) '311') (or (<> (. (TOK_TABLE_OR_COL src1) c2) 'val_50') (> (. (TOK_TABLE_OR_COL src1) c1) '1'))) (or (<> (. (TOK_TABLE_OR_COL src2) c3) '10') (<> (. (TOK_TABLE_OR_COL src1) c1) '10'))) (<> (. (TOK_TABLE_OR_COL src2) c3) '14')) (<> (TOK_FUNCTION sqrt (. (TOK_TABLE_OR_COL src3) c5)) 13)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (((((key <> '302') and (key < '400')) and (key <> '311')) and ((value <> 'val_50') or (key > '1'))) and (key <> '14'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key <> '302')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Filter Operator' -' predicate:' -' expr: (_col0 < '400')' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' src2:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: ((((key <> '305') and (key < '400')) and (key <> '14')) and (key <> '311'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key <> '305')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Filter Operator' -' predicate:' -' expr: (_col0 < '400')' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col1' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' src3:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: ((key <> '306') and (sqrt(key) <> 13))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key <> '306')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col1' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1} {VALUE._col2} {VALUE._col3}' -' 1 {VALUE._col0}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Filter Operator' -' predicate:' -' expr: (((((_col2 <> '311') and ((_col3 <> 'val_50') or (_col2 > '1'))) and ((_col0 <> '10') or (_col2 <> '10'))) and (_col0 <> '14')) and (sqrt(_col4) <> 13))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -184 rows selected ->>> ->>> SELECT src1.c1, src2.c4 -FROM -(SELECT src.key as c1, src.value as c2 from src where src.key <> '302' ) src1 -JOIN -(SELECT src.key as c3, src.value as c4 from src where src.key <> '305' ) src2 -ON src1.c1 = src2.c3 AND src1.c1 < '400' -JOIN -(SELECT src.key as c5, src.value as c6 from src where src.key <> '306' ) src3 -ON src1.c2 = src3.c6 -WHERE src1.c1 <> '311' and (src1.c2 <> 'val_50' or src1.c1 > '1') and (src2.c3 <> '10' or src1.c1 <> '10') and (src2.c3 <> '14') and (sqrt(src3.c5) <> 13); -'c1','c4' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'105','val_105' -'11','val_11' -'111','val_111' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'114','val_114' -'116','val_116' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'126','val_126' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'131','val_131' -'133','val_133' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'136','val_136' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'143','val_143' -'145','val_145' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'150','val_150' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'153','val_153' -'155','val_155' -'156','val_156' -'157','val_157' -'158','val_158' -'160','val_160' -'162','val_162' -'163','val_163' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'166','val_166' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'168','val_168' -'17','val_17' -'170','val_170' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'177','val_177' -'178','val_178' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'180','val_180' -'181','val_181' -'183','val_183' -'186','val_186' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'189','val_189' -'19','val_19' -'190','val_190' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'192','val_192' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'194','val_194' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'196','val_196' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'2','val_2' -'20','val_20' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'201','val_201' -'202','val_202' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'214','val_214' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'218','val_218' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'222','val_222' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'226','val_226' -'228','val_228' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'235','val_235' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'241','val_241' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'244','val_244' -'247','val_247' -'248','val_248' -'249','val_249' -'252','val_252' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'257','val_257' -'258','val_258' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'260','val_260' -'262','val_262' -'263','val_263' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'266','val_266' -'27','val_27' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'274','val_274' -'275','val_275' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'28','val_28' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'283','val_283' -'284','val_284' -'285','val_285' -'286','val_286' -'287','val_287' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'289','val_289' -'291','val_291' -'292','val_292' -'296','val_296' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'30','val_30' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'308','val_308' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'310','val_310' -'315','val_315' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'323','val_323' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'33','val_33' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'332','val_332' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'335','val_335' -'336','val_336' -'338','val_338' -'339','val_339' -'34','val_34' -'341','val_341' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'345','val_345' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'351','val_351' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'356','val_356' -'360','val_360' -'362','val_362' -'364','val_364' -'365','val_365' -'366','val_366' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'368','val_368' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'373','val_373' -'374','val_374' -'375','val_375' -'377','val_377' -'378','val_378' -'379','val_379' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'386','val_386' -'389','val_389' -'392','val_392' -'393','val_393' -'394','val_394' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'4','val_4' -1,518 rows selected ->>> ->>> set hive.ppd.remove.duplicatefilters=true; -No rows affected ->>> ->>> EXPLAIN -SELECT src1.c1, src2.c4 -FROM -(SELECT src.key as c1, src.value as c2 from src where src.key <> '302' ) src1 -JOIN -(SELECT src.key as c3, src.value as c4 from src where src.key <> '305' ) src2 -ON src1.c1 = src2.c3 AND src1.c1 < '400' -JOIN -(SELECT src.key as c5, src.value as c6 from src where src.key <> '306' ) src3 -ON src1.c2 = src3.c6 -WHERE src1.c1 <> '311' and (src1.c2 <> 'val_50' or src1.c1 > '1') and (src2.c3 <> '10' or src1.c1 <> '10') and (src2.c3 <> '14') and (sqrt(src3.c5) <> 13); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c2)) (TOK_WHERE (<> (. (TOK_TABLE_OR_COL src) key) '302')))) src1) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c4)) (TOK_WHERE (<> (. (TOK_TABLE_OR_COL src) key) '305')))) src2) (AND (= (. (TOK_TABLE_OR_COL src1) c1) (. (TOK_TABLE_OR_COL src2) c3)) (< (. (TOK_TABLE_OR_COL src1) c1) '400'))) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c5) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c6)) (TOK_WHERE (<> (. (TOK_TABLE_OR_COL src) key) '306')))) src3) (= (. (TOK_TABLE_OR_COL src1) c2) (. (TOK_TABLE_OR_COL src3) c6)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) c1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) c4))) (TOK_WHERE (and (and (and (and (<> (. (TOK_TABLE_OR_COL src1) c1) '311') (or (<> (. (TOK_TABLE_OR_COL src1) c2) 'val_50') (> (. (TOK_TABLE_OR_COL src1) c1) '1'))) (or (<> (. (TOK_TABLE_OR_COL src2) c3) '10') (<> (. (TOK_TABLE_OR_COL src1) c1) '10'))) (<> (. (TOK_TABLE_OR_COL src2) c3) '14')) (<> (TOK_FUNCTION sqrt (. (TOK_TABLE_OR_COL src3) c5)) 13)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (((((key <> '302') and (key < '400')) and (key <> '311')) and ((value <> 'val_50') or (key > '1'))) and (key <> '14'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' src2:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: ((((key <> '305') and (key < '400')) and (key <> '14')) and (key <> '311'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col1' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' src3:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: ((key <> '306') and (sqrt(key) <> 13))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col1' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1} {VALUE._col2} {VALUE._col3}' -' 1 {VALUE._col0}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Filter Operator' -' predicate:' -' expr: (((((_col2 <> '311') and ((_col3 <> 'val_50') or (_col2 > '1'))) and ((_col0 <> '10') or (_col2 <> '10'))) and (_col0 <> '14')) and (sqrt(_col4) <> 13))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -164 rows selected ->>> ->>> SELECT src1.c1, src2.c4 -FROM -(SELECT src.key as c1, src.value as c2 from src where src.key <> '302' ) src1 -JOIN -(SELECT src.key as c3, src.value as c4 from src where src.key <> '305' ) src2 -ON src1.c1 = src2.c3 AND src1.c1 < '400' -JOIN -(SELECT src.key as c5, src.value as c6 from src where src.key <> '306' ) src3 -ON src1.c2 = src3.c6 -WHERE src1.c1 <> '311' and (src1.c2 <> 'val_50' or src1.c1 > '1') and (src2.c3 <> '10' or src1.c1 <> '10') and (src2.c3 <> '14') and (sqrt(src3.c5) <> 13); -'c1','c4' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'105','val_105' -'11','val_11' -'111','val_111' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'114','val_114' -'116','val_116' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'126','val_126' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'131','val_131' -'133','val_133' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'136','val_136' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'143','val_143' -'145','val_145' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'150','val_150' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'153','val_153' -'155','val_155' -'156','val_156' -'157','val_157' -'158','val_158' -'160','val_160' -'162','val_162' -'163','val_163' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'166','val_166' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'168','val_168' -'17','val_17' -'170','val_170' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'177','val_177' -'178','val_178' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'180','val_180' -'181','val_181' -'183','val_183' -'186','val_186' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'189','val_189' -'19','val_19' -'190','val_190' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'192','val_192' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'194','val_194' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'196','val_196' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'2','val_2' -'20','val_20' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'201','val_201' -'202','val_202' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'214','val_214' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'218','val_218' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'222','val_222' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'226','val_226' -'228','val_228' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'235','val_235' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'241','val_241' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'244','val_244' -'247','val_247' -'248','val_248' -'249','val_249' -'252','val_252' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'257','val_257' -'258','val_258' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'260','val_260' -'262','val_262' -'263','val_263' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'266','val_266' -'27','val_27' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'274','val_274' -'275','val_275' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'28','val_28' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'283','val_283' -'284','val_284' -'285','val_285' -'286','val_286' -'287','val_287' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'289','val_289' -'291','val_291' -'292','val_292' -'296','val_296' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'30','val_30' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'308','val_308' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'310','val_310' -'315','val_315' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'323','val_323' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'33','val_33' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'332','val_332' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'335','val_335' -'336','val_336' -'338','val_338' -'339','val_339' -'34','val_34' -'341','val_341' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'345','val_345' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'351','val_351' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'356','val_356' -'360','val_360' -'362','val_362' -'364','val_364' -'365','val_365' -'366','val_366' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'368','val_368' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'373','val_373' -'374','val_374' -'375','val_375' -'377','val_377' -'378','val_378' -'379','val_379' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'386','val_386' -'389','val_389' -'392','val_392' -'393','val_393' -'394','val_394' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'4','val_4' -1,518 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/ppd_join3.q.out ql/src/test/results/beelinepositive/ppd_join3.q.out deleted file mode 100644 index 2af71f1..0000000 --- ql/src/test/results/beelinepositive/ppd_join3.q.out +++ /dev/null @@ -1,3488 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/ppd_join3.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/ppd_join3.q ->>> set hive.optimize.ppd=true; -No rows affected ->>> set hive.ppd.remove.duplicatefilters=false; -No rows affected ->>> ->>> EXPLAIN -SELECT src1.c1, src2.c4 -FROM -(SELECT src.key as c1, src.value as c2 from src where src.key <> '11' ) src1 -JOIN -(SELECT src.key as c3, src.value as c4 from src where src.key <> '12' ) src2 -ON src1.c1 = src2.c3 AND src1.c1 < '400' -JOIN -(SELECT src.key as c5, src.value as c6 from src where src.key <> '13' ) src3 -ON src1.c1 = src3.c5 -WHERE src1.c1 > '0' and (src1.c2 <> 'val_500' or src1.c1 > '1') and (src2.c3 > '10' or src1.c1 <> '10') and (src2.c3 <> '4') and (src3.c5 <> '1'); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c2)) (TOK_WHERE (<> (. (TOK_TABLE_OR_COL src) key) '11')))) src1) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c4)) (TOK_WHERE (<> (. (TOK_TABLE_OR_COL src) key) '12')))) src2) (AND (= (. (TOK_TABLE_OR_COL src1) c1) (. (TOK_TABLE_OR_COL src2) c3)) (< (. (TOK_TABLE_OR_COL src1) c1) '400'))) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c5) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c6)) (TOK_WHERE (<> (. (TOK_TABLE_OR_COL src) key) '13')))) src3) (= (. (TOK_TABLE_OR_COL src1) c1) (. (TOK_TABLE_OR_COL src3) c5)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) c1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) c4))) (TOK_WHERE (and (and (and (and (> (. (TOK_TABLE_OR_COL src1) c1) '0') (or (<> (. (TOK_TABLE_OR_COL src1) c2) 'val_500') (> (. (TOK_TABLE_OR_COL src1) c1) '1'))) (or (> (. (TOK_TABLE_OR_COL src2) c3) '10') (<> (. (TOK_TABLE_OR_COL src1) c1) '10'))) (<> (. (TOK_TABLE_OR_COL src2) c3) '4')) (<> (. (TOK_TABLE_OR_COL src3) c5) '1')))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: ((((((key <> '11') and (key < '400')) and (key > '0')) and ((value <> 'val_500') or (key > '1'))) and (key <> '4')) and (key <> '1'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key <> '11')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Filter Operator' -' predicate:' -' expr: (_col0 < '400')' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' src2:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (((((key <> '12') and (key < '400')) and (key <> '4')) and (key > '0')) and (key <> '1'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key <> '12')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Filter Operator' -' predicate:' -' expr: (_col0 < '400')' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' src3:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (((((key <> '13') and (key < '400')) and (key <> '1')) and (key > '0')) and (key <> '4'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key <> '13')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Filter Operator' -' predicate:' -' expr: (_col0 < '400')' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 2' -' value expressions:' -' expr: _col0' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 0 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Filter Operator' -' predicate:' -' expr: (((((_col0 > '0') and ((_col1 <> 'val_500') or (_col0 > '1'))) and ((_col2 > '10') or (_col0 <> '10'))) and (_col2 <> '4')) and (_col4 <> '1'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -149 rows selected ->>> ->>> SELECT src1.c1, src2.c4 -FROM -(SELECT src.key as c1, src.value as c2 from src where src.key <> '11' ) src1 -JOIN -(SELECT src.key as c3, src.value as c4 from src where src.key <> '12' ) src2 -ON src1.c1 = src2.c3 AND src1.c1 < '400' -JOIN -(SELECT src.key as c5, src.value as c6 from src where src.key <> '13' ) src3 -ON src1.c1 = src3.c5 -WHERE src1.c1 > '0' and (src1.c2 <> 'val_500' or src1.c1 > '1') and (src2.c3 > '10' or src1.c1 <> '10') and (src2.c3 <> '4') and (src3.c5 <> '1'); -'c1','c4' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'105','val_105' -'111','val_111' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'114','val_114' -'116','val_116' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'126','val_126' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'131','val_131' -'133','val_133' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'136','val_136' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'143','val_143' -'145','val_145' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'150','val_150' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'153','val_153' -'155','val_155' -'156','val_156' -'157','val_157' -'158','val_158' -'160','val_160' -'162','val_162' -'163','val_163' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'166','val_166' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'168','val_168' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'17','val_17' -'170','val_170' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'177','val_177' -'178','val_178' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'180','val_180' -'181','val_181' -'183','val_183' -'186','val_186' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'189','val_189' -'19','val_19' -'190','val_190' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'192','val_192' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'194','val_194' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'196','val_196' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'2','val_2' -'20','val_20' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'201','val_201' -'202','val_202' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'214','val_214' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'218','val_218' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'222','val_222' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'226','val_226' -'228','val_228' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'235','val_235' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'241','val_241' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'244','val_244' -'247','val_247' -'248','val_248' -'249','val_249' -'252','val_252' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'257','val_257' -'258','val_258' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'260','val_260' -'262','val_262' -'263','val_263' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'266','val_266' -'27','val_27' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'274','val_274' -'275','val_275' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'28','val_28' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'283','val_283' -'284','val_284' -'285','val_285' -'286','val_286' -'287','val_287' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'289','val_289' -'291','val_291' -'292','val_292' -'296','val_296' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'30','val_30' -'302','val_302' -'305','val_305' -'306','val_306' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'308','val_308' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'310','val_310' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'315','val_315' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'323','val_323' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'33','val_33' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'332','val_332' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'335','val_335' -'336','val_336' -'338','val_338' -'339','val_339' -'34','val_34' -'341','val_341' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'345','val_345' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'351','val_351' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'356','val_356' -'360','val_360' -'362','val_362' -'364','val_364' -'365','val_365' -'366','val_366' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'368','val_368' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'373','val_373' -'374','val_374' -'375','val_375' -'377','val_377' -'378','val_378' -'379','val_379' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'386','val_386' -'389','val_389' -'392','val_392' -'393','val_393' -'394','val_394' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -1,575 rows selected ->>> ->>> set hive.ppd.remove.duplicatefilters=true; -No rows affected ->>> ->>> EXPLAIN -SELECT src1.c1, src2.c4 -FROM -(SELECT src.key as c1, src.value as c2 from src where src.key <> '11' ) src1 -JOIN -(SELECT src.key as c3, src.value as c4 from src where src.key <> '12' ) src2 -ON src1.c1 = src2.c3 AND src1.c1 < '400' -JOIN -(SELECT src.key as c5, src.value as c6 from src where src.key <> '13' ) src3 -ON src1.c1 = src3.c5 -WHERE src1.c1 > '0' and (src1.c2 <> 'val_500' or src1.c1 > '1') and (src2.c3 > '10' or src1.c1 <> '10') and (src2.c3 <> '4') and (src3.c5 <> '1'); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c2)) (TOK_WHERE (<> (. (TOK_TABLE_OR_COL src) key) '11')))) src1) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c4)) (TOK_WHERE (<> (. (TOK_TABLE_OR_COL src) key) '12')))) src2) (AND (= (. (TOK_TABLE_OR_COL src1) c1) (. (TOK_TABLE_OR_COL src2) c3)) (< (. (TOK_TABLE_OR_COL src1) c1) '400'))) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c5) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c6)) (TOK_WHERE (<> (. (TOK_TABLE_OR_COL src) key) '13')))) src3) (= (. (TOK_TABLE_OR_COL src1) c1) (. (TOK_TABLE_OR_COL src3) c5)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) c1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) c4))) (TOK_WHERE (and (and (and (and (> (. (TOK_TABLE_OR_COL src1) c1) '0') (or (<> (. (TOK_TABLE_OR_COL src1) c2) 'val_500') (> (. (TOK_TABLE_OR_COL src1) c1) '1'))) (or (> (. (TOK_TABLE_OR_COL src2) c3) '10') (<> (. (TOK_TABLE_OR_COL src1) c1) '10'))) (<> (. (TOK_TABLE_OR_COL src2) c3) '4')) (<> (. (TOK_TABLE_OR_COL src3) c5) '1')))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: ((((((key <> '11') and (key < '400')) and (key > '0')) and ((value <> 'val_500') or (key > '1'))) and (key <> '4')) and (key <> '1'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' src2:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (((((key <> '12') and (key < '400')) and (key <> '4')) and (key > '0')) and (key <> '1'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' src3:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (((((key <> '13') and (key < '400')) and (key <> '1')) and (key > '0')) and (key <> '4'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 2' -' value expressions:' -' expr: _col0' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 0 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Filter Operator' -' predicate:' -' expr: (((((_col0 > '0') and ((_col1 <> 'val_500') or (_col0 > '1'))) and ((_col2 > '10') or (_col0 <> '10'))) and (_col2 <> '4')) and (_col4 <> '1'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -125 rows selected ->>> ->>> SELECT src1.c1, src2.c4 -FROM -(SELECT src.key as c1, src.value as c2 from src where src.key <> '11' ) src1 -JOIN -(SELECT src.key as c3, src.value as c4 from src where src.key <> '12' ) src2 -ON src1.c1 = src2.c3 AND src1.c1 < '400' -JOIN -(SELECT src.key as c5, src.value as c6 from src where src.key <> '13' ) src3 -ON src1.c1 = src3.c5 -WHERE src1.c1 > '0' and (src1.c2 <> 'val_500' or src1.c1 > '1') and (src2.c3 > '10' or src1.c1 <> '10') and (src2.c3 <> '4') and (src3.c5 <> '1'); -'c1','c4' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'105','val_105' -'111','val_111' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'114','val_114' -'116','val_116' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'126','val_126' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'131','val_131' -'133','val_133' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'136','val_136' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'143','val_143' -'145','val_145' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'150','val_150' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'153','val_153' -'155','val_155' -'156','val_156' -'157','val_157' -'158','val_158' -'160','val_160' -'162','val_162' -'163','val_163' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'166','val_166' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'168','val_168' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'17','val_17' -'170','val_170' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'177','val_177' -'178','val_178' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'180','val_180' -'181','val_181' -'183','val_183' -'186','val_186' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'189','val_189' -'19','val_19' -'190','val_190' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'192','val_192' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'194','val_194' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'196','val_196' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'2','val_2' -'20','val_20' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'201','val_201' -'202','val_202' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'214','val_214' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'218','val_218' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'222','val_222' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'226','val_226' -'228','val_228' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'235','val_235' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'241','val_241' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'244','val_244' -'247','val_247' -'248','val_248' -'249','val_249' -'252','val_252' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'257','val_257' -'258','val_258' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'260','val_260' -'262','val_262' -'263','val_263' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'266','val_266' -'27','val_27' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'274','val_274' -'275','val_275' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'28','val_28' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'283','val_283' -'284','val_284' -'285','val_285' -'286','val_286' -'287','val_287' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'289','val_289' -'291','val_291' -'292','val_292' -'296','val_296' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'30','val_30' -'302','val_302' -'305','val_305' -'306','val_306' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'308','val_308' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'310','val_310' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'315','val_315' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'323','val_323' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'33','val_33' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'332','val_332' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'335','val_335' -'336','val_336' -'338','val_338' -'339','val_339' -'34','val_34' -'341','val_341' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'345','val_345' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'351','val_351' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'356','val_356' -'360','val_360' -'362','val_362' -'364','val_364' -'365','val_365' -'366','val_366' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'368','val_368' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'373','val_373' -'374','val_374' -'375','val_375' -'377','val_377' -'378','val_378' -'379','val_379' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'386','val_386' -'389','val_389' -'392','val_392' -'393','val_393' -'394','val_394' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -1,575 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/ppd_join_filter.q.out ql/src/test/results/beelinepositive/ppd_join_filter.q.out deleted file mode 100644 index 6c11ad8..0000000 --- ql/src/test/results/beelinepositive/ppd_join_filter.q.out +++ /dev/null @@ -1,1263 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/ppd_join_filter.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/ppd_join_filter.q ->>> set hive.optimize.ppd=true; -No rows affected ->>> set hive.ppd.remove.duplicatefilters=false; -No rows affected ->>> ->>> explain extended select a.key, b.k2, b.k3 -from src a -join ( -select key, -min(key) as k, -min(key)+1 as k1, -min(key)+2 as k2, -min(key)+3 as k3 -from src -group by key -) b -on a.key=b.key and b.k1 < 5; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) a) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION min (TOK_TABLE_OR_COL key)) k) (TOK_SELEXPR (+ (TOK_FUNCTION min (TOK_TABLE_OR_COL key)) 1) k1) (TOK_SELEXPR (+ (TOK_FUNCTION min (TOK_TABLE_OR_COL key)) 2) k2) (TOK_SELEXPR (+ (TOK_FUNCTION min (TOK_TABLE_OR_COL key)) 3) k3)) (TOK_GROUPBY (TOK_TABLE_OR_COL key)))) b) (and (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (< (. (TOK_TABLE_OR_COL b) k1) 5)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) k2)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) k3)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-1 depends on stages: Stage-2' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b:src ' -' TableScan' -' alias: src' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: min(key)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/ppd_join_filter.db/src [b:src]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/ppd_join_filter.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/ppd_join_filter.db/src' -' name ppd_join_filter.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/ppd_join_filter.db/src' -' name ppd_join_filter.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: ppd_join_filter.src' -' name: ppd_join_filter.src' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: min(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: (_col1 + 1)' -' type: double' -' expr: (_col1 + 2)' -' type: double' -' expr: (_col1 + 3)' -' type: double' -' outputColumnNames: _col0, _col2, _col3, _col4' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (_col2 < 5.0)' -' type: boolean' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col2,_col3,_col4' -' columns.types string,double,double,double' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col3' -' type: double' -' expr: _col4' -' type: double' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' Needs Tagging: true' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [$INTNAME]' -' !!{hive.metastore.warehouse.dir}!!/ppd_join_filter.db/src [a]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col2,_col3,_col4' -' columns.types string,double,double,double' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col2,_col3,_col4' -' columns.types string,double,double,double' -' escape.delim \' -' !!{hive.metastore.warehouse.dir}!!/ppd_join_filter.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/ppd_join_filter.db/src' -' name ppd_join_filter.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/ppd_join_filter.db/src' -' name ppd_join_filter.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: ppd_join_filter.src' -' name: ppd_join_filter.src' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col3} {VALUE._col4}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col7, _col8' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col7' -' type: double' -' expr: _col8' -' type: double' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types string:double:double' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -276 rows selected ->>> ->>> select a.key, b.k2, b.k3 -from src a -join ( -select key, -min(key) as k, -min(key)+1 as k1, -min(key)+2 as k2, -min(key)+3 as k3 -from src -group by key -) b -on a.key=b.key and b.k1 < 5; -'key','k2','k3' -'0','2.0','3.0' -'0','2.0','3.0' -'0','2.0','3.0' -'2','4.0','5.0' -4 rows selected ->>> ->>> set hive.optimize.ppd=true; -No rows affected ->>> set hive.ppd.remove.duplicatefilters=true; -No rows affected ->>> ->>> explain extended select a.key, b.k2, b.k3 -from src a -join ( -select key, -min(key) as k, -min(key)+1 as k1, -min(key)+2 as k2, -min(key)+3 as k3 -from src -group by key -) b -on a.key=b.key and b.k1 < 5; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) a) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION min (TOK_TABLE_OR_COL key)) k) (TOK_SELEXPR (+ (TOK_FUNCTION min (TOK_TABLE_OR_COL key)) 1) k1) (TOK_SELEXPR (+ (TOK_FUNCTION min (TOK_TABLE_OR_COL key)) 2) k2) (TOK_SELEXPR (+ (TOK_FUNCTION min (TOK_TABLE_OR_COL key)) 3) k3)) (TOK_GROUPBY (TOK_TABLE_OR_COL key)))) b) (and (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (< (. (TOK_TABLE_OR_COL b) k1) 5)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) k2)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) k3)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-1 depends on stages: Stage-2' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b:src ' -' TableScan' -' alias: src' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: min(key)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/ppd_join_filter.db/src [b:src]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/ppd_join_filter.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/ppd_join_filter.db/src' -' name ppd_join_filter.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/ppd_join_filter.db/src' -' name ppd_join_filter.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: ppd_join_filter.src' -' name: ppd_join_filter.src' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: min(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: (_col1 + 1)' -' type: double' -' expr: (_col1 + 2)' -' type: double' -' expr: (_col1 + 3)' -' type: double' -' outputColumnNames: _col0, _col2, _col3, _col4' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (_col2 < 5.0)' -' type: boolean' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col2,_col3,_col4' -' columns.types string,double,double,double' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col3' -' type: double' -' expr: _col4' -' type: double' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' Needs Tagging: true' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [$INTNAME]' -' !!{hive.metastore.warehouse.dir}!!/ppd_join_filter.db/src [a]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col2,_col3,_col4' -' columns.types string,double,double,double' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col2,_col3,_col4' -' columns.types string,double,double,double' -' escape.delim \' -' !!{hive.metastore.warehouse.dir}!!/ppd_join_filter.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/ppd_join_filter.db/src' -' name ppd_join_filter.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/ppd_join_filter.db/src' -' name ppd_join_filter.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: ppd_join_filter.src' -' name: ppd_join_filter.src' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col3} {VALUE._col4}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col7, _col8' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col7' -' type: double' -' expr: _col8' -' type: double' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types string:double:double' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -276 rows selected ->>> ->>> select a.key, b.k2, b.k3 -from src a -join ( -select key, -min(key) as k, -min(key)+1 as k1, -min(key)+2 as k2, -min(key)+3 as k3 -from src -group by key -) b -on a.key=b.key and b.k1 < 5; -'key','k2','k3' -'0','2.0','3.0' -'0','2.0','3.0' -'0','2.0','3.0' -'2','4.0','5.0' -4 rows selected ->>> ->>> set hive.optimize.ppd=false; -No rows affected ->>> set hive.ppd.remove.duplicatefilters=false; -No rows affected ->>> ->>> explain extended select a.key, b.k2, b.k3 -from src a -join ( -select key, -min(key) as k, -min(key)+1 as k1, -min(key)+2 as k2, -min(key)+3 as k3 -from src -group by key -) b -on a.key=b.key and b.k1 < 5; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) a) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION min (TOK_TABLE_OR_COL key)) k) (TOK_SELEXPR (+ (TOK_FUNCTION min (TOK_TABLE_OR_COL key)) 1) k1) (TOK_SELEXPR (+ (TOK_FUNCTION min (TOK_TABLE_OR_COL key)) 2) k2) (TOK_SELEXPR (+ (TOK_FUNCTION min (TOK_TABLE_OR_COL key)) 3) k3)) (TOK_GROUPBY (TOK_TABLE_OR_COL key)))) b) (and (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (< (. (TOK_TABLE_OR_COL b) k1) 5)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) k2)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) k3)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-1 depends on stages: Stage-2' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b:src ' -' TableScan' -' alias: src' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: min(key)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/ppd_join_filter.db/src [b:src]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/ppd_join_filter.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/ppd_join_filter.db/src' -' name ppd_join_filter.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/ppd_join_filter.db/src' -' name ppd_join_filter.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: ppd_join_filter.src' -' name: ppd_join_filter.src' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: min(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: (_col1 + 1)' -' type: double' -' expr: (_col1 + 2)' -' type: double' -' expr: (_col1 + 3)' -' type: double' -' outputColumnNames: _col0, _col2, _col3, _col4' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (_col2 < 5.0)' -' type: boolean' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col2,_col3,_col4' -' columns.types string,double,double,double' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col3' -' type: double' -' expr: _col4' -' type: double' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' Needs Tagging: true' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [$INTNAME]' -' !!{hive.metastore.warehouse.dir}!!/ppd_join_filter.db/src [a]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col2,_col3,_col4' -' columns.types string,double,double,double' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col2,_col3,_col4' -' columns.types string,double,double,double' -' escape.delim \' -' !!{hive.metastore.warehouse.dir}!!/ppd_join_filter.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/ppd_join_filter.db/src' -' name ppd_join_filter.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/ppd_join_filter.db/src' -' name ppd_join_filter.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: ppd_join_filter.src' -' name: ppd_join_filter.src' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col3} {VALUE._col4}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col7, _col8' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col7' -' type: double' -' expr: _col8' -' type: double' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types string:double:double' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -276 rows selected ->>> ->>> select a.key, b.k2, b.k3 -from src a -join ( -select key, -min(key) as k, -min(key)+1 as k1, -min(key)+2 as k2, -min(key)+3 as k3 -from src -group by key -) b -on a.key=b.key and b.k1 < 5; -'key','k2','k3' -'0','2.0','3.0' -'0','2.0','3.0' -'0','2.0','3.0' -'2','4.0','5.0' -4 rows selected ->>> ->>> set hive.optimize.ppd=faluse; -No rows affected ->>> set hive.ppd.remove.duplicatefilters=true; -No rows affected ->>> ->>> explain extended select a.key, b.k2, b.k3 -from src a -join ( -select key, -min(key) as k, -min(key)+1 as k1, -min(key)+2 as k2, -min(key)+3 as k3 -from src -group by key -) b -on a.key=b.key and b.k1 < 5; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) a) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION min (TOK_TABLE_OR_COL key)) k) (TOK_SELEXPR (+ (TOK_FUNCTION min (TOK_TABLE_OR_COL key)) 1) k1) (TOK_SELEXPR (+ (TOK_FUNCTION min (TOK_TABLE_OR_COL key)) 2) k2) (TOK_SELEXPR (+ (TOK_FUNCTION min (TOK_TABLE_OR_COL key)) 3) k3)) (TOK_GROUPBY (TOK_TABLE_OR_COL key)))) b) (and (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (< (. (TOK_TABLE_OR_COL b) k1) 5)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) k2)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) k3)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-1 depends on stages: Stage-2' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b:src ' -' TableScan' -' alias: src' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: min(key)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/ppd_join_filter.db/src [b:src]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/ppd_join_filter.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/ppd_join_filter.db/src' -' name ppd_join_filter.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/ppd_join_filter.db/src' -' name ppd_join_filter.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: ppd_join_filter.src' -' name: ppd_join_filter.src' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: min(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: (_col1 + 1)' -' type: double' -' expr: (_col1 + 2)' -' type: double' -' expr: (_col1 + 3)' -' type: double' -' outputColumnNames: _col0, _col2, _col3, _col4' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (_col2 < 5.0)' -' type: boolean' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col2,_col3,_col4' -' columns.types string,double,double,double' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col3' -' type: double' -' expr: _col4' -' type: double' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' Needs Tagging: true' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [$INTNAME]' -' !!{hive.metastore.warehouse.dir}!!/ppd_join_filter.db/src [a]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col2,_col3,_col4' -' columns.types string,double,double,double' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col2,_col3,_col4' -' columns.types string,double,double,double' -' escape.delim \' -' !!{hive.metastore.warehouse.dir}!!/ppd_join_filter.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/ppd_join_filter.db/src' -' name ppd_join_filter.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/ppd_join_filter.db/src' -' name ppd_join_filter.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: ppd_join_filter.src' -' name: ppd_join_filter.src' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col3} {VALUE._col4}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col7, _col8' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col7' -' type: double' -' expr: _col8' -' type: double' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types string:double:double' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -276 rows selected ->>> ->>> select a.key, b.k2, b.k3 -from src a -join ( -select key, -min(key) as k, -min(key)+1 as k1, -min(key)+2 as k2, -min(key)+3 as k3 -from src -group by key -) b -on a.key=b.key and b.k1 < 5; -'key','k2','k3' -'0','2.0','3.0' -'0','2.0','3.0' -'0','2.0','3.0' -'2','4.0','5.0' -4 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/ppd_multi_insert.q.out ql/src/test/results/beelinepositive/ppd_multi_insert.q.out deleted file mode 100644 index 578c468..0000000 --- ql/src/test/results/beelinepositive/ppd_multi_insert.q.out +++ /dev/null @@ -1,1596 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/ppd_multi_insert.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/ppd_multi_insert.q ->>> set hive.optimize.ppd=true; -No rows affected ->>> set hive.ppd.remove.duplicatefilters=false; -No rows affected ->>> ->>> CREATE TABLE mi1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE mi2(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE mi3(key INT) PARTITIONED BY(ds STRING, hr STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src a JOIN src b ON (a.key = b.key) -INSERT OVERWRITE TABLE mi1 SELECT a.* WHERE a.key < 100 -INSERT OVERWRITE TABLE mi2 SELECT a.key, a.value WHERE a.key >= 100 and a.key < 200 -INSERT OVERWRITE TABLE mi3 PARTITION(ds='2008-04-08', hr='12') SELECT a.key WHERE a.key >= 200 and a.key < 300 -INSERT OVERWRITE DIRECTORY '../build/ql/test/data/warehouse/mi4.out' SELECT a.value WHERE a.key >= 300; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) a) (TOK_TABREF (TOK_TABNAME src) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME mi1))) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME a)))) (TOK_WHERE (< (. (TOK_TABLE_OR_COL a) key) 100))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME mi2))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value))) (TOK_WHERE (and (>= (. (TOK_TABLE_OR_COL a) key) 100) (< (. (TOK_TABLE_OR_COL a) key) 200)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME mi3) (TOK_PARTSPEC (TOK_PARTVAL ds '2008-04-08') (TOK_PARTVAL hr '12')))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key))) (TOK_WHERE (and (>= (. (TOK_TABLE_OR_COL a) key) 200) (< (. (TOK_TABLE_OR_COL a) key) 300)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR '../build/ql/test/data/warehouse/mi4.out')) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value))) (TOK_WHERE (>= (. (TOK_TABLE_OR_COL a) key) 300))))' -'' -'STAGE DEPENDENCIES:' -' Stage-4 is a root stage' -' Stage-0 depends on stages: Stage-4' -' Stage-5 depends on stages: Stage-0' -' Stage-1 depends on stages: Stage-4' -' Stage-6 depends on stages: Stage-1' -' Stage-2 depends on stages: Stage-4' -' Stage-7 depends on stages: Stage-2' -' Stage-3 depends on stages: Stage-4' -'' -'STAGE PLANS:' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 ' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1' -' Filter Operator' -' predicate:' -' expr: (_col0 < 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: ppd_multi_insert.mi1' -' Filter Operator' -' predicate:' -' expr: ((_col0 >= 100.0) and (_col0 < 200.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: ppd_multi_insert.mi2' -' Filter Operator' -' predicate:' -' expr: ((_col0 >= 200.0) and (_col0 < 300.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 3' -' 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: ppd_multi_insert.mi3' -' Filter Operator' -' predicate:' -' expr: (_col0 >= 300.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 4' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' 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: ppd_multi_insert.mi1' -'' -' Stage: Stage-5' -' Stats-Aggr Operator' -'' -' Stage: Stage-1' -' 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: ppd_multi_insert.mi2' -'' -' Stage: Stage-6' -' Stats-Aggr Operator' -'' -' Stage: Stage-2' -' Move Operator' -' tables:' -' partition:' -' ds 2008-04-08' -' hr 12' -' 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: ppd_multi_insert.mi3' -'' -' Stage: Stage-7' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: ../build/ql/test/data/warehouse/mi4.out' -'' -'' -194 rows selected ->>> ->>> FROM src a JOIN src b ON (a.key = b.key) -INSERT OVERWRITE TABLE mi1 SELECT a.* WHERE a.key < 100 -INSERT OVERWRITE TABLE mi2 SELECT a.key, a.value WHERE a.key >= 100 and a.key < 200 -INSERT OVERWRITE TABLE mi3 PARTITION(ds='2008-04-08', hr='12') SELECT a.key WHERE a.key >= 200 and a.key < 300 -INSERT OVERWRITE DIRECTORY '../build/ql/test/data/warehouse/mi4.out' SELECT a.value WHERE a.key >= 300; -'value' -No rows selected ->>> ->>> SELECT mi1.* FROM mi1; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'10','val_10' -'11','val_11' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'17','val_17' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'19','val_19' -'2','val_2' -'20','val_20' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'27','val_27' -'28','val_28' -'30','val_30' -'33','val_33' -'34','val_34' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'4','val_4' -'41','val_41' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'43','val_43' -'44','val_44' -'47','val_47' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'53','val_53' -'54','val_54' -'57','val_57' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'64','val_64' -'65','val_65' -'66','val_66' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'69','val_69' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'74','val_74' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'77','val_77' -'78','val_78' -'8','val_8' -'80','val_80' -'82','val_82' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'9','val_9' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'96','val_96' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -148 rows selected ->>> SELECT mi2.* FROM mi2; -'key','value' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'105','val_105' -'111','val_111' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'114','val_114' -'116','val_116' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'126','val_126' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'131','val_131' -'133','val_133' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'136','val_136' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'143','val_143' -'145','val_145' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'150','val_150' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'153','val_153' -'155','val_155' -'156','val_156' -'157','val_157' -'158','val_158' -'160','val_160' -'162','val_162' -'163','val_163' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'166','val_166' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'168','val_168' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'170','val_170' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'177','val_177' -'178','val_178' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'180','val_180' -'181','val_181' -'183','val_183' -'186','val_186' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'189','val_189' -'190','val_190' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'192','val_192' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'194','val_194' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'196','val_196' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -211 rows selected ->>> SELECT mi3.* FROM mi3; -'key','ds','hr' -'200','2008-04-08','12' -'200','2008-04-08','12' -'200','2008-04-08','12' -'200','2008-04-08','12' -'201','2008-04-08','12' -'202','2008-04-08','12' -'203','2008-04-08','12' -'203','2008-04-08','12' -'203','2008-04-08','12' -'203','2008-04-08','12' -'205','2008-04-08','12' -'205','2008-04-08','12' -'205','2008-04-08','12' -'205','2008-04-08','12' -'207','2008-04-08','12' -'207','2008-04-08','12' -'207','2008-04-08','12' -'207','2008-04-08','12' -'208','2008-04-08','12' -'208','2008-04-08','12' -'208','2008-04-08','12' -'208','2008-04-08','12' -'208','2008-04-08','12' -'208','2008-04-08','12' -'208','2008-04-08','12' -'208','2008-04-08','12' -'208','2008-04-08','12' -'209','2008-04-08','12' -'209','2008-04-08','12' -'209','2008-04-08','12' -'209','2008-04-08','12' -'213','2008-04-08','12' -'213','2008-04-08','12' -'213','2008-04-08','12' -'213','2008-04-08','12' -'214','2008-04-08','12' -'216','2008-04-08','12' -'216','2008-04-08','12' -'216','2008-04-08','12' -'216','2008-04-08','12' -'217','2008-04-08','12' -'217','2008-04-08','12' -'217','2008-04-08','12' -'217','2008-04-08','12' -'218','2008-04-08','12' -'219','2008-04-08','12' -'219','2008-04-08','12' -'219','2008-04-08','12' -'219','2008-04-08','12' -'221','2008-04-08','12' -'221','2008-04-08','12' -'221','2008-04-08','12' -'221','2008-04-08','12' -'222','2008-04-08','12' -'223','2008-04-08','12' -'223','2008-04-08','12' -'223','2008-04-08','12' -'223','2008-04-08','12' -'224','2008-04-08','12' -'224','2008-04-08','12' -'224','2008-04-08','12' -'224','2008-04-08','12' -'226','2008-04-08','12' -'228','2008-04-08','12' -'229','2008-04-08','12' -'229','2008-04-08','12' -'229','2008-04-08','12' -'229','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'233','2008-04-08','12' -'233','2008-04-08','12' -'233','2008-04-08','12' -'233','2008-04-08','12' -'235','2008-04-08','12' -'237','2008-04-08','12' -'237','2008-04-08','12' -'237','2008-04-08','12' -'237','2008-04-08','12' -'238','2008-04-08','12' -'238','2008-04-08','12' -'238','2008-04-08','12' -'238','2008-04-08','12' -'239','2008-04-08','12' -'239','2008-04-08','12' -'239','2008-04-08','12' -'239','2008-04-08','12' -'241','2008-04-08','12' -'242','2008-04-08','12' -'242','2008-04-08','12' -'242','2008-04-08','12' -'242','2008-04-08','12' -'244','2008-04-08','12' -'247','2008-04-08','12' -'248','2008-04-08','12' -'249','2008-04-08','12' -'252','2008-04-08','12' -'255','2008-04-08','12' -'255','2008-04-08','12' -'255','2008-04-08','12' -'255','2008-04-08','12' -'256','2008-04-08','12' -'256','2008-04-08','12' -'256','2008-04-08','12' -'256','2008-04-08','12' -'257','2008-04-08','12' -'258','2008-04-08','12' -'260','2008-04-08','12' -'262','2008-04-08','12' -'263','2008-04-08','12' -'265','2008-04-08','12' -'265','2008-04-08','12' -'265','2008-04-08','12' -'265','2008-04-08','12' -'266','2008-04-08','12' -'272','2008-04-08','12' -'272','2008-04-08','12' -'272','2008-04-08','12' -'272','2008-04-08','12' -'273','2008-04-08','12' -'273','2008-04-08','12' -'273','2008-04-08','12' -'273','2008-04-08','12' -'273','2008-04-08','12' -'273','2008-04-08','12' -'273','2008-04-08','12' -'273','2008-04-08','12' -'273','2008-04-08','12' -'274','2008-04-08','12' -'275','2008-04-08','12' -'277','2008-04-08','12' -'277','2008-04-08','12' -'277','2008-04-08','12' -'277','2008-04-08','12' -'277','2008-04-08','12' -'277','2008-04-08','12' -'277','2008-04-08','12' -'277','2008-04-08','12' -'277','2008-04-08','12' -'277','2008-04-08','12' -'277','2008-04-08','12' -'277','2008-04-08','12' -'277','2008-04-08','12' -'277','2008-04-08','12' -'277','2008-04-08','12' -'277','2008-04-08','12' -'278','2008-04-08','12' -'278','2008-04-08','12' -'278','2008-04-08','12' -'278','2008-04-08','12' -'280','2008-04-08','12' -'280','2008-04-08','12' -'280','2008-04-08','12' -'280','2008-04-08','12' -'281','2008-04-08','12' -'281','2008-04-08','12' -'281','2008-04-08','12' -'281','2008-04-08','12' -'282','2008-04-08','12' -'282','2008-04-08','12' -'282','2008-04-08','12' -'282','2008-04-08','12' -'283','2008-04-08','12' -'284','2008-04-08','12' -'285','2008-04-08','12' -'286','2008-04-08','12' -'287','2008-04-08','12' -'288','2008-04-08','12' -'288','2008-04-08','12' -'288','2008-04-08','12' -'288','2008-04-08','12' -'289','2008-04-08','12' -'291','2008-04-08','12' -'292','2008-04-08','12' -'296','2008-04-08','12' -'298','2008-04-08','12' -'298','2008-04-08','12' -'298','2008-04-08','12' -'298','2008-04-08','12' -'298','2008-04-08','12' -'298','2008-04-08','12' -'298','2008-04-08','12' -'298','2008-04-08','12' -'298','2008-04-08','12' -207 rows selected ->>> dfs -cat ../build/ql/test/data/warehouse/mi4.out/*; -No rows affected ->>> ->>> ->>> set hive.ppd.remove.duplicatefilters=true; -No rows affected ->>> ->>> EXPLAIN -FROM src a JOIN src b ON (a.key = b.key) -INSERT OVERWRITE TABLE mi1 SELECT a.* WHERE a.key < 100 -INSERT OVERWRITE TABLE mi2 SELECT a.key, a.value WHERE a.key >= 100 and a.key < 200 -INSERT OVERWRITE TABLE mi3 PARTITION(ds='2008-04-08', hr='12') SELECT a.key WHERE a.key >= 200 and a.key < 300 -INSERT OVERWRITE DIRECTORY '../build/ql/test/data/warehouse/mi4.out' SELECT a.value WHERE a.key >= 300; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) a) (TOK_TABREF (TOK_TABNAME src) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME mi1))) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME a)))) (TOK_WHERE (< (. (TOK_TABLE_OR_COL a) key) 100))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME mi2))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value))) (TOK_WHERE (and (>= (. (TOK_TABLE_OR_COL a) key) 100) (< (. (TOK_TABLE_OR_COL a) key) 200)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME mi3) (TOK_PARTSPEC (TOK_PARTVAL ds '2008-04-08') (TOK_PARTVAL hr '12')))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key))) (TOK_WHERE (and (>= (. (TOK_TABLE_OR_COL a) key) 200) (< (. (TOK_TABLE_OR_COL a) key) 300)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR '../build/ql/test/data/warehouse/mi4.out')) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value))) (TOK_WHERE (>= (. (TOK_TABLE_OR_COL a) key) 300))))' -'' -'STAGE DEPENDENCIES:' -' Stage-4 is a root stage' -' Stage-0 depends on stages: Stage-4' -' Stage-5 depends on stages: Stage-0' -' Stage-1 depends on stages: Stage-4' -' Stage-6 depends on stages: Stage-1' -' Stage-2 depends on stages: Stage-4' -' Stage-7 depends on stages: Stage-2' -' Stage-3 depends on stages: Stage-4' -'' -'STAGE PLANS:' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 ' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1' -' Filter Operator' -' predicate:' -' expr: (_col0 < 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: ppd_multi_insert.mi1' -' Filter Operator' -' predicate:' -' expr: ((_col0 >= 100.0) and (_col0 < 200.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: ppd_multi_insert.mi2' -' Filter Operator' -' predicate:' -' expr: ((_col0 >= 200.0) and (_col0 < 300.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 3' -' 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: ppd_multi_insert.mi3' -' Filter Operator' -' predicate:' -' expr: (_col0 >= 300.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 4' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' 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: ppd_multi_insert.mi1' -'' -' Stage: Stage-5' -' Stats-Aggr Operator' -'' -' Stage: Stage-1' -' 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: ppd_multi_insert.mi2' -'' -' Stage: Stage-6' -' Stats-Aggr Operator' -'' -' Stage: Stage-2' -' Move Operator' -' tables:' -' partition:' -' ds 2008-04-08' -' hr 12' -' 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: ppd_multi_insert.mi3' -'' -' Stage: Stage-7' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: ../build/ql/test/data/warehouse/mi4.out' -'' -'' -194 rows selected ->>> ->>> FROM src a JOIN src b ON (a.key = b.key) -INSERT OVERWRITE TABLE mi1 SELECT a.* WHERE a.key < 100 -INSERT OVERWRITE TABLE mi2 SELECT a.key, a.value WHERE a.key >= 100 and a.key < 200 -INSERT OVERWRITE TABLE mi3 PARTITION(ds='2008-04-08', hr='12') SELECT a.key WHERE a.key >= 200 and a.key < 300 -INSERT OVERWRITE DIRECTORY '../build/ql/test/data/warehouse/mi4.out' SELECT a.value WHERE a.key >= 300; -'value' -No rows selected ->>> ->>> SELECT mi1.* FROM mi1; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'10','val_10' -'11','val_11' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'17','val_17' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'19','val_19' -'2','val_2' -'20','val_20' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'27','val_27' -'28','val_28' -'30','val_30' -'33','val_33' -'34','val_34' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'4','val_4' -'41','val_41' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'43','val_43' -'44','val_44' -'47','val_47' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'53','val_53' -'54','val_54' -'57','val_57' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'64','val_64' -'65','val_65' -'66','val_66' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'69','val_69' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'74','val_74' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'77','val_77' -'78','val_78' -'8','val_8' -'80','val_80' -'82','val_82' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'9','val_9' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'96','val_96' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -148 rows selected ->>> SELECT mi2.* FROM mi2; -'key','value' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'105','val_105' -'111','val_111' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'114','val_114' -'116','val_116' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'126','val_126' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'131','val_131' -'133','val_133' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'136','val_136' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'143','val_143' -'145','val_145' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'150','val_150' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'153','val_153' -'155','val_155' -'156','val_156' -'157','val_157' -'158','val_158' -'160','val_160' -'162','val_162' -'163','val_163' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'166','val_166' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'168','val_168' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'170','val_170' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'177','val_177' -'178','val_178' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'180','val_180' -'181','val_181' -'183','val_183' -'186','val_186' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'189','val_189' -'190','val_190' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'192','val_192' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'194','val_194' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'196','val_196' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -211 rows selected ->>> SELECT mi3.* FROM mi3; -'key','ds','hr' -'200','2008-04-08','12' -'200','2008-04-08','12' -'200','2008-04-08','12' -'200','2008-04-08','12' -'201','2008-04-08','12' -'202','2008-04-08','12' -'203','2008-04-08','12' -'203','2008-04-08','12' -'203','2008-04-08','12' -'203','2008-04-08','12' -'205','2008-04-08','12' -'205','2008-04-08','12' -'205','2008-04-08','12' -'205','2008-04-08','12' -'207','2008-04-08','12' -'207','2008-04-08','12' -'207','2008-04-08','12' -'207','2008-04-08','12' -'208','2008-04-08','12' -'208','2008-04-08','12' -'208','2008-04-08','12' -'208','2008-04-08','12' -'208','2008-04-08','12' -'208','2008-04-08','12' -'208','2008-04-08','12' -'208','2008-04-08','12' -'208','2008-04-08','12' -'209','2008-04-08','12' -'209','2008-04-08','12' -'209','2008-04-08','12' -'209','2008-04-08','12' -'213','2008-04-08','12' -'213','2008-04-08','12' -'213','2008-04-08','12' -'213','2008-04-08','12' -'214','2008-04-08','12' -'216','2008-04-08','12' -'216','2008-04-08','12' -'216','2008-04-08','12' -'216','2008-04-08','12' -'217','2008-04-08','12' -'217','2008-04-08','12' -'217','2008-04-08','12' -'217','2008-04-08','12' -'218','2008-04-08','12' -'219','2008-04-08','12' -'219','2008-04-08','12' -'219','2008-04-08','12' -'219','2008-04-08','12' -'221','2008-04-08','12' -'221','2008-04-08','12' -'221','2008-04-08','12' -'221','2008-04-08','12' -'222','2008-04-08','12' -'223','2008-04-08','12' -'223','2008-04-08','12' -'223','2008-04-08','12' -'223','2008-04-08','12' -'224','2008-04-08','12' -'224','2008-04-08','12' -'224','2008-04-08','12' -'224','2008-04-08','12' -'226','2008-04-08','12' -'228','2008-04-08','12' -'229','2008-04-08','12' -'229','2008-04-08','12' -'229','2008-04-08','12' -'229','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'230','2008-04-08','12' -'233','2008-04-08','12' -'233','2008-04-08','12' -'233','2008-04-08','12' -'233','2008-04-08','12' -'235','2008-04-08','12' -'237','2008-04-08','12' -'237','2008-04-08','12' -'237','2008-04-08','12' -'237','2008-04-08','12' -'238','2008-04-08','12' -'238','2008-04-08','12' -'238','2008-04-08','12' -'238','2008-04-08','12' -'239','2008-04-08','12' -'239','2008-04-08','12' -'239','2008-04-08','12' -'239','2008-04-08','12' -'241','2008-04-08','12' -'242','2008-04-08','12' -'242','2008-04-08','12' -'242','2008-04-08','12' -'242','2008-04-08','12' -'244','2008-04-08','12' -'247','2008-04-08','12' -'248','2008-04-08','12' -'249','2008-04-08','12' -'252','2008-04-08','12' -'255','2008-04-08','12' -'255','2008-04-08','12' -'255','2008-04-08','12' -'255','2008-04-08','12' -'256','2008-04-08','12' -'256','2008-04-08','12' -'256','2008-04-08','12' -'256','2008-04-08','12' -'257','2008-04-08','12' -'258','2008-04-08','12' -'260','2008-04-08','12' -'262','2008-04-08','12' -'263','2008-04-08','12' -'265','2008-04-08','12' -'265','2008-04-08','12' -'265','2008-04-08','12' -'265','2008-04-08','12' -'266','2008-04-08','12' -'272','2008-04-08','12' -'272','2008-04-08','12' -'272','2008-04-08','12' -'272','2008-04-08','12' -'273','2008-04-08','12' -'273','2008-04-08','12' -'273','2008-04-08','12' -'273','2008-04-08','12' -'273','2008-04-08','12' -'273','2008-04-08','12' -'273','2008-04-08','12' -'273','2008-04-08','12' -'273','2008-04-08','12' -'274','2008-04-08','12' -'275','2008-04-08','12' -'277','2008-04-08','12' -'277','2008-04-08','12' -'277','2008-04-08','12' -'277','2008-04-08','12' -'277','2008-04-08','12' -'277','2008-04-08','12' -'277','2008-04-08','12' -'277','2008-04-08','12' -'277','2008-04-08','12' -'277','2008-04-08','12' -'277','2008-04-08','12' -'277','2008-04-08','12' -'277','2008-04-08','12' -'277','2008-04-08','12' -'277','2008-04-08','12' -'277','2008-04-08','12' -'278','2008-04-08','12' -'278','2008-04-08','12' -'278','2008-04-08','12' -'278','2008-04-08','12' -'280','2008-04-08','12' -'280','2008-04-08','12' -'280','2008-04-08','12' -'280','2008-04-08','12' -'281','2008-04-08','12' -'281','2008-04-08','12' -'281','2008-04-08','12' -'281','2008-04-08','12' -'282','2008-04-08','12' -'282','2008-04-08','12' -'282','2008-04-08','12' -'282','2008-04-08','12' -'283','2008-04-08','12' -'284','2008-04-08','12' -'285','2008-04-08','12' -'286','2008-04-08','12' -'287','2008-04-08','12' -'288','2008-04-08','12' -'288','2008-04-08','12' -'288','2008-04-08','12' -'288','2008-04-08','12' -'289','2008-04-08','12' -'291','2008-04-08','12' -'292','2008-04-08','12' -'296','2008-04-08','12' -'298','2008-04-08','12' -'298','2008-04-08','12' -'298','2008-04-08','12' -'298','2008-04-08','12' -'298','2008-04-08','12' -'298','2008-04-08','12' -'298','2008-04-08','12' -'298','2008-04-08','12' -'298','2008-04-08','12' -207 rows selected ->>> dfs -cat ../build/ql/test/data/warehouse/mi4.out/*; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/ppd_outer_join1.q.out ql/src/test/results/beelinepositive/ppd_outer_join1.q.out deleted file mode 100644 index a0dcc84..0000000 --- ql/src/test/results/beelinepositive/ppd_outer_join1.q.out +++ /dev/null @@ -1,242 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/ppd_outer_join1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/ppd_outer_join1.q ->>> set hive.optimize.ppd=true; -No rows affected ->>> set hive.ppd.remove.duplicatefilters=false; -No rows affected ->>> ->>> EXPLAIN -FROM -src a -LEFT OUTER JOIN -src b -ON (a.key = b.key) -SELECT a.key, a.value, b.key, b.value -WHERE a.key > 10 AND a.key < 20 AND b.key > 15 AND b.key < 25; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME src) a) (TOK_TABREF (TOK_TABNAME src) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value))) (TOK_WHERE (AND (AND (AND (> (. (TOK_TABLE_OR_COL a) key) 10) (< (. (TOK_TABLE_OR_COL a) key) 20)) (> (. (TOK_TABLE_OR_COL b) key) 15)) (< (. (TOK_TABLE_OR_COL b) key) 25)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: ((key > 10.0) and (key < 20.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: ((key > 10.0) and (key < 20.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Filter Operator' -' predicate:' -' expr: ((((_col0 > 10.0) and (_col0 < 20.0)) and (_col4 > 15.0)) and (_col4 < 25.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -89 rows selected ->>> ->>> FROM -src a -LEFT OUTER JOIN -src b -ON (a.key = b.key) -SELECT a.key, a.value, b.key, b.value -WHERE a.key > 10 AND a.key < 20 AND b.key > 15 AND b.key < 25; -'key','value','key','value' -'17','val_17','17','val_17' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'19','val_19','19','val_19' -6 rows selected ->>> ->>> set hive.ppd.remove.duplicatefilters=true; -No rows affected ->>> ->>> EXPLAIN -FROM -src a -LEFT OUTER JOIN -src b -ON (a.key = b.key) -SELECT a.key, a.value, b.key, b.value -WHERE a.key > 10 AND a.key < 20 AND b.key > 15 AND b.key < 25; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME src) a) (TOK_TABREF (TOK_TABNAME src) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value))) (TOK_WHERE (AND (AND (AND (> (. (TOK_TABLE_OR_COL a) key) 10) (< (. (TOK_TABLE_OR_COL a) key) 20)) (> (. (TOK_TABLE_OR_COL b) key) 15)) (< (. (TOK_TABLE_OR_COL b) key) 25)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: ((key > 10.0) and (key < 20.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: ((key > 10.0) and (key < 20.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Filter Operator' -' predicate:' -' expr: ((_col4 > 15.0) and (_col4 < 25.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -89 rows selected ->>> ->>> FROM -src a -LEFT OUTER JOIN -src b -ON (a.key = b.key) -SELECT a.key, a.value, b.key, b.value -WHERE a.key > 10 AND a.key < 20 AND b.key > 15 AND b.key < 25; -'key','value','key','value' -'17','val_17','17','val_17' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'19','val_19','19','val_19' -6 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/ppd_outer_join2.q.out ql/src/test/results/beelinepositive/ppd_outer_join2.q.out deleted file mode 100644 index 7a840e8..0000000 --- ql/src/test/results/beelinepositive/ppd_outer_join2.q.out +++ /dev/null @@ -1,482 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/ppd_outer_join2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/ppd_outer_join2.q ->>> set hive.optimize.ppd=true; -No rows affected ->>> set hive.ppd.remove.duplicatefilters=false; -No rows affected ->>> ->>> EXPLAIN -FROM -src a -RIGHT OUTER JOIN -src b -ON (a.key = b.key) -SELECT a.key, a.value, b.key, b.value -WHERE a.key > '10' AND a.key < '20' AND b.key > '15' AND b.key < '25'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_TABREF (TOK_TABNAME src) a) (TOK_TABREF (TOK_TABNAME src) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value))) (TOK_WHERE (AND (AND (AND (> (. (TOK_TABLE_OR_COL a) key) '10') (< (. (TOK_TABLE_OR_COL a) key) '20')) (> (. (TOK_TABLE_OR_COL b) key) '15')) (< (. (TOK_TABLE_OR_COL b) key) '25')))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: ((key > '15') and (key < '25'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: ((key > '15') and (key < '25'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Filter Operator' -' predicate:' -' expr: ((((_col0 > '10') and (_col0 < '20')) and (_col4 > '15')) and (_col4 < '25'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -89 rows selected ->>> ->>> FROM -src a -RIGHT OUTER JOIN -src b -ON (a.key = b.key) -SELECT a.key, a.value, b.key, b.value -WHERE a.key > '10' AND a.key < '20' AND b.key > '15' AND b.key < '25'; -'key','value','key','value' -'150','val_150','150','val_150' -'152','val_152','152','val_152' -'152','val_152','152','val_152' -'152','val_152','152','val_152' -'152','val_152','152','val_152' -'153','val_153','153','val_153' -'155','val_155','155','val_155' -'156','val_156','156','val_156' -'157','val_157','157','val_157' -'158','val_158','158','val_158' -'160','val_160','160','val_160' -'162','val_162','162','val_162' -'163','val_163','163','val_163' -'164','val_164','164','val_164' -'164','val_164','164','val_164' -'164','val_164','164','val_164' -'164','val_164','164','val_164' -'165','val_165','165','val_165' -'165','val_165','165','val_165' -'165','val_165','165','val_165' -'165','val_165','165','val_165' -'166','val_166','166','val_166' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'168','val_168','168','val_168' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'17','val_17','17','val_17' -'170','val_170','170','val_170' -'172','val_172','172','val_172' -'172','val_172','172','val_172' -'172','val_172','172','val_172' -'172','val_172','172','val_172' -'174','val_174','174','val_174' -'174','val_174','174','val_174' -'174','val_174','174','val_174' -'174','val_174','174','val_174' -'175','val_175','175','val_175' -'175','val_175','175','val_175' -'175','val_175','175','val_175' -'175','val_175','175','val_175' -'176','val_176','176','val_176' -'176','val_176','176','val_176' -'176','val_176','176','val_176' -'176','val_176','176','val_176' -'177','val_177','177','val_177' -'178','val_178','178','val_178' -'179','val_179','179','val_179' -'179','val_179','179','val_179' -'179','val_179','179','val_179' -'179','val_179','179','val_179' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'180','val_180','180','val_180' -'181','val_181','181','val_181' -'183','val_183','183','val_183' -'186','val_186','186','val_186' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'189','val_189','189','val_189' -'19','val_19','19','val_19' -'190','val_190','190','val_190' -'191','val_191','191','val_191' -'191','val_191','191','val_191' -'191','val_191','191','val_191' -'191','val_191','191','val_191' -'192','val_192','192','val_192' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'194','val_194','194','val_194' -'195','val_195','195','val_195' -'195','val_195','195','val_195' -'195','val_195','195','val_195' -'195','val_195','195','val_195' -'196','val_196','196','val_196' -'197','val_197','197','val_197' -'197','val_197','197','val_197' -'197','val_197','197','val_197' -'197','val_197','197','val_197' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'2','val_2','2','val_2' -126 rows selected ->>> ->>> set hive.ppd.remove.duplicatefilters=true; -No rows affected ->>> ->>> EXPLAIN -FROM -src a -RIGHT OUTER JOIN -src b -ON (a.key = b.key) -SELECT a.key, a.value, b.key, b.value -WHERE a.key > '10' AND a.key < '20' AND b.key > '15' AND b.key < '25'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_TABREF (TOK_TABNAME src) a) (TOK_TABREF (TOK_TABNAME src) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value))) (TOK_WHERE (AND (AND (AND (> (. (TOK_TABLE_OR_COL a) key) '10') (< (. (TOK_TABLE_OR_COL a) key) '20')) (> (. (TOK_TABLE_OR_COL b) key) '15')) (< (. (TOK_TABLE_OR_COL b) key) '25')))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: ((key > '15') and (key < '25'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: ((key > '15') and (key < '25'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Filter Operator' -' predicate:' -' expr: ((_col0 > '10') and (_col0 < '20'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -89 rows selected ->>> ->>> FROM -src a -RIGHT OUTER JOIN -src b -ON (a.key = b.key) -SELECT a.key, a.value, b.key, b.value -WHERE a.key > '10' AND a.key < '20' AND b.key > '15' AND b.key < '25'; -'key','value','key','value' -'150','val_150','150','val_150' -'152','val_152','152','val_152' -'152','val_152','152','val_152' -'152','val_152','152','val_152' -'152','val_152','152','val_152' -'153','val_153','153','val_153' -'155','val_155','155','val_155' -'156','val_156','156','val_156' -'157','val_157','157','val_157' -'158','val_158','158','val_158' -'160','val_160','160','val_160' -'162','val_162','162','val_162' -'163','val_163','163','val_163' -'164','val_164','164','val_164' -'164','val_164','164','val_164' -'164','val_164','164','val_164' -'164','val_164','164','val_164' -'165','val_165','165','val_165' -'165','val_165','165','val_165' -'165','val_165','165','val_165' -'165','val_165','165','val_165' -'166','val_166','166','val_166' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'168','val_168','168','val_168' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'17','val_17','17','val_17' -'170','val_170','170','val_170' -'172','val_172','172','val_172' -'172','val_172','172','val_172' -'172','val_172','172','val_172' -'172','val_172','172','val_172' -'174','val_174','174','val_174' -'174','val_174','174','val_174' -'174','val_174','174','val_174' -'174','val_174','174','val_174' -'175','val_175','175','val_175' -'175','val_175','175','val_175' -'175','val_175','175','val_175' -'175','val_175','175','val_175' -'176','val_176','176','val_176' -'176','val_176','176','val_176' -'176','val_176','176','val_176' -'176','val_176','176','val_176' -'177','val_177','177','val_177' -'178','val_178','178','val_178' -'179','val_179','179','val_179' -'179','val_179','179','val_179' -'179','val_179','179','val_179' -'179','val_179','179','val_179' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'180','val_180','180','val_180' -'181','val_181','181','val_181' -'183','val_183','183','val_183' -'186','val_186','186','val_186' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'189','val_189','189','val_189' -'19','val_19','19','val_19' -'190','val_190','190','val_190' -'191','val_191','191','val_191' -'191','val_191','191','val_191' -'191','val_191','191','val_191' -'191','val_191','191','val_191' -'192','val_192','192','val_192' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'194','val_194','194','val_194' -'195','val_195','195','val_195' -'195','val_195','195','val_195' -'195','val_195','195','val_195' -'195','val_195','195','val_195' -'196','val_196','196','val_196' -'197','val_197','197','val_197' -'197','val_197','197','val_197' -'197','val_197','197','val_197' -'197','val_197','197','val_197' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'2','val_2','2','val_2' -126 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/ppd_outer_join3.q.out ql/src/test/results/beelinepositive/ppd_outer_join3.q.out deleted file mode 100644 index 983ac97..0000000 --- ql/src/test/results/beelinepositive/ppd_outer_join3.q.out +++ /dev/null @@ -1,466 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/ppd_outer_join3.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/ppd_outer_join3.q ->>> set hive.optimize.ppd=true; -No rows affected ->>> set hive.ppd.remove.duplicatefilters=false; -No rows affected ->>> ->>> EXPLAIN -FROM -src a -FULL OUTER JOIN -src b -ON (a.key = b.key) -SELECT a.key, a.value, b.key, b.value -WHERE a.key > '10' AND a.key < '20' AND b.key > '15' AND b.key < '25'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_FULLOUTERJOIN (TOK_TABREF (TOK_TABNAME src) a) (TOK_TABREF (TOK_TABNAME src) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value))) (TOK_WHERE (AND (AND (AND (> (. (TOK_TABLE_OR_COL a) key) '10') (< (. (TOK_TABLE_OR_COL a) key) '20')) (> (. (TOK_TABLE_OR_COL b) key) '15')) (< (. (TOK_TABLE_OR_COL b) key) '25')))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Outer Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Filter Operator' -' predicate:' -' expr: ((((_col0 > '10') and (_col0 < '20')) and (_col4 > '15')) and (_col4 < '25'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -81 rows selected ->>> ->>> FROM -src a -FULL OUTER JOIN -src b -ON (a.key = b.key) -SELECT a.key, a.value, b.key, b.value -WHERE a.key > '10' AND a.key < '20' AND b.key > '15' AND b.key < '25'; -'key','value','key','value' -'150','val_150','150','val_150' -'152','val_152','152','val_152' -'152','val_152','152','val_152' -'152','val_152','152','val_152' -'152','val_152','152','val_152' -'153','val_153','153','val_153' -'155','val_155','155','val_155' -'156','val_156','156','val_156' -'157','val_157','157','val_157' -'158','val_158','158','val_158' -'160','val_160','160','val_160' -'162','val_162','162','val_162' -'163','val_163','163','val_163' -'164','val_164','164','val_164' -'164','val_164','164','val_164' -'164','val_164','164','val_164' -'164','val_164','164','val_164' -'165','val_165','165','val_165' -'165','val_165','165','val_165' -'165','val_165','165','val_165' -'165','val_165','165','val_165' -'166','val_166','166','val_166' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'168','val_168','168','val_168' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'17','val_17','17','val_17' -'170','val_170','170','val_170' -'172','val_172','172','val_172' -'172','val_172','172','val_172' -'172','val_172','172','val_172' -'172','val_172','172','val_172' -'174','val_174','174','val_174' -'174','val_174','174','val_174' -'174','val_174','174','val_174' -'174','val_174','174','val_174' -'175','val_175','175','val_175' -'175','val_175','175','val_175' -'175','val_175','175','val_175' -'175','val_175','175','val_175' -'176','val_176','176','val_176' -'176','val_176','176','val_176' -'176','val_176','176','val_176' -'176','val_176','176','val_176' -'177','val_177','177','val_177' -'178','val_178','178','val_178' -'179','val_179','179','val_179' -'179','val_179','179','val_179' -'179','val_179','179','val_179' -'179','val_179','179','val_179' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'180','val_180','180','val_180' -'181','val_181','181','val_181' -'183','val_183','183','val_183' -'186','val_186','186','val_186' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'189','val_189','189','val_189' -'19','val_19','19','val_19' -'190','val_190','190','val_190' -'191','val_191','191','val_191' -'191','val_191','191','val_191' -'191','val_191','191','val_191' -'191','val_191','191','val_191' -'192','val_192','192','val_192' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'194','val_194','194','val_194' -'195','val_195','195','val_195' -'195','val_195','195','val_195' -'195','val_195','195','val_195' -'195','val_195','195','val_195' -'196','val_196','196','val_196' -'197','val_197','197','val_197' -'197','val_197','197','val_197' -'197','val_197','197','val_197' -'197','val_197','197','val_197' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'2','val_2','2','val_2' -126 rows selected ->>> ->>> set hive.ppd.remove.duplicatefilters=true; -No rows affected ->>> ->>> EXPLAIN -FROM -src a -FULL OUTER JOIN -src b -ON (a.key = b.key) -SELECT a.key, a.value, b.key, b.value -WHERE a.key > '10' AND a.key < '20' AND b.key > '15' AND b.key < '25'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_FULLOUTERJOIN (TOK_TABREF (TOK_TABNAME src) a) (TOK_TABREF (TOK_TABNAME src) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value))) (TOK_WHERE (AND (AND (AND (> (. (TOK_TABLE_OR_COL a) key) '10') (< (. (TOK_TABLE_OR_COL a) key) '20')) (> (. (TOK_TABLE_OR_COL b) key) '15')) (< (. (TOK_TABLE_OR_COL b) key) '25')))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Outer Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Filter Operator' -' predicate:' -' expr: ((((_col4 > '15') and (_col4 < '25')) and (_col0 > '10')) and (_col0 < '20'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -81 rows selected ->>> ->>> FROM -src a -FULL OUTER JOIN -src b -ON (a.key = b.key) -SELECT a.key, a.value, b.key, b.value -WHERE a.key > '10' AND a.key < '20' AND b.key > '15' AND b.key < '25'; -'key','value','key','value' -'150','val_150','150','val_150' -'152','val_152','152','val_152' -'152','val_152','152','val_152' -'152','val_152','152','val_152' -'152','val_152','152','val_152' -'153','val_153','153','val_153' -'155','val_155','155','val_155' -'156','val_156','156','val_156' -'157','val_157','157','val_157' -'158','val_158','158','val_158' -'160','val_160','160','val_160' -'162','val_162','162','val_162' -'163','val_163','163','val_163' -'164','val_164','164','val_164' -'164','val_164','164','val_164' -'164','val_164','164','val_164' -'164','val_164','164','val_164' -'165','val_165','165','val_165' -'165','val_165','165','val_165' -'165','val_165','165','val_165' -'165','val_165','165','val_165' -'166','val_166','166','val_166' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'168','val_168','168','val_168' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'17','val_17','17','val_17' -'170','val_170','170','val_170' -'172','val_172','172','val_172' -'172','val_172','172','val_172' -'172','val_172','172','val_172' -'172','val_172','172','val_172' -'174','val_174','174','val_174' -'174','val_174','174','val_174' -'174','val_174','174','val_174' -'174','val_174','174','val_174' -'175','val_175','175','val_175' -'175','val_175','175','val_175' -'175','val_175','175','val_175' -'175','val_175','175','val_175' -'176','val_176','176','val_176' -'176','val_176','176','val_176' -'176','val_176','176','val_176' -'176','val_176','176','val_176' -'177','val_177','177','val_177' -'178','val_178','178','val_178' -'179','val_179','179','val_179' -'179','val_179','179','val_179' -'179','val_179','179','val_179' -'179','val_179','179','val_179' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'180','val_180','180','val_180' -'181','val_181','181','val_181' -'183','val_183','183','val_183' -'186','val_186','186','val_186' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'189','val_189','189','val_189' -'19','val_19','19','val_19' -'190','val_190','190','val_190' -'191','val_191','191','val_191' -'191','val_191','191','val_191' -'191','val_191','191','val_191' -'191','val_191','191','val_191' -'192','val_192','192','val_192' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'194','val_194','194','val_194' -'195','val_195','195','val_195' -'195','val_195','195','val_195' -'195','val_195','195','val_195' -'195','val_195','195','val_195' -'196','val_196','196','val_196' -'197','val_197','197','val_197' -'197','val_197','197','val_197' -'197','val_197','197','val_197' -'197','val_197','197','val_197' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'2','val_2','2','val_2' -126 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/ppd_outer_join4.q.out ql/src/test/results/beelinepositive/ppd_outer_join4.q.out deleted file mode 100644 index cd6bcfc..0000000 --- ql/src/test/results/beelinepositive/ppd_outer_join4.q.out +++ /dev/null @@ -1,748 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/ppd_outer_join4.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/ppd_outer_join4.q ->>> set hive.optimize.ppd=true; -No rows affected ->>> set hive.ppd.remove.duplicatefilters=false; -No rows affected ->>> ->>> EXPLAIN -FROM -src a -LEFT OUTER JOIN -src b -ON (a.key = b.key) -RIGHT OUTER JOIN -src c -ON (a.key = c.key) -SELECT a.key, a.value, b.key, b.value, c.key -WHERE a.key > '10' AND a.key < '20' AND b.key > '15' AND b.key < '25' AND sqrt(c.key) <> 13 ; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME src) a) (TOK_TABREF (TOK_TABNAME src) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME src) c) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) key))) (TOK_WHERE (AND (AND (AND (AND (> (. (TOK_TABLE_OR_COL a) key) '10') (< (. (TOK_TABLE_OR_COL a) key) '20')) (> (. (TOK_TABLE_OR_COL b) key) '15')) (< (. (TOK_TABLE_OR_COL b) key) '25')) (<> (TOK_FUNCTION sqrt (. (TOK_TABLE_OR_COL c) key)) 13)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (sqrt(key) <> 13)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (sqrt(key) <> 13)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' c ' -' TableScan' -' alias: c' -' Filter Operator' -' predicate:' -' expr: (sqrt(key) <> 13)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 2' -' value expressions:' -' expr: key' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' Right Outer Join0 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8' -' Filter Operator' -' predicate:' -' expr: (((((_col0 > '10') and (_col0 < '20')) and (_col4 > '15')) and (_col4 < '25')) and (sqrt(_col8) <> 13))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -112 rows selected ->>> ->>> FROM -src a -LEFT OUTER JOIN -src b -ON (a.key = b.key) -RIGHT OUTER JOIN -src c -ON (a.key = c.key) -SELECT a.key, a.value, b.key, b.value, c.key -WHERE a.key > '10' AND a.key < '20' AND b.key > '15' AND b.key < '25' AND sqrt(c.key) <> 13 ; -'key','value','key','value','key' -'150','val_150','150','val_150','150' -'152','val_152','152','val_152','152' -'152','val_152','152','val_152','152' -'152','val_152','152','val_152','152' -'152','val_152','152','val_152','152' -'152','val_152','152','val_152','152' -'152','val_152','152','val_152','152' -'152','val_152','152','val_152','152' -'152','val_152','152','val_152','152' -'153','val_153','153','val_153','153' -'155','val_155','155','val_155','155' -'156','val_156','156','val_156','156' -'157','val_157','157','val_157','157' -'158','val_158','158','val_158','158' -'160','val_160','160','val_160','160' -'162','val_162','162','val_162','162' -'163','val_163','163','val_163','163' -'164','val_164','164','val_164','164' -'164','val_164','164','val_164','164' -'164','val_164','164','val_164','164' -'164','val_164','164','val_164','164' -'164','val_164','164','val_164','164' -'164','val_164','164','val_164','164' -'164','val_164','164','val_164','164' -'164','val_164','164','val_164','164' -'165','val_165','165','val_165','165' -'165','val_165','165','val_165','165' -'165','val_165','165','val_165','165' -'165','val_165','165','val_165','165' -'165','val_165','165','val_165','165' -'165','val_165','165','val_165','165' -'165','val_165','165','val_165','165' -'165','val_165','165','val_165','165' -'166','val_166','166','val_166','166' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'168','val_168','168','val_168','168' -'17','val_17','17','val_17','17' -'170','val_170','170','val_170','170' -'172','val_172','172','val_172','172' -'172','val_172','172','val_172','172' -'172','val_172','172','val_172','172' -'172','val_172','172','val_172','172' -'172','val_172','172','val_172','172' -'172','val_172','172','val_172','172' -'172','val_172','172','val_172','172' -'172','val_172','172','val_172','172' -'174','val_174','174','val_174','174' -'174','val_174','174','val_174','174' -'174','val_174','174','val_174','174' -'174','val_174','174','val_174','174' -'174','val_174','174','val_174','174' -'174','val_174','174','val_174','174' -'174','val_174','174','val_174','174' -'174','val_174','174','val_174','174' -'175','val_175','175','val_175','175' -'175','val_175','175','val_175','175' -'175','val_175','175','val_175','175' -'175','val_175','175','val_175','175' -'175','val_175','175','val_175','175' -'175','val_175','175','val_175','175' -'175','val_175','175','val_175','175' -'175','val_175','175','val_175','175' -'176','val_176','176','val_176','176' -'176','val_176','176','val_176','176' -'176','val_176','176','val_176','176' -'176','val_176','176','val_176','176' -'176','val_176','176','val_176','176' -'176','val_176','176','val_176','176' -'176','val_176','176','val_176','176' -'176','val_176','176','val_176','176' -'177','val_177','177','val_177','177' -'178','val_178','178','val_178','178' -'179','val_179','179','val_179','179' -'179','val_179','179','val_179','179' -'179','val_179','179','val_179','179' -'179','val_179','179','val_179','179' -'179','val_179','179','val_179','179' -'179','val_179','179','val_179','179' -'179','val_179','179','val_179','179' -'179','val_179','179','val_179','179' -'18','val_18','18','val_18','18' -'18','val_18','18','val_18','18' -'18','val_18','18','val_18','18' -'18','val_18','18','val_18','18' -'18','val_18','18','val_18','18' -'18','val_18','18','val_18','18' -'18','val_18','18','val_18','18' -'18','val_18','18','val_18','18' -'180','val_180','180','val_180','180' -'181','val_181','181','val_181','181' -'183','val_183','183','val_183','183' -'186','val_186','186','val_186','186' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'189','val_189','189','val_189','189' -'19','val_19','19','val_19','19' -'190','val_190','190','val_190','190' -'191','val_191','191','val_191','191' -'191','val_191','191','val_191','191' -'191','val_191','191','val_191','191' -'191','val_191','191','val_191','191' -'191','val_191','191','val_191','191' -'191','val_191','191','val_191','191' -'191','val_191','191','val_191','191' -'191','val_191','191','val_191','191' -'192','val_192','192','val_192','192' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'194','val_194','194','val_194','194' -'195','val_195','195','val_195','195' -'195','val_195','195','val_195','195' -'195','val_195','195','val_195','195' -'195','val_195','195','val_195','195' -'195','val_195','195','val_195','195' -'195','val_195','195','val_195','195' -'195','val_195','195','val_195','195' -'195','val_195','195','val_195','195' -'196','val_196','196','val_196','196' -'197','val_197','197','val_197','197' -'197','val_197','197','val_197','197' -'197','val_197','197','val_197','197' -'197','val_197','197','val_197','197' -'197','val_197','197','val_197','197' -'197','val_197','197','val_197','197' -'197','val_197','197','val_197','197' -'197','val_197','197','val_197','197' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'2','val_2','2','val_2','2' -230 rows selected ->>> ->>> set hive.ppd.remove.duplicatefilters=true; -No rows affected ->>> ->>> EXPLAIN -FROM -src a -LEFT OUTER JOIN -src b -ON (a.key = b.key) -RIGHT OUTER JOIN -src c -ON (a.key = c.key) -SELECT a.key, a.value, b.key, b.value, c.key -WHERE a.key > '10' AND a.key < '20' AND b.key > '15' AND b.key < '25' AND sqrt(c.key) <> 13 ; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME src) a) (TOK_TABREF (TOK_TABNAME src) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME src) c) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) key))) (TOK_WHERE (AND (AND (AND (AND (> (. (TOK_TABLE_OR_COL a) key) '10') (< (. (TOK_TABLE_OR_COL a) key) '20')) (> (. (TOK_TABLE_OR_COL b) key) '15')) (< (. (TOK_TABLE_OR_COL b) key) '25')) (<> (TOK_FUNCTION sqrt (. (TOK_TABLE_OR_COL c) key)) 13)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (sqrt(key) <> 13)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (sqrt(key) <> 13)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' c ' -' TableScan' -' alias: c' -' Filter Operator' -' predicate:' -' expr: (sqrt(key) <> 13)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 2' -' value expressions:' -' expr: key' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' Right Outer Join0 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8' -' Filter Operator' -' predicate:' -' expr: ((((_col4 > '15') and (_col4 < '25')) and (_col0 > '10')) and (_col0 < '20'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -112 rows selected ->>> ->>> FROM -src a -LEFT OUTER JOIN -src b -ON (a.key = b.key) -RIGHT OUTER JOIN -src c -ON (a.key = c.key) -SELECT a.key, a.value, b.key, b.value, c.key -WHERE a.key > '10' AND a.key < '20' AND b.key > '15' AND b.key < '25' AND sqrt(c.key) <> 13 ; -'key','value','key','value','key' -'150','val_150','150','val_150','150' -'152','val_152','152','val_152','152' -'152','val_152','152','val_152','152' -'152','val_152','152','val_152','152' -'152','val_152','152','val_152','152' -'152','val_152','152','val_152','152' -'152','val_152','152','val_152','152' -'152','val_152','152','val_152','152' -'152','val_152','152','val_152','152' -'153','val_153','153','val_153','153' -'155','val_155','155','val_155','155' -'156','val_156','156','val_156','156' -'157','val_157','157','val_157','157' -'158','val_158','158','val_158','158' -'160','val_160','160','val_160','160' -'162','val_162','162','val_162','162' -'163','val_163','163','val_163','163' -'164','val_164','164','val_164','164' -'164','val_164','164','val_164','164' -'164','val_164','164','val_164','164' -'164','val_164','164','val_164','164' -'164','val_164','164','val_164','164' -'164','val_164','164','val_164','164' -'164','val_164','164','val_164','164' -'164','val_164','164','val_164','164' -'165','val_165','165','val_165','165' -'165','val_165','165','val_165','165' -'165','val_165','165','val_165','165' -'165','val_165','165','val_165','165' -'165','val_165','165','val_165','165' -'165','val_165','165','val_165','165' -'165','val_165','165','val_165','165' -'165','val_165','165','val_165','165' -'166','val_166','166','val_166','166' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'167','val_167','167','val_167','167' -'168','val_168','168','val_168','168' -'17','val_17','17','val_17','17' -'170','val_170','170','val_170','170' -'172','val_172','172','val_172','172' -'172','val_172','172','val_172','172' -'172','val_172','172','val_172','172' -'172','val_172','172','val_172','172' -'172','val_172','172','val_172','172' -'172','val_172','172','val_172','172' -'172','val_172','172','val_172','172' -'172','val_172','172','val_172','172' -'174','val_174','174','val_174','174' -'174','val_174','174','val_174','174' -'174','val_174','174','val_174','174' -'174','val_174','174','val_174','174' -'174','val_174','174','val_174','174' -'174','val_174','174','val_174','174' -'174','val_174','174','val_174','174' -'174','val_174','174','val_174','174' -'175','val_175','175','val_175','175' -'175','val_175','175','val_175','175' -'175','val_175','175','val_175','175' -'175','val_175','175','val_175','175' -'175','val_175','175','val_175','175' -'175','val_175','175','val_175','175' -'175','val_175','175','val_175','175' -'175','val_175','175','val_175','175' -'176','val_176','176','val_176','176' -'176','val_176','176','val_176','176' -'176','val_176','176','val_176','176' -'176','val_176','176','val_176','176' -'176','val_176','176','val_176','176' -'176','val_176','176','val_176','176' -'176','val_176','176','val_176','176' -'176','val_176','176','val_176','176' -'177','val_177','177','val_177','177' -'178','val_178','178','val_178','178' -'179','val_179','179','val_179','179' -'179','val_179','179','val_179','179' -'179','val_179','179','val_179','179' -'179','val_179','179','val_179','179' -'179','val_179','179','val_179','179' -'179','val_179','179','val_179','179' -'179','val_179','179','val_179','179' -'179','val_179','179','val_179','179' -'18','val_18','18','val_18','18' -'18','val_18','18','val_18','18' -'18','val_18','18','val_18','18' -'18','val_18','18','val_18','18' -'18','val_18','18','val_18','18' -'18','val_18','18','val_18','18' -'18','val_18','18','val_18','18' -'18','val_18','18','val_18','18' -'180','val_180','180','val_180','180' -'181','val_181','181','val_181','181' -'183','val_183','183','val_183','183' -'186','val_186','186','val_186','186' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'187','val_187','187','val_187','187' -'189','val_189','189','val_189','189' -'19','val_19','19','val_19','19' -'190','val_190','190','val_190','190' -'191','val_191','191','val_191','191' -'191','val_191','191','val_191','191' -'191','val_191','191','val_191','191' -'191','val_191','191','val_191','191' -'191','val_191','191','val_191','191' -'191','val_191','191','val_191','191' -'191','val_191','191','val_191','191' -'191','val_191','191','val_191','191' -'192','val_192','192','val_192','192' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'193','val_193','193','val_193','193' -'194','val_194','194','val_194','194' -'195','val_195','195','val_195','195' -'195','val_195','195','val_195','195' -'195','val_195','195','val_195','195' -'195','val_195','195','val_195','195' -'195','val_195','195','val_195','195' -'195','val_195','195','val_195','195' -'195','val_195','195','val_195','195' -'195','val_195','195','val_195','195' -'196','val_196','196','val_196','196' -'197','val_197','197','val_197','197' -'197','val_197','197','val_197','197' -'197','val_197','197','val_197','197' -'197','val_197','197','val_197','197' -'197','val_197','197','val_197','197' -'197','val_197','197','val_197','197' -'197','val_197','197','val_197','197' -'197','val_197','197','val_197','197' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'199','val_199','199','val_199','199' -'2','val_2','2','val_2','2' -230 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/ppd_outer_join5.q.out ql/src/test/results/beelinepositive/ppd_outer_join5.q.out deleted file mode 100644 index 67fa80f..0000000 --- ql/src/test/results/beelinepositive/ppd_outer_join5.q.out +++ /dev/null @@ -1,407 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/ppd_outer_join5.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/ppd_outer_join5.q ->>> set hive.optimize.ppd=true; -No rows affected ->>> set hive.ppd.remove.duplicatefilters=true; -No rows affected ->>> ->>> create table t1 (id int, key string, value string); -No rows affected ->>> create table t2 (id int, key string, value string); -No rows affected ->>> create table t3 (id int, key string, value string); -No rows affected ->>> create table t4 (id int, key string, value string); -No rows affected ->>> ->>> explain select * from t1 full outer join t2 on t1.id=t2.id join t3 on t2.id=t3.id where t3.id=20; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_FULLOUTERJOIN (TOK_TABREF (TOK_TABNAME t1)) (TOK_TABREF (TOK_TABNAME t2)) (= (. (TOK_TABLE_OR_COL t1) id) (. (TOK_TABLE_OR_COL t2) id))) (TOK_TABREF (TOK_TABNAME t3)) (= (. (TOK_TABLE_OR_COL t2) id) (. (TOK_TABLE_OR_COL t3) id)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (= (. (TOK_TABLE_OR_COL t3) id) 20))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' t1 ' -' TableScan' -' alias: t1' -' Filter Operator' -' predicate:' -' expr: (id = 20)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: id' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: id' -' type: int' -' tag: 0' -' value expressions:' -' expr: id' -' type: int' -' expr: key' -' type: string' -' expr: value' -' type: string' -' t2 ' -' TableScan' -' alias: t2' -' Filter Operator' -' predicate:' -' expr: (id = 20)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: id' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: id' -' type: int' -' tag: 1' -' value expressions:' -' expr: id' -' type: int' -' expr: key' -' type: string' -' expr: value' -' type: string' -' t3 ' -' TableScan' -' alias: t3' -' Filter Operator' -' predicate:' -' expr: (id = 20)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: id' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: id' -' type: int' -' tag: 2' -' value expressions:' -' expr: id' -' type: int' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Outer Join 0 to 1' -' Inner Join 1 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1} {VALUE._col2}' -' 1 {VALUE._col0} {VALUE._col1} {VALUE._col2}' -' 2 {VALUE._col0} {VALUE._col1} {VALUE._col2}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col5, _col6, _col7, _col10, _col11, _col12' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col5' -' type: int' -' expr: _col6' -' type: string' -' expr: _col7' -' type: string' -' expr: _col10' -' type: int' -' expr: _col11' -' type: string' -' expr: _col12' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -124 rows selected ->>> explain select * from t1 join t2 on (t1.id=t2.id) left outer join t3 on (t2.id=t3.id) where t2.id=20; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME t1)) (TOK_TABREF (TOK_TABNAME t2)) (= (. (TOK_TABLE_OR_COL t1) id) (. (TOK_TABLE_OR_COL t2) id))) (TOK_TABREF (TOK_TABNAME t3)) (= (. (TOK_TABLE_OR_COL t2) id) (. (TOK_TABLE_OR_COL t3) id)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (= (. (TOK_TABLE_OR_COL t2) id) 20))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' t1 ' -' TableScan' -' alias: t1' -' Filter Operator' -' predicate:' -' expr: (id = 20)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: id' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: id' -' type: int' -' tag: 0' -' value expressions:' -' expr: id' -' type: int' -' expr: key' -' type: string' -' expr: value' -' type: string' -' t2 ' -' TableScan' -' alias: t2' -' Filter Operator' -' predicate:' -' expr: (id = 20)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: id' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: id' -' type: int' -' tag: 1' -' value expressions:' -' expr: id' -' type: int' -' expr: key' -' type: string' -' expr: value' -' type: string' -' t3 ' -' TableScan' -' alias: t3' -' Filter Operator' -' predicate:' -' expr: (id = 20)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: id' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: id' -' type: int' -' tag: 2' -' value expressions:' -' expr: id' -' type: int' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Left Outer Join1 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1} {VALUE._col2}' -' 1 {VALUE._col0} {VALUE._col1} {VALUE._col2}' -' 2 {VALUE._col0} {VALUE._col1} {VALUE._col2}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col5, _col6, _col7, _col10, _col11, _col12' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col5' -' type: int' -' expr: _col6' -' type: string' -' expr: _col7' -' type: string' -' expr: _col10' -' type: int' -' expr: _col11' -' type: string' -' expr: _col12' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -124 rows selected ->>> explain select * from t1 join t2 on (t1.id=t2.id) left outer join t3 on (t1.id=t3.id) where t2.id=20; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME t1)) (TOK_TABREF (TOK_TABNAME t2)) (= (. (TOK_TABLE_OR_COL t1) id) (. (TOK_TABLE_OR_COL t2) id))) (TOK_TABREF (TOK_TABNAME t3)) (= (. (TOK_TABLE_OR_COL t1) id) (. (TOK_TABLE_OR_COL t3) id)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (= (. (TOK_TABLE_OR_COL t2) id) 20))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' t1 ' -' TableScan' -' alias: t1' -' Filter Operator' -' predicate:' -' expr: (id = 20)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: id' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: id' -' type: int' -' tag: 0' -' value expressions:' -' expr: id' -' type: int' -' expr: key' -' type: string' -' expr: value' -' type: string' -' t2 ' -' TableScan' -' alias: t2' -' Filter Operator' -' predicate:' -' expr: (id = 20)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: id' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: id' -' type: int' -' tag: 1' -' value expressions:' -' expr: id' -' type: int' -' expr: key' -' type: string' -' expr: value' -' type: string' -' t3 ' -' TableScan' -' alias: t3' -' Filter Operator' -' predicate:' -' expr: (id = 20)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: id' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: id' -' type: int' -' tag: 2' -' value expressions:' -' expr: id' -' type: int' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Left Outer Join0 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1} {VALUE._col2}' -' 1 {VALUE._col0} {VALUE._col1} {VALUE._col2}' -' 2 {VALUE._col0} {VALUE._col1} {VALUE._col2}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col5, _col6, _col7, _col10, _col11, _col12' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col5' -' type: int' -' expr: _col6' -' type: string' -' expr: _col7' -' type: string' -' expr: _col10' -' type: int' -' expr: _col11' -' type: string' -' expr: _col12' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -124 rows selected ->>> ->>> drop table t1; -No rows affected ->>> drop table t2; -No rows affected ->>> drop table t3; -No rows affected ->>> drop table t4; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/ppd_random.q.out ql/src/test/results/beelinepositive/ppd_random.q.out deleted file mode 100644 index 3a08b03..0000000 --- ql/src/test/results/beelinepositive/ppd_random.q.out +++ /dev/null @@ -1,214 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/ppd_random.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/ppd_random.q ->>> set hive.optimize.ppd=true; -No rows affected ->>> set hive.ppd.remove.duplicatefilters=false; -No rows affected ->>> ->>> EXPLAIN -SELECT src1.c1, src2.c4 -FROM -(SELECT src.key as c1, src.value as c2 from src ) src1 -JOIN -(SELECT src.key as c3, src.value as c4 from src where src.key > '2' ) src2 -ON src1.c1 = src2.c3 -WHERE rand() > 0.5; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c2)))) src1) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c4)) (TOK_WHERE (> (. (TOK_TABLE_OR_COL src) key) '2')))) src2) (= (. (TOK_TABLE_OR_COL src1) c1) (. (TOK_TABLE_OR_COL src2) c3)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) c1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) c4))) (TOK_WHERE (> (TOK_FUNCTION rand) 0.5))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' src2:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key > '2')' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key > '2')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col3' -' Filter Operator' -' predicate:' -' expr: (rand() > 0.5)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -93 rows selected ->>> ->>> set hive.ppd.remove.duplicatefilters=true; -No rows affected ->>> ->>> EXPLAIN -SELECT src1.c1, src2.c4 -FROM -(SELECT src.key as c1, src.value as c2 from src ) src1 -JOIN -(SELECT src.key as c3, src.value as c4 from src where src.key > '2' ) src2 -ON src1.c1 = src2.c3 -WHERE rand() > 0.5; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c2)))) src1) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c4)) (TOK_WHERE (> (. (TOK_TABLE_OR_COL src) key) '2')))) src2) (= (. (TOK_TABLE_OR_COL src1) c1) (. (TOK_TABLE_OR_COL src2) c3)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) c1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) c4))) (TOK_WHERE (> (TOK_FUNCTION rand) 0.5))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' src2:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key > '2')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col3' -' Filter Operator' -' predicate:' -' expr: (rand() > 0.5)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -89 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/ppd_repeated_alias.q.out ql/src/test/results/beelinepositive/ppd_repeated_alias.q.out deleted file mode 100644 index c3f0150..0000000 --- ql/src/test/results/beelinepositive/ppd_repeated_alias.q.out +++ /dev/null @@ -1,423 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/ppd_repeated_alias.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/ppd_repeated_alias.q ->>> drop table pokes; -No rows affected ->>> drop table pokes2; -No rows affected ->>> create table pokes (foo int, bar int, blah int); -No rows affected ->>> create table pokes2 (foo int, bar int, blah int); -No rows affected ->>> ->>> -- Q1: predicate should not be pushed on the right side of a left outer join ->>> explain -SELECT a.foo as foo1, b.foo as foo2, b.bar -FROM pokes a LEFT OUTER JOIN pokes2 b -ON a.foo=b.foo -WHERE b.bar=3; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME pokes) a) (TOK_TABREF (TOK_TABNAME pokes2) b) (= (. (TOK_TABLE_OR_COL a) foo) (. (TOK_TABLE_OR_COL b) foo)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) foo) foo1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) foo) foo2) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) bar))) (TOK_WHERE (= (. (TOK_TABLE_OR_COL b) bar) 3))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: foo' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: foo' -' type: int' -' tag: 0' -' value expressions:' -' expr: foo' -' type: int' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: foo' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: foo' -' type: int' -' tag: 1' -' value expressions:' -' expr: foo' -' type: int' -' expr: bar' -' type: int' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col5, _col6' -' Filter Operator' -' predicate:' -' expr: (_col6 = 3)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col5' -' type: int' -' expr: _col6' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -77 rows selected ->>> ->>> -- Q2: predicate should not be pushed on the right side of a left outer join ->>> explain -SELECT * FROM -(SELECT a.foo as foo1, b.foo as foo2, b.bar -FROM pokes a LEFT OUTER JOIN pokes2 b -ON a.foo=b.foo) a -WHERE a.bar=3; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME pokes) a) (TOK_TABREF (TOK_TABNAME pokes2) b) (= (. (TOK_TABLE_OR_COL a) foo) (. (TOK_TABLE_OR_COL b) foo)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) foo) foo1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) foo) foo2) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) bar))))) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (= (. (TOK_TABLE_OR_COL a) bar) 3))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a:a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: foo' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: foo' -' type: int' -' tag: 0' -' value expressions:' -' expr: foo' -' type: int' -' a:b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: foo' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: foo' -' type: int' -' tag: 1' -' value expressions:' -' expr: foo' -' type: int' -' expr: bar' -' type: int' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col5, _col6' -' Filter Operator' -' predicate:' -' expr: (_col6 = 3)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col5' -' type: int' -' expr: _col6' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -86 rows selected ->>> ->>> -- Q3: predicate should be pushed ->>> explain -SELECT * FROM -(SELECT a.foo as foo1, b.foo as foo2, a.bar -FROM pokes a JOIN pokes2 b -ON a.foo=b.foo) a -WHERE a.bar=3; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME pokes) a) (TOK_TABREF (TOK_TABNAME pokes2) b) (= (. (TOK_TABLE_OR_COL a) foo) (. (TOK_TABLE_OR_COL b) foo)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) foo) foo1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) foo) foo2) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) bar))))) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (= (. (TOK_TABLE_OR_COL a) bar) 3))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (bar = 3)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: foo' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: foo' -' type: int' -' tag: 0' -' value expressions:' -' expr: foo' -' type: int' -' expr: bar' -' type: int' -' a:b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: foo' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: foo' -' type: int' -' tag: 1' -' value expressions:' -' expr: foo' -' type: int' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col5' -' type: int' -' expr: _col1' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -86 rows selected ->>> ->>> -- Q4: here, the filter c.bar should be created under the first join but above the second ->>> explain select c.foo, d.bar from (select c.foo, b.bar, c.blah from pokes c left outer join pokes b on c.foo=b.foo) c left outer join pokes d where d.foo=1 and c.bar=2; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME pokes) c) (TOK_TABREF (TOK_TABNAME pokes) b) (= (. (TOK_TABLE_OR_COL c) foo) (. (TOK_TABLE_OR_COL b) foo)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) foo)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) bar)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) blah))))) c) (TOK_TABREF (TOK_TABNAME pokes) d))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) foo)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL d) bar))) (TOK_WHERE (and (= (. (TOK_TABLE_OR_COL d) foo) 1) (= (. (TOK_TABLE_OR_COL c) bar) 2)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-1 depends on stages: Stage-2' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' c:b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: foo' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: foo' -' type: int' -' tag: 1' -' value expressions:' -' expr: bar' -' type: int' -' c:c ' -' TableScan' -' alias: c' -' Reduce Output Operator' -' key expressions:' -' expr: foo' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: foo' -' type: int' -' tag: 0' -' value expressions:' -' expr: foo' -' type: int' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col6' -' Filter Operator' -' predicate:' -' expr: (_col6 = 2)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col6' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' sort order: ' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' d ' -' TableScan' -' alias: d' -' Reduce Output Operator' -' sort order: ' -' tag: 1' -' value expressions:' -' expr: foo' -' type: int' -' expr: bar' -' type: int' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col3, _col4' -' Filter Operator' -' predicate:' -' expr: (_col3 = 1)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col4' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -124 rows selected ->>> ->>> drop table pokes; -No rows affected ->>> drop table pokes2; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/ppd_transform.q.out ql/src/test/results/beelinepositive/ppd_transform.q.out deleted file mode 100644 index 16f1142..0000000 --- ql/src/test/results/beelinepositive/ppd_transform.q.out +++ /dev/null @@ -1,350 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/ppd_transform.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/ppd_transform.q ->>> set hive.optimize.ppd=true; -No rows affected ->>> set hive.ppd.remove.duplicatefilters=false; -No rows affected ->>> ->>> EXPLAIN -FROM ( -FROM src -SELECT TRANSFORM(src.key, src.value) -USING 'cat' AS (tkey, tvalue) -CLUSTER BY tkey -) tmap -SELECT tmap.tkey, tmap.tvalue WHERE tmap.tkey < 100; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TRANSFORM (TOK_EXPLIST (. (TOK_TABLE_OR_COL src) key) (. (TOK_TABLE_OR_COL src) value)) TOK_SERDE TOK_RECORDWRITER 'cat' TOK_SERDE TOK_RECORDREADER (TOK_ALIASLIST tkey tvalue)))) (TOK_CLUSTERBY (TOK_TABLE_OR_COL tkey)))) tmap)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL tmap) tkey)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL tmap) tvalue))) (TOK_WHERE (< (. (TOK_TABLE_OR_COL tmap) tkey) 100))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tmap:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Transform Operator' -' command: cat' -' output info:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Filter Operator' -' predicate:' -' expr: (_col0 < 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -65 rows selected ->>> ->>> FROM ( -FROM src -SELECT TRANSFORM(src.key, src.value) -USING 'cat' AS (tkey, tvalue) -CLUSTER BY tkey -) tmap -SELECT tmap.tkey, tmap.tvalue WHERE tmap.tkey < 100; -'tkey','tvalue' -'0','val_0' -'0','val_0' -'0','val_0' -'10','val_10' -'11','val_11' -'12','val_12' -'12','val_12' -'15','val_15' -'15','val_15' -'17','val_17' -'18','val_18' -'18','val_18' -'19','val_19' -'2','val_2' -'20','val_20' -'24','val_24' -'24','val_24' -'26','val_26' -'26','val_26' -'27','val_27' -'28','val_28' -'30','val_30' -'33','val_33' -'34','val_34' -'35','val_35' -'35','val_35' -'35','val_35' -'37','val_37' -'37','val_37' -'4','val_4' -'41','val_41' -'42','val_42' -'42','val_42' -'43','val_43' -'44','val_44' -'47','val_47' -'5','val_5' -'5','val_5' -'5','val_5' -'51','val_51' -'51','val_51' -'53','val_53' -'54','val_54' -'57','val_57' -'58','val_58' -'58','val_58' -'64','val_64' -'65','val_65' -'66','val_66' -'67','val_67' -'67','val_67' -'69','val_69' -'70','val_70' -'70','val_70' -'70','val_70' -'72','val_72' -'72','val_72' -'74','val_74' -'76','val_76' -'76','val_76' -'77','val_77' -'78','val_78' -'8','val_8' -'80','val_80' -'82','val_82' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'9','val_9' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'95','val_95' -'95','val_95' -'96','val_96' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -84 rows selected ->>> ->>> set hive.ppd.remove.duplicatefilters=true; -No rows affected ->>> ->>> EXPLAIN -FROM ( -FROM src -SELECT TRANSFORM(src.key, src.value) -USING 'cat' AS (tkey, tvalue) -CLUSTER BY tkey -) tmap -SELECT tmap.tkey, tmap.tvalue WHERE tmap.tkey < 100; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TRANSFORM (TOK_EXPLIST (. (TOK_TABLE_OR_COL src) key) (. (TOK_TABLE_OR_COL src) value)) TOK_SERDE TOK_RECORDWRITER 'cat' TOK_SERDE TOK_RECORDREADER (TOK_ALIASLIST tkey tvalue)))) (TOK_CLUSTERBY (TOK_TABLE_OR_COL tkey)))) tmap)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL tmap) tkey)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL tmap) tvalue))) (TOK_WHERE (< (. (TOK_TABLE_OR_COL tmap) tkey) 100))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tmap:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Transform Operator' -' command: cat' -' output info:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Filter Operator' -' predicate:' -' expr: (_col0 < 100.0)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -65 rows selected ->>> ->>> FROM ( -FROM src -SELECT TRANSFORM(src.key, src.value) -USING 'cat' AS (tkey, tvalue) -CLUSTER BY tkey -) tmap -SELECT tmap.tkey, tmap.tvalue WHERE tmap.tkey < 100; -'tkey','tvalue' -'0','val_0' -'0','val_0' -'0','val_0' -'10','val_10' -'11','val_11' -'12','val_12' -'12','val_12' -'15','val_15' -'15','val_15' -'17','val_17' -'18','val_18' -'18','val_18' -'19','val_19' -'2','val_2' -'20','val_20' -'24','val_24' -'24','val_24' -'26','val_26' -'26','val_26' -'27','val_27' -'28','val_28' -'30','val_30' -'33','val_33' -'34','val_34' -'35','val_35' -'35','val_35' -'35','val_35' -'37','val_37' -'37','val_37' -'4','val_4' -'41','val_41' -'42','val_42' -'42','val_42' -'43','val_43' -'44','val_44' -'47','val_47' -'5','val_5' -'5','val_5' -'5','val_5' -'51','val_51' -'51','val_51' -'53','val_53' -'54','val_54' -'57','val_57' -'58','val_58' -'58','val_58' -'64','val_64' -'65','val_65' -'66','val_66' -'67','val_67' -'67','val_67' -'69','val_69' -'70','val_70' -'70','val_70' -'70','val_70' -'72','val_72' -'72','val_72' -'74','val_74' -'76','val_76' -'76','val_76' -'77','val_77' -'78','val_78' -'8','val_8' -'80','val_80' -'82','val_82' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'9','val_9' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'95','val_95' -'95','val_95' -'96','val_96' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -84 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/ppd_udf_case.q.out ql/src/test/results/beelinepositive/ppd_udf_case.q.out deleted file mode 100644 index e48d2d6..0000000 --- ql/src/test/results/beelinepositive/ppd_udf_case.q.out +++ /dev/null @@ -1,385 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/ppd_udf_case.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/ppd_udf_case.q ->>> set hive.optimize.ppd=true; -No rows affected ->>> set hive.ppd.remove.duplicatefilters=false; -No rows affected ->>> ->>> EXPLAIN -SELECT * -FROM srcpart a JOIN srcpart b -ON a.key = b.key -WHERE a.ds = '2008-04-08' AND -b.ds = '2008-04-08' AND -CASE a.key -WHEN '27' THEN TRUE -WHEN '38' THEN FALSE -ELSE NULL -END -ORDER BY a.key, a.value, a.ds, a.hr, b.key, b.value, b.ds, b.hr; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcpart) a) (TOK_TABREF (TOK_TABNAME srcpart) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (AND (AND (= (. (TOK_TABLE_OR_COL a) ds) '2008-04-08') (= (. (TOK_TABLE_OR_COL b) ds) '2008-04-08')) (TOK_FUNCTION CASE (. (TOK_TABLE_OR_COL a) key) '27' TRUE '38' FALSE TOK_NULL))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) ds)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) hr)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL b) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL b) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL b) ds)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL b) hr)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: CASE (key) WHEN ('27') THEN (true) WHEN ('38') THEN (false) ELSE (null) END' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: CASE (key) WHEN ('27') THEN (true) WHEN ('38') THEN (false) ELSE (null) END' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1} {VALUE._col2} {VALUE._col3}' -' 1 {VALUE._col0} {VALUE._col1} {VALUE._col2} {VALUE._col3}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col3, _col6, _col7, _col8, _col9' -' Filter Operator' -' predicate:' -' expr: (((_col2 = '2008-04-08') and (_col8 = '2008-04-08')) and CASE (_col0) WHEN ('27') THEN (true) WHEN ('38') THEN (false) ELSE (null) END)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col6' -' type: string' -' expr: _col7' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col6' -' type: string' -' expr: _col7' -' type: string' -' sort order: ++++++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col6' -' type: string' -' expr: _col7' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -156 rows selected ->>> ->>> SELECT * -FROM srcpart a JOIN srcpart b -ON a.key = b.key -WHERE a.ds = '2008-04-08' AND -b.ds = '2008-04-08' AND -CASE a.key -WHEN '27' THEN TRUE -WHEN '38' THEN FALSE -ELSE NULL -END -ORDER BY a.key, a.value, a.ds, a.hr, b.key, b.value, b.ds, b.hr; -'key','value','ds','hr','key','value','ds','hr' -'27','val_27','2008-04-08','11','27','val_27','2008-04-08','11' -'27','val_27','2008-04-08','11','27','val_27','2008-04-08','12' -'27','val_27','2008-04-08','12','27','val_27','2008-04-08','11' -'27','val_27','2008-04-08','12','27','val_27','2008-04-08','12' -4 rows selected ->>> ->>> set hive.ppd.remove.duplicatefilters=true; -No rows affected ->>> ->>> EXPLAIN -SELECT * -FROM srcpart a JOIN srcpart b -ON a.key = b.key -WHERE a.ds = '2008-04-08' AND -b.ds = '2008-04-08' AND -CASE a.key -WHEN '27' THEN TRUE -WHEN '38' THEN FALSE -ELSE NULL -END -ORDER BY a.key, a.value, a.ds, a.hr, b.key, b.value, b.ds, b.hr; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcpart) a) (TOK_TABREF (TOK_TABNAME srcpart) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (AND (AND (= (. (TOK_TABLE_OR_COL a) ds) '2008-04-08') (= (. (TOK_TABLE_OR_COL b) ds) '2008-04-08')) (TOK_FUNCTION CASE (. (TOK_TABLE_OR_COL a) key) '27' TRUE '38' FALSE TOK_NULL))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) ds)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) hr)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL b) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL b) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL b) ds)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL b) hr)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: CASE (key) WHEN ('27') THEN (true) WHEN ('38') THEN (false) ELSE (null) END' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: CASE (key) WHEN ('27') THEN (true) WHEN ('38') THEN (false) ELSE (null) END' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1} {VALUE._col2} {VALUE._col3}' -' 1 {VALUE._col0} {VALUE._col1} {VALUE._col2} {VALUE._col3}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col3, _col6, _col7, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col6' -' type: string' -' expr: _col7' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col6' -' type: string' -' expr: _col7' -' type: string' -' sort order: ++++++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col6' -' type: string' -' expr: _col7' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -152 rows selected ->>> ->>> SELECT * -FROM srcpart a JOIN srcpart b -ON a.key = b.key -WHERE a.ds = '2008-04-08' AND -b.ds = '2008-04-08' AND -CASE a.key -WHEN '27' THEN TRUE -WHEN '38' THEN FALSE -ELSE NULL -END -ORDER BY a.key, a.value, a.ds, a.hr, b.key, b.value, b.ds, b.hr; -'key','value','ds','hr','key','value','ds','hr' -'27','val_27','2008-04-08','11','27','val_27','2008-04-08','11' -'27','val_27','2008-04-08','11','27','val_27','2008-04-08','12' -'27','val_27','2008-04-08','12','27','val_27','2008-04-08','11' -'27','val_27','2008-04-08','12','27','val_27','2008-04-08','12' -4 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/ppd_udf_col.q.out ql/src/test/results/beelinepositive/ppd_udf_col.q.out deleted file mode 100644 index b005b02..0000000 --- ql/src/test/results/beelinepositive/ppd_udf_col.q.out +++ /dev/null @@ -1,506 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/ppd_udf_col.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/ppd_udf_col.q ->>> set hive.optimize.ppd=true; -No rows affected ->>> set hive.ppd.remove.duplicatefilters=false; -No rows affected ->>> ->>> EXPLAIN -SELECT key, randum123 -FROM (SELECT *, cast(rand() as double) AS randum123 FROM src WHERE key = 100) a -WHERE randum123 <=0.1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF) (TOK_SELEXPR (TOK_FUNCTION TOK_DOUBLE (TOK_FUNCTION rand)) randum123)) (TOK_WHERE (= (TOK_TABLE_OR_COL key) 100)))) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL randum123))) (TOK_WHERE (<= (TOK_TABLE_OR_COL randum123) 0.1))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key = 100.0)' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key = 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: rand()' -' type: double' -' outputColumnNames: _col0, _col2' -' Filter Operator' -' predicate:' -' expr: (_col2 <= 0.1)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col2' -' type: double' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -52 rows selected ->>> ->>> EXPLAIN -SELECT * FROM -( -SELECT key, randum123 -FROM (SELECT *, cast(rand() as double) AS randum123 FROM src WHERE key = 100) a -WHERE randum123 <=0.1)s WHERE s.randum123>0.1 LIMIT 20; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF) (TOK_SELEXPR (TOK_FUNCTION TOK_DOUBLE (TOK_FUNCTION rand)) randum123)) (TOK_WHERE (= (TOK_TABLE_OR_COL key) 100)))) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL randum123))) (TOK_WHERE (<= (TOK_TABLE_OR_COL randum123) 0.1)))) s)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (> (. (TOK_TABLE_OR_COL s) randum123) 0.1)) (TOK_LIMIT 20)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' s:a:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key = 100.0)' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key = 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: rand()' -' type: double' -' outputColumnNames: _col0, _col2' -' Filter Operator' -' predicate:' -' expr: (_col2 <= 0.1)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col2' -' type: double' -' outputColumnNames: _col0, _col1' -' Filter Operator' -' predicate:' -' expr: (_col1 > 0.1)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 20' -'' -'' -64 rows selected ->>> ->>> EXPLAIN -SELECT key,randum123, h4 -FROM (SELECT *, cast(rand() as double) AS randum123, hex(4) AS h4 FROM src WHERE key = 100) a -WHERE a.h4 <= 3; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF) (TOK_SELEXPR (TOK_FUNCTION TOK_DOUBLE (TOK_FUNCTION rand)) randum123) (TOK_SELEXPR (TOK_FUNCTION hex 4) h4)) (TOK_WHERE (= (TOK_TABLE_OR_COL key) 100)))) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL randum123)) (TOK_SELEXPR (TOK_TABLE_OR_COL h4))) (TOK_WHERE (<= (. (TOK_TABLE_OR_COL a) h4) 3))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key = 100.0)' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key = 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: rand()' -' type: double' -' expr: hex(4)' -' type: string' -' outputColumnNames: _col0, _col2, _col3' -' Filter Operator' -' predicate:' -' expr: (_col3 <= 3.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col2' -' type: double' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -56 rows selected ->>> ->>> EXPLAIN -SELECT key,randum123, v10 -FROM (SELECT *, cast(rand() as double) AS randum123, value*10 AS v10 FROM src WHERE key = 100) a -WHERE a.v10 <= 200; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF) (TOK_SELEXPR (TOK_FUNCTION TOK_DOUBLE (TOK_FUNCTION rand)) randum123) (TOK_SELEXPR (* (TOK_TABLE_OR_COL value) 10) v10)) (TOK_WHERE (= (TOK_TABLE_OR_COL key) 100)))) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL randum123)) (TOK_SELEXPR (TOK_TABLE_OR_COL v10))) (TOK_WHERE (<= (. (TOK_TABLE_OR_COL a) v10) 200))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key = 100.0)' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key = 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: rand()' -' type: double' -' expr: (value * 10)' -' type: double' -' outputColumnNames: _col0, _col2, _col3' -' Filter Operator' -' predicate:' -' expr: (_col3 <= 200.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col2' -' type: double' -' expr: _col3' -' type: double' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -56 rows selected ->>> ->>> set hive.ppd.remove.duplicatefilters=true; -No rows affected ->>> ->>> EXPLAIN -SELECT key, randum123 -FROM (SELECT *, cast(rand() as double) AS randum123 FROM src WHERE key = 100) a -WHERE randum123 <=0.1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF) (TOK_SELEXPR (TOK_FUNCTION TOK_DOUBLE (TOK_FUNCTION rand)) randum123)) (TOK_WHERE (= (TOK_TABLE_OR_COL key) 100)))) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL randum123))) (TOK_WHERE (<= (TOK_TABLE_OR_COL randum123) 0.1))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key = 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: rand()' -' type: double' -' outputColumnNames: _col0, _col2' -' Filter Operator' -' predicate:' -' expr: (_col2 <= 0.1)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col2' -' type: double' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -48 rows selected ->>> ->>> EXPLAIN -SELECT * FROM -( -SELECT key, randum123 -FROM (SELECT *, cast(rand() as double) AS randum123 FROM src WHERE key = 100) a -WHERE randum123 <=0.1)s WHERE s.randum123>0.1 LIMIT 20; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF) (TOK_SELEXPR (TOK_FUNCTION TOK_DOUBLE (TOK_FUNCTION rand)) randum123)) (TOK_WHERE (= (TOK_TABLE_OR_COL key) 100)))) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL randum123))) (TOK_WHERE (<= (TOK_TABLE_OR_COL randum123) 0.1)))) s)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (> (. (TOK_TABLE_OR_COL s) randum123) 0.1)) (TOK_LIMIT 20)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' s:a:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key = 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: rand()' -' type: double' -' outputColumnNames: _col0, _col2' -' Filter Operator' -' predicate:' -' expr: ((_col2 <= 0.1) and (_col2 > 0.1))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col2' -' type: double' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: double' -' outputColumnNames: _col0, _col1' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 20' -'' -'' -56 rows selected ->>> ->>> EXPLAIN -SELECT key,randum123, h4 -FROM (SELECT *, cast(rand() as double) AS randum123, hex(4) AS h4 FROM src WHERE key = 100) a -WHERE a.h4 <= 3; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF) (TOK_SELEXPR (TOK_FUNCTION TOK_DOUBLE (TOK_FUNCTION rand)) randum123) (TOK_SELEXPR (TOK_FUNCTION hex 4) h4)) (TOK_WHERE (= (TOK_TABLE_OR_COL key) 100)))) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL randum123)) (TOK_SELEXPR (TOK_TABLE_OR_COL h4))) (TOK_WHERE (<= (. (TOK_TABLE_OR_COL a) h4) 3))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key = 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: rand()' -' type: double' -' expr: hex(4)' -' type: string' -' outputColumnNames: _col0, _col2, _col3' -' Filter Operator' -' predicate:' -' expr: (_col3 <= 3.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col2' -' type: double' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -52 rows selected ->>> ->>> EXPLAIN -SELECT key,randum123, v10 -FROM (SELECT *, cast(rand() as double) AS randum123, value*10 AS v10 FROM src WHERE key = 100) a -WHERE a.v10 <= 200; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF) (TOK_SELEXPR (TOK_FUNCTION TOK_DOUBLE (TOK_FUNCTION rand)) randum123) (TOK_SELEXPR (* (TOK_TABLE_OR_COL value) 10) v10)) (TOK_WHERE (= (TOK_TABLE_OR_COL key) 100)))) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL randum123)) (TOK_SELEXPR (TOK_TABLE_OR_COL v10))) (TOK_WHERE (<= (. (TOK_TABLE_OR_COL a) v10) 200))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key = 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: rand()' -' type: double' -' expr: (value * 10)' -' type: double' -' outputColumnNames: _col0, _col2, _col3' -' Filter Operator' -' predicate:' -' expr: (_col3 <= 200.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col2' -' type: double' -' expr: _col3' -' type: double' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -52 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/ppd_union.q.out ql/src/test/results/beelinepositive/ppd_union.q.out deleted file mode 100644 index 152d829..0000000 --- ql/src/test/results/beelinepositive/ppd_union.q.out +++ /dev/null @@ -1,556 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/ppd_union.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/ppd_union.q ->>> set hive.optimize.ppd=true; -No rows affected ->>> set hive.ppd.remove.duplicatefilters=false; -No rows affected ->>> ->>> EXPLAIN -FROM ( -FROM src select src.key, src.value WHERE src.key < '100' -UNION ALL -FROM src SELECT src.* WHERE src.key > '150' -) unioned_query -SELECT unioned_query.* -WHERE key > '4' and value > 'val_4'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value))) (TOK_WHERE (< (. (TOK_TABLE_OR_COL src) key) '100')))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))) (TOK_WHERE (> (. (TOK_TABLE_OR_COL src) key) '150'))))) unioned_query)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME unioned_query)))) (TOK_WHERE (and (> (TOK_TABLE_OR_COL key) '4') (> (TOK_TABLE_OR_COL value) 'val_4')))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1:unioned_query-subquery1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (((key < '100') and (key > '4')) and (value > 'val_4'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key < '100')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Filter Operator' -' predicate:' -' expr: ((_col0 > '4') and (_col1 > 'val_4'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' null-subquery2:unioned_query-subquery2:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (((key > '150') and (key > '4')) and (value > 'val_4'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key > '150')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Filter Operator' -' predicate:' -' expr: ((_col0 > '4') and (_col1 > 'val_4'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -89 rows selected ->>> ->>> FROM ( -FROM src select src.key, src.value WHERE src.key < '100' -UNION ALL -FROM src SELECT src.* WHERE src.key > '150' -) unioned_query -SELECT unioned_query.* -WHERE key > '4' and value > 'val_4'; -'key','value' -'86','val_86' -'409','val_409' -'98','val_98' -'484','val_484' -'401','val_401' -'66','val_66' -'406','val_406' -'429','val_429' -'469','val_469' -'495','val_495' -'82','val_82' -'403','val_403' -'417','val_417' -'430','val_430' -'446','val_446' -'459','val_459' -'482','val_482' -'413','val_413' -'494','val_494' -'466','val_466' -'417','val_417' -'489','val_489' -'439','val_439' -'475','val_475' -'455','val_455' -'57','val_57' -'438','val_438' -'489','val_489' -'92','val_92' -'47','val_47' -'72','val_72' -'427','val_427' -'498','val_498' -'437','val_437' -'469','val_469' -'54','val_54' -'459','val_459' -'51','val_51' -'430','val_430' -'65','val_65' -'83','val_83' -'67','val_67' -'404','val_404' -'489','val_489' -'84','val_84' -'466','val_466' -'58','val_58' -'8','val_8' -'411','val_411' -'463','val_463' -'431','val_431' -'42','val_42' -'496','val_496' -'468','val_468' -'454','val_454' -'418','val_418' -'96','val_96' -'51','val_51' -'404','val_404' -'43','val_43' -'436','val_436' -'469','val_469' -'468','val_468' -'95','val_95' -'481','val_481' -'457','val_457' -'98','val_98' -'409','val_409' -'470','val_470' -'413','val_413' -'85','val_85' -'77','val_77' -'490','val_490' -'87','val_87' -'419','val_419' -'72','val_72' -'90','val_90' -'435','val_435' -'401','val_401' -'452','val_452' -'5','val_5' -'497','val_497' -'402','val_402' -'58','val_58' -'95','val_95' -'472','val_472' -'498','val_498' -'42','val_42' -'430','val_430' -'489','val_489' -'458','val_458' -'78','val_78' -'76','val_76' -'41','val_41' -'492','val_492' -'449','val_449' -'453','val_453' -'64','val_64' -'468','val_468' -'76','val_76' -'74','val_74' -'69','val_69' -'485','val_485' -'70','val_70' -'487','val_487' -'480','val_480' -'401','val_401' -'5','val_5' -'438','val_438' -'467','val_467' -'432','val_432' -'469','val_469' -'463','val_463' -'80','val_80' -'44','val_44' -'466','val_466' -'403','val_403' -'483','val_483' -'53','val_53' -'406','val_406' -'409','val_409' -'406','val_406' -'401','val_401' -'90','val_90' -'424','val_424' -'431','val_431' -'454','val_454' -'478','val_478' -'431','val_431' -'424','val_424' -'5','val_5' -'70','val_70' -'480','val_480' -'70','val_70' -'438','val_438' -'414','val_414' -'491','val_491' -'439','val_439' -'479','val_479' -'417','val_417' -'444','val_444' -'429','val_429' -'443','val_443' -'478','val_478' -'468','val_468' -'493','val_493' -'460','val_460' -'480','val_480' -'83','val_83' -'462','val_462' -'406','val_406' -'454','val_454' -'401','val_401' -'421','val_421' -'407','val_407' -'67','val_67' -'462','val_462' -'492','val_492' -'9','val_9' -'498','val_498' -'458','val_458' -'97','val_97' -'469','val_469' -'84','val_84' -'448','val_448' -'414','val_414' -'477','val_477' -'90','val_90' -'403','val_403' -'400','val_400' -'97','val_97' -171 rows selected ->>> ->>> set hive.ppd.remove.duplicatefilters=true; -No rows affected ->>> ->>> EXPLAIN -FROM ( -FROM src select src.key, src.value WHERE src.key < '100' -UNION ALL -FROM src SELECT src.* WHERE src.key > '150' -) unioned_query -SELECT unioned_query.* -WHERE key > '4' and value > 'val_4'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value))) (TOK_WHERE (< (. (TOK_TABLE_OR_COL src) key) '100')))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))) (TOK_WHERE (> (. (TOK_TABLE_OR_COL src) key) '150'))))) unioned_query)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME unioned_query)))) (TOK_WHERE (and (> (TOK_TABLE_OR_COL key) '4') (> (TOK_TABLE_OR_COL value) 'val_4')))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1:unioned_query-subquery1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (((key < '100') and (key > '4')) and (value > 'val_4'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' null-subquery2:unioned_query-subquery2:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (((key > '150') and (key > '4')) and (value > 'val_4'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -73 rows selected ->>> ->>> FROM ( -FROM src select src.key, src.value WHERE src.key < '100' -UNION ALL -FROM src SELECT src.* WHERE src.key > '150' -) unioned_query -SELECT unioned_query.* -WHERE key > '4' and value > 'val_4'; -'key','value' -'86','val_86' -'409','val_409' -'98','val_98' -'484','val_484' -'401','val_401' -'66','val_66' -'406','val_406' -'429','val_429' -'469','val_469' -'495','val_495' -'82','val_82' -'403','val_403' -'417','val_417' -'430','val_430' -'446','val_446' -'459','val_459' -'482','val_482' -'413','val_413' -'494','val_494' -'466','val_466' -'417','val_417' -'489','val_489' -'439','val_439' -'475','val_475' -'455','val_455' -'57','val_57' -'438','val_438' -'489','val_489' -'92','val_92' -'47','val_47' -'72','val_72' -'427','val_427' -'498','val_498' -'437','val_437' -'469','val_469' -'54','val_54' -'459','val_459' -'51','val_51' -'430','val_430' -'65','val_65' -'83','val_83' -'67','val_67' -'404','val_404' -'489','val_489' -'84','val_84' -'466','val_466' -'58','val_58' -'8','val_8' -'411','val_411' -'463','val_463' -'431','val_431' -'42','val_42' -'496','val_496' -'468','val_468' -'454','val_454' -'418','val_418' -'96','val_96' -'51','val_51' -'404','val_404' -'43','val_43' -'436','val_436' -'469','val_469' -'468','val_468' -'95','val_95' -'481','val_481' -'457','val_457' -'98','val_98' -'409','val_409' -'470','val_470' -'413','val_413' -'85','val_85' -'77','val_77' -'490','val_490' -'87','val_87' -'419','val_419' -'72','val_72' -'90','val_90' -'435','val_435' -'401','val_401' -'452','val_452' -'5','val_5' -'497','val_497' -'402','val_402' -'58','val_58' -'95','val_95' -'472','val_472' -'498','val_498' -'42','val_42' -'430','val_430' -'489','val_489' -'458','val_458' -'78','val_78' -'76','val_76' -'41','val_41' -'492','val_492' -'449','val_449' -'453','val_453' -'64','val_64' -'468','val_468' -'76','val_76' -'74','val_74' -'69','val_69' -'485','val_485' -'70','val_70' -'487','val_487' -'480','val_480' -'401','val_401' -'5','val_5' -'438','val_438' -'467','val_467' -'432','val_432' -'469','val_469' -'463','val_463' -'80','val_80' -'44','val_44' -'466','val_466' -'403','val_403' -'483','val_483' -'53','val_53' -'406','val_406' -'409','val_409' -'406','val_406' -'401','val_401' -'90','val_90' -'424','val_424' -'431','val_431' -'454','val_454' -'478','val_478' -'431','val_431' -'424','val_424' -'5','val_5' -'70','val_70' -'480','val_480' -'70','val_70' -'438','val_438' -'414','val_414' -'491','val_491' -'439','val_439' -'479','val_479' -'417','val_417' -'444','val_444' -'429','val_429' -'443','val_443' -'478','val_478' -'468','val_468' -'493','val_493' -'460','val_460' -'480','val_480' -'83','val_83' -'462','val_462' -'406','val_406' -'454','val_454' -'401','val_401' -'421','val_421' -'407','val_407' -'67','val_67' -'462','val_462' -'492','val_492' -'9','val_9' -'498','val_498' -'458','val_458' -'97','val_97' -'469','val_469' -'84','val_84' -'448','val_448' -'414','val_414' -'477','val_477' -'90','val_90' -'403','val_403' -'400','val_400' -'97','val_97' -171 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/ppd_union_view.q.out ql/src/test/results/beelinepositive/ppd_union_view.q.out deleted file mode 100644 index 45d98a1..0000000 --- ql/src/test/results/beelinepositive/ppd_union_view.q.out +++ /dev/null @@ -1,670 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/ppd_union_view.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/ppd_union_view.q ->>> -- test predicate pushdown on a view with a union ->>> ->>> drop view v; -No rows affected ->>> ->>> create table t1_new (key string, value string) partitioned by (ds string); -No rows affected ->>> ->>> insert overwrite table t1_new partition (ds = '2011-10-15') -select 'key1', 'value1' from src limit 1; -'_c0','_c1' -No rows selected ->>> ->>> insert overwrite table t1_new partition (ds = '2011-10-16') -select 'key2', 'value2' from src limit 1; -'_c0','_c1' -No rows selected ->>> ->>> create table t1_old (keymap string, value string) partitioned by (ds string); -No rows affected ->>> ->>> insert overwrite table t1_old partition (ds = '2011-10-13') -select 'keymap3', 'value3' from src limit 1; -'_c0','_c1' -No rows selected ->>> ->>> insert overwrite table t1_old partition (ds = '2011-10-14') -select 'keymap4', 'value4' from src limit 1; -'_c0','_c1' -No rows selected ->>> ->>> create table t1_mapping (key string, keymap string) partitioned by (ds string); -No rows affected ->>> ->>> insert overwrite table t1_mapping partition (ds = '2011-10-13') -select 'key3', 'keymap3' from src limit 1; -'_c0','_c1' -No rows selected ->>> ->>> insert overwrite table t1_mapping partition (ds = '2011-10-14') -select 'key4', 'keymap4' from src limit 1; -'_c0','_c1' -No rows selected ->>> ->>> ->>> create view t1 partitioned on (ds) as -select * from -( -select key, value, ds from t1_new -union all -select key, value, t1_old.ds from t1_old join t1_mapping -on t1_old.keymap = t1_mapping.keymap and -t1_old.ds = t1_mapping.ds -) subq; -'key','value','ds' -No rows selected ->>> ->>> explain extended -select * from t1 where ds = '2011-10-13'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME t1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (= (TOK_TABLE_OR_COL ds) '2011-10-13'))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' t1-subquery2:subq-subquery2:t1_mapping ' -' TableScan' -' alias: t1_mapping' -' GatherStats: false' -' Reduce Output Operator' -' key expressions:' -' expr: keymap' -' type: string' -' expr: ds' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: keymap' -' type: string' -' expr: ds' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' t1-subquery2:subq-subquery2:t1_old ' -' TableScan' -' alias: t1_old' -' GatherStats: false' -' Reduce Output Operator' -' key expressions:' -' expr: keymap' -' type: string' -' expr: ds' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: keymap' -' type: string' -' expr: ds' -' type: string' -' tag: 0' -' value expressions:' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' Needs Tagging: true' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/ppd_union_view.db/t1_mapping/ds=2011-10-13 [t1-subquery2:subq-subquery2:t1_mapping]' -' !!{hive.metastore.warehouse.dir}!!/ppd_union_view.db/t1_old/ds=2011-10-13 [t1-subquery2:subq-subquery2:t1_old]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/ppd_union_view.db/t1_mapping/ds=2011-10-13 ' -' Partition' -' base file name: ds=2011-10-13' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2011-10-13' -' properties:' -' bucket_count -1' -' columns key,keymap' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/ppd_union_view.db/t1_mapping/ds=2011-10-13' -' name ppd_union_view.t1_mapping' -' numFiles 1' -' numPartitions 2' -' numRows 1' -' partition_columns ds' -' rawDataSize 12' -' serialization.ddl struct t1_mapping { string key, string keymap}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 13' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,keymap' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/ppd_union_view.db/t1_mapping' -' name ppd_union_view.t1_mapping' -' numFiles 2' -' numPartitions 2' -' numRows 2' -' partition_columns ds' -' rawDataSize 24' -' serialization.ddl struct t1_mapping { string key, string keymap}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 26' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: ppd_union_view.t1_mapping' -' name: ppd_union_view.t1_mapping' -' !!{hive.metastore.warehouse.dir}!!/ppd_union_view.db/t1_old/ds=2011-10-13 ' -' Partition' -' base file name: ds=2011-10-13' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2011-10-13' -' properties:' -' bucket_count -1' -' columns keymap,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/ppd_union_view.db/t1_old/ds=2011-10-13' -' name ppd_union_view.t1_old' -' numFiles 1' -' numPartitions 2' -' numRows 1' -' partition_columns ds' -' rawDataSize 14' -' serialization.ddl struct t1_old { string keymap, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 15' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns keymap,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/ppd_union_view.db/t1_old' -' name ppd_union_view.t1_old' -' numFiles 2' -' numPartitions 2' -' numRows 2' -' partition_columns ds' -' rawDataSize 28' -' serialization.ddl struct t1_old { string keymap, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 30' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: ppd_union_view.t1_old' -' name: ppd_union_view.t1_old' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col1} {VALUE._col2}' -' 1 {VALUE._col0}' -' handleSkewJoin: false' -' outputColumnNames: _col1, _col2, _col5' -' Select Operator' -' expressions:' -' expr: _col5' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types string,string,string' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' GatherStats: false' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' t1-subquery1:subq-subquery1:t1_new ' -' TableScan' -' alias: t1_new' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (ds = '2011-10-13')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types string,string,string' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types string,string,string' -' escape.delim \' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -315 rows selected ->>> ->>> select * from t1 where ds = '2011-10-13'; -'key','value','ds' -'key3','value3','2011-10-13' -1 row selected ->>> ->>> select * from t1 where ds = '2011-10-14'; -'key','value','ds' -'key4','value4','2011-10-14' -1 row selected ->>> ->>> explain extended -select * from t1 where ds = '2011-10-15'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME t1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (= (TOK_TABLE_OR_COL ds) '2011-10-15'))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' t1-subquery2:subq-subquery2:t1_mapping ' -' TableScan' -' alias: t1_mapping' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (ds = '2011-10-15')' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: keymap' -' type: string' -' expr: ds' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: keymap' -' type: string' -' expr: ds' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' t1-subquery2:subq-subquery2:t1_old ' -' TableScan' -' alias: t1_old' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (ds = '2011-10-15')' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: keymap' -' type: string' -' expr: ds' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: keymap' -' type: string' -' expr: ds' -' type: string' -' tag: 0' -' value expressions:' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' Needs Tagging: true' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col1} {VALUE._col2}' -' 1 {VALUE._col0}' -' handleSkewJoin: false' -' outputColumnNames: _col1, _col2, _col5' -' Select Operator' -' expressions:' -' expr: _col5' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types string,string,string' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' GatherStats: false' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' t1-subquery1:subq-subquery1:t1_new ' -' TableScan' -' alias: t1_new' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' !!{hive.metastore.warehouse.dir}!!/ppd_union_view.db/t1_new/ds=2011-10-15 [t1-subquery1:subq-subquery1:t1_new]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types string,string,string' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types string,string,string' -' escape.delim \' -' !!{hive.metastore.warehouse.dir}!!/ppd_union_view.db/t1_new/ds=2011-10-15 ' -' Partition' -' base file name: ds=2011-10-15' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2011-10-15' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/ppd_union_view.db/t1_new/ds=2011-10-15' -' name ppd_union_view.t1_new' -' numFiles 1' -' numPartitions 2' -' numRows 1' -' partition_columns ds' -' rawDataSize 11' -' serialization.ddl struct t1_new { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 12' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/ppd_union_view.db/t1_new' -' name ppd_union_view.t1_new' -' numFiles 2' -' numPartitions 2' -' numRows 2' -' partition_columns ds' -' rawDataSize 22' -' serialization.ddl struct t1_new { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 24' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: ppd_union_view.t1_new' -' name: ppd_union_view.t1_new' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -267 rows selected ->>> ->>> select * from t1 where ds = '2011-10-15'; -'key','value','ds' -'key1','value1','2011-10-15' -1 row selected ->>> select * from t1 where ds = '2011-10-16'; -'key','value','ds' -'key2','value2','2011-10-16' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/ppr_allchildsarenull.q.out ql/src/test/results/beelinepositive/ppr_allchildsarenull.q.out deleted file mode 100644 index b794e8f..0000000 --- ql/src/test/results/beelinepositive/ppr_allchildsarenull.q.out +++ /dev/null @@ -1,472 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/ppr_allchildsarenull.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/ppr_allchildsarenull.q ->>> set hive.optimize.ppd=true; -No rows affected ->>> ->>> EXPLAIN EXTENDED -SELECT -CAST(key AS INT) AS user_id, value -FROM srcpart -WHERE ds='2008-04-08' and -( CASE WHEN (value LIKE 'aaa%' OR value LIKE 'vvv%') -THEN 1 -ELSE 0 end ) > 0 -; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION TOK_INT (TOK_TABLE_OR_COL key)) user_id) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_WHERE (and (= (TOK_TABLE_OR_COL ds) '2008-04-08') (> (TOK_FUNCTION WHEN (OR (LIKE (TOK_TABLE_OR_COL value) 'aaa%') (LIKE (TOK_TABLE_OR_COL value) 'vvv%')) 1 0) 0)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' srcpart ' -' TableScan' -' alias: srcpart' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (CASE WHEN (((value like 'aaa%') or (value like 'vvv%'))) THEN (1) ELSE (0) END > 0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: UDFToInteger(key)' -' type: int' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types int:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/ppr_allchildsarenull.db/srcpart/ds=2008-04-08/hr=11 [srcpart]' -' !!{hive.metastore.warehouse.dir}!!/ppr_allchildsarenull.db/srcpart/ds=2008-04-08/hr=12 [srcpart]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/ppr_allchildsarenull.db/srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/ppr_allchildsarenull.db/srcpart/ds=2008-04-08/hr=11' -' name ppr_allchildsarenull.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/ppr_allchildsarenull.db/srcpart' -' name ppr_allchildsarenull.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: ppr_allchildsarenull.srcpart' -' name: ppr_allchildsarenull.srcpart' -' !!{hive.metastore.warehouse.dir}!!/ppr_allchildsarenull.db/srcpart/ds=2008-04-08/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/ppr_allchildsarenull.db/srcpart/ds=2008-04-08/hr=12' -' name ppr_allchildsarenull.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/ppr_allchildsarenull.db/srcpart' -' name ppr_allchildsarenull.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: ppr_allchildsarenull.srcpart' -' name: ppr_allchildsarenull.srcpart' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -157 rows selected ->>> ->>> SELECT -CAST(key AS INT) AS user_id, value -FROM srcpart -WHERE ds='2008-04-08' and -( CASE WHEN (value LIKE 'aaa%' OR value LIKE 'vvv%') -THEN 1 -ELSE 0 end ) > 0 -; -'user_id','value' -No rows selected ->>> ->>> set hive.optimize.ppd=false; -No rows affected ->>> ->>> EXPLAIN EXTENDED -SELECT -CAST(key AS INT) AS user_id, value -FROM srcpart -WHERE ds='2008-04-08' and -( CASE WHEN (value LIKE 'aaa%' OR value LIKE 'vvv%') -THEN 1 -ELSE 0 end ) > 0 -; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION TOK_INT (TOK_TABLE_OR_COL key)) user_id) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_WHERE (and (= (TOK_TABLE_OR_COL ds) '2008-04-08') (> (TOK_FUNCTION WHEN (OR (LIKE (TOK_TABLE_OR_COL value) 'aaa%') (LIKE (TOK_TABLE_OR_COL value) 'vvv%')) 1 0) 0)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' srcpart ' -' TableScan' -' alias: srcpart' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((ds = '2008-04-08') and (CASE WHEN (((value like 'aaa%') or (value like 'vvv%'))) THEN (1) ELSE (0) END > 0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: UDFToInteger(key)' -' type: int' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types int:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/ppr_allchildsarenull.db/srcpart/ds=2008-04-08/hr=11 [srcpart]' -' !!{hive.metastore.warehouse.dir}!!/ppr_allchildsarenull.db/srcpart/ds=2008-04-08/hr=12 [srcpart]' -' !!{hive.metastore.warehouse.dir}!!/ppr_allchildsarenull.db/srcpart/ds=2008-04-09/hr=11 [srcpart]' -' !!{hive.metastore.warehouse.dir}!!/ppr_allchildsarenull.db/srcpart/ds=2008-04-09/hr=12 [srcpart]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/ppr_allchildsarenull.db/srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/ppr_allchildsarenull.db/srcpart/ds=2008-04-08/hr=11' -' name ppr_allchildsarenull.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/ppr_allchildsarenull.db/srcpart' -' name ppr_allchildsarenull.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: ppr_allchildsarenull.srcpart' -' name: ppr_allchildsarenull.srcpart' -' !!{hive.metastore.warehouse.dir}!!/ppr_allchildsarenull.db/srcpart/ds=2008-04-08/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/ppr_allchildsarenull.db/srcpart/ds=2008-04-08/hr=12' -' name ppr_allchildsarenull.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/ppr_allchildsarenull.db/srcpart' -' name ppr_allchildsarenull.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: ppr_allchildsarenull.srcpart' -' name: ppr_allchildsarenull.srcpart' -' !!{hive.metastore.warehouse.dir}!!/ppr_allchildsarenull.db/srcpart/ds=2008-04-09/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-09' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/ppr_allchildsarenull.db/srcpart/ds=2008-04-09/hr=11' -' name ppr_allchildsarenull.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/ppr_allchildsarenull.db/srcpart' -' name ppr_allchildsarenull.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: ppr_allchildsarenull.srcpart' -' name: ppr_allchildsarenull.srcpart' -' !!{hive.metastore.warehouse.dir}!!/ppr_allchildsarenull.db/srcpart/ds=2008-04-09/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-09' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/ppr_allchildsarenull.db/srcpart/ds=2008-04-09/hr=12' -' name ppr_allchildsarenull.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/ppr_allchildsarenull.db/srcpart' -' name ppr_allchildsarenull.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: ppr_allchildsarenull.srcpart' -' name: ppr_allchildsarenull.srcpart' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -261 rows selected ->>> ->>> SELECT -CAST(key AS INT) AS user_id, value -FROM srcpart -WHERE ds='2008-04-08' and -( CASE WHEN (value LIKE 'aaa%' OR value LIKE 'vvv%') -THEN 1 -ELSE 0 end ) > 0 -; -'user_id','value' -No rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/ppr_pushdown.q.out ql/src/test/results/beelinepositive/ppr_pushdown.q.out deleted file mode 100644 index 416e330..0000000 --- ql/src/test/results/beelinepositive/ppr_pushdown.q.out +++ /dev/null @@ -1,127 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/ppr_pushdown.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/ppr_pushdown.q ->>> create table ppr_test (key string) partitioned by (ds string); -No rows affected ->>> ->>> alter table ppr_test add partition (ds = '1234'); -No rows affected ->>> alter table ppr_test add partition (ds = '1224'); -No rows affected ->>> alter table ppr_test add partition (ds = '1214'); -No rows affected ->>> alter table ppr_test add partition (ds = '12+4'); -No rows affected ->>> alter table ppr_test add partition (ds = '12.4'); -No rows affected ->>> alter table ppr_test add partition (ds = '12:4'); -No rows affected ->>> alter table ppr_test add partition (ds = '12%4'); -No rows affected ->>> alter table ppr_test add partition (ds = '12*4'); -No rows affected ->>> ->>> insert overwrite table ppr_test partition(ds = '1234') select * from (select '1234' from src limit 1 union all select 'abcd' from src limit 1) s; -'_c0' -No rows selected ->>> insert overwrite table ppr_test partition(ds = '1224') select * from (select '1224' from src limit 1 union all select 'abcd' from src limit 1) s; -'_c0' -No rows selected ->>> insert overwrite table ppr_test partition(ds = '1214') select * from (select '1214' from src limit 1 union all select 'abcd' from src limit 1) s; -'_c0' -No rows selected ->>> insert overwrite table ppr_test partition(ds = '12+4') select * from (select '12+4' from src limit 1 union all select 'abcd' from src limit 1) s; -'_c0' -No rows selected ->>> insert overwrite table ppr_test partition(ds = '12.4') select * from (select '12.4' from src limit 1 union all select 'abcd' from src limit 1) s; -'_c0' -No rows selected ->>> insert overwrite table ppr_test partition(ds = '12:4') select * from (select '12:4' from src limit 1 union all select 'abcd' from src limit 1) s; -'_c0' -No rows selected ->>> insert overwrite table ppr_test partition(ds = '12%4') select * from (select '12%4' from src limit 1 union all select 'abcd' from src limit 1) s; -'_c0' -No rows selected ->>> insert overwrite table ppr_test partition(ds = '12*4') select * from (select '12*4' from src limit 1 union all select 'abcd' from src limit 1) s; -'_c0' -No rows selected ->>> ->>> ->>> select * from ppr_test where ds = '1234' order by key; -'key','ds' -'1234','1234' -'abcd','1234' -2 rows selected ->>> select * from ppr_test where ds = '1224' order by key; -'key','ds' -'1224','1224' -'abcd','1224' -2 rows selected ->>> select * from ppr_test where ds = '1214' order by key; -'key','ds' -'1214','1214' -'abcd','1214' -2 rows selected ->>> select * from ppr_test where ds = '12.4' order by key; -'key','ds' -'12.4','12.4' -'abcd','12.4' -2 rows selected ->>> select * from ppr_test where ds = '12+4' order by key; -'key','ds' -'12+4','12+4' -'abcd','12+4' -2 rows selected ->>> select * from ppr_test where ds = '12:4' order by key; -'key','ds' -'12:4','12:4' -'abcd','12:4' -2 rows selected ->>> select * from ppr_test where ds = '12%4' order by key; -'key','ds' -'12%4','12%4' -'abcd','12%4' -2 rows selected ->>> select * from ppr_test where ds = '12*4' order by key; -'key','ds' -'12*4','12*4' -'abcd','12*4' -2 rows selected ->>> select * from ppr_test where ds = '12.*4' order by key; -'key','ds' -No rows selected ->>> ->>> select * from ppr_test where ds = '1234' and key = '1234'; -'key','ds' -'1234','1234' -1 row selected ->>> select * from ppr_test where ds = '1224' and key = '1224'; -'key','ds' -'1224','1224' -1 row selected ->>> select * from ppr_test where ds = '1214' and key = '1214'; -'key','ds' -'1214','1214' -1 row selected ->>> select * from ppr_test where ds = '12.4' and key = '12.4'; -'key','ds' -'12.4','12.4' -1 row selected ->>> select * from ppr_test where ds = '12+4' and key = '12+4'; -'key','ds' -'12+4','12+4' -1 row selected ->>> select * from ppr_test where ds = '12:4' and key = '12:4'; -'key','ds' -'12:4','12:4' -1 row selected ->>> select * from ppr_test where ds = '12%4' and key = '12%4'; -'key','ds' -'12%4','12%4' -1 row selected ->>> select * from ppr_test where ds = '12*4' and key = '12*4'; -'key','ds' -'12*4','12*4' -1 row selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/ppr_pushdown2.q.out ql/src/test/results/beelinepositive/ppr_pushdown2.q.out deleted file mode 100644 index 3f6fdfb..0000000 --- ql/src/test/results/beelinepositive/ppr_pushdown2.q.out +++ /dev/null @@ -1,85 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/ppr_pushdown2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/ppr_pushdown2.q ->>> create table ppr_test (key string) partitioned by (ds string); -No rows affected ->>> ->>> insert overwrite table ppr_test partition(ds='2') select '2' from src limit 1; -'_c0' -No rows selected ->>> insert overwrite table ppr_test partition(ds='22') select '22' from src limit 1; -'_c0' -No rows selected ->>> ->>> select * from ppr_test where ds = '2'; -'key','ds' -'2','2' -1 row selected ->>> select * from ppr_test where ds = '22'; -'key','ds' -'22','22' -1 row selected ->>> ->>> ->>> create table ppr_test2 (key string) partitioned by (ds string, s string); -No rows affected ->>> insert overwrite table ppr_test2 partition(ds='1', s='2') select '1' from src limit 1; -'_c0' -No rows selected ->>> insert overwrite table ppr_test2 partition(ds='2', s='1') select '2' from src limit 1; -'_c0' -No rows selected ->>> ->>> select * from ppr_test2 where s = '1'; -'key','ds','s' -'2','2','1' -1 row selected ->>> select * from ppr_test2 where ds = '1'; -'key','ds','s' -'1','1','2' -1 row selected ->>> ->>> ->>> create table ppr_test3 (key string) partitioned by (col string, ol string, l string); -No rows affected ->>> insert overwrite table ppr_test3 partition(col='1', ol='2', l = '3') select '1' from src limit 1; -'_c0' -No rows selected ->>> insert overwrite table ppr_test3 partition(col='1', ol='1', l = '2') select '2' from src limit 1; -'_c0' -No rows selected ->>> insert overwrite table ppr_test3 partition(col='1', ol='2', l = '1') select '3' from src limit 1; -'_c0' -No rows selected ->>> ->>> select * from ppr_test3 where l = '1'; -'key','col','ol','l' -'3','1','2','1' -1 row selected ->>> select * from ppr_test3 where l = '2'; -'key','col','ol','l' -'2','1','1','2' -1 row selected ->>> select * from ppr_test3 where ol = '1'; -'key','col','ol','l' -'2','1','1','2' -1 row selected ->>> select * from ppr_test3 where ol = '2'; -'key','col','ol','l' -'3','1','2','1' -'1','1','2','3' -2 rows selected ->>> select * from ppr_test3 where col = '1'; -'key','col','ol','l' -'2','1','1','2' -'3','1','2','1' -'1','1','2','3' -3 rows selected ->>> select * from ppr_test3 where ol = '2' and l = '1'; -'key','col','ol','l' -'3','1','2','1' -1 row selected ->>> select * from ppr_test3 where col='1' and ol = '2' and l = '1'; -'key','col','ol','l' -'3','1','2','1' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/ppr_pushdown3.q.out ql/src/test/results/beelinepositive/ppr_pushdown3.q.out deleted file mode 100644 index 0f45e1b..0000000 --- ql/src/test/results/beelinepositive/ppr_pushdown3.q.out +++ /dev/null @@ -1,4165 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/ppr_pushdown3.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/ppr_pushdown3.q ->>> set hive.mapred.mode=nonstrict; -No rows affected ->>> ->>> explain select * from srcpart where key < 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (< (TOK_TABLE_OR_COL key) 10))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' srcpart ' -' TableScan' -' alias: srcpart' -' Filter Operator' -' predicate:' -' expr: (key < 10.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -41 rows selected ->>> select * from srcpart where key < 10; -'key','value','ds','hr' -'0','val_0','2008-04-08','11' -'4','val_4','2008-04-08','11' -'8','val_8','2008-04-08','11' -'0','val_0','2008-04-08','11' -'0','val_0','2008-04-08','11' -'5','val_5','2008-04-08','11' -'5','val_5','2008-04-08','11' -'2','val_2','2008-04-08','11' -'5','val_5','2008-04-08','11' -'9','val_9','2008-04-08','11' -'0','val_0','2008-04-08','12' -'4','val_4','2008-04-08','12' -'8','val_8','2008-04-08','12' -'0','val_0','2008-04-08','12' -'0','val_0','2008-04-08','12' -'5','val_5','2008-04-08','12' -'5','val_5','2008-04-08','12' -'2','val_2','2008-04-08','12' -'5','val_5','2008-04-08','12' -'9','val_9','2008-04-08','12' -'0','val_0','2008-04-09','11' -'4','val_4','2008-04-09','11' -'8','val_8','2008-04-09','11' -'0','val_0','2008-04-09','11' -'0','val_0','2008-04-09','11' -'5','val_5','2008-04-09','11' -'5','val_5','2008-04-09','11' -'2','val_2','2008-04-09','11' -'5','val_5','2008-04-09','11' -'9','val_9','2008-04-09','11' -'0','val_0','2008-04-09','12' -'4','val_4','2008-04-09','12' -'8','val_8','2008-04-09','12' -'0','val_0','2008-04-09','12' -'0','val_0','2008-04-09','12' -'5','val_5','2008-04-09','12' -'5','val_5','2008-04-09','12' -'2','val_2','2008-04-09','12' -'5','val_5','2008-04-09','12' -'9','val_9','2008-04-09','12' -40 rows selected ->>> ->>> explain select * from srcpart; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -' Processor Tree:' -' TableScan' -' alias: srcpart' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' ListSink' -'' -'' -27 rows selected ->>> select * from srcpart; -'key','value','ds','hr' -'238','val_238','2008-04-08','11' -'86','val_86','2008-04-08','11' -'311','val_311','2008-04-08','11' -'27','val_27','2008-04-08','11' -'165','val_165','2008-04-08','11' -'409','val_409','2008-04-08','11' -'255','val_255','2008-04-08','11' -'278','val_278','2008-04-08','11' -'98','val_98','2008-04-08','11' -'484','val_484','2008-04-08','11' -'265','val_265','2008-04-08','11' -'193','val_193','2008-04-08','11' -'401','val_401','2008-04-08','11' -'150','val_150','2008-04-08','11' -'273','val_273','2008-04-08','11' -'224','val_224','2008-04-08','11' -'369','val_369','2008-04-08','11' -'66','val_66','2008-04-08','11' -'128','val_128','2008-04-08','11' -'213','val_213','2008-04-08','11' -'146','val_146','2008-04-08','11' -'406','val_406','2008-04-08','11' -'429','val_429','2008-04-08','11' -'374','val_374','2008-04-08','11' -'152','val_152','2008-04-08','11' -'469','val_469','2008-04-08','11' -'145','val_145','2008-04-08','11' -'495','val_495','2008-04-08','11' -'37','val_37','2008-04-08','11' -'327','val_327','2008-04-08','11' -'281','val_281','2008-04-08','11' -'277','val_277','2008-04-08','11' -'209','val_209','2008-04-08','11' -'15','val_15','2008-04-08','11' -'82','val_82','2008-04-08','11' -'403','val_403','2008-04-08','11' -'166','val_166','2008-04-08','11' -'417','val_417','2008-04-08','11' -'430','val_430','2008-04-08','11' -'252','val_252','2008-04-08','11' -'292','val_292','2008-04-08','11' -'219','val_219','2008-04-08','11' -'287','val_287','2008-04-08','11' -'153','val_153','2008-04-08','11' -'193','val_193','2008-04-08','11' -'338','val_338','2008-04-08','11' -'446','val_446','2008-04-08','11' -'459','val_459','2008-04-08','11' -'394','val_394','2008-04-08','11' -'237','val_237','2008-04-08','11' -'482','val_482','2008-04-08','11' -'174','val_174','2008-04-08','11' -'413','val_413','2008-04-08','11' -'494','val_494','2008-04-08','11' -'207','val_207','2008-04-08','11' -'199','val_199','2008-04-08','11' -'466','val_466','2008-04-08','11' -'208','val_208','2008-04-08','11' -'174','val_174','2008-04-08','11' -'399','val_399','2008-04-08','11' -'396','val_396','2008-04-08','11' -'247','val_247','2008-04-08','11' -'417','val_417','2008-04-08','11' -'489','val_489','2008-04-08','11' -'162','val_162','2008-04-08','11' -'377','val_377','2008-04-08','11' -'397','val_397','2008-04-08','11' -'309','val_309','2008-04-08','11' -'365','val_365','2008-04-08','11' -'266','val_266','2008-04-08','11' -'439','val_439','2008-04-08','11' -'342','val_342','2008-04-08','11' -'367','val_367','2008-04-08','11' -'325','val_325','2008-04-08','11' -'167','val_167','2008-04-08','11' -'195','val_195','2008-04-08','11' -'475','val_475','2008-04-08','11' -'17','val_17','2008-04-08','11' -'113','val_113','2008-04-08','11' -'155','val_155','2008-04-08','11' -'203','val_203','2008-04-08','11' -'339','val_339','2008-04-08','11' -'0','val_0','2008-04-08','11' -'455','val_455','2008-04-08','11' -'128','val_128','2008-04-08','11' -'311','val_311','2008-04-08','11' -'316','val_316','2008-04-08','11' -'57','val_57','2008-04-08','11' -'302','val_302','2008-04-08','11' -'205','val_205','2008-04-08','11' -'149','val_149','2008-04-08','11' -'438','val_438','2008-04-08','11' -'345','val_345','2008-04-08','11' -'129','val_129','2008-04-08','11' -'170','val_170','2008-04-08','11' -'20','val_20','2008-04-08','11' -'489','val_489','2008-04-08','11' -'157','val_157','2008-04-08','11' -'378','val_378','2008-04-08','11' -'221','val_221','2008-04-08','11' -'92','val_92','2008-04-08','11' -'111','val_111','2008-04-08','11' -'47','val_47','2008-04-08','11' -'72','val_72','2008-04-08','11' -'4','val_4','2008-04-08','11' -'280','val_280','2008-04-08','11' -'35','val_35','2008-04-08','11' -'427','val_427','2008-04-08','11' -'277','val_277','2008-04-08','11' -'208','val_208','2008-04-08','11' -'356','val_356','2008-04-08','11' -'399','val_399','2008-04-08','11' -'169','val_169','2008-04-08','11' -'382','val_382','2008-04-08','11' -'498','val_498','2008-04-08','11' -'125','val_125','2008-04-08','11' -'386','val_386','2008-04-08','11' -'437','val_437','2008-04-08','11' -'469','val_469','2008-04-08','11' -'192','val_192','2008-04-08','11' -'286','val_286','2008-04-08','11' -'187','val_187','2008-04-08','11' -'176','val_176','2008-04-08','11' -'54','val_54','2008-04-08','11' -'459','val_459','2008-04-08','11' -'51','val_51','2008-04-08','11' -'138','val_138','2008-04-08','11' -'103','val_103','2008-04-08','11' -'239','val_239','2008-04-08','11' -'213','val_213','2008-04-08','11' -'216','val_216','2008-04-08','11' -'430','val_430','2008-04-08','11' -'278','val_278','2008-04-08','11' -'176','val_176','2008-04-08','11' -'289','val_289','2008-04-08','11' -'221','val_221','2008-04-08','11' -'65','val_65','2008-04-08','11' -'318','val_318','2008-04-08','11' -'332','val_332','2008-04-08','11' -'311','val_311','2008-04-08','11' -'275','val_275','2008-04-08','11' -'137','val_137','2008-04-08','11' -'241','val_241','2008-04-08','11' -'83','val_83','2008-04-08','11' -'333','val_333','2008-04-08','11' -'180','val_180','2008-04-08','11' -'284','val_284','2008-04-08','11' -'12','val_12','2008-04-08','11' -'230','val_230','2008-04-08','11' -'181','val_181','2008-04-08','11' -'67','val_67','2008-04-08','11' -'260','val_260','2008-04-08','11' -'404','val_404','2008-04-08','11' -'384','val_384','2008-04-08','11' -'489','val_489','2008-04-08','11' -'353','val_353','2008-04-08','11' -'373','val_373','2008-04-08','11' -'272','val_272','2008-04-08','11' -'138','val_138','2008-04-08','11' -'217','val_217','2008-04-08','11' -'84','val_84','2008-04-08','11' -'348','val_348','2008-04-08','11' -'466','val_466','2008-04-08','11' -'58','val_58','2008-04-08','11' -'8','val_8','2008-04-08','11' -'411','val_411','2008-04-08','11' -'230','val_230','2008-04-08','11' -'208','val_208','2008-04-08','11' -'348','val_348','2008-04-08','11' -'24','val_24','2008-04-08','11' -'463','val_463','2008-04-08','11' -'431','val_431','2008-04-08','11' -'179','val_179','2008-04-08','11' -'172','val_172','2008-04-08','11' -'42','val_42','2008-04-08','11' -'129','val_129','2008-04-08','11' -'158','val_158','2008-04-08','11' -'119','val_119','2008-04-08','11' -'496','val_496','2008-04-08','11' -'0','val_0','2008-04-08','11' -'322','val_322','2008-04-08','11' -'197','val_197','2008-04-08','11' -'468','val_468','2008-04-08','11' -'393','val_393','2008-04-08','11' -'454','val_454','2008-04-08','11' -'100','val_100','2008-04-08','11' -'298','val_298','2008-04-08','11' -'199','val_199','2008-04-08','11' -'191','val_191','2008-04-08','11' -'418','val_418','2008-04-08','11' -'96','val_96','2008-04-08','11' -'26','val_26','2008-04-08','11' -'165','val_165','2008-04-08','11' -'327','val_327','2008-04-08','11' -'230','val_230','2008-04-08','11' -'205','val_205','2008-04-08','11' -'120','val_120','2008-04-08','11' -'131','val_131','2008-04-08','11' -'51','val_51','2008-04-08','11' -'404','val_404','2008-04-08','11' -'43','val_43','2008-04-08','11' -'436','val_436','2008-04-08','11' -'156','val_156','2008-04-08','11' -'469','val_469','2008-04-08','11' -'468','val_468','2008-04-08','11' -'308','val_308','2008-04-08','11' -'95','val_95','2008-04-08','11' -'196','val_196','2008-04-08','11' -'288','val_288','2008-04-08','11' -'481','val_481','2008-04-08','11' -'457','val_457','2008-04-08','11' -'98','val_98','2008-04-08','11' -'282','val_282','2008-04-08','11' -'197','val_197','2008-04-08','11' -'187','val_187','2008-04-08','11' -'318','val_318','2008-04-08','11' -'318','val_318','2008-04-08','11' -'409','val_409','2008-04-08','11' -'470','val_470','2008-04-08','11' -'137','val_137','2008-04-08','11' -'369','val_369','2008-04-08','11' -'316','val_316','2008-04-08','11' -'169','val_169','2008-04-08','11' -'413','val_413','2008-04-08','11' -'85','val_85','2008-04-08','11' -'77','val_77','2008-04-08','11' -'0','val_0','2008-04-08','11' -'490','val_490','2008-04-08','11' -'87','val_87','2008-04-08','11' -'364','val_364','2008-04-08','11' -'179','val_179','2008-04-08','11' -'118','val_118','2008-04-08','11' -'134','val_134','2008-04-08','11' -'395','val_395','2008-04-08','11' -'282','val_282','2008-04-08','11' -'138','val_138','2008-04-08','11' -'238','val_238','2008-04-08','11' -'419','val_419','2008-04-08','11' -'15','val_15','2008-04-08','11' -'118','val_118','2008-04-08','11' -'72','val_72','2008-04-08','11' -'90','val_90','2008-04-08','11' -'307','val_307','2008-04-08','11' -'19','val_19','2008-04-08','11' -'435','val_435','2008-04-08','11' -'10','val_10','2008-04-08','11' -'277','val_277','2008-04-08','11' -'273','val_273','2008-04-08','11' -'306','val_306','2008-04-08','11' -'224','val_224','2008-04-08','11' -'309','val_309','2008-04-08','11' -'389','val_389','2008-04-08','11' -'327','val_327','2008-04-08','11' -'242','val_242','2008-04-08','11' -'369','val_369','2008-04-08','11' -'392','val_392','2008-04-08','11' -'272','val_272','2008-04-08','11' -'331','val_331','2008-04-08','11' -'401','val_401','2008-04-08','11' -'242','val_242','2008-04-08','11' -'452','val_452','2008-04-08','11' -'177','val_177','2008-04-08','11' -'226','val_226','2008-04-08','11' -'5','val_5','2008-04-08','11' -'497','val_497','2008-04-08','11' -'402','val_402','2008-04-08','11' -'396','val_396','2008-04-08','11' -'317','val_317','2008-04-08','11' -'395','val_395','2008-04-08','11' -'58','val_58','2008-04-08','11' -'35','val_35','2008-04-08','11' -'336','val_336','2008-04-08','11' -'95','val_95','2008-04-08','11' -'11','val_11','2008-04-08','11' -'168','val_168','2008-04-08','11' -'34','val_34','2008-04-08','11' -'229','val_229','2008-04-08','11' -'233','val_233','2008-04-08','11' -'143','val_143','2008-04-08','11' -'472','val_472','2008-04-08','11' -'322','val_322','2008-04-08','11' -'498','val_498','2008-04-08','11' -'160','val_160','2008-04-08','11' -'195','val_195','2008-04-08','11' -'42','val_42','2008-04-08','11' -'321','val_321','2008-04-08','11' -'430','val_430','2008-04-08','11' -'119','val_119','2008-04-08','11' -'489','val_489','2008-04-08','11' -'458','val_458','2008-04-08','11' -'78','val_78','2008-04-08','11' -'76','val_76','2008-04-08','11' -'41','val_41','2008-04-08','11' -'223','val_223','2008-04-08','11' -'492','val_492','2008-04-08','11' -'149','val_149','2008-04-08','11' -'449','val_449','2008-04-08','11' -'218','val_218','2008-04-08','11' -'228','val_228','2008-04-08','11' -'138','val_138','2008-04-08','11' -'453','val_453','2008-04-08','11' -'30','val_30','2008-04-08','11' -'209','val_209','2008-04-08','11' -'64','val_64','2008-04-08','11' -'468','val_468','2008-04-08','11' -'76','val_76','2008-04-08','11' -'74','val_74','2008-04-08','11' -'342','val_342','2008-04-08','11' -'69','val_69','2008-04-08','11' -'230','val_230','2008-04-08','11' -'33','val_33','2008-04-08','11' -'368','val_368','2008-04-08','11' -'103','val_103','2008-04-08','11' -'296','val_296','2008-04-08','11' -'113','val_113','2008-04-08','11' -'216','val_216','2008-04-08','11' -'367','val_367','2008-04-08','11' -'344','val_344','2008-04-08','11' -'167','val_167','2008-04-08','11' -'274','val_274','2008-04-08','11' -'219','val_219','2008-04-08','11' -'239','val_239','2008-04-08','11' -'485','val_485','2008-04-08','11' -'116','val_116','2008-04-08','11' -'223','val_223','2008-04-08','11' -'256','val_256','2008-04-08','11' -'263','val_263','2008-04-08','11' -'70','val_70','2008-04-08','11' -'487','val_487','2008-04-08','11' -'480','val_480','2008-04-08','11' -'401','val_401','2008-04-08','11' -'288','val_288','2008-04-08','11' -'191','val_191','2008-04-08','11' -'5','val_5','2008-04-08','11' -'244','val_244','2008-04-08','11' -'438','val_438','2008-04-08','11' -'128','val_128','2008-04-08','11' -'467','val_467','2008-04-08','11' -'432','val_432','2008-04-08','11' -'202','val_202','2008-04-08','11' -'316','val_316','2008-04-08','11' -'229','val_229','2008-04-08','11' -'469','val_469','2008-04-08','11' -'463','val_463','2008-04-08','11' -'280','val_280','2008-04-08','11' -'2','val_2','2008-04-08','11' -'35','val_35','2008-04-08','11' -'283','val_283','2008-04-08','11' -'331','val_331','2008-04-08','11' -'235','val_235','2008-04-08','11' -'80','val_80','2008-04-08','11' -'44','val_44','2008-04-08','11' -'193','val_193','2008-04-08','11' -'321','val_321','2008-04-08','11' -'335','val_335','2008-04-08','11' -'104','val_104','2008-04-08','11' -'466','val_466','2008-04-08','11' -'366','val_366','2008-04-08','11' -'175','val_175','2008-04-08','11' -'403','val_403','2008-04-08','11' -'483','val_483','2008-04-08','11' -'53','val_53','2008-04-08','11' -'105','val_105','2008-04-08','11' -'257','val_257','2008-04-08','11' -'406','val_406','2008-04-08','11' -'409','val_409','2008-04-08','11' -'190','val_190','2008-04-08','11' -'406','val_406','2008-04-08','11' -'401','val_401','2008-04-08','11' -'114','val_114','2008-04-08','11' -'258','val_258','2008-04-08','11' -'90','val_90','2008-04-08','11' -'203','val_203','2008-04-08','11' -'262','val_262','2008-04-08','11' -'348','val_348','2008-04-08','11' -'424','val_424','2008-04-08','11' -'12','val_12','2008-04-08','11' -'396','val_396','2008-04-08','11' -'201','val_201','2008-04-08','11' -'217','val_217','2008-04-08','11' -'164','val_164','2008-04-08','11' -'431','val_431','2008-04-08','11' -'454','val_454','2008-04-08','11' -'478','val_478','2008-04-08','11' -'298','val_298','2008-04-08','11' -'125','val_125','2008-04-08','11' -'431','val_431','2008-04-08','11' -'164','val_164','2008-04-08','11' -'424','val_424','2008-04-08','11' -'187','val_187','2008-04-08','11' -'382','val_382','2008-04-08','11' -'5','val_5','2008-04-08','11' -'70','val_70','2008-04-08','11' -'397','val_397','2008-04-08','11' -'480','val_480','2008-04-08','11' -'291','val_291','2008-04-08','11' -'24','val_24','2008-04-08','11' -'351','val_351','2008-04-08','11' -'255','val_255','2008-04-08','11' -'104','val_104','2008-04-08','11' -'70','val_70','2008-04-08','11' -'163','val_163','2008-04-08','11' -'438','val_438','2008-04-08','11' -'119','val_119','2008-04-08','11' -'414','val_414','2008-04-08','11' -'200','val_200','2008-04-08','11' -'491','val_491','2008-04-08','11' -'237','val_237','2008-04-08','11' -'439','val_439','2008-04-08','11' -'360','val_360','2008-04-08','11' -'248','val_248','2008-04-08','11' -'479','val_479','2008-04-08','11' -'305','val_305','2008-04-08','11' -'417','val_417','2008-04-08','11' -'199','val_199','2008-04-08','11' -'444','val_444','2008-04-08','11' -'120','val_120','2008-04-08','11' -'429','val_429','2008-04-08','11' -'169','val_169','2008-04-08','11' -'443','val_443','2008-04-08','11' -'323','val_323','2008-04-08','11' -'325','val_325','2008-04-08','11' -'277','val_277','2008-04-08','11' -'230','val_230','2008-04-08','11' -'478','val_478','2008-04-08','11' -'178','val_178','2008-04-08','11' -'468','val_468','2008-04-08','11' -'310','val_310','2008-04-08','11' -'317','val_317','2008-04-08','11' -'333','val_333','2008-04-08','11' -'493','val_493','2008-04-08','11' -'460','val_460','2008-04-08','11' -'207','val_207','2008-04-08','11' -'249','val_249','2008-04-08','11' -'265','val_265','2008-04-08','11' -'480','val_480','2008-04-08','11' -'83','val_83','2008-04-08','11' -'136','val_136','2008-04-08','11' -'353','val_353','2008-04-08','11' -'172','val_172','2008-04-08','11' -'214','val_214','2008-04-08','11' -'462','val_462','2008-04-08','11' -'233','val_233','2008-04-08','11' -'406','val_406','2008-04-08','11' -'133','val_133','2008-04-08','11' -'175','val_175','2008-04-08','11' -'189','val_189','2008-04-08','11' -'454','val_454','2008-04-08','11' -'375','val_375','2008-04-08','11' -'401','val_401','2008-04-08','11' -'421','val_421','2008-04-08','11' -'407','val_407','2008-04-08','11' -'384','val_384','2008-04-08','11' -'256','val_256','2008-04-08','11' -'26','val_26','2008-04-08','11' -'134','val_134','2008-04-08','11' -'67','val_67','2008-04-08','11' -'384','val_384','2008-04-08','11' -'379','val_379','2008-04-08','11' -'18','val_18','2008-04-08','11' -'462','val_462','2008-04-08','11' -'492','val_492','2008-04-08','11' -'100','val_100','2008-04-08','11' -'298','val_298','2008-04-08','11' -'9','val_9','2008-04-08','11' -'341','val_341','2008-04-08','11' -'498','val_498','2008-04-08','11' -'146','val_146','2008-04-08','11' -'458','val_458','2008-04-08','11' -'362','val_362','2008-04-08','11' -'186','val_186','2008-04-08','11' -'285','val_285','2008-04-08','11' -'348','val_348','2008-04-08','11' -'167','val_167','2008-04-08','11' -'18','val_18','2008-04-08','11' -'273','val_273','2008-04-08','11' -'183','val_183','2008-04-08','11' -'281','val_281','2008-04-08','11' -'344','val_344','2008-04-08','11' -'97','val_97','2008-04-08','11' -'469','val_469','2008-04-08','11' -'315','val_315','2008-04-08','11' -'84','val_84','2008-04-08','11' -'28','val_28','2008-04-08','11' -'37','val_37','2008-04-08','11' -'448','val_448','2008-04-08','11' -'152','val_152','2008-04-08','11' -'348','val_348','2008-04-08','11' -'307','val_307','2008-04-08','11' -'194','val_194','2008-04-08','11' -'414','val_414','2008-04-08','11' -'477','val_477','2008-04-08','11' -'222','val_222','2008-04-08','11' -'126','val_126','2008-04-08','11' -'90','val_90','2008-04-08','11' -'169','val_169','2008-04-08','11' -'403','val_403','2008-04-08','11' -'400','val_400','2008-04-08','11' -'200','val_200','2008-04-08','11' -'97','val_97','2008-04-08','11' -'238','val_238','2008-04-08','12' -'86','val_86','2008-04-08','12' -'311','val_311','2008-04-08','12' -'27','val_27','2008-04-08','12' -'165','val_165','2008-04-08','12' -'409','val_409','2008-04-08','12' -'255','val_255','2008-04-08','12' -'278','val_278','2008-04-08','12' -'98','val_98','2008-04-08','12' -'484','val_484','2008-04-08','12' -'265','val_265','2008-04-08','12' -'193','val_193','2008-04-08','12' -'401','val_401','2008-04-08','12' -'150','val_150','2008-04-08','12' -'273','val_273','2008-04-08','12' -'224','val_224','2008-04-08','12' -'369','val_369','2008-04-08','12' -'66','val_66','2008-04-08','12' -'128','val_128','2008-04-08','12' -'213','val_213','2008-04-08','12' -'146','val_146','2008-04-08','12' -'406','val_406','2008-04-08','12' -'429','val_429','2008-04-08','12' -'374','val_374','2008-04-08','12' -'152','val_152','2008-04-08','12' -'469','val_469','2008-04-08','12' -'145','val_145','2008-04-08','12' -'495','val_495','2008-04-08','12' -'37','val_37','2008-04-08','12' -'327','val_327','2008-04-08','12' -'281','val_281','2008-04-08','12' -'277','val_277','2008-04-08','12' -'209','val_209','2008-04-08','12' -'15','val_15','2008-04-08','12' -'82','val_82','2008-04-08','12' -'403','val_403','2008-04-08','12' -'166','val_166','2008-04-08','12' -'417','val_417','2008-04-08','12' -'430','val_430','2008-04-08','12' -'252','val_252','2008-04-08','12' -'292','val_292','2008-04-08','12' -'219','val_219','2008-04-08','12' -'287','val_287','2008-04-08','12' -'153','val_153','2008-04-08','12' -'193','val_193','2008-04-08','12' -'338','val_338','2008-04-08','12' -'446','val_446','2008-04-08','12' -'459','val_459','2008-04-08','12' -'394','val_394','2008-04-08','12' -'237','val_237','2008-04-08','12' -'482','val_482','2008-04-08','12' -'174','val_174','2008-04-08','12' -'413','val_413','2008-04-08','12' -'494','val_494','2008-04-08','12' -'207','val_207','2008-04-08','12' -'199','val_199','2008-04-08','12' -'466','val_466','2008-04-08','12' -'208','val_208','2008-04-08','12' -'174','val_174','2008-04-08','12' -'399','val_399','2008-04-08','12' -'396','val_396','2008-04-08','12' -'247','val_247','2008-04-08','12' -'417','val_417','2008-04-08','12' -'489','val_489','2008-04-08','12' -'162','val_162','2008-04-08','12' -'377','val_377','2008-04-08','12' -'397','val_397','2008-04-08','12' -'309','val_309','2008-04-08','12' -'365','val_365','2008-04-08','12' -'266','val_266','2008-04-08','12' -'439','val_439','2008-04-08','12' -'342','val_342','2008-04-08','12' -'367','val_367','2008-04-08','12' -'325','val_325','2008-04-08','12' -'167','val_167','2008-04-08','12' -'195','val_195','2008-04-08','12' -'475','val_475','2008-04-08','12' -'17','val_17','2008-04-08','12' -'113','val_113','2008-04-08','12' -'155','val_155','2008-04-08','12' -'203','val_203','2008-04-08','12' -'339','val_339','2008-04-08','12' -'0','val_0','2008-04-08','12' -'455','val_455','2008-04-08','12' -'128','val_128','2008-04-08','12' -'311','val_311','2008-04-08','12' -'316','val_316','2008-04-08','12' -'57','val_57','2008-04-08','12' -'302','val_302','2008-04-08','12' -'205','val_205','2008-04-08','12' -'149','val_149','2008-04-08','12' -'438','val_438','2008-04-08','12' -'345','val_345','2008-04-08','12' -'129','val_129','2008-04-08','12' -'170','val_170','2008-04-08','12' -'20','val_20','2008-04-08','12' -'489','val_489','2008-04-08','12' -'157','val_157','2008-04-08','12' -'378','val_378','2008-04-08','12' -'221','val_221','2008-04-08','12' -'92','val_92','2008-04-08','12' -'111','val_111','2008-04-08','12' -'47','val_47','2008-04-08','12' -'72','val_72','2008-04-08','12' -'4','val_4','2008-04-08','12' -'280','val_280','2008-04-08','12' -'35','val_35','2008-04-08','12' -'427','val_427','2008-04-08','12' -'277','val_277','2008-04-08','12' -'208','val_208','2008-04-08','12' -'356','val_356','2008-04-08','12' -'399','val_399','2008-04-08','12' -'169','val_169','2008-04-08','12' -'382','val_382','2008-04-08','12' -'498','val_498','2008-04-08','12' -'125','val_125','2008-04-08','12' -'386','val_386','2008-04-08','12' -'437','val_437','2008-04-08','12' -'469','val_469','2008-04-08','12' -'192','val_192','2008-04-08','12' -'286','val_286','2008-04-08','12' -'187','val_187','2008-04-08','12' -'176','val_176','2008-04-08','12' -'54','val_54','2008-04-08','12' -'459','val_459','2008-04-08','12' -'51','val_51','2008-04-08','12' -'138','val_138','2008-04-08','12' -'103','val_103','2008-04-08','12' -'239','val_239','2008-04-08','12' -'213','val_213','2008-04-08','12' -'216','val_216','2008-04-08','12' -'430','val_430','2008-04-08','12' -'278','val_278','2008-04-08','12' -'176','val_176','2008-04-08','12' -'289','val_289','2008-04-08','12' -'221','val_221','2008-04-08','12' -'65','val_65','2008-04-08','12' -'318','val_318','2008-04-08','12' -'332','val_332','2008-04-08','12' -'311','val_311','2008-04-08','12' -'275','val_275','2008-04-08','12' -'137','val_137','2008-04-08','12' -'241','val_241','2008-04-08','12' -'83','val_83','2008-04-08','12' -'333','val_333','2008-04-08','12' -'180','val_180','2008-04-08','12' -'284','val_284','2008-04-08','12' -'12','val_12','2008-04-08','12' -'230','val_230','2008-04-08','12' -'181','val_181','2008-04-08','12' -'67','val_67','2008-04-08','12' -'260','val_260','2008-04-08','12' -'404','val_404','2008-04-08','12' -'384','val_384','2008-04-08','12' -'489','val_489','2008-04-08','12' -'353','val_353','2008-04-08','12' -'373','val_373','2008-04-08','12' -'272','val_272','2008-04-08','12' -'138','val_138','2008-04-08','12' -'217','val_217','2008-04-08','12' -'84','val_84','2008-04-08','12' -'348','val_348','2008-04-08','12' -'466','val_466','2008-04-08','12' -'58','val_58','2008-04-08','12' -'8','val_8','2008-04-08','12' -'411','val_411','2008-04-08','12' -'230','val_230','2008-04-08','12' -'208','val_208','2008-04-08','12' -'348','val_348','2008-04-08','12' -'24','val_24','2008-04-08','12' -'463','val_463','2008-04-08','12' -'431','val_431','2008-04-08','12' -'179','val_179','2008-04-08','12' -'172','val_172','2008-04-08','12' -'42','val_42','2008-04-08','12' -'129','val_129','2008-04-08','12' -'158','val_158','2008-04-08','12' -'119','val_119','2008-04-08','12' -'496','val_496','2008-04-08','12' -'0','val_0','2008-04-08','12' -'322','val_322','2008-04-08','12' -'197','val_197','2008-04-08','12' -'468','val_468','2008-04-08','12' -'393','val_393','2008-04-08','12' -'454','val_454','2008-04-08','12' -'100','val_100','2008-04-08','12' -'298','val_298','2008-04-08','12' -'199','val_199','2008-04-08','12' -'191','val_191','2008-04-08','12' -'418','val_418','2008-04-08','12' -'96','val_96','2008-04-08','12' -'26','val_26','2008-04-08','12' -'165','val_165','2008-04-08','12' -'327','val_327','2008-04-08','12' -'230','val_230','2008-04-08','12' -'205','val_205','2008-04-08','12' -'120','val_120','2008-04-08','12' -'131','val_131','2008-04-08','12' -'51','val_51','2008-04-08','12' -'404','val_404','2008-04-08','12' -'43','val_43','2008-04-08','12' -'436','val_436','2008-04-08','12' -'156','val_156','2008-04-08','12' -'469','val_469','2008-04-08','12' -'468','val_468','2008-04-08','12' -'308','val_308','2008-04-08','12' -'95','val_95','2008-04-08','12' -'196','val_196','2008-04-08','12' -'288','val_288','2008-04-08','12' -'481','val_481','2008-04-08','12' -'457','val_457','2008-04-08','12' -'98','val_98','2008-04-08','12' -'282','val_282','2008-04-08','12' -'197','val_197','2008-04-08','12' -'187','val_187','2008-04-08','12' -'318','val_318','2008-04-08','12' -'318','val_318','2008-04-08','12' -'409','val_409','2008-04-08','12' -'470','val_470','2008-04-08','12' -'137','val_137','2008-04-08','12' -'369','val_369','2008-04-08','12' -'316','val_316','2008-04-08','12' -'169','val_169','2008-04-08','12' -'413','val_413','2008-04-08','12' -'85','val_85','2008-04-08','12' -'77','val_77','2008-04-08','12' -'0','val_0','2008-04-08','12' -'490','val_490','2008-04-08','12' -'87','val_87','2008-04-08','12' -'364','val_364','2008-04-08','12' -'179','val_179','2008-04-08','12' -'118','val_118','2008-04-08','12' -'134','val_134','2008-04-08','12' -'395','val_395','2008-04-08','12' -'282','val_282','2008-04-08','12' -'138','val_138','2008-04-08','12' -'238','val_238','2008-04-08','12' -'419','val_419','2008-04-08','12' -'15','val_15','2008-04-08','12' -'118','val_118','2008-04-08','12' -'72','val_72','2008-04-08','12' -'90','val_90','2008-04-08','12' -'307','val_307','2008-04-08','12' -'19','val_19','2008-04-08','12' -'435','val_435','2008-04-08','12' -'10','val_10','2008-04-08','12' -'277','val_277','2008-04-08','12' -'273','val_273','2008-04-08','12' -'306','val_306','2008-04-08','12' -'224','val_224','2008-04-08','12' -'309','val_309','2008-04-08','12' -'389','val_389','2008-04-08','12' -'327','val_327','2008-04-08','12' -'242','val_242','2008-04-08','12' -'369','val_369','2008-04-08','12' -'392','val_392','2008-04-08','12' -'272','val_272','2008-04-08','12' -'331','val_331','2008-04-08','12' -'401','val_401','2008-04-08','12' -'242','val_242','2008-04-08','12' -'452','val_452','2008-04-08','12' -'177','val_177','2008-04-08','12' -'226','val_226','2008-04-08','12' -'5','val_5','2008-04-08','12' -'497','val_497','2008-04-08','12' -'402','val_402','2008-04-08','12' -'396','val_396','2008-04-08','12' -'317','val_317','2008-04-08','12' -'395','val_395','2008-04-08','12' -'58','val_58','2008-04-08','12' -'35','val_35','2008-04-08','12' -'336','val_336','2008-04-08','12' -'95','val_95','2008-04-08','12' -'11','val_11','2008-04-08','12' -'168','val_168','2008-04-08','12' -'34','val_34','2008-04-08','12' -'229','val_229','2008-04-08','12' -'233','val_233','2008-04-08','12' -'143','val_143','2008-04-08','12' -'472','val_472','2008-04-08','12' -'322','val_322','2008-04-08','12' -'498','val_498','2008-04-08','12' -'160','val_160','2008-04-08','12' -'195','val_195','2008-04-08','12' -'42','val_42','2008-04-08','12' -'321','val_321','2008-04-08','12' -'430','val_430','2008-04-08','12' -'119','val_119','2008-04-08','12' -'489','val_489','2008-04-08','12' -'458','val_458','2008-04-08','12' -'78','val_78','2008-04-08','12' -'76','val_76','2008-04-08','12' -'41','val_41','2008-04-08','12' -'223','val_223','2008-04-08','12' -'492','val_492','2008-04-08','12' -'149','val_149','2008-04-08','12' -'449','val_449','2008-04-08','12' -'218','val_218','2008-04-08','12' -'228','val_228','2008-04-08','12' -'138','val_138','2008-04-08','12' -'453','val_453','2008-04-08','12' -'30','val_30','2008-04-08','12' -'209','val_209','2008-04-08','12' -'64','val_64','2008-04-08','12' -'468','val_468','2008-04-08','12' -'76','val_76','2008-04-08','12' -'74','val_74','2008-04-08','12' -'342','val_342','2008-04-08','12' -'69','val_69','2008-04-08','12' -'230','val_230','2008-04-08','12' -'33','val_33','2008-04-08','12' -'368','val_368','2008-04-08','12' -'103','val_103','2008-04-08','12' -'296','val_296','2008-04-08','12' -'113','val_113','2008-04-08','12' -'216','val_216','2008-04-08','12' -'367','val_367','2008-04-08','12' -'344','val_344','2008-04-08','12' -'167','val_167','2008-04-08','12' -'274','val_274','2008-04-08','12' -'219','val_219','2008-04-08','12' -'239','val_239','2008-04-08','12' -'485','val_485','2008-04-08','12' -'116','val_116','2008-04-08','12' -'223','val_223','2008-04-08','12' -'256','val_256','2008-04-08','12' -'263','val_263','2008-04-08','12' -'70','val_70','2008-04-08','12' -'487','val_487','2008-04-08','12' -'480','val_480','2008-04-08','12' -'401','val_401','2008-04-08','12' -'288','val_288','2008-04-08','12' -'191','val_191','2008-04-08','12' -'5','val_5','2008-04-08','12' -'244','val_244','2008-04-08','12' -'438','val_438','2008-04-08','12' -'128','val_128','2008-04-08','12' -'467','val_467','2008-04-08','12' -'432','val_432','2008-04-08','12' -'202','val_202','2008-04-08','12' -'316','val_316','2008-04-08','12' -'229','val_229','2008-04-08','12' -'469','val_469','2008-04-08','12' -'463','val_463','2008-04-08','12' -'280','val_280','2008-04-08','12' -'2','val_2','2008-04-08','12' -'35','val_35','2008-04-08','12' -'283','val_283','2008-04-08','12' -'331','val_331','2008-04-08','12' -'235','val_235','2008-04-08','12' -'80','val_80','2008-04-08','12' -'44','val_44','2008-04-08','12' -'193','val_193','2008-04-08','12' -'321','val_321','2008-04-08','12' -'335','val_335','2008-04-08','12' -'104','val_104','2008-04-08','12' -'466','val_466','2008-04-08','12' -'366','val_366','2008-04-08','12' -'175','val_175','2008-04-08','12' -'403','val_403','2008-04-08','12' -'483','val_483','2008-04-08','12' -'53','val_53','2008-04-08','12' -'105','val_105','2008-04-08','12' -'257','val_257','2008-04-08','12' -'406','val_406','2008-04-08','12' -'409','val_409','2008-04-08','12' -'190','val_190','2008-04-08','12' -'406','val_406','2008-04-08','12' -'401','val_401','2008-04-08','12' -'114','val_114','2008-04-08','12' -'258','val_258','2008-04-08','12' -'90','val_90','2008-04-08','12' -'203','val_203','2008-04-08','12' -'262','val_262','2008-04-08','12' -'348','val_348','2008-04-08','12' -'424','val_424','2008-04-08','12' -'12','val_12','2008-04-08','12' -'396','val_396','2008-04-08','12' -'201','val_201','2008-04-08','12' -'217','val_217','2008-04-08','12' -'164','val_164','2008-04-08','12' -'431','val_431','2008-04-08','12' -'454','val_454','2008-04-08','12' -'478','val_478','2008-04-08','12' -'298','val_298','2008-04-08','12' -'125','val_125','2008-04-08','12' -'431','val_431','2008-04-08','12' -'164','val_164','2008-04-08','12' -'424','val_424','2008-04-08','12' -'187','val_187','2008-04-08','12' -'382','val_382','2008-04-08','12' -'5','val_5','2008-04-08','12' -'70','val_70','2008-04-08','12' -'397','val_397','2008-04-08','12' -'480','val_480','2008-04-08','12' -'291','val_291','2008-04-08','12' -'24','val_24','2008-04-08','12' -'351','val_351','2008-04-08','12' -'255','val_255','2008-04-08','12' -'104','val_104','2008-04-08','12' -'70','val_70','2008-04-08','12' -'163','val_163','2008-04-08','12' -'438','val_438','2008-04-08','12' -'119','val_119','2008-04-08','12' -'414','val_414','2008-04-08','12' -'200','val_200','2008-04-08','12' -'491','val_491','2008-04-08','12' -'237','val_237','2008-04-08','12' -'439','val_439','2008-04-08','12' -'360','val_360','2008-04-08','12' -'248','val_248','2008-04-08','12' -'479','val_479','2008-04-08','12' -'305','val_305','2008-04-08','12' -'417','val_417','2008-04-08','12' -'199','val_199','2008-04-08','12' -'444','val_444','2008-04-08','12' -'120','val_120','2008-04-08','12' -'429','val_429','2008-04-08','12' -'169','val_169','2008-04-08','12' -'443','val_443','2008-04-08','12' -'323','val_323','2008-04-08','12' -'325','val_325','2008-04-08','12' -'277','val_277','2008-04-08','12' -'230','val_230','2008-04-08','12' -'478','val_478','2008-04-08','12' -'178','val_178','2008-04-08','12' -'468','val_468','2008-04-08','12' -'310','val_310','2008-04-08','12' -'317','val_317','2008-04-08','12' -'333','val_333','2008-04-08','12' -'493','val_493','2008-04-08','12' -'460','val_460','2008-04-08','12' -'207','val_207','2008-04-08','12' -'249','val_249','2008-04-08','12' -'265','val_265','2008-04-08','12' -'480','val_480','2008-04-08','12' -'83','val_83','2008-04-08','12' -'136','val_136','2008-04-08','12' -'353','val_353','2008-04-08','12' -'172','val_172','2008-04-08','12' -'214','val_214','2008-04-08','12' -'462','val_462','2008-04-08','12' -'233','val_233','2008-04-08','12' -'406','val_406','2008-04-08','12' -'133','val_133','2008-04-08','12' -'175','val_175','2008-04-08','12' -'189','val_189','2008-04-08','12' -'454','val_454','2008-04-08','12' -'375','val_375','2008-04-08','12' -'401','val_401','2008-04-08','12' -'421','val_421','2008-04-08','12' -'407','val_407','2008-04-08','12' -'384','val_384','2008-04-08','12' -'256','val_256','2008-04-08','12' -'26','val_26','2008-04-08','12' -'134','val_134','2008-04-08','12' -'67','val_67','2008-04-08','12' -'384','val_384','2008-04-08','12' -'379','val_379','2008-04-08','12' -'18','val_18','2008-04-08','12' -'462','val_462','2008-04-08','12' -'492','val_492','2008-04-08','12' -'100','val_100','2008-04-08','12' -'298','val_298','2008-04-08','12' -'9','val_9','2008-04-08','12' -'341','val_341','2008-04-08','12' -'498','val_498','2008-04-08','12' -'146','val_146','2008-04-08','12' -'458','val_458','2008-04-08','12' -'362','val_362','2008-04-08','12' -'186','val_186','2008-04-08','12' -'285','val_285','2008-04-08','12' -'348','val_348','2008-04-08','12' -'167','val_167','2008-04-08','12' -'18','val_18','2008-04-08','12' -'273','val_273','2008-04-08','12' -'183','val_183','2008-04-08','12' -'281','val_281','2008-04-08','12' -'344','val_344','2008-04-08','12' -'97','val_97','2008-04-08','12' -'469','val_469','2008-04-08','12' -'315','val_315','2008-04-08','12' -'84','val_84','2008-04-08','12' -'28','val_28','2008-04-08','12' -'37','val_37','2008-04-08','12' -'448','val_448','2008-04-08','12' -'152','val_152','2008-04-08','12' -'348','val_348','2008-04-08','12' -'307','val_307','2008-04-08','12' -'194','val_194','2008-04-08','12' -'414','val_414','2008-04-08','12' -'477','val_477','2008-04-08','12' -'222','val_222','2008-04-08','12' -'126','val_126','2008-04-08','12' -'90','val_90','2008-04-08','12' -'169','val_169','2008-04-08','12' -'403','val_403','2008-04-08','12' -'400','val_400','2008-04-08','12' -'200','val_200','2008-04-08','12' -'97','val_97','2008-04-08','12' -'238','val_238','2008-04-09','11' -'86','val_86','2008-04-09','11' -'311','val_311','2008-04-09','11' -'27','val_27','2008-04-09','11' -'165','val_165','2008-04-09','11' -'409','val_409','2008-04-09','11' -'255','val_255','2008-04-09','11' -'278','val_278','2008-04-09','11' -'98','val_98','2008-04-09','11' -'484','val_484','2008-04-09','11' -'265','val_265','2008-04-09','11' -'193','val_193','2008-04-09','11' -'401','val_401','2008-04-09','11' -'150','val_150','2008-04-09','11' -'273','val_273','2008-04-09','11' -'224','val_224','2008-04-09','11' -'369','val_369','2008-04-09','11' -'66','val_66','2008-04-09','11' -'128','val_128','2008-04-09','11' -'213','val_213','2008-04-09','11' -'146','val_146','2008-04-09','11' -'406','val_406','2008-04-09','11' -'429','val_429','2008-04-09','11' -'374','val_374','2008-04-09','11' -'152','val_152','2008-04-09','11' -'469','val_469','2008-04-09','11' -'145','val_145','2008-04-09','11' -'495','val_495','2008-04-09','11' -'37','val_37','2008-04-09','11' -'327','val_327','2008-04-09','11' -'281','val_281','2008-04-09','11' -'277','val_277','2008-04-09','11' -'209','val_209','2008-04-09','11' -'15','val_15','2008-04-09','11' -'82','val_82','2008-04-09','11' -'403','val_403','2008-04-09','11' -'166','val_166','2008-04-09','11' -'417','val_417','2008-04-09','11' -'430','val_430','2008-04-09','11' -'252','val_252','2008-04-09','11' -'292','val_292','2008-04-09','11' -'219','val_219','2008-04-09','11' -'287','val_287','2008-04-09','11' -'153','val_153','2008-04-09','11' -'193','val_193','2008-04-09','11' -'338','val_338','2008-04-09','11' -'446','val_446','2008-04-09','11' -'459','val_459','2008-04-09','11' -'394','val_394','2008-04-09','11' -'237','val_237','2008-04-09','11' -'482','val_482','2008-04-09','11' -'174','val_174','2008-04-09','11' -'413','val_413','2008-04-09','11' -'494','val_494','2008-04-09','11' -'207','val_207','2008-04-09','11' -'199','val_199','2008-04-09','11' -'466','val_466','2008-04-09','11' -'208','val_208','2008-04-09','11' -'174','val_174','2008-04-09','11' -'399','val_399','2008-04-09','11' -'396','val_396','2008-04-09','11' -'247','val_247','2008-04-09','11' -'417','val_417','2008-04-09','11' -'489','val_489','2008-04-09','11' -'162','val_162','2008-04-09','11' -'377','val_377','2008-04-09','11' -'397','val_397','2008-04-09','11' -'309','val_309','2008-04-09','11' -'365','val_365','2008-04-09','11' -'266','val_266','2008-04-09','11' -'439','val_439','2008-04-09','11' -'342','val_342','2008-04-09','11' -'367','val_367','2008-04-09','11' -'325','val_325','2008-04-09','11' -'167','val_167','2008-04-09','11' -'195','val_195','2008-04-09','11' -'475','val_475','2008-04-09','11' -'17','val_17','2008-04-09','11' -'113','val_113','2008-04-09','11' -'155','val_155','2008-04-09','11' -'203','val_203','2008-04-09','11' -'339','val_339','2008-04-09','11' -'0','val_0','2008-04-09','11' -'455','val_455','2008-04-09','11' -'128','val_128','2008-04-09','11' -'311','val_311','2008-04-09','11' -'316','val_316','2008-04-09','11' -'57','val_57','2008-04-09','11' -'302','val_302','2008-04-09','11' -'205','val_205','2008-04-09','11' -'149','val_149','2008-04-09','11' -'438','val_438','2008-04-09','11' -'345','val_345','2008-04-09','11' -'129','val_129','2008-04-09','11' -'170','val_170','2008-04-09','11' -'20','val_20','2008-04-09','11' -'489','val_489','2008-04-09','11' -'157','val_157','2008-04-09','11' -'378','val_378','2008-04-09','11' -'221','val_221','2008-04-09','11' -'92','val_92','2008-04-09','11' -'111','val_111','2008-04-09','11' -'47','val_47','2008-04-09','11' -'72','val_72','2008-04-09','11' -'4','val_4','2008-04-09','11' -'280','val_280','2008-04-09','11' -'35','val_35','2008-04-09','11' -'427','val_427','2008-04-09','11' -'277','val_277','2008-04-09','11' -'208','val_208','2008-04-09','11' -'356','val_356','2008-04-09','11' -'399','val_399','2008-04-09','11' -'169','val_169','2008-04-09','11' -'382','val_382','2008-04-09','11' -'498','val_498','2008-04-09','11' -'125','val_125','2008-04-09','11' -'386','val_386','2008-04-09','11' -'437','val_437','2008-04-09','11' -'469','val_469','2008-04-09','11' -'192','val_192','2008-04-09','11' -'286','val_286','2008-04-09','11' -'187','val_187','2008-04-09','11' -'176','val_176','2008-04-09','11' -'54','val_54','2008-04-09','11' -'459','val_459','2008-04-09','11' -'51','val_51','2008-04-09','11' -'138','val_138','2008-04-09','11' -'103','val_103','2008-04-09','11' -'239','val_239','2008-04-09','11' -'213','val_213','2008-04-09','11' -'216','val_216','2008-04-09','11' -'430','val_430','2008-04-09','11' -'278','val_278','2008-04-09','11' -'176','val_176','2008-04-09','11' -'289','val_289','2008-04-09','11' -'221','val_221','2008-04-09','11' -'65','val_65','2008-04-09','11' -'318','val_318','2008-04-09','11' -'332','val_332','2008-04-09','11' -'311','val_311','2008-04-09','11' -'275','val_275','2008-04-09','11' -'137','val_137','2008-04-09','11' -'241','val_241','2008-04-09','11' -'83','val_83','2008-04-09','11' -'333','val_333','2008-04-09','11' -'180','val_180','2008-04-09','11' -'284','val_284','2008-04-09','11' -'12','val_12','2008-04-09','11' -'230','val_230','2008-04-09','11' -'181','val_181','2008-04-09','11' -'67','val_67','2008-04-09','11' -'260','val_260','2008-04-09','11' -'404','val_404','2008-04-09','11' -'384','val_384','2008-04-09','11' -'489','val_489','2008-04-09','11' -'353','val_353','2008-04-09','11' -'373','val_373','2008-04-09','11' -'272','val_272','2008-04-09','11' -'138','val_138','2008-04-09','11' -'217','val_217','2008-04-09','11' -'84','val_84','2008-04-09','11' -'348','val_348','2008-04-09','11' -'466','val_466','2008-04-09','11' -'58','val_58','2008-04-09','11' -'8','val_8','2008-04-09','11' -'411','val_411','2008-04-09','11' -'230','val_230','2008-04-09','11' -'208','val_208','2008-04-09','11' -'348','val_348','2008-04-09','11' -'24','val_24','2008-04-09','11' -'463','val_463','2008-04-09','11' -'431','val_431','2008-04-09','11' -'179','val_179','2008-04-09','11' -'172','val_172','2008-04-09','11' -'42','val_42','2008-04-09','11' -'129','val_129','2008-04-09','11' -'158','val_158','2008-04-09','11' -'119','val_119','2008-04-09','11' -'496','val_496','2008-04-09','11' -'0','val_0','2008-04-09','11' -'322','val_322','2008-04-09','11' -'197','val_197','2008-04-09','11' -'468','val_468','2008-04-09','11' -'393','val_393','2008-04-09','11' -'454','val_454','2008-04-09','11' -'100','val_100','2008-04-09','11' -'298','val_298','2008-04-09','11' -'199','val_199','2008-04-09','11' -'191','val_191','2008-04-09','11' -'418','val_418','2008-04-09','11' -'96','val_96','2008-04-09','11' -'26','val_26','2008-04-09','11' -'165','val_165','2008-04-09','11' -'327','val_327','2008-04-09','11' -'230','val_230','2008-04-09','11' -'205','val_205','2008-04-09','11' -'120','val_120','2008-04-09','11' -'131','val_131','2008-04-09','11' -'51','val_51','2008-04-09','11' -'404','val_404','2008-04-09','11' -'43','val_43','2008-04-09','11' -'436','val_436','2008-04-09','11' -'156','val_156','2008-04-09','11' -'469','val_469','2008-04-09','11' -'468','val_468','2008-04-09','11' -'308','val_308','2008-04-09','11' -'95','val_95','2008-04-09','11' -'196','val_196','2008-04-09','11' -'288','val_288','2008-04-09','11' -'481','val_481','2008-04-09','11' -'457','val_457','2008-04-09','11' -'98','val_98','2008-04-09','11' -'282','val_282','2008-04-09','11' -'197','val_197','2008-04-09','11' -'187','val_187','2008-04-09','11' -'318','val_318','2008-04-09','11' -'318','val_318','2008-04-09','11' -'409','val_409','2008-04-09','11' -'470','val_470','2008-04-09','11' -'137','val_137','2008-04-09','11' -'369','val_369','2008-04-09','11' -'316','val_316','2008-04-09','11' -'169','val_169','2008-04-09','11' -'413','val_413','2008-04-09','11' -'85','val_85','2008-04-09','11' -'77','val_77','2008-04-09','11' -'0','val_0','2008-04-09','11' -'490','val_490','2008-04-09','11' -'87','val_87','2008-04-09','11' -'364','val_364','2008-04-09','11' -'179','val_179','2008-04-09','11' -'118','val_118','2008-04-09','11' -'134','val_134','2008-04-09','11' -'395','val_395','2008-04-09','11' -'282','val_282','2008-04-09','11' -'138','val_138','2008-04-09','11' -'238','val_238','2008-04-09','11' -'419','val_419','2008-04-09','11' -'15','val_15','2008-04-09','11' -'118','val_118','2008-04-09','11' -'72','val_72','2008-04-09','11' -'90','val_90','2008-04-09','11' -'307','val_307','2008-04-09','11' -'19','val_19','2008-04-09','11' -'435','val_435','2008-04-09','11' -'10','val_10','2008-04-09','11' -'277','val_277','2008-04-09','11' -'273','val_273','2008-04-09','11' -'306','val_306','2008-04-09','11' -'224','val_224','2008-04-09','11' -'309','val_309','2008-04-09','11' -'389','val_389','2008-04-09','11' -'327','val_327','2008-04-09','11' -'242','val_242','2008-04-09','11' -'369','val_369','2008-04-09','11' -'392','val_392','2008-04-09','11' -'272','val_272','2008-04-09','11' -'331','val_331','2008-04-09','11' -'401','val_401','2008-04-09','11' -'242','val_242','2008-04-09','11' -'452','val_452','2008-04-09','11' -'177','val_177','2008-04-09','11' -'226','val_226','2008-04-09','11' -'5','val_5','2008-04-09','11' -'497','val_497','2008-04-09','11' -'402','val_402','2008-04-09','11' -'396','val_396','2008-04-09','11' -'317','val_317','2008-04-09','11' -'395','val_395','2008-04-09','11' -'58','val_58','2008-04-09','11' -'35','val_35','2008-04-09','11' -'336','val_336','2008-04-09','11' -'95','val_95','2008-04-09','11' -'11','val_11','2008-04-09','11' -'168','val_168','2008-04-09','11' -'34','val_34','2008-04-09','11' -'229','val_229','2008-04-09','11' -'233','val_233','2008-04-09','11' -'143','val_143','2008-04-09','11' -'472','val_472','2008-04-09','11' -'322','val_322','2008-04-09','11' -'498','val_498','2008-04-09','11' -'160','val_160','2008-04-09','11' -'195','val_195','2008-04-09','11' -'42','val_42','2008-04-09','11' -'321','val_321','2008-04-09','11' -'430','val_430','2008-04-09','11' -'119','val_119','2008-04-09','11' -'489','val_489','2008-04-09','11' -'458','val_458','2008-04-09','11' -'78','val_78','2008-04-09','11' -'76','val_76','2008-04-09','11' -'41','val_41','2008-04-09','11' -'223','val_223','2008-04-09','11' -'492','val_492','2008-04-09','11' -'149','val_149','2008-04-09','11' -'449','val_449','2008-04-09','11' -'218','val_218','2008-04-09','11' -'228','val_228','2008-04-09','11' -'138','val_138','2008-04-09','11' -'453','val_453','2008-04-09','11' -'30','val_30','2008-04-09','11' -'209','val_209','2008-04-09','11' -'64','val_64','2008-04-09','11' -'468','val_468','2008-04-09','11' -'76','val_76','2008-04-09','11' -'74','val_74','2008-04-09','11' -'342','val_342','2008-04-09','11' -'69','val_69','2008-04-09','11' -'230','val_230','2008-04-09','11' -'33','val_33','2008-04-09','11' -'368','val_368','2008-04-09','11' -'103','val_103','2008-04-09','11' -'296','val_296','2008-04-09','11' -'113','val_113','2008-04-09','11' -'216','val_216','2008-04-09','11' -'367','val_367','2008-04-09','11' -'344','val_344','2008-04-09','11' -'167','val_167','2008-04-09','11' -'274','val_274','2008-04-09','11' -'219','val_219','2008-04-09','11' -'239','val_239','2008-04-09','11' -'485','val_485','2008-04-09','11' -'116','val_116','2008-04-09','11' -'223','val_223','2008-04-09','11' -'256','val_256','2008-04-09','11' -'263','val_263','2008-04-09','11' -'70','val_70','2008-04-09','11' -'487','val_487','2008-04-09','11' -'480','val_480','2008-04-09','11' -'401','val_401','2008-04-09','11' -'288','val_288','2008-04-09','11' -'191','val_191','2008-04-09','11' -'5','val_5','2008-04-09','11' -'244','val_244','2008-04-09','11' -'438','val_438','2008-04-09','11' -'128','val_128','2008-04-09','11' -'467','val_467','2008-04-09','11' -'432','val_432','2008-04-09','11' -'202','val_202','2008-04-09','11' -'316','val_316','2008-04-09','11' -'229','val_229','2008-04-09','11' -'469','val_469','2008-04-09','11' -'463','val_463','2008-04-09','11' -'280','val_280','2008-04-09','11' -'2','val_2','2008-04-09','11' -'35','val_35','2008-04-09','11' -'283','val_283','2008-04-09','11' -'331','val_331','2008-04-09','11' -'235','val_235','2008-04-09','11' -'80','val_80','2008-04-09','11' -'44','val_44','2008-04-09','11' -'193','val_193','2008-04-09','11' -'321','val_321','2008-04-09','11' -'335','val_335','2008-04-09','11' -'104','val_104','2008-04-09','11' -'466','val_466','2008-04-09','11' -'366','val_366','2008-04-09','11' -'175','val_175','2008-04-09','11' -'403','val_403','2008-04-09','11' -'483','val_483','2008-04-09','11' -'53','val_53','2008-04-09','11' -'105','val_105','2008-04-09','11' -'257','val_257','2008-04-09','11' -'406','val_406','2008-04-09','11' -'409','val_409','2008-04-09','11' -'190','val_190','2008-04-09','11' -'406','val_406','2008-04-09','11' -'401','val_401','2008-04-09','11' -'114','val_114','2008-04-09','11' -'258','val_258','2008-04-09','11' -'90','val_90','2008-04-09','11' -'203','val_203','2008-04-09','11' -'262','val_262','2008-04-09','11' -'348','val_348','2008-04-09','11' -'424','val_424','2008-04-09','11' -'12','val_12','2008-04-09','11' -'396','val_396','2008-04-09','11' -'201','val_201','2008-04-09','11' -'217','val_217','2008-04-09','11' -'164','val_164','2008-04-09','11' -'431','val_431','2008-04-09','11' -'454','val_454','2008-04-09','11' -'478','val_478','2008-04-09','11' -'298','val_298','2008-04-09','11' -'125','val_125','2008-04-09','11' -'431','val_431','2008-04-09','11' -'164','val_164','2008-04-09','11' -'424','val_424','2008-04-09','11' -'187','val_187','2008-04-09','11' -'382','val_382','2008-04-09','11' -'5','val_5','2008-04-09','11' -'70','val_70','2008-04-09','11' -'397','val_397','2008-04-09','11' -'480','val_480','2008-04-09','11' -'291','val_291','2008-04-09','11' -'24','val_24','2008-04-09','11' -'351','val_351','2008-04-09','11' -'255','val_255','2008-04-09','11' -'104','val_104','2008-04-09','11' -'70','val_70','2008-04-09','11' -'163','val_163','2008-04-09','11' -'438','val_438','2008-04-09','11' -'119','val_119','2008-04-09','11' -'414','val_414','2008-04-09','11' -'200','val_200','2008-04-09','11' -'491','val_491','2008-04-09','11' -'237','val_237','2008-04-09','11' -'439','val_439','2008-04-09','11' -'360','val_360','2008-04-09','11' -'248','val_248','2008-04-09','11' -'479','val_479','2008-04-09','11' -'305','val_305','2008-04-09','11' -'417','val_417','2008-04-09','11' -'199','val_199','2008-04-09','11' -'444','val_444','2008-04-09','11' -'120','val_120','2008-04-09','11' -'429','val_429','2008-04-09','11' -'169','val_169','2008-04-09','11' -'443','val_443','2008-04-09','11' -'323','val_323','2008-04-09','11' -'325','val_325','2008-04-09','11' -'277','val_277','2008-04-09','11' -'230','val_230','2008-04-09','11' -'478','val_478','2008-04-09','11' -'178','val_178','2008-04-09','11' -'468','val_468','2008-04-09','11' -'310','val_310','2008-04-09','11' -'317','val_317','2008-04-09','11' -'333','val_333','2008-04-09','11' -'493','val_493','2008-04-09','11' -'460','val_460','2008-04-09','11' -'207','val_207','2008-04-09','11' -'249','val_249','2008-04-09','11' -'265','val_265','2008-04-09','11' -'480','val_480','2008-04-09','11' -'83','val_83','2008-04-09','11' -'136','val_136','2008-04-09','11' -'353','val_353','2008-04-09','11' -'172','val_172','2008-04-09','11' -'214','val_214','2008-04-09','11' -'462','val_462','2008-04-09','11' -'233','val_233','2008-04-09','11' -'406','val_406','2008-04-09','11' -'133','val_133','2008-04-09','11' -'175','val_175','2008-04-09','11' -'189','val_189','2008-04-09','11' -'454','val_454','2008-04-09','11' -'375','val_375','2008-04-09','11' -'401','val_401','2008-04-09','11' -'421','val_421','2008-04-09','11' -'407','val_407','2008-04-09','11' -'384','val_384','2008-04-09','11' -'256','val_256','2008-04-09','11' -'26','val_26','2008-04-09','11' -'134','val_134','2008-04-09','11' -'67','val_67','2008-04-09','11' -'384','val_384','2008-04-09','11' -'379','val_379','2008-04-09','11' -'18','val_18','2008-04-09','11' -'462','val_462','2008-04-09','11' -'492','val_492','2008-04-09','11' -'100','val_100','2008-04-09','11' -'298','val_298','2008-04-09','11' -'9','val_9','2008-04-09','11' -'341','val_341','2008-04-09','11' -'498','val_498','2008-04-09','11' -'146','val_146','2008-04-09','11' -'458','val_458','2008-04-09','11' -'362','val_362','2008-04-09','11' -'186','val_186','2008-04-09','11' -'285','val_285','2008-04-09','11' -'348','val_348','2008-04-09','11' -'167','val_167','2008-04-09','11' -'18','val_18','2008-04-09','11' -'273','val_273','2008-04-09','11' -'183','val_183','2008-04-09','11' -'281','val_281','2008-04-09','11' -'344','val_344','2008-04-09','11' -'97','val_97','2008-04-09','11' -'469','val_469','2008-04-09','11' -'315','val_315','2008-04-09','11' -'84','val_84','2008-04-09','11' -'28','val_28','2008-04-09','11' -'37','val_37','2008-04-09','11' -'448','val_448','2008-04-09','11' -'152','val_152','2008-04-09','11' -'348','val_348','2008-04-09','11' -'307','val_307','2008-04-09','11' -'194','val_194','2008-04-09','11' -'414','val_414','2008-04-09','11' -'477','val_477','2008-04-09','11' -'222','val_222','2008-04-09','11' -'126','val_126','2008-04-09','11' -'90','val_90','2008-04-09','11' -'169','val_169','2008-04-09','11' -'403','val_403','2008-04-09','11' -'400','val_400','2008-04-09','11' -'200','val_200','2008-04-09','11' -'97','val_97','2008-04-09','11' -'238','val_238','2008-04-09','12' -'86','val_86','2008-04-09','12' -'311','val_311','2008-04-09','12' -'27','val_27','2008-04-09','12' -'165','val_165','2008-04-09','12' -'409','val_409','2008-04-09','12' -'255','val_255','2008-04-09','12' -'278','val_278','2008-04-09','12' -'98','val_98','2008-04-09','12' -'484','val_484','2008-04-09','12' -'265','val_265','2008-04-09','12' -'193','val_193','2008-04-09','12' -'401','val_401','2008-04-09','12' -'150','val_150','2008-04-09','12' -'273','val_273','2008-04-09','12' -'224','val_224','2008-04-09','12' -'369','val_369','2008-04-09','12' -'66','val_66','2008-04-09','12' -'128','val_128','2008-04-09','12' -'213','val_213','2008-04-09','12' -'146','val_146','2008-04-09','12' -'406','val_406','2008-04-09','12' -'429','val_429','2008-04-09','12' -'374','val_374','2008-04-09','12' -'152','val_152','2008-04-09','12' -'469','val_469','2008-04-09','12' -'145','val_145','2008-04-09','12' -'495','val_495','2008-04-09','12' -'37','val_37','2008-04-09','12' -'327','val_327','2008-04-09','12' -'281','val_281','2008-04-09','12' -'277','val_277','2008-04-09','12' -'209','val_209','2008-04-09','12' -'15','val_15','2008-04-09','12' -'82','val_82','2008-04-09','12' -'403','val_403','2008-04-09','12' -'166','val_166','2008-04-09','12' -'417','val_417','2008-04-09','12' -'430','val_430','2008-04-09','12' -'252','val_252','2008-04-09','12' -'292','val_292','2008-04-09','12' -'219','val_219','2008-04-09','12' -'287','val_287','2008-04-09','12' -'153','val_153','2008-04-09','12' -'193','val_193','2008-04-09','12' -'338','val_338','2008-04-09','12' -'446','val_446','2008-04-09','12' -'459','val_459','2008-04-09','12' -'394','val_394','2008-04-09','12' -'237','val_237','2008-04-09','12' -'482','val_482','2008-04-09','12' -'174','val_174','2008-04-09','12' -'413','val_413','2008-04-09','12' -'494','val_494','2008-04-09','12' -'207','val_207','2008-04-09','12' -'199','val_199','2008-04-09','12' -'466','val_466','2008-04-09','12' -'208','val_208','2008-04-09','12' -'174','val_174','2008-04-09','12' -'399','val_399','2008-04-09','12' -'396','val_396','2008-04-09','12' -'247','val_247','2008-04-09','12' -'417','val_417','2008-04-09','12' -'489','val_489','2008-04-09','12' -'162','val_162','2008-04-09','12' -'377','val_377','2008-04-09','12' -'397','val_397','2008-04-09','12' -'309','val_309','2008-04-09','12' -'365','val_365','2008-04-09','12' -'266','val_266','2008-04-09','12' -'439','val_439','2008-04-09','12' -'342','val_342','2008-04-09','12' -'367','val_367','2008-04-09','12' -'325','val_325','2008-04-09','12' -'167','val_167','2008-04-09','12' -'195','val_195','2008-04-09','12' -'475','val_475','2008-04-09','12' -'17','val_17','2008-04-09','12' -'113','val_113','2008-04-09','12' -'155','val_155','2008-04-09','12' -'203','val_203','2008-04-09','12' -'339','val_339','2008-04-09','12' -'0','val_0','2008-04-09','12' -'455','val_455','2008-04-09','12' -'128','val_128','2008-04-09','12' -'311','val_311','2008-04-09','12' -'316','val_316','2008-04-09','12' -'57','val_57','2008-04-09','12' -'302','val_302','2008-04-09','12' -'205','val_205','2008-04-09','12' -'149','val_149','2008-04-09','12' -'438','val_438','2008-04-09','12' -'345','val_345','2008-04-09','12' -'129','val_129','2008-04-09','12' -'170','val_170','2008-04-09','12' -'20','val_20','2008-04-09','12' -'489','val_489','2008-04-09','12' -'157','val_157','2008-04-09','12' -'378','val_378','2008-04-09','12' -'221','val_221','2008-04-09','12' -'92','val_92','2008-04-09','12' -'111','val_111','2008-04-09','12' -'47','val_47','2008-04-09','12' -'72','val_72','2008-04-09','12' -'4','val_4','2008-04-09','12' -'280','val_280','2008-04-09','12' -'35','val_35','2008-04-09','12' -'427','val_427','2008-04-09','12' -'277','val_277','2008-04-09','12' -'208','val_208','2008-04-09','12' -'356','val_356','2008-04-09','12' -'399','val_399','2008-04-09','12' -'169','val_169','2008-04-09','12' -'382','val_382','2008-04-09','12' -'498','val_498','2008-04-09','12' -'125','val_125','2008-04-09','12' -'386','val_386','2008-04-09','12' -'437','val_437','2008-04-09','12' -'469','val_469','2008-04-09','12' -'192','val_192','2008-04-09','12' -'286','val_286','2008-04-09','12' -'187','val_187','2008-04-09','12' -'176','val_176','2008-04-09','12' -'54','val_54','2008-04-09','12' -'459','val_459','2008-04-09','12' -'51','val_51','2008-04-09','12' -'138','val_138','2008-04-09','12' -'103','val_103','2008-04-09','12' -'239','val_239','2008-04-09','12' -'213','val_213','2008-04-09','12' -'216','val_216','2008-04-09','12' -'430','val_430','2008-04-09','12' -'278','val_278','2008-04-09','12' -'176','val_176','2008-04-09','12' -'289','val_289','2008-04-09','12' -'221','val_221','2008-04-09','12' -'65','val_65','2008-04-09','12' -'318','val_318','2008-04-09','12' -'332','val_332','2008-04-09','12' -'311','val_311','2008-04-09','12' -'275','val_275','2008-04-09','12' -'137','val_137','2008-04-09','12' -'241','val_241','2008-04-09','12' -'83','val_83','2008-04-09','12' -'333','val_333','2008-04-09','12' -'180','val_180','2008-04-09','12' -'284','val_284','2008-04-09','12' -'12','val_12','2008-04-09','12' -'230','val_230','2008-04-09','12' -'181','val_181','2008-04-09','12' -'67','val_67','2008-04-09','12' -'260','val_260','2008-04-09','12' -'404','val_404','2008-04-09','12' -'384','val_384','2008-04-09','12' -'489','val_489','2008-04-09','12' -'353','val_353','2008-04-09','12' -'373','val_373','2008-04-09','12' -'272','val_272','2008-04-09','12' -'138','val_138','2008-04-09','12' -'217','val_217','2008-04-09','12' -'84','val_84','2008-04-09','12' -'348','val_348','2008-04-09','12' -'466','val_466','2008-04-09','12' -'58','val_58','2008-04-09','12' -'8','val_8','2008-04-09','12' -'411','val_411','2008-04-09','12' -'230','val_230','2008-04-09','12' -'208','val_208','2008-04-09','12' -'348','val_348','2008-04-09','12' -'24','val_24','2008-04-09','12' -'463','val_463','2008-04-09','12' -'431','val_431','2008-04-09','12' -'179','val_179','2008-04-09','12' -'172','val_172','2008-04-09','12' -'42','val_42','2008-04-09','12' -'129','val_129','2008-04-09','12' -'158','val_158','2008-04-09','12' -'119','val_119','2008-04-09','12' -'496','val_496','2008-04-09','12' -'0','val_0','2008-04-09','12' -'322','val_322','2008-04-09','12' -'197','val_197','2008-04-09','12' -'468','val_468','2008-04-09','12' -'393','val_393','2008-04-09','12' -'454','val_454','2008-04-09','12' -'100','val_100','2008-04-09','12' -'298','val_298','2008-04-09','12' -'199','val_199','2008-04-09','12' -'191','val_191','2008-04-09','12' -'418','val_418','2008-04-09','12' -'96','val_96','2008-04-09','12' -'26','val_26','2008-04-09','12' -'165','val_165','2008-04-09','12' -'327','val_327','2008-04-09','12' -'230','val_230','2008-04-09','12' -'205','val_205','2008-04-09','12' -'120','val_120','2008-04-09','12' -'131','val_131','2008-04-09','12' -'51','val_51','2008-04-09','12' -'404','val_404','2008-04-09','12' -'43','val_43','2008-04-09','12' -'436','val_436','2008-04-09','12' -'156','val_156','2008-04-09','12' -'469','val_469','2008-04-09','12' -'468','val_468','2008-04-09','12' -'308','val_308','2008-04-09','12' -'95','val_95','2008-04-09','12' -'196','val_196','2008-04-09','12' -'288','val_288','2008-04-09','12' -'481','val_481','2008-04-09','12' -'457','val_457','2008-04-09','12' -'98','val_98','2008-04-09','12' -'282','val_282','2008-04-09','12' -'197','val_197','2008-04-09','12' -'187','val_187','2008-04-09','12' -'318','val_318','2008-04-09','12' -'318','val_318','2008-04-09','12' -'409','val_409','2008-04-09','12' -'470','val_470','2008-04-09','12' -'137','val_137','2008-04-09','12' -'369','val_369','2008-04-09','12' -'316','val_316','2008-04-09','12' -'169','val_169','2008-04-09','12' -'413','val_413','2008-04-09','12' -'85','val_85','2008-04-09','12' -'77','val_77','2008-04-09','12' -'0','val_0','2008-04-09','12' -'490','val_490','2008-04-09','12' -'87','val_87','2008-04-09','12' -'364','val_364','2008-04-09','12' -'179','val_179','2008-04-09','12' -'118','val_118','2008-04-09','12' -'134','val_134','2008-04-09','12' -'395','val_395','2008-04-09','12' -'282','val_282','2008-04-09','12' -'138','val_138','2008-04-09','12' -'238','val_238','2008-04-09','12' -'419','val_419','2008-04-09','12' -'15','val_15','2008-04-09','12' -'118','val_118','2008-04-09','12' -'72','val_72','2008-04-09','12' -'90','val_90','2008-04-09','12' -'307','val_307','2008-04-09','12' -'19','val_19','2008-04-09','12' -'435','val_435','2008-04-09','12' -'10','val_10','2008-04-09','12' -'277','val_277','2008-04-09','12' -'273','val_273','2008-04-09','12' -'306','val_306','2008-04-09','12' -'224','val_224','2008-04-09','12' -'309','val_309','2008-04-09','12' -'389','val_389','2008-04-09','12' -'327','val_327','2008-04-09','12' -'242','val_242','2008-04-09','12' -'369','val_369','2008-04-09','12' -'392','val_392','2008-04-09','12' -'272','val_272','2008-04-09','12' -'331','val_331','2008-04-09','12' -'401','val_401','2008-04-09','12' -'242','val_242','2008-04-09','12' -'452','val_452','2008-04-09','12' -'177','val_177','2008-04-09','12' -'226','val_226','2008-04-09','12' -'5','val_5','2008-04-09','12' -'497','val_497','2008-04-09','12' -'402','val_402','2008-04-09','12' -'396','val_396','2008-04-09','12' -'317','val_317','2008-04-09','12' -'395','val_395','2008-04-09','12' -'58','val_58','2008-04-09','12' -'35','val_35','2008-04-09','12' -'336','val_336','2008-04-09','12' -'95','val_95','2008-04-09','12' -'11','val_11','2008-04-09','12' -'168','val_168','2008-04-09','12' -'34','val_34','2008-04-09','12' -'229','val_229','2008-04-09','12' -'233','val_233','2008-04-09','12' -'143','val_143','2008-04-09','12' -'472','val_472','2008-04-09','12' -'322','val_322','2008-04-09','12' -'498','val_498','2008-04-09','12' -'160','val_160','2008-04-09','12' -'195','val_195','2008-04-09','12' -'42','val_42','2008-04-09','12' -'321','val_321','2008-04-09','12' -'430','val_430','2008-04-09','12' -'119','val_119','2008-04-09','12' -'489','val_489','2008-04-09','12' -'458','val_458','2008-04-09','12' -'78','val_78','2008-04-09','12' -'76','val_76','2008-04-09','12' -'41','val_41','2008-04-09','12' -'223','val_223','2008-04-09','12' -'492','val_492','2008-04-09','12' -'149','val_149','2008-04-09','12' -'449','val_449','2008-04-09','12' -'218','val_218','2008-04-09','12' -'228','val_228','2008-04-09','12' -'138','val_138','2008-04-09','12' -'453','val_453','2008-04-09','12' -'30','val_30','2008-04-09','12' -'209','val_209','2008-04-09','12' -'64','val_64','2008-04-09','12' -'468','val_468','2008-04-09','12' -'76','val_76','2008-04-09','12' -'74','val_74','2008-04-09','12' -'342','val_342','2008-04-09','12' -'69','val_69','2008-04-09','12' -'230','val_230','2008-04-09','12' -'33','val_33','2008-04-09','12' -'368','val_368','2008-04-09','12' -'103','val_103','2008-04-09','12' -'296','val_296','2008-04-09','12' -'113','val_113','2008-04-09','12' -'216','val_216','2008-04-09','12' -'367','val_367','2008-04-09','12' -'344','val_344','2008-04-09','12' -'167','val_167','2008-04-09','12' -'274','val_274','2008-04-09','12' -'219','val_219','2008-04-09','12' -'239','val_239','2008-04-09','12' -'485','val_485','2008-04-09','12' -'116','val_116','2008-04-09','12' -'223','val_223','2008-04-09','12' -'256','val_256','2008-04-09','12' -'263','val_263','2008-04-09','12' -'70','val_70','2008-04-09','12' -'487','val_487','2008-04-09','12' -'480','val_480','2008-04-09','12' -'401','val_401','2008-04-09','12' -'288','val_288','2008-04-09','12' -'191','val_191','2008-04-09','12' -'5','val_5','2008-04-09','12' -'244','val_244','2008-04-09','12' -'438','val_438','2008-04-09','12' -'128','val_128','2008-04-09','12' -'467','val_467','2008-04-09','12' -'432','val_432','2008-04-09','12' -'202','val_202','2008-04-09','12' -'316','val_316','2008-04-09','12' -'229','val_229','2008-04-09','12' -'469','val_469','2008-04-09','12' -'463','val_463','2008-04-09','12' -'280','val_280','2008-04-09','12' -'2','val_2','2008-04-09','12' -'35','val_35','2008-04-09','12' -'283','val_283','2008-04-09','12' -'331','val_331','2008-04-09','12' -'235','val_235','2008-04-09','12' -'80','val_80','2008-04-09','12' -'44','val_44','2008-04-09','12' -'193','val_193','2008-04-09','12' -'321','val_321','2008-04-09','12' -'335','val_335','2008-04-09','12' -'104','val_104','2008-04-09','12' -'466','val_466','2008-04-09','12' -'366','val_366','2008-04-09','12' -'175','val_175','2008-04-09','12' -'403','val_403','2008-04-09','12' -'483','val_483','2008-04-09','12' -'53','val_53','2008-04-09','12' -'105','val_105','2008-04-09','12' -'257','val_257','2008-04-09','12' -'406','val_406','2008-04-09','12' -'409','val_409','2008-04-09','12' -'190','val_190','2008-04-09','12' -'406','val_406','2008-04-09','12' -'401','val_401','2008-04-09','12' -'114','val_114','2008-04-09','12' -'258','val_258','2008-04-09','12' -'90','val_90','2008-04-09','12' -'203','val_203','2008-04-09','12' -'262','val_262','2008-04-09','12' -'348','val_348','2008-04-09','12' -'424','val_424','2008-04-09','12' -'12','val_12','2008-04-09','12' -'396','val_396','2008-04-09','12' -'201','val_201','2008-04-09','12' -'217','val_217','2008-04-09','12' -'164','val_164','2008-04-09','12' -'431','val_431','2008-04-09','12' -'454','val_454','2008-04-09','12' -'478','val_478','2008-04-09','12' -'298','val_298','2008-04-09','12' -'125','val_125','2008-04-09','12' -'431','val_431','2008-04-09','12' -'164','val_164','2008-04-09','12' -'424','val_424','2008-04-09','12' -'187','val_187','2008-04-09','12' -'382','val_382','2008-04-09','12' -'5','val_5','2008-04-09','12' -'70','val_70','2008-04-09','12' -'397','val_397','2008-04-09','12' -'480','val_480','2008-04-09','12' -'291','val_291','2008-04-09','12' -'24','val_24','2008-04-09','12' -'351','val_351','2008-04-09','12' -'255','val_255','2008-04-09','12' -'104','val_104','2008-04-09','12' -'70','val_70','2008-04-09','12' -'163','val_163','2008-04-09','12' -'438','val_438','2008-04-09','12' -'119','val_119','2008-04-09','12' -'414','val_414','2008-04-09','12' -'200','val_200','2008-04-09','12' -'491','val_491','2008-04-09','12' -'237','val_237','2008-04-09','12' -'439','val_439','2008-04-09','12' -'360','val_360','2008-04-09','12' -'248','val_248','2008-04-09','12' -'479','val_479','2008-04-09','12' -'305','val_305','2008-04-09','12' -'417','val_417','2008-04-09','12' -'199','val_199','2008-04-09','12' -'444','val_444','2008-04-09','12' -'120','val_120','2008-04-09','12' -'429','val_429','2008-04-09','12' -'169','val_169','2008-04-09','12' -'443','val_443','2008-04-09','12' -'323','val_323','2008-04-09','12' -'325','val_325','2008-04-09','12' -'277','val_277','2008-04-09','12' -'230','val_230','2008-04-09','12' -'478','val_478','2008-04-09','12' -'178','val_178','2008-04-09','12' -'468','val_468','2008-04-09','12' -'310','val_310','2008-04-09','12' -'317','val_317','2008-04-09','12' -'333','val_333','2008-04-09','12' -'493','val_493','2008-04-09','12' -'460','val_460','2008-04-09','12' -'207','val_207','2008-04-09','12' -'249','val_249','2008-04-09','12' -'265','val_265','2008-04-09','12' -'480','val_480','2008-04-09','12' -'83','val_83','2008-04-09','12' -'136','val_136','2008-04-09','12' -'353','val_353','2008-04-09','12' -'172','val_172','2008-04-09','12' -'214','val_214','2008-04-09','12' -'462','val_462','2008-04-09','12' -'233','val_233','2008-04-09','12' -'406','val_406','2008-04-09','12' -'133','val_133','2008-04-09','12' -'175','val_175','2008-04-09','12' -'189','val_189','2008-04-09','12' -'454','val_454','2008-04-09','12' -'375','val_375','2008-04-09','12' -'401','val_401','2008-04-09','12' -'421','val_421','2008-04-09','12' -'407','val_407','2008-04-09','12' -'384','val_384','2008-04-09','12' -'256','val_256','2008-04-09','12' -'26','val_26','2008-04-09','12' -'134','val_134','2008-04-09','12' -'67','val_67','2008-04-09','12' -'384','val_384','2008-04-09','12' -'379','val_379','2008-04-09','12' -'18','val_18','2008-04-09','12' -'462','val_462','2008-04-09','12' -'492','val_492','2008-04-09','12' -'100','val_100','2008-04-09','12' -'298','val_298','2008-04-09','12' -'9','val_9','2008-04-09','12' -'341','val_341','2008-04-09','12' -'498','val_498','2008-04-09','12' -'146','val_146','2008-04-09','12' -'458','val_458','2008-04-09','12' -'362','val_362','2008-04-09','12' -'186','val_186','2008-04-09','12' -'285','val_285','2008-04-09','12' -'348','val_348','2008-04-09','12' -'167','val_167','2008-04-09','12' -'18','val_18','2008-04-09','12' -'273','val_273','2008-04-09','12' -'183','val_183','2008-04-09','12' -'281','val_281','2008-04-09','12' -'344','val_344','2008-04-09','12' -'97','val_97','2008-04-09','12' -'469','val_469','2008-04-09','12' -'315','val_315','2008-04-09','12' -'84','val_84','2008-04-09','12' -'28','val_28','2008-04-09','12' -'37','val_37','2008-04-09','12' -'448','val_448','2008-04-09','12' -'152','val_152','2008-04-09','12' -'348','val_348','2008-04-09','12' -'307','val_307','2008-04-09','12' -'194','val_194','2008-04-09','12' -'414','val_414','2008-04-09','12' -'477','val_477','2008-04-09','12' -'222','val_222','2008-04-09','12' -'126','val_126','2008-04-09','12' -'90','val_90','2008-04-09','12' -'169','val_169','2008-04-09','12' -'403','val_403','2008-04-09','12' -'400','val_400','2008-04-09','12' -'200','val_200','2008-04-09','12' -'97','val_97','2008-04-09','12' -2,000 rows selected ->>> ->>> explain select key from srcpart; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' srcpart ' -' TableScan' -' alias: srcpart' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -31 rows selected ->>> select key from srcpart; -'key' -'238' -'86' -'311' -'27' -'165' -'409' -'255' -'278' -'98' -'484' -'265' -'193' -'401' -'150' -'273' -'224' -'369' -'66' -'128' -'213' -'146' -'406' -'429' -'374' -'152' -'469' -'145' -'495' -'37' -'327' -'281' -'277' -'209' -'15' -'82' -'403' -'166' -'417' -'430' -'252' -'292' -'219' -'287' -'153' -'193' -'338' -'446' -'459' -'394' -'237' -'482' -'174' -'413' -'494' -'207' -'199' -'466' -'208' -'174' -'399' -'396' -'247' -'417' -'489' -'162' -'377' -'397' -'309' -'365' -'266' -'439' -'342' -'367' -'325' -'167' -'195' -'475' -'17' -'113' -'155' -'203' -'339' -'0' -'455' -'128' -'311' -'316' -'57' -'302' -'205' -'149' -'438' -'345' -'129' -'170' -'20' -'489' -'157' -'378' -'221' -'92' -'111' -'47' -'72' -'4' -'280' -'35' -'427' -'277' -'208' -'356' -'399' -'169' -'382' -'498' -'125' -'386' -'437' -'469' -'192' -'286' -'187' -'176' -'54' -'459' -'51' -'138' -'103' -'239' -'213' -'216' -'430' -'278' -'176' -'289' -'221' -'65' -'318' -'332' -'311' -'275' -'137' -'241' -'83' -'333' -'180' -'284' -'12' -'230' -'181' -'67' -'260' -'404' -'384' -'489' -'353' -'373' -'272' -'138' -'217' -'84' -'348' -'466' -'58' -'8' -'411' -'230' -'208' -'348' -'24' -'463' -'431' -'179' -'172' -'42' -'129' -'158' -'119' -'496' -'0' -'322' -'197' -'468' -'393' -'454' -'100' -'298' -'199' -'191' -'418' -'96' -'26' -'165' -'327' -'230' -'205' -'120' -'131' -'51' -'404' -'43' -'436' -'156' -'469' -'468' -'308' -'95' -'196' -'288' -'481' -'457' -'98' -'282' -'197' -'187' -'318' -'318' -'409' -'470' -'137' -'369' -'316' -'169' -'413' -'85' -'77' -'0' -'490' -'87' -'364' -'179' -'118' -'134' -'395' -'282' -'138' -'238' -'419' -'15' -'118' -'72' -'90' -'307' -'19' -'435' -'10' -'277' -'273' -'306' -'224' -'309' -'389' -'327' -'242' -'369' -'392' -'272' -'331' -'401' -'242' -'452' -'177' -'226' -'5' -'497' -'402' -'396' -'317' -'395' -'58' -'35' -'336' -'95' -'11' -'168' -'34' -'229' -'233' -'143' -'472' -'322' -'498' -'160' -'195' -'42' -'321' -'430' -'119' -'489' -'458' -'78' -'76' -'41' -'223' -'492' -'149' -'449' -'218' -'228' -'138' -'453' -'30' -'209' -'64' -'468' -'76' -'74' -'342' -'69' -'230' -'33' -'368' -'103' -'296' -'113' -'216' -'367' -'344' -'167' -'274' -'219' -'239' -'485' -'116' -'223' -'256' -'263' -'70' -'487' -'480' -'401' -'288' -'191' -'5' -'244' -'438' -'128' -'467' -'432' -'202' -'316' -'229' -'469' -'463' -'280' -'2' -'35' -'283' -'331' -'235' -'80' -'44' -'193' -'321' -'335' -'104' -'466' -'366' -'175' -'403' -'483' -'53' -'105' -'257' -'406' -'409' -'190' -'406' -'401' -'114' -'258' -'90' -'203' -'262' -'348' -'424' -'12' -'396' -'201' -'217' -'164' -'431' -'454' -'478' -'298' -'125' -'431' -'164' -'424' -'187' -'382' -'5' -'70' -'397' -'480' -'291' -'24' -'351' -'255' -'104' -'70' -'163' -'438' -'119' -'414' -'200' -'491' -'237' -'439' -'360' -'248' -'479' -'305' -'417' -'199' -'444' -'120' -'429' -'169' -'443' -'323' -'325' -'277' -'230' -'478' -'178' -'468' -'310' -'317' -'333' -'493' -'460' -'207' -'249' -'265' -'480' -'83' -'136' -'353' -'172' -'214' -'462' -'233' -'406' -'133' -'175' -'189' -'454' -'375' -'401' -'421' -'407' -'384' -'256' -'26' -'134' -'67' -'384' -'379' -'18' -'462' -'492' -'100' -'298' -'9' -'341' -'498' -'146' -'458' -'362' -'186' -'285' -'348' -'167' -'18' -'273' -'183' -'281' -'344' -'97' -'469' -'315' -'84' -'28' -'37' -'448' -'152' -'348' -'307' -'194' -'414' -'477' -'222' -'126' -'90' -'169' -'403' -'400' -'200' -'97' -'238' -'86' -'311' -'27' -'165' -'409' -'255' -'278' -'98' -'484' -'265' -'193' -'401' -'150' -'273' -'224' -'369' -'66' -'128' -'213' -'146' -'406' -'429' -'374' -'152' -'469' -'145' -'495' -'37' -'327' -'281' -'277' -'209' -'15' -'82' -'403' -'166' -'417' -'430' -'252' -'292' -'219' -'287' -'153' -'193' -'338' -'446' -'459' -'394' -'237' -'482' -'174' -'413' -'494' -'207' -'199' -'466' -'208' -'174' -'399' -'396' -'247' -'417' -'489' -'162' -'377' -'397' -'309' -'365' -'266' -'439' -'342' -'367' -'325' -'167' -'195' -'475' -'17' -'113' -'155' -'203' -'339' -'0' -'455' -'128' -'311' -'316' -'57' -'302' -'205' -'149' -'438' -'345' -'129' -'170' -'20' -'489' -'157' -'378' -'221' -'92' -'111' -'47' -'72' -'4' -'280' -'35' -'427' -'277' -'208' -'356' -'399' -'169' -'382' -'498' -'125' -'386' -'437' -'469' -'192' -'286' -'187' -'176' -'54' -'459' -'51' -'138' -'103' -'239' -'213' -'216' -'430' -'278' -'176' -'289' -'221' -'65' -'318' -'332' -'311' -'275' -'137' -'241' -'83' -'333' -'180' -'284' -'12' -'230' -'181' -'67' -'260' -'404' -'384' -'489' -'353' -'373' -'272' -'138' -'217' -'84' -'348' -'466' -'58' -'8' -'411' -'230' -'208' -'348' -'24' -'463' -'431' -'179' -'172' -'42' -'129' -'158' -'119' -'496' -'0' -'322' -'197' -'468' -'393' -'454' -'100' -'298' -'199' -'191' -'418' -'96' -'26' -'165' -'327' -'230' -'205' -'120' -'131' -'51' -'404' -'43' -'436' -'156' -'469' -'468' -'308' -'95' -'196' -'288' -'481' -'457' -'98' -'282' -'197' -'187' -'318' -'318' -'409' -'470' -'137' -'369' -'316' -'169' -'413' -'85' -'77' -'0' -'490' -'87' -'364' -'179' -'118' -'134' -'395' -'282' -'138' -'238' -'419' -'15' -'118' -'72' -'90' -'307' -'19' -'435' -'10' -'277' -'273' -'306' -'224' -'309' -'389' -'327' -'242' -'369' -'392' -'272' -'331' -'401' -'242' -'452' -'177' -'226' -'5' -'497' -'402' -'396' -'317' -'395' -'58' -'35' -'336' -'95' -'11' -'168' -'34' -'229' -'233' -'143' -'472' -'322' -'498' -'160' -'195' -'42' -'321' -'430' -'119' -'489' -'458' -'78' -'76' -'41' -'223' -'492' -'149' -'449' -'218' -'228' -'138' -'453' -'30' -'209' -'64' -'468' -'76' -'74' -'342' -'69' -'230' -'33' -'368' -'103' -'296' -'113' -'216' -'367' -'344' -'167' -'274' -'219' -'239' -'485' -'116' -'223' -'256' -'263' -'70' -'487' -'480' -'401' -'288' -'191' -'5' -'244' -'438' -'128' -'467' -'432' -'202' -'316' -'229' -'469' -'463' -'280' -'2' -'35' -'283' -'331' -'235' -'80' -'44' -'193' -'321' -'335' -'104' -'466' -'366' -'175' -'403' -'483' -'53' -'105' -'257' -'406' -'409' -'190' -'406' -'401' -'114' -'258' -'90' -'203' -'262' -'348' -'424' -'12' -'396' -'201' -'217' -'164' -'431' -'454' -'478' -'298' -'125' -'431' -'164' -'424' -'187' -'382' -'5' -'70' -'397' -'480' -'291' -'24' -'351' -'255' -'104' -'70' -'163' -'438' -'119' -'414' -'200' -'491' -'237' -'439' -'360' -'248' -'479' -'305' -'417' -'199' -'444' -'120' -'429' -'169' -'443' -'323' -'325' -'277' -'230' -'478' -'178' -'468' -'310' -'317' -'333' -'493' -'460' -'207' -'249' -'265' -'480' -'83' -'136' -'353' -'172' -'214' -'462' -'233' -'406' -'133' -'175' -'189' -'454' -'375' -'401' -'421' -'407' -'384' -'256' -'26' -'134' -'67' -'384' -'379' -'18' -'462' -'492' -'100' -'298' -'9' -'341' -'498' -'146' -'458' -'362' -'186' -'285' -'348' -'167' -'18' -'273' -'183' -'281' -'344' -'97' -'469' -'315' -'84' -'28' -'37' -'448' -'152' -'348' -'307' -'194' -'414' -'477' -'222' -'126' -'90' -'169' -'403' -'400' -'200' -'97' -'238' -'86' -'311' -'27' -'165' -'409' -'255' -'278' -'98' -'484' -'265' -'193' -'401' -'150' -'273' -'224' -'369' -'66' -'128' -'213' -'146' -'406' -'429' -'374' -'152' -'469' -'145' -'495' -'37' -'327' -'281' -'277' -'209' -'15' -'82' -'403' -'166' -'417' -'430' -'252' -'292' -'219' -'287' -'153' -'193' -'338' -'446' -'459' -'394' -'237' -'482' -'174' -'413' -'494' -'207' -'199' -'466' -'208' -'174' -'399' -'396' -'247' -'417' -'489' -'162' -'377' -'397' -'309' -'365' -'266' -'439' -'342' -'367' -'325' -'167' -'195' -'475' -'17' -'113' -'155' -'203' -'339' -'0' -'455' -'128' -'311' -'316' -'57' -'302' -'205' -'149' -'438' -'345' -'129' -'170' -'20' -'489' -'157' -'378' -'221' -'92' -'111' -'47' -'72' -'4' -'280' -'35' -'427' -'277' -'208' -'356' -'399' -'169' -'382' -'498' -'125' -'386' -'437' -'469' -'192' -'286' -'187' -'176' -'54' -'459' -'51' -'138' -'103' -'239' -'213' -'216' -'430' -'278' -'176' -'289' -'221' -'65' -'318' -'332' -'311' -'275' -'137' -'241' -'83' -'333' -'180' -'284' -'12' -'230' -'181' -'67' -'260' -'404' -'384' -'489' -'353' -'373' -'272' -'138' -'217' -'84' -'348' -'466' -'58' -'8' -'411' -'230' -'208' -'348' -'24' -'463' -'431' -'179' -'172' -'42' -'129' -'158' -'119' -'496' -'0' -'322' -'197' -'468' -'393' -'454' -'100' -'298' -'199' -'191' -'418' -'96' -'26' -'165' -'327' -'230' -'205' -'120' -'131' -'51' -'404' -'43' -'436' -'156' -'469' -'468' -'308' -'95' -'196' -'288' -'481' -'457' -'98' -'282' -'197' -'187' -'318' -'318' -'409' -'470' -'137' -'369' -'316' -'169' -'413' -'85' -'77' -'0' -'490' -'87' -'364' -'179' -'118' -'134' -'395' -'282' -'138' -'238' -'419' -'15' -'118' -'72' -'90' -'307' -'19' -'435' -'10' -'277' -'273' -'306' -'224' -'309' -'389' -'327' -'242' -'369' -'392' -'272' -'331' -'401' -'242' -'452' -'177' -'226' -'5' -'497' -'402' -'396' -'317' -'395' -'58' -'35' -'336' -'95' -'11' -'168' -'34' -'229' -'233' -'143' -'472' -'322' -'498' -'160' -'195' -'42' -'321' -'430' -'119' -'489' -'458' -'78' -'76' -'41' -'223' -'492' -'149' -'449' -'218' -'228' -'138' -'453' -'30' -'209' -'64' -'468' -'76' -'74' -'342' -'69' -'230' -'33' -'368' -'103' -'296' -'113' -'216' -'367' -'344' -'167' -'274' -'219' -'239' -'485' -'116' -'223' -'256' -'263' -'70' -'487' -'480' -'401' -'288' -'191' -'5' -'244' -'438' -'128' -'467' -'432' -'202' -'316' -'229' -'469' -'463' -'280' -'2' -'35' -'283' -'331' -'235' -'80' -'44' -'193' -'321' -'335' -'104' -'466' -'366' -'175' -'403' -'483' -'53' -'105' -'257' -'406' -'409' -'190' -'406' -'401' -'114' -'258' -'90' -'203' -'262' -'348' -'424' -'12' -'396' -'201' -'217' -'164' -'431' -'454' -'478' -'298' -'125' -'431' -'164' -'424' -'187' -'382' -'5' -'70' -'397' -'480' -'291' -'24' -'351' -'255' -'104' -'70' -'163' -'438' -'119' -'414' -'200' -'491' -'237' -'439' -'360' -'248' -'479' -'305' -'417' -'199' -'444' -'120' -'429' -'169' -'443' -'323' -'325' -'277' -'230' -'478' -'178' -'468' -'310' -'317' -'333' -'493' -'460' -'207' -'249' -'265' -'480' -'83' -'136' -'353' -'172' -'214' -'462' -'233' -'406' -'133' -'175' -'189' -'454' -'375' -'401' -'421' -'407' -'384' -'256' -'26' -'134' -'67' -'384' -'379' -'18' -'462' -'492' -'100' -'298' -'9' -'341' -'498' -'146' -'458' -'362' -'186' -'285' -'348' -'167' -'18' -'273' -'183' -'281' -'344' -'97' -'469' -'315' -'84' -'28' -'37' -'448' -'152' -'348' -'307' -'194' -'414' -'477' -'222' -'126' -'90' -'169' -'403' -'400' -'200' -'97' -'238' -'86' -'311' -'27' -'165' -'409' -'255' -'278' -'98' -'484' -'265' -'193' -'401' -'150' -'273' -'224' -'369' -'66' -'128' -'213' -'146' -'406' -'429' -'374' -'152' -'469' -'145' -'495' -'37' -'327' -'281' -'277' -'209' -'15' -'82' -'403' -'166' -'417' -'430' -'252' -'292' -'219' -'287' -'153' -'193' -'338' -'446' -'459' -'394' -'237' -'482' -'174' -'413' -'494' -'207' -'199' -'466' -'208' -'174' -'399' -'396' -'247' -'417' -'489' -'162' -'377' -'397' -'309' -'365' -'266' -'439' -'342' -'367' -'325' -'167' -'195' -'475' -'17' -'113' -'155' -'203' -'339' -'0' -'455' -'128' -'311' -'316' -'57' -'302' -'205' -'149' -'438' -'345' -'129' -'170' -'20' -'489' -'157' -'378' -'221' -'92' -'111' -'47' -'72' -'4' -'280' -'35' -'427' -'277' -'208' -'356' -'399' -'169' -'382' -'498' -'125' -'386' -'437' -'469' -'192' -'286' -'187' -'176' -'54' -'459' -'51' -'138' -'103' -'239' -'213' -'216' -'430' -'278' -'176' -'289' -'221' -'65' -'318' -'332' -'311' -'275' -'137' -'241' -'83' -'333' -'180' -'284' -'12' -'230' -'181' -'67' -'260' -'404' -'384' -'489' -'353' -'373' -'272' -'138' -'217' -'84' -'348' -'466' -'58' -'8' -'411' -'230' -'208' -'348' -'24' -'463' -'431' -'179' -'172' -'42' -'129' -'158' -'119' -'496' -'0' -'322' -'197' -'468' -'393' -'454' -'100' -'298' -'199' -'191' -'418' -'96' -'26' -'165' -'327' -'230' -'205' -'120' -'131' -'51' -'404' -'43' -'436' -'156' -'469' -'468' -'308' -'95' -'196' -'288' -'481' -'457' -'98' -'282' -'197' -'187' -'318' -'318' -'409' -'470' -'137' -'369' -'316' -'169' -'413' -'85' -'77' -'0' -'490' -'87' -'364' -'179' -'118' -'134' -'395' -'282' -'138' -'238' -'419' -'15' -'118' -'72' -'90' -'307' -'19' -'435' -'10' -'277' -'273' -'306' -'224' -'309' -'389' -'327' -'242' -'369' -'392' -'272' -'331' -'401' -'242' -'452' -'177' -'226' -'5' -'497' -'402' -'396' -'317' -'395' -'58' -'35' -'336' -'95' -'11' -'168' -'34' -'229' -'233' -'143' -'472' -'322' -'498' -'160' -'195' -'42' -'321' -'430' -'119' -'489' -'458' -'78' -'76' -'41' -'223' -'492' -'149' -'449' -'218' -'228' -'138' -'453' -'30' -'209' -'64' -'468' -'76' -'74' -'342' -'69' -'230' -'33' -'368' -'103' -'296' -'113' -'216' -'367' -'344' -'167' -'274' -'219' -'239' -'485' -'116' -'223' -'256' -'263' -'70' -'487' -'480' -'401' -'288' -'191' -'5' -'244' -'438' -'128' -'467' -'432' -'202' -'316' -'229' -'469' -'463' -'280' -'2' -'35' -'283' -'331' -'235' -'80' -'44' -'193' -'321' -'335' -'104' -'466' -'366' -'175' -'403' -'483' -'53' -'105' -'257' -'406' -'409' -'190' -'406' -'401' -'114' -'258' -'90' -'203' -'262' -'348' -'424' -'12' -'396' -'201' -'217' -'164' -'431' -'454' -'478' -'298' -'125' -'431' -'164' -'424' -'187' -'382' -'5' -'70' -'397' -'480' -'291' -'24' -'351' -'255' -'104' -'70' -'163' -'438' -'119' -'414' -'200' -'491' -'237' -'439' -'360' -'248' -'479' -'305' -'417' -'199' -'444' -'120' -'429' -'169' -'443' -'323' -'325' -'277' -'230' -'478' -'178' -'468' -'310' -'317' -'333' -'493' -'460' -'207' -'249' -'265' -'480' -'83' -'136' -'353' -'172' -'214' -'462' -'233' -'406' -'133' -'175' -'189' -'454' -'375' -'401' -'421' -'407' -'384' -'256' -'26' -'134' -'67' -'384' -'379' -'18' -'462' -'492' -'100' -'298' -'9' -'341' -'498' -'146' -'458' -'362' -'186' -'285' -'348' -'167' -'18' -'273' -'183' -'281' -'344' -'97' -'469' -'315' -'84' -'28' -'37' -'448' -'152' -'348' -'307' -'194' -'414' -'477' -'222' -'126' -'90' -'169' -'403' -'400' -'200' -'97' -2,000 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/print_header.q.out ql/src/test/results/beelinepositive/print_header.q.out deleted file mode 100644 index 780aa9c..0000000 --- ql/src/test/results/beelinepositive/print_header.q.out +++ /dev/null @@ -1,43 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/print_header.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/print_header.q ->>> ->>> set hive.cli.print.header=true; -No rows affected ->>> ->>> SELECT src1.key as k1, src1.value as v1, -src2.key as k2, src2.value as v2 FROM -(SELECT * FROM src WHERE src.key < 10) src1 -JOIN -(SELECT * FROM src WHERE src.key < 10) src2 -SORT BY k1, v1, k2, v2 -LIMIT 10; -'k1','v1','k2','v2' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','2','val_2' -10 rows selected ->>> ->>> SELECT src.key, sum(substr(src.value,5)) FROM src GROUP BY src.key LIMIT 10; -'key','_c1' -'0','0.0' -'10','10.0' -'100','200.0' -'103','206.0' -'104','208.0' -'105','105.0' -'11','11.0' -'111','111.0' -'113','226.0' -'114','114.0' -10 rows selected ->>> ->>> use default; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/progress_1.q.out ql/src/test/results/beelinepositive/progress_1.q.out deleted file mode 100644 index ef08dca..0000000 --- ql/src/test/results/beelinepositive/progress_1.q.out +++ /dev/null @@ -1,18 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/progress_1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/progress_1.q ->>> set hive.heartbeat.interval=5; -No rows affected ->>> ->>> ->>> CREATE TABLE PROGRESS_1(key int, value string) STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/kv6.txt' INTO TABLE PROGRESS_1; -No rows affected ->>> ->>> select count(1) from PROGRESS_1 t1 join PROGRESS_1 t2 on t1.key=t2.key; -'_c0' -'5000' -1 row selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/protectmode.q.out ql/src/test/results/beelinepositive/protectmode.q.out deleted file mode 100644 index 2e26cc3..0000000 --- ql/src/test/results/beelinepositive/protectmode.q.out +++ /dev/null @@ -1,160 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/protectmode.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/protectmode.q ->>> -- protect mode: syntax to change protect mode works and queries are not blocked if a table or partition is not in protect mode ->>> ->>> drop table tbl1; -No rows affected ->>> drop table tbl2; -No rows affected ->>> ->>> create table tbl1 (col string); -No rows affected ->>> select * from tbl1; -'col' -No rows selected ->>> select col from tbl1; -'col' -No rows selected ->>> alter table tbl1 enable offline; -No rows affected ->>> desc extended tbl1; -'col_name','data_type','comment' -'col','string','' -'','','' -'Detailed Table Information','Table(tableName:tbl1, dbName:protectmode, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:col, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/protectmode.db/tbl1, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{last_modified_by=!!ELIDED!!, last_modified_time=!!UNIXTIME!!, PROTECT_MODE=OFFLINE, transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -3 rows selected ->>> alter table tbl1 disable offline; -No rows affected ->>> desc extended tbl1; -'col_name','data_type','comment' -'col','string','' -'','','' -'Detailed Table Information','Table(tableName:tbl1, dbName:protectmode, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:col, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/protectmode.db/tbl1, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{last_modified_by=!!ELIDED!!, last_modified_time=!!UNIXTIME!!, transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -3 rows selected ->>> select * from tbl1; -'col' -No rows selected ->>> select col from tbl1; -'col' -No rows selected ->>> ->>> create table tbl2 (col string) partitioned by (p string); -No rows affected ->>> alter table tbl2 add partition (p='p1'); -No rows affected ->>> alter table tbl2 add partition (p='p2'); -No rows affected ->>> alter table tbl2 add partition (p='p3'); -No rows affected ->>> alter table tbl2 drop partition (p='not_exist'); -No rows affected ->>> ->>> select * from tbl2 where p='p1'; -'col','p' -No rows selected ->>> select * from tbl2 where p='p2'; -'col','p' -No rows selected ->>> ->>> alter table tbl2 partition (p='p1') enable offline; -No rows affected ->>> desc extended tbl2 partition (p='p1'); -'col_name','data_type','comment' -'col','string','' -'p','string','' -'','','' -'Detailed Partition Information','Partition(values:[p1], dbName:protectmode, tableName:tbl2, createTime:!!UNIXTIME!!, lastAccessTime:0, sd:StorageDescriptor(cols:[FieldSchema(name:col, type:string, comment:null), FieldSchema(name:p, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/protectmode.db/tbl2/p=p1, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), parameters:{last_modified_by=!!ELIDED!!, last_modified_time=!!UNIXTIME!!, PROTECT_MODE=OFFLINE, transient_lastDdlTime=!!UNIXTIME!!})','' -4 rows selected ->>> ->>> alter table tbl2 enable offline; -No rows affected ->>> desc extended tbl2; -'col_name','data_type','comment' -'col','string','' -'p','string','' -'','','' -'Detailed Table Information','Table(tableName:tbl2, dbName:protectmode, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:col, type:string, comment:null), FieldSchema(name:p, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/protectmode.db/tbl2, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:p, type:string, comment:null)], parameters:{last_modified_by=!!ELIDED!!, last_modified_time=!!UNIXTIME!!, PROTECT_MODE=OFFLINE, transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -4 rows selected ->>> ->>> alter table tbl2 enable no_drop; -No rows affected ->>> desc extended tbl2; -'col_name','data_type','comment' -'col','string','' -'p','string','' -'','','' -'Detailed Table Information','Table(tableName:tbl2, dbName:protectmode, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:col, type:string, comment:null), FieldSchema(name:p, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/protectmode.db/tbl2, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:p, type:string, comment:null)], parameters:{last_modified_by=!!ELIDED!!, last_modified_time=!!UNIXTIME!!, PROTECT_MODE=OFFLINE,NO_DROP, transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -4 rows selected ->>> alter table tbl2 drop partition (p='p3'); -No rows affected ->>> ->>> alter table tbl2 disable offline; -No rows affected ->>> desc extended tbl2; -'col_name','data_type','comment' -'col','string','' -'p','string','' -'','','' -'Detailed Table Information','Table(tableName:tbl2, dbName:protectmode, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:col, type:string, comment:null), FieldSchema(name:p, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/protectmode.db/tbl2, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:p, type:string, comment:null)], parameters:{last_modified_by=!!ELIDED!!, last_modified_time=!!UNIXTIME!!, PROTECT_MODE=NO_DROP, transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -4 rows selected ->>> ->>> alter table tbl2 disable no_drop; -No rows affected ->>> desc extended tbl2; -'col_name','data_type','comment' -'col','string','' -'p','string','' -'','','' -'Detailed Table Information','Table(tableName:tbl2, dbName:protectmode, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:col, type:string, comment:null), FieldSchema(name:p, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/protectmode.db/tbl2, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:p, type:string, comment:null)], parameters:{last_modified_by=!!ELIDED!!, last_modified_time=!!UNIXTIME!!, transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -4 rows selected ->>> ->>> select * from tbl2 where p='p2'; -'col','p' -No rows selected ->>> select col from tbl2 where p='p2'; -'col' -No rows selected ->>> ->>> alter table tbl2 partition (p='p1') disable offline; -No rows affected ->>> desc extended tbl2 partition (p='p1'); -'col_name','data_type','comment' -'col','string','' -'p','string','' -'','','' -'Detailed Partition Information','Partition(values:[p1], dbName:protectmode, tableName:tbl2, createTime:!!UNIXTIME!!, lastAccessTime:0, sd:StorageDescriptor(cols:[FieldSchema(name:col, type:string, comment:null), FieldSchema(name:p, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/protectmode.db/tbl2/p=p1, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), parameters:{last_modified_by=!!ELIDED!!, last_modified_time=!!UNIXTIME!!, transient_lastDdlTime=!!UNIXTIME!!})','' -4 rows selected ->>> ->>> select * from tbl2 where p='p1'; -'col','p' -No rows selected ->>> select col from tbl2 where p='p1'; -'col' -No rows selected ->>> ->>> insert overwrite table tbl1 select col from tbl2 where p='p1'; -'col' -No rows selected ->>> insert overwrite table tbl1 select col from tbl1; -'col' -No rows selected ->>> ->>> alter table tbl2 partition (p='p1') enable no_drop; -No rows affected ->>> alter table tbl2 partition (p='p1') disable no_drop; -No rows affected ->>> ->>> alter table tbl2 partition (p='p2') enable no_drop; -No rows affected ->>> ->>> alter table tbl2 drop partition (p='p1'); -No rows affected ->>> ->>> alter table tbl2 partition (p='p2') disable no_drop; -No rows affected ->>> ->>> drop table tbl1; -No rows affected ->>> drop table tbl2; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/protectmode2.q.out ql/src/test/results/beelinepositive/protectmode2.q.out deleted file mode 100644 index acaa26b..0000000 --- ql/src/test/results/beelinepositive/protectmode2.q.out +++ /dev/null @@ -1,125 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/protectmode2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/protectmode2.q ->>> drop table tbl1; -No rows affected ->>> ->>> create table tbl1 (col string); -No rows affected ->>> alter table tbl1 enable no_drop cascade; -No rows affected ->>> desc extended tbl1; -'col_name','data_type','comment' -'col','string','' -'','','' -'Detailed Table Information','Table(tableName:tbl1, dbName:protectmode2, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:col, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/protectmode2.db/tbl1, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{last_modified_by=!!ELIDED!!, last_modified_time=!!UNIXTIME!!, PROTECT_MODE=NO_DROP_CASCADE, transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -3 rows selected ->>> alter table tbl1 enable no_drop; -No rows affected ->>> desc extended tbl1; -'col_name','data_type','comment' -'col','string','' -'','','' -'Detailed Table Information','Table(tableName:tbl1, dbName:protectmode2, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:col, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/protectmode2.db/tbl1, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{last_modified_by=!!ELIDED!!, last_modified_time=!!UNIXTIME!!, PROTECT_MODE=NO_DROP,NO_DROP_CASCADE, transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -3 rows selected ->>> alter table tbl1 disable no_drop cascade; -No rows affected ->>> desc extended tbl1; -'col_name','data_type','comment' -'col','string','' -'','','' -'Detailed Table Information','Table(tableName:tbl1, dbName:protectmode2, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:col, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/protectmode2.db/tbl1, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{last_modified_by=!!ELIDED!!, last_modified_time=!!UNIXTIME!!, PROTECT_MODE=NO_DROP, transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -3 rows selected ->>> alter table tbl1 disable no_drop; -No rows affected ->>> ->>> drop table tbl1; -No rows affected ->>> ->>> drop table tbl2; -No rows affected ->>> create table tbl2 (col string) partitioned by (p string); -No rows affected ->>> alter table tbl2 add partition (p='p1'); -No rows affected ->>> alter table tbl2 add partition (p='p2'); -No rows affected ->>> alter table tbl2 add partition (p='p3'); -No rows affected ->>> alter table tbl2 enable no_drop cascade; -No rows affected ->>> desc formatted tbl2; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'col ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'p ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','protectmode2 ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/protectmode2.db/tbl2','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','PROTECT_MODE ','NO_DROP_CASCADE ' -'','last_modified_by ','!!{user.name}!! ' -'','last_modified_time ','!!UNIXTIME!! ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -34 rows selected ->>> alter table tbl2 disable no_drop cascade; -No rows affected ->>> desc formatted tbl2; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'col ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'p ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','protectmode2 ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/protectmode2.db/tbl2','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','last_modified_by ','!!{user.name}!! ' -'','last_modified_time ','!!UNIXTIME!! ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -33 rows selected ->>> drop table tbl2; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/ql_rewrite_gbtoidx.q.out ql/src/test/results/beelinepositive/ql_rewrite_gbtoidx.q.out deleted file mode 100644 index f24161d..0000000 --- ql/src/test/results/beelinepositive/ql_rewrite_gbtoidx.q.out +++ /dev/null @@ -1,3031 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/ql_rewrite_gbtoidx.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/ql_rewrite_gbtoidx.q ->>> ->>> DROP TABLE lineitem; -No rows affected ->>> CREATE TABLE lineitem (L_ORDERKEY INT, -L_PARTKEY INT, -L_SUPPKEY INT, -L_LINENUMBER INT, -L_QUANTITY DOUBLE, -L_EXTENDEDPRICE DOUBLE, -L_DISCOUNT DOUBLE, -L_TAX DOUBLE, -L_RETURNFLAG STRING, -L_LINESTATUS STRING, -l_shipdate STRING, -L_COMMITDATE STRING, -L_RECEIPTDATE STRING, -L_SHIPINSTRUCT STRING, -L_SHIPMODE STRING, -L_COMMENT STRING) -ROW FORMAT DELIMITED -FIELDS TERMINATED BY '|'; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/lineitem.txt' OVERWRITE INTO TABLE lineitem; -No rows affected ->>> ->>> CREATE INDEX lineitem_lshipdate_idx ON TABLE lineitem(l_shipdate) AS 'org.apache.hadoop.hive.ql.index.AggregateIndexHandler' WITH DEFERRED REBUILD IDXPROPERTIES("AGGREGATES"="count(l_shipdate)"); -No rows affected ->>> ALTER INDEX lineitem_lshipdate_idx ON lineitem REBUILD; -No rows affected ->>> ->>> explain select l_shipdate, count(l_shipdate) -from lineitem -group by l_shipdate; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME lineitem))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL l_shipdate)) (TOK_SELEXPR (TOK_FUNCTION count (TOK_TABLE_OR_COL l_shipdate)))) (TOK_GROUPBY (TOK_TABLE_OR_COL l_shipdate))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' lineitem ' -' TableScan' -' alias: lineitem' -' Select Operator' -' expressions:' -' expr: l_shipdate' -' type: string' -' outputColumnNames: l_shipdate' -' Group By Operator' -' aggregations:' -' expr: count(l_shipdate)' -' bucketGroup: false' -' keys:' -' expr: l_shipdate' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -69 rows selected ->>> ->>> select l_shipdate, count(l_shipdate) -from lineitem -group by l_shipdate -order by l_shipdate; -'l_shipdate','_c1' -'1992-04-27','1' -'1992-07-02','1' -'1992-07-10','1' -'1992-07-21','1' -'1993-04-01','1' -'1993-04-13','1' -'1993-05-14','1' -'1993-10-29','2' -'1993-11-09','2' -'1993-12-04','1' -'1993-12-09','2' -'1993-12-14','1' -'1994-01-12','1' -'1994-01-16','1' -'1994-01-26','2' -'1994-02-02','1' -'1994-02-13','1' -'1994-02-19','1' -'1994-02-21','1' -'1994-03-03','1' -'1994-03-17','1' -'1994-06-03','1' -'1994-06-06','1' -'1994-07-02','1' -'1994-07-19','1' -'1994-07-31','1' -'1994-08-08','1' -'1994-08-17','1' -'1994-08-24','1' -'1994-09-30','1' -'1994-10-03','1' -'1994-10-16','1' -'1994-10-31','1' -'1994-12-01','1' -'1994-12-24','1' -'1994-12-30','1' -'1995-04-20','1' -'1995-07-06','1' -'1995-07-17','1' -'1995-07-21','1' -'1995-08-04','1' -'1995-08-07','1' -'1995-08-14','1' -'1995-08-28','1' -'1995-10-23','1' -'1995-11-08','1' -'1995-11-26','1' -'1996-01-10','1' -'1996-01-15','1' -'1996-01-16','1' -'1996-01-19','1' -'1996-01-22','1' -'1996-01-29','1' -'1996-01-30','1' -'1996-02-01','2' -'1996-02-03','1' -'1996-02-10','1' -'1996-02-11','1' -'1996-02-21','1' -'1996-03-13','1' -'1996-03-21','1' -'1996-03-30','1' -'1996-04-12','1' -'1996-04-21','1' -'1996-05-07','1' -'1996-09-26','1' -'1996-09-29','1' -'1996-10-02','1' -'1996-10-17','1' -'1996-11-04','1' -'1996-11-14','1' -'1996-12-08','1' -'1997-01-25','1' -'1997-01-27','1' -'1997-01-28','1' -'1997-02-20','1' -'1997-03-18','1' -'1997-04-17','1' -'1997-04-19','1' -'1998-01-29','1' -'1998-02-23','1' -'1998-03-05','1' -'1998-04-10','1' -'1998-04-12','1' -'1998-05-23','1' -'1998-06-19','1' -'1998-06-24','1' -'1998-06-26','1' -'1998-06-27','1' -'1998-07-04','1' -'1998-08-11','1' -'1998-08-13','1' -'1998-10-09','1' -'1998-10-23','1' -'1998-10-30','1' -95 rows selected ->>> ->>> set hive.optimize.index.groupby=true; -No rows affected ->>> ->>> explain select l_shipdate, count(l_shipdate) -from lineitem -group by l_shipdate; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME lineitem))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL l_shipdate)) (TOK_SELEXPR (TOK_FUNCTION count (TOK_TABLE_OR_COL l_shipdate)))) (TOK_GROUPBY (TOK_TABLE_OR_COL l_shipdate))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' ql_rewrite_gbtoidx__lineitem_lineitem_lshipdate_idx__ ' -' TableScan' -' alias: ql_rewrite_gbtoidx__lineitem_lineitem_lshipdate_idx__' -' Select Operator' -' expressions:' -' expr: l_shipdate' -' type: string' -' expr: _count_of_l_shipdate' -' type: bigint' -' outputColumnNames: l_shipdate, _count_of_l_shipdate' -' Group By Operator' -' aggregations:' -' expr: sum(_count_of_l_shipdate)' -' bucketGroup: true' -' keys:' -' expr: l_shipdate' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -71 rows selected ->>> ->>> select l_shipdate, count(l_shipdate) -from lineitem -group by l_shipdate -order by l_shipdate; -'l_shipdate','_c1' -'1992-04-27','1' -'1992-07-02','1' -'1992-07-10','1' -'1992-07-21','1' -'1993-04-01','1' -'1993-04-13','1' -'1993-05-14','1' -'1993-10-29','2' -'1993-11-09','2' -'1993-12-04','1' -'1993-12-09','2' -'1993-12-14','1' -'1994-01-12','1' -'1994-01-16','1' -'1994-01-26','2' -'1994-02-02','1' -'1994-02-13','1' -'1994-02-19','1' -'1994-02-21','1' -'1994-03-03','1' -'1994-03-17','1' -'1994-06-03','1' -'1994-06-06','1' -'1994-07-02','1' -'1994-07-19','1' -'1994-07-31','1' -'1994-08-08','1' -'1994-08-17','1' -'1994-08-24','1' -'1994-09-30','1' -'1994-10-03','1' -'1994-10-16','1' -'1994-10-31','1' -'1994-12-01','1' -'1994-12-24','1' -'1994-12-30','1' -'1995-04-20','1' -'1995-07-06','1' -'1995-07-17','1' -'1995-07-21','1' -'1995-08-04','1' -'1995-08-07','1' -'1995-08-14','1' -'1995-08-28','1' -'1995-10-23','1' -'1995-11-08','1' -'1995-11-26','1' -'1996-01-10','1' -'1996-01-15','1' -'1996-01-16','1' -'1996-01-19','1' -'1996-01-22','1' -'1996-01-29','1' -'1996-01-30','1' -'1996-02-01','2' -'1996-02-03','1' -'1996-02-10','1' -'1996-02-11','1' -'1996-02-21','1' -'1996-03-13','1' -'1996-03-21','1' -'1996-03-30','1' -'1996-04-12','1' -'1996-04-21','1' -'1996-05-07','1' -'1996-09-26','1' -'1996-09-29','1' -'1996-10-02','1' -'1996-10-17','1' -'1996-11-04','1' -'1996-11-14','1' -'1996-12-08','1' -'1997-01-25','1' -'1997-01-27','1' -'1997-01-28','1' -'1997-02-20','1' -'1997-03-18','1' -'1997-04-17','1' -'1997-04-19','1' -'1998-01-29','1' -'1998-02-23','1' -'1998-03-05','1' -'1998-04-10','1' -'1998-04-12','1' -'1998-05-23','1' -'1998-06-19','1' -'1998-06-24','1' -'1998-06-26','1' -'1998-06-27','1' -'1998-07-04','1' -'1998-08-11','1' -'1998-08-13','1' -'1998-10-09','1' -'1998-10-23','1' -'1998-10-30','1' -95 rows selected ->>> ->>> set hive.optimize.index.groupby=false; -No rows affected ->>> ->>> ->>> explain select year(l_shipdate) as year, -month(l_shipdate) as month, -count(l_shipdate) as monthly_shipments -from lineitem -group by year(l_shipdate), month(l_shipdate) -order by year, month; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME lineitem))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION year (TOK_TABLE_OR_COL l_shipdate)) year) (TOK_SELEXPR (TOK_FUNCTION month (TOK_TABLE_OR_COL l_shipdate)) month) (TOK_SELEXPR (TOK_FUNCTION count (TOK_TABLE_OR_COL l_shipdate)) monthly_shipments)) (TOK_GROUPBY (TOK_FUNCTION year (TOK_TABLE_OR_COL l_shipdate)) (TOK_FUNCTION month (TOK_TABLE_OR_COL l_shipdate))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL year)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL month)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' lineitem ' -' TableScan' -' alias: lineitem' -' Select Operator' -' expressions:' -' expr: l_shipdate' -' type: string' -' outputColumnNames: l_shipdate' -' Group By Operator' -' aggregations:' -' expr: count(l_shipdate)' -' bucketGroup: false' -' keys:' -' expr: year(l_shipdate)' -' type: int' -' expr: month(l_shipdate)' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' expr: KEY._col1' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -108 rows selected ->>> ->>> select year(l_shipdate) as year, -month(l_shipdate) as month, -count(l_shipdate) as monthly_shipments -from lineitem -group by year(l_shipdate), month(l_shipdate) -order by year, month; -'year','month','monthly_shipments' -'1992','4','1' -'1992','7','3' -'1993','4','2' -'1993','5','1' -'1993','10','2' -'1993','11','2' -'1993','12','4' -'1994','1','4' -'1994','2','4' -'1994','3','2' -'1994','6','2' -'1994','7','3' -'1994','8','3' -'1994','9','1' -'1994','10','3' -'1994','12','3' -'1995','4','1' -'1995','7','3' -'1995','8','4' -'1995','10','1' -'1995','11','2' -'1996','1','7' -'1996','2','6' -'1996','3','3' -'1996','4','2' -'1996','5','1' -'1996','9','2' -'1996','10','2' -'1996','11','2' -'1996','12','1' -'1997','1','3' -'1997','2','1' -'1997','3','1' -'1997','4','2' -'1998','1','1' -'1998','2','1' -'1998','3','1' -'1998','4','2' -'1998','5','1' -'1998','6','4' -'1998','7','1' -'1998','8','2' -'1998','10','3' -43 rows selected ->>> ->>> set hive.optimize.index.groupby=true; -No rows affected ->>> ->>> explain select year(l_shipdate) as year, -month(l_shipdate) as month, -count(l_shipdate) as monthly_shipments -from lineitem -group by year(l_shipdate), month(l_shipdate) -order by year, month; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME lineitem))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION year (TOK_TABLE_OR_COL l_shipdate)) year) (TOK_SELEXPR (TOK_FUNCTION month (TOK_TABLE_OR_COL l_shipdate)) month) (TOK_SELEXPR (TOK_FUNCTION count (TOK_TABLE_OR_COL l_shipdate)) monthly_shipments)) (TOK_GROUPBY (TOK_FUNCTION year (TOK_TABLE_OR_COL l_shipdate)) (TOK_FUNCTION month (TOK_TABLE_OR_COL l_shipdate))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL year)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL month)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' ql_rewrite_gbtoidx__lineitem_lineitem_lshipdate_idx__ ' -' TableScan' -' alias: ql_rewrite_gbtoidx__lineitem_lineitem_lshipdate_idx__' -' Select Operator' -' expressions:' -' expr: l_shipdate' -' type: string' -' expr: _count_of_l_shipdate' -' type: bigint' -' outputColumnNames: l_shipdate, _count_of_l_shipdate' -' Group By Operator' -' aggregations:' -' expr: sum(_count_of_l_shipdate)' -' bucketGroup: false' -' keys:' -' expr: year(l_shipdate)' -' type: int' -' expr: month(l_shipdate)' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' expr: KEY._col1' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -110 rows selected ->>> ->>> select year(l_shipdate) as year, -month(l_shipdate) as month, -count(l_shipdate) as monthly_shipments -from lineitem -group by year(l_shipdate), month(l_shipdate) -order by year, month; -'year','month','monthly_shipments' -'1992','4','1' -'1992','7','3' -'1993','4','2' -'1993','5','1' -'1993','10','2' -'1993','11','2' -'1993','12','4' -'1994','1','4' -'1994','2','4' -'1994','3','2' -'1994','6','2' -'1994','7','3' -'1994','8','3' -'1994','9','1' -'1994','10','3' -'1994','12','3' -'1995','4','1' -'1995','7','3' -'1995','8','4' -'1995','10','1' -'1995','11','2' -'1996','1','7' -'1996','2','6' -'1996','3','3' -'1996','4','2' -'1996','5','1' -'1996','9','2' -'1996','10','2' -'1996','11','2' -'1996','12','1' -'1997','1','3' -'1997','2','1' -'1997','3','1' -'1997','4','2' -'1998','1','1' -'1998','2','1' -'1998','3','1' -'1998','4','2' -'1998','5','1' -'1998','6','4' -'1998','7','1' -'1998','8','2' -'1998','10','3' -43 rows selected ->>> ->>> explain select lastyear.month, -thisyear.month, -(thisyear.monthly_shipments - lastyear.monthly_shipments) / -lastyear.monthly_shipments as monthly_shipments_delta -from (select year(l_shipdate) as year, -month(l_shipdate) as month, -count(l_shipdate) as monthly_shipments -from lineitem -where year(l_shipdate) = 1997 -group by year(l_shipdate), month(l_shipdate) -) lastyear join -(select year(l_shipdate) as year, -month(l_shipdate) as month, -count(l_shipdate) as monthly_shipments -from lineitem -where year(l_shipdate) = 1998 -group by year(l_shipdate), month(l_shipdate) -) thisyear -on lastyear.month = thisyear.month; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME lineitem))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION year (TOK_TABLE_OR_COL l_shipdate)) year) (TOK_SELEXPR (TOK_FUNCTION month (TOK_TABLE_OR_COL l_shipdate)) month) (TOK_SELEXPR (TOK_FUNCTION count (TOK_TABLE_OR_COL l_shipdate)) monthly_shipments)) (TOK_WHERE (= (TOK_FUNCTION year (TOK_TABLE_OR_COL l_shipdate)) 1997)) (TOK_GROUPBY (TOK_FUNCTION year (TOK_TABLE_OR_COL l_shipdate)) (TOK_FUNCTION month (TOK_TABLE_OR_COL l_shipdate))))) lastyear) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME lineitem))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION year (TOK_TABLE_OR_COL l_shipdate)) year) (TOK_SELEXPR (TOK_FUNCTION month (TOK_TABLE_OR_COL l_shipdate)) month) (TOK_SELEXPR (TOK_FUNCTION count (TOK_TABLE_OR_COL l_shipdate)) monthly_shipments)) (TOK_WHERE (= (TOK_FUNCTION year (TOK_TABLE_OR_COL l_shipdate)) 1998)) (TOK_GROUPBY (TOK_FUNCTION year (TOK_TABLE_OR_COL l_shipdate)) (TOK_FUNCTION month (TOK_TABLE_OR_COL l_shipdate))))) thisyear) (= (. (TOK_TABLE_OR_COL lastyear) month) (. (TOK_TABLE_OR_COL thisyear) month)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL lastyear) month)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL thisyear) month)) (TOK_SELEXPR (/ (- (. (TOK_TABLE_OR_COL thisyear) monthly_shipments) (. (TOK_TABLE_OR_COL lastyear) monthly_shipments)) (. (TOK_TABLE_OR_COL lastyear) monthly_shipments)) monthly_shipments_delta))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-3' -' Stage-3 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' lastyear:ql_rewrite_gbtoidx__lineitem_lineitem_lshipdate_idx__ ' -' TableScan' -' alias: lastyear:ql_rewrite_gbtoidx__lineitem_lineitem_lshipdate_idx__' -' Filter Operator' -' predicate:' -' expr: (year(l_shipdate) = 1997)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: l_shipdate' -' type: string' -' expr: _count_of_l_shipdate' -' type: bigint' -' outputColumnNames: l_shipdate, _count_of_l_shipdate' -' Group By Operator' -' aggregations:' -' expr: sum(_count_of_l_shipdate)' -' bucketGroup: false' -' keys:' -' expr: year(l_shipdate)' -' type: int' -' expr: month(l_shipdate)' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' expr: KEY._col1' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col1' -' type: int' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col1' -' type: int' -' tag: 0' -' value expressions:' -' expr: _col1' -' type: int' -' expr: _col2' -' type: bigint' -' $INTNAME1 ' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col1' -' type: int' -' tag: 1' -' value expressions:' -' expr: _col1' -' type: int' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col1} {VALUE._col2}' -' 1 {VALUE._col1} {VALUE._col2}' -' handleSkewJoin: false' -' outputColumnNames: _col1, _col2, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col1' -' type: int' -' expr: _col4' -' type: int' -' expr: ((_col5 - _col2) / _col2)' -' type: double' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' thisyear:ql_rewrite_gbtoidx__lineitem_lineitem_lshipdate_idx__ ' -' TableScan' -' alias: thisyear:ql_rewrite_gbtoidx__lineitem_lineitem_lshipdate_idx__' -' Filter Operator' -' predicate:' -' expr: (year(l_shipdate) = 1998)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: l_shipdate' -' type: string' -' expr: _count_of_l_shipdate' -' type: bigint' -' outputColumnNames: l_shipdate, _count_of_l_shipdate' -' Group By Operator' -' aggregations:' -' expr: sum(_count_of_l_shipdate)' -' bucketGroup: false' -' keys:' -' expr: year(l_shipdate)' -' type: int' -' expr: month(l_shipdate)' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' expr: KEY._col1' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col1' -' type: int' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -213 rows selected ->>> ->>> explain select l_shipdate, cnt -from (select l_shipdate, count(l_shipdate) as cnt from lineitem group by l_shipdate -union all -select l_shipdate, l_orderkey as cnt -from lineitem) dummy; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME lineitem))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL l_shipdate)) (TOK_SELEXPR (TOK_FUNCTION count (TOK_TABLE_OR_COL l_shipdate)) cnt)) (TOK_GROUPBY (TOK_TABLE_OR_COL l_shipdate)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME lineitem))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL l_shipdate)) (TOK_SELEXPR (TOK_TABLE_OR_COL l_orderkey) cnt))))) dummy)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL l_shipdate)) (TOK_SELEXPR (TOK_TABLE_OR_COL cnt)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-3 is a root stage' -' Stage-2 depends on stages: Stage-3' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1:ql_rewrite_gbtoidx__lineitem_lineitem_lshipdate_idx__ ' -' TableScan' -' alias: null-subquery1:ql_rewrite_gbtoidx__lineitem_lineitem_lshipdate_idx__' -' Select Operator' -' expressions:' -' expr: l_shipdate' -' type: string' -' expr: _count_of_l_shipdate' -' type: bigint' -' outputColumnNames: l_shipdate, _count_of_l_shipdate' -' Group By Operator' -' aggregations:' -' expr: sum(_count_of_l_shipdate)' -' bucketGroup: true' -' keys:' -' expr: l_shipdate' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' null-subquery2:dummy-subquery2:lineitem ' -' TableScan' -' alias: lineitem' -' Select Operator' -' expressions:' -' expr: l_shipdate' -' type: string' -' expr: l_orderkey' -' type: int' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -116 rows selected ->>> ->>> CREATE TABLE tbl(key int, value int); -No rows affected ->>> CREATE INDEX tbl_key_idx ON TABLE tbl(key) AS 'org.apache.hadoop.hive.ql.index.AggregateIndexHandler' WITH DEFERRED REBUILD IDXPROPERTIES("AGGREGATES"="count(key)"); -No rows affected ->>> ALTER INDEX tbl_key_idx ON tbl REBUILD; -No rows affected ->>> ->>> EXPLAIN select key, count(key) from tbl where key = 1 group by key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME tbl))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count (TOK_TABLE_OR_COL key)))) (TOK_WHERE (= (TOK_TABLE_OR_COL key) 1)) (TOK_GROUPBY (TOK_TABLE_OR_COL key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' ql_rewrite_gbtoidx__tbl_tbl_key_idx__ ' -' TableScan' -' alias: ql_rewrite_gbtoidx__tbl_tbl_key_idx__' -' Filter Operator' -' predicate:' -' expr: (key = 1)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: _count_of_key' -' type: bigint' -' outputColumnNames: key, _count_of_key' -' Group By Operator' -' aggregations:' -' expr: sum(_count_of_key)' -' bucketGroup: true' -' keys:' -' expr: key' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -75 rows selected ->>> EXPLAIN select key, count(key) from tbl group by key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME tbl))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count (TOK_TABLE_OR_COL key)))) (TOK_GROUPBY (TOK_TABLE_OR_COL key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' ql_rewrite_gbtoidx__tbl_tbl_key_idx__ ' -' TableScan' -' alias: ql_rewrite_gbtoidx__tbl_tbl_key_idx__' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: _count_of_key' -' type: bigint' -' outputColumnNames: key, _count_of_key' -' Group By Operator' -' aggregations:' -' expr: sum(_count_of_key)' -' bucketGroup: true' -' keys:' -' expr: key' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -71 rows selected ->>> ->>> EXPLAIN select count(1) from tbl; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME tbl))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tbl ' -' TableScan' -' alias: tbl' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -50 rows selected ->>> EXPLAIN select count(key) from tbl; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME tbl))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count (TOK_TABLE_OR_COL key))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tbl ' -' TableScan' -' alias: tbl' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(key)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -55 rows selected ->>> ->>> EXPLAIN select key FROM tbl GROUP BY key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME tbl))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key))) (TOK_GROUPBY (TOK_TABLE_OR_COL key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tbl ' -' TableScan' -' alias: tbl' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' outputColumnNames: key' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: int' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -60 rows selected ->>> EXPLAIN select key FROM tbl GROUP BY value, key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME tbl))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key))) (TOK_GROUPBY (TOK_TABLE_OR_COL value) (TOK_TABLE_OR_COL key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tbl ' -' TableScan' -' alias: tbl' -' Select Operator' -' expressions:' -' expr: value' -' type: int' -' expr: key' -' type: int' -' outputColumnNames: value, key' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: value' -' type: int' -' expr: key' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' expr: KEY._col1' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col1' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -70 rows selected ->>> EXPLAIN select key FROM tbl WHERE key = 3 GROUP BY key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME tbl))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key))) (TOK_WHERE (= (TOK_TABLE_OR_COL key) 3)) (TOK_GROUPBY (TOK_TABLE_OR_COL key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tbl ' -' TableScan' -' alias: tbl' -' Filter Operator' -' predicate:' -' expr: (key = 3)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' outputColumnNames: key' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: int' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -64 rows selected ->>> EXPLAIN select key FROM tbl WHERE value = 2 GROUP BY key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME tbl))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key))) (TOK_WHERE (= (TOK_TABLE_OR_COL value) 2)) (TOK_GROUPBY (TOK_TABLE_OR_COL key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tbl ' -' TableScan' -' alias: tbl' -' Filter Operator' -' predicate:' -' expr: (value = 2)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' outputColumnNames: key' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: int' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -64 rows selected ->>> EXPLAIN select key FROM tbl GROUP BY key, substr(key,2,3); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME tbl))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key))) (TOK_GROUPBY (TOK_TABLE_OR_COL key) (TOK_FUNCTION substr (TOK_TABLE_OR_COL key) 2 3))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tbl ' -' TableScan' -' alias: tbl' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' outputColumnNames: key' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: int' -' expr: substr(key, 2, 3)' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' expr: KEY._col1' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -68 rows selected ->>> ->>> EXPLAIN select key, value FROM tbl GROUP BY value, key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME tbl))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_GROUPBY (TOK_TABLE_OR_COL value) (TOK_TABLE_OR_COL key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tbl ' -' TableScan' -' alias: tbl' -' Select Operator' -' expressions:' -' expr: value' -' type: int' -' expr: key' -' type: int' -' outputColumnNames: value, key' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: value' -' type: int' -' expr: key' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' expr: KEY._col1' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col1' -' type: int' -' expr: _col0' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -72 rows selected ->>> EXPLAIN select key, value FROM tbl WHERE value = 1 GROUP BY key, value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME tbl))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_WHERE (= (TOK_TABLE_OR_COL value) 1)) (TOK_GROUPBY (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL value))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tbl ' -' TableScan' -' alias: tbl' -' Filter Operator' -' predicate:' -' expr: (value = 1)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' outputColumnNames: key, value' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' expr: KEY._col1' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -76 rows selected ->>> ->>> EXPLAIN select DISTINCT key FROM tbl; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME tbl))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECTDI (TOK_SELEXPR (TOK_TABLE_OR_COL key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tbl ' -' TableScan' -' alias: tbl' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' outputColumnNames: key' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: int' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -60 rows selected ->>> EXPLAIN select DISTINCT key FROM tbl; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME tbl))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECTDI (TOK_SELEXPR (TOK_TABLE_OR_COL key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tbl ' -' TableScan' -' alias: tbl' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' outputColumnNames: key' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: int' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -60 rows selected ->>> EXPLAIN select DISTINCT key FROM tbl; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME tbl))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECTDI (TOK_SELEXPR (TOK_TABLE_OR_COL key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tbl ' -' TableScan' -' alias: tbl' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' outputColumnNames: key' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: int' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -60 rows selected ->>> EXPLAIN select DISTINCT key, value FROM tbl; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME tbl))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECTDI (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tbl ' -' TableScan' -' alias: tbl' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' outputColumnNames: key, value' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' expr: KEY._col1' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -72 rows selected ->>> EXPLAIN select DISTINCT key, value FROM tbl WHERE value = 2; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME tbl))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECTDI (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_WHERE (= (TOK_TABLE_OR_COL value) 2))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tbl ' -' TableScan' -' alias: tbl' -' Filter Operator' -' predicate:' -' expr: (value = 2)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' outputColumnNames: key, value' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' expr: KEY._col1' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -76 rows selected ->>> EXPLAIN select DISTINCT key, value FROM tbl WHERE value = 2 AND key = 3; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME tbl))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECTDI (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_WHERE (AND (= (TOK_TABLE_OR_COL value) 2) (= (TOK_TABLE_OR_COL key) 3)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tbl ' -' TableScan' -' alias: tbl' -' Filter Operator' -' predicate:' -' expr: ((value = 2) and (key = 3))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' outputColumnNames: key, value' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' expr: KEY._col1' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -76 rows selected ->>> EXPLAIN select DISTINCT key, value FROM tbl WHERE value = key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME tbl))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECTDI (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_WHERE (= (TOK_TABLE_OR_COL value) (TOK_TABLE_OR_COL key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tbl ' -' TableScan' -' alias: tbl' -' Filter Operator' -' predicate:' -' expr: (value = key)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' outputColumnNames: key, value' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' expr: KEY._col1' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -76 rows selected ->>> EXPLAIN select DISTINCT key, substr(value,2,3) FROM tbl WHERE value = key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME tbl))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECTDI (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION substr (TOK_TABLE_OR_COL value) 2 3))) (TOK_WHERE (= (TOK_TABLE_OR_COL value) (TOK_TABLE_OR_COL key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tbl ' -' TableScan' -' alias: tbl' -' Filter Operator' -' predicate:' -' expr: (value = key)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' outputColumnNames: key, value' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: int' -' expr: substr(value, 2, 3)' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' expr: KEY._col1' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -76 rows selected ->>> EXPLAIN select DISTINCT key, substr(value,2,3) FROM tbl; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME tbl))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECTDI (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION substr (TOK_TABLE_OR_COL value) 2 3)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tbl ' -' TableScan' -' alias: tbl' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' outputColumnNames: key, value' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: int' -' expr: substr(value, 2, 3)' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' expr: KEY._col1' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -72 rows selected ->>> ->>> EXPLAIN select * FROM (select DISTINCT key, value FROM tbl) v1 WHERE v1.value = 2; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME tbl))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECTDI (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))))) v1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (= (. (TOK_TABLE_OR_COL v1) value) 2))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' v1:tbl ' -' TableScan' -' alias: tbl' -' Filter Operator' -' predicate:' -' expr: (value = 2)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' outputColumnNames: key, value' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: int' -' expr: value' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' expr: KEY._col1' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -83 rows selected ->>> ->>> DROP TABLE tbl; -No rows affected ->>> ->>> CREATE TABLE tblpart (key int, value string) PARTITIONED BY (ds string, hr int); -No rows affected ->>> INSERT OVERWRITE TABLE tblpart PARTITION (ds='2008-04-08', hr=11) SELECT key, value FROM srcpart WHERE ds = '2008-04-08' AND hr = 11; -'_col0','_col1' -No rows selected ->>> INSERT OVERWRITE TABLE tblpart PARTITION (ds='2008-04-08', hr=12) SELECT key, value FROM srcpart WHERE ds = '2008-04-08' AND hr = 12; -'_col0','_col1' -No rows selected ->>> INSERT OVERWRITE TABLE tblpart PARTITION (ds='2008-04-09', hr=11) SELECT key, value FROM srcpart WHERE ds = '2008-04-09' AND hr = 11; -'_col0','_col1' -No rows selected ->>> INSERT OVERWRITE TABLE tblpart PARTITION (ds='2008-04-09', hr=12) SELECT key, value FROM srcpart WHERE ds = '2008-04-09' AND hr = 12; -'_col0','_col1' -No rows selected ->>> ->>> CREATE INDEX tbl_part_index ON TABLE tblpart(key) AS 'org.apache.hadoop.hive.ql.index.AggregateIndexHandler' WITH DEFERRED REBUILD IDXPROPERTIES("AGGREGATES"="count(key)"); -No rows affected ->>> ->>> ALTER INDEX tbl_part_index ON tblpart PARTITION (ds='2008-04-08', hr=11) REBUILD; -No rows affected ->>> EXPLAIN SELECT key, count(key) FROM tblpart WHERE ds='2008-04-09' AND hr=12 AND key < 10 GROUP BY key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME tblpart))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count (TOK_TABLE_OR_COL key)))) (TOK_WHERE (AND (AND (= (TOK_TABLE_OR_COL ds) '2008-04-09') (= (TOK_TABLE_OR_COL hr) 12)) (< (TOK_TABLE_OR_COL key) 10))) (TOK_GROUPBY (TOK_TABLE_OR_COL key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tblpart ' -' TableScan' -' alias: tblpart' -' Filter Operator' -' predicate:' -' expr: (key < 10)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(key)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -73 rows selected ->>> ->>> ALTER INDEX tbl_part_index ON tblpart PARTITION (ds='2008-04-08', hr=12) REBUILD; -No rows affected ->>> ALTER INDEX tbl_part_index ON tblpart PARTITION (ds='2008-04-09', hr=11) REBUILD; -No rows affected ->>> ALTER INDEX tbl_part_index ON tblpart PARTITION (ds='2008-04-09', hr=12) REBUILD; -No rows affected ->>> EXPLAIN SELECT key, count(key) FROM tblpart WHERE ds='2008-04-09' AND hr=12 AND key < 10 GROUP BY key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME tblpart))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count (TOK_TABLE_OR_COL key)))) (TOK_WHERE (AND (AND (= (TOK_TABLE_OR_COL ds) '2008-04-09') (= (TOK_TABLE_OR_COL hr) 12)) (< (TOK_TABLE_OR_COL key) 10))) (TOK_GROUPBY (TOK_TABLE_OR_COL key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' ql_rewrite_gbtoidx__tblpart_tbl_part_index__ ' -' TableScan' -' alias: ql_rewrite_gbtoidx__tblpart_tbl_part_index__' -' Filter Operator' -' predicate:' -' expr: (key < 10)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: _count_of_key' -' type: bigint' -' outputColumnNames: key, _count_of_key' -' Group By Operator' -' aggregations:' -' expr: sum(_count_of_key)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -75 rows selected ->>> ->>> DROP INDEX tbl_part_index on tblpart; -No rows affected ->>> DROP TABLE tblpart; -No rows affected ->>> ->>> CREATE TABLE tbl(key int, value int) ROW FORMAT DELIMITED FIELDS TERMINATED BY '|'; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/tbl.txt' OVERWRITE INTO TABLE tbl; -No rows affected ->>> ->>> CREATE INDEX tbl_key_idx ON TABLE tbl(key) AS 'org.apache.hadoop.hive.ql.index.AggregateIndexHandler' WITH DEFERRED REBUILD IDXPROPERTIES("AGGREGATES"="count(key)"); -No rows affected ->>> ALTER INDEX tbl_key_idx ON tbl REBUILD; -No rows affected ->>> ->>> set hive.optimize.index.groupby=false; -No rows affected ->>> explain select key, count(key) from tbl group by key order by key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME tbl))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count (TOK_TABLE_OR_COL key)))) (TOK_GROUPBY (TOK_TABLE_OR_COL key)) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tbl ' -' TableScan' -' alias: tbl' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(key)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -94 rows selected ->>> select key, count(key) from tbl group by key order by key; -'key','_c1' -'1','1' -'2','3' -'3','2' -'4','2' -'6','1' -'7','1' -6 rows selected ->>> set hive.optimize.index.groupby=true; -No rows affected ->>> explain select key, count(key) from tbl group by key order by key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME tbl))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count (TOK_TABLE_OR_COL key)))) (TOK_GROUPBY (TOK_TABLE_OR_COL key)) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' ql_rewrite_gbtoidx__tbl_tbl_key_idx__ ' -' TableScan' -' alias: ql_rewrite_gbtoidx__tbl_tbl_key_idx__' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: _count_of_key' -' type: bigint' -' outputColumnNames: key, _count_of_key' -' Group By Operator' -' aggregations:' -' expr: sum(_count_of_key)' -' bucketGroup: true' -' keys:' -' expr: key' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -96 rows selected ->>> select key, count(key) from tbl group by key order by key; -'key','_c1' -'1','1' -'2','3' -'3','2' -'4','2' -'6','1' -'7','1' -6 rows selected ->>> DROP TABLE tbl; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/query_properties.q.out ql/src/test/results/beelinepositive/query_properties.q.out deleted file mode 100644 index a7fe241..0000000 --- ql/src/test/results/beelinepositive/query_properties.q.out +++ /dev/null @@ -1,41 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/query_properties.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/query_properties.q ->>> set hive.exec.post.hooks = org.apache.hadoop.hive.ql.hooks.CheckQueryPropertiesHook; -No rows affected ->>> ->>> select * from src a join src b on a.key = b.key limit 0; -'key','value','key','value' -No rows selected ->>> select * from src group by src.key, src.value limit 0; -'(. (tok_table_or_col src) key)','(. (tok_table_or_col src) value)' -No rows selected ->>> select * from src order by src.key limit 0; -'key','value' -No rows selected ->>> select * from src sort by src.key limit 0; -'key','value' -No rows selected ->>> select a.key, sum(b.value) from src a join src b on a.key = b.key group by a.key limit 0; -'key','_c1' -No rows selected ->>> select transform(*) using 'cat' from src limit 0; -'key','value' -No rows selected ->>> select * from src distribute by src.key limit 0; -'key','value' -No rows selected ->>> select * from src cluster by src.key limit 0; -'key','value' -No rows selected ->>> ->>> select key, sum(value) from (select a.key as key, b.value as value from src a join src b on a.key = b.key) c group by key limit 0; -'key','_c1' -No rows selected ->>> select * from src a join src b on a.key = b.key order by a.key limit 0; -'key','value','key','value' -No rows selected ->>> select * from src a join src b on a.key = b.key distribute by a.key sort by a.key, b.value limit 0; -'key','value','key','value' -No rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/query_result_fileformat.q.out ql/src/test/results/beelinepositive/query_result_fileformat.q.out deleted file mode 100644 index b48e8b1..0000000 --- ql/src/test/results/beelinepositive/query_result_fileformat.q.out +++ /dev/null @@ -1,137 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/query_result_fileformat.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/query_result_fileformat.q ->>> create table nzhang_test1 stored as sequencefile as select 'key1' as key, 'value -1 - -http://asdf' value from src limit 1; -'key','value' -No rows selected ->>> ->>> select * from nzhang_test1; -'key','value' -'key1','value -1 - -http://asdf' -1 row selected ->>> select count(*) from nzhang_test1; -'_c0' -'1' -1 row selected ->>> ->>> explain -select * from nzhang_test1 where key='key1'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME nzhang_test1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (= (TOK_TABLE_OR_COL key) 'key1'))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' nzhang_test1 ' -' TableScan' -' alias: nzhang_test1' -' Filter Operator' -' predicate:' -' expr: (key = 'key1')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -37 rows selected ->>> ->>> select * from nzhang_test1 where key='key1'; -'key','value' -'key1','value ' -'1 ','' -' ','' -'http://asdf','' -4 rows selected ->>> ->>> set hive.query.result.fileformat=SequenceFile; -No rows affected ->>> ->>> select * from nzhang_test1; -'key','value' -'key1','value -1 - -http://asdf' -1 row selected ->>> ->>> select count(*) from nzhang_test1; -'_c0' -'1' -1 row selected ->>> ->>> explain -select * from nzhang_test1 where key='key1'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME nzhang_test1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (= (TOK_TABLE_OR_COL key) 'key1'))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' nzhang_test1 ' -' TableScan' -' alias: nzhang_test1' -' Filter Operator' -' predicate:' -' expr: (key = 'key1')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -37 rows selected ->>> ->>> select * from nzhang_test1 where key='key1'; -'key','value' -'key1','value -1 - -http://asdf' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/quote1.q.out ql/src/test/results/beelinepositive/quote1.q.out deleted file mode 100644 index fe9add6..0000000 --- ql/src/test/results/beelinepositive/quote1.q.out +++ /dev/null @@ -1,271 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/quote1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/quote1.q ->>> CREATE TABLE dest1(`location` INT, `type` STRING) PARTITIONED BY(`table` STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src -INSERT OVERWRITE TABLE dest1 PARTITION(`table`='2008-04-08') SELECT src.key as `partition`, src.value as `from` WHERE src.key >= 200 and src.key < 300; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1) (TOK_PARTSPEC (TOK_PARTVAL `table` '2008-04-08')))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) `partition`) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) `from`)) (TOK_WHERE (and (>= (. (TOK_TABLE_OR_COL src) key) 200) (< (. (TOK_TABLE_OR_COL src) key) 300)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: ((key >= 200.0) and (key < 300.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: quote1.dest1' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' partition:' -' table 2008-04-08' -' 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: quote1.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: quote1.dest1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: quote1.dest1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -104 rows selected ->>> ->>> EXPLAIN -SELECT `int`.`location`, `int`.`type`, `int`.`table` FROM dest1 `int` WHERE `int`.`table` = '2008-04-08'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME dest1) `int`)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL `int`) `location`)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL `int`) `type`)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL `int`) `table`))) (TOK_WHERE (= (. (TOK_TABLE_OR_COL `int`) `table`) '2008-04-08'))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' int ' -' TableScan' -' alias: int' -' Filter Operator' -' predicate:' -' expr: (table = '2008-04-08')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: location' -' type: int' -' expr: type' -' type: string' -' expr: table' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -39 rows selected ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 PARTITION(`table`='2008-04-08') SELECT src.key as `partition`, src.value as `from` WHERE src.key >= 200 and src.key < 300; -'_col0','_col1' -No rows selected ->>> ->>> SELECT `int`.`location`, `int`.`type`, `int`.`table` FROM dest1 `int` WHERE `int`.`table` = '2008-04-08'; -'location','type','table' -'238','val_238','2008-04-08' -'255','val_255','2008-04-08' -'278','val_278','2008-04-08' -'265','val_265','2008-04-08' -'273','val_273','2008-04-08' -'224','val_224','2008-04-08' -'213','val_213','2008-04-08' -'281','val_281','2008-04-08' -'277','val_277','2008-04-08' -'209','val_209','2008-04-08' -'252','val_252','2008-04-08' -'292','val_292','2008-04-08' -'219','val_219','2008-04-08' -'287','val_287','2008-04-08' -'237','val_237','2008-04-08' -'207','val_207','2008-04-08' -'208','val_208','2008-04-08' -'247','val_247','2008-04-08' -'266','val_266','2008-04-08' -'203','val_203','2008-04-08' -'205','val_205','2008-04-08' -'221','val_221','2008-04-08' -'280','val_280','2008-04-08' -'277','val_277','2008-04-08' -'208','val_208','2008-04-08' -'286','val_286','2008-04-08' -'239','val_239','2008-04-08' -'213','val_213','2008-04-08' -'216','val_216','2008-04-08' -'278','val_278','2008-04-08' -'289','val_289','2008-04-08' -'221','val_221','2008-04-08' -'275','val_275','2008-04-08' -'241','val_241','2008-04-08' -'284','val_284','2008-04-08' -'230','val_230','2008-04-08' -'260','val_260','2008-04-08' -'272','val_272','2008-04-08' -'217','val_217','2008-04-08' -'230','val_230','2008-04-08' -'208','val_208','2008-04-08' -'298','val_298','2008-04-08' -'230','val_230','2008-04-08' -'205','val_205','2008-04-08' -'288','val_288','2008-04-08' -'282','val_282','2008-04-08' -'282','val_282','2008-04-08' -'238','val_238','2008-04-08' -'277','val_277','2008-04-08' -'273','val_273','2008-04-08' -'224','val_224','2008-04-08' -'242','val_242','2008-04-08' -'272','val_272','2008-04-08' -'242','val_242','2008-04-08' -'226','val_226','2008-04-08' -'229','val_229','2008-04-08' -'233','val_233','2008-04-08' -'223','val_223','2008-04-08' -'218','val_218','2008-04-08' -'228','val_228','2008-04-08' -'209','val_209','2008-04-08' -'230','val_230','2008-04-08' -'296','val_296','2008-04-08' -'216','val_216','2008-04-08' -'274','val_274','2008-04-08' -'219','val_219','2008-04-08' -'239','val_239','2008-04-08' -'223','val_223','2008-04-08' -'256','val_256','2008-04-08' -'263','val_263','2008-04-08' -'288','val_288','2008-04-08' -'244','val_244','2008-04-08' -'202','val_202','2008-04-08' -'229','val_229','2008-04-08' -'280','val_280','2008-04-08' -'283','val_283','2008-04-08' -'235','val_235','2008-04-08' -'257','val_257','2008-04-08' -'258','val_258','2008-04-08' -'203','val_203','2008-04-08' -'262','val_262','2008-04-08' -'201','val_201','2008-04-08' -'217','val_217','2008-04-08' -'298','val_298','2008-04-08' -'291','val_291','2008-04-08' -'255','val_255','2008-04-08' -'200','val_200','2008-04-08' -'237','val_237','2008-04-08' -'248','val_248','2008-04-08' -'277','val_277','2008-04-08' -'230','val_230','2008-04-08' -'207','val_207','2008-04-08' -'249','val_249','2008-04-08' -'265','val_265','2008-04-08' -'214','val_214','2008-04-08' -'233','val_233','2008-04-08' -'256','val_256','2008-04-08' -'298','val_298','2008-04-08' -'285','val_285','2008-04-08' -'273','val_273','2008-04-08' -'281','val_281','2008-04-08' -'222','val_222','2008-04-08' -'200','val_200','2008-04-08' -103 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/quote2.q.out ql/src/test/results/beelinepositive/quote2.q.out deleted file mode 100644 index d8820b4..0000000 --- ql/src/test/results/beelinepositive/quote2.q.out +++ /dev/null @@ -1,104 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/quote2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/quote2.q ->>> EXPLAIN -SELECT -'abc', "abc", -'abc\'', "abc\"", -'abc\\', "abc\\", -'abc\\\'', "abc\\\"", -'abc\\\\', "abc\\\\", -'abc\\\\\'', "abc\\\\\"", -'abc\\\\\\', "abc\\\\\\", -'abc""""\\', "abc''''\\", -"awk '{print NR\"\\t\"$0}'", -'tab\ttab', "tab\ttab" -FROM src -LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 'abc') (TOK_SELEXPR "abc") (TOK_SELEXPR 'abc\'') (TOK_SELEXPR "abc\"") (TOK_SELEXPR 'abc\\') (TOK_SELEXPR "abc\\") (TOK_SELEXPR 'abc\\\'') (TOK_SELEXPR "abc\\\"") (TOK_SELEXPR 'abc\\\\') (TOK_SELEXPR "abc\\\\") (TOK_SELEXPR 'abc\\\\\'') (TOK_SELEXPR "abc\\\\\"") (TOK_SELEXPR 'abc\\\\\\') (TOK_SELEXPR "abc\\\\\\") (TOK_SELEXPR 'abc""""\\') (TOK_SELEXPR "abc''''\\") (TOK_SELEXPR "awk '{print NR\"\\t\"$0}'") (TOK_SELEXPR 'tab\ttab') (TOK_SELEXPR "tab\ttab")) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: 'abc'' -' type: string' -' expr: 'abc'' -' type: string' -' expr: 'abc''' -' type: string' -' expr: 'abc"'' -' type: string' -' expr: 'abc\'' -' type: string' -' expr: 'abc\'' -' type: string' -' expr: 'abc\''' -' type: string' -' expr: 'abc\"'' -' type: string' -' expr: 'abc\\'' -' type: string' -' expr: 'abc\\'' -' type: string' -' expr: 'abc\\''' -' type: string' -' expr: 'abc\\"'' -' type: string' -' expr: 'abc\\\'' -' type: string' -' expr: 'abc\\\'' -' type: string' -' expr: 'abc""""\'' -' type: string' -' expr: 'abc''''\'' -' type: string' -' expr: 'awk '{print NR"\t"$0}''' -' type: string' -' expr: 'tab tab'' -' type: string' -' expr: 'tab tab'' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, _col16, _col17, _col18' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -68 rows selected ->>> ->>> SELECT -'abc', "abc", -'abc\'', "abc\"", -'abc\\', "abc\\", -'abc\\\'', "abc\\\"", -'abc\\\\', "abc\\\\", -'abc\\\\\'', "abc\\\\\"", -'abc\\\\\\', "abc\\\\\\", -'abc""""\\', "abc''''\\", -"awk '{print NR\"\\t\"$0}'", -'tab\ttab', "tab\ttab" -FROM src -LIMIT 1; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6','_c7','_c8','_c9','_c10','_c11','_c12','_c13','_c14','_c15','_c16','_c17','_c18' -'abc','abc','abc'','abc"','abc\','abc\','abc\'','abc\"','abc\\','abc\\','abc\\'','abc\\"','abc\\\','abc\\\','abc""""\','abc''''\','awk '{print NR"\t"$0}'','tab tab','tab tab' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/rand_partitionpruner1.q.out ql/src/test/results/beelinepositive/rand_partitionpruner1.q.out deleted file mode 100644 index 0815c36..0000000 --- ql/src/test/results/beelinepositive/rand_partitionpruner1.q.out +++ /dev/null @@ -1,166 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/rand_partitionpruner1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/rand_partitionpruner1.q ->>> -- scanning un-partitioned data ->>> explain extended select * from src where rand(1) < 0.1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (< (TOK_FUNCTION rand 1) 0.1))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (rand(1) < 0.1)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/rand_partitionpruner1.db/src [src]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/rand_partitionpruner1.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/rand_partitionpruner1.db/src' -' name rand_partitionpruner1.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/rand_partitionpruner1.db/src' -' name rand_partitionpruner1.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: rand_partitionpruner1.src' -' name: rand_partitionpruner1.src' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -100 rows selected ->>> select * from src where rand(1) < 0.1; -'key','value' -'409','val_409' -'429','val_429' -'209','val_209' -'153','val_153' -'203','val_203' -'170','val_170' -'489','val_489' -'378','val_378' -'221','val_221' -'498','val_498' -'469','val_469' -'176','val_176' -'176','val_176' -'384','val_384' -'217','val_217' -'431','val_431' -'51','val_51' -'288','val_288' -'457','val_457' -'197','val_197' -'77','val_77' -'138','val_138' -'277','val_277' -'224','val_224' -'309','val_309' -'389','val_389' -'331','val_331' -'317','val_317' -'336','val_336' -'42','val_42' -'458','val_458' -'78','val_78' -'453','val_453' -'74','val_74' -'103','val_103' -'467','val_467' -'202','val_202' -'469','val_469' -'44','val_44' -'454','val_454' -'70','val_70' -'491','val_491' -'199','val_199' -'169','val_169' -'310','val_310' -'233','val_233' -'133','val_133' -'26','val_26' -'134','val_134' -'18','val_18' -'298','val_298' -'348','val_348' -'469','val_469' -'37','val_37' -'152','val_152' -'400','val_400' -56 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/rand_partitionpruner2.q.out ql/src/test/results/beelinepositive/rand_partitionpruner2.q.out deleted file mode 100644 index ffbb218..0000000 --- ql/src/test/results/beelinepositive/rand_partitionpruner2.q.out +++ /dev/null @@ -1,497 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/rand_partitionpruner2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/rand_partitionpruner2.q ->>> -- scanning partitioned data ->>> ->>> create table tmptable(key string, value string, hr string, ds string); -No rows affected ->>> ->>> explain extended -insert overwrite table tmptable -select a.* from srcpart a where rand(1) < 0.1 and a.ds = '2008-04-08'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart) a)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME tmptable))) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME a)))) (TOK_WHERE (and (< (TOK_FUNCTION rand 1) 0.1) (= (. (TOK_TABLE_OR_COL a) ds) '2008-04-08')))))' -'' -'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' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (rand(1) < 0.1)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,hr,ds' -' columns.types string:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/rand_partitionpruner2.db/tmptable' -' name rand_partitionpruner2.tmptable' -' serialization.ddl struct tmptable { string key, string value, string hr, string ds}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: rand_partitionpruner2.tmptable' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/rand_partitionpruner2.db/srcpart/ds=2008-04-08/hr=11 [a]' -' !!{hive.metastore.warehouse.dir}!!/rand_partitionpruner2.db/srcpart/ds=2008-04-08/hr=12 [a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/rand_partitionpruner2.db/srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/rand_partitionpruner2.db/srcpart/ds=2008-04-08/hr=11' -' name rand_partitionpruner2.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/rand_partitionpruner2.db/srcpart' -' name rand_partitionpruner2.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: rand_partitionpruner2.srcpart' -' name: rand_partitionpruner2.srcpart' -' !!{hive.metastore.warehouse.dir}!!/rand_partitionpruner2.db/srcpart/ds=2008-04-08/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/rand_partitionpruner2.db/srcpart/ds=2008-04-08/hr=12' -' name rand_partitionpruner2.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/rand_partitionpruner2.db/srcpart' -' name rand_partitionpruner2.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: rand_partitionpruner2.srcpart' -' name: rand_partitionpruner2.srcpart' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,hr,ds' -' columns.types string:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/rand_partitionpruner2.db/tmptable' -' name rand_partitionpruner2.tmptable' -' serialization.ddl struct tmptable { string key, string value, string hr, string ds}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: rand_partitionpruner2.tmptable' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,hr,ds' -' columns.types string:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/rand_partitionpruner2.db/tmptable' -' name rand_partitionpruner2.tmptable' -' serialization.ddl struct tmptable { string key, string value, string hr, string ds}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: rand_partitionpruner2.tmptable' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,hr,ds' -' columns.types string:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/rand_partitionpruner2.db/tmptable' -' name rand_partitionpruner2.tmptable' -' serialization.ddl struct tmptable { string key, string value, string hr, string ds}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,hr,ds' -' columns.types string:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/rand_partitionpruner2.db/tmptable' -' name rand_partitionpruner2.tmptable' -' serialization.ddl struct tmptable { string key, string value, string hr, string ds}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: rand_partitionpruner2.tmptable' -' name: rand_partitionpruner2.tmptable' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,hr,ds' -' columns.types string:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/rand_partitionpruner2.db/tmptable' -' name rand_partitionpruner2.tmptable' -' serialization.ddl struct tmptable { string key, string value, string hr, string ds}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: rand_partitionpruner2.tmptable' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,hr,ds' -' columns.types string:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/rand_partitionpruner2.db/tmptable' -' name rand_partitionpruner2.tmptable' -' serialization.ddl struct tmptable { string key, string value, string hr, string ds}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,hr,ds' -' columns.types string:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/rand_partitionpruner2.db/tmptable' -' name rand_partitionpruner2.tmptable' -' serialization.ddl struct tmptable { string key, string value, string hr, string ds}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: rand_partitionpruner2.tmptable' -' name: rand_partitionpruner2.tmptable' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -357 rows selected ->>> ->>> ->>> insert overwrite table tmptable -select a.* from srcpart a where rand(1) < 0.1 and a.ds = '2008-04-08'; -'key','value','ds','hr' -No rows selected ->>> ->>> select * from tmptable x sort by x.key,x.value,x.ds,x.hr; -'key','value','hr','ds' -'103','val_103','2008-04-08','11' -'118','val_118','2008-04-08','12' -'119','val_119','2008-04-08','12' -'119','val_119','2008-04-08','12' -'126','val_126','2008-04-08','12' -'131','val_131','2008-04-08','12' -'133','val_133','2008-04-08','11' -'134','val_134','2008-04-08','11' -'138','val_138','2008-04-08','11' -'143','val_143','2008-04-08','12' -'152','val_152','2008-04-08','11' -'153','val_153','2008-04-08','11' -'162','val_162','2008-04-08','12' -'169','val_169','2008-04-08','11' -'170','val_170','2008-04-08','11' -'175','val_175','2008-04-08','12' -'176','val_176','2008-04-08','11' -'176','val_176','2008-04-08','11' -'18','val_18','2008-04-08','11' -'18','val_18','2008-04-08','12' -'191','val_191','2008-04-08','12' -'197','val_197','2008-04-08','11' -'199','val_199','2008-04-08','11' -'200','val_200','2008-04-08','12' -'201','val_201','2008-04-08','12' -'202','val_202','2008-04-08','11' -'203','val_203','2008-04-08','11' -'209','val_209','2008-04-08','11' -'214','val_214','2008-04-08','12' -'217','val_217','2008-04-08','11' -'218','val_218','2008-04-08','12' -'221','val_221','2008-04-08','11' -'223','val_223','2008-04-08','12' -'224','val_224','2008-04-08','11' -'229','val_229','2008-04-08','12' -'230','val_230','2008-04-08','12' -'233','val_233','2008-04-08','11' -'233','val_233','2008-04-08','12' -'237','val_237','2008-04-08','12' -'238','val_238','2008-04-08','12' -'256','val_256','2008-04-08','12' -'26','val_26','2008-04-08','11' -'265','val_265','2008-04-08','12' -'273','val_273','2008-04-08','12' -'277','val_277','2008-04-08','11' -'277','val_277','2008-04-08','12' -'280','val_280','2008-04-08','12' -'286','val_286','2008-04-08','12' -'288','val_288','2008-04-08','11' -'298','val_298','2008-04-08','11' -'309','val_309','2008-04-08','11' -'309','val_309','2008-04-08','12' -'310','val_310','2008-04-08','11' -'317','val_317','2008-04-08','11' -'322','val_322','2008-04-08','12' -'323','val_323','2008-04-08','12' -'325','val_325','2008-04-08','12' -'331','val_331','2008-04-08','11' -'332','val_332','2008-04-08','12' -'336','val_336','2008-04-08','11' -'336','val_336','2008-04-08','12' -'339','val_339','2008-04-08','12' -'341','val_341','2008-04-08','12' -'342','val_342','2008-04-08','12' -'348','val_348','2008-04-08','11' -'348','val_348','2008-04-08','12' -'35','val_35','2008-04-08','12' -'364','val_364','2008-04-08','12' -'37','val_37','2008-04-08','11' -'378','val_378','2008-04-08','11' -'384','val_384','2008-04-08','11' -'389','val_389','2008-04-08','11' -'400','val_400','2008-04-08','11' -'403','val_403','2008-04-08','12' -'407','val_407','2008-04-08','12' -'409','val_409','2008-04-08','11' -'417','val_417','2008-04-08','12' -'42','val_42','2008-04-08','11' -'424','val_424','2008-04-08','12' -'429','val_429','2008-04-08','11' -'429','val_429','2008-04-08','12' -'430','val_430','2008-04-08','12' -'431','val_431','2008-04-08','11' -'432','val_432','2008-04-08','12' -'44','val_44','2008-04-08','11' -'453','val_453','2008-04-08','11' -'454','val_454','2008-04-08','11' -'457','val_457','2008-04-08','11' -'457','val_457','2008-04-08','12' -'458','val_458','2008-04-08','11' -'466','val_466','2008-04-08','12' -'467','val_467','2008-04-08','11' -'469','val_469','2008-04-08','11' -'469','val_469','2008-04-08','11' -'469','val_469','2008-04-08','11' -'47','val_47','2008-04-08','12' -'470','val_470','2008-04-08','12' -'489','val_489','2008-04-08','11' -'491','val_491','2008-04-08','11' -'496','val_496','2008-04-08','12' -'498','val_498','2008-04-08','11' -'498','val_498','2008-04-08','12' -'51','val_51','2008-04-08','11' -'58','val_58','2008-04-08','12' -'70','val_70','2008-04-08','11' -'72','val_72','2008-04-08','12' -'74','val_74','2008-04-08','11' -'77','val_77','2008-04-08','11' -'77','val_77','2008-04-08','12' -'78','val_78','2008-04-08','11' -'82','val_82','2008-04-08','12' -'87','val_87','2008-04-08','12' -'90','val_90','2008-04-08','12' -'97','val_97','2008-04-08','12' -'97','val_97','2008-04-08','12' -'98','val_98','2008-04-08','12' -116 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/rand_partitionpruner3.q.out ql/src/test/results/beelinepositive/rand_partitionpruner3.q.out deleted file mode 100644 index c9dd1b3..0000000 --- ql/src/test/results/beelinepositive/rand_partitionpruner3.q.out +++ /dev/null @@ -1,275 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/rand_partitionpruner3.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/rand_partitionpruner3.q ->>> set hive.optimize.ppd=true; -No rows affected ->>> -- complex predicates in the where clause ->>> ->>> explain extended select a.* from srcpart a where rand(1) < 0.1 and a.ds = '2008-04-08' and not(key > 50 or key < 10) and a.hr like '%2'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME a)))) (TOK_WHERE (and (and (and (< (TOK_FUNCTION rand 1) 0.1) (= (. (TOK_TABLE_OR_COL a) ds) '2008-04-08')) (not (or (> (TOK_TABLE_OR_COL key) 50) (< (TOK_TABLE_OR_COL key) 10)))) (like (. (TOK_TABLE_OR_COL a) hr) '%2')))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((rand(1) < 0.1) and (not ((key > 50.0) or (key < 10.0))))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string:string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/rand_partitionpruner3.db/srcpart/ds=2008-04-08/hr=12 [a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/rand_partitionpruner3.db/srcpart/ds=2008-04-08/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/rand_partitionpruner3.db/srcpart/ds=2008-04-08/hr=12' -' name rand_partitionpruner3.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/rand_partitionpruner3.db/srcpart' -' name rand_partitionpruner3.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: rand_partitionpruner3.srcpart' -' name: rand_partitionpruner3.srcpart' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -109 rows selected ->>> select a.* from srcpart a where rand(1) < 0.1 and a.ds = '2008-04-08' and not(key > 50 or key < 10) and a.hr like '%2'; -'key','value','ds','hr' -'42','val_42','2008-04-08','12' -'44','val_44','2008-04-08','12' -'26','val_26','2008-04-08','12' -'18','val_18','2008-04-08','12' -'37','val_37','2008-04-08','12' -5 rows selected ->>> ->>> -- without rand for comparison ->>> explain extended select a.* from srcpart a where a.ds = '2008-04-08' and not(key > 50 or key < 10) and a.hr like '%2'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME a)))) (TOK_WHERE (and (and (= (. (TOK_TABLE_OR_COL a) ds) '2008-04-08') (not (or (> (TOK_TABLE_OR_COL key) 50) (< (TOK_TABLE_OR_COL key) 10)))) (like (. (TOK_TABLE_OR_COL a) hr) '%2')))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (not ((key > 50.0) or (key < 10.0)))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string:string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/rand_partitionpruner3.db/srcpart/ds=2008-04-08/hr=12 [a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/rand_partitionpruner3.db/srcpart/ds=2008-04-08/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/rand_partitionpruner3.db/srcpart/ds=2008-04-08/hr=12' -' name rand_partitionpruner3.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/rand_partitionpruner3.db/srcpart' -' name rand_partitionpruner3.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: rand_partitionpruner3.srcpart' -' name: rand_partitionpruner3.srcpart' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -109 rows selected ->>> select a.* from srcpart a where a.ds = '2008-04-08' and not(key > 50 or key < 10) and a.hr like '%2'; -'key','value','ds','hr' -'27','val_27','2008-04-08','12' -'37','val_37','2008-04-08','12' -'15','val_15','2008-04-08','12' -'17','val_17','2008-04-08','12' -'20','val_20','2008-04-08','12' -'47','val_47','2008-04-08','12' -'35','val_35','2008-04-08','12' -'12','val_12','2008-04-08','12' -'24','val_24','2008-04-08','12' -'42','val_42','2008-04-08','12' -'26','val_26','2008-04-08','12' -'43','val_43','2008-04-08','12' -'15','val_15','2008-04-08','12' -'19','val_19','2008-04-08','12' -'10','val_10','2008-04-08','12' -'35','val_35','2008-04-08','12' -'11','val_11','2008-04-08','12' -'34','val_34','2008-04-08','12' -'42','val_42','2008-04-08','12' -'41','val_41','2008-04-08','12' -'30','val_30','2008-04-08','12' -'33','val_33','2008-04-08','12' -'35','val_35','2008-04-08','12' -'44','val_44','2008-04-08','12' -'12','val_12','2008-04-08','12' -'24','val_24','2008-04-08','12' -'26','val_26','2008-04-08','12' -'18','val_18','2008-04-08','12' -'18','val_18','2008-04-08','12' -'28','val_28','2008-04-08','12' -'37','val_37','2008-04-08','12' -31 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/rcfile_bigdata.q.out ql/src/test/results/beelinepositive/rcfile_bigdata.q.out deleted file mode 100644 index f28d048..0000000 --- ql/src/test/results/beelinepositive/rcfile_bigdata.q.out +++ /dev/null @@ -1,35 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/rcfile_bigdata.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/rcfile_bigdata.q ->>> set hive.map.aggr.hash.percentmemory = 0.3; -No rows affected ->>> set hive.mapred.local.mem = 256; -No rows affected ->>> ->>> add file ../data/scripts/dumpdata_script.py; -No rows affected ->>> ->>> CREATE table columnTable_Bigdata (key STRING, value STRING) -ROW FORMAT SERDE -'org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -STORED AS -INPUTFORMAT 'org.apache.hadoop.hive.ql.io.RCFileInputFormat' -OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.RCFileOutputFormat'; -No rows affected ->>> ->>> FROM (FROM src MAP src.key,src.value USING 'python dumpdata_script.py' AS (key,value) WHERE src.key = 10) subq -INSERT OVERWRITE TABLE columnTable_Bigdata SELECT subq.key, subq.value; -'key','value' -No rows selected ->>> ->>> describe columnTable_Bigdata; -'col_name','data_type','comment' -'key','string','' -'value','string','' -2 rows selected ->>> select count(columnTable_Bigdata.key) from columnTable_Bigdata; -'_c0' -'5005500' -1 row selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/rcfile_columnar.q.out ql/src/test/results/beelinepositive/rcfile_columnar.q.out deleted file mode 100644 index 8a02001..0000000 --- ql/src/test/results/beelinepositive/rcfile_columnar.q.out +++ /dev/null @@ -1,37 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/rcfile_columnar.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/rcfile_columnar.q ->>> ->>> CREATE table columnTable (key STRING, value STRING) -ROW FORMAT SERDE -'org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -STORED AS -INPUTFORMAT 'org.apache.hadoop.hive.ql.io.RCFileInputFormat' -OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.RCFileOutputFormat'; -No rows affected ->>> ->>> FROM src -INSERT OVERWRITE TABLE columnTable SELECT src.key, src.value LIMIT 10; -'key','value' -No rows selected ->>> describe columnTable; -'col_name','data_type','comment' -'key','string','' -'value','string','' -2 rows selected ->>> ->>> SELECT columnTable.* FROM columnTable ORDER BY key ASC, value ASC; -'key','value' -'165','val_165' -'238','val_238' -'255','val_255' -'27','val_27' -'278','val_278' -'311','val_311' -'409','val_409' -'484','val_484' -'86','val_86' -'98','val_98' -10 rows selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/rcfile_createas1.q.out ql/src/test/results/beelinepositive/rcfile_createas1.q.out deleted file mode 100644 index 4ca534b..0000000 --- ql/src/test/results/beelinepositive/rcfile_createas1.q.out +++ /dev/null @@ -1,141 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/rcfile_createas1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/rcfile_createas1.q ->>> set hive.merge.rcfile.block.level=true; -No rows affected ->>> set mapred.max.split.size=100; -No rows affected ->>> set mapred.min.split.size=1; -No rows affected ->>> ->>> DROP TABLE rcfile_createas1a; -No rows affected ->>> DROP TABLE rcfile_createas1b; -No rows affected ->>> ->>> CREATE TABLE rcfile_createas1a (key INT, value STRING) -PARTITIONED BY (ds string); -No rows affected ->>> INSERT OVERWRITE TABLE rcfile_createas1a PARTITION (ds='1') -SELECT * FROM src; -'_col0','_col1' -No rows selected ->>> INSERT OVERWRITE TABLE rcfile_createas1a PARTITION (ds='2') -SELECT * FROM src; -'_col0','_col1' -No rows selected ->>> ->>> EXPLAIN -CREATE TABLE rcfile_createas1b -STORED AS RCFILE AS -SELECT key, value, PMOD(HASH(key), 50) as part -FROM rcfile_createas1a; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_CREATETABLE (TOK_TABNAME rcfile_createas1b) TOK_LIKETABLE TOK_TBLRCFILE (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME rcfile_createas1a))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_FUNCTION PMOD (TOK_FUNCTION HASH (TOK_TABLE_OR_COL key)) 50) part)))))' -'' -'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-8 depends on stages: Stage-0' -' Stage-2 depends on stages: Stage-8' -' Stage-3' -' Stage-5' -' Stage-6 depends on stages: Stage-5' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' rcfile_createas1a ' -' TableScan' -' alias: rcfile_createas1a' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: pmod(hash(key), 50)' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.hive.ql.io.RCFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -' name: rcfile_createas1.rcfile_createas1b' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: !!{hive.metastore.warehouse.dir}!!/rcfile_createas1.db/rcfile_createas1b' -'' -' Stage: Stage-8' -' Create Table Operator:' -' Create Table' -' columns: key int, value string, part int' -' if not exists: false' -' input format: org.apache.hadoop.hive.ql.io.RCFileInputFormat' -' # buckets: -1' -' output format: org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -' serde name: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -' name: rcfile_createas1b' -' isExternal: false' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Block level merge' -'' -' Stage: Stage-5' -' Block level merge' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -81 rows selected ->>> CREATE TABLE rcfile_createas1b -STORED AS RCFILE AS -SELECT key, value, PMOD(HASH(key), 50) as part -FROM rcfile_createas1a; -'key','value','part' -No rows selected ->>> ->>> SELECT SUM(HASH(c)) FROM ( -SELECT TRANSFORM(key, value) USING 'tr \t _' AS (c) -FROM rcfile_createas1a -) t; -'_c0' -'14412220296' -1 row selected ->>> SELECT SUM(HASH(c)) FROM ( -SELECT TRANSFORM(key, value) USING 'tr \t _' AS (c) -FROM rcfile_createas1b -) t; -'_c0' -'14412220296' -1 row selected ->>> ->>> DROP TABLE rcfile_createas1a; -No rows affected ->>> DROP TABLE rcfile_createas1b; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/rcfile_default_format.q.out ql/src/test/results/beelinepositive/rcfile_default_format.q.out deleted file mode 100644 index 03f569b..0000000 --- ql/src/test/results/beelinepositive/rcfile_default_format.q.out +++ /dev/null @@ -1,54 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/rcfile_default_format.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/rcfile_default_format.q ->>> SET hive.default.fileformat = RCFile; -No rows affected ->>> ->>> CREATE TABLE rcfile_default_format (key STRING); -No rows affected ->>> DESCRIBE EXTENDED rcfile_default_format; -'col_name','data_type','comment' -'key','string','' -'','','' -'Detailed Table Information','Table(tableName:rcfile_default_format, dbName:rcfile_default_format, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/rcfile_default_format.db/rcfile_default_format, 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:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{transient_lastDdlTime=!!UNIXTIME!!}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -3 rows selected ->>> ->>> CREATE TABLE rcfile_default_format_ctas AS SELECT key,value FROM src; -'key','value' -No rows selected ->>> DESCRIBE EXTENDED rcfile_default_format_ctas; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'','','' -'Detailed Table Information','Table(tableName:rcfile_default_format_ctas, dbName:rcfile_default_format, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/rcfile_default_format.db/rcfile_default_format_ctas, 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:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{numPartitions=0, numFiles=1, transient_lastDdlTime=!!UNIXTIME!!, numRows=500, totalSize=5293, rawDataSize=4812}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -4 rows selected ->>> ->>> CREATE TABLE rcfile_default_format_txtfile (key STRING) STORED AS TEXTFILE; -No rows affected ->>> INSERT OVERWRITE TABLE rcfile_default_format_txtfile SELECT key from src; -'key' -No rows selected ->>> DESCRIBE EXTENDED rcfile_default_format_txtfile; -'col_name','data_type','comment' -'key','string','' -'','','' -'Detailed Table Information','Table(tableName:rcfile_default_format_txtfile, dbName:rcfile_default_format, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/rcfile_default_format.db/rcfile_default_format_txtfile, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{numPartitions=0, numFiles=1, transient_lastDdlTime=!!UNIXTIME!!, totalSize=1906, numRows=500, rawDataSize=1406}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -3 rows selected ->>> ->>> SET hive.default.fileformat = TextFile; -No rows affected ->>> CREATE TABLE textfile_default_format_ctas AS SELECT key,value FROM rcfile_default_format_ctas; -'key','value' -No rows selected ->>> DESCRIBE EXTENDED textfile_default_format_ctas; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'','','' -'Detailed Table Information','Table(tableName:textfile_default_format_ctas, dbName:rcfile_default_format, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/rcfile_default_format.db/textfile_default_format_ctas, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{numPartitions=0, numFiles=1, transient_lastDdlTime=!!UNIXTIME!!, numRows=500, totalSize=5812, rawDataSize=5312}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -4 rows selected ->>> ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/rcfile_lazydecompress.q.out ql/src/test/results/beelinepositive/rcfile_lazydecompress.q.out deleted file mode 100644 index 57c740a..0000000 --- ql/src/test/results/beelinepositive/rcfile_lazydecompress.q.out +++ /dev/null @@ -1,77 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/rcfile_lazydecompress.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/rcfile_lazydecompress.q ->>> ->>> CREATE table rcfileTableLazyDecompress (key STRING, value STRING) STORED AS RCFile; -No rows affected ->>> ->>> FROM src -INSERT OVERWRITE TABLE rcfileTableLazyDecompress SELECT src.key, src.value LIMIT 10; -'key','value' -No rows selected ->>> ->>> SELECT key, value FROM rcfileTableLazyDecompress where key > 238 ORDER BY key ASC, value ASC; -'key','value' -'255','val_255' -'278','val_278' -'311','val_311' -'409','val_409' -'484','val_484' -5 rows selected ->>> ->>> SELECT key, value FROM rcfileTableLazyDecompress where key > 238 and key < 400 ORDER BY key ASC, value ASC; -'key','value' -'255','val_255' -'278','val_278' -'311','val_311' -3 rows selected ->>> ->>> SELECT key, count(1) FROM rcfileTableLazyDecompress where key > 238 group by key ORDER BY key ASC; -'key','_c1' -'255','1' -'278','1' -'311','1' -'409','1' -'484','1' -5 rows selected ->>> ->>> set mapred.output.compress=true; -No rows affected ->>> set hive.exec.compress.output=true; -No rows affected ->>> ->>> FROM src -INSERT OVERWRITE TABLE rcfileTableLazyDecompress SELECT src.key, src.value LIMIT 10; -'key','value' -No rows selected ->>> ->>> SELECT key, value FROM rcfileTableLazyDecompress where key > 238 ORDER BY key ASC, value ASC; -'key','value' -'255','val_255' -'278','val_278' -'311','val_311' -'409','val_409' -'484','val_484' -5 rows selected ->>> ->>> SELECT key, value FROM rcfileTableLazyDecompress where key > 238 and key < 400 ORDER BY key ASC, value ASC; -'key','value' -'255','val_255' -'278','val_278' -'311','val_311' -3 rows selected ->>> ->>> SELECT key, count(1) FROM rcfileTableLazyDecompress where key > 238 group by key ORDER BY key ASC; -'key','_c1' -'255','1' -'278','1' -'311','1' -'409','1' -'484','1' -5 rows selected ->>> ->>> set mapred.output.compress=false; -No rows affected ->>> set hive.exec.compress.output=false; -No rows affected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/rcfile_merge1.q.out ql/src/test/results/beelinepositive/rcfile_merge1.q.out deleted file mode 100644 index 9571910..0000000 --- ql/src/test/results/beelinepositive/rcfile_merge1.q.out +++ /dev/null @@ -1,261 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/rcfile_merge1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/rcfile_merge1.q ->>> set hive.merge.rcfile.block.level=false; -No rows affected ->>> set hive.exec.dynamic.partition=true; -No rows affected ->>> set mapred.max.split.size=100; -No rows affected ->>> set mapref.min.split.size=1; -No rows affected ->>> ->>> DROP TABLE rcfile_merge1; -No rows affected ->>> DROP TABLE rcfile_merge1b; -No rows affected ->>> ->>> CREATE TABLE rcfile_merge1 (key INT, value STRING) -PARTITIONED BY (ds STRING, part STRING) STORED AS RCFILE; -No rows affected ->>> CREATE TABLE rcfile_merge1b (key INT, value STRING) -PARTITIONED BY (ds STRING, part STRING) STORED AS RCFILE; -No rows affected ->>> ->>> -- Use non block-level merge ->>> EXPLAIN -INSERT OVERWRITE TABLE rcfile_merge1 PARTITION (ds='1', part) -SELECT key, value, PMOD(HASH(key), 100) as part -FROM src; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME rcfile_merge1) (TOK_PARTSPEC (TOK_PARTVAL ds '1') (TOK_PARTVAL part)))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_FUNCTION PMOD (TOK_FUNCTION HASH (TOK_TABLE_OR_COL key)) 100) part))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: pmod(hash(key), 100)' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.hive.ql.io.RCFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -' serde: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -' name: rcfile_merge1.rcfile_merge1' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' partition:' -' ds 1' -' part ' -' replace: true' -' table:' -' input format: org.apache.hadoop.hive.ql.io.RCFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -' serde: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -' name: rcfile_merge1.rcfile_merge1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.hive.ql.io.RCFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -' serde: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -' name: rcfile_merge1.rcfile_merge1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.hive.ql.io.RCFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -' serde: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -' name: rcfile_merge1.rcfile_merge1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -105 rows selected ->>> INSERT OVERWRITE TABLE rcfile_merge1 PARTITION (ds='1', part) -SELECT key, value, PMOD(HASH(key), 100) as part -FROM src; -'_col0','_col1','_col2' -No rows selected ->>> ->>> set hive.merge.rcfile.block.level=true; -No rows affected ->>> EXPLAIN -INSERT OVERWRITE TABLE rcfile_merge1b PARTITION (ds='1', part) -SELECT key, value, PMOD(HASH(key), 100) as part -FROM src; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME rcfile_merge1b) (TOK_PARTSPEC (TOK_PARTVAL ds '1') (TOK_PARTVAL part)))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_FUNCTION PMOD (TOK_FUNCTION HASH (TOK_TABLE_OR_COL key)) 100) part))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: pmod(hash(key), 100)' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.hive.ql.io.RCFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -' serde: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -' name: rcfile_merge1.rcfile_merge1b' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' partition:' -' ds 1' -' part ' -' replace: true' -' table:' -' input format: org.apache.hadoop.hive.ql.io.RCFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -' serde: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -' name: rcfile_merge1.rcfile_merge1b' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Block level merge' -'' -' Stage: Stage-5' -' Block level merge' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -85 rows selected ->>> INSERT OVERWRITE TABLE rcfile_merge1b PARTITION (ds='1', part) -SELECT key, value, PMOD(HASH(key), 100) as part -FROM src; -'_col0','_col1','_col2' -No rows selected ->>> ->>> -- Verify ->>> SELECT SUM(HASH(c)) FROM ( -SELECT TRANSFORM(*) USING 'tr \t _' AS (c) -FROM rcfile_merge1 WHERE ds='1' -) t; -'_c0' -'59521204047' -1 row selected ->>> SELECT SUM(HASH(c)) FROM ( -SELECT TRANSFORM(*) USING 'tr \t _' AS (c) -FROM rcfile_merge1b WHERE ds='1' -) t; -'_c0' -'59521204047' -1 row selected ->>> ->>> DROP TABLE rcfile_merge1; -No rows affected ->>> DROP TABLE rcfile_merge1b; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/rcfile_merge2.q.out ql/src/test/results/beelinepositive/rcfile_merge2.q.out deleted file mode 100644 index d276d6b..0000000 --- ql/src/test/results/beelinepositive/rcfile_merge2.q.out +++ /dev/null @@ -1,142 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/rcfile_merge2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/rcfile_merge2.q ->>> set hive.merge.rcfile.block.level=true; -No rows affected ->>> set hive.exec.dynamic.partition=true; -No rows affected ->>> set mapred.max.split.size=100; -No rows affected ->>> set mapred.min.split.size=1; -No rows affected ->>> ->>> DROP TABLE rcfile_merge2a; -No rows affected ->>> ->>> CREATE TABLE rcfile_merge2a (key INT, value STRING) -PARTITIONED BY (one string, two string, three string) -STORED AS RCFILE; -No rows affected ->>> ->>> EXPLAIN INSERT OVERWRITE TABLE rcfile_merge2a PARTITION (one='1', two, three) -SELECT key, value, PMOD(HASH(key), 10) as two, -PMOD(HASH(value), 10) as three -FROM src; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME rcfile_merge2a) (TOK_PARTSPEC (TOK_PARTVAL one '1') (TOK_PARTVAL two) (TOK_PARTVAL three)))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_FUNCTION PMOD (TOK_FUNCTION HASH (TOK_TABLE_OR_COL key)) 10) two) (TOK_SELEXPR (TOK_FUNCTION PMOD (TOK_FUNCTION HASH (TOK_TABLE_OR_COL value)) 10) three))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: pmod(hash(key), 10)' -' type: int' -' expr: pmod(hash(value), 10)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: int' -' expr: _col3' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.hive.ql.io.RCFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -' serde: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -' name: rcfile_merge2.rcfile_merge2a' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' partition:' -' one 1' -' three ' -' two ' -' replace: true' -' table:' -' input format: org.apache.hadoop.hive.ql.io.RCFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -' serde: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -' name: rcfile_merge2.rcfile_merge2a' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Block level merge' -'' -' Stage: Stage-5' -' Block level merge' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -90 rows selected ->>> INSERT OVERWRITE TABLE rcfile_merge2a PARTITION (one='1', two, three) -SELECT key, value, PMOD(HASH(key), 10) as two, -PMOD(HASH(value), 10) as three -FROM src; -'_col0','_col1','_col2','_col3' -No rows selected ->>> ->>> SELECT SUM(HASH(c)) FROM ( -SELECT TRANSFORM(*) USING 'tr \t _' AS (c) -FROM rcfile_merge2a -) t; -'_c0' -'-4209012844' -1 row selected ->>> SELECT SUM(HASH(c)) FROM ( -SELECT TRANSFORM(key, value, '1', PMOD(HASH(key), 10), -PMOD(HASH(value), 10)) USING 'tr \t _' AS (c) -FROM src -) t; -'_c0' -'-4209012844' -1 row selected ->>> ->>> DROP TABLE rcfile_merge2a; -No rows affected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/rcfile_merge3.q.out ql/src/test/results/beelinepositive/rcfile_merge3.q.out deleted file mode 100644 index 6d5332a..0000000 --- ql/src/test/results/beelinepositive/rcfile_merge3.q.out +++ /dev/null @@ -1,129 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/rcfile_merge3.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/rcfile_merge3.q ->>> set hive.merge.rcfile.block.level=true; -No rows affected ->>> set mapred.max.split.size=100; -No rows affected ->>> set mapred.min.split.size=1; -No rows affected ->>> ->>> DROP TABLE rcfile_merge3a; -No rows affected ->>> DROP TABLE rcfile_merge3b; -No rows affected ->>> ->>> CREATE TABLE rcfile_merge3a (key int, value string) -PARTITIONED BY (ds string) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE rcfile_merge3b (key int, value string) STORED AS RCFILE; -No rows affected ->>> ->>> INSERT OVERWRITE TABLE rcfile_merge3a PARTITION (ds='1') -SELECT * FROM src; -'_col0','_col1' -No rows selected ->>> INSERT OVERWRITE TABLE rcfile_merge3a PARTITION (ds='2') -SELECT * FROM src; -'_col0','_col1' -No rows selected ->>> ->>> EXPLAIN INSERT OVERWRITE TABLE rcfile_merge3b -SELECT key, value FROM rcfile_merge3a; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME rcfile_merge3a))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME rcfile_merge3b))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' rcfile_merge3a ' -' TableScan' -' alias: rcfile_merge3a' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.hive.ql.io.RCFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -' serde: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -' name: rcfile_merge3.rcfile_merge3b' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' table:' -' input format: org.apache.hadoop.hive.ql.io.RCFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -' serde: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -' name: rcfile_merge3.rcfile_merge3b' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Block level merge' -'' -' Stage: Stage-5' -' Block level merge' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -71 rows selected ->>> INSERT OVERWRITE TABLE rcfile_merge3b -SELECT key, value FROM rcfile_merge3a; -'key','value' -No rows selected ->>> ->>> SELECT SUM(HASH(c)) FROM ( -SELECT TRANSFORM(key, value) USING 'tr \t _' AS (c) -FROM rcfile_merge3a -) t; -'_c0' -'14412220296' -1 row selected ->>> SELECT SUM(HASH(c)) FROM ( -SELECT TRANSFORM(key, value) USING 'tr \t _' AS (c) -FROM rcfile_merge3b -) t; -'_c0' -'14412220296' -1 row selected ->>> ->>> DROP TABLE rcfile_merge3a; -No rows affected ->>> DROP TABLE rcfile_merge3b; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/rcfile_merge4.q.out ql/src/test/results/beelinepositive/rcfile_merge4.q.out deleted file mode 100644 index c8bf3a7..0000000 --- ql/src/test/results/beelinepositive/rcfile_merge4.q.out +++ /dev/null @@ -1,149 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/rcfile_merge4.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/rcfile_merge4.q ->>> set hive.merge.rcfile.block.level=true; -No rows affected ->>> set mapred.max.split.size=100; -No rows affected ->>> set mapred.min.split.size=1; -No rows affected ->>> ->>> DROP TABLE rcfile_merge3a; -No rows affected ->>> DROP TABLE rcfile_merge3b; -No rows affected ->>> ->>> CREATE TABLE rcfile_merge3a (key int, value string) -PARTITIONED BY (ds string) STORED AS RCFILE; -No rows affected ->>> CREATE TABLE rcfile_merge3b (key int, value string) STORED AS TEXTFILE; -No rows affected ->>> ->>> INSERT OVERWRITE TABLE rcfile_merge3a PARTITION (ds='1') -SELECT * FROM src; -'_col0','_col1' -No rows selected ->>> INSERT OVERWRITE TABLE rcfile_merge3a PARTITION (ds='2') -SELECT * FROM src; -'_col0','_col1' -No rows selected ->>> ->>> EXPLAIN INSERT OVERWRITE TABLE rcfile_merge3b -SELECT key, value FROM rcfile_merge3a; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME rcfile_merge3a))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME rcfile_merge3b))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' rcfile_merge3a ' -' TableScan' -' alias: rcfile_merge3a' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: rcfile_merge4.rcfile_merge3b' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: rcfile_merge4.rcfile_merge3b' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: rcfile_merge4.rcfile_merge3b' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: rcfile_merge4.rcfile_merge3b' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -91 rows selected ->>> INSERT OVERWRITE TABLE rcfile_merge3b -SELECT key, value FROM rcfile_merge3a; -'key','value' -No rows selected ->>> ->>> SELECT SUM(HASH(c)) FROM ( -SELECT TRANSFORM(key, value) USING 'tr \t _' AS (c) -FROM rcfile_merge3a -) t; -'_c0' -'14412220296' -1 row selected ->>> SELECT SUM(HASH(c)) FROM ( -SELECT TRANSFORM(key, value) USING 'tr \t _' AS (c) -FROM rcfile_merge3b -) t; -'_c0' -'14412220296' -1 row selected ->>> ->>> DROP TABLE rcfile_merge3a; -No rows affected ->>> DROP TABLE rcfile_merge3b; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/rcfile_null_value.q.out ql/src/test/results/beelinepositive/rcfile_null_value.q.out deleted file mode 100644 index 76f2f11..0000000 --- ql/src/test/results/beelinepositive/rcfile_null_value.q.out +++ /dev/null @@ -1,222 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/rcfile_null_value.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/rcfile_null_value.q ->>> CREATE TABLE src1_rc(key STRING, value STRING) STORED AS RCFILE; -No rows affected ->>> INSERT OVERWRITE TABLE src1_rc SELECT * FROM src1; -'key','value' -No rows selected ->>> SELECT * FROM src1_rc; -'key','value' -'238','val_238' -'','' -'311','val_311' -'','val_27' -'','val_165' -'','val_409' -'255','val_255' -'278','val_278' -'98','val_98' -'','val_484' -'','val_265' -'','val_193' -'401','val_401' -'150','val_150' -'273','val_273' -'224','' -'369','' -'66','val_66' -'128','' -'213','val_213' -'146','val_146' -'406','val_406' -'','' -'','' -'','' -25 rows selected ->>> ->>> ->>> CREATE TABLE dest1_rc(c1 INT, c2 STRING, c3 INT, c4 STRING) STORED AS RCFILE; -No rows affected ->>> ->>> EXPLAIN -FROM ( -FROM -( -FROM src src1 SELECT src1.key AS c1, src1.value AS c2 WHERE src1.key > 10 and src1.key < 20 -) a -RIGHT OUTER JOIN -( -FROM src src2 SELECT src2.key AS c3, src2.value AS c4 WHERE src2.key > 15 and src2.key < 25 -) b -ON (a.c1 = b.c3) -SELECT a.c1 AS c1, a.c2 AS c2, b.c3 AS c3, b.c4 AS c4 -) c -INSERT OVERWRITE TABLE dest1_rc SELECT c.c1, c.c2, c.c3, c.c4; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) src1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) value) c2)) (TOK_WHERE (and (> (. (TOK_TABLE_OR_COL src1) key) 10) (< (. (TOK_TABLE_OR_COL src1) key) 20))))) a) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) src2)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) key) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) value) c4)) (TOK_WHERE (and (> (. (TOK_TABLE_OR_COL src2) key) 15) (< (. (TOK_TABLE_OR_COL src2) key) 25))))) b) (= (. (TOK_TABLE_OR_COL a) c1) (. (TOK_TABLE_OR_COL b) c3)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) c1) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) c2) c2) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) c3) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) c4) c4)))) c)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1_rc))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c2)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c3)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) c4)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' c:a:src1 ' -' TableScan' -' alias: src1' -' Filter Operator' -' predicate:' -' expr: ((key > 10.0) and (key < 20.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' c:b:src2 ' -' TableScan' -' alias: src2' -' Filter Operator' -' predicate:' -' expr: ((key > 15.0) and (key < 25.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: UDFToInteger(_col2)' -' type: int' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.hive.ql.io.RCFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -' serde: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -' name: rcfile_null_value.dest1_rc' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' table:' -' input format: org.apache.hadoop.hive.ql.io.RCFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -' serde: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -' name: rcfile_null_value.dest1_rc' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -133 rows selected ->>> ->>> FROM ( -FROM -( -FROM src src1 SELECT src1.key AS c1, src1.value AS c2 WHERE src1.key > 10 and src1.key < 20 -) a -RIGHT OUTER JOIN -( -FROM src src2 SELECT src2.key AS c3, src2.value AS c4 WHERE src2.key > 15 and src2.key < 25 -) b -ON (a.c1 = b.c3) -SELECT a.c1 AS c1, a.c2 AS c2, b.c3 AS c3, b.c4 AS c4 -) c -INSERT OVERWRITE TABLE dest1_rc SELECT c.c1, c.c2, c.c3, c.c4; -'_col0','_col1','_col2','_col3' -No rows selected ->>> ->>> SELECT dest1_rc.* FROM dest1_rc; -'c1','c2','c3','c4' -'17','val_17','17','val_17' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'19','val_19','19','val_19' -'','','20','val_20' -'','','24','val_24' -'','','24','val_24' -9 rows selected ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/rcfile_toleratecorruptions.q.out ql/src/test/results/beelinepositive/rcfile_toleratecorruptions.q.out deleted file mode 100644 index 0740968..0000000 --- ql/src/test/results/beelinepositive/rcfile_toleratecorruptions.q.out +++ /dev/null @@ -1,520 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/rcfile_toleratecorruptions.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/rcfile_toleratecorruptions.q ->>> CREATE TABLE test_src(key int, value string) stored as RCFILE; -No rows affected ->>> set hive.io.rcfile.record.interval=5; -No rows affected ->>> set hive.io.rcfile.record.buffer.size=100; -No rows affected ->>> set hive.exec.compress.output=true; -No rows affected ->>> INSERT OVERWRITE table test_src SELECT * FROM src; -'_col0','_col1' -No rows selected ->>> ->>> set hive.io.rcfile.tolerate.corruptions=true; -No rows affected ->>> SELECT key, value FROM test_src order by key; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'2','val_2' -'4','val_4' -'5','val_5' -'5','val_5' -'5','val_5' -'8','val_8' -'9','val_9' -'10','val_10' -'11','val_11' -'12','val_12' -'12','val_12' -'15','val_15' -'15','val_15' -'17','val_17' -'18','val_18' -'18','val_18' -'19','val_19' -'20','val_20' -'24','val_24' -'24','val_24' -'26','val_26' -'26','val_26' -'27','val_27' -'28','val_28' -'30','val_30' -'33','val_33' -'34','val_34' -'35','val_35' -'35','val_35' -'35','val_35' -'37','val_37' -'37','val_37' -'41','val_41' -'42','val_42' -'42','val_42' -'43','val_43' -'44','val_44' -'47','val_47' -'51','val_51' -'51','val_51' -'53','val_53' -'54','val_54' -'57','val_57' -'58','val_58' -'58','val_58' -'64','val_64' -'65','val_65' -'66','val_66' -'67','val_67' -'67','val_67' -'69','val_69' -'70','val_70' -'70','val_70' -'70','val_70' -'72','val_72' -'72','val_72' -'74','val_74' -'76','val_76' -'76','val_76' -'77','val_77' -'78','val_78' -'80','val_80' -'82','val_82' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'95','val_95' -'95','val_95' -'96','val_96' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -'100','val_100' -'100','val_100' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -'105','val_105' -'111','val_111' -'113','val_113' -'113','val_113' -'114','val_114' -'116','val_116' -'118','val_118' -'118','val_118' -'119','val_119' -'119','val_119' -'119','val_119' -'120','val_120' -'120','val_120' -'125','val_125' -'125','val_125' -'126','val_126' -'128','val_128' -'128','val_128' -'128','val_128' -'129','val_129' -'129','val_129' -'131','val_131' -'133','val_133' -'134','val_134' -'134','val_134' -'136','val_136' -'137','val_137' -'137','val_137' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'143','val_143' -'145','val_145' -'146','val_146' -'146','val_146' -'149','val_149' -'149','val_149' -'150','val_150' -'152','val_152' -'152','val_152' -'153','val_153' -'155','val_155' -'156','val_156' -'157','val_157' -'158','val_158' -'160','val_160' -'162','val_162' -'163','val_163' -'164','val_164' -'164','val_164' -'165','val_165' -'165','val_165' -'166','val_166' -'167','val_167' -'167','val_167' -'167','val_167' -'168','val_168' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'170','val_170' -'172','val_172' -'172','val_172' -'174','val_174' -'174','val_174' -'175','val_175' -'175','val_175' -'176','val_176' -'176','val_176' -'177','val_177' -'178','val_178' -'179','val_179' -'179','val_179' -'180','val_180' -'181','val_181' -'183','val_183' -'186','val_186' -'187','val_187' -'187','val_187' -'187','val_187' -'189','val_189' -'190','val_190' -'191','val_191' -'191','val_191' -'192','val_192' -'193','val_193' -'193','val_193' -'193','val_193' -'194','val_194' -'195','val_195' -'195','val_195' -'196','val_196' -'197','val_197' -'197','val_197' -'199','val_199' -'199','val_199' -'199','val_199' -'200','val_200' -'200','val_200' -'201','val_201' -'202','val_202' -'203','val_203' -'203','val_203' -'205','val_205' -'205','val_205' -'207','val_207' -'207','val_207' -'208','val_208' -'208','val_208' -'208','val_208' -'209','val_209' -'209','val_209' -'213','val_213' -'213','val_213' -'214','val_214' -'216','val_216' -'216','val_216' -'217','val_217' -'217','val_217' -'218','val_218' -'219','val_219' -'219','val_219' -'221','val_221' -'221','val_221' -'222','val_222' -'223','val_223' -'223','val_223' -'224','val_224' -'224','val_224' -'226','val_226' -'228','val_228' -'229','val_229' -'229','val_229' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'233','val_233' -'233','val_233' -'235','val_235' -'237','val_237' -'237','val_237' -'238','val_238' -'238','val_238' -'239','val_239' -'239','val_239' -'241','val_241' -'242','val_242' -'242','val_242' -'244','val_244' -'247','val_247' -'248','val_248' -'249','val_249' -'252','val_252' -'255','val_255' -'255','val_255' -'256','val_256' -'256','val_256' -'257','val_257' -'258','val_258' -'260','val_260' -'262','val_262' -'263','val_263' -'265','val_265' -'265','val_265' -'266','val_266' -'272','val_272' -'272','val_272' -'273','val_273' -'273','val_273' -'273','val_273' -'274','val_274' -'275','val_275' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'278','val_278' -'278','val_278' -'280','val_280' -'280','val_280' -'281','val_281' -'281','val_281' -'282','val_282' -'282','val_282' -'283','val_283' -'284','val_284' -'285','val_285' -'286','val_286' -'287','val_287' -'288','val_288' -'288','val_288' -'289','val_289' -'291','val_291' -'292','val_292' -'296','val_296' -'298','val_298' -'298','val_298' -'298','val_298' -'302','val_302' -'305','val_305' -'306','val_306' -'307','val_307' -'307','val_307' -'308','val_308' -'309','val_309' -'309','val_309' -'310','val_310' -'311','val_311' -'311','val_311' -'311','val_311' -'315','val_315' -'316','val_316' -'316','val_316' -'316','val_316' -'317','val_317' -'317','val_317' -'318','val_318' -'318','val_318' -'318','val_318' -'321','val_321' -'321','val_321' -'322','val_322' -'322','val_322' -'323','val_323' -'325','val_325' -'325','val_325' -'327','val_327' -'327','val_327' -'327','val_327' -'331','val_331' -'331','val_331' -'332','val_332' -'333','val_333' -'333','val_333' -'335','val_335' -'336','val_336' -'338','val_338' -'339','val_339' -'341','val_341' -'342','val_342' -'342','val_342' -'344','val_344' -'344','val_344' -'345','val_345' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'351','val_351' -'353','val_353' -'353','val_353' -'356','val_356' -'360','val_360' -'362','val_362' -'364','val_364' -'365','val_365' -'366','val_366' -'367','val_367' -'367','val_367' -'368','val_368' -'369','val_369' -'369','val_369' -'369','val_369' -'373','val_373' -'374','val_374' -'375','val_375' -'377','val_377' -'378','val_378' -'379','val_379' -'382','val_382' -'382','val_382' -'384','val_384' -'384','val_384' -'384','val_384' -'386','val_386' -'389','val_389' -'392','val_392' -'393','val_393' -'394','val_394' -'395','val_395' -'395','val_395' -'396','val_396' -'396','val_396' -'396','val_396' -'397','val_397' -'397','val_397' -'399','val_399' -'399','val_399' -'400','val_400' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'402','val_402' -'403','val_403' -'403','val_403' -'403','val_403' -'404','val_404' -'404','val_404' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'407','val_407' -'409','val_409' -'409','val_409' -'409','val_409' -'411','val_411' -'413','val_413' -'413','val_413' -'414','val_414' -'414','val_414' -'417','val_417' -'417','val_417' -'417','val_417' -'418','val_418' -'419','val_419' -'421','val_421' -'424','val_424' -'424','val_424' -'427','val_427' -'429','val_429' -'429','val_429' -'430','val_430' -'430','val_430' -'430','val_430' -'431','val_431' -'431','val_431' -'431','val_431' -'432','val_432' -'435','val_435' -'436','val_436' -'437','val_437' -'438','val_438' -'438','val_438' -'438','val_438' -'439','val_439' -'439','val_439' -'443','val_443' -'444','val_444' -'446','val_446' -'448','val_448' -'449','val_449' -'452','val_452' -'453','val_453' -'454','val_454' -'454','val_454' -'454','val_454' -'455','val_455' -'457','val_457' -'458','val_458' -'458','val_458' -'459','val_459' -'459','val_459' -'460','val_460' -'462','val_462' -'462','val_462' -'463','val_463' -'463','val_463' -'466','val_466' -'466','val_466' -'466','val_466' -'467','val_467' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'470','val_470' -'472','val_472' -'475','val_475' -'477','val_477' -'478','val_478' -'478','val_478' -'479','val_479' -'480','val_480' -'480','val_480' -'480','val_480' -'481','val_481' -'482','val_482' -'483','val_483' -'484','val_484' -'485','val_485' -'487','val_487' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'490','val_490' -'491','val_491' -'492','val_492' -'492','val_492' -'493','val_493' -'494','val_494' -'495','val_495' -'496','val_496' -'497','val_497' -'498','val_498' -'498','val_498' -'498','val_498' -500 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/rcfile_union.q.out ql/src/test/results/beelinepositive/rcfile_union.q.out deleted file mode 100644 index 883a2a8..0000000 --- ql/src/test/results/beelinepositive/rcfile_union.q.out +++ /dev/null @@ -1,42 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/rcfile_union.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/rcfile_union.q ->>> ->>> CREATE table rcfile_unionTable (b STRING, c STRING) -ROW FORMAT SERDE -'org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -STORED AS RCFILE; -No rows affected ->>> ->>> FROM src -INSERT OVERWRITE TABLE rcfile_unionTable SELECT src.key, src.value LIMIT 10; -'key','value' -No rows selected ->>> ->>> SELECT * FROM ( -SELECT b AS cola FROM rcfile_unionTable -UNION ALL -SELECT c AS cola FROM rcfile_unionTable) s ORDER BY cola ASC; -'cola' -'165' -'238' -'255' -'27' -'278' -'311' -'409' -'484' -'86' -'98' -'val_165' -'val_238' -'val_255' -'val_27' -'val_278' -'val_311' -'val_409' -'val_484' -'val_86' -'val_98' -20 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/reduce_deduplicate.q.out ql/src/test/results/beelinepositive/reduce_deduplicate.q.out deleted file mode 100644 index e1bcee1..0000000 --- ql/src/test/results/beelinepositive/reduce_deduplicate.q.out +++ /dev/null @@ -1,390 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/reduce_deduplicate.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/reduce_deduplicate.q ->>> set hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> set hive.enforce.bucketing = true; -No rows affected ->>> set hive.exec.reducers.max = 1; -No rows affected ->>> set hive.exec.script.trust = true; -No rows affected ->>> ->>> ->>> ->>> CREATE TABLE bucket5_1(key string, value string) CLUSTERED BY (key) INTO 2 BUCKETS; -No rows affected ->>> explain extended -insert overwrite table bucket5_1 -select * from src cluster by key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME bucket5_1))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_CLUSTERBY (TOK_TABLE_OR_COL key))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/reduce_deduplicate.db/src [src]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/reduce_deduplicate.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/reduce_deduplicate.db/src' -' name reduce_deduplicate.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/reduce_deduplicate.db/src' -' name reduce_deduplicate.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: reduce_deduplicate.src' -' name: reduce_deduplicate.src' -' Reduce Operator Tree:' -' Extract' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 2' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/reduce_deduplicate.db/bucket5_1' -' name reduce_deduplicate.bucket5_1' -' serialization.ddl struct bucket5_1 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: reduce_deduplicate.bucket5_1' -' TotalFiles: 2' -' GatherStats: true' -' MultiFileSpray: true' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/reduce_deduplicate.db/bucket5_1' -' name reduce_deduplicate.bucket5_1' -' serialization.ddl struct bucket5_1 { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: reduce_deduplicate.bucket5_1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -154 rows selected ->>> ->>> insert overwrite table bucket5_1 -select * from src cluster by key; -'key','value' -No rows selected ->>> ->>> select sum(hash(key)),sum(hash(value)) from bucket5_1; -'_c0','_c1' -'21025334','36210398070' -1 row selected ->>> select sum(hash(key)),sum(hash(value)) from src; -'_c0','_c1' -'21025334','36210398070' -1 row selected ->>> ->>> ->>> create table complex_tbl_1(aid string, bid string, t int, ctime string, etime bigint, l string, et string) partitioned by (ds string); -No rows affected ->>> ->>> ->>> create table complex_tbl_2(aet string, aes string) partitioned by (ds string); -No rows affected ->>> ->>> explain extended -insert overwrite table complex_tbl_1 partition (ds='2010-03-29') -select s2.* from -( -select TRANSFORM (aid,bid,t,ctime,etime,l,et) -USING 'cat' -AS (aid string, bid string, t int, ctime string, etime bigint, l string, et string) -from -( -select transform(aet,aes) -using 'cat' -as (aid string, bid string, t int, ctime string, etime bigint, l string, et string) -from complex_tbl_2 where ds ='2010-03-29' cluster by bid -)s -)s2; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME complex_tbl_2))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TRANSFORM (TOK_EXPLIST (TOK_TABLE_OR_COL aet) (TOK_TABLE_OR_COL aes)) TOK_SERDE TOK_RECORDWRITER 'cat' TOK_SERDE TOK_RECORDREADER (TOK_TABCOLLIST (TOK_TABCOL aid TOK_STRING) (TOK_TABCOL bid TOK_STRING) (TOK_TABCOL t TOK_INT) (TOK_TABCOL ctime TOK_STRING) (TOK_TABCOL etime TOK_BIGINT) (TOK_TABCOL l TOK_STRING) (TOK_TABCOL et TOK_STRING))))) (TOK_WHERE (= (TOK_TABLE_OR_COL ds) '2010-03-29')) (TOK_CLUSTERBY (TOK_TABLE_OR_COL bid)))) s)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TRANSFORM (TOK_EXPLIST (TOK_TABLE_OR_COL aid) (TOK_TABLE_OR_COL bid) (TOK_TABLE_OR_COL t) (TOK_TABLE_OR_COL ctime) (TOK_TABLE_OR_COL etime) (TOK_TABLE_OR_COL l) (TOK_TABLE_OR_COL et)) TOK_SERDE TOK_RECORDWRITER 'cat' TOK_SERDE TOK_RECORDREADER (TOK_TABCOLLIST (TOK_TABCOL aid TOK_STRING) (TOK_TABCOL bid TOK_STRING) (TOK_TABCOL t TOK_INT) (TOK_TABCOL ctime TOK_STRING) (TOK_TABCOL etime TOK_BIGINT) (TOK_TABCOL l TOK_STRING) (TOK_TABCOL et TOK_STRING))))))) s2)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME complex_tbl_1) (TOK_PARTSPEC (TOK_PARTVAL ds '2010-03-29')))) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME s2))))))' -'' -'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' -' Alias -> Map Operator Tree:' -' s2:s:complex_tbl_2 ' -' TableScan' -' alias: complex_tbl_2' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (ds = '2010-03-29')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: aet' -' type: string' -' expr: aes' -' type: string' -' outputColumnNames: _col0, _col1' -' Transform Operator' -' command: cat' -' output info:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3,_col4,_col5,_col6' -' columns.types string,string,int,string,bigint,string,string' -' field.delim 9' -' serialization.format 9' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col1' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: int' -' expr: _col3' -' type: string' -' expr: _col4' -' type: bigint' -' expr: _col5' -' type: string' -' expr: _col6' -' type: string' -' Needs Tagging: false' -' Reduce Operator Tree:' -' Extract' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: int' -' expr: _col3' -' type: string' -' expr: _col4' -' type: bigint' -' expr: _col5' -' type: string' -' expr: _col6' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6' -' Transform Operator' -' command: cat' -' output info:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3,_col4,_col5,_col6' -' columns.types string,string,int,string,bigint,string,string' -' field.delim 9' -' serialization.format 9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: int' -' expr: _col3' -' type: string' -' expr: _col4' -' type: bigint' -' expr: _col5' -' type: string' -' expr: _col6' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Static Partition Specification: ds=2010-03-29/' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns aid,bid,t,ctime,etime,l,et' -' columns.types string:string:int:string:bigint:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/reduce_deduplicate.db/complex_tbl_1' -' name reduce_deduplicate.complex_tbl_1' -' partition_columns ds' -' serialization.ddl struct complex_tbl_1 { string aid, string bid, i32 t, string ctime, i64 etime, string l, string et}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: reduce_deduplicate.complex_tbl_1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' partition:' -' ds 2010-03-29' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns aid,bid,t,ctime,etime,l,et' -' columns.types string:string:int:string:bigint:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/reduce_deduplicate.db/complex_tbl_1' -' name reduce_deduplicate.complex_tbl_1' -' partition_columns ds' -' serialization.ddl struct complex_tbl_1 { string aid, string bid, i32 t, string ctime, i64 etime, string l, string et}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: reduce_deduplicate.complex_tbl_1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -170 rows selected ->>> ->>> ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/reduce_deduplicate_exclude_gby.q.out ql/src/test/results/beelinepositive/reduce_deduplicate_exclude_gby.q.out deleted file mode 100644 index cf53e63..0000000 --- ql/src/test/results/beelinepositive/reduce_deduplicate_exclude_gby.q.out +++ /dev/null @@ -1,14 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/reduce_deduplicate_exclude_gby.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/reduce_deduplicate_exclude_gby.q ->>> create table t1( key_int1 int, key_int2 int, key_string1 string, key_string2 string); -No rows affected ->>> ->>> set hive.map.aggr=false; -No rows affected ->>> select Q1.key_int1, sum(Q1.key_int1) from (select * from t1 cluster by key_int1) Q1 group by Q1.key_int1; -'key_int1','_c1' -No rows selected ->>> ->>> drop table t1; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/reduce_deduplicate_exclude_join.q.out ql/src/test/results/beelinepositive/reduce_deduplicate_exclude_join.q.out deleted file mode 100644 index 58cae49..0000000 --- ql/src/test/results/beelinepositive/reduce_deduplicate_exclude_join.q.out +++ /dev/null @@ -1,245 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/reduce_deduplicate_exclude_join.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/reduce_deduplicate_exclude_join.q ->>> set hive.optimize.reducededuplication=true; -No rows affected ->>> set hive.auto.convert.join=true; -No rows affected ->>> explain select * from (select * from src cluster by key) a join src b on a.key = b.key limit 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_CLUSTERBY (TOK_TABLE_OR_COL key)))) a) (TOK_TABREF (TOK_TABNAME src) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-5 depends on stages: Stage-2 , consists of Stage-6, Stage-7, Stage-1' -' Stage-6 has a backup stage: Stage-1' -' Stage-3 depends on stages: Stage-6' -' Stage-7 has a backup stage: Stage-1' -' Stage-4 depends on stages: Stage-7' -' Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-5' -' Conditional Operator' -'' -' Stage: Stage-6' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' b ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' b ' -' TableScan' -' alias: b' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col0} {_col1}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {_col0} {_col1}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-7' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' $INTNAME ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' $INTNAME ' -' HashTable Sink Operator' -' condition expressions:' -' 0 {_col0} {_col1}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {_col0} {_col1}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[_col0]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -235 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/regex_col.q.out ql/src/test/results/beelinepositive/regex_col.q.out deleted file mode 100644 index 5821a92..0000000 --- ql/src/test/results/beelinepositive/regex_col.q.out +++ /dev/null @@ -1,529 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/regex_col.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/regex_col.q ->>> EXPLAIN -SELECT * FROM srcpart; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -' Processor Tree:' -' TableScan' -' alias: srcpart' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' ListSink' -'' -'' -27 rows selected ->>> ->>> EXPLAIN -SELECT `..` FROM srcpart; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL `..`)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' srcpart ' -' TableScan' -' alias: srcpart' -' Select Operator' -' expressions:' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -33 rows selected ->>> ->>> EXPLAIN -SELECT srcpart.`..` FROM srcpart; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL srcpart) `..`)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' srcpart ' -' TableScan' -' alias: srcpart' -' Select Operator' -' expressions:' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -33 rows selected ->>> ->>> EXPLAIN -SELECT `..` FROM srcpart a JOIN srcpart b -ON a.key = b.key AND a.value = b.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcpart) a) (TOK_TABREF (TOK_TABNAME srcpart) b) (AND (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL a) value) (. (TOK_TABLE_OR_COL b) value))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL `..`)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' tag: 0' -' value expressions:' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' tag: 1' -' value expressions:' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col2} {VALUE._col3}' -' 1 {VALUE._col2} {VALUE._col3}' -' handleSkewJoin: false' -' outputColumnNames: _col2, _col3, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -85 rows selected ->>> ->>> EXPLAIN -SELECT b.`..` FROM srcpart a JOIN srcpart b -ON a.key = b.key AND a.hr = b.hr AND a.ds = b.ds AND a.key = 103 -ORDER BY ds, hr; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcpart) a) (TOK_TABREF (TOK_TABNAME srcpart) b) (AND (AND (AND (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL a) hr) (. (TOK_TABLE_OR_COL b) hr))) (= (. (TOK_TABLE_OR_COL a) ds) (. (TOK_TABLE_OR_COL b) ds))) (= (. (TOK_TABLE_OR_COL a) key) 103)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) `..`))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL ds)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL hr)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (key = 103.0)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: hr' -' type: string' -' expr: ds' -' type: string' -' sort order: +++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: hr' -' type: string' -' expr: ds' -' type: string' -' tag: 0' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (key = 103.0)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: hr' -' type: string' -' expr: ds' -' type: string' -' sort order: +++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: hr' -' type: string' -' expr: ds' -' type: string' -' tag: 1' -' value expressions:' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 {VALUE._col2} {VALUE._col3}' -' handleSkewJoin: false' -' outputColumnNames: _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -119 rows selected ->>> ->>> SELECT b.`..` FROM srcpart a JOIN srcpart b -ON a.key = b.key AND a.hr = b.hr AND a.ds = b.ds AND a.key = 103 -ORDER BY ds, hr; -'ds','hr' -'2008-04-08','11' -'2008-04-08','11' -'2008-04-08','11' -'2008-04-08','11' -'2008-04-08','12' -'2008-04-08','12' -'2008-04-08','12' -'2008-04-08','12' -'2008-04-09','11' -'2008-04-09','11' -'2008-04-09','11' -'2008-04-09','11' -'2008-04-09','12' -'2008-04-09','12' -'2008-04-09','12' -'2008-04-09','12' -16 rows selected ->>> ->>> EXPLAIN -SELECT `.e.` FROM srcpart; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL `.e.`)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' srcpart ' -' TableScan' -' alias: srcpart' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -31 rows selected ->>> ->>> EXPLAIN -SELECT `d.*` FROM srcpart; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL `d.*`)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' srcpart ' -' TableScan' -' alias: srcpart' -' Select Operator' -' expressions:' -' expr: ds' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -31 rows selected ->>> ->>> EXPLAIN -SELECT `(ds)?+.+` FROM srcpart; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL `(ds)?+.+`)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' srcpart ' -' TableScan' -' alias: srcpart' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -35 rows selected ->>> ->>> EXPLAIN -SELECT `(ds|hr)?+.+` FROM srcpart ORDER BY key, value LIMIT 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL `(ds|hr)?+.+`))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value))) (TOK_LIMIT 10)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' srcpart ' -' TableScan' -' alias: srcpart' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 10' -'' -'' -49 rows selected ->>> ->>> SELECT `(ds|hr)?+.+` FROM srcpart ORDER BY key, value LIMIT 10; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -10 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/regexp_extract.q.out ql/src/test/results/beelinepositive/regexp_extract.q.out deleted file mode 100644 index 90811e0..0000000 --- ql/src/test/results/beelinepositive/regexp_extract.q.out +++ /dev/null @@ -1,488 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/regexp_extract.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/regexp_extract.q ->>> EXPLAIN EXTENDED -FROM ( -FROM src -SELECT TRANSFORM(src.key, src.value, 1+2, 3+4) -USING 'cat' -CLUSTER BY key -) tmap -SELECT tmap.key, regexp_extract(tmap.value, 'val_(\\d+\\t\\d+)',1) WHERE tmap.key < 100; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TRANSFORM (TOK_EXPLIST (. (TOK_TABLE_OR_COL src) key) (. (TOK_TABLE_OR_COL src) value) (+ 1 2) (+ 3 4)) TOK_SERDE TOK_RECORDWRITER 'cat' TOK_SERDE TOK_RECORDREADER))) (TOK_CLUSTERBY (TOK_TABLE_OR_COL key)))) tmap)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL tmap) key)) (TOK_SELEXPR (TOK_FUNCTION regexp_extract (. (TOK_TABLE_OR_COL tmap) value) 'val_(\\d+\\t\\d+)' 1))) (TOK_WHERE (< (. (TOK_TABLE_OR_COL tmap) key) 100))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tmap:src ' -' TableScan' -' alias: src' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: (1 + 2)' -' type: int' -' expr: (3 + 4)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Transform Operator' -' command: cat' -' output info:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string,string' -' field.delim 9' -' serialization.format 9' -' serialization.last.column.takes.rest true' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (_col0 < 100.0)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/regexp_extract.db/src [tmap:src]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/regexp_extract.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/regexp_extract.db/src' -' name regexp_extract.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/regexp_extract.db/src' -' name regexp_extract.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: regexp_extract.src' -' name: regexp_extract.src' -' Reduce Operator Tree:' -' Extract' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: regexp_extract(_col1, 'val_(\d+\t\d+)', 1)' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -138 rows selected ->>> ->>> FROM ( -FROM src -SELECT TRANSFORM(src.key, src.value, 1+2, 3+4) -USING 'cat' -CLUSTER BY key -) tmap -SELECT tmap.key, regexp_extract(tmap.value, 'val_(\\d+\\t\\d+)',1) WHERE tmap.key < 100; -'key','_c1' -'0','0 3' -'0','0 3' -'0','0 3' -'10','10 3' -'11','11 3' -'12','12 3' -'12','12 3' -'15','15 3' -'15','15 3' -'17','17 3' -'18','18 3' -'18','18 3' -'19','19 3' -'2','2 3' -'20','20 3' -'24','24 3' -'24','24 3' -'26','26 3' -'26','26 3' -'27','27 3' -'28','28 3' -'30','30 3' -'33','33 3' -'34','34 3' -'35','35 3' -'35','35 3' -'35','35 3' -'37','37 3' -'37','37 3' -'4','4 3' -'41','41 3' -'42','42 3' -'42','42 3' -'43','43 3' -'44','44 3' -'47','47 3' -'5','5 3' -'5','5 3' -'5','5 3' -'51','51 3' -'51','51 3' -'53','53 3' -'54','54 3' -'57','57 3' -'58','58 3' -'58','58 3' -'64','64 3' -'65','65 3' -'66','66 3' -'67','67 3' -'67','67 3' -'69','69 3' -'70','70 3' -'70','70 3' -'70','70 3' -'72','72 3' -'72','72 3' -'74','74 3' -'76','76 3' -'76','76 3' -'77','77 3' -'78','78 3' -'8','8 3' -'80','80 3' -'82','82 3' -'83','83 3' -'83','83 3' -'84','84 3' -'84','84 3' -'85','85 3' -'86','86 3' -'87','87 3' -'9','9 3' -'90','90 3' -'90','90 3' -'90','90 3' -'92','92 3' -'95','95 3' -'95','95 3' -'96','96 3' -'97','97 3' -'97','97 3' -'98','98 3' -'98','98 3' -84 rows selected ->>> ->>> EXPLAIN EXTENDED -FROM ( -FROM src -SELECT TRANSFORM(src.key, src.value, 1+2, 3+4) -USING 'cat' -CLUSTER BY key -) tmap -SELECT tmap.key, regexp_extract(tmap.value, 'val_(\\d+\\t\\d+)') WHERE tmap.key < 100; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TRANSFORM (TOK_EXPLIST (. (TOK_TABLE_OR_COL src) key) (. (TOK_TABLE_OR_COL src) value) (+ 1 2) (+ 3 4)) TOK_SERDE TOK_RECORDWRITER 'cat' TOK_SERDE TOK_RECORDREADER))) (TOK_CLUSTERBY (TOK_TABLE_OR_COL key)))) tmap)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL tmap) key)) (TOK_SELEXPR (TOK_FUNCTION regexp_extract (. (TOK_TABLE_OR_COL tmap) value) 'val_(\\d+\\t\\d+)'))) (TOK_WHERE (< (. (TOK_TABLE_OR_COL tmap) key) 100))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tmap:src ' -' TableScan' -' alias: src' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: (1 + 2)' -' type: int' -' expr: (3 + 4)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Transform Operator' -' command: cat' -' output info:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string,string' -' field.delim 9' -' serialization.format 9' -' serialization.last.column.takes.rest true' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (_col0 < 100.0)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/regexp_extract.db/src [tmap:src]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/regexp_extract.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/regexp_extract.db/src' -' name regexp_extract.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/regexp_extract.db/src' -' name regexp_extract.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: regexp_extract.src' -' name: regexp_extract.src' -' Reduce Operator Tree:' -' Extract' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: regexp_extract(_col1, 'val_(\d+\t\d+)')' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -138 rows selected ->>> ->>> FROM ( -FROM src -SELECT TRANSFORM(src.key, src.value, 1+2, 3+4) -USING 'cat' -CLUSTER BY key -) tmap -SELECT tmap.key, regexp_extract(tmap.value, 'val_(\\d+\\t\\d+)') WHERE tmap.key < 100; -'key','_c1' -'0','0 3' -'0','0 3' -'0','0 3' -'10','10 3' -'11','11 3' -'12','12 3' -'12','12 3' -'15','15 3' -'15','15 3' -'17','17 3' -'18','18 3' -'18','18 3' -'19','19 3' -'2','2 3' -'20','20 3' -'24','24 3' -'24','24 3' -'26','26 3' -'26','26 3' -'27','27 3' -'28','28 3' -'30','30 3' -'33','33 3' -'34','34 3' -'35','35 3' -'35','35 3' -'35','35 3' -'37','37 3' -'37','37 3' -'4','4 3' -'41','41 3' -'42','42 3' -'42','42 3' -'43','43 3' -'44','44 3' -'47','47 3' -'5','5 3' -'5','5 3' -'5','5 3' -'51','51 3' -'51','51 3' -'53','53 3' -'54','54 3' -'57','57 3' -'58','58 3' -'58','58 3' -'64','64 3' -'65','65 3' -'66','66 3' -'67','67 3' -'67','67 3' -'69','69 3' -'70','70 3' -'70','70 3' -'70','70 3' -'72','72 3' -'72','72 3' -'74','74 3' -'76','76 3' -'76','76 3' -'77','77 3' -'78','78 3' -'8','8 3' -'80','80 3' -'82','82 3' -'83','83 3' -'83','83 3' -'84','84 3' -'84','84 3' -'85','85 3' -'86','86 3' -'87','87 3' -'9','9 3' -'90','90 3' -'90','90 3' -'90','90 3' -'92','92 3' -'95','95 3' -'95','95 3' -'96','96 3' -'97','97 3' -'97','97 3' -'98','98 3' -'98','98 3' -84 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/rename_partition_location.q.out ql/src/test/results/beelinepositive/rename_partition_location.q.out deleted file mode 100644 index f1929f6..0000000 --- ql/src/test/results/beelinepositive/rename_partition_location.q.out +++ /dev/null @@ -1,34 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/rename_partition_location.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/rename_partition_location.q ->>> -- This test verifies that if the tables location changes, renaming a partition will not change ->>> -- the partition location accordingly ->>> ->>> CREATE TABLE rename_partition_table (key STRING, value STRING) PARTITIONED BY (part STRING) -STORED AS RCFILE -LOCATION 'pfile:${system:test.tmp.dir}/rename_partition_table'; -No rows affected ->>> ->>> INSERT OVERWRITE TABLE rename_partition_table PARTITION (part = '1') SELECT * FROM src; -'key','value' -No rows selected ->>> ->>> ALTER TABLE rename_partition_table SET LOCATION 'file:${system:test.tmp.dir}/rename_partition_table'; -No rows affected ->>> ->>> ALTER TABLE rename_partition_table PARTITION (part = '1') RENAME TO PARTITION (part = '2'); -No rows affected ->>> ->>> SET hive.exec.post.hooks=org.apache.hadoop.hive.ql.hooks.VerifyPartitionIsNotSubdirectoryOfTableHook; -No rows affected ->>> ->>> SELECT count(*) FROM rename_partition_table where part = '2'; -'_c0' -'500' -1 row selected ->>> ->>> SET hive.exec.post.hooks=; -No rows affected ->>> ->>> DROP TABLE rename_partition_table; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/repair.q.out ql/src/test/results/beelinepositive/repair.q.out deleted file mode 100644 index 736e1e3..0000000 --- ql/src/test/results/beelinepositive/repair.q.out +++ /dev/null @@ -1,39 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/repair.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/repair.q ->>> ->>> ->>> CREATE TABLE repairtable(col STRING) PARTITIONED BY (p1 STRING, p2 STRING); -No rows affected ->>> ->>> -- EXCLUDE_HADOOP_MAJOR_VERSIONS(0.20, 0.23) ->>> ->>> -- When you invoke the mkdir command using versions of Hadoop up to and including 0.23, ->>> -- they behave as if you had specified the -p option, ->>> -- *but* they don't actually support the -p option. ->>> ->>> -- Support for the -p option first appeared in 1.0 and 2.0, ->>> -- but they maintain backward compatibility with older versions, ->>> -- so they let you include -p, but if you don't they still act like you did. ->>> ->>> -- HADOOP-8551 breaks backward compatibility with 0.23 and older versions by ->>> -- requiring you to explicitly specify -p if you require that behavior. ->>> ->>> MSCK TABLE repairtable; -No rows affected ->>> ->>> dfs -mkdir -p ../build/ql/test/data/warehouse/repairtable/p1=a/p2=a; -No rows affected ->>> dfs -mkdir -p ../build/ql/test/data/warehouse/repairtable/p1=b/p2=a; -No rows affected ->>> ->>> MSCK TABLE repairtable; -No rows affected ->>> ->>> MSCK REPAIR TABLE repairtable; -No rows affected ->>> ->>> MSCK TABLE repairtable; -No rows affected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/repair_hadoop23.q.out ql/src/test/results/beelinepositive/repair_hadoop23.q.out deleted file mode 100644 index e825098..0000000 --- ql/src/test/results/beelinepositive/repair_hadoop23.q.out +++ /dev/null @@ -1,38 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/repair_hadoop23.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/repair_hadoop23.q ->>> ->>> ->>> CREATE TABLE repairtable(col STRING) PARTITIONED BY (p1 STRING, p2 STRING); -No rows affected ->>> ->>> -- INCLUDE_HADOOP_MAJOR_VERSIONS(0.20, 0.23) ->>> -- When you invoke the mkdir command using versions of Hadoop up to and including 0.23, ->>> -- they behave as if you had specified the -p option, ->>> -- *but* they don't actually support the -p option. ->>> ->>> -- Support for the -p option first appeared in 1.0 and 2.0, ->>> -- but they maintain backward compatibility with older versions, ->>> -- so they let you include -p, but if you don't they still act like you did. ->>> ->>> -- HADOOP-8551 breaks backward compatibility with 0.23 and older versions by ->>> -- requiring you to explicitly specify -p if you require that behavior. ->>> ->>> MSCK TABLE repairtable; -No rows affected ->>> ->>> dfs -mkdir ../build/ql/test/data/warehouse/repairtable/p1=a/p2=a; -No rows affected ->>> dfs -mkdir ../build/ql/test/data/warehouse/repairtable/p1=b/p2=a; -No rows affected ->>> ->>> MSCK TABLE repairtable; -No rows affected ->>> ->>> MSCK REPAIR TABLE repairtable; -No rows affected ->>> ->>> MSCK TABLE repairtable; -No rows affected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/router_join_ppr.q.out ql/src/test/results/beelinepositive/router_join_ppr.q.out deleted file mode 100644 index 6836968..0000000 --- ql/src/test/results/beelinepositive/router_join_ppr.q.out +++ /dev/null @@ -1,1394 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/router_join_ppr.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/router_join_ppr.q ->>> set hive.optimize.ppd=true; -No rows affected ->>> ->>> EXPLAIN EXTENDED -FROM -src a -RIGHT OUTER JOIN -srcpart b -ON (a.key = b.key AND b.ds = '2008-04-08') -SELECT a.key, a.value, b.key, b.value -WHERE a.key > 10 AND a.key < 20 AND b.key > 15 AND b.key < 25; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_TABREF (TOK_TABNAME src) a) (TOK_TABREF (TOK_TABNAME srcpart) b) (AND (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL b) ds) '2008-04-08')))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value))) (TOK_WHERE (AND (AND (AND (> (. (TOK_TABLE_OR_COL a) key) 10) (< (. (TOK_TABLE_OR_COL a) key) 20)) (> (. (TOK_TABLE_OR_COL b) key) 15)) (< (. (TOK_TABLE_OR_COL b) key) 25)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((key > 15.0) and (key < 25.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((key > 15.0) and (key < 25.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' Needs Tagging: true' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/src [a]' -' !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart/ds=2008-04-08/hr=11 [b]' -' !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart/ds=2008-04-08/hr=12 [b]' -' !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart/ds=2008-04-09/hr=11 [b]' -' !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart/ds=2008-04-09/hr=12 [b]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/src' -' name router_join_ppr.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/src' -' name router_join_ppr.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: router_join_ppr.src' -' name: router_join_ppr.src' -' !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart/ds=2008-04-08/hr=11' -' name router_join_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart' -' name router_join_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: router_join_ppr.srcpart' -' name: router_join_ppr.srcpart' -' !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart/ds=2008-04-08/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart/ds=2008-04-08/hr=12' -' name router_join_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart' -' name router_join_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: router_join_ppr.srcpart' -' name: router_join_ppr.srcpart' -' !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart/ds=2008-04-09/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-09' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart/ds=2008-04-09/hr=11' -' name router_join_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart' -' name router_join_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: router_join_ppr.srcpart' -' name: router_join_ppr.srcpart' -' !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart/ds=2008-04-09/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-09' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart/ds=2008-04-09/hr=12' -' name router_join_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart' -' name router_join_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: router_join_ppr.srcpart' -' name: router_join_ppr.srcpart' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' filter mappings:' -' 1 [0, 1]' -' filter predicates:' -' 0 ' -' 1 {(VALUE._col2 = '2008-04-08')}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((_col0 > 10.0) and (_col0 < 20.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string:string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -370 rows selected ->>> ->>> FROM -src a -RIGHT OUTER JOIN -srcpart b -ON (a.key = b.key AND b.ds = '2008-04-08') -SELECT a.key, a.value, b.key, b.value -WHERE a.key > 10 AND a.key < 20 AND b.key > 15 AND b.key < 25; -'key','value','key','value' -'17','val_17','17','val_17' -'17','val_17','17','val_17' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'19','val_19','19','val_19' -'19','val_19','19','val_19' -12 rows selected ->>> ->>> EXPLAIN EXTENDED -FROM -srcpart a -RIGHT OUTER JOIN -src b -ON (a.key = b.key AND a.ds = '2008-04-08') -SELECT a.key, a.value, b.key, b.value -WHERE a.key > 10 AND a.key < 20 AND b.key > 15 AND b.key < 25; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_TABREF (TOK_TABNAME srcpart) a) (TOK_TABREF (TOK_TABNAME src) b) (AND (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL a) ds) '2008-04-08')))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value))) (TOK_WHERE (AND (AND (AND (> (. (TOK_TABLE_OR_COL a) key) 10) (< (. (TOK_TABLE_OR_COL a) key) 20)) (> (. (TOK_TABLE_OR_COL b) key) 15)) (< (. (TOK_TABLE_OR_COL b) key) 25)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((key > 15.0) and (key < 25.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((key > 15.0) and (key < 25.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Needs Tagging: true' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/src [b]' -' !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart/ds=2008-04-08/hr=11 [a]' -' !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart/ds=2008-04-08/hr=12 [a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/src' -' name router_join_ppr.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/src' -' name router_join_ppr.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: router_join_ppr.src' -' name: router_join_ppr.src' -' !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart/ds=2008-04-08/hr=11' -' name router_join_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart' -' name router_join_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: router_join_ppr.srcpart' -' name: router_join_ppr.srcpart' -' !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart/ds=2008-04-08/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart/ds=2008-04-08/hr=12' -' name router_join_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart' -' name router_join_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: router_join_ppr.srcpart' -' name: router_join_ppr.srcpart' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col6, _col7' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((_col0 > 10.0) and (_col0 < 20.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col6' -' type: string' -' expr: _col7' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string:string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -259 rows selected ->>> ->>> FROM -srcpart a -RIGHT OUTER JOIN -src b -ON (a.key = b.key AND a.ds = '2008-04-08') -SELECT a.key, a.value, b.key, b.value -WHERE a.key > 10 AND a.key < 20 AND b.key > 15 AND b.key < 25; -'key','value','key','value' -'17','val_17','17','val_17' -'17','val_17','17','val_17' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'19','val_19','19','val_19' -'19','val_19','19','val_19' -12 rows selected ->>> ->>> ->>> EXPLAIN EXTENDED -FROM -src a -RIGHT OUTER JOIN -srcpart b -ON (a.key = b.key) -SELECT a.key, a.value, b.key, b.value -WHERE a.key > 10 AND a.key < 20 AND b.key > 15 AND b.key < 25 AND b.ds = '2008-04-08'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_TABREF (TOK_TABNAME src) a) (TOK_TABREF (TOK_TABNAME srcpart) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value))) (TOK_WHERE (AND (AND (AND (AND (> (. (TOK_TABLE_OR_COL a) key) 10) (< (. (TOK_TABLE_OR_COL a) key) 20)) (> (. (TOK_TABLE_OR_COL b) key) 15)) (< (. (TOK_TABLE_OR_COL b) key) 25)) (= (. (TOK_TABLE_OR_COL b) ds) '2008-04-08')))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((key > 15.0) and (key < 25.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((key > 15.0) and (key < 25.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' Needs Tagging: true' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/src [a]' -' !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart/ds=2008-04-08/hr=11 [b]' -' !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart/ds=2008-04-08/hr=12 [b]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/src' -' name router_join_ppr.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/src' -' name router_join_ppr.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: router_join_ppr.src' -' name: router_join_ppr.src' -' !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart/ds=2008-04-08/hr=11' -' name router_join_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart' -' name router_join_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: router_join_ppr.srcpart' -' name: router_join_ppr.srcpart' -' !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart/ds=2008-04-08/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart/ds=2008-04-08/hr=12' -' name router_join_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart' -' name router_join_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: router_join_ppr.srcpart' -' name: router_join_ppr.srcpart' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1} {VALUE._col2}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col6' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((_col0 > 10.0) and (_col0 < 20.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string:string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -261 rows selected ->>> ->>> FROM -src a -RIGHT OUTER JOIN -srcpart b -ON (a.key = b.key) -SELECT a.key, a.value, b.key, b.value -WHERE a.key > 10 AND a.key < 20 AND b.key > 15 AND b.key < 25 AND b.ds = '2008-04-08'; -'key','value','key','value' -'17','val_17','17','val_17' -'17','val_17','17','val_17' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'19','val_19','19','val_19' -'19','val_19','19','val_19' -12 rows selected ->>> ->>> EXPLAIN EXTENDED -FROM -srcpart a -RIGHT OUTER JOIN -src b -ON (a.key = b.key) -SELECT a.key, a.value, b.key, b.value -WHERE a.key > 10 AND a.key < 20 AND b.key > 15 AND b.key < 25 AND a.ds = '2008-04-08'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_TABREF (TOK_TABNAME srcpart) a) (TOK_TABREF (TOK_TABNAME src) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value))) (TOK_WHERE (AND (AND (AND (AND (> (. (TOK_TABLE_OR_COL a) key) 10) (< (. (TOK_TABLE_OR_COL a) key) 20)) (> (. (TOK_TABLE_OR_COL b) key) 15)) (< (. (TOK_TABLE_OR_COL b) key) 25)) (= (. (TOK_TABLE_OR_COL a) ds) '2008-04-08')))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((key > 15.0) and (key < 25.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((key > 15.0) and (key < 25.0))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Needs Tagging: true' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/src [b]' -' !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart/ds=2008-04-08/hr=11 [a]' -' !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart/ds=2008-04-08/hr=12 [a]' -' !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart/ds=2008-04-09/hr=11 [a]' -' !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart/ds=2008-04-09/hr=12 [a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/src' -' name router_join_ppr.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/src' -' name router_join_ppr.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: router_join_ppr.src' -' name: router_join_ppr.src' -' !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart/ds=2008-04-08/hr=11' -' name router_join_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart' -' name router_join_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: router_join_ppr.srcpart' -' name: router_join_ppr.srcpart' -' !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart/ds=2008-04-08/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart/ds=2008-04-08/hr=12' -' name router_join_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart' -' name router_join_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: router_join_ppr.srcpart' -' name: router_join_ppr.srcpart' -' !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart/ds=2008-04-09/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-09' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart/ds=2008-04-09/hr=11' -' name router_join_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart' -' name router_join_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: router_join_ppr.srcpart' -' name: router_join_ppr.srcpart' -' !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart/ds=2008-04-09/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-09' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart/ds=2008-04-09/hr=12' -' name router_join_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/router_join_ppr.db/srcpart' -' name router_join_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: router_join_ppr.srcpart' -' name: router_join_ppr.srcpart' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1} {VALUE._col2}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col6, _col7' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (((_col0 > 10.0) and (_col0 < 20.0)) and (_col2 = '2008-04-08'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col6' -' type: string' -' expr: _col7' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string:string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -365 rows selected ->>> ->>> FROM -srcpart a -RIGHT OUTER JOIN -src b -ON (a.key = b.key) -SELECT a.key, a.value, b.key, b.value -WHERE a.key > 10 AND a.key < 20 AND b.key > 15 AND b.key < 25 AND a.ds = '2008-04-08'; -'key','value','key','value' -'17','val_17','17','val_17' -'17','val_17','17','val_17' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'19','val_19','19','val_19' -'19','val_19','19','val_19' -12 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/sample1.q.out ql/src/test/results/beelinepositive/sample1.q.out deleted file mode 100644 index 4d0c0ce..0000000 --- ql/src/test/results/beelinepositive/sample1.q.out +++ /dev/null @@ -1,844 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/sample1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/sample1.q ->>> CREATE TABLE dest1(key INT, value STRING, dt STRING, hr STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> -- no input pruning, no sample filter ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE dest1 SELECT s.* -FROM srcpart TABLESAMPLE (BUCKET 1 OUT OF 1 ON rand()) s -WHERE s.ds='2008-04-08' and s.hr='11'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart) (TOK_TABLEBUCKETSAMPLE 1 1 (TOK_FUNCTION rand)) s)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME s)))) (TOK_WHERE (and (= (. (TOK_TABLE_OR_COL s) ds) '2008-04-08') (= (. (TOK_TABLE_OR_COL s) hr) '11')))))' -'' -'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' -' Alias -> Map Operator Tree:' -' s ' -' TableScan' -' alias: s' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: true' -' predicate:' -' expr: (((hash(rand()) & 2147483647) % 1) = 0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,dt,hr' -' columns.types int:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample1.db/dest1' -' name sample1.dest1' -' serialization.ddl struct dest1 { i32 key, string value, string dt, string hr}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample1.dest1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/sample1.db/srcpart/ds=2008-04-08/hr=11 [s]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/sample1.db/srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample1.db/srcpart/ds=2008-04-08/hr=11' -' name sample1.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample1.db/srcpart' -' name sample1.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample1.srcpart' -' name: sample1.srcpart' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,dt,hr' -' columns.types int:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample1.db/dest1' -' name sample1.dest1' -' serialization.ddl struct dest1 { i32 key, string value, string dt, string hr}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample1.dest1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,dt,hr' -' columns.types int:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample1.db/dest1' -' name sample1.dest1' -' serialization.ddl struct dest1 { i32 key, string value, string dt, string hr}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample1.dest1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,dt,hr' -' columns.types int:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample1.db/dest1' -' name sample1.dest1' -' serialization.ddl struct dest1 { i32 key, string value, string dt, string hr}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,dt,hr' -' columns.types int:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample1.db/dest1' -' name sample1.dest1' -' serialization.ddl struct dest1 { i32 key, string value, string dt, string hr}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample1.dest1' -' name: sample1.dest1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,dt,hr' -' columns.types int:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample1.db/dest1' -' name sample1.dest1' -' serialization.ddl struct dest1 { i32 key, string value, string dt, string hr}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample1.dest1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,dt,hr' -' columns.types int:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample1.db/dest1' -' name sample1.dest1' -' serialization.ddl struct dest1 { i32 key, string value, string dt, string hr}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value,dt,hr' -' columns.types int:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample1.db/dest1' -' name sample1.dest1' -' serialization.ddl struct dest1 { i32 key, string value, string dt, string hr}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample1.dest1' -' name: sample1.dest1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -316 rows selected ->>> ->>> INSERT OVERWRITE TABLE dest1 SELECT s.* -FROM srcpart TABLESAMPLE (BUCKET 1 OUT OF 1 ON rand()) s -WHERE s.ds='2008-04-08' and s.hr='11'; -'_col0','_col1','_col2','_col3' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','value','dt','hr' -'238','val_238','2008-04-08','11' -'86','val_86','2008-04-08','11' -'311','val_311','2008-04-08','11' -'27','val_27','2008-04-08','11' -'165','val_165','2008-04-08','11' -'409','val_409','2008-04-08','11' -'255','val_255','2008-04-08','11' -'278','val_278','2008-04-08','11' -'98','val_98','2008-04-08','11' -'484','val_484','2008-04-08','11' -'265','val_265','2008-04-08','11' -'193','val_193','2008-04-08','11' -'401','val_401','2008-04-08','11' -'150','val_150','2008-04-08','11' -'273','val_273','2008-04-08','11' -'224','val_224','2008-04-08','11' -'369','val_369','2008-04-08','11' -'66','val_66','2008-04-08','11' -'128','val_128','2008-04-08','11' -'213','val_213','2008-04-08','11' -'146','val_146','2008-04-08','11' -'406','val_406','2008-04-08','11' -'429','val_429','2008-04-08','11' -'374','val_374','2008-04-08','11' -'152','val_152','2008-04-08','11' -'469','val_469','2008-04-08','11' -'145','val_145','2008-04-08','11' -'495','val_495','2008-04-08','11' -'37','val_37','2008-04-08','11' -'327','val_327','2008-04-08','11' -'281','val_281','2008-04-08','11' -'277','val_277','2008-04-08','11' -'209','val_209','2008-04-08','11' -'15','val_15','2008-04-08','11' -'82','val_82','2008-04-08','11' -'403','val_403','2008-04-08','11' -'166','val_166','2008-04-08','11' -'417','val_417','2008-04-08','11' -'430','val_430','2008-04-08','11' -'252','val_252','2008-04-08','11' -'292','val_292','2008-04-08','11' -'219','val_219','2008-04-08','11' -'287','val_287','2008-04-08','11' -'153','val_153','2008-04-08','11' -'193','val_193','2008-04-08','11' -'338','val_338','2008-04-08','11' -'446','val_446','2008-04-08','11' -'459','val_459','2008-04-08','11' -'394','val_394','2008-04-08','11' -'237','val_237','2008-04-08','11' -'482','val_482','2008-04-08','11' -'174','val_174','2008-04-08','11' -'413','val_413','2008-04-08','11' -'494','val_494','2008-04-08','11' -'207','val_207','2008-04-08','11' -'199','val_199','2008-04-08','11' -'466','val_466','2008-04-08','11' -'208','val_208','2008-04-08','11' -'174','val_174','2008-04-08','11' -'399','val_399','2008-04-08','11' -'396','val_396','2008-04-08','11' -'247','val_247','2008-04-08','11' -'417','val_417','2008-04-08','11' -'489','val_489','2008-04-08','11' -'162','val_162','2008-04-08','11' -'377','val_377','2008-04-08','11' -'397','val_397','2008-04-08','11' -'309','val_309','2008-04-08','11' -'365','val_365','2008-04-08','11' -'266','val_266','2008-04-08','11' -'439','val_439','2008-04-08','11' -'342','val_342','2008-04-08','11' -'367','val_367','2008-04-08','11' -'325','val_325','2008-04-08','11' -'167','val_167','2008-04-08','11' -'195','val_195','2008-04-08','11' -'475','val_475','2008-04-08','11' -'17','val_17','2008-04-08','11' -'113','val_113','2008-04-08','11' -'155','val_155','2008-04-08','11' -'203','val_203','2008-04-08','11' -'339','val_339','2008-04-08','11' -'0','val_0','2008-04-08','11' -'455','val_455','2008-04-08','11' -'128','val_128','2008-04-08','11' -'311','val_311','2008-04-08','11' -'316','val_316','2008-04-08','11' -'57','val_57','2008-04-08','11' -'302','val_302','2008-04-08','11' -'205','val_205','2008-04-08','11' -'149','val_149','2008-04-08','11' -'438','val_438','2008-04-08','11' -'345','val_345','2008-04-08','11' -'129','val_129','2008-04-08','11' -'170','val_170','2008-04-08','11' -'20','val_20','2008-04-08','11' -'489','val_489','2008-04-08','11' -'157','val_157','2008-04-08','11' -'378','val_378','2008-04-08','11' -'221','val_221','2008-04-08','11' -'92','val_92','2008-04-08','11' -'111','val_111','2008-04-08','11' -'47','val_47','2008-04-08','11' -'72','val_72','2008-04-08','11' -'4','val_4','2008-04-08','11' -'280','val_280','2008-04-08','11' -'35','val_35','2008-04-08','11' -'427','val_427','2008-04-08','11' -'277','val_277','2008-04-08','11' -'208','val_208','2008-04-08','11' -'356','val_356','2008-04-08','11' -'399','val_399','2008-04-08','11' -'169','val_169','2008-04-08','11' -'382','val_382','2008-04-08','11' -'498','val_498','2008-04-08','11' -'125','val_125','2008-04-08','11' -'386','val_386','2008-04-08','11' -'437','val_437','2008-04-08','11' -'469','val_469','2008-04-08','11' -'192','val_192','2008-04-08','11' -'286','val_286','2008-04-08','11' -'187','val_187','2008-04-08','11' -'176','val_176','2008-04-08','11' -'54','val_54','2008-04-08','11' -'459','val_459','2008-04-08','11' -'51','val_51','2008-04-08','11' -'138','val_138','2008-04-08','11' -'103','val_103','2008-04-08','11' -'239','val_239','2008-04-08','11' -'213','val_213','2008-04-08','11' -'216','val_216','2008-04-08','11' -'430','val_430','2008-04-08','11' -'278','val_278','2008-04-08','11' -'176','val_176','2008-04-08','11' -'289','val_289','2008-04-08','11' -'221','val_221','2008-04-08','11' -'65','val_65','2008-04-08','11' -'318','val_318','2008-04-08','11' -'332','val_332','2008-04-08','11' -'311','val_311','2008-04-08','11' -'275','val_275','2008-04-08','11' -'137','val_137','2008-04-08','11' -'241','val_241','2008-04-08','11' -'83','val_83','2008-04-08','11' -'333','val_333','2008-04-08','11' -'180','val_180','2008-04-08','11' -'284','val_284','2008-04-08','11' -'12','val_12','2008-04-08','11' -'230','val_230','2008-04-08','11' -'181','val_181','2008-04-08','11' -'67','val_67','2008-04-08','11' -'260','val_260','2008-04-08','11' -'404','val_404','2008-04-08','11' -'384','val_384','2008-04-08','11' -'489','val_489','2008-04-08','11' -'353','val_353','2008-04-08','11' -'373','val_373','2008-04-08','11' -'272','val_272','2008-04-08','11' -'138','val_138','2008-04-08','11' -'217','val_217','2008-04-08','11' -'84','val_84','2008-04-08','11' -'348','val_348','2008-04-08','11' -'466','val_466','2008-04-08','11' -'58','val_58','2008-04-08','11' -'8','val_8','2008-04-08','11' -'411','val_411','2008-04-08','11' -'230','val_230','2008-04-08','11' -'208','val_208','2008-04-08','11' -'348','val_348','2008-04-08','11' -'24','val_24','2008-04-08','11' -'463','val_463','2008-04-08','11' -'431','val_431','2008-04-08','11' -'179','val_179','2008-04-08','11' -'172','val_172','2008-04-08','11' -'42','val_42','2008-04-08','11' -'129','val_129','2008-04-08','11' -'158','val_158','2008-04-08','11' -'119','val_119','2008-04-08','11' -'496','val_496','2008-04-08','11' -'0','val_0','2008-04-08','11' -'322','val_322','2008-04-08','11' -'197','val_197','2008-04-08','11' -'468','val_468','2008-04-08','11' -'393','val_393','2008-04-08','11' -'454','val_454','2008-04-08','11' -'100','val_100','2008-04-08','11' -'298','val_298','2008-04-08','11' -'199','val_199','2008-04-08','11' -'191','val_191','2008-04-08','11' -'418','val_418','2008-04-08','11' -'96','val_96','2008-04-08','11' -'26','val_26','2008-04-08','11' -'165','val_165','2008-04-08','11' -'327','val_327','2008-04-08','11' -'230','val_230','2008-04-08','11' -'205','val_205','2008-04-08','11' -'120','val_120','2008-04-08','11' -'131','val_131','2008-04-08','11' -'51','val_51','2008-04-08','11' -'404','val_404','2008-04-08','11' -'43','val_43','2008-04-08','11' -'436','val_436','2008-04-08','11' -'156','val_156','2008-04-08','11' -'469','val_469','2008-04-08','11' -'468','val_468','2008-04-08','11' -'308','val_308','2008-04-08','11' -'95','val_95','2008-04-08','11' -'196','val_196','2008-04-08','11' -'288','val_288','2008-04-08','11' -'481','val_481','2008-04-08','11' -'457','val_457','2008-04-08','11' -'98','val_98','2008-04-08','11' -'282','val_282','2008-04-08','11' -'197','val_197','2008-04-08','11' -'187','val_187','2008-04-08','11' -'318','val_318','2008-04-08','11' -'318','val_318','2008-04-08','11' -'409','val_409','2008-04-08','11' -'470','val_470','2008-04-08','11' -'137','val_137','2008-04-08','11' -'369','val_369','2008-04-08','11' -'316','val_316','2008-04-08','11' -'169','val_169','2008-04-08','11' -'413','val_413','2008-04-08','11' -'85','val_85','2008-04-08','11' -'77','val_77','2008-04-08','11' -'0','val_0','2008-04-08','11' -'490','val_490','2008-04-08','11' -'87','val_87','2008-04-08','11' -'364','val_364','2008-04-08','11' -'179','val_179','2008-04-08','11' -'118','val_118','2008-04-08','11' -'134','val_134','2008-04-08','11' -'395','val_395','2008-04-08','11' -'282','val_282','2008-04-08','11' -'138','val_138','2008-04-08','11' -'238','val_238','2008-04-08','11' -'419','val_419','2008-04-08','11' -'15','val_15','2008-04-08','11' -'118','val_118','2008-04-08','11' -'72','val_72','2008-04-08','11' -'90','val_90','2008-04-08','11' -'307','val_307','2008-04-08','11' -'19','val_19','2008-04-08','11' -'435','val_435','2008-04-08','11' -'10','val_10','2008-04-08','11' -'277','val_277','2008-04-08','11' -'273','val_273','2008-04-08','11' -'306','val_306','2008-04-08','11' -'224','val_224','2008-04-08','11' -'309','val_309','2008-04-08','11' -'389','val_389','2008-04-08','11' -'327','val_327','2008-04-08','11' -'242','val_242','2008-04-08','11' -'369','val_369','2008-04-08','11' -'392','val_392','2008-04-08','11' -'272','val_272','2008-04-08','11' -'331','val_331','2008-04-08','11' -'401','val_401','2008-04-08','11' -'242','val_242','2008-04-08','11' -'452','val_452','2008-04-08','11' -'177','val_177','2008-04-08','11' -'226','val_226','2008-04-08','11' -'5','val_5','2008-04-08','11' -'497','val_497','2008-04-08','11' -'402','val_402','2008-04-08','11' -'396','val_396','2008-04-08','11' -'317','val_317','2008-04-08','11' -'395','val_395','2008-04-08','11' -'58','val_58','2008-04-08','11' -'35','val_35','2008-04-08','11' -'336','val_336','2008-04-08','11' -'95','val_95','2008-04-08','11' -'11','val_11','2008-04-08','11' -'168','val_168','2008-04-08','11' -'34','val_34','2008-04-08','11' -'229','val_229','2008-04-08','11' -'233','val_233','2008-04-08','11' -'143','val_143','2008-04-08','11' -'472','val_472','2008-04-08','11' -'322','val_322','2008-04-08','11' -'498','val_498','2008-04-08','11' -'160','val_160','2008-04-08','11' -'195','val_195','2008-04-08','11' -'42','val_42','2008-04-08','11' -'321','val_321','2008-04-08','11' -'430','val_430','2008-04-08','11' -'119','val_119','2008-04-08','11' -'489','val_489','2008-04-08','11' -'458','val_458','2008-04-08','11' -'78','val_78','2008-04-08','11' -'76','val_76','2008-04-08','11' -'41','val_41','2008-04-08','11' -'223','val_223','2008-04-08','11' -'492','val_492','2008-04-08','11' -'149','val_149','2008-04-08','11' -'449','val_449','2008-04-08','11' -'218','val_218','2008-04-08','11' -'228','val_228','2008-04-08','11' -'138','val_138','2008-04-08','11' -'453','val_453','2008-04-08','11' -'30','val_30','2008-04-08','11' -'209','val_209','2008-04-08','11' -'64','val_64','2008-04-08','11' -'468','val_468','2008-04-08','11' -'76','val_76','2008-04-08','11' -'74','val_74','2008-04-08','11' -'342','val_342','2008-04-08','11' -'69','val_69','2008-04-08','11' -'230','val_230','2008-04-08','11' -'33','val_33','2008-04-08','11' -'368','val_368','2008-04-08','11' -'103','val_103','2008-04-08','11' -'296','val_296','2008-04-08','11' -'113','val_113','2008-04-08','11' -'216','val_216','2008-04-08','11' -'367','val_367','2008-04-08','11' -'344','val_344','2008-04-08','11' -'167','val_167','2008-04-08','11' -'274','val_274','2008-04-08','11' -'219','val_219','2008-04-08','11' -'239','val_239','2008-04-08','11' -'485','val_485','2008-04-08','11' -'116','val_116','2008-04-08','11' -'223','val_223','2008-04-08','11' -'256','val_256','2008-04-08','11' -'263','val_263','2008-04-08','11' -'70','val_70','2008-04-08','11' -'487','val_487','2008-04-08','11' -'480','val_480','2008-04-08','11' -'401','val_401','2008-04-08','11' -'288','val_288','2008-04-08','11' -'191','val_191','2008-04-08','11' -'5','val_5','2008-04-08','11' -'244','val_244','2008-04-08','11' -'438','val_438','2008-04-08','11' -'128','val_128','2008-04-08','11' -'467','val_467','2008-04-08','11' -'432','val_432','2008-04-08','11' -'202','val_202','2008-04-08','11' -'316','val_316','2008-04-08','11' -'229','val_229','2008-04-08','11' -'469','val_469','2008-04-08','11' -'463','val_463','2008-04-08','11' -'280','val_280','2008-04-08','11' -'2','val_2','2008-04-08','11' -'35','val_35','2008-04-08','11' -'283','val_283','2008-04-08','11' -'331','val_331','2008-04-08','11' -'235','val_235','2008-04-08','11' -'80','val_80','2008-04-08','11' -'44','val_44','2008-04-08','11' -'193','val_193','2008-04-08','11' -'321','val_321','2008-04-08','11' -'335','val_335','2008-04-08','11' -'104','val_104','2008-04-08','11' -'466','val_466','2008-04-08','11' -'366','val_366','2008-04-08','11' -'175','val_175','2008-04-08','11' -'403','val_403','2008-04-08','11' -'483','val_483','2008-04-08','11' -'53','val_53','2008-04-08','11' -'105','val_105','2008-04-08','11' -'257','val_257','2008-04-08','11' -'406','val_406','2008-04-08','11' -'409','val_409','2008-04-08','11' -'190','val_190','2008-04-08','11' -'406','val_406','2008-04-08','11' -'401','val_401','2008-04-08','11' -'114','val_114','2008-04-08','11' -'258','val_258','2008-04-08','11' -'90','val_90','2008-04-08','11' -'203','val_203','2008-04-08','11' -'262','val_262','2008-04-08','11' -'348','val_348','2008-04-08','11' -'424','val_424','2008-04-08','11' -'12','val_12','2008-04-08','11' -'396','val_396','2008-04-08','11' -'201','val_201','2008-04-08','11' -'217','val_217','2008-04-08','11' -'164','val_164','2008-04-08','11' -'431','val_431','2008-04-08','11' -'454','val_454','2008-04-08','11' -'478','val_478','2008-04-08','11' -'298','val_298','2008-04-08','11' -'125','val_125','2008-04-08','11' -'431','val_431','2008-04-08','11' -'164','val_164','2008-04-08','11' -'424','val_424','2008-04-08','11' -'187','val_187','2008-04-08','11' -'382','val_382','2008-04-08','11' -'5','val_5','2008-04-08','11' -'70','val_70','2008-04-08','11' -'397','val_397','2008-04-08','11' -'480','val_480','2008-04-08','11' -'291','val_291','2008-04-08','11' -'24','val_24','2008-04-08','11' -'351','val_351','2008-04-08','11' -'255','val_255','2008-04-08','11' -'104','val_104','2008-04-08','11' -'70','val_70','2008-04-08','11' -'163','val_163','2008-04-08','11' -'438','val_438','2008-04-08','11' -'119','val_119','2008-04-08','11' -'414','val_414','2008-04-08','11' -'200','val_200','2008-04-08','11' -'491','val_491','2008-04-08','11' -'237','val_237','2008-04-08','11' -'439','val_439','2008-04-08','11' -'360','val_360','2008-04-08','11' -'248','val_248','2008-04-08','11' -'479','val_479','2008-04-08','11' -'305','val_305','2008-04-08','11' -'417','val_417','2008-04-08','11' -'199','val_199','2008-04-08','11' -'444','val_444','2008-04-08','11' -'120','val_120','2008-04-08','11' -'429','val_429','2008-04-08','11' -'169','val_169','2008-04-08','11' -'443','val_443','2008-04-08','11' -'323','val_323','2008-04-08','11' -'325','val_325','2008-04-08','11' -'277','val_277','2008-04-08','11' -'230','val_230','2008-04-08','11' -'478','val_478','2008-04-08','11' -'178','val_178','2008-04-08','11' -'468','val_468','2008-04-08','11' -'310','val_310','2008-04-08','11' -'317','val_317','2008-04-08','11' -'333','val_333','2008-04-08','11' -'493','val_493','2008-04-08','11' -'460','val_460','2008-04-08','11' -'207','val_207','2008-04-08','11' -'249','val_249','2008-04-08','11' -'265','val_265','2008-04-08','11' -'480','val_480','2008-04-08','11' -'83','val_83','2008-04-08','11' -'136','val_136','2008-04-08','11' -'353','val_353','2008-04-08','11' -'172','val_172','2008-04-08','11' -'214','val_214','2008-04-08','11' -'462','val_462','2008-04-08','11' -'233','val_233','2008-04-08','11' -'406','val_406','2008-04-08','11' -'133','val_133','2008-04-08','11' -'175','val_175','2008-04-08','11' -'189','val_189','2008-04-08','11' -'454','val_454','2008-04-08','11' -'375','val_375','2008-04-08','11' -'401','val_401','2008-04-08','11' -'421','val_421','2008-04-08','11' -'407','val_407','2008-04-08','11' -'384','val_384','2008-04-08','11' -'256','val_256','2008-04-08','11' -'26','val_26','2008-04-08','11' -'134','val_134','2008-04-08','11' -'67','val_67','2008-04-08','11' -'384','val_384','2008-04-08','11' -'379','val_379','2008-04-08','11' -'18','val_18','2008-04-08','11' -'462','val_462','2008-04-08','11' -'492','val_492','2008-04-08','11' -'100','val_100','2008-04-08','11' -'298','val_298','2008-04-08','11' -'9','val_9','2008-04-08','11' -'341','val_341','2008-04-08','11' -'498','val_498','2008-04-08','11' -'146','val_146','2008-04-08','11' -'458','val_458','2008-04-08','11' -'362','val_362','2008-04-08','11' -'186','val_186','2008-04-08','11' -'285','val_285','2008-04-08','11' -'348','val_348','2008-04-08','11' -'167','val_167','2008-04-08','11' -'18','val_18','2008-04-08','11' -'273','val_273','2008-04-08','11' -'183','val_183','2008-04-08','11' -'281','val_281','2008-04-08','11' -'344','val_344','2008-04-08','11' -'97','val_97','2008-04-08','11' -'469','val_469','2008-04-08','11' -'315','val_315','2008-04-08','11' -'84','val_84','2008-04-08','11' -'28','val_28','2008-04-08','11' -'37','val_37','2008-04-08','11' -'448','val_448','2008-04-08','11' -'152','val_152','2008-04-08','11' -'348','val_348','2008-04-08','11' -'307','val_307','2008-04-08','11' -'194','val_194','2008-04-08','11' -'414','val_414','2008-04-08','11' -'477','val_477','2008-04-08','11' -'222','val_222','2008-04-08','11' -'126','val_126','2008-04-08','11' -'90','val_90','2008-04-08','11' -'169','val_169','2008-04-08','11' -'403','val_403','2008-04-08','11' -'400','val_400','2008-04-08','11' -'200','val_200','2008-04-08','11' -'97','val_97','2008-04-08','11' -500 rows selected ->>> ->>> select count(1) from srcbucket; -'_c0' -'1000' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/sample10.q.out ql/src/test/results/beelinepositive/sample10.q.out deleted file mode 100644 index 255d038..0000000 --- ql/src/test/results/beelinepositive/sample10.q.out +++ /dev/null @@ -1,449 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/sample10.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/sample10.q ->>> ->>> set hive.exec.dynamic.partition=true; -No rows affected ->>> set hive.exec.dynamic.partition.mode=nonstrict; -No rows affected ->>> set hive.enforce.bucketing=true; -No rows affected ->>> set hive.exec.reducers.max=4; -No rows affected ->>> set hive.input.format=org.apache.hadoop.hive.ql.io.CombineHiveInputFormat; -No rows affected ->>> set hive.default.fileformat=RCFILE; -No rows affected ->>> set hive.exec.pre.hooks = org.apache.hadoop.hive.ql.hooks.PreExecutePrinter,org.apache.hadoop.hive.ql.hooks.EnforceReadOnlyTables,org.apache.hadoop.hive.ql.hooks.UpdateInputAccessTimeHook$PreExec; -No rows affected ->>> ->>> -- EXCLUDE_HADOOP_MAJOR_VERSIONS(0.17, 0.18, 0.19) ->>> ->>> create table srcpartbucket (key string, value string) partitioned by (ds string, hr string) clustered by (key) into 4 buckets; -No rows affected ->>> ->>> insert overwrite table srcpartbucket partition(ds, hr) select * from srcpart where ds is not null and key < 10; -'key','value','ds','hr' -No rows selected ->>> ->>> explain extended -select ds, count(1) from srcpartbucket tablesample (bucket 1 out of 4 on key) where ds is not null group by ds ORDER BY ds ASC; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpartbucket) (TOK_TABLEBUCKETSAMPLE 1 4 (TOK_TABLE_OR_COL key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL ds)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_WHERE (TOK_FUNCTION TOK_ISNOTNULL (TOK_TABLE_OR_COL ds))) (TOK_GROUPBY (TOK_TABLE_OR_COL ds)) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL ds)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' srcpartbucket ' -' TableScan' -' alias: srcpartbucket' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: true' -' predicate:' -' expr: (((hash(key) & 2147483647) % 4) = 0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: ds' -' type: string' -' outputColumnNames: ds' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: ds' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/sample10.db/srcpartbucket/ds=2008-04-08/hr=11/000000_0 [srcpartbucket]' -' !!{hive.metastore.warehouse.dir}!!/sample10.db/srcpartbucket/ds=2008-04-08/hr=12/000000_0 [srcpartbucket]' -' !!{hive.metastore.warehouse.dir}!!/sample10.db/srcpartbucket/ds=2008-04-09/hr=11/000000_0 [srcpartbucket]' -' !!{hive.metastore.warehouse.dir}!!/sample10.db/srcpartbucket/ds=2008-04-09/hr=12/000000_0 [srcpartbucket]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/sample10.db/srcpartbucket/ds=2008-04-08/hr=11/000000_0 ' -' Partition' -' base file name: 000000_0' -' input format: org.apache.hadoop.hive.ql.io.RCFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.hive.ql.io.RCFileInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample10.db/srcpartbucket/ds=2008-04-08/hr=11' -' name sample10.srcpartbucket' -' numFiles 4' -' numPartitions 4' -' numRows 10' -' partition_columns ds/hr' -' rawDataSize 60' -' serialization.ddl struct srcpartbucket { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -' totalSize 307' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -' ' -' input format: org.apache.hadoop.hive.ql.io.RCFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -' properties:' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.hive.ql.io.RCFileInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample10.db/srcpartbucket' -' name sample10.srcpartbucket' -' numFiles 16' -' numPartitions 4' -' numRows 40' -' partition_columns ds/hr' -' rawDataSize 240' -' serialization.ddl struct srcpartbucket { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -' totalSize 1228' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -' name: sample10.srcpartbucket' -' name: sample10.srcpartbucket' -' !!{hive.metastore.warehouse.dir}!!/sample10.db/srcpartbucket/ds=2008-04-08/hr=12/000000_0 ' -' Partition' -' base file name: 000000_0' -' input format: org.apache.hadoop.hive.ql.io.RCFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 12' -' properties:' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.hive.ql.io.RCFileInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample10.db/srcpartbucket/ds=2008-04-08/hr=12' -' name sample10.srcpartbucket' -' numFiles 4' -' numPartitions 4' -' numRows 10' -' partition_columns ds/hr' -' rawDataSize 60' -' serialization.ddl struct srcpartbucket { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -' totalSize 307' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -' ' -' input format: org.apache.hadoop.hive.ql.io.RCFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -' properties:' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.hive.ql.io.RCFileInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample10.db/srcpartbucket' -' name sample10.srcpartbucket' -' numFiles 16' -' numPartitions 4' -' numRows 40' -' partition_columns ds/hr' -' rawDataSize 240' -' serialization.ddl struct srcpartbucket { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -' totalSize 1228' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -' name: sample10.srcpartbucket' -' name: sample10.srcpartbucket' -' !!{hive.metastore.warehouse.dir}!!/sample10.db/srcpartbucket/ds=2008-04-09/hr=11/000000_0 ' -' Partition' -' base file name: 000000_0' -' input format: org.apache.hadoop.hive.ql.io.RCFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -' partition values:' -' ds 2008-04-09' -' hr 11' -' properties:' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.hive.ql.io.RCFileInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample10.db/srcpartbucket/ds=2008-04-09/hr=11' -' name sample10.srcpartbucket' -' numFiles 4' -' numPartitions 4' -' numRows 10' -' partition_columns ds/hr' -' rawDataSize 60' -' serialization.ddl struct srcpartbucket { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -' totalSize 307' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -' ' -' input format: org.apache.hadoop.hive.ql.io.RCFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -' properties:' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.hive.ql.io.RCFileInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample10.db/srcpartbucket' -' name sample10.srcpartbucket' -' numFiles 16' -' numPartitions 4' -' numRows 40' -' partition_columns ds/hr' -' rawDataSize 240' -' serialization.ddl struct srcpartbucket { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -' totalSize 1228' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -' name: sample10.srcpartbucket' -' name: sample10.srcpartbucket' -' !!{hive.metastore.warehouse.dir}!!/sample10.db/srcpartbucket/ds=2008-04-09/hr=12/000000_0 ' -' Partition' -' base file name: 000000_0' -' input format: org.apache.hadoop.hive.ql.io.RCFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -' partition values:' -' ds 2008-04-09' -' hr 12' -' properties:' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.hive.ql.io.RCFileInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample10.db/srcpartbucket/ds=2008-04-09/hr=12' -' name sample10.srcpartbucket' -' numFiles 4' -' numPartitions 4' -' numRows 10' -' partition_columns ds/hr' -' rawDataSize 60' -' serialization.ddl struct srcpartbucket { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -' totalSize 307' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -' ' -' input format: org.apache.hadoop.hive.ql.io.RCFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -' properties:' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.hive.ql.io.RCFileInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.RCFileOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample10.db/srcpartbucket' -' name sample10.srcpartbucket' -' numFiles 16' -' numPartitions 4' -' numRows 40' -' partition_columns ds/hr' -' rawDataSize 240' -' serialization.ddl struct srcpartbucket { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -' totalSize 1228' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe' -' name: sample10.srcpartbucket' -' name: sample10.srcpartbucket' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string,bigint' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string,bigint' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string,bigint' -' escape.delim \' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string:bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -359 rows selected ->>> ->>> select ds, count(1) from srcpartbucket tablesample (bucket 1 out of 4 on key) where ds is not null group by ds ORDER BY ds ASC; -'ds','_c1' -'2008-04-08','10' -'2008-04-09','10' -2 rows selected ->>> ->>> select ds, count(1) from srcpartbucket tablesample (bucket 1 out of 2 on key) where ds is not null group by ds ORDER BY ds ASC; -'ds','_c1' -'2008-04-08','12' -'2008-04-09','12' -2 rows selected ->>> ->>> select * from srcpartbucket where ds is not null ORDER BY key ASC, value ASC, ds ASC, hr ASC; -'key','value','ds','hr' -'0','val_0','2008-04-08','11' -'0','val_0','2008-04-08','11' -'0','val_0','2008-04-08','11' -'0','val_0','2008-04-08','12' -'0','val_0','2008-04-08','12' -'0','val_0','2008-04-08','12' -'0','val_0','2008-04-09','11' -'0','val_0','2008-04-09','11' -'0','val_0','2008-04-09','11' -'0','val_0','2008-04-09','12' -'0','val_0','2008-04-09','12' -'0','val_0','2008-04-09','12' -'2','val_2','2008-04-08','11' -'2','val_2','2008-04-08','12' -'2','val_2','2008-04-09','11' -'2','val_2','2008-04-09','12' -'4','val_4','2008-04-08','11' -'4','val_4','2008-04-08','12' -'4','val_4','2008-04-09','11' -'4','val_4','2008-04-09','12' -'5','val_5','2008-04-08','11' -'5','val_5','2008-04-08','11' -'5','val_5','2008-04-08','11' -'5','val_5','2008-04-08','12' -'5','val_5','2008-04-08','12' -'5','val_5','2008-04-08','12' -'5','val_5','2008-04-09','11' -'5','val_5','2008-04-09','11' -'5','val_5','2008-04-09','11' -'5','val_5','2008-04-09','12' -'5','val_5','2008-04-09','12' -'5','val_5','2008-04-09','12' -'8','val_8','2008-04-08','11' -'8','val_8','2008-04-08','12' -'8','val_8','2008-04-09','11' -'8','val_8','2008-04-09','12' -'9','val_9','2008-04-08','11' -'9','val_9','2008-04-08','12' -'9','val_9','2008-04-09','11' -'9','val_9','2008-04-09','12' -40 rows selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/sample2.q.out ql/src/test/results/beelinepositive/sample2.q.out deleted file mode 100644 index 72452a6..0000000 --- ql/src/test/results/beelinepositive/sample2.q.out +++ /dev/null @@ -1,813 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/sample2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/sample2.q ->>> CREATE TABLE dest1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> -- input pruning, no sample filter ->>> -- default table sample columns ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE dest1 SELECT s.* -FROM srcbucket TABLESAMPLE (BUCKET 1 OUT OF 2) s; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcbucket) (TOK_TABLEBUCKETSAMPLE 1 2) s)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME s))))))' -'' -'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' -' Alias -> Map Operator Tree:' -' s ' -' TableScan' -' alias: s' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: true' -' predicate:' -' expr: (((hash(key) & 2147483647) % 2) = 0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample2.db/dest1' -' name sample2.dest1' -' serialization.ddl struct dest1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample2.dest1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/sample2.db/srcbucket/srcbucket0.txt [s]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/sample2.db/srcbucket/srcbucket0.txt ' -' Partition' -' base file name: srcbucket0.txt' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample2.db/srcbucket' -' name sample2.srcbucket' -' numFiles 2' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct srcbucket { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11603' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample2.db/srcbucket' -' name sample2.srcbucket' -' numFiles 2' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct srcbucket { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11603' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample2.srcbucket' -' name: sample2.srcbucket' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample2.db/dest1' -' name sample2.dest1' -' serialization.ddl struct dest1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample2.dest1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample2.db/dest1' -' name sample2.dest1' -' serialization.ddl struct dest1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample2.dest1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample2.db/dest1' -' name sample2.dest1' -' serialization.ddl struct dest1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample2.db/dest1' -' name sample2.dest1' -' serialization.ddl struct dest1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample2.dest1' -' name: sample2.dest1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample2.db/dest1' -' name sample2.dest1' -' serialization.ddl struct dest1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample2.dest1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample2.db/dest1' -' name sample2.dest1' -' serialization.ddl struct dest1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample2.db/dest1' -' name sample2.dest1' -' serialization.ddl struct dest1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample2.dest1' -' name: sample2.dest1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -298 rows selected ->>> ->>> INSERT OVERWRITE TABLE dest1 SELECT s.* -FROM srcbucket TABLESAMPLE (BUCKET 1 OUT OF 2) s; -'key','value' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','value' -'474','val_475' -'62','val_63' -'468','val_469' -'272','val_273' -'448','val_449' -'246','val_247' -'440','val_441' -'278','val_279' -'296','val_297' -'428','val_429' -'126','val_127' -'106','val_107' -'356','val_357' -'490','val_491' -'402','val_403' -'128','val_129' -'10','val_11' -'226','val_227' -'110','val_111' -'0','val_1' -'240','val_241' -'286','val_287' -'408','val_409' -'476','val_477' -'482','val_483' -'48','val_49' -'424','val_425' -'226','val_227' -'494','val_495' -'488','val_489' -'94','val_95' -'50','val_51' -'402','val_403' -'128','val_129' -'468','val_469' -'314','val_315' -'224','val_225' -'344','val_345' -'4','val_5' -'206','val_207' -'114','val_115' -'56','val_57' -'114','val_115' -'254','val_255' -'390','val_391' -'304','val_305' -'264','val_265' -'196','val_197' -'238','val_239' -'20','val_21' -'492','val_493' -'82','val_83' -'58','val_59' -'86','val_87' -'438','val_439' -'360','val_361' -'222','val_223' -'42','val_43' -'338','val_339' -'68','val_69' -'16','val_17' -'492','val_493' -'376','val_377' -'120','val_121' -'306','val_307' -'426','val_427' -'132','val_133' -'446','val_447' -'386','val_387' -'388','val_389' -'184','val_185' -'284','val_285' -'246','val_247' -'262','val_263' -'122','val_123' -'438','val_439' -'390','val_391' -'352','val_353' -'226','val_227' -'328','val_329' -'382','val_383' -'342','val_343' -'480','val_481' -'102','val_103' -'480','val_481' -'318','val_319' -'392','val_393' -'476','val_477' -'258','val_259' -'174','val_175' -'252','val_253' -'114','val_115' -'264','val_265' -'48','val_49' -'336','val_337' -'340','val_341' -'390','val_391' -'484','val_485' -'6','val_7' -'260','val_261' -'2','val_3' -'170','val_171' -'164','val_165' -'118','val_119' -'310','val_311' -'104','val_105' -'80','val_81' -'326','val_327' -'450','val_451' -'140','val_141' -'212','val_213' -'308','val_309' -'30','val_31' -'358','val_359' -'416','val_417' -'42','val_43' -'386','val_387' -'454','val_455' -'364','val_365' -'20','val_21' -'52','val_53' -'40','val_41' -'8','val_9' -'168','val_169' -'384','val_385' -'324','val_325' -'310','val_311' -'206','val_207' -'404','val_405' -'206','val_207' -'226','val_227' -'262','val_263' -'260','val_261' -'328','val_329' -'322','val_323' -'122','val_123' -'404','val_405' -'384','val_385' -'76','val_77' -'116','val_117' -'42','val_43' -'104','val_105' -'406','val_407' -'32','val_33' -'132','val_133' -'192','val_193' -'58','val_59' -'70','val_71' -'356','val_357' -'352','val_353' -'52','val_53' -'330','val_331' -'138','val_139' -'160','val_161' -'454','val_455' -'76','val_77' -'174','val_175' -'412','val_413' -'16','val_17' -'204','val_205' -'126','val_127' -'274','val_275' -'374','val_375' -'494','val_495' -'216','val_217' -'470','val_471' -'196','val_197' -'302','val_303' -'450','val_451' -'12','val_13' -'398','val_399' -'334','val_335' -'384','val_385' -'60','val_61' -'442','val_443' -'52','val_53' -'404','val_405' -'446','val_447' -'300','val_301' -'0','val_1' -'268','val_269' -'392','val_393' -'104','val_105' -'436','val_437' -'156','val_157' -'118','val_119' -'172','val_173' -'244','val_245' -'6','val_7' -'284','val_285' -'164','val_165' -'136','val_137' -'462','val_463' -'432','val_433' -'496','val_497' -'144','val_145' -'408','val_409' -'152','val_153' -'382','val_383' -'348','val_349' -'122','val_123' -'292','val_293' -'182','val_183' -'474','val_475' -'310','val_311' -'52','val_53' -'486','val_487' -'152','val_153' -'378','val_379' -'414','val_415' -'256','val_257' -'292','val_293' -'412','val_413' -'40','val_41' -'478','val_479' -'178','val_179' -'100','val_101' -'156','val_157' -'228','val_229' -'22','val_23' -'248','val_249' -'402','val_403' -'62','val_63' -'162','val_163' -'244','val_245' -'276','val_277' -'46','val_47' -'78','val_79' -'134','val_135' -'196','val_197' -'410','val_411' -'82','val_83' -'440','val_441' -'100','val_101' -'308','val_309' -'430','val_431' -'468','val_469' -'152','val_153' -'138','val_139' -'76','val_77' -'300','val_301' -'478','val_479' -'118','val_119' -'178','val_179' -'242','val_243' -'244','val_245' -'238','val_238' -'86','val_86' -'278','val_278' -'98','val_98' -'484','val_484' -'150','val_150' -'224','val_224' -'66','val_66' -'128','val_128' -'146','val_146' -'406','val_406' -'374','val_374' -'152','val_152' -'82','val_82' -'166','val_166' -'430','val_430' -'252','val_252' -'292','val_292' -'338','val_338' -'446','val_446' -'394','val_394' -'482','val_482' -'174','val_174' -'494','val_494' -'466','val_466' -'208','val_208' -'174','val_174' -'396','val_396' -'162','val_162' -'266','val_266' -'342','val_342' -'0','val_0' -'128','val_128' -'316','val_316' -'302','val_302' -'438','val_438' -'170','val_170' -'20','val_20' -'378','val_378' -'92','val_92' -'72','val_72' -'4','val_4' -'280','val_280' -'208','val_208' -'356','val_356' -'382','val_382' -'498','val_498' -'386','val_386' -'192','val_192' -'286','val_286' -'176','val_176' -'54','val_54' -'138','val_138' -'216','val_216' -'430','val_430' -'278','val_278' -'176','val_176' -'318','val_318' -'332','val_332' -'180','val_180' -'284','val_284' -'12','val_12' -'230','val_230' -'260','val_260' -'404','val_404' -'384','val_384' -'272','val_272' -'138','val_138' -'84','val_84' -'348','val_348' -'466','val_466' -'58','val_58' -'8','val_8' -'230','val_230' -'208','val_208' -'348','val_348' -'24','val_24' -'172','val_172' -'42','val_42' -'158','val_158' -'496','val_496' -'0','val_0' -'322','val_322' -'468','val_468' -'454','val_454' -'100','val_100' -'298','val_298' -'418','val_418' -'96','val_96' -'26','val_26' -'230','val_230' -'120','val_120' -'404','val_404' -'436','val_436' -'156','val_156' -'468','val_468' -'308','val_308' -'196','val_196' -'288','val_288' -'98','val_98' -'282','val_282' -'318','val_318' -'318','val_318' -'470','val_470' -'316','val_316' -'0','val_0' -'490','val_490' -'364','val_364' -'118','val_118' -'134','val_134' -'282','val_282' -'138','val_138' -'238','val_238' -'118','val_118' -'72','val_72' -'90','val_90' -'10','val_10' -'306','val_306' -'224','val_224' -'242','val_242' -'392','val_392' -'272','val_272' -'242','val_242' -'452','val_452' -'226','val_226' -'402','val_402' -'396','val_396' -'58','val_58' -'336','val_336' -'168','val_168' -'34','val_34' -'472','val_472' -'322','val_322' -'498','val_498' -'160','val_160' -'42','val_42' -'430','val_430' -'458','val_458' -'78','val_78' -'76','val_76' -'492','val_492' -'218','val_218' -'228','val_228' -'138','val_138' -'30','val_30' -'64','val_64' -'468','val_468' -'76','val_76' -'74','val_74' -'342','val_342' -'230','val_230' -'368','val_368' -'296','val_296' -'216','val_216' -'344','val_344' -'274','val_274' -'116','val_116' -'256','val_256' -'70','val_70' -'480','val_480' -'288','val_288' -'244','val_244' -'438','val_438' -'128','val_128' -'432','val_432' -'202','val_202' -'316','val_316' -'280','val_280' -'2','val_2' -'80','val_80' -'44','val_44' -'104','val_104' -'466','val_466' -'366','val_366' -'406','val_406' -'190','val_190' -'406','val_406' -'114','val_114' -'258','val_258' -'90','val_90' -'262','val_262' -'348','val_348' -'424','val_424' -'12','val_12' -'396','val_396' -'164','val_164' -'454','val_454' -'478','val_478' -'298','val_298' -'164','val_164' -'424','val_424' -'382','val_382' -'70','val_70' -'480','val_480' -'24','val_24' -'104','val_104' -'70','val_70' -'438','val_438' -'414','val_414' -'200','val_200' -'360','val_360' -'248','val_248' -'444','val_444' -'120','val_120' -'230','val_230' -'478','val_478' -'178','val_178' -'468','val_468' -'310','val_310' -'460','val_460' -'480','val_480' -'136','val_136' -'172','val_172' -'214','val_214' -'462','val_462' -'406','val_406' -'454','val_454' -'384','val_384' -'256','val_256' -'26','val_26' -'134','val_134' -'384','val_384' -'18','val_18' -'462','val_462' -'492','val_492' -'100','val_100' -'298','val_298' -'498','val_498' -'146','val_146' -'458','val_458' -'362','val_362' -'186','val_186' -'348','val_348' -'18','val_18' -'344','val_344' -'84','val_84' -'28','val_28' -'448','val_448' -'152','val_152' -'348','val_348' -'194','val_194' -'414','val_414' -'222','val_222' -'126','val_126' -'90','val_90' -'400','val_400' -'200','val_200' -493 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/sample3.q.out ql/src/test/results/beelinepositive/sample3.q.out deleted file mode 100644 index 8d441b7..0000000 --- ql/src/test/results/beelinepositive/sample3.q.out +++ /dev/null @@ -1,239 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/sample3.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/sample3.q ->>> -- no input pruning, sample filter ->>> EXPLAIN -SELECT s.key -FROM srcbucket TABLESAMPLE (BUCKET 1 OUT OF 5 on key) s; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcbucket) (TOK_TABLEBUCKETSAMPLE 1 5 (TOK_TABLE_OR_COL key)) s)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL s) key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' s ' -' TableScan' -' alias: s' -' Filter Operator' -' predicate:' -' expr: (((hash(key) & 2147483647) % 5) = 0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -35 rows selected ->>> ->>> SELECT s.key -FROM srcbucket TABLESAMPLE (BUCKET 1 OUT OF 5 on key) s SORT BY key; -'key' -'0' -'0' -'0' -'0' -'0' -'5' -'5' -'5' -'5' -'10' -'10' -'15' -'15' -'15' -'15' -'20' -'20' -'20' -'30' -'30' -'35' -'35' -'35' -'35' -'35' -'35' -'40' -'40' -'50' -'60' -'65' -'65' -'65' -'70' -'70' -'70' -'70' -'75' -'80' -'80' -'85' -'85' -'90' -'90' -'90' -'95' -'95' -'100' -'100' -'100' -'100' -'105' -'105' -'105' -'110' -'120' -'120' -'120' -'125' -'125' -'125' -'135' -'135' -'135' -'140' -'145' -'150' -'155' -'160' -'160' -'165' -'165' -'165' -'170' -'170' -'175' -'175' -'175' -'175' -'180' -'185' -'190' -'195' -'195' -'200' -'200' -'205' -'205' -'205' -'215' -'230' -'230' -'230' -'230' -'230' -'235' -'235' -'240' -'245' -'245' -'255' -'255' -'260' -'260' -'260' -'265' -'265' -'265' -'275' -'275' -'275' -'280' -'280' -'285' -'285' -'295' -'295' -'300' -'300' -'305' -'305' -'310' -'310' -'310' -'310' -'315' -'325' -'325' -'330' -'335' -'335' -'335' -'340' -'345' -'355' -'355' -'360' -'360' -'365' -'375' -'375' -'375' -'375' -'375' -'375' -'385' -'385' -'390' -'390' -'390' -'395' -'395' -'395' -'395' -'400' -'405' -'410' -'415' -'425' -'430' -'430' -'430' -'430' -'435' -'435' -'440' -'440' -'450' -'450' -'455' -'455' -'455' -'460' -'470' -'470' -'475' -'475' -'480' -'480' -'480' -'480' -'480' -'485' -'485' -'485' -'490' -'490' -'495' -'495' -189 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/sample4.q.out ql/src/test/results/beelinepositive/sample4.q.out deleted file mode 100644 index 919fd3c..0000000 --- ql/src/test/results/beelinepositive/sample4.q.out +++ /dev/null @@ -1,813 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/sample4.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/sample4.q ->>> CREATE TABLE dest1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> -- bucket column is the same as table sample ->>> -- No need for sample filter ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE dest1 SELECT s.* -FROM srcbucket TABLESAMPLE (BUCKET 1 OUT OF 2 on key) s; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcbucket) (TOK_TABLEBUCKETSAMPLE 1 2 (TOK_TABLE_OR_COL key)) s)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME s))))))' -'' -'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' -' Alias -> Map Operator Tree:' -' s ' -' TableScan' -' alias: s' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: true' -' predicate:' -' expr: (((hash(key) & 2147483647) % 2) = 0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample4.db/dest1' -' name sample4.dest1' -' serialization.ddl struct dest1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample4.dest1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/sample4.db/srcbucket/srcbucket0.txt [s]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/sample4.db/srcbucket/srcbucket0.txt ' -' Partition' -' base file name: srcbucket0.txt' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample4.db/srcbucket' -' name sample4.srcbucket' -' numFiles 2' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct srcbucket { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11603' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample4.db/srcbucket' -' name sample4.srcbucket' -' numFiles 2' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct srcbucket { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11603' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample4.srcbucket' -' name: sample4.srcbucket' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample4.db/dest1' -' name sample4.dest1' -' serialization.ddl struct dest1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample4.dest1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample4.db/dest1' -' name sample4.dest1' -' serialization.ddl struct dest1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample4.dest1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample4.db/dest1' -' name sample4.dest1' -' serialization.ddl struct dest1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample4.db/dest1' -' name sample4.dest1' -' serialization.ddl struct dest1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample4.dest1' -' name: sample4.dest1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample4.db/dest1' -' name sample4.dest1' -' serialization.ddl struct dest1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample4.dest1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample4.db/dest1' -' name sample4.dest1' -' serialization.ddl struct dest1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample4.db/dest1' -' name sample4.dest1' -' serialization.ddl struct dest1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample4.dest1' -' name: sample4.dest1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -298 rows selected ->>> ->>> INSERT OVERWRITE TABLE dest1 SELECT s.* -FROM srcbucket TABLESAMPLE (BUCKET 1 OUT OF 2 on key) s; -'key','value' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','value' -'474','val_475' -'62','val_63' -'468','val_469' -'272','val_273' -'448','val_449' -'246','val_247' -'440','val_441' -'278','val_279' -'296','val_297' -'428','val_429' -'126','val_127' -'106','val_107' -'356','val_357' -'490','val_491' -'402','val_403' -'128','val_129' -'10','val_11' -'226','val_227' -'110','val_111' -'0','val_1' -'240','val_241' -'286','val_287' -'408','val_409' -'476','val_477' -'482','val_483' -'48','val_49' -'424','val_425' -'226','val_227' -'494','val_495' -'488','val_489' -'94','val_95' -'50','val_51' -'402','val_403' -'128','val_129' -'468','val_469' -'314','val_315' -'224','val_225' -'344','val_345' -'4','val_5' -'206','val_207' -'114','val_115' -'56','val_57' -'114','val_115' -'254','val_255' -'390','val_391' -'304','val_305' -'264','val_265' -'196','val_197' -'238','val_239' -'20','val_21' -'492','val_493' -'82','val_83' -'58','val_59' -'86','val_87' -'438','val_439' -'360','val_361' -'222','val_223' -'42','val_43' -'338','val_339' -'68','val_69' -'16','val_17' -'492','val_493' -'376','val_377' -'120','val_121' -'306','val_307' -'426','val_427' -'132','val_133' -'446','val_447' -'386','val_387' -'388','val_389' -'184','val_185' -'284','val_285' -'246','val_247' -'262','val_263' -'122','val_123' -'438','val_439' -'390','val_391' -'352','val_353' -'226','val_227' -'328','val_329' -'382','val_383' -'342','val_343' -'480','val_481' -'102','val_103' -'480','val_481' -'318','val_319' -'392','val_393' -'476','val_477' -'258','val_259' -'174','val_175' -'252','val_253' -'114','val_115' -'264','val_265' -'48','val_49' -'336','val_337' -'340','val_341' -'390','val_391' -'484','val_485' -'6','val_7' -'260','val_261' -'2','val_3' -'170','val_171' -'164','val_165' -'118','val_119' -'310','val_311' -'104','val_105' -'80','val_81' -'326','val_327' -'450','val_451' -'140','val_141' -'212','val_213' -'308','val_309' -'30','val_31' -'358','val_359' -'416','val_417' -'42','val_43' -'386','val_387' -'454','val_455' -'364','val_365' -'20','val_21' -'52','val_53' -'40','val_41' -'8','val_9' -'168','val_169' -'384','val_385' -'324','val_325' -'310','val_311' -'206','val_207' -'404','val_405' -'206','val_207' -'226','val_227' -'262','val_263' -'260','val_261' -'328','val_329' -'322','val_323' -'122','val_123' -'404','val_405' -'384','val_385' -'76','val_77' -'116','val_117' -'42','val_43' -'104','val_105' -'406','val_407' -'32','val_33' -'132','val_133' -'192','val_193' -'58','val_59' -'70','val_71' -'356','val_357' -'352','val_353' -'52','val_53' -'330','val_331' -'138','val_139' -'160','val_161' -'454','val_455' -'76','val_77' -'174','val_175' -'412','val_413' -'16','val_17' -'204','val_205' -'126','val_127' -'274','val_275' -'374','val_375' -'494','val_495' -'216','val_217' -'470','val_471' -'196','val_197' -'302','val_303' -'450','val_451' -'12','val_13' -'398','val_399' -'334','val_335' -'384','val_385' -'60','val_61' -'442','val_443' -'52','val_53' -'404','val_405' -'446','val_447' -'300','val_301' -'0','val_1' -'268','val_269' -'392','val_393' -'104','val_105' -'436','val_437' -'156','val_157' -'118','val_119' -'172','val_173' -'244','val_245' -'6','val_7' -'284','val_285' -'164','val_165' -'136','val_137' -'462','val_463' -'432','val_433' -'496','val_497' -'144','val_145' -'408','val_409' -'152','val_153' -'382','val_383' -'348','val_349' -'122','val_123' -'292','val_293' -'182','val_183' -'474','val_475' -'310','val_311' -'52','val_53' -'486','val_487' -'152','val_153' -'378','val_379' -'414','val_415' -'256','val_257' -'292','val_293' -'412','val_413' -'40','val_41' -'478','val_479' -'178','val_179' -'100','val_101' -'156','val_157' -'228','val_229' -'22','val_23' -'248','val_249' -'402','val_403' -'62','val_63' -'162','val_163' -'244','val_245' -'276','val_277' -'46','val_47' -'78','val_79' -'134','val_135' -'196','val_197' -'410','val_411' -'82','val_83' -'440','val_441' -'100','val_101' -'308','val_309' -'430','val_431' -'468','val_469' -'152','val_153' -'138','val_139' -'76','val_77' -'300','val_301' -'478','val_479' -'118','val_119' -'178','val_179' -'242','val_243' -'244','val_245' -'238','val_238' -'86','val_86' -'278','val_278' -'98','val_98' -'484','val_484' -'150','val_150' -'224','val_224' -'66','val_66' -'128','val_128' -'146','val_146' -'406','val_406' -'374','val_374' -'152','val_152' -'82','val_82' -'166','val_166' -'430','val_430' -'252','val_252' -'292','val_292' -'338','val_338' -'446','val_446' -'394','val_394' -'482','val_482' -'174','val_174' -'494','val_494' -'466','val_466' -'208','val_208' -'174','val_174' -'396','val_396' -'162','val_162' -'266','val_266' -'342','val_342' -'0','val_0' -'128','val_128' -'316','val_316' -'302','val_302' -'438','val_438' -'170','val_170' -'20','val_20' -'378','val_378' -'92','val_92' -'72','val_72' -'4','val_4' -'280','val_280' -'208','val_208' -'356','val_356' -'382','val_382' -'498','val_498' -'386','val_386' -'192','val_192' -'286','val_286' -'176','val_176' -'54','val_54' -'138','val_138' -'216','val_216' -'430','val_430' -'278','val_278' -'176','val_176' -'318','val_318' -'332','val_332' -'180','val_180' -'284','val_284' -'12','val_12' -'230','val_230' -'260','val_260' -'404','val_404' -'384','val_384' -'272','val_272' -'138','val_138' -'84','val_84' -'348','val_348' -'466','val_466' -'58','val_58' -'8','val_8' -'230','val_230' -'208','val_208' -'348','val_348' -'24','val_24' -'172','val_172' -'42','val_42' -'158','val_158' -'496','val_496' -'0','val_0' -'322','val_322' -'468','val_468' -'454','val_454' -'100','val_100' -'298','val_298' -'418','val_418' -'96','val_96' -'26','val_26' -'230','val_230' -'120','val_120' -'404','val_404' -'436','val_436' -'156','val_156' -'468','val_468' -'308','val_308' -'196','val_196' -'288','val_288' -'98','val_98' -'282','val_282' -'318','val_318' -'318','val_318' -'470','val_470' -'316','val_316' -'0','val_0' -'490','val_490' -'364','val_364' -'118','val_118' -'134','val_134' -'282','val_282' -'138','val_138' -'238','val_238' -'118','val_118' -'72','val_72' -'90','val_90' -'10','val_10' -'306','val_306' -'224','val_224' -'242','val_242' -'392','val_392' -'272','val_272' -'242','val_242' -'452','val_452' -'226','val_226' -'402','val_402' -'396','val_396' -'58','val_58' -'336','val_336' -'168','val_168' -'34','val_34' -'472','val_472' -'322','val_322' -'498','val_498' -'160','val_160' -'42','val_42' -'430','val_430' -'458','val_458' -'78','val_78' -'76','val_76' -'492','val_492' -'218','val_218' -'228','val_228' -'138','val_138' -'30','val_30' -'64','val_64' -'468','val_468' -'76','val_76' -'74','val_74' -'342','val_342' -'230','val_230' -'368','val_368' -'296','val_296' -'216','val_216' -'344','val_344' -'274','val_274' -'116','val_116' -'256','val_256' -'70','val_70' -'480','val_480' -'288','val_288' -'244','val_244' -'438','val_438' -'128','val_128' -'432','val_432' -'202','val_202' -'316','val_316' -'280','val_280' -'2','val_2' -'80','val_80' -'44','val_44' -'104','val_104' -'466','val_466' -'366','val_366' -'406','val_406' -'190','val_190' -'406','val_406' -'114','val_114' -'258','val_258' -'90','val_90' -'262','val_262' -'348','val_348' -'424','val_424' -'12','val_12' -'396','val_396' -'164','val_164' -'454','val_454' -'478','val_478' -'298','val_298' -'164','val_164' -'424','val_424' -'382','val_382' -'70','val_70' -'480','val_480' -'24','val_24' -'104','val_104' -'70','val_70' -'438','val_438' -'414','val_414' -'200','val_200' -'360','val_360' -'248','val_248' -'444','val_444' -'120','val_120' -'230','val_230' -'478','val_478' -'178','val_178' -'468','val_468' -'310','val_310' -'460','val_460' -'480','val_480' -'136','val_136' -'172','val_172' -'214','val_214' -'462','val_462' -'406','val_406' -'454','val_454' -'384','val_384' -'256','val_256' -'26','val_26' -'134','val_134' -'384','val_384' -'18','val_18' -'462','val_462' -'492','val_492' -'100','val_100' -'298','val_298' -'498','val_498' -'146','val_146' -'458','val_458' -'362','val_362' -'186','val_186' -'348','val_348' -'18','val_18' -'344','val_344' -'84','val_84' -'28','val_28' -'448','val_448' -'152','val_152' -'348','val_348' -'194','val_194' -'414','val_414' -'222','val_222' -'126','val_126' -'90','val_90' -'400','val_400' -'200','val_200' -493 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/sample5.q.out ql/src/test/results/beelinepositive/sample5.q.out deleted file mode 100644 index d7694af..0000000 --- ql/src/test/results/beelinepositive/sample5.q.out +++ /dev/null @@ -1,508 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/sample5.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/sample5.q ->>> CREATE TABLE dest1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> -- no input pruning, sample filter ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE dest1 SELECT s.* -- here's another test -FROM srcbucket TABLESAMPLE (BUCKET 1 OUT OF 5 on key) s; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcbucket) (TOK_TABLEBUCKETSAMPLE 1 5 (TOK_TABLE_OR_COL key)) s)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME s))))))' -'' -'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' -' Alias -> Map Operator Tree:' -' s ' -' TableScan' -' alias: s' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: true' -' predicate:' -' expr: (((hash(key) & 2147483647) % 5) = 0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample5.db/dest1' -' name sample5.dest1' -' serialization.ddl struct dest1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample5.dest1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/sample5.db/srcbucket [s]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/sample5.db/srcbucket ' -' Partition' -' base file name: srcbucket' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample5.db/srcbucket' -' name sample5.srcbucket' -' numFiles 2' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct srcbucket { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11603' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample5.db/srcbucket' -' name sample5.srcbucket' -' numFiles 2' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct srcbucket { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11603' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample5.srcbucket' -' name: sample5.srcbucket' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample5.db/dest1' -' name sample5.dest1' -' serialization.ddl struct dest1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample5.dest1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample5.db/dest1' -' name sample5.dest1' -' serialization.ddl struct dest1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample5.dest1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample5.db/dest1' -' name sample5.dest1' -' serialization.ddl struct dest1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample5.db/dest1' -' name sample5.dest1' -' serialization.ddl struct dest1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample5.dest1' -' name: sample5.dest1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample5.db/dest1' -' name sample5.dest1' -' serialization.ddl struct dest1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample5.dest1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample5.db/dest1' -' name sample5.dest1' -' serialization.ddl struct dest1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample5.db/dest1' -' name sample5.dest1' -' serialization.ddl struct dest1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample5.dest1' -' name: sample5.dest1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -298 rows selected ->>> ->>> INSERT OVERWRITE TABLE dest1 SELECT s.* -- here's another test -FROM srcbucket TABLESAMPLE (BUCKET 1 OUT OF 5 on key) s; -'key','value' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1 SORT BY key, value; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_1' -'0','val_1' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_6' -'10','val_10' -'10','val_11' -'15','val_15' -'15','val_15' -'15','val_16' -'15','val_16' -'20','val_20' -'20','val_21' -'20','val_21' -'30','val_30' -'30','val_31' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_36' -'35','val_36' -'35','val_36' -'40','val_41' -'40','val_41' -'50','val_51' -'60','val_61' -'65','val_65' -'65','val_66' -'65','val_66' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_71' -'75','val_76' -'80','val_80' -'80','val_81' -'85','val_85' -'85','val_86' -'90','val_90' -'90','val_90' -'90','val_90' -'95','val_95' -'95','val_95' -'100','val_100' -'100','val_100' -'100','val_101' -'100','val_101' -'105','val_105' -'105','val_106' -'105','val_106' -'110','val_111' -'120','val_120' -'120','val_120' -'120','val_121' -'125','val_125' -'125','val_125' -'125','val_126' -'135','val_136' -'135','val_136' -'135','val_136' -'140','val_141' -'145','val_145' -'150','val_150' -'155','val_155' -'160','val_160' -'160','val_161' -'165','val_165' -'165','val_165' -'165','val_166' -'170','val_170' -'170','val_171' -'175','val_175' -'175','val_175' -'175','val_176' -'175','val_176' -'180','val_180' -'185','val_186' -'190','val_190' -'195','val_195' -'195','val_195' -'200','val_200' -'200','val_200' -'205','val_205' -'205','val_205' -'205','val_206' -'215','val_216' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'235','val_235' -'235','val_236' -'240','val_241' -'245','val_246' -'245','val_246' -'255','val_255' -'255','val_255' -'260','val_260' -'260','val_261' -'260','val_261' -'265','val_265' -'265','val_265' -'265','val_266' -'275','val_275' -'275','val_276' -'275','val_276' -'280','val_280' -'280','val_280' -'285','val_285' -'285','val_286' -'295','val_296' -'295','val_296' -'300','val_301' -'300','val_301' -'305','val_305' -'305','val_306' -'310','val_310' -'310','val_311' -'310','val_311' -'310','val_311' -'315','val_315' -'325','val_325' -'325','val_325' -'330','val_331' -'335','val_335' -'335','val_336' -'335','val_336' -'340','val_341' -'345','val_345' -'355','val_356' -'355','val_356' -'360','val_360' -'360','val_361' -'365','val_365' -'375','val_375' -'375','val_376' -'375','val_376' -'375','val_376' -'375','val_376' -'375','val_376' -'385','val_386' -'385','val_386' -'390','val_391' -'390','val_391' -'390','val_391' -'395','val_395' -'395','val_395' -'395','val_396' -'395','val_396' -'400','val_400' -'405','val_406' -'410','val_411' -'415','val_416' -'425','val_426' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_431' -'435','val_435' -'435','val_436' -'440','val_441' -'440','val_441' -'450','val_451' -'450','val_451' -'455','val_455' -'455','val_456' -'455','val_456' -'460','val_460' -'470','val_470' -'470','val_471' -'475','val_475' -'475','val_476' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_481' -'480','val_481' -'485','val_485' -'485','val_486' -'485','val_486' -'490','val_490' -'490','val_491' -'495','val_495' -'495','val_496' -189 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/sample7.q.out ql/src/test/results/beelinepositive/sample7.q.out deleted file mode 100644 index 1d8af04..0000000 --- ql/src/test/results/beelinepositive/sample7.q.out +++ /dev/null @@ -1,524 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/sample7.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/sample7.q ->>> CREATE TABLE dest1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> -- both input pruning and sample filter ->>> EXPLAIN EXTENDED -INSERT OVERWRITE TABLE dest1 SELECT s.* -FROM srcbucket TABLESAMPLE (BUCKET 1 OUT OF 4 on key) s -WHERE s.key > 100; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcbucket) (TOK_TABLEBUCKETSAMPLE 1 4 (TOK_TABLE_OR_COL key)) s)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME s)))) (TOK_WHERE (> (. (TOK_TABLE_OR_COL s) key) 100))))' -'' -'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' -' Alias -> Map Operator Tree:' -' s ' -' TableScan' -' alias: s' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (key > 100)' -' type: boolean' -' Filter Operator' -' isSamplingPred: true' -' predicate:' -' expr: (((hash(key) & 2147483647) % 4) = 0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample7.db/dest1' -' name sample7.dest1' -' serialization.ddl struct dest1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample7.dest1' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/sample7.db/srcbucket/srcbucket0.txt [s]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/sample7.db/srcbucket/srcbucket0.txt ' -' Partition' -' base file name: srcbucket0.txt' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample7.db/srcbucket' -' name sample7.srcbucket' -' numFiles 2' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct srcbucket { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11603' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample7.db/srcbucket' -' name sample7.srcbucket' -' numFiles 2' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct srcbucket { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11603' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample7.srcbucket' -' name: sample7.srcbucket' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample7.db/dest1' -' name sample7.dest1' -' serialization.ddl struct dest1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample7.dest1' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample7.db/dest1' -' name sample7.dest1' -' serialization.ddl struct dest1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample7.dest1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample7.db/dest1' -' name sample7.dest1' -' serialization.ddl struct dest1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample7.db/dest1' -' name sample7.dest1' -' serialization.ddl struct dest1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample7.dest1' -' name: sample7.dest1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample7.db/dest1' -' name sample7.dest1' -' serialization.ddl struct dest1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample7.dest1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample7.db/dest1' -' name sample7.dest1' -' serialization.ddl struct dest1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample7.db/dest1' -' name sample7.dest1' -' serialization.ddl struct dest1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample7.dest1' -' name: sample7.dest1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -303 rows selected ->>> ->>> INSERT OVERWRITE TABLE dest1 SELECT s.* -FROM srcbucket TABLESAMPLE (BUCKET 1 OUT OF 4 on key) s -WHERE s.key > 100; -'key','value' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','value' -'468','val_469' -'272','val_273' -'448','val_449' -'440','val_441' -'296','val_297' -'428','val_429' -'356','val_357' -'128','val_129' -'240','val_241' -'408','val_409' -'476','val_477' -'424','val_425' -'488','val_489' -'128','val_129' -'468','val_469' -'224','val_225' -'344','val_345' -'304','val_305' -'264','val_265' -'196','val_197' -'492','val_493' -'360','val_361' -'492','val_493' -'376','val_377' -'120','val_121' -'132','val_133' -'388','val_389' -'184','val_185' -'284','val_285' -'352','val_353' -'328','val_329' -'480','val_481' -'480','val_481' -'392','val_393' -'476','val_477' -'252','val_253' -'264','val_265' -'336','val_337' -'340','val_341' -'484','val_485' -'260','val_261' -'164','val_165' -'104','val_105' -'140','val_141' -'212','val_213' -'308','val_309' -'416','val_417' -'364','val_365' -'168','val_169' -'384','val_385' -'324','val_325' -'404','val_405' -'260','val_261' -'328','val_329' -'404','val_405' -'384','val_385' -'116','val_117' -'104','val_105' -'132','val_133' -'192','val_193' -'356','val_357' -'352','val_353' -'160','val_161' -'412','val_413' -'204','val_205' -'216','val_217' -'196','val_197' -'384','val_385' -'404','val_405' -'300','val_301' -'268','val_269' -'392','val_393' -'104','val_105' -'436','val_437' -'156','val_157' -'172','val_173' -'244','val_245' -'284','val_285' -'164','val_165' -'136','val_137' -'432','val_433' -'496','val_497' -'144','val_145' -'408','val_409' -'152','val_153' -'348','val_349' -'292','val_293' -'152','val_153' -'256','val_257' -'292','val_293' -'412','val_413' -'156','val_157' -'228','val_229' -'248','val_249' -'244','val_245' -'276','val_277' -'196','val_197' -'440','val_441' -'308','val_309' -'468','val_469' -'152','val_153' -'300','val_301' -'244','val_245' -'484','val_484' -'224','val_224' -'128','val_128' -'152','val_152' -'252','val_252' -'292','val_292' -'208','val_208' -'396','val_396' -'128','val_128' -'316','val_316' -'280','val_280' -'208','val_208' -'356','val_356' -'192','val_192' -'176','val_176' -'216','val_216' -'176','val_176' -'332','val_332' -'180','val_180' -'284','val_284' -'260','val_260' -'404','val_404' -'384','val_384' -'272','val_272' -'348','val_348' -'208','val_208' -'348','val_348' -'172','val_172' -'496','val_496' -'468','val_468' -'120','val_120' -'404','val_404' -'436','val_436' -'156','val_156' -'468','val_468' -'308','val_308' -'196','val_196' -'288','val_288' -'316','val_316' -'364','val_364' -'224','val_224' -'392','val_392' -'272','val_272' -'452','val_452' -'396','val_396' -'336','val_336' -'168','val_168' -'472','val_472' -'160','val_160' -'492','val_492' -'228','val_228' -'468','val_468' -'368','val_368' -'296','val_296' -'216','val_216' -'344','val_344' -'116','val_116' -'256','val_256' -'480','val_480' -'288','val_288' -'244','val_244' -'128','val_128' -'432','val_432' -'316','val_316' -'280','val_280' -'104','val_104' -'348','val_348' -'424','val_424' -'396','val_396' -'164','val_164' -'164','val_164' -'424','val_424' -'480','val_480' -'104','val_104' -'200','val_200' -'360','val_360' -'248','val_248' -'444','val_444' -'120','val_120' -'468','val_468' -'460','val_460' -'480','val_480' -'136','val_136' -'172','val_172' -'384','val_384' -'256','val_256' -'384','val_384' -'492','val_492' -'348','val_348' -'344','val_344' -'448','val_448' -'152','val_152' -'348','val_348' -'400','val_400' -'200','val_200' -198 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/sample8.q.out ql/src/test/results/beelinepositive/sample8.q.out deleted file mode 100644 index beb17d3..0000000 --- ql/src/test/results/beelinepositive/sample8.q.out +++ /dev/null @@ -1,84395 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/sample8.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/sample8.q ->>> -- sampling with join and alias ->>> EXPLAIN EXTENDED -SELECT s.* -FROM srcpart TABLESAMPLE (BUCKET 1 OUT OF 1 ON key) s -JOIN srcpart TABLESAMPLE (BUCKET 1 OUT OF 10 ON key) t -WHERE t.key = s.key and t.value = s.value and s.ds='2008-04-08' and s.hr='11' and s.ds='2008-04-08' and s.hr='11' -DISTRIBUTE BY key, value -SORT BY key, value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcpart) (TOK_TABLEBUCKETSAMPLE 1 1 (TOK_TABLE_OR_COL key)) s) (TOK_TABREF (TOK_TABNAME srcpart) (TOK_TABLEBUCKETSAMPLE 1 10 (TOK_TABLE_OR_COL key)) t))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME s)))) (TOK_WHERE (and (and (and (and (and (= (. (TOK_TABLE_OR_COL t) key) (. (TOK_TABLE_OR_COL s) key)) (= (. (TOK_TABLE_OR_COL t) value) (. (TOK_TABLE_OR_COL s) value))) (= (. (TOK_TABLE_OR_COL s) ds) '2008-04-08')) (= (. (TOK_TABLE_OR_COL s) hr) '11')) (= (. (TOK_TABLE_OR_COL s) ds) '2008-04-08')) (= (. (TOK_TABLE_OR_COL s) hr) '11'))) (TOK_DISTRIBUTEBY (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL value)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' s ' -' TableScan' -' alias: s' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: true' -' predicate:' -' expr: (((hash(key) & 2147483647) % 1) = 0)' -' type: boolean' -' Reduce Output Operator' -' sort order: ' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' t ' -' TableScan' -' alias: t' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: true' -' predicate:' -' expr: (((hash(key) & 2147483647) % 10) = 0)' -' type: boolean' -' Reduce Output Operator' -' sort order: ' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' Needs Tagging: true' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/sample8.db/srcpart/ds=2008-04-08/hr=11 [t, s]' -' !!{hive.metastore.warehouse.dir}!!/sample8.db/srcpart/ds=2008-04-08/hr=12 [t]' -' !!{hive.metastore.warehouse.dir}!!/sample8.db/srcpart/ds=2008-04-09/hr=11 [t]' -' !!{hive.metastore.warehouse.dir}!!/sample8.db/srcpart/ds=2008-04-09/hr=12 [t]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/sample8.db/srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample8.db/srcpart/ds=2008-04-08/hr=11' -' name sample8.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample8.db/srcpart' -' name sample8.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample8.srcpart' -' name: sample8.srcpart' -' !!{hive.metastore.warehouse.dir}!!/sample8.db/srcpart/ds=2008-04-08/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample8.db/srcpart/ds=2008-04-08/hr=12' -' name sample8.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample8.db/srcpart' -' name sample8.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample8.srcpart' -' name: sample8.srcpart' -' !!{hive.metastore.warehouse.dir}!!/sample8.db/srcpart/ds=2008-04-09/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-09' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample8.db/srcpart/ds=2008-04-09/hr=11' -' name sample8.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample8.db/srcpart' -' name sample8.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample8.srcpart' -' name: sample8.srcpart' -' !!{hive.metastore.warehouse.dir}!!/sample8.db/srcpart/ds=2008-04-09/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-09' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample8.db/srcpart/ds=2008-04-09/hr=12' -' name sample8.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample8.db/srcpart' -' name sample8.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample8.srcpart' -' name: sample8.srcpart' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1} {VALUE._col2} {VALUE._col3}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col3, _col6, _col7' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((((((_col6 = _col0) and (_col7 = _col1)) and (_col2 = '2008-04-08')) and (_col3 = '11')) and (_col2 = '2008-04-08')) and (_col3 = '11'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string,string,string,string' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string,string,string,string' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string,string,string,string' -' escape.delim \' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string:string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -373 rows selected ->>> ->>> SELECT s.key, s.value -FROM srcpart TABLESAMPLE (BUCKET 1 OUT OF 1 ON key) s -JOIN srcpart TABLESAMPLE (BUCKET 1 OUT OF 10 ON key) t -WHERE s.ds='2008-04-08' and s.hr='11' and s.ds='2008-04-08' and s.hr='11' -DISTRIBUTE BY key, value -SORT BY key, value; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'10','val_10' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'105','val_105' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'11','val_11' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'111','val_111' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'114','val_114' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'116','val_116' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'126','val_126' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'131','val_131' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'133','val_133' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'136','val_136' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'143','val_143' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'145','val_145' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'150','val_150' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'153','val_153' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'155','val_155' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'156','val_156' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'157','val_157' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'158','val_158' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'160','val_160' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'162','val_162' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'163','val_163' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'166','val_166' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'168','val_168' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'17','val_17' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'170','val_170' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'177','val_177' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'178','val_178' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'180','val_180' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'181','val_181' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'183','val_183' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'186','val_186' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'189','val_189' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'19','val_19' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'190','val_190' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'192','val_192' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'194','val_194' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'196','val_196' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'20','val_20' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'201','val_201' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'202','val_202' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'214','val_214' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'218','val_218' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'222','val_222' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'226','val_226' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'228','val_228' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'235','val_235' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'241','val_241' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'244','val_244' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'247','val_247' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'248','val_248' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'249','val_249' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'252','val_252' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'257','val_257' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'258','val_258' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'260','val_260' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'262','val_262' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'263','val_263' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'266','val_266' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'27','val_27' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'274','val_274' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'275','val_275' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'28','val_28' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'283','val_283' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'284','val_284' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'285','val_285' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'286','val_286' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'287','val_287' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'289','val_289' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'291','val_291' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'292','val_292' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'296','val_296' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'30','val_30' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'302','val_302' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'305','val_305' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'306','val_306' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'308','val_308' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'310','val_310' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'315','val_315' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'323','val_323' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'33','val_33' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'332','val_332' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'335','val_335' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'336','val_336' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'338','val_338' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'339','val_339' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'34','val_34' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'341','val_341' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'345','val_345' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'351','val_351' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'356','val_356' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'360','val_360' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'362','val_362' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'364','val_364' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'365','val_365' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'366','val_366' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'368','val_368' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'373','val_373' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'374','val_374' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'375','val_375' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'377','val_377' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'378','val_378' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'379','val_379' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'386','val_386' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'389','val_389' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'392','val_392' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'393','val_393' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'394','val_394' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'400','val_400' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'402','val_402' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'407','val_407' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'41','val_41' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'411','val_411' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'418','val_418' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'419','val_419' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'421','val_421' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'427','val_427' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'43','val_43' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'432','val_432' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'435','val_435' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'436','val_436' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'437','val_437' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'44','val_44' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'443','val_443' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'444','val_444' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'446','val_446' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'448','val_448' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'449','val_449' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'452','val_452' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'453','val_453' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'455','val_455' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'457','val_457' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'460','val_460' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'467','val_467' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'47','val_47' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'470','val_470' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'472','val_472' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'475','val_475' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'477','val_477' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'479','val_479' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'481','val_481' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'482','val_482' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'483','val_483' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'484','val_484' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'485','val_485' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'487','val_487' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'490','val_490' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'491','val_491' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'493','val_493' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'494','val_494' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'495','val_495' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'496','val_496' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'497','val_497' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'53','val_53' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'54','val_54' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'57','val_57' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'64','val_64' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'65','val_65' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'66','val_66' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'69','val_69' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'74','val_74' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'77','val_77' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'78','val_78' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'8','val_8' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'80','val_80' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'82','val_82' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'85','val_85' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'86','val_86' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'87','val_87' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'9','val_9' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'92','val_92' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'96','val_96' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -84,000 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/sample9.q.out ql/src/test/results/beelinepositive/sample9.q.out deleted file mode 100644 index c1a11e2..0000000 --- ql/src/test/results/beelinepositive/sample9.q.out +++ /dev/null @@ -1,615 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/sample9.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/sample9.q ->>> EXPLAIN EXTENDED -SELECT s.* -FROM (SELECT a.* FROM srcbucket TABLESAMPLE (BUCKET 1 OUT OF 2 on key) a) s; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcbucket) (TOK_TABLEBUCKETSAMPLE 1 2 (TOK_TABLE_OR_COL key)) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME a)))))) s)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME s))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' s:a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: true' -' predicate:' -' expr: (((hash(key) & 2147483647) % 2) = 0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types int:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/sample9.db/srcbucket/srcbucket0.txt [s:a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/sample9.db/srcbucket/srcbucket0.txt ' -' Partition' -' base file name: srcbucket0.txt' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample9.db/srcbucket' -' name sample9.srcbucket' -' numFiles 2' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct srcbucket { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11603' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sample9.db/srcbucket' -' name sample9.srcbucket' -' numFiles 2' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct srcbucket { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11603' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sample9.srcbucket' -' name: sample9.srcbucket' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -109 rows selected ->>> ->>> SELECT s.* -FROM (SELECT a.* FROM srcbucket TABLESAMPLE (BUCKET 1 OUT OF 2 on key) a) s; -'key','value' -'474','val_475' -'62','val_63' -'468','val_469' -'272','val_273' -'448','val_449' -'246','val_247' -'440','val_441' -'278','val_279' -'296','val_297' -'428','val_429' -'126','val_127' -'106','val_107' -'356','val_357' -'490','val_491' -'402','val_403' -'128','val_129' -'10','val_11' -'226','val_227' -'110','val_111' -'0','val_1' -'240','val_241' -'286','val_287' -'408','val_409' -'476','val_477' -'482','val_483' -'48','val_49' -'424','val_425' -'226','val_227' -'494','val_495' -'488','val_489' -'94','val_95' -'50','val_51' -'402','val_403' -'128','val_129' -'468','val_469' -'314','val_315' -'224','val_225' -'344','val_345' -'4','val_5' -'206','val_207' -'114','val_115' -'56','val_57' -'114','val_115' -'254','val_255' -'390','val_391' -'304','val_305' -'264','val_265' -'196','val_197' -'238','val_239' -'20','val_21' -'492','val_493' -'82','val_83' -'58','val_59' -'86','val_87' -'438','val_439' -'360','val_361' -'222','val_223' -'42','val_43' -'338','val_339' -'68','val_69' -'16','val_17' -'492','val_493' -'376','val_377' -'120','val_121' -'306','val_307' -'426','val_427' -'132','val_133' -'446','val_447' -'386','val_387' -'388','val_389' -'184','val_185' -'284','val_285' -'246','val_247' -'262','val_263' -'122','val_123' -'438','val_439' -'390','val_391' -'352','val_353' -'226','val_227' -'328','val_329' -'382','val_383' -'342','val_343' -'480','val_481' -'102','val_103' -'480','val_481' -'318','val_319' -'392','val_393' -'476','val_477' -'258','val_259' -'174','val_175' -'252','val_253' -'114','val_115' -'264','val_265' -'48','val_49' -'336','val_337' -'340','val_341' -'390','val_391' -'484','val_485' -'6','val_7' -'260','val_261' -'2','val_3' -'170','val_171' -'164','val_165' -'118','val_119' -'310','val_311' -'104','val_105' -'80','val_81' -'326','val_327' -'450','val_451' -'140','val_141' -'212','val_213' -'308','val_309' -'30','val_31' -'358','val_359' -'416','val_417' -'42','val_43' -'386','val_387' -'454','val_455' -'364','val_365' -'20','val_21' -'52','val_53' -'40','val_41' -'8','val_9' -'168','val_169' -'384','val_385' -'324','val_325' -'310','val_311' -'206','val_207' -'404','val_405' -'206','val_207' -'226','val_227' -'262','val_263' -'260','val_261' -'328','val_329' -'322','val_323' -'122','val_123' -'404','val_405' -'384','val_385' -'76','val_77' -'116','val_117' -'42','val_43' -'104','val_105' -'406','val_407' -'32','val_33' -'132','val_133' -'192','val_193' -'58','val_59' -'70','val_71' -'356','val_357' -'352','val_353' -'52','val_53' -'330','val_331' -'138','val_139' -'160','val_161' -'454','val_455' -'76','val_77' -'174','val_175' -'412','val_413' -'16','val_17' -'204','val_205' -'126','val_127' -'274','val_275' -'374','val_375' -'494','val_495' -'216','val_217' -'470','val_471' -'196','val_197' -'302','val_303' -'450','val_451' -'12','val_13' -'398','val_399' -'334','val_335' -'384','val_385' -'60','val_61' -'442','val_443' -'52','val_53' -'404','val_405' -'446','val_447' -'300','val_301' -'0','val_1' -'268','val_269' -'392','val_393' -'104','val_105' -'436','val_437' -'156','val_157' -'118','val_119' -'172','val_173' -'244','val_245' -'6','val_7' -'284','val_285' -'164','val_165' -'136','val_137' -'462','val_463' -'432','val_433' -'496','val_497' -'144','val_145' -'408','val_409' -'152','val_153' -'382','val_383' -'348','val_349' -'122','val_123' -'292','val_293' -'182','val_183' -'474','val_475' -'310','val_311' -'52','val_53' -'486','val_487' -'152','val_153' -'378','val_379' -'414','val_415' -'256','val_257' -'292','val_293' -'412','val_413' -'40','val_41' -'478','val_479' -'178','val_179' -'100','val_101' -'156','val_157' -'228','val_229' -'22','val_23' -'248','val_249' -'402','val_403' -'62','val_63' -'162','val_163' -'244','val_245' -'276','val_277' -'46','val_47' -'78','val_79' -'134','val_135' -'196','val_197' -'410','val_411' -'82','val_83' -'440','val_441' -'100','val_101' -'308','val_309' -'430','val_431' -'468','val_469' -'152','val_153' -'138','val_139' -'76','val_77' -'300','val_301' -'478','val_479' -'118','val_119' -'178','val_179' -'242','val_243' -'244','val_245' -'238','val_238' -'86','val_86' -'278','val_278' -'98','val_98' -'484','val_484' -'150','val_150' -'224','val_224' -'66','val_66' -'128','val_128' -'146','val_146' -'406','val_406' -'374','val_374' -'152','val_152' -'82','val_82' -'166','val_166' -'430','val_430' -'252','val_252' -'292','val_292' -'338','val_338' -'446','val_446' -'394','val_394' -'482','val_482' -'174','val_174' -'494','val_494' -'466','val_466' -'208','val_208' -'174','val_174' -'396','val_396' -'162','val_162' -'266','val_266' -'342','val_342' -'0','val_0' -'128','val_128' -'316','val_316' -'302','val_302' -'438','val_438' -'170','val_170' -'20','val_20' -'378','val_378' -'92','val_92' -'72','val_72' -'4','val_4' -'280','val_280' -'208','val_208' -'356','val_356' -'382','val_382' -'498','val_498' -'386','val_386' -'192','val_192' -'286','val_286' -'176','val_176' -'54','val_54' -'138','val_138' -'216','val_216' -'430','val_430' -'278','val_278' -'176','val_176' -'318','val_318' -'332','val_332' -'180','val_180' -'284','val_284' -'12','val_12' -'230','val_230' -'260','val_260' -'404','val_404' -'384','val_384' -'272','val_272' -'138','val_138' -'84','val_84' -'348','val_348' -'466','val_466' -'58','val_58' -'8','val_8' -'230','val_230' -'208','val_208' -'348','val_348' -'24','val_24' -'172','val_172' -'42','val_42' -'158','val_158' -'496','val_496' -'0','val_0' -'322','val_322' -'468','val_468' -'454','val_454' -'100','val_100' -'298','val_298' -'418','val_418' -'96','val_96' -'26','val_26' -'230','val_230' -'120','val_120' -'404','val_404' -'436','val_436' -'156','val_156' -'468','val_468' -'308','val_308' -'196','val_196' -'288','val_288' -'98','val_98' -'282','val_282' -'318','val_318' -'318','val_318' -'470','val_470' -'316','val_316' -'0','val_0' -'490','val_490' -'364','val_364' -'118','val_118' -'134','val_134' -'282','val_282' -'138','val_138' -'238','val_238' -'118','val_118' -'72','val_72' -'90','val_90' -'10','val_10' -'306','val_306' -'224','val_224' -'242','val_242' -'392','val_392' -'272','val_272' -'242','val_242' -'452','val_452' -'226','val_226' -'402','val_402' -'396','val_396' -'58','val_58' -'336','val_336' -'168','val_168' -'34','val_34' -'472','val_472' -'322','val_322' -'498','val_498' -'160','val_160' -'42','val_42' -'430','val_430' -'458','val_458' -'78','val_78' -'76','val_76' -'492','val_492' -'218','val_218' -'228','val_228' -'138','val_138' -'30','val_30' -'64','val_64' -'468','val_468' -'76','val_76' -'74','val_74' -'342','val_342' -'230','val_230' -'368','val_368' -'296','val_296' -'216','val_216' -'344','val_344' -'274','val_274' -'116','val_116' -'256','val_256' -'70','val_70' -'480','val_480' -'288','val_288' -'244','val_244' -'438','val_438' -'128','val_128' -'432','val_432' -'202','val_202' -'316','val_316' -'280','val_280' -'2','val_2' -'80','val_80' -'44','val_44' -'104','val_104' -'466','val_466' -'366','val_366' -'406','val_406' -'190','val_190' -'406','val_406' -'114','val_114' -'258','val_258' -'90','val_90' -'262','val_262' -'348','val_348' -'424','val_424' -'12','val_12' -'396','val_396' -'164','val_164' -'454','val_454' -'478','val_478' -'298','val_298' -'164','val_164' -'424','val_424' -'382','val_382' -'70','val_70' -'480','val_480' -'24','val_24' -'104','val_104' -'70','val_70' -'438','val_438' -'414','val_414' -'200','val_200' -'360','val_360' -'248','val_248' -'444','val_444' -'120','val_120' -'230','val_230' -'478','val_478' -'178','val_178' -'468','val_468' -'310','val_310' -'460','val_460' -'480','val_480' -'136','val_136' -'172','val_172' -'214','val_214' -'462','val_462' -'406','val_406' -'454','val_454' -'384','val_384' -'256','val_256' -'26','val_26' -'134','val_134' -'384','val_384' -'18','val_18' -'462','val_462' -'492','val_492' -'100','val_100' -'298','val_298' -'498','val_498' -'146','val_146' -'458','val_458' -'362','val_362' -'186','val_186' -'348','val_348' -'18','val_18' -'344','val_344' -'84','val_84' -'28','val_28' -'448','val_448' -'152','val_152' -'348','val_348' -'194','val_194' -'414','val_414' -'222','val_222' -'126','val_126' -'90','val_90' -'400','val_400' -'200','val_200' -493 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/script_env_var1.q.out ql/src/test/results/beelinepositive/script_env_var1.q.out deleted file mode 100644 index 8cca5aa..0000000 --- ql/src/test/results/beelinepositive/script_env_var1.q.out +++ /dev/null @@ -1,12 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/script_env_var1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/script_env_var1.q ->>> -- Verifies that script operator ID environment variables have unique values ->>> -- in each instance of the script operator. ->>> SELECT count(1) FROM -( SELECT TRANSFORM('echo $HIVE_SCRIPT_OPERATOR_ID') USING 'bash' AS key FROM src LIMIT 1 UNION ALL -SELECT TRANSFORM('echo $HIVE_SCRIPT_OPERATOR_ID') USING 'bash' AS key FROM src LIMIT 1 ) a GROUP BY key; -'_c0' -'1' -'1' -2 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/script_env_var2.q.out ql/src/test/results/beelinepositive/script_env_var2.q.out deleted file mode 100644 index efda73e..0000000 --- ql/src/test/results/beelinepositive/script_env_var2.q.out +++ /dev/null @@ -1,13 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/script_env_var2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/script_env_var2.q ->>> set hive.script.operator.id.env.var = MY_ID; -No rows affected ->>> -- Same test as script_env_var1, but test setting the variable name ->>> SELECT count(1) FROM -( SELECT TRANSFORM('echo $MY_ID') USING 'bash' AS key FROM src LIMIT 1 UNION ALL -SELECT TRANSFORM('echo $MY_ID') USING 'bash' AS key FROM src LIMIT 1 ) a GROUP BY key; -'_c0' -'1' -'1' -2 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/script_pipe.q.out ql/src/test/results/beelinepositive/script_pipe.q.out deleted file mode 100644 index e565b18..0000000 --- ql/src/test/results/beelinepositive/script_pipe.q.out +++ /dev/null @@ -1,136 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/script_pipe.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/script_pipe.q ->>> set hive.exec.script.allow.partial.consumption = true; -No rows affected ->>> -- Tests exception in ScriptOperator.close() by passing to the operator a small amount of data ->>> EXPLAIN SELECT TRANSFORM(*) USING 'true' AS a, b, c FROM (SELECT * FROM src LIMIT 1) tmp; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_LIMIT 1))) tmp)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TRANSFORM (TOK_EXPLIST TOK_ALLCOLREF) TOK_SERDE TOK_RECORDWRITER 'true' TOK_SERDE TOK_RECORDREADER (TOK_ALIASLIST a b c))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tmp:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Transform Operator' -' command: true' -' output info:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -57 rows selected ->>> -- Tests exception in ScriptOperator.processOp() by passing extra data needed to fill pipe buffer ->>> EXPLAIN SELECT TRANSFORM(key, value, key, value, key, value, key, value, key, value, key, value) USING 'head -n 1' as a,b,c,d FROM src; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TRANSFORM (TOK_EXPLIST (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL value) (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL value) (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL value) (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL value) (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL value) (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL value)) TOK_SERDE TOK_RECORDWRITER 'head -n 1' TOK_SERDE TOK_RECORDREADER (TOK_ALIASLIST a b c d))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11' -' Transform Operator' -' command: head -n 1' -' output info:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -58 rows selected ->>> ->>> SELECT TRANSFORM(*) USING 'true' AS a, b, c FROM (SELECT * FROM src LIMIT 1) tmp; -'a','b','c' -No rows selected ->>> SELECT TRANSFORM(key, value, key, value, key, value, key, value, key, value, key, value) USING 'head -n 1' as a,b,c,d FROM src; -'a','b','c','d' -'238','val_238','238','val_238' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/scriptfile1.q.out ql/src/test/results/beelinepositive/scriptfile1.q.out deleted file mode 100644 index a3e246f..0000000 --- ql/src/test/results/beelinepositive/scriptfile1.q.out +++ /dev/null @@ -1,33 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/scriptfile1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/scriptfile1.q ->>> set hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> CREATE TABLE dest1(key INT, value STRING); -No rows affected ->>> ->>> ADD FILE src/test/scripts/testgrep; -No rows affected ->>> ->>> FROM ( -FROM src -SELECT TRANSFORM(src.key, src.value) -USING 'testgrep' AS (tkey, tvalue) -CLUSTER BY tkey -) tmap -INSERT OVERWRITE TABLE dest1 SELECT tmap.tkey, tmap.tvalue; -'_col0','_col1' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','value' -'10','val_10' -'100','val_100' -'100','val_100' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -'105','val_105' -'310','val_310' -9 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/select_as_omitted.q.out ql/src/test/results/beelinepositive/select_as_omitted.q.out deleted file mode 100644 index 6522b6f..0000000 --- ql/src/test/results/beelinepositive/select_as_omitted.q.out +++ /dev/null @@ -1,74 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/select_as_omitted.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/select_as_omitted.q ->>> EXPLAIn -SELECT a, b FROM ( -SELECT key a, value b -FROM src -) src1 -ORDER BY a LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key) a) (TOK_SELEXPR (TOK_TABLE_OR_COL value) b)))) src1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL a)) (TOK_SELEXPR (TOK_TABLE_OR_COL b))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL a))) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -54 rows selected ->>> ->>> SELECT a, b FROM ( -SELECT key a, value b -FROM src -) src1 -ORDER BY a LIMIT 1; -'a','b' -'0','val_0' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/select_transform_hint.q.out ql/src/test/results/beelinepositive/select_transform_hint.q.out deleted file mode 100644 index c633ec8..0000000 --- ql/src/test/results/beelinepositive/select_transform_hint.q.out +++ /dev/null @@ -1,2244 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/select_transform_hint.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/select_transform_hint.q ->>> EXPLAIN -SELECT /*+MAPJOIN(a)*/ -TRANSFORM(a.key, a.value) USING 'cat' AS (tkey, tvalue) -FROM src a join src b -on a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) a) (TOK_TABREF (TOK_TABNAME src) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR (TOK_TRANSFORM (TOK_EXPLIST (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL a) value)) TOK_SERDE TOK_RECORDWRITER 'cat' TOK_SERDE TOK_RECORDREADER (TOK_ALIASLIST tkey tvalue))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-3 is a root stage' -' Stage-1 depends on stages: Stage-3' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-3' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' a ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' a ' -' TableScan' -' alias: a' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Transform Operator' -' command: cat' -' output info:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -80 rows selected ->>> ->>> ->>> SELECT /*+MAPJOIN(a)*/ -TRANSFORM(a.key, a.value) USING 'cat' AS (tkey, tvalue) -FROM src a join src b -on a.key = b.key; -'tkey','tvalue' -'238','val_238' -'238','val_238' -'86','val_86' -'311','val_311' -'311','val_311' -'311','val_311' -'27','val_27' -'165','val_165' -'165','val_165' -'409','val_409' -'409','val_409' -'409','val_409' -'255','val_255' -'255','val_255' -'278','val_278' -'278','val_278' -'98','val_98' -'98','val_98' -'484','val_484' -'265','val_265' -'265','val_265' -'193','val_193' -'193','val_193' -'193','val_193' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'150','val_150' -'273','val_273' -'273','val_273' -'273','val_273' -'224','val_224' -'224','val_224' -'369','val_369' -'369','val_369' -'369','val_369' -'66','val_66' -'128','val_128' -'128','val_128' -'128','val_128' -'213','val_213' -'213','val_213' -'146','val_146' -'146','val_146' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'429','val_429' -'429','val_429' -'374','val_374' -'152','val_152' -'152','val_152' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'145','val_145' -'495','val_495' -'37','val_37' -'37','val_37' -'327','val_327' -'327','val_327' -'327','val_327' -'281','val_281' -'281','val_281' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'209','val_209' -'209','val_209' -'15','val_15' -'15','val_15' -'82','val_82' -'403','val_403' -'403','val_403' -'403','val_403' -'166','val_166' -'417','val_417' -'417','val_417' -'417','val_417' -'430','val_430' -'430','val_430' -'430','val_430' -'252','val_252' -'292','val_292' -'219','val_219' -'219','val_219' -'287','val_287' -'153','val_153' -'193','val_193' -'193','val_193' -'193','val_193' -'338','val_338' -'446','val_446' -'459','val_459' -'459','val_459' -'394','val_394' -'237','val_237' -'237','val_237' -'482','val_482' -'174','val_174' -'174','val_174' -'413','val_413' -'413','val_413' -'494','val_494' -'207','val_207' -'207','val_207' -'199','val_199' -'199','val_199' -'199','val_199' -'466','val_466' -'466','val_466' -'466','val_466' -'208','val_208' -'208','val_208' -'208','val_208' -'174','val_174' -'174','val_174' -'399','val_399' -'399','val_399' -'396','val_396' -'396','val_396' -'396','val_396' -'247','val_247' -'417','val_417' -'417','val_417' -'417','val_417' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'162','val_162' -'377','val_377' -'397','val_397' -'397','val_397' -'309','val_309' -'309','val_309' -'365','val_365' -'266','val_266' -'439','val_439' -'439','val_439' -'342','val_342' -'342','val_342' -'367','val_367' -'367','val_367' -'325','val_325' -'325','val_325' -'167','val_167' -'167','val_167' -'167','val_167' -'195','val_195' -'195','val_195' -'475','val_475' -'17','val_17' -'113','val_113' -'113','val_113' -'155','val_155' -'203','val_203' -'203','val_203' -'339','val_339' -'0','val_0' -'0','val_0' -'0','val_0' -'455','val_455' -'128','val_128' -'128','val_128' -'128','val_128' -'311','val_311' -'311','val_311' -'311','val_311' -'316','val_316' -'316','val_316' -'316','val_316' -'57','val_57' -'302','val_302' -'205','val_205' -'205','val_205' -'149','val_149' -'149','val_149' -'438','val_438' -'438','val_438' -'438','val_438' -'345','val_345' -'129','val_129' -'129','val_129' -'170','val_170' -'20','val_20' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'157','val_157' -'378','val_378' -'221','val_221' -'221','val_221' -'92','val_92' -'111','val_111' -'47','val_47' -'72','val_72' -'72','val_72' -'4','val_4' -'280','val_280' -'280','val_280' -'35','val_35' -'35','val_35' -'35','val_35' -'427','val_427' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'208','val_208' -'208','val_208' -'208','val_208' -'356','val_356' -'399','val_399' -'399','val_399' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'382','val_382' -'382','val_382' -'498','val_498' -'498','val_498' -'498','val_498' -'125','val_125' -'125','val_125' -'386','val_386' -'437','val_437' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'192','val_192' -'286','val_286' -'187','val_187' -'187','val_187' -'187','val_187' -'176','val_176' -'176','val_176' -'54','val_54' -'459','val_459' -'459','val_459' -'51','val_51' -'51','val_51' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'103','val_103' -'103','val_103' -'239','val_239' -'239','val_239' -'213','val_213' -'213','val_213' -'216','val_216' -'216','val_216' -'430','val_430' -'430','val_430' -'430','val_430' -'278','val_278' -'278','val_278' -'176','val_176' -'176','val_176' -'289','val_289' -'221','val_221' -'221','val_221' -'65','val_65' -'318','val_318' -'318','val_318' -'318','val_318' -'332','val_332' -'311','val_311' -'311','val_311' -'311','val_311' -'275','val_275' -'137','val_137' -'137','val_137' -'241','val_241' -'83','val_83' -'83','val_83' -'333','val_333' -'333','val_333' -'180','val_180' -'284','val_284' -'12','val_12' -'12','val_12' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'181','val_181' -'67','val_67' -'67','val_67' -'260','val_260' -'404','val_404' -'404','val_404' -'384','val_384' -'384','val_384' -'384','val_384' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'353','val_353' -'353','val_353' -'373','val_373' -'272','val_272' -'272','val_272' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'217','val_217' -'217','val_217' -'84','val_84' -'84','val_84' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'466','val_466' -'466','val_466' -'466','val_466' -'58','val_58' -'58','val_58' -'8','val_8' -'411','val_411' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'208','val_208' -'208','val_208' -'208','val_208' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'24','val_24' -'24','val_24' -'463','val_463' -'463','val_463' -'431','val_431' -'431','val_431' -'431','val_431' -'179','val_179' -'179','val_179' -'172','val_172' -'172','val_172' -'42','val_42' -'42','val_42' -'129','val_129' -'129','val_129' -'158','val_158' -'119','val_119' -'119','val_119' -'119','val_119' -'496','val_496' -'0','val_0' -'0','val_0' -'0','val_0' -'322','val_322' -'322','val_322' -'197','val_197' -'197','val_197' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'393','val_393' -'454','val_454' -'454','val_454' -'454','val_454' -'100','val_100' -'100','val_100' -'298','val_298' -'298','val_298' -'298','val_298' -'199','val_199' -'199','val_199' -'199','val_199' -'191','val_191' -'191','val_191' -'418','val_418' -'96','val_96' -'26','val_26' -'26','val_26' -'165','val_165' -'165','val_165' -'327','val_327' -'327','val_327' -'327','val_327' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'205','val_205' -'205','val_205' -'120','val_120' -'120','val_120' -'131','val_131' -'51','val_51' -'51','val_51' -'404','val_404' -'404','val_404' -'43','val_43' -'436','val_436' -'156','val_156' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'308','val_308' -'95','val_95' -'95','val_95' -'196','val_196' -'288','val_288' -'288','val_288' -'481','val_481' -'457','val_457' -'98','val_98' -'98','val_98' -'282','val_282' -'282','val_282' -'197','val_197' -'197','val_197' -'187','val_187' -'187','val_187' -'187','val_187' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'409','val_409' -'409','val_409' -'409','val_409' -'470','val_470' -'137','val_137' -'137','val_137' -'369','val_369' -'369','val_369' -'369','val_369' -'316','val_316' -'316','val_316' -'316','val_316' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'413','val_413' -'413','val_413' -'85','val_85' -'77','val_77' -'0','val_0' -'0','val_0' -'0','val_0' -'490','val_490' -'87','val_87' -'364','val_364' -'179','val_179' -'179','val_179' -'118','val_118' -'118','val_118' -'134','val_134' -'134','val_134' -'395','val_395' -'395','val_395' -'282','val_282' -'282','val_282' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'238','val_238' -'238','val_238' -'419','val_419' -'15','val_15' -'15','val_15' -'118','val_118' -'118','val_118' -'72','val_72' -'72','val_72' -'90','val_90' -'90','val_90' -'90','val_90' -'307','val_307' -'307','val_307' -'19','val_19' -'435','val_435' -'10','val_10' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'273','val_273' -'273','val_273' -'273','val_273' -'306','val_306' -'224','val_224' -'224','val_224' -'309','val_309' -'309','val_309' -'389','val_389' -'327','val_327' -'327','val_327' -'327','val_327' -'242','val_242' -'242','val_242' -'369','val_369' -'369','val_369' -'369','val_369' -'392','val_392' -'272','val_272' -'272','val_272' -'331','val_331' -'331','val_331' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'242','val_242' -'242','val_242' -'452','val_452' -'177','val_177' -'226','val_226' -'5','val_5' -'5','val_5' -'5','val_5' -'497','val_497' -'402','val_402' -'396','val_396' -'396','val_396' -'396','val_396' -'317','val_317' -'317','val_317' -'395','val_395' -'395','val_395' -'58','val_58' -'58','val_58' -'35','val_35' -'35','val_35' -'35','val_35' -'336','val_336' -'95','val_95' -'95','val_95' -'11','val_11' -'168','val_168' -'34','val_34' -'229','val_229' -'229','val_229' -'233','val_233' -'233','val_233' -'143','val_143' -'472','val_472' -'322','val_322' -'322','val_322' -'498','val_498' -'498','val_498' -'498','val_498' -'160','val_160' -'195','val_195' -'195','val_195' -'42','val_42' -'42','val_42' -'321','val_321' -'321','val_321' -'430','val_430' -'430','val_430' -'430','val_430' -'119','val_119' -'119','val_119' -'119','val_119' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'458','val_458' -'458','val_458' -'78','val_78' -'76','val_76' -'76','val_76' -'41','val_41' -'223','val_223' -'223','val_223' -'492','val_492' -'492','val_492' -'149','val_149' -'149','val_149' -'449','val_449' -'218','val_218' -'228','val_228' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'453','val_453' -'30','val_30' -'209','val_209' -'209','val_209' -'64','val_64' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'76','val_76' -'76','val_76' -'74','val_74' -'342','val_342' -'342','val_342' -'69','val_69' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'33','val_33' -'368','val_368' -'103','val_103' -'103','val_103' -'296','val_296' -'113','val_113' -'113','val_113' -'216','val_216' -'216','val_216' -'367','val_367' -'367','val_367' -'344','val_344' -'344','val_344' -'167','val_167' -'167','val_167' -'167','val_167' -'274','val_274' -'219','val_219' -'219','val_219' -'239','val_239' -'239','val_239' -'485','val_485' -'116','val_116' -'223','val_223' -'223','val_223' -'256','val_256' -'256','val_256' -'263','val_263' -'70','val_70' -'70','val_70' -'70','val_70' -'487','val_487' -'480','val_480' -'480','val_480' -'480','val_480' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'288','val_288' -'288','val_288' -'191','val_191' -'191','val_191' -'5','val_5' -'5','val_5' -'5','val_5' -'244','val_244' -'438','val_438' -'438','val_438' -'438','val_438' -'128','val_128' -'128','val_128' -'128','val_128' -'467','val_467' -'432','val_432' -'202','val_202' -'316','val_316' -'316','val_316' -'316','val_316' -'229','val_229' -'229','val_229' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'463','val_463' -'463','val_463' -'280','val_280' -'280','val_280' -'2','val_2' -'35','val_35' -'35','val_35' -'35','val_35' -'283','val_283' -'331','val_331' -'331','val_331' -'235','val_235' -'80','val_80' -'44','val_44' -'193','val_193' -'193','val_193' -'193','val_193' -'321','val_321' -'321','val_321' -'335','val_335' -'104','val_104' -'104','val_104' -'466','val_466' -'466','val_466' -'466','val_466' -'366','val_366' -'175','val_175' -'175','val_175' -'403','val_403' -'403','val_403' -'403','val_403' -'483','val_483' -'53','val_53' -'105','val_105' -'257','val_257' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'409','val_409' -'409','val_409' -'409','val_409' -'190','val_190' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'114','val_114' -'258','val_258' -'90','val_90' -'90','val_90' -'90','val_90' -'203','val_203' -'203','val_203' -'262','val_262' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'424','val_424' -'424','val_424' -'12','val_12' -'12','val_12' -'396','val_396' -'396','val_396' -'396','val_396' -'201','val_201' -'217','val_217' -'217','val_217' -'164','val_164' -'164','val_164' -'431','val_431' -'431','val_431' -'431','val_431' -'454','val_454' -'454','val_454' -'454','val_454' -'478','val_478' -'478','val_478' -'298','val_298' -'298','val_298' -'298','val_298' -'125','val_125' -'125','val_125' -'431','val_431' -'431','val_431' -'431','val_431' -'164','val_164' -'164','val_164' -'424','val_424' -'424','val_424' -'187','val_187' -'187','val_187' -'187','val_187' -'382','val_382' -'382','val_382' -'5','val_5' -'5','val_5' -'5','val_5' -'70','val_70' -'70','val_70' -'70','val_70' -'397','val_397' -'397','val_397' -'480','val_480' -'480','val_480' -'480','val_480' -'291','val_291' -'24','val_24' -'24','val_24' -'351','val_351' -'255','val_255' -'255','val_255' -'104','val_104' -'104','val_104' -'70','val_70' -'70','val_70' -'70','val_70' -'163','val_163' -'438','val_438' -'438','val_438' -'438','val_438' -'119','val_119' -'119','val_119' -'119','val_119' -'414','val_414' -'414','val_414' -'200','val_200' -'200','val_200' -'491','val_491' -'237','val_237' -'237','val_237' -'439','val_439' -'439','val_439' -'360','val_360' -'248','val_248' -'479','val_479' -'305','val_305' -'417','val_417' -'417','val_417' -'417','val_417' -'199','val_199' -'199','val_199' -'199','val_199' -'444','val_444' -'120','val_120' -'120','val_120' -'429','val_429' -'429','val_429' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'443','val_443' -'323','val_323' -'325','val_325' -'325','val_325' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'478','val_478' -'478','val_478' -'178','val_178' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'310','val_310' -'317','val_317' -'317','val_317' -'333','val_333' -'333','val_333' -'493','val_493' -'460','val_460' -'207','val_207' -'207','val_207' -'249','val_249' -'265','val_265' -'265','val_265' -'480','val_480' -'480','val_480' -'480','val_480' -'83','val_83' -'83','val_83' -'136','val_136' -'353','val_353' -'353','val_353' -'172','val_172' -'172','val_172' -'214','val_214' -'462','val_462' -'462','val_462' -'233','val_233' -'233','val_233' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'133','val_133' -'175','val_175' -'175','val_175' -'189','val_189' -'454','val_454' -'454','val_454' -'454','val_454' -'375','val_375' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'421','val_421' -'407','val_407' -'384','val_384' -'384','val_384' -'384','val_384' -'256','val_256' -'256','val_256' -'26','val_26' -'26','val_26' -'134','val_134' -'134','val_134' -'67','val_67' -'67','val_67' -'384','val_384' -'384','val_384' -'384','val_384' -'379','val_379' -'18','val_18' -'18','val_18' -'462','val_462' -'462','val_462' -'492','val_492' -'492','val_492' -'100','val_100' -'100','val_100' -'298','val_298' -'298','val_298' -'298','val_298' -'9','val_9' -'341','val_341' -'498','val_498' -'498','val_498' -'498','val_498' -'146','val_146' -'146','val_146' -'458','val_458' -'458','val_458' -'362','val_362' -'186','val_186' -'285','val_285' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'167','val_167' -'167','val_167' -'167','val_167' -'18','val_18' -'18','val_18' -'273','val_273' -'273','val_273' -'273','val_273' -'183','val_183' -'281','val_281' -'281','val_281' -'344','val_344' -'344','val_344' -'97','val_97' -'97','val_97' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'315','val_315' -'84','val_84' -'84','val_84' -'28','val_28' -'37','val_37' -'37','val_37' -'448','val_448' -'152','val_152' -'152','val_152' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'307','val_307' -'307','val_307' -'194','val_194' -'414','val_414' -'414','val_414' -'477','val_477' -'222','val_222' -'126','val_126' -'90','val_90' -'90','val_90' -'90','val_90' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'403','val_403' -'403','val_403' -'403','val_403' -'400','val_400' -'200','val_200' -'200','val_200' -'97','val_97' -'97','val_97' -1,028 rows selected ->>> ->>> ->>> EXPLAIN -SELECT /*+STREAMTABLE(a)*/ -TRANSFORM(a.key, a.value) USING 'cat' AS (tkey, tvalue) -FROM src a join src b -on a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) a) (TOK_TABREF (TOK_TABNAME src) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_STREAMTABLE (TOK_HINTARGLIST a))) (TOK_SELEXPR (TOK_TRANSFORM (TOK_EXPLIST (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL a) value)) TOK_SERDE TOK_RECORDWRITER 'cat' TOK_SERDE TOK_RECORDREADER (TOK_ALIASLIST tkey tvalue))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 ' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Transform Operator' -' command: cat' -' output info:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -73 rows selected ->>> ->>> ->>> SELECT /*+STREAMTABLE(a)*/ -TRANSFORM(a.key, a.value) USING 'cat' AS (tkey, tvalue) -FROM src a join src b -on a.key = b.key; -'tkey','tvalue' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'10','val_10' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'105','val_105' -'11','val_11' -'111','val_111' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'114','val_114' -'116','val_116' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'126','val_126' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'131','val_131' -'133','val_133' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'136','val_136' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'143','val_143' -'145','val_145' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'150','val_150' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'153','val_153' -'155','val_155' -'156','val_156' -'157','val_157' -'158','val_158' -'160','val_160' -'162','val_162' -'163','val_163' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'166','val_166' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'168','val_168' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'17','val_17' -'170','val_170' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'177','val_177' -'178','val_178' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'180','val_180' -'181','val_181' -'183','val_183' -'186','val_186' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'189','val_189' -'19','val_19' -'190','val_190' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'192','val_192' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'194','val_194' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'196','val_196' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'2','val_2' -'20','val_20' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'201','val_201' -'202','val_202' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'214','val_214' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'218','val_218' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'222','val_222' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'226','val_226' -'228','val_228' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'235','val_235' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'241','val_241' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'244','val_244' -'247','val_247' -'248','val_248' -'249','val_249' -'252','val_252' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'257','val_257' -'258','val_258' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'260','val_260' -'262','val_262' -'263','val_263' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'266','val_266' -'27','val_27' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'274','val_274' -'275','val_275' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'28','val_28' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'283','val_283' -'284','val_284' -'285','val_285' -'286','val_286' -'287','val_287' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'289','val_289' -'291','val_291' -'292','val_292' -'296','val_296' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'30','val_30' -'302','val_302' -'305','val_305' -'306','val_306' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'308','val_308' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'310','val_310' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'315','val_315' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'323','val_323' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'33','val_33' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'332','val_332' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'335','val_335' -'336','val_336' -'338','val_338' -'339','val_339' -'34','val_34' -'341','val_341' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'345','val_345' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'351','val_351' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'356','val_356' -'360','val_360' -'362','val_362' -'364','val_364' -'365','val_365' -'366','val_366' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'368','val_368' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'373','val_373' -'374','val_374' -'375','val_375' -'377','val_377' -'378','val_378' -'379','val_379' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'386','val_386' -'389','val_389' -'392','val_392' -'393','val_393' -'394','val_394' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'4','val_4' -'400','val_400' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'402','val_402' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'407','val_407' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'41','val_41' -'411','val_411' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'418','val_418' -'419','val_419' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'421','val_421' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'427','val_427' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'43','val_43' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'432','val_432' -'435','val_435' -'436','val_436' -'437','val_437' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'44','val_44' -'443','val_443' -'444','val_444' -'446','val_446' -'448','val_448' -'449','val_449' -'452','val_452' -'453','val_453' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'455','val_455' -'457','val_457' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'460','val_460' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'467','val_467' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'47','val_47' -'470','val_470' -'472','val_472' -'475','val_475' -'477','val_477' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'479','val_479' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'481','val_481' -'482','val_482' -'483','val_483' -'484','val_484' -'485','val_485' -'487','val_487' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'490','val_490' -'491','val_491' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'493','val_493' -'494','val_494' -'495','val_495' -'496','val_496' -'497','val_497' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'53','val_53' -'54','val_54' -'57','val_57' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'64','val_64' -'65','val_65' -'66','val_66' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'69','val_69' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'74','val_74' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'77','val_77' -'78','val_78' -'8','val_8' -'80','val_80' -'82','val_82' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'9','val_9' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'96','val_96' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -1,028 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/semijoin.q.out ql/src/test/results/beelinepositive/semijoin.q.out deleted file mode 100644 index 872a13f..0000000 --- ql/src/test/results/beelinepositive/semijoin.q.out +++ /dev/null @@ -1,2856 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/semijoin.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/semijoin.q ->>> ->>> ->>> ->>> ->>> ->>> create table t1 as select cast(key as int) key, value from src where key <= 10; -'key','value' -No rows selected ->>> ->>> select * from t1 sort by key; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'2','val_2' -'4','val_4' -'5','val_5' -'5','val_5' -'5','val_5' -'8','val_8' -'9','val_9' -'10','val_10' -11 rows selected ->>> ->>> create table t2 as select cast(2*key as int) key, value from t1; -'key','value' -No rows selected ->>> ->>> select * from t2 sort by key; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'4','val_2' -'8','val_4' -'10','val_5' -'10','val_5' -'10','val_5' -'16','val_8' -'18','val_9' -'20','val_10' -11 rows selected ->>> ->>> create table t3 as select * from (select * from t1 union all select * from t2) b; -'key','value' -No rows selected ->>> select * from t3 sort by key, value; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'2','val_2' -'4','val_2' -'4','val_4' -'5','val_5' -'5','val_5' -'5','val_5' -'8','val_4' -'8','val_8' -'9','val_9' -'10','val_10' -'10','val_5' -'10','val_5' -'10','val_5' -'16','val_8' -'18','val_9' -'20','val_10' -22 rows selected ->>> ->>> create table t4 (key int, value string); -No rows affected ->>> select * from t4; -'key','value' -No rows selected ->>> ->>> explain select * from t1 a left semi join t2 b on a.key=b.key sort by a.key, a.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTSEMIJOIN (TOK_TABREF (TOK_TABNAME t1) a) (TOK_TABREF (TOK_TABNAME t2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' b ' -' TableScan' -' alias: b' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' outputColumnNames: key' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: int' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Semi Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 ' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -107 rows selected ->>> select * from t1 a left semi join t2 b on a.key=b.key sort by a.key, a.value; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'4','val_4' -'8','val_8' -'10','val_10' -6 rows selected ->>> ->>> explain select * from t2 a left semi join t1 b on b.key=a.key sort by a.key, a.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTSEMIJOIN (TOK_TABREF (TOK_TABNAME t2) a) (TOK_TABREF (TOK_TABNAME t1) b) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL a) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' b ' -' TableScan' -' alias: b' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' outputColumnNames: key' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: int' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Semi Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 ' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -107 rows selected ->>> select * from t2 a left semi join t1 b on b.key=a.key sort by a.key, a.value; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'4','val_2' -'8','val_4' -'10','val_5' -'10','val_5' -'10','val_5' -8 rows selected ->>> ->>> explain select * from t1 a left semi join t4 b on b.key=a.key sort by a.key, a.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTSEMIJOIN (TOK_TABREF (TOK_TABNAME t1) a) (TOK_TABREF (TOK_TABNAME t4) b) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL a) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' b ' -' TableScan' -' alias: b' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' outputColumnNames: key' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: int' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Semi Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 ' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -107 rows selected ->>> select * from t1 a left semi join t4 b on b.key=a.key sort by a.key, a.value; -'key','value' -No rows selected ->>> ->>> explain select a.value from t1 a left semi join t3 b on (b.key = a.key and b.key < '15') sort by a.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTSEMIJOIN (TOK_TABREF (TOK_TABNAME t1) a) (TOK_TABREF (TOK_TABNAME t3) b) (and (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL a) key)) (< (. (TOK_TABLE_OR_COL b) key) '15')))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' value expressions:' -' expr: value' -' type: string' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (key < 15)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' outputColumnNames: key' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: int' -' expr: key' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col1' -' type: int' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Semi Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col1}' -' 1 ' -' handleSkewJoin: false' -' outputColumnNames: _col1' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -105 rows selected ->>> select a.value from t1 a left semi join t3 b on (b.key = a.key and b.key < '15') sort by a.value; -'value' -'val_0' -'val_0' -'val_0' -'val_10' -'val_2' -'val_4' -'val_5' -'val_5' -'val_5' -'val_8' -'val_9' -11 rows selected ->>> ->>> explain select * from t1 a left semi join t2 b on a.key = b.key and b.value < "val_10" sort by a.key, a.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTSEMIJOIN (TOK_TABREF (TOK_TABNAME t1) a) (TOK_TABREF (TOK_TABNAME t2) b) (and (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (< (. (TOK_TABLE_OR_COL b) value) "val_10")))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (value < 'val_10')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Semi Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 ' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -115 rows selected ->>> select * from t1 a left semi join t2 b on a.key = b.key and b.value < "val_10" sort by a.key, a.value; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -3 rows selected ->>> ->>> explain select a.value from t1 a left semi join (select key from t3 where key > 5) b on a.key = b.key sort by a.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTSEMIJOIN (TOK_TABREF (TOK_TABNAME t1) a) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME t3))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key))) (TOK_WHERE (> (TOK_TABLE_OR_COL key) 5)))) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' value expressions:' -' expr: value' -' type: string' -' b:t3 ' -' TableScan' -' alias: t3' -' Filter Operator' -' predicate:' -' expr: (key > 5)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' outputColumnNames: _col0' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: int' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Semi Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col1}' -' 1 ' -' handleSkewJoin: false' -' outputColumnNames: _col1' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -108 rows selected ->>> select a.value from t1 a left semi join (select key from t3 where key > 5) b on a.key = b.key sort by a.value; -'value' -'val_10' -'val_8' -'val_9' -3 rows selected ->>> ->>> explain select a.value from t1 a left semi join (select key , value from t2 where key > 5) b on a.key = b.key and b.value <= 'val_20' sort by a.value ; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTSEMIJOIN (TOK_TABREF (TOK_TABNAME t1) a) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME t2))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_WHERE (> (TOK_TABLE_OR_COL key) 5)))) b) (and (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (<= (. (TOK_TABLE_OR_COL b) value) 'val_20')))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' value expressions:' -' expr: value' -' type: string' -' b:t2 ' -' TableScan' -' alias: t2' -' Filter Operator' -' predicate:' -' expr: ((key > 5) and (value <= 'val_20'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Semi Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col1}' -' 1 ' -' handleSkewJoin: false' -' outputColumnNames: _col1' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -114 rows selected ->>> select a.value from t1 a left semi join (select key , value from t2 where key > 5) b on a.key = b.key and b.value <= 'val_20' sort by a.value ; -'value' -No rows selected ->>> ->>> explain select * from t2 a left semi join (select key , value from t1 where key > 2) b on a.key = b.key sort by a.key, a.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTSEMIJOIN (TOK_TABREF (TOK_TABNAME t2) a) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME t1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_WHERE (> (TOK_TABLE_OR_COL key) 2)))) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' b:t1 ' -' TableScan' -' alias: t1' -' Filter Operator' -' predicate:' -' expr: (key > 2)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' outputColumnNames: _col0' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: int' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Semi Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 ' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -116 rows selected ->>> select * from t2 a left semi join (select key , value from t1 where key > 2) b on a.key = b.key sort by a.key, a.value; -'key','value' -'4','val_2' -'8','val_4' -'10','val_5' -'10','val_5' -'10','val_5' -5 rows selected ->>> ->>> explain select /*+ mapjoin(b) */ a.key from t3 a left semi join t1 b on a.key = b.key sort by a.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTSEMIJOIN (TOK_TABREF (TOK_TABNAME t3) a) (TOK_TABREF (TOK_TABNAME t1) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-4 is a root stage' -' Stage-1 depends on stages: Stage-4' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-4' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' b ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' outputColumnNames: key' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: int' -' mode: hash' -' outputColumnNames: _col0' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[_col0]]' -' Position of Big Table: 0' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Map Join Operator' -' condition map:' -' Left Semi Join 0 to 1' -' condition expressions:' -' 0 {key}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[_col0]]' -' outputColumnNames: _col0' -' Position of Big Table: 0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -106 rows selected ->>> select /*+ mapjoin(b) */ a.key from t3 a left semi join t1 b on a.key = b.key sort by a.key; -'key' -'0' -'0' -'0' -'0' -'0' -'0' -'2' -'4' -'4' -'5' -'5' -'5' -'8' -'8' -'9' -'10' -'10' -'10' -'10' -19 rows selected ->>> ->>> explain select * from t1 a left semi join t2 b on a.key = 2*b.key sort by a.key, a.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTSEMIJOIN (TOK_TABREF (TOK_TABNAME t1) a) (TOK_TABREF (TOK_TABNAME t2) b) (= (. (TOK_TABLE_OR_COL a) key) (* 2 (. (TOK_TABLE_OR_COL b) key))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' b ' -' TableScan' -' alias: b' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' outputColumnNames: key' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: int' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: (2 * _col0)' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: (2 * _col0)' -' type: int' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Semi Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 ' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -107 rows selected ->>> select * from t1 a left semi join t2 b on a.key = 2*b.key sort by a.key, a.value; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'8','val_8' -4 rows selected ->>> ->>> explain select * from t1 a join t2 b on a.key = b.key left semi join t3 c on b.key = c.key sort by a.key, a.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTSEMIJOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME t1) a) (TOK_TABREF (TOK_TABNAME t2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME t3) c) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 1' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' c ' -' TableScan' -' alias: c' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' outputColumnNames: key' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: int' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: 2' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Left Semi Join 1 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 ' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: int' -' expr: _col3' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -134 rows selected ->>> select * from t1 a join t2 b on a.key = b.key left semi join t3 c on b.key = c.key sort by a.key, a.value; -'key','value','key','value' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'4','val_4','4','val_2' -'8','val_8','8','val_4' -'10','val_10','10','val_5' -'10','val_10','10','val_5' -'10','val_10','10','val_5' -14 rows selected ->>> ->>> explain select * from t3 a left semi join t1 b on a.key = b.key and a.value=b.value sort by a.key, a.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTSEMIJOIN (TOK_TABREF (TOK_TABNAME t3) a) (TOK_TABREF (TOK_TABNAME t1) b) (and (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL a) value) (. (TOK_TABLE_OR_COL b) value))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' b ' -' TableScan' -' alias: b' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Semi Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 ' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -119 rows selected ->>> select * from t3 a left semi join t1 b on a.key = b.key and a.value=b.value sort by a.key, a.value; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'2','val_2' -'4','val_4' -'5','val_5' -'5','val_5' -'5','val_5' -'8','val_8' -'9','val_9' -'10','val_10' -14 rows selected ->>> ->>> explain select /*+ mapjoin(b, c) */ a.key from t3 a left semi join t1 b on a.key = b.key left semi join t2 c on a.key = c.key sort by a.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTSEMIJOIN (TOK_LEFTSEMIJOIN (TOK_TABREF (TOK_TABNAME t3) a) (TOK_TABREF (TOK_TABNAME t1) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME t2) c) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b c))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-5 is a root stage' -' Stage-1 depends on stages: Stage-5' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-5' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' b ' -' Fetch Operator' -' limit: -1' -' c ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' outputColumnNames: key' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: int' -' mode: hash' -' outputColumnNames: _col0' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key}' -' 1 ' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' Position of Big Table: 0' -' c ' -' TableScan' -' alias: c' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' outputColumnNames: key' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: int' -' mode: hash' -' outputColumnNames: _col0' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key}' -' 1 ' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' Position of Big Table: 0' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Map Join Operator' -' condition map:' -' Left Semi Join 0 to 1' -' Left Semi Join 0 to 2' -' condition expressions:' -' 0 {key}' -' 1 ' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[_col0]]' -' 2 [Column[_col0]]' -' outputColumnNames: _col0' -' Position of Big Table: 0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -140 rows selected ->>> select /*+ mapjoin(b, c) */ a.key from t3 a left semi join t1 b on a.key = b.key left semi join t2 c on a.key = c.key sort by a.key; -'key' -'0' -'0' -'0' -'0' -'0' -'0' -'4' -'4' -'8' -'8' -'10' -'10' -'10' -'10' -14 rows selected ->>> ->>> explain select a.key from t3 a left outer join t1 b on a.key = b.key left semi join t2 c on b.key = c.key sort by a.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTSEMIJOIN (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME t3) a) (TOK_TABREF (TOK_TABNAME t1) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME t2) c) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' value expressions:' -' expr: key' -' type: int' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 1' -' c ' -' TableScan' -' alias: c' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' outputColumnNames: key' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: int' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: 2' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' Left Semi Join 1 to 2' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 ' -' 2 ' -' handleSkewJoin: false' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -113 rows selected ->>> select a.key from t3 a left outer join t1 b on a.key = b.key left semi join t2 c on b.key = c.key sort by a.key; -'key' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'4' -'4' -'8' -'8' -'10' -'10' -'10' -'10' -26 rows selected ->>> ->>> explain select a.key from t1 a right outer join t3 b on a.key = b.key left semi join t2 c on b.key = c.key sort by a.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTSEMIJOIN (TOK_RIGHTOUTERJOIN (TOK_TABREF (TOK_TABNAME t1) a) (TOK_TABREF (TOK_TABNAME t3) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME t2) c) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' value expressions:' -' expr: key' -' type: int' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 1' -' c ' -' TableScan' -' alias: c' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' outputColumnNames: key' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: int' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: 2' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' Left Semi Join 1 to 2' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 ' -' 2 ' -' handleSkewJoin: false' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -113 rows selected ->>> select a.key from t1 a right outer join t3 b on a.key = b.key left semi join t2 c on b.key = c.key sort by a.key; -'key' -'' -'' -'' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'4' -'4' -'8' -'8' -'10' -'10' -'10' -'10' -29 rows selected ->>> ->>> explain select a.key from t1 a full outer join t3 b on a.key = b.key left semi join t2 c on b.key = c.key sort by a.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTSEMIJOIN (TOK_FULLOUTERJOIN (TOK_TABREF (TOK_TABNAME t1) a) (TOK_TABREF (TOK_TABNAME t3) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME t2) c) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' value expressions:' -' expr: key' -' type: int' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 1' -' c ' -' TableScan' -' alias: c' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' outputColumnNames: key' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: int' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: 2' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Outer Join 0 to 1' -' Left Semi Join 1 to 2' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 ' -' 2 ' -' handleSkewJoin: false' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -113 rows selected ->>> select a.key from t1 a full outer join t3 b on a.key = b.key left semi join t2 c on b.key = c.key sort by a.key; -'key' -'' -'' -'' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'4' -'4' -'8' -'8' -'10' -'10' -'10' -'10' -29 rows selected ->>> ->>> explain select a.key from t3 a left semi join t2 b on a.key = b.key left outer join t1 c on a.key = c.key sort by a.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_LEFTSEMIJOIN (TOK_TABREF (TOK_TABNAME t3) a) (TOK_TABREF (TOK_TABNAME t2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME t1) c) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' value expressions:' -' expr: key' -' type: int' -' b ' -' TableScan' -' alias: b' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' outputColumnNames: key' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: int' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: 1' -' c ' -' TableScan' -' alias: c' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 2' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Semi Join 0 to 1' -' Left Outer Join0 to 2' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 ' -' 2 ' -' handleSkewJoin: false' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -113 rows selected ->>> select a.key from t3 a left semi join t2 b on a.key = b.key left outer join t1 c on a.key = c.key sort by a.key; -'key' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'4' -'4' -'8' -'8' -'10' -'10' -'10' -'10' -'16' -'18' -'20' -29 rows selected ->>> ->>> explain select a.key from t3 a left semi join t2 b on a.key = b.key right outer join t1 c on a.key = c.key sort by a.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_LEFTSEMIJOIN (TOK_TABREF (TOK_TABNAME t3) a) (TOK_TABREF (TOK_TABNAME t2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME t1) c) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' value expressions:' -' expr: key' -' type: int' -' b ' -' TableScan' -' alias: b' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' outputColumnNames: key' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: int' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: 1' -' c ' -' TableScan' -' alias: c' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 2' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Semi Join 0 to 1' -' Right Outer Join0 to 2' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 ' -' 2 ' -' handleSkewJoin: false' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -113 rows selected ->>> select a.key from t3 a left semi join t2 b on a.key = b.key right outer join t1 c on a.key = c.key sort by a.key; -'key' -'' -'' -'' -'' -'' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'4' -'4' -'8' -'8' -'10' -'10' -'10' -'10' -31 rows selected ->>> ->>> explain select a.key from t3 a left semi join t1 b on a.key = b.key full outer join t2 c on a.key = c.key sort by a.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_FULLOUTERJOIN (TOK_LEFTSEMIJOIN (TOK_TABREF (TOK_TABNAME t3) a) (TOK_TABREF (TOK_TABNAME t1) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME t2) c) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' value expressions:' -' expr: key' -' type: int' -' b ' -' TableScan' -' alias: b' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' outputColumnNames: key' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: int' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: 1' -' c ' -' TableScan' -' alias: c' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 2' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Semi Join 0 to 1' -' Outer Join 0 to 2' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 ' -' 2 ' -' handleSkewJoin: false' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -113 rows selected ->>> select a.key from t3 a left semi join t1 b on a.key = b.key full outer join t2 c on a.key = c.key sort by a.key; -'key' -'' -'' -'' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'2' -'4' -'4' -'5' -'5' -'5' -'8' -'8' -'9' -'10' -'10' -'10' -'10' -'10' -'10' -'10' -'10' -'10' -'10' -'10' -'10' -42 rows selected ->>> ->>> explain select a.key from t3 a left semi join t2 b on a.key = b.key left outer join t1 c on a.value = c.value sort by a.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_LEFTSEMIJOIN (TOK_TABREF (TOK_TABNAME t3) a) (TOK_TABREF (TOK_TABNAME t2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME t1) c) (= (. (TOK_TABLE_OR_COL a) value) (. (TOK_TABLE_OR_COL c) value)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-3 depends on stages: Stage-2' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' b ' -' TableScan' -' alias: b' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' outputColumnNames: key' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: key' -' type: int' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Semi Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 ' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col1' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: int' -' c ' -' TableScan' -' alias: c' -' Reduce Output Operator' -' key expressions:' -' expr: value' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: value' -' type: string' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 ' -' handleSkewJoin: false' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -146 rows selected ->>> select a.key from t3 a left semi join t2 b on a.key = b.key left outer join t1 c on a.value = c.value sort by a.key; -'key' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'4' -'4' -'8' -'8' -'10' -'10' -'10' -'10' -'10' -'10' -'10' -'10' -'10' -'10' -'16' -'18' -'20' -35 rows selected ->>> ->>> ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/serde_regex.q.out ql/src/test/results/beelinepositive/serde_regex.q.out deleted file mode 100644 index 32fbbdd..0000000 --- ql/src/test/results/beelinepositive/serde_regex.q.out +++ /dev/null @@ -1,80 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/serde_regex.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/serde_regex.q ->>> EXPLAIN -CREATE TABLE serde_regex( -host STRING, -identity STRING, -user STRING, -time STRING, -request STRING, -status STRING, -size STRING, -referer STRING, -agent STRING) -ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.RegexSerDe' -WITH SERDEPROPERTIES ( -"input.regex" = "([^ ]*) ([^ ]*) ([^ ]*) (-|\\[[^\\]]*\\]) ([^ \"]*|\"[^\"]*\") (-|[0-9]*) (-|[0-9]*)(?: ([^ \"]*|\"[^\"]*\") ([^ \"]*|\"[^\"]*\"))?" -) -STORED AS TEXTFILE; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_CREATETABLE (TOK_TABNAME serde_regex) TOK_LIKETABLE (TOK_TABCOLLIST (TOK_TABCOL host TOK_STRING) (TOK_TABCOL identity TOK_STRING) (TOK_TABCOL user TOK_STRING) (TOK_TABCOL time TOK_STRING) (TOK_TABCOL request TOK_STRING) (TOK_TABCOL status TOK_STRING) (TOK_TABCOL size TOK_STRING) (TOK_TABCOL referer TOK_STRING) (TOK_TABCOL agent TOK_STRING)) (TOK_TABLESERIALIZER (TOK_SERDENAME 'org.apache.hadoop.hive.serde2.RegexSerDe' (TOK_TABLEPROPERTIES (TOK_TABLEPROPLIST (TOK_TABLEPROPERTY "input.regex" "([^ ]*) ([^ ]*) ([^ ]*) (-|\\[[^\\]]*\\]) ([^ \"]*|\"[^\"]*\") (-|[0-9]*) (-|[0-9]*)(?: ([^ \"]*|\"[^\"]*\") ([^ \"]*|\"[^\"]*\"))?"))))) TOK_TBLTEXTFILE)' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Create Table Operator:' -' Create Table' -' columns: host string, identity string, user string, time string, request string, status string, size string, referer string, agent string' -' if not exists: false' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' # buckets: -1' -' output format: org.apache.hadoop.hive.ql.io.IgnoreKeyTextOutputFormat' -' serde name: org.apache.hadoop.hive.serde2.RegexSerDe' -' serde properties:' -' input.regex ([^ ]*) ([^ ]*) ([^ ]*) (-|\[[^\]]*\]) ([^ "]*|"[^"]*") (-|[0-9]*) (-|[0-9]*)(?: ([^ "]*|"[^"]*") ([^ "]*|"[^"]*"))?' -' name: serde_regex' -' isExternal: false' -'' -'' -22 rows selected ->>> ->>> CREATE TABLE serde_regex( -host STRING, -identity STRING, -user STRING, -time STRING, -request STRING, -status STRING, -size STRING, -referer STRING, -agent STRING) -ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.RegexSerDe' -WITH SERDEPROPERTIES ( -"input.regex" = "([^ ]*) ([^ ]*) ([^ ]*) (-|\\[[^\\]]*\\]) ([^ \"]*|\"[^\"]*\") (-|[0-9]*) (-|[0-9]*)(?: ([^ \"]*|\"[^\"]*\") ([^ \"]*|\"[^\"]*\"))?" -) -STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH "../data/files/apache.access.log" INTO TABLE serde_regex; -No rows affected ->>> LOAD DATA LOCAL INPATH "../data/files/apache.access.2.log" INTO TABLE serde_regex; -No rows affected ->>> ->>> SELECT * FROM serde_regex ORDER BY time; -'host','identity','user','time','request','status','size','referer','agent' -'127.0.0.1','-','frank','[10/Oct/2000:13:55:36 -0700]','"GET /apache_pb.gif HTTP/1.0"','200','2326','','' -'127.0.0.1','-','-','[26/May/2009:00:00:00 +0000]','"GET /someurl/?track=Blabla(Main) HTTP/1.1"','200','5864','-','"Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/1.0.154.65 Safari/525.19"' -2 rows selected ->>> ->>> SELECT host, size, status, time from serde_regex ORDER BY time; -'host','size','status','time' -'127.0.0.1','2326','200','[10/Oct/2000:13:55:36 -0700]' -'127.0.0.1','5864','200','[26/May/2009:00:00:00 +0000]' -2 rows selected ->>> ->>> DROP TABLE serde_regex; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/serde_reported_schema.q.out ql/src/test/results/beelinepositive/serde_reported_schema.q.out deleted file mode 100644 index c79f697..0000000 --- ql/src/test/results/beelinepositive/serde_reported_schema.q.out +++ /dev/null @@ -1,26 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/serde_reported_schema.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/serde_reported_schema.q ->>> create table int_string -partitioned by (b string) -row format serde "org.apache.hadoop.hive.serde2.thrift.ThriftDeserializer" -with serdeproperties ( -"serialization.class"="org.apache.hadoop.hive.serde2.thrift.test.IntString", -"serialization.format"="org.apache.thrift.protocol.TBinaryProtocol"); -No rows affected ->>> describe int_string; -'col_name','data_type','comment' -'myint','int','from deserializer' -'mystring','string','from deserializer' -'underscore_int','int','from deserializer' -'b','string','' -4 rows selected ->>> alter table int_string add partition (b='part1'); -No rows affected ->>> describe int_string partition (b='part1'); -'col_name','data_type','comment' -'myint','int','from deserializer' -'mystring','string','from deserializer' -'underscore_int','int','from deserializer' -'b','string','' -4 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/set_variable_sub.q.out ql/src/test/results/beelinepositive/set_variable_sub.q.out deleted file mode 100644 index e42a040..0000000 --- ql/src/test/results/beelinepositive/set_variable_sub.q.out +++ /dev/null @@ -1,143 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/set_variable_sub.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/set_variable_sub.q ->>> set hivevar:key1=value1; -No rows affected ->>> ->>> EXPLAIN SELECT * FROM src where key="${key1}"; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (= (TOK_TABLE_OR_COL key) "value1"))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key = 'value1')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -37 rows selected ->>> EXPLAIN SELECT * FROM src where key="${hivevar:key1}"; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (= (TOK_TABLE_OR_COL key) "value1"))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key = 'value1')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -37 rows selected ->>> ->>> set hivevar:a=1; -No rows affected ->>> set hivevar:b=a; -No rows affected ->>> set hivevar:c=${hivevar:${hivevar:b}}; -No rows affected ->>> EXPLAIN SELECT * FROM src where key="${hivevar:c}"; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (= (TOK_TABLE_OR_COL key) "1"))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key = '1')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -37 rows selected ->>> ->>> set hivevar:a; -No rows affected ->>> set hivevar:b; -No rows affected ->>> set hivevar:c; -No rows affected ->>> set hivevar:key1; -No rows affected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/show_columns.q.out ql/src/test/results/beelinepositive/show_columns.q.out deleted file mode 100644 index ba12185..0000000 --- ql/src/test/results/beelinepositive/show_columns.q.out +++ /dev/null @@ -1,77 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/show_columns.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/show_columns.q ->>> CREATE TABLE shcol_test(KEY STRING, VALUE STRING) PARTITIONED BY(ds STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -SHOW COLUMNS from shcol_test; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_SHOWCOLUMNS (TOK_TABNAME shcol_test))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -' Stage-1 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Show Columns Operator:' -' table name: shcol_test' -'' -' Stage: Stage-1' -' Fetch Operator' -' limit: -1' -'' -'' -17 rows selected ->>> ->>> SHOW COLUMNS from shcol_test; -'field' -'key' -'value' -'ds' -3 rows selected ->>> ->>> -- SHOW COLUMNS ->>> CREATE DATABASE test_db; -No rows affected ->>> USE test_db; -No rows affected ->>> CREATE TABLE foo(a INT); -No rows affected ->>> ->>> -- SHOW COLUMNS basic syntax tests ->>> USE test_db; -No rows affected ->>> SHOW COLUMNS from foo; -'field' -'a' -1 row selected ->>> SHOW COLUMNS in foo; -'field' -'a' -1 row selected ->>> ->>> -- SHOW COLUMNS from a database with a name that requires escaping ->>> CREATE DATABASE `database`; -No rows affected ->>> USE `database`; -No rows affected ->>> CREATE TABLE foo(a INT); -No rows affected ->>> SHOW COLUMNS from foo; -'field' -'a' -1 row selected ->>> ->>> use default; -No rows affected ->>> SHOW COLUMNS from test_db.foo; -'field' -'a' -1 row selected ->>> SHOW COLUMNS from foo from test_db; -'field' -'a' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/show_describe_func_quotes.q.out ql/src/test/results/beelinepositive/show_describe_func_quotes.q.out deleted file mode 100644 index ed9bba0..0000000 --- ql/src/test/results/beelinepositive/show_describe_func_quotes.q.out +++ /dev/null @@ -1,22 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/show_describe_func_quotes.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/show_describe_func_quotes.q ->>> SHOW FUNCTIONS 'concat'; -'tab_name' -'concat' -1 row selected ->>> ->>> SHOW FUNCTIONS concat; -'tab_name' -'concat' -1 row selected ->>> ->>> DESCRIBE FUNCTION 'concat'; -'tab_name' -'concat(str1, str2, ... strN) - returns the concatenation of str1, str2, ... strN or concat(bin1, bin2, ... binN) - returns the concatenation of bytes in binary data bin1, bin2, ... binN' -1 row selected ->>> ->>> DESCRIBE FUNCTION concat; -'tab_name' -'concat(str1, str2, ... strN) - returns the concatenation of str1, str2, ... strN or concat(bin1, bin2, ... binN) - returns the concatenation of bytes in binary data bin1, bin2, ... binN' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/show_functions.q.out ql/src/test/results/beelinepositive/show_functions.q.out deleted file mode 100644 index 8e06bf0..0000000 --- ql/src/test/results/beelinepositive/show_functions.q.out +++ /dev/null @@ -1,253 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/show_functions.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/show_functions.q ->>> SHOW FUNCTIONS; -'tab_name' -'!' -'!=' -'%' -'&' -'*' -'+' -'-' -'/' -'<' -'<=' -'<=>' -'<>' -'=' -'==' -'>' -'>=' -'^' -'abs' -'acos' -'and' -'array' -'array_contains' -'ascii' -'asin' -'assert_true' -'atan' -'avg' -'between' -'bin' -'case' -'ceil' -'ceiling' -'coalesce' -'collect_set' -'concat' -'concat_ws' -'context_ngrams' -'conv' -'corr' -'cos' -'count' -'covar_pop' -'covar_samp' -'create_union' -'date_add' -'date_sub' -'datediff' -'day' -'dayofmonth' -'degrees' -'div' -'e' -'elt' -'ewah_bitmap' -'ewah_bitmap_and' -'ewah_bitmap_empty' -'ewah_bitmap_or' -'exp' -'explode' -'field' -'find_in_set' -'floor' -'format_number' -'from_unixtime' -'from_utc_timestamp' -'get_json_object' -'hash' -'hex' -'histogram_numeric' -'hour' -'if' -'in' -'in_file' -'index' -'inline' -'instr' -'isnotnull' -'isnull' -'java_method' -'json_tuple' -'lcase' -'length' -'like' -'ln' -'locate' -'log' -'log10' -'log2' -'lower' -'lpad' -'ltrim' -'map' -'map_keys' -'map_values' -'mask' -'mask_first_n' -'mask_hash' -'mask_last_n' -'mask_show_first_n' -'mask_show_last_n' -'max' -'min' -'minute' -'month' -'named_struct' -'negative' -'ngrams' -'not' -'or' -'parse_url' -'parse_url_tuple' -'percentile' -'percentile_approx' -'pi' -'pmod' -'positive' -'pow' -'power' -'printf' -'radians' -'rand' -'reflect' -'regexp' -'regexp_extract' -'regexp_replace' -'repeat' -'reverse' -'rlike' -'round' -'rpad' -'rtrim' -'second' -'sentences' -'sign' -'sin' -'size' -'sort_array' -'sort_array_by' -'space' -'split' -'sqrt' -'stack' -'std' -'stddev' -'stddev_pop' -'stddev_samp' -'str_to_map' -'struct' -'substr' -'substring' -'sum' -'tan' -'to_date' -'to_utc_timestamp' -'translate' -'trim' -'ucase' -'unhex' -'union_map' -'unix_timestamp' -'upper' -'var_pop' -'var_samp' -'variance' -'weekofyear' -'when' -'xpath' -'xpath_boolean' -'xpath_double' -'xpath_float' -'xpath_int' -'xpath_long' -'xpath_number' -'xpath_short' -'xpath_string' -'year' -'|' -'~' -171 rows selected ->>> ->>> SHOW FUNCTIONS '^c.*'; -'tab_name' -'case' -'ceil' -'ceiling' -'coalesce' -'collect_set' -'concat' -'concat_ws' -'context_ngrams' -'conv' -'corr' -'cos' -'count' -'covar_pop' -'covar_samp' -'create_union' -15 rows selected ->>> ->>> SHOW FUNCTIONS '.*e$'; -'tab_name' -'assert_true' -'case' -'coalesce' -'e' -'explode' -'from_unixtime' -'in_file' -'inline' -'json_tuple' -'lcase' -'like' -'locate' -'minute' -'negative' -'parse_url_tuple' -'percentile' -'positive' -'regexp_replace' -'reverse' -'rlike' -'size' -'space' -'to_date' -'translate' -'ucase' -'variance' -'xpath_double' -27 rows selected ->>> ->>> SHOW FUNCTIONS 'log.*'; -'tab_name' -'log' -'log10' -'log2' -3 rows selected ->>> ->>> SHOW FUNCTIONS '.*date.*'; -'tab_name' -'date_add' -'date_sub' -'datediff' -'to_date' -4 rows selected ->>> ->>> SHOW FUNCTIONS '***'; -'tab_name' -No rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/show_indexes_edge_cases.q.out ql/src/test/results/beelinepositive/show_indexes_edge_cases.q.out deleted file mode 100644 index 3f6ae79..0000000 --- ql/src/test/results/beelinepositive/show_indexes_edge_cases.q.out +++ /dev/null @@ -1,92 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/show_indexes_edge_cases.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/show_indexes_edge_cases.q ->>> DROP TABLE show_idx_empty; -No rows affected ->>> DROP TABLE show_idx_full; -No rows affected ->>> ->>> CREATE TABLE show_idx_empty(KEY STRING, VALUE STRING); -No rows affected ->>> CREATE TABLE show_idx_full(KEY STRING, VALUE1 STRING, VALUE2 STRING); -No rows affected ->>> ->>> CREATE INDEX idx_1 ON TABLE show_idx_full(KEY) AS "COMPACT" WITH DEFERRED REBUILD; -No rows affected ->>> CREATE INDEX idx_2 ON TABLE show_idx_full(VALUE1) AS "COMPACT" WITH DEFERRED REBUILD; -No rows affected ->>> ->>> CREATE INDEX idx_comment ON TABLE show_idx_full(VALUE2) AS "COMPACT" WITH DEFERRED REBUILD COMMENT "index comment"; -No rows affected ->>> CREATE INDEX idx_compound ON TABLE show_idx_full(KEY, VALUE1) AS "COMPACT" WITH DEFERRED REBUILD; -No rows affected ->>> ->>> ALTER INDEX idx_1 ON show_idx_full REBUILD; -No rows affected ->>> ALTER INDEX idx_2 ON show_idx_full REBUILD; -No rows affected ->>> ALTER INDEX idx_comment ON show_idx_full REBUILD; -No rows affected ->>> ALTER INDEX idx_compound ON show_idx_full REBUILD; -No rows affected ->>> ->>> EXPLAIN SHOW INDEXES ON show_idx_full; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_SHOWINDEXES show_idx_full)' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -' Stage-1 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Show Index Operator:' -' Show Indexes' -'' -' Stage: Stage-1' -' Fetch Operator' -' limit: -1' -'' -'' -17 rows selected ->>> SHOW INDEXES ON show_idx_full; -'idx_name','tab_name','col_names','idx_tab_name','idx_type','comment' -'idx_1 ','show_idx_full ','key ','show_indexes_edge_cases__show_idx_full_idx_1__','compact ','' -'idx_2 ','show_idx_full ','value1 ','show_indexes_edge_cases__show_idx_full_idx_2__','compact ','' -'idx_comment ','show_idx_full ','value2 ','show_indexes_edge_cases__show_idx_full_idx_comment__','compact ','index comment ' -'idx_compound ','show_idx_full ','key, value1 ','show_indexes_edge_cases__show_idx_full_idx_compound__','compact ','' -4 rows selected ->>> ->>> EXPLAIN SHOW INDEXES ON show_idx_empty; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_SHOWINDEXES show_idx_empty)' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -' Stage-1 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Show Index Operator:' -' Show Indexes' -'' -' Stage: Stage-1' -' Fetch Operator' -' limit: -1' -'' -'' -17 rows selected ->>> SHOW INDEXES ON show_idx_empty; -'idx_name','tab_name','col_names','idx_tab_name','idx_type','comment' -No rows selected ->>> ->>> DROP INDEX idx_1 on show_idx_full; -No rows affected ->>> DROP INDEX idx_2 on show_idx_full; -No rows affected ->>> DROP TABLE show_idx_empty; -No rows affected ->>> DROP TABLE show_idx_full; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/show_indexes_syntax.q.out ql/src/test/results/beelinepositive/show_indexes_syntax.q.out deleted file mode 100644 index 19581a0..0000000 --- ql/src/test/results/beelinepositive/show_indexes_syntax.q.out +++ /dev/null @@ -1,100 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/show_indexes_syntax.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/show_indexes_syntax.q ->>> DROP TABLE show_idx_t1; -No rows affected ->>> ->>> CREATE TABLE show_idx_t1(KEY STRING, VALUE STRING); -No rows affected ->>> ->>> CREATE INDEX idx_t1 ON TABLE show_idx_t1(KEY) AS "COMPACT" WITH DEFERRED REBUILD; -No rows affected ->>> ALTER INDEX idx_t1 ON show_idx_t1 REBUILD; -No rows affected ->>> ->>> EXPLAIN -SHOW INDEX ON show_idx_t1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_SHOWINDEXES show_idx_t1)' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -' Stage-1 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Show Index Operator:' -' Show Indexes' -'' -' Stage: Stage-1' -' Fetch Operator' -' limit: -1' -'' -'' -17 rows selected ->>> ->>> SHOW INDEX ON show_idx_t1; -'idx_name','tab_name','col_names','idx_tab_name','idx_type','comment' -'idx_t1 ','show_idx_t1 ','key ','show_indexes_syntax__show_idx_t1_idx_t1__','compact ','' -1 row selected ->>> ->>> EXPLAIN -SHOW INDEXES ON show_idx_t1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_SHOWINDEXES show_idx_t1)' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -' Stage-1 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Show Index Operator:' -' Show Indexes' -'' -' Stage: Stage-1' -' Fetch Operator' -' limit: -1' -'' -'' -17 rows selected ->>> ->>> SHOW INDEXES ON show_idx_t1; -'idx_name','tab_name','col_names','idx_tab_name','idx_type','comment' -'idx_t1 ','show_idx_t1 ','key ','show_indexes_syntax__show_idx_t1_idx_t1__','compact ','' -1 row selected ->>> ->>> EXPLAIN -SHOW FORMATTED INDEXES ON show_idx_t1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_SHOWINDEXES show_idx_t1 FORMATTED)' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -' Stage-1 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Show Index Operator:' -' Show Indexes' -'' -' Stage: Stage-1' -' Fetch Operator' -' limit: -1' -'' -'' -17 rows selected ->>> ->>> SHOW FORMATTED INDEXES ON show_idx_t1; -'idx_name','tab_name','col_names','idx_tab_name','idx_type','comment' -'idx_name ','tab_name ','col_names ','idx_tab_name ','idx_type ','comment ' -'','','','','','' -'','','','','','' -'idx_t1 ','show_idx_t1 ','key ','show_indexes_syntax__show_idx_t1_idx_t1__','compact ','' -4 rows selected ->>> ->>> DROP TABLE show_idx_t1; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/show_partitions.q.out ql/src/test/results/beelinepositive/show_partitions.q.out deleted file mode 100644 index f2047f4..0000000 --- ql/src/test/results/beelinepositive/show_partitions.q.out +++ /dev/null @@ -1,24 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/show_partitions.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/show_partitions.q ->>> SHOW PARTITIONS srcpart; -'partition' -'ds=2008-04-08/hr=11' -'ds=2008-04-08/hr=12' -'ds=2008-04-09/hr=11' -'ds=2008-04-09/hr=12' -4 rows selected ->>> SHOW PARTITIONS srcpart PARTITION(hr='11'); -'partition' -'ds=2008-04-08/hr=11' -'ds=2008-04-09/hr=11' -2 rows selected ->>> SHOW PARTITIONS srcpart PARTITION(ds='2008-04-08'); -'partition' -'ds=2008-04-08/hr=11' -'ds=2008-04-08/hr=12' -2 rows selected ->>> SHOW PARTITIONS srcpart PARTITION(ds='2008-04-08', hr='12'); -'partition' -'ds=2008-04-08/hr=12' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/show_tablestatus.q.out ql/src/test/results/beelinepositive/show_tablestatus.q.out deleted file mode 100644 index 8f3c827..0000000 --- ql/src/test/results/beelinepositive/show_tablestatus.q.out +++ /dev/null @@ -1,88 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/show_tablestatus.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/show_tablestatus.q ->>> EXPLAIN -SHOW TABLE EXTENDED IN default LIKE `src`; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_SHOW_TABLESTATUS `src` default)' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -' Stage-1 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -'' -' Stage: Stage-1' -' Fetch Operator' -' limit: -1' -'' -'' -15 rows selected ->>> ->>> SHOW TABLE EXTENDED IN default LIKE `src`; -'tab_name' -No rows selected ->>> ->>> SHOW TABLE EXTENDED from default LIKE `src`; -'tab_name' -No rows selected ->>> ->>> SHOW TABLE EXTENDED LIKE `src`; -'tab_name' -'tableName:src' -'owner:!!{user.name}!!' -'location:!!{hive.metastore.warehouse.dir}!!/show_tablestatus.db/src' -'inputformat:org.apache.hadoop.mapred.TextInputFormat' -'outputformat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'columns:struct columns { string key, string value}' -'partitioned:false' -'partitionColumns:' -'totalNumberFiles:1' -'totalFileSize:5812' -'maxFileSize:5812' -'minFileSize:5812' -'lastAccessTime:0' -'lastUpdateTime:!!UNIXTIMEMILLIS!!' -'' -15 rows selected ->>> ->>> SHOW TABLE EXTENDED LIKE `src.?`; -'tab_name' -No rows selected ->>> ->>> SHOW TABLE EXTENDED from default LIKE `src.?`; -'tab_name' -No rows selected ->>> ->>> SHOW TABLE EXTENDED LIKE `^s.*`; -'tab_name' -No rows selected ->>> ->>> SHOW TABLE EXTENDED from default LIKE `^s.*`; -'tab_name' -No rows selected ->>> ->>> SHOW TABLE EXTENDED LIKE `srcpart` PARTITION(ds='2008-04-08', hr=11); -'tab_name' -'tableName:srcpart' -'owner:!!{user.name}!!' -'location:!!{hive.metastore.warehouse.dir}!!/show_tablestatus.db/srcpart/ds=2008-04-08/hr=11' -'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:1' -'totalFileSize:5812' -'maxFileSize:5812' -'minFileSize:5812' -'lastAccessTime:0' -'lastUpdateTime:!!UNIXTIMEMILLIS!!' -'' -15 rows selected ->>> ->>> SHOW TABLE EXTENDED from default LIKE src; -'tab_name' -No rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/show_tblproperties.q.out ql/src/test/results/beelinepositive/show_tblproperties.q.out deleted file mode 100644 index cb25a05..0000000 --- ql/src/test/results/beelinepositive/show_tblproperties.q.out +++ /dev/null @@ -1,32 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/show_tblproperties.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/show_tblproperties.q ->>> ->>> create table tmpfoo (a String); -No rows affected ->>> show tblproperties tmpfoo("bar"); -'prpt_name','prpt_value' -'Table tmpfoo does not have property: bar','' -1 row selected ->>> ->>> alter table tmpfoo set tblproperties ("bar" = "bar value"); -No rows affected ->>> alter table tmpfoo set tblproperties ("tmp" = "true"); -No rows affected ->>> ->>> show tblproperties tmpfoo; -'prpt_name','prpt_value' -'','' -'last_modified_by','!!{user.name}!!' -'last_modified_time','!!UNIXTIME!!' -'tmp','true' -'transient_lastDdlTime','!!UNIXTIME!!' -'bar','bar value' -6 rows selected ->>> show tblproperties tmpfoo("bar"); -'prpt_name','prpt_value' -'bar value','' -1 row selected ->>> ->>> drop table tmpfoo; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/showparts.q.out ql/src/test/results/beelinepositive/showparts.q.out deleted file mode 100644 index 3b67b14..0000000 --- ql/src/test/results/beelinepositive/showparts.q.out +++ /dev/null @@ -1,33 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/showparts.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/showparts.q ->>> EXPLAIN -SHOW PARTITIONS srcpart; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_SHOWPARTITIONS srcpart)' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -' Stage-1 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Show Partitions Operator:' -' Show Partitions' -' table: srcpart' -'' -' Stage: Stage-1' -' Fetch Operator' -' limit: -1' -'' -'' -18 rows selected ->>> ->>> SHOW PARTITIONS srcpart; -'partition' -'ds=2008-04-08/hr=11' -'ds=2008-04-08/hr=12' -'ds=2008-04-09/hr=11' -'ds=2008-04-09/hr=12' -4 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/skewjoin.q.out ql/src/test/results/beelinepositive/skewjoin.q.out deleted file mode 100644 index f3b05e0..0000000 --- ql/src/test/results/beelinepositive/skewjoin.q.out +++ /dev/null @@ -1,1556 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/skewjoin.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/skewjoin.q ->>> set hive.optimize.skewjoin = true; -No rows affected ->>> set hive.skewjoin.key = 2; -No rows affected ->>> ->>> ->>> ->>> ->>> ->>> ->>> ->>> CREATE TABLE T1(key STRING, val STRING) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE T2(key STRING, val STRING) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE T3(key STRING, val STRING) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE T4(key STRING, val STRING) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE dest_j1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T1.txt' INTO TABLE T1; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/T2.txt' INTO TABLE T2; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/T3.txt' INTO TABLE T3; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/T1.txt' INTO TABLE T4; -No rows affected ->>> ->>> ->>> EXPLAIN -FROM src src1 JOIN src src2 ON (src1.key = src2.key) -INSERT OVERWRITE TABLE dest_j1 SELECT src1.key, src2.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) src1) (TOK_TABREF (TOK_TABNAME src) src2) (= (. (TOK_TABLE_OR_COL src1) key) (. (TOK_TABLE_OR_COL src2) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest_j1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src1) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src2) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-5 depends on stages: Stage-1 , consists of Stage-6' -' Stage-6' -' Stage-4 depends on stages: Stage-6' -' Stage-0 depends on stages: Stage-1, Stage-4' -' Stage-2 depends on stages: Stage-0' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' src2 ' -' TableScan' -' alias: src2' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: value' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col1}' -' handleSkewJoin: true' -' outputColumnNames: _col0, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: skewjoin.dest_j1' -'' -' Stage: Stage-5' -' Conditional Operator' -'' -' Stage: Stage-6' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' 1 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' 1 ' -' HashTable Sink Operator' -' condition expressions:' -' 0 {0_VALUE_0}' -' 1 {1_VALUE_0}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[joinkey0]]' -' 1 [Column[joinkey0]]' -' Position of Big Table: 0' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' 0 ' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {0_VALUE_0}' -' 1 {1_VALUE_0}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[joinkey0]]' -' 1 [Column[joinkey0]]' -' outputColumnNames: _col0, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: skewjoin.dest_j1' -' Local Work:' -' Map Reduce Local Work' -'' -' 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: skewjoin.dest_j1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -153 rows selected ->>> ->>> FROM src src1 JOIN src src2 ON (src1.key = src2.key) -INSERT OVERWRITE TABLE dest_j1 SELECT src1.key, src2.value; -'_col0','_col1' -No rows selected ->>> ->>> SELECT sum(hash(key)), sum(hash(value)) FROM dest_j1; -'_c0','_c1' -'278697','101852390308' -1 row selected ->>> ->>> ->>> EXPLAIN -SELECT /*+ STREAMTABLE(a) */ * -FROM T1 a JOIN T2 b ON a.key = b.key -JOIN T3 c ON b.key = c.key -JOIN T4 d ON c.key = d.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME T3) c) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key))) (TOK_TABREF (TOK_TABNAME T4) d) (= (. (TOK_TABLE_OR_COL c) key) (. (TOK_TABLE_OR_COL d) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_STREAMTABLE (TOK_HINTARGLIST a))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 3' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' c ' -' TableScan' -' alias: c' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 2' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' d ' -' TableScan' -' alias: d' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 1 to 2' -' Inner Join 2 to 3' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' 3 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9, _col12, _col13' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' expr: _col12' -' type: string' -' expr: _col13' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -123 rows selected ->>> ->>> SELECT /*+ STREAMTABLE(a) */ * -FROM T1 a JOIN T2 b ON a.key = b.key -JOIN T3 c ON b.key = c.key -JOIN T4 d ON c.key = d.key; -'key','val','key','val','key','val','key','val' -'2','12','2','22','2','12','2','12' -1 row selected ->>> ->>> EXPLAIN -SELECT /*+ STREAMTABLE(a,c) */ * -FROM T1 a JOIN T2 b ON a.key = b.key -JOIN T3 c ON b.key = c.key -JOIN T4 d ON c.key = d.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME T3) c) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key))) (TOK_TABREF (TOK_TABNAME T4) d) (= (. (TOK_TABLE_OR_COL c) key) (. (TOK_TABLE_OR_COL d) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_STREAMTABLE (TOK_HINTARGLIST a c))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 3' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' c ' -' TableScan' -' alias: c' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 2' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' d ' -' TableScan' -' alias: d' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 1 to 2' -' Inner Join 2 to 3' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' 3 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9, _col12, _col13' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' expr: _col12' -' type: string' -' expr: _col13' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -123 rows selected ->>> ->>> SELECT /*+ STREAMTABLE(a,c) */ * -FROM T1 a JOIN T2 b ON a.key = b.key -JOIN T3 c ON b.key = c.key -JOIN T4 d ON c.key = d.key; -'key','val','key','val','key','val','key','val' -'2','12','2','22','2','12','2','12' -1 row selected ->>> ->>> ->>> EXPLAIN FROM T1 a JOIN src c ON c.key+1=a.key SELECT /*+ STREAMTABLE(a) */ sum(hash(a.key)), sum(hash(a.val)), sum(hash(c.key)); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME src) c) (= (+ (. (TOK_TABLE_OR_COL c) key) 1) (. (TOK_TABLE_OR_COL a) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_STREAMTABLE (TOK_HINTARGLIST a))) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION hash (. (TOK_TABLE_OR_COL a) key)))) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION hash (. (TOK_TABLE_OR_COL a) val)))) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION hash (. (TOK_TABLE_OR_COL c) key)))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: UDFToDouble(key)' -' type: double' -' sort order: +' -' Map-reduce partition columns:' -' expr: UDFToDouble(key)' -' type: double' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' c ' -' TableScan' -' alias: c' -' Reduce Output Operator' -' key expressions:' -' expr: (key + 1)' -' type: double' -' sort order: +' -' Map-reduce partition columns:' -' expr: (key + 1)' -' type: double' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' outputColumnNames: _col0, _col1, _col4' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col0))' -' expr: sum(hash(_col1))' -' expr: sum(hash(_col4))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' expr: sum(VALUE._col1)' -' expr: sum(VALUE._col2)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -121 rows selected ->>> FROM T1 a JOIN src c ON c.key+1=a.key SELECT /*+ STREAMTABLE(a) */ sum(hash(a.key)), sum(hash(a.val)), sum(hash(c.key)); -'_c1','_c2','_c3' -'198','6274','194' -1 row selected ->>> ->>> EXPLAIN FROM -(SELECT src.* FROM src) x -JOIN -(SELECT src.* FROM src) Y -ON (x.key = Y.key) -SELECT sum(hash(Y.key)), sum(hash(Y.value)); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))))) x) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))))) Y) (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL Y) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION hash (. (TOK_TABLE_OR_COL Y) key)))) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION hash (. (TOK_TABLE_OR_COL Y) value)))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-5 depends on stages: Stage-1 , consists of Stage-6' -' Stage-6' -' Stage-4 depends on stages: Stage-6' -' Stage-2 depends on stages: Stage-1, Stage-4' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' y:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: true' -' outputColumnNames: _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col2, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col2))' -' expr: sum(hash(_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-5' -' Conditional Operator' -'' -' Stage: Stage-6' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' 1 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' 1 ' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 {1_VALUE_0} {1_VALUE_1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[joinkey0]]' -' 1 [Column[joinkey0]]' -' Position of Big Table: 0' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' 0 ' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 {1_VALUE_0} {1_VALUE_1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[joinkey0]]' -' 1 [Column[joinkey0]]' -' outputColumnNames: _col2, _col3' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col2, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col2))' -' expr: sum(hash(_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' expr: sum(VALUE._col1)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -185 rows selected ->>> ->>> FROM -(SELECT src.* FROM src) x -JOIN -(SELECT src.* FROM src) Y -ON (x.key = Y.key) -SELECT sum(hash(Y.key)), sum(hash(Y.value)); -'_c0','_c1' -'44481300','101852390308' -1 row selected ->>> ->>> ->>> EXPLAIN FROM -(SELECT src.* FROM src) x -JOIN -(SELECT src.* FROM src) Y -ON (x.key = Y.key and substring(x.value, 5)=substring(y.value, 5)+1) -SELECT sum(hash(Y.key)), sum(hash(Y.value)); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))))) x) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))))) Y) (and (= (. (TOK_TABLE_OR_COL x) key) (. (TOK_TABLE_OR_COL Y) key)) (= (TOK_FUNCTION substring (. (TOK_TABLE_OR_COL x) value) 5) (+ (TOK_FUNCTION substring (. (TOK_TABLE_OR_COL y) value) 5) 1))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION hash (. (TOK_TABLE_OR_COL Y) key)))) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION hash (. (TOK_TABLE_OR_COL Y) value)))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-5 depends on stages: Stage-1 , consists of Stage-6' -' Stage-6' -' Stage-4 depends on stages: Stage-6' -' Stage-2 depends on stages: Stage-1, Stage-4' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: UDFToDouble(substring(_col1, 5))' -' type: double' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: UDFToDouble(substring(_col1, 5))' -' type: double' -' tag: 0' -' y:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: (substring(_col1, 5) + 1)' -' type: double' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: (substring(_col1, 5) + 1)' -' type: double' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: true' -' outputColumnNames: _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col2, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col2))' -' expr: sum(hash(_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-5' -' Conditional Operator' -'' -' Stage: Stage-6' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' 1 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' 1 ' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 {1_VALUE_0} {1_VALUE_1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[joinkey0], Column[joinkey1]]' -' 1 [Column[joinkey0], Column[joinkey1]]' -' Position of Big Table: 0' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' 0 ' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 {1_VALUE_0} {1_VALUE_1}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[joinkey0], Column[joinkey1]]' -' 1 [Column[joinkey0], Column[joinkey1]]' -' outputColumnNames: _col2, _col3' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col2, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col2))' -' expr: sum(hash(_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' expr: sum(VALUE._col1)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -195 rows selected ->>> ->>> FROM -(SELECT src.* FROM src) x -JOIN -(SELECT src.* FROM src) Y -ON (x.key = Y.key and substring(x.value, 5)=substring(y.value, 5)+1) -SELECT sum(hash(Y.key)), sum(hash(Y.value)); -'_c0','_c1' -'','' -1 row selected ->>> ->>> ->>> EXPLAIN -SELECT sum(hash(src1.c1)), sum(hash(src2.c4)) -FROM -(SELECT src.key as c1, src.value as c2 from src) src1 -JOIN -(SELECT src.key as c3, src.value as c4 from src) src2 -ON src1.c1 = src2.c3 AND src1.c1 < 100 -JOIN -(SELECT src.key as c5, src.value as c6 from src) src3 -ON src1.c1 = src3.c5 AND src3.c5 < 80; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c2)))) src1) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c4)))) src2) (AND (= (. (TOK_TABLE_OR_COL src1) c1) (. (TOK_TABLE_OR_COL src2) c3)) (< (. (TOK_TABLE_OR_COL src1) c1) 100))) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key) c5) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value) c6)))) src3) (AND (= (. (TOK_TABLE_OR_COL src1) c1) (. (TOK_TABLE_OR_COL src3) c5)) (< (. (TOK_TABLE_OR_COL src3) c5) 80)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION hash (. (TOK_TABLE_OR_COL src1) c1)))) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION hash (. (TOK_TABLE_OR_COL src2) c4)))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-7 depends on stages: Stage-1 , consists of Stage-8, Stage-9' -' Stage-8' -' Stage-5 depends on stages: Stage-8' -' Stage-2 depends on stages: Stage-1, Stage-5, Stage-6' -' Stage-9' -' Stage-6 depends on stages: Stage-9' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: ((key < 100.0) and (key < 80.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' src2:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: ((key < 100.0) and (key < 80.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col1' -' type: string' -' src3:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: ((key < 80.0) and (key < 100.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 2' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 0 to 2' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col1}' -' 2 ' -' handleSkewJoin: true' -' outputColumnNames: _col0, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col0))' -' expr: sum(hash(_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-8' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' 1 ' -' Fetch Operator' -' limit: -1' -' 2 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' 1 ' -' HashTable Sink Operator' -' condition expressions:' -' 0 {0_VALUE_0}' -' 1 {1_VALUE_0}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[joinkey0]]' -' 1 [Column[joinkey0]]' -' 2 [Column[joinkey0]]' -' Position of Big Table: 0' -' 2 ' -' HashTable Sink Operator' -' condition expressions:' -' 0 {0_VALUE_0}' -' 1 {1_VALUE_0}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[joinkey0]]' -' 1 [Column[joinkey0]]' -' 2 [Column[joinkey0]]' -' Position of Big Table: 0' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' 0 ' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 0 to 2' -' condition expressions:' -' 0 {0_VALUE_0}' -' 1 {1_VALUE_0}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[joinkey0]]' -' 1 [Column[joinkey0]]' -' 2 [Column[joinkey0]]' -' outputColumnNames: _col0, _col3' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col0))' -' expr: sum(hash(_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' expr: sum(VALUE._col1)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-9' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' 0 ' -' Fetch Operator' -' limit: -1' -' 2 ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' 0 ' -' HashTable Sink Operator' -' condition expressions:' -' 0 {0_VALUE_0}' -' 1 {1_VALUE_0}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[joinkey0]]' -' 1 [Column[joinkey0]]' -' 2 [Column[joinkey0]]' -' Position of Big Table: 1' -' 2 ' -' HashTable Sink Operator' -' condition expressions:' -' 0 {0_VALUE_0}' -' 1 {1_VALUE_0}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[joinkey0]]' -' 1 [Column[joinkey0]]' -' 2 [Column[joinkey0]]' -' Position of Big Table: 1' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' 1 ' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 0 to 2' -' condition expressions:' -' 0 {0_VALUE_0}' -' 1 {1_VALUE_0}' -' 2 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[joinkey0]]' -' 1 [Column[joinkey0]]' -' 2 [Column[joinkey0]]' -' outputColumnNames: _col0, _col3' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col3' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col0))' -' expr: sum(hash(_col3))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -316 rows selected ->>> ->>> SELECT sum(hash(src1.c1)), sum(hash(src2.c4)) -FROM -(SELECT src.key as c1, src.value as c2 from src) src1 -JOIN -(SELECT src.key as c3, src.value as c4 from src) src2 -ON src1.c1 = src2.c3 AND src1.c1 < 100 -JOIN -(SELECT src.key as c5, src.value as c6 from src) src3 -ON src1.c1 = src3.c5 AND src3.c5 < 80; -'_c0','_c1' -'293143','-136853010385' -1 row selected ->>> ->>> EXPLAIN -SELECT /*+ mapjoin(v)*/ sum(hash(k.key)), sum(hash(v.val)) FROM T1 k LEFT OUTER JOIN T1 v ON k.key+1=v.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME T1) k) (TOK_TABREF (TOK_TABNAME T1) v) (= (+ (. (TOK_TABLE_OR_COL k) key) 1) (. (TOK_TABLE_OR_COL v) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST v))) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION hash (. (TOK_TABLE_OR_COL k) key)))) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION hash (. (TOK_TABLE_OR_COL v) val)))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-4 is a root stage' -' Stage-1 depends on stages: Stage-4' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-4' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' v ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' v ' -' TableScan' -' alias: v' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key}' -' 1 {val}' -' handleSkewJoin: false' -' keys:' -' 0 [class org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge(Column[key], Const int 1()]' -' 1 [class org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge(Column[key]()]' -' Position of Big Table: 0' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' k ' -' TableScan' -' alias: k' -' Map Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {key}' -' 1 {val}' -' handleSkewJoin: false' -' keys:' -' 0 [class org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge(Column[key], Const int 1()]' -' 1 [class org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge(Column[key]()]' -' outputColumnNames: _col0, _col5' -' Position of Big Table: 0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col5' -' Group By Operator' -' aggregations:' -' expr: sum(hash(_col0))' -' expr: sum(hash(_col5))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' expr: sum(VALUE._col1)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -117 rows selected ->>> SELECT /*+ mapjoin(v)*/ sum(hash(k.key)), sum(hash(v.val)) FROM T1 k LEFT OUTER JOIN T1 v ON k.key+1=v.key; -'_c1','_c2' -'372','6320' -1 row selected ->>> ->>> select /*+ mapjoin(k)*/ sum(hash(k.key)), sum(hash(v.val)) from T1 k join T1 v on k.key=v.val; -'_c1','_c2' -'','' -1 row selected ->>> ->>> select /*+ mapjoin(k)*/ sum(hash(k.key)), sum(hash(v.val)) from T1 k join T1 v on k.key=v.key; -'_c1','_c2' -'429','12643' -1 row selected ->>> ->>> select sum(hash(k.key)), sum(hash(v.val)) from T1 k join T1 v on k.key=v.key; -'_c0','_c1' -'429','12643' -1 row selected ->>> ->>> select count(1) from T1 a join T1 b on a.key = b.key; -'_c0' -'8' -1 row selected ->>> ->>> FROM T1 a LEFT OUTER JOIN T2 c ON c.key+1=a.key SELECT sum(hash(a.key)), sum(hash(a.val)), sum(hash(c.key)); -'_c0','_c1','_c2' -'317','9462','50' -1 row selected ->>> ->>> FROM T1 a RIGHT OUTER JOIN T2 c ON c.key+1=a.key SELECT /*+ STREAMTABLE(a) */ sum(hash(a.key)), sum(hash(a.val)), sum(hash(c.key)); -'_c1','_c2','_c3' -'51','1570','318' -1 row selected ->>> ->>> FROM T1 a FULL OUTER JOIN T2 c ON c.key+1=a.key SELECT /*+ STREAMTABLE(a) */ sum(hash(a.key)), sum(hash(a.val)), sum(hash(c.key)); -'_c1','_c2','_c3' -'317','9462','318' -1 row selected ->>> ->>> SELECT sum(hash(src1.key)), sum(hash(src1.val)), sum(hash(src2.key)) FROM T1 src1 LEFT OUTER JOIN T2 src2 ON src1.key+1 = src2.key RIGHT OUTER JOIN T2 src3 ON src2.key = src3.key; -'_c0','_c1','_c2' -'370','11003','377' -1 row selected ->>> ->>> SELECT sum(hash(src1.key)), sum(hash(src1.val)), sum(hash(src2.key)) FROM T1 src1 JOIN T2 src2 ON src1.key+1 = src2.key JOIN T2 src3 ON src2.key = src3.key; -'_c0','_c1','_c2' -'370','11003','377' -1 row selected ->>> ->>> select /*+ mapjoin(v)*/ sum(hash(k.key)), sum(hash(v.val)) from T1 k left outer join T1 v on k.key+1=v.key; -'_c1','_c2' -'372','6320' -1 row selected ->>> ->>> ->>> ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/skewjoinopt1.q.out ql/src/test/results/beelinepositive/skewjoinopt1.q.out deleted file mode 100644 index c0058a2..0000000 --- ql/src/test/results/beelinepositive/skewjoinopt1.q.out +++ /dev/null @@ -1,798 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/skewjoinopt1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/skewjoinopt1.q ->>> set hive.internal.ddl.list.bucketing.enable=true; -No rows affected ->>> set hive.optimize.skewjoin.compiletime = true; -No rows affected ->>> ->>> CREATE TABLE T1(key STRING, val STRING) -SKEWED BY (key) ON ((2)) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T1.txt' INTO TABLE T1; -No rows affected ->>> ->>> CREATE TABLE T2(key STRING, val STRING) -SKEWED BY (key) ON ((3)) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T2.txt' INTO TABLE T2; -No rows affected ->>> ->>> -- a simple join query with skew on both the tables on the join key ->>> -- adding a order by at the end to make the results deterministic ->>> ->>> EXPLAIN -SELECT a.*, b.* FROM T1 a JOIN T2 b ON a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME a))) (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME b))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-4' -' Stage-4 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subquery1:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (not ((key = '2') or (key = '3')))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' subquery1:b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (not ((key = '2') or (key = '3')))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: ((key = '2') or (key = '3'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: ((key = '2') or (key = '3'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -185 rows selected ->>> ->>> SELECT a.*, b.* FROM T1 a JOIN T2 b ON a.key = b.key -ORDER BY a.key, b.key, a.val, b.val; -'key','val','key','val' -'2','12','2','22' -'3','13','3','13' -'8','18','8','18' -'8','18','8','18' -'8','28','8','18' -'8','28','8','18' -6 rows selected ->>> ->>> -- test outer joins also ->>> ->>> EXPLAIN -SELECT a.*, b.* FROM T1 a RIGHT OUTER JOIN T2 b ON a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME a))) (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME b))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-4' -' Stage-4 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subquery1:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (not ((key = '2') or (key = '3')))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' subquery1:b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (not ((key = '2') or (key = '3')))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: ((key = '2') or (key = '3'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: ((key = '2') or (key = '3'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -185 rows selected ->>> ->>> SELECT a.*, b.* FROM T1 a RIGHT OUTER JOIN T2 b ON a.key = b.key -ORDER BY a.key, b.key, a.val, b.val; -'key','val','key','val' -'','','4','14' -'','','5','15' -'2','12','2','22' -'3','13','3','13' -'8','18','8','18' -'8','18','8','18' -'8','28','8','18' -'8','28','8','18' -8 rows selected ->>> ->>> -- an aggregation at the end should not change anything ->>> ->>> EXPLAIN -SELECT count(1) FROM T1 a JOIN T2 b ON a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-4' -' Stage-4 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subquery1:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (not ((key = '2') or (key = '3')))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' subquery1:b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (not ((key = '2') or (key = '3')))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' Select Operator' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: ((key = '2') or (key = '3'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: ((key = '2') or (key = '3'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' Select Operator' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -173 rows selected ->>> ->>> SELECT count(1) FROM T1 a JOIN T2 b ON a.key = b.key; -'_c0' -'6' -1 row selected ->>> ->>> EXPLAIN -SELECT count(1) FROM T1 a RIGHT OUTER JOIN T2 b ON a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-4' -' Stage-4 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subquery1:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (not ((key = '2') or (key = '3')))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' subquery1:b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (not ((key = '2') or (key = '3')))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' Select Operator' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: ((key = '2') or (key = '3'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: ((key = '2') or (key = '3'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' Select Operator' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -173 rows selected ->>> ->>> SELECT count(1) FROM T1 a RIGHT OUTER JOIN T2 b ON a.key = b.key; -'_c0' -'8' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/skewjoinopt10.q.out ql/src/test/results/beelinepositive/skewjoinopt10.q.out deleted file mode 100644 index 6404155..0000000 --- ql/src/test/results/beelinepositive/skewjoinopt10.q.out +++ /dev/null @@ -1,287 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/skewjoinopt10.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/skewjoinopt10.q ->>> set hive.internal.ddl.list.bucketing.enable=true; -No rows affected ->>> set hive.optimize.skewjoin.compiletime = true; -No rows affected ->>> ->>> CREATE TABLE T1(key STRING, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T1.txt' INTO TABLE T1; -No rows affected ->>> ->>> drop table array_valued_T1; -No rows affected ->>> create table array_valued_T1 (key string, value array) SKEWED BY (key) ON ((8)); -No rows affected ->>> insert overwrite table array_valued_T1 select key, array(value) from T1; -'key','_c1' -No rows selected ->>> ->>> -- This test is to verify the skew join compile optimization when the join is followed by a lateral view ->>> -- adding a order by at the end to make the results deterministic ->>> ->>> explain -select * from (select a.key as key, b.value as array_val from T1 a join array_valued_T1 b on a.key=b.key) i lateral view explode (array_val) c as val; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LATERAL_VIEW (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION explode (TOK_TABLE_OR_COL array_val)) val (TOK_TABALIAS c))) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME array_valued_T1) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key) key) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value) array_val)))) i))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-3' -' Stage-3 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subquery1:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (not (key = '8'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' subquery1:b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (not (key = '8'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: value' -' type: array' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col5' -' type: array' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' Lateral View Forward' -' Select Operator' -' SELECT * : (no compute)' -' Lateral View Join Operator' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: array' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Select Operator' -' expressions:' -' expr: _col1' -' type: array' -' outputColumnNames: _col0' -' UDTF Operator' -' function name: explode' -' Lateral View Join Operator' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: array' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' Lateral View Forward' -' Select Operator' -' SELECT * : (no compute)' -' Lateral View Join Operator' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: array' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Select Operator' -' expressions:' -' expr: _col1' -' type: array' -' outputColumnNames: _col0' -' UDTF Operator' -' function name: explode' -' Lateral View Join Operator' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: array' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' i:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (key = '8')' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' i:b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (key = '8')' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: value' -' type: array' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col5' -' type: array' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -245 rows selected ->>> ->>> select * from (select a.key as key, b.value as array_val from T1 a join array_valued_T1 b on a.key=b.key) i lateral view explode (array_val) c as val -ORDER BY key, val; -'key','array_val','val' -'1','[11]','11' -'2','[12]','12' -'3','[13]','13' -'7','[17]','17' -'8','[18]','18' -'8','[18]','18' -'8','[28]','28' -'8','[28]','28' -8 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/skewjoinopt11.q.out ql/src/test/results/beelinepositive/skewjoinopt11.q.out deleted file mode 100644 index 3ef6a0e..0000000 --- ql/src/test/results/beelinepositive/skewjoinopt11.q.out +++ /dev/null @@ -1,440 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/skewjoinopt11.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/skewjoinopt11.q ->>> set hive.internal.ddl.list.bucketing.enable=true; -No rows affected ->>> set hive.optimize.skewjoin.compiletime = true; -No rows affected ->>> ->>> CREATE TABLE T1(key STRING, val STRING) -SKEWED BY (key) ON ((2)) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T1.txt' INTO TABLE T1; -No rows affected ->>> ->>> CREATE TABLE T2(key STRING, val STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T2.txt' INTO TABLE T2; -No rows affected ->>> ->>> -- This test is to verify the skew join compile optimization when the join is followed ->>> -- by a union. Both sides of a union consist of a join, which should have used ->>> -- skew join compile time optimization. ->>> -- adding a order by at the end to make the results deterministic ->>> ->>> EXPLAIN -select * from -( -select a.key, a.val as val1, b.val as val2 from T1 a join T2 b on a.key = b.key -union all -select a.key, a.val as val1, b.val as val2 from T1 a join T2 b on a.key = b.key -) subq1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) val) val1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) val) val2)))) (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) val) val1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) val) val2))))) subq1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-5' -' Stage-3 depends on stages: Stage-2, Stage-8' -' Stage-5 is a root stage' -' Stage-7 is a root stage' -' Stage-8 depends on stages: Stage-7, Stage-9' -' Stage-9 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subquery1:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (not (key = '2'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' subquery1:b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (not (key = '2'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery2:subq1-subquery2:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (key = '2')' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' null-subquery2:subq1-subquery2:b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (key = '2')' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-7' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1:subq1-subquery1:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (key = '2')' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' null-subquery1:subq1-subquery1:b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (key = '2')' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-8' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-9' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subquery2:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (not (key = '2'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' subquery2:b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (not (key = '2'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -383 rows selected ->>> ->>> select * from -( -select a.key, a.val as val1, b.val as val2 from T1 a join T2 b on a.key = b.key -union all -select a.key, a.val as val1, b.val as val2 from T1 a join T2 b on a.key = b.key -) subq1 -ORDER BY key, val1, val2; -'key','val1','val2' -'2','12','22' -'2','12','22' -'3','13','13' -'3','13','13' -'8','18','18' -'8','18','18' -'8','18','18' -'8','18','18' -'8','28','18' -'8','28','18' -'8','28','18' -'8','28','18' -12 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/skewjoinopt12.q.out ql/src/test/results/beelinepositive/skewjoinopt12.q.out deleted file mode 100644 index 6d898ba..0000000 --- ql/src/test/results/beelinepositive/skewjoinopt12.q.out +++ /dev/null @@ -1,238 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/skewjoinopt12.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/skewjoinopt12.q ->>> set hive.internal.ddl.list.bucketing.enable=true; -No rows affected ->>> set hive.optimize.skewjoin.compiletime = true; -No rows affected ->>> ->>> CREATE TABLE T1(key STRING, val STRING) -SKEWED BY (key, val) ON ((2, 12), (8, 18)) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T1.txt' INTO TABLE T1; -No rows affected ->>> ->>> CREATE TABLE T2(key STRING, val STRING) -SKEWED BY (key, val) ON ((3, 13), (8, 18)) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T2.txt' INTO TABLE T2; -No rows affected ->>> ->>> -- Both the join tables are skewed by 2 keys, and one of the skewed values ->>> -- is common to both the tables. The join key matches the skewed key set. ->>> -- adding a order by at the end to make the results deterministic ->>> ->>> EXPLAIN -SELECT a.*, b.* FROM T1 a JOIN T2 b ON a.key = b.key and a.val = b.val; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (and (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL a) val) (. (TOK_TABLE_OR_COL b) val))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME a))) (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME b))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-4' -' Stage-4 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subquery1:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (not ((((key = '2') and (val = '12')) or ((key = '8') and (val = '18'))) or ((key = '3') and (val = '13'))))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' subquery1:b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (not ((((key = '2') and (val = '12')) or ((key = '8') and (val = '18'))) or ((key = '3') and (val = '13'))))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: ((((key = '2') and (val = '12')) or ((key = '8') and (val = '18'))) or ((key = '3') and (val = '13')))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: ((((key = '2') and (val = '12')) or ((key = '8') and (val = '18'))) or ((key = '3') and (val = '13')))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -200 rows selected ->>> ->>> SELECT a.*, b.* FROM T1 a JOIN T2 b ON a.key = b.key and a.val = b.val -ORDER BY a.key, b.key, a.val, b.val; -'key','val','key','val' -'3','13','3','13' -'8','18','8','18' -'8','18','8','18' -3 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/skewjoinopt13.q.out ql/src/test/results/beelinepositive/skewjoinopt13.q.out deleted file mode 100644 index 223d8d7..0000000 --- ql/src/test/results/beelinepositive/skewjoinopt13.q.out +++ /dev/null @@ -1,188 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/skewjoinopt13.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/skewjoinopt13.q ->>> set hive.internal.ddl.list.bucketing.enable=true; -No rows affected ->>> set hive.optimize.skewjoin.compiletime = true; -No rows affected ->>> ->>> CREATE TABLE T1(key STRING, val STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T1.txt' INTO TABLE T1; -No rows affected ->>> ->>> CREATE TABLE T2(key STRING, val STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T2.txt' INTO TABLE T2; -No rows affected ->>> ->>> CREATE TABLE T3(key STRING, val STRING) -SKEWED BY (val) ON ((12)) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T3.txt' INTO TABLE T3; -No rows affected ->>> ->>> -- This test is for skewed join compile time optimization for more than 2 tables. ->>> -- The join key for table 3 is different from the join key used for joining ->>> -- tables 1 and 2. Table 3 is skewed, but since one of the join sources for table ->>> -- 3 consist of a sub-query which contains a join, the compile time skew join ->>> -- optimization is not performed ->>> -- adding a order by at the end to make the results deterministic ->>> ->>> EXPLAIN -select * -from -T1 a join T2 b on a.key = b.key -join T3 c on a.val = c.val; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME T3) c) (= (. (TOK_TABLE_OR_COL a) val) (. (TOK_TABLE_OR_COL c) val)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col1' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' c ' -' TableScan' -' alias: c' -' Reduce Output Operator' -' key expressions:' -' expr: val' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: val' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1} {VALUE._col4} {VALUE._col5}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -137 rows selected ->>> ->>> select * -from -T1 a join T2 b on a.key = b.key -join T3 c on a.val = c.val -order by a.key, b.key, c.key, a.val, b.val, c.val; -'key','val','key','val','key','val' -'2','12','2','22','2','12' -1 row selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/skewjoinopt14.q.out ql/src/test/results/beelinepositive/skewjoinopt14.q.out deleted file mode 100644 index 20df7c9..0000000 --- ql/src/test/results/beelinepositive/skewjoinopt14.q.out +++ /dev/null @@ -1,287 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/skewjoinopt14.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/skewjoinopt14.q ->>> set hive.internal.ddl.list.bucketing.enable=true; -No rows affected ->>> set hive.optimize.skewjoin.compiletime = true; -No rows affected ->>> ->>> CREATE TABLE T1(key STRING, val STRING) -SKEWED BY (key) ON ((2)) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T1.txt' INTO TABLE T1; -No rows affected ->>> ->>> CREATE TABLE T2(key STRING, val STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T2.txt' INTO TABLE T2; -No rows affected ->>> ->>> CREATE TABLE T3(key STRING, val STRING) -SKEWED BY (val) ON ((12)) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T3.txt' INTO TABLE T3; -No rows affected ->>> ->>> -- This test is for skewed join compile time optimization for more than 2 tables. ->>> -- The join key for table 3 is different from the join key used for joining ->>> -- tables 1 and 2. Tables 1 and 3 are skewed. Since one of the join sources for table ->>> -- 3 consist of a sub-query which contains a join, the compile time skew join ->>> -- optimization is not enabled for table 3, but it is used for the first join between ->>> -- tables 1 and 2 ->>> -- adding a order by at the end to make the results deterministic ->>> ->>> EXPLAIN -select * -from -T1 a join T2 b on a.key = b.key -join T3 c on a.val = c.val; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME T3) c) (= (. (TOK_TABLE_OR_COL a) val) (. (TOK_TABLE_OR_COL c) val)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-4' -' Stage-4 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subquery1:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (not (key = '2'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' subquery1:b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (not (key = '2'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' c ' -' TableScan' -' alias: c' -' Reduce Output Operator' -' key expressions:' -' expr: val' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: val' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col1' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col1' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1} {VALUE._col4} {VALUE._col5}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (key = '2')' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (key = '2')' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -234 rows selected ->>> ->>> select * -from -T1 a join T2 b on a.key = b.key -join T3 c on a.val = c.val -order by a.key, b.key, a.val, b.val; -'key','val','key','val','key','val' -'2','12','2','22','2','12' -1 row selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/skewjoinopt15.q.out ql/src/test/results/beelinepositive/skewjoinopt15.q.out deleted file mode 100644 index 63ccaa1..0000000 --- ql/src/test/results/beelinepositive/skewjoinopt15.q.out +++ /dev/null @@ -1,813 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/skewjoinopt15.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/skewjoinopt15.q ->>> set hive.internal.ddl.list.bucketing.enable=true; -No rows affected ->>> set hive.optimize.skewjoin.compiletime = true; -No rows affected ->>> ->>> CREATE TABLE tmpT1(key STRING, val STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T1.txt' INTO TABLE tmpT1; -No rows affected ->>> ->>> -- testing skew on other data types - int ->>> CREATE TABLE T1(key INT, val STRING) SKEWED BY (key) ON ((2)); -No rows affected ->>> INSERT OVERWRITE TABLE T1 SELECT key, val FROM tmpT1; -'_col0','_col1' -No rows selected ->>> ->>> CREATE TABLE tmpT2(key STRING, val STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T2.txt' INTO TABLE tmpT2; -No rows affected ->>> ->>> CREATE TABLE T2(key INT, val STRING) SKEWED BY (key) ON ((3)); -No rows affected ->>> ->>> INSERT OVERWRITE TABLE T2 SELECT key, val FROM tmpT2; -'_col0','_col1' -No rows selected ->>> ->>> -- The skewed key is a integer column. ->>> -- Otherwise this test is similar to skewjoinopt1.q ->>> -- Both the joined tables are skewed, and the joined column ->>> -- is an integer ->>> -- adding a order by at the end to make the results deterministic ->>> ->>> EXPLAIN -SELECT a.*, b.* FROM T1 a JOIN T2 b ON a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME a))) (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME b))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-4' -' Stage-4 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subquery1:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (not ((key = 2) or (key = 3)))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' value expressions:' -' expr: key' -' type: int' -' expr: val' -' type: string' -' subquery1:b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (not ((key = 2) or (key = 3)))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 1' -' value expressions:' -' expr: key' -' type: int' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: ((key = 2) or (key = 3))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' value expressions:' -' expr: key' -' type: int' -' expr: val' -' type: string' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: ((key = 2) or (key = 3))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 1' -' value expressions:' -' expr: key' -' type: int' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -185 rows selected ->>> ->>> SELECT a.*, b.* FROM T1 a JOIN T2 b ON a.key = b.key -ORDER BY a.key, b.key, a.val, b.val; -'key','val','key','val' -'2','12','2','22' -'3','13','3','13' -'8','18','8','18' -'8','18','8','18' -'8','28','8','18' -'8','28','8','18' -6 rows selected ->>> ->>> -- test outer joins also ->>> ->>> EXPLAIN -SELECT a.*, b.* FROM T1 a RIGHT OUTER JOIN T2 b ON a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME a))) (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME b))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-4' -' Stage-4 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subquery1:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (not ((key = 2) or (key = 3)))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' value expressions:' -' expr: key' -' type: int' -' expr: val' -' type: string' -' subquery1:b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (not ((key = 2) or (key = 3)))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 1' -' value expressions:' -' expr: key' -' type: int' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: ((key = 2) or (key = 3))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' value expressions:' -' expr: key' -' type: int' -' expr: val' -' type: string' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: ((key = 2) or (key = 3))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 1' -' value expressions:' -' expr: key' -' type: int' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -185 rows selected ->>> ->>> SELECT a.*, b.* FROM T1 a RIGHT OUTER JOIN T2 b ON a.key = b.key -ORDER BY a.key, b.key, a.val, b.val; -'key','val','key','val' -'','','4','14' -'','','5','15' -'2','12','2','22' -'3','13','3','13' -'8','18','8','18' -'8','18','8','18' -'8','28','8','18' -'8','28','8','18' -8 rows selected ->>> ->>> -- an aggregation at the end should not change anything ->>> ->>> EXPLAIN -SELECT count(1) FROM T1 a JOIN T2 b ON a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-4' -' Stage-4 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subquery1:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (not ((key = 2) or (key = 3)))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' subquery1:b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (not ((key = 2) or (key = 3)))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' Select Operator' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: ((key = 2) or (key = 3))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: ((key = 2) or (key = 3))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' Select Operator' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -173 rows selected ->>> ->>> SELECT count(1) FROM T1 a JOIN T2 b ON a.key = b.key; -'_c0' -'6' -1 row selected ->>> ->>> EXPLAIN -SELECT count(1) FROM T1 a RIGHT OUTER JOIN T2 b ON a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-4' -' Stage-4 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subquery1:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (not ((key = 2) or (key = 3)))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' subquery1:b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (not ((key = 2) or (key = 3)))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' Select Operator' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: ((key = 2) or (key = 3))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 0' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: ((key = 2) or (key = 3))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: int' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' Select Operator' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -173 rows selected ->>> ->>> SELECT count(1) FROM T1 a RIGHT OUTER JOIN T2 b ON a.key = b.key; -'_c0' -'8' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/skewjoinopt16.q.out ql/src/test/results/beelinepositive/skewjoinopt16.q.out deleted file mode 100644 index d80e79f..0000000 --- ql/src/test/results/beelinepositive/skewjoinopt16.q.out +++ /dev/null @@ -1,238 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/skewjoinopt16.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/skewjoinopt16.q ->>> set hive.internal.ddl.list.bucketing.enable=true; -No rows affected ->>> set hive.optimize.skewjoin.compiletime = true; -No rows affected ->>> ->>> CREATE TABLE T1(key STRING, val STRING) -SKEWED BY (key, val) ON ((2, 12)) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T1.txt' INTO TABLE T1; -No rows affected ->>> ->>> CREATE TABLE T2(key STRING, val STRING) -SKEWED BY (key) ON ((3)) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T2.txt' INTO TABLE T2; -No rows affected ->>> ->>> -- One of the tables is skewed by 2 columns, and the other table is ->>> -- skewed by one column. Ths join is performed on the both the columns ->>> -- adding a order by at the end to make the results deterministic ->>> ->>> EXPLAIN -SELECT a.*, b.* FROM T1 a JOIN T2 b ON a.key = b.key and a.val = b.val; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (and (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL a) val) (. (TOK_TABLE_OR_COL b) val))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME a))) (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME b))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-4' -' Stage-4 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subquery1:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (not (((key = '2') and (val = '12')) or (key = '3')))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' subquery1:b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (not (((key = '2') and (val = '12')) or (key = '3')))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (((key = '2') and (val = '12')) or (key = '3'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (((key = '2') and (val = '12')) or (key = '3'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -200 rows selected ->>> ->>> SELECT a.*, b.* FROM T1 a JOIN T2 b ON a.key = b.key and a.val = b.val -ORDER BY a.key, b.key, a.val, b.val; -'key','val','key','val' -'3','13','3','13' -'8','18','8','18' -'8','18','8','18' -3 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/skewjoinopt17.q.out ql/src/test/results/beelinepositive/skewjoinopt17.q.out deleted file mode 100644 index b2345d3..0000000 --- ql/src/test/results/beelinepositive/skewjoinopt17.q.out +++ /dev/null @@ -1,465 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/skewjoinopt17.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/skewjoinopt17.q ->>> set hive.internal.ddl.list.bucketing.enable=true; -No rows affected ->>> set hive.optimize.skewjoin.compiletime = true; -No rows affected ->>> ->>> CREATE TABLE T1(key STRING, val STRING) -SKEWED BY (key, val) ON ((2, 12)) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T1.txt' INTO TABLE T1; -No rows affected ->>> ->>> CREATE TABLE T2(key STRING, val STRING) -SKEWED BY (key) ON ((2)) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T2.txt' INTO TABLE T2; -No rows affected ->>> ->>> -- One of the tables is skewed by 2 columns, and the other table is ->>> -- skewed by one column. Ths join is performed on the first skewed column ->>> -- The skewed value for the jon key is common to both the tables. ->>> -- In this case, the skewed join value is not repeated in the filter. ->>> -- adding a order by at the end to make the results deterministic ->>> ->>> EXPLAIN -SELECT a.*, b.* FROM T1 a JOIN T2 b ON a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME a))) (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME b))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-4' -' Stage-4 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subquery1:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (not (key = '2'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' subquery1:b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (not (key = '2'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (key = '2')' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (key = '2')' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -185 rows selected ->>> ->>> SELECT a.*, b.* FROM T1 a JOIN T2 b ON a.key = b.key -ORDER BY a.key, b.key, a.val, b.val; -'key','val','key','val' -'2','12','2','22' -'3','13','3','13' -'8','18','8','18' -'8','18','8','18' -'8','28','8','18' -'8','28','8','18' -6 rows selected ->>> ->>> DROP TABLE T1; -No rows affected ->>> DROP TABLE T2; -No rows affected ->>> ->>> ->>> CREATE TABLE T1(key STRING, val STRING) -SKEWED BY (key, val) ON ((2, 12)) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T1.txt' INTO TABLE T1; -No rows affected ->>> ->>> CREATE TABLE T2(key STRING, val STRING) -SKEWED BY (key) ON ((2)) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T2.txt' INTO TABLE T2; -No rows affected ->>> ->>> -- One of the tables is skewed by 2 columns, and the other table is ->>> -- skewed by one column. Ths join is performed on the both the columns ->>> -- In this case, the skewed join value is repeated in the filter. ->>> ->>> EXPLAIN -SELECT a.*, b.* FROM T1 a JOIN T2 b ON a.key = b.key and a.val = b.val; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (and (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL a) val) (. (TOK_TABLE_OR_COL b) val))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME a))) (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME b))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-4' -' Stage-4 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subquery1:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (not (((key = '2') and (val = '12')) or (key = '2')))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' subquery1:b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (not (((key = '2') and (val = '12')) or (key = '2')))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (((key = '2') and (val = '12')) or (key = '2'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (((key = '2') and (val = '12')) or (key = '2'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -200 rows selected ->>> ->>> SELECT a.*, b.* FROM T1 a JOIN T2 b ON a.key = b.key and a.val = b.val -ORDER BY a.key, b.key, a.val, b.val; -'key','val','key','val' -'3','13','3','13' -'8','18','8','18' -'8','18','8','18' -3 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/skewjoinopt18.q.out ql/src/test/results/beelinepositive/skewjoinopt18.q.out deleted file mode 100644 index 864afc8..0000000 --- ql/src/test/results/beelinepositive/skewjoinopt18.q.out +++ /dev/null @@ -1,128 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/skewjoinopt18.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/skewjoinopt18.q ->>> set hive.internal.ddl.list.bucketing.enable=true; -No rows affected ->>> set hive.optimize.skewjoin.compiletime = true; -No rows affected ->>> ->>> CREATE TABLE tmpT1(key STRING, val STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T1.txt' INTO TABLE tmpT1; -No rows affected ->>> ->>> -- testing skew on other data types - int ->>> CREATE TABLE T1(key INT, val STRING) SKEWED BY (key) ON ((2)); -No rows affected ->>> INSERT OVERWRITE TABLE T1 SELECT key, val FROM tmpT1; -'_col0','_col1' -No rows selected ->>> ->>> -- Tke skewed column is same in both the tables, however it is ->>> -- INT in one of the tables, and STRING in the other table ->>> ->>> CREATE TABLE T2(key STRING, val STRING) -SKEWED BY (key) ON ((3)) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T2.txt' INTO TABLE T2; -No rows affected ->>> ->>> -- Once HIVE-3445 is fixed, the compile time skew join optimization would be ->>> -- applicable here. Till the above jira is fixed, it would be performed as a ->>> -- regular join ->>> -- adding a order by at the end to make the results deterministic ->>> ->>> EXPLAIN -SELECT a.*, b.* FROM T1 a JOIN T2 b ON a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME a))) (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME b))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: UDFToDouble(key)' -' type: double' -' sort order: +' -' Map-reduce partition columns:' -' expr: UDFToDouble(key)' -' type: double' -' tag: 0' -' value expressions:' -' expr: key' -' type: int' -' expr: val' -' type: string' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: UDFToDouble(key)' -' type: double' -' sort order: +' -' Map-reduce partition columns:' -' expr: UDFToDouble(key)' -' type: double' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -77 rows selected ->>> ->>> SELECT a.*, b.* FROM T1 a JOIN T2 b ON a.key = b.key -ORDER BY a.key, b.key, a.val, b.val; -'key','val','key','val' -'2','12','2','22' -'3','13','3','13' -'8','18','8','18' -'8','18','8','18' -'8','28','8','18' -'8','28','8','18' -6 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/skewjoinopt19.q.out ql/src/test/results/beelinepositive/skewjoinopt19.q.out deleted file mode 100644 index 84f6f52..0000000 --- ql/src/test/results/beelinepositive/skewjoinopt19.q.out +++ /dev/null @@ -1,227 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/skewjoinopt19.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/skewjoinopt19.q ->>> set hive.internal.ddl.list.bucketing.enable=true; -No rows affected ->>> set hive.optimize.skewjoin.compiletime = true; -No rows affected ->>> ->>> CREATE TABLE T1(key STRING, val STRING) -CLUSTERED BY (key) INTO 4 BUCKETS -SKEWED BY (key) ON ((2)) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T1.txt' INTO TABLE T1; -No rows affected ->>> ->>> CREATE TABLE T2(key STRING, val STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T2.txt' INTO TABLE T2; -No rows affected ->>> ->>> -- add a test where the skewed key is also the bucketized key ->>> -- it should not matter, and the compile time skewed join ->>> -- optimization is performed ->>> -- adding a order by at the end to make the results deterministic ->>> ->>> EXPLAIN -SELECT a.*, b.* FROM T1 a JOIN T2 b ON a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME a))) (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME b))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-4' -' Stage-4 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subquery1:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (not (key = '2'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' subquery1:b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (not (key = '2'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (key = '2')' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (key = '2')' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -185 rows selected ->>> ->>> SELECT a.*, b.* FROM T1 a JOIN T2 b ON a.key = b.key -ORDER BY a.key, b.key, a.val, b.val; -'key','val','key','val' -'2','12','2','22' -'3','13','3','13' -'8','18','8','18' -'8','18','8','18' -'8','28','8','18' -'8','28','8','18' -6 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/skewjoinopt2.q.out ql/src/test/results/beelinepositive/skewjoinopt2.q.out deleted file mode 100644 index faabe75..0000000 --- ql/src/test/results/beelinepositive/skewjoinopt2.q.out +++ /dev/null @@ -1,942 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/skewjoinopt2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/skewjoinopt2.q ->>> set hive.internal.ddl.list.bucketing.enable=true; -No rows affected ->>> set hive.optimize.skewjoin.compiletime = true; -No rows affected ->>> ->>> CREATE TABLE T1(key STRING, val STRING) -SKEWED BY (key) ON ((2), (7)) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T1.txt' INTO TABLE T1; -No rows affected ->>> ->>> CREATE TABLE T2(key STRING, val STRING) -SKEWED BY (key) ON ((3), (8)) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T2.txt' INTO TABLE T2; -No rows affected ->>> ->>> -- a simple query with skew on both the tables on the join key ->>> -- multiple skew values are present for the skewed keys ->>> -- but the skewed values do not overlap. ->>> -- The join values are a superset of the skewed keys. ->>> -- adding a order by at the end to make the results deterministic ->>> ->>> EXPLAIN -SELECT a.*, b.* FROM T1 a JOIN T2 b ON a.key = b.key and a.val = b.val; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (and (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL a) val) (. (TOK_TABLE_OR_COL b) val))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME a))) (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME b))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-4' -' Stage-4 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subquery1:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (not ((((key = '2') or (key = '7')) or (key = '3')) or (key = '8')))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' subquery1:b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (not ((((key = '2') or (key = '7')) or (key = '3')) or (key = '8')))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: ((((key = '2') or (key = '7')) or (key = '3')) or (key = '8'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: ((((key = '2') or (key = '7')) or (key = '3')) or (key = '8'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -200 rows selected ->>> ->>> SELECT a.*, b.* FROM T1 a JOIN T2 b ON a.key = b.key and a.val = b.val -ORDER BY a.key, b.key, a.val, b.val; -'key','val','key','val' -'3','13','3','13' -'8','18','8','18' -'8','18','8','18' -3 rows selected ->>> ->>> -- test outer joins also ->>> ->>> EXPLAIN -SELECT a.*, b.* FROM T1 a LEFT OUTER JOIN T2 b ON a.key = b.key and a.val = b.val; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (and (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL a) val) (. (TOK_TABLE_OR_COL b) val))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME a))) (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME b))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-4' -' Stage-4 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subquery1:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (not ((((key = '2') or (key = '7')) or (key = '3')) or (key = '8')))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' subquery1:b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (not ((((key = '2') or (key = '7')) or (key = '3')) or (key = '8')))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: ((((key = '2') or (key = '7')) or (key = '3')) or (key = '8'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: ((((key = '2') or (key = '7')) or (key = '3')) or (key = '8'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -200 rows selected ->>> ->>> SELECT a.*, b.* FROM T1 a LEFT OUTER JOIN T2 b ON a.key = b.key and a.val = b.val -ORDER BY a.key, b.key, a.val, b.val; -'key','val','key','val' -'1','11','','' -'2','12','','' -'3','13','3','13' -'7','17','','' -'8','28','','' -'8','18','8','18' -'8','18','8','18' -7 rows selected ->>> ->>> -- a group by at the end should not change anything ->>> ->>> EXPLAIN -SELECT a.key, count(1) FROM T1 a JOIN T2 b ON a.key = b.key and a.val = b.val group by a.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (and (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL a) val) (. (TOK_TABLE_OR_COL b) val))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL a) key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-4' -' Stage-4 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subquery1:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (not ((((key = '2') or (key = '7')) or (key = '3')) or (key = '8')))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' subquery1:b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (not ((((key = '2') or (key = '7')) or (key = '3')) or (key = '8')))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 ' -' handleSkewJoin: false' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: ((((key = '2') or (key = '7')) or (key = '3')) or (key = '8'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: ((((key = '2') or (key = '7')) or (key = '3')) or (key = '8'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 ' -' handleSkewJoin: false' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -228 rows selected ->>> ->>> SELECT a.key, count(1) FROM T1 a JOIN T2 b ON a.key = b.key and a.val = b.val group by a.key; -'key','_c1' -'3','1' -'8','2' -2 rows selected ->>> ->>> EXPLAIN -SELECT a.key, count(1) FROM T1 a LEFT OUTER JOIN T2 b ON a.key = b.key and a.val = b.val group by a.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (and (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL a) val) (. (TOK_TABLE_OR_COL b) val))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL a) key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-4' -' Stage-4 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subquery1:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (not ((((key = '2') or (key = '7')) or (key = '3')) or (key = '8')))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' subquery1:b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (not ((((key = '2') or (key = '7')) or (key = '3')) or (key = '8')))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 ' -' handleSkewJoin: false' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: ((((key = '2') or (key = '7')) or (key = '3')) or (key = '8'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: ((((key = '2') or (key = '7')) or (key = '3')) or (key = '8'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 ' -' handleSkewJoin: false' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -228 rows selected ->>> ->>> SELECT a.key, count(1) FROM T1 a LEFT OUTER JOIN T2 b ON a.key = b.key and a.val = b.val group by a.key; -'key','_c1' -'1','1' -'2','1' -'3','1' -'7','1' -'8','3' -5 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/skewjoinopt20.q.out ql/src/test/results/beelinepositive/skewjoinopt20.q.out deleted file mode 100644 index 651a623..0000000 --- ql/src/test/results/beelinepositive/skewjoinopt20.q.out +++ /dev/null @@ -1,227 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/skewjoinopt20.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/skewjoinopt20.q ->>> set hive.internal.ddl.list.bucketing.enable=true; -No rows affected ->>> set hive.optimize.skewjoin.compiletime = true; -No rows affected ->>> ->>> CREATE TABLE T1(key STRING, val STRING) -CLUSTERED BY (key) SORTED BY (key) INTO 4 BUCKETS -SKEWED BY (key) ON ((2)) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T1.txt' INTO TABLE T1; -No rows affected ->>> ->>> CREATE TABLE T2(key STRING, val STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T2.txt' INTO TABLE T2; -No rows affected ->>> ->>> -- add a test where the skewed key is also the bucketized/sorted key ->>> -- it should not matter, and the compile time skewed join ->>> -- optimization is performed ->>> -- adding a order by at the end to make the results deterministic ->>> ->>> EXPLAIN -SELECT a.*, b.* FROM T1 a JOIN T2 b ON a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME a))) (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME b))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-4' -' Stage-4 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subquery1:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (not (key = '2'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' subquery1:b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (not (key = '2'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (key = '2')' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (key = '2')' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -185 rows selected ->>> ->>> SELECT a.*, b.* FROM T1 a JOIN T2 b ON a.key = b.key -ORDER BY a.key, b.key, a.val, b.val; -'key','val','key','val' -'2','12','2','22' -'3','13','3','13' -'8','18','8','18' -'8','18','8','18' -'8','28','8','18' -'8','28','8','18' -6 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/skewjoinopt3.q.out ql/src/test/results/beelinepositive/skewjoinopt3.q.out deleted file mode 100644 index 7bd8609..0000000 --- ql/src/test/results/beelinepositive/skewjoinopt3.q.out +++ /dev/null @@ -1,434 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/skewjoinopt3.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/skewjoinopt3.q ->>> set hive.internal.ddl.list.bucketing.enable=true; -No rows affected ->>> set hive.optimize.skewjoin.compiletime = true; -No rows affected ->>> ->>> CREATE TABLE T1(key STRING, val STRING) -SKEWED BY (key) ON ((2), (8)) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T1.txt' INTO TABLE T1; -No rows affected ->>> ->>> CREATE TABLE T2(key STRING, val STRING) -SKEWED BY (key) ON ((3), (8)) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T2.txt' INTO TABLE T2; -No rows affected ->>> ->>> -- a simple query with skew on both the tables. One of the skewed ->>> -- value is common to both the tables. The skewed value should not be ->>> -- repeated in the filter. ->>> -- adding a order by at the end to make the results deterministic ->>> ->>> EXPLAIN -SELECT a.*, b.* FROM T1 a JOIN T2 b ON a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME a))) (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME b))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-4' -' Stage-4 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subquery1:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (not (((key = '2') or (key = '8')) or (key = '3')))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' subquery1:b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (not (((key = '2') or (key = '8')) or (key = '3')))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (((key = '2') or (key = '8')) or (key = '3'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (((key = '2') or (key = '8')) or (key = '3'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -185 rows selected ->>> ->>> SELECT a.*, b.* FROM T1 a JOIN T2 b ON a.key = b.key -ORDER BY a.key, b.key, a.val, b.val; -'key','val','key','val' -'2','12','2','22' -'3','13','3','13' -'8','18','8','18' -'8','18','8','18' -'8','28','8','18' -'8','28','8','18' -6 rows selected ->>> ->>> -- test outer joins also ->>> ->>> EXPLAIN -SELECT a.*, b.* FROM T1 a FULL OUTER JOIN T2 b ON a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_FULLOUTERJOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME a))) (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME b))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-4' -' Stage-4 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subquery1:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (not (((key = '2') or (key = '8')) or (key = '3')))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' subquery1:b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (not (((key = '2') or (key = '8')) or (key = '3')))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Outer Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (((key = '2') or (key = '8')) or (key = '3'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (((key = '2') or (key = '8')) or (key = '3'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Outer Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -185 rows selected ->>> ->>> SELECT a.*, b.* FROM T1 a FULL OUTER JOIN T2 b ON a.key = b.key -ORDER BY a.key, b.key, a.val, b.val; -'key','val','key','val' -'','','4','14' -'','','5','15' -'1','11','','' -'2','12','2','22' -'3','13','3','13' -'7','17','','' -'8','18','8','18' -'8','18','8','18' -'8','28','8','18' -'8','28','8','18' -10 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/skewjoinopt4.q.out ql/src/test/results/beelinepositive/skewjoinopt4.q.out deleted file mode 100644 index 31f4e21..0000000 --- ql/src/test/results/beelinepositive/skewjoinopt4.q.out +++ /dev/null @@ -1,427 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/skewjoinopt4.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/skewjoinopt4.q ->>> set hive.internal.ddl.list.bucketing.enable=true; -No rows affected ->>> set hive.optimize.skewjoin.compiletime = true; -No rows affected ->>> ->>> CREATE TABLE T1(key STRING, val STRING) -SKEWED BY (key) ON ((2)) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T1.txt' INTO TABLE T1; -No rows affected ->>> ->>> CREATE TABLE T2(key STRING, val STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T2.txt' INTO TABLE T2; -No rows affected ->>> ->>> -- only of the tables of the join (the left table of the join) is skewed ->>> -- the skewed filter would still be applied to both the tables ->>> -- adding a order by at the end to make the results deterministic ->>> ->>> EXPLAIN -SELECT a.*, b.* FROM T1 a JOIN T2 b ON a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME a))) (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME b))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-4' -' Stage-4 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subquery1:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (not (key = '2'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' subquery1:b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (not (key = '2'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (key = '2')' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (key = '2')' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -185 rows selected ->>> ->>> SELECT a.*, b.* FROM T1 a JOIN T2 b ON a.key = b.key -ORDER BY a.key, b.key, a.val, b.val; -'key','val','key','val' -'2','12','2','22' -'3','13','3','13' -'8','18','8','18' -'8','18','8','18' -'8','28','8','18' -'8','28','8','18' -6 rows selected ->>> ->>> -- the order of the join should not matter, just confirming ->>> EXPLAIN -SELECT a.*, b.* FROM T2 a JOIN T1 b ON a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME T2) a) (TOK_TABREF (TOK_TABNAME T1) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME a))) (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME b))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-4' -' Stage-4 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subquery1:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (not (key = '2'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' subquery1:b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (not (key = '2'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (key = '2')' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (key = '2')' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -185 rows selected ->>> ->>> SELECT a.*, b.* FROM T2 a JOIN T1 b ON a.key = b.key -ORDER BY a.key, b.key, a.val, b.val; -'key','val','key','val' -'2','22','2','12' -'3','13','3','13' -'8','18','8','18' -'8','18','8','18' -'8','18','8','28' -'8','18','8','28' -6 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/skewjoinopt5.q.out ql/src/test/results/beelinepositive/skewjoinopt5.q.out deleted file mode 100644 index 96d02d3..0000000 --- ql/src/test/results/beelinepositive/skewjoinopt5.q.out +++ /dev/null @@ -1,226 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/skewjoinopt5.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/skewjoinopt5.q ->>> set hive.internal.ddl.list.bucketing.enable=true; -No rows affected ->>> set hive.optimize.skewjoin.compiletime = true; -No rows affected ->>> ->>> CREATE TABLE T1(key STRING, val STRING) -SKEWED BY (key, val) ON ((2, 12)) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T1.txt' INTO TABLE T1; -No rows affected ->>> ->>> CREATE TABLE T2(key STRING, val STRING) -SKEWED BY (key) ON ((3)) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T2.txt' INTO TABLE T2; -No rows affected ->>> ->>> -- One of the tables is skewed by 2 columns, and the other table is ->>> -- skewed by one column. Ths join is performed on the first skewed column ->>> -- adding a order by at the end to make the results deterministic ->>> ->>> EXPLAIN -SELECT a.*, b.* FROM T1 a JOIN T2 b ON a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME a))) (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME b))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-4' -' Stage-4 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subquery1:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (not ((key = '2') or (key = '3')))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' subquery1:b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (not ((key = '2') or (key = '3')))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: ((key = '2') or (key = '3'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: ((key = '2') or (key = '3'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -185 rows selected ->>> ->>> SELECT a.*, b.* FROM T1 a JOIN T2 b ON a.key = b.key -ORDER BY a.key, b.key, a.val, b.val; -'key','val','key','val' -'2','12','2','22' -'3','13','3','13' -'8','18','8','18' -'8','18','8','18' -'8','28','8','18' -'8','28','8','18' -6 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/skewjoinopt6.q.out ql/src/test/results/beelinepositive/skewjoinopt6.q.out deleted file mode 100644 index 20f3045..0000000 --- ql/src/test/results/beelinepositive/skewjoinopt6.q.out +++ /dev/null @@ -1,227 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/skewjoinopt6.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/skewjoinopt6.q ->>> set hive.internal.ddl.list.bucketing.enable=true; -No rows affected ->>> set hive.optimize.skewjoin.compiletime = true; -No rows affected ->>> ->>> CREATE TABLE T1(key STRING, val STRING) -SKEWED BY (key, val) ON ((2, 12), (8, 18)) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T1.txt' INTO TABLE T1; -No rows affected ->>> ->>> CREATE TABLE T2(key STRING, val STRING) -SKEWED BY (key, val) ON ((3, 13), (8, 18)) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T2.txt' INTO TABLE T2; -No rows affected ->>> ->>> -- Both the join tables are skewed by 2 keys, and one of the skewed values ->>> -- is common to both the tables. The join key is a subset of the skewed key set: ->>> -- it only contains the first skewed key for both the tables ->>> -- adding a order by at the end to make the results deterministic ->>> ->>> EXPLAIN -SELECT a.*, b.* FROM T1 a JOIN T2 b ON a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME a))) (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME b))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-4' -' Stage-4 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subquery1:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (not (((key = '2') or (key = '8')) or (key = '3')))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' subquery1:b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (not (((key = '2') or (key = '8')) or (key = '3')))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (((key = '2') or (key = '8')) or (key = '3'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (((key = '2') or (key = '8')) or (key = '3'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -185 rows selected ->>> ->>> SELECT a.*, b.* FROM T1 a JOIN T2 b ON a.key = b.key -ORDER BY a.key, b.key, a.val, b.val; -'key','val','key','val' -'2','12','2','22' -'3','13','3','13' -'8','18','8','18' -'8','18','8','18' -'8','28','8','18' -'8','28','8','18' -6 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/skewjoinopt7.q.out ql/src/test/results/beelinepositive/skewjoinopt7.q.out deleted file mode 100644 index 52ff26d..0000000 --- ql/src/test/results/beelinepositive/skewjoinopt7.q.out +++ /dev/null @@ -1,282 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/skewjoinopt7.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/skewjoinopt7.q ->>> set hive.internal.ddl.list.bucketing.enable=true; -No rows affected ->>> set hive.optimize.skewjoin.compiletime = true; -No rows affected ->>> ->>> CREATE TABLE T1(key STRING, val STRING) -SKEWED BY (key) ON ((2), (8)) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T1.txt' INTO TABLE T1; -No rows affected ->>> ->>> CREATE TABLE T2(key STRING, val STRING) -SKEWED BY (key) ON ((3), (8)) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T2.txt' INTO TABLE T2; -No rows affected ->>> ->>> CREATE TABLE T3(key STRING, val STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T3.txt' INTO TABLE T3; -No rows affected ->>> ->>> -- This test is for validating skewed join compile time optimization for more than ->>> -- 2 tables. The join key is the same, and so a 3-way join would be performed. ->>> -- 2 of the 3 tables are skewed on the join key ->>> -- adding a order by at the end to make the results deterministic ->>> ->>> EXPLAIN -SELECT a.*, b.*, c.* FROM T1 a JOIN T2 b ON a.key = b.key JOIN T3 c on a.key = c.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME T3) c) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME a))) (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME b))) (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME c))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-5' -' Stage-5 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subquery1:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (not (((key = '2') or (key = '8')) or (key = '3')))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' subquery1:b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (not (((key = '2') or (key = '8')) or (key = '3')))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' subquery1:c ' -' TableScan' -' alias: c' -' Filter Operator' -' predicate:' -' expr: (not (((key = '2') or (key = '8')) or (key = '3')))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 2' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 0 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (((key = '2') or (key = '8')) or (key = '3'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (((key = '2') or (key = '8')) or (key = '3'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' c ' -' TableScan' -' alias: c' -' Filter Operator' -' predicate:' -' expr: (((key = '2') or (key = '8')) or (key = '3'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 2' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 0 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -239 rows selected ->>> ->>> SELECT a.*, b.*, c.* FROM T1 a JOIN T2 b ON a.key = b.key JOIN T3 c on a.key = c.key -ORDER BY a.key, b.key, c.key, a.val, b.val, c.val; -'key','val','key','val','key','val' -'2','12','2','22','2','12' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/skewjoinopt8.q.out ql/src/test/results/beelinepositive/skewjoinopt8.q.out deleted file mode 100644 index 8465e24..0000000 --- ql/src/test/results/beelinepositive/skewjoinopt8.q.out +++ /dev/null @@ -1,281 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/skewjoinopt8.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/skewjoinopt8.q ->>> set hive.internal.ddl.list.bucketing.enable=true; -No rows affected ->>> set hive.optimize.skewjoin.compiletime = true; -No rows affected ->>> ->>> CREATE TABLE T1(key STRING, val STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T1.txt' INTO TABLE T1; -No rows affected ->>> ->>> CREATE TABLE T2(key STRING, val STRING) -SKEWED BY (key) ON ((3), (8)) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T2.txt' INTO TABLE T2; -No rows affected ->>> ->>> CREATE TABLE T3(key STRING, val STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T3.txt' INTO TABLE T3; -No rows affected ->>> ->>> -- This test is for validating skewed join compile time optimization for more than ->>> -- 2 tables. The join key is the same, and so a 3-way join would be performed. ->>> -- 1 of the 3 tables are skewed on the join key ->>> -- adding a order by at the end to make the results deterministic ->>> ->>> EXPLAIN -SELECT a.*, b.*, c.* FROM T1 a JOIN T2 b ON a.key = b.key JOIN T3 c on a.key = c.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME T1) a) (TOK_TABREF (TOK_TABNAME T2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME T3) c) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME a))) (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME b))) (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME c))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-5' -' Stage-5 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subquery1:a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (not ((key = '3') or (key = '8')))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' subquery1:b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (not ((key = '3') or (key = '8')))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' subquery1:c ' -' TableScan' -' alias: c' -' Filter Operator' -' predicate:' -' expr: (not ((key = '3') or (key = '8')))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 2' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 0 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' SELECT * : (no compute)' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: ((key = '3') or (key = '8'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: ((key = '3') or (key = '8'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' c ' -' TableScan' -' alias: c' -' Filter Operator' -' predicate:' -' expr: ((key = '3') or (key = '8'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 2' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 0 to 2' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' 2 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -239 rows selected ->>> ->>> SELECT a.*, b.*, c.* FROM T1 a JOIN T2 b ON a.key = b.key JOIN T3 c on a.key = c.key -ORDER BY a.key, b.key, c.key, a.val, b.val, c.val; -'key','val','key','val','key','val' -'2','12','2','22','2','12' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/skewjoinopt9.q.out ql/src/test/results/beelinepositive/skewjoinopt9.q.out deleted file mode 100644 index 6d7eb1d6..0000000 --- ql/src/test/results/beelinepositive/skewjoinopt9.q.out +++ /dev/null @@ -1,323 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/skewjoinopt9.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/skewjoinopt9.q ->>> set hive.internal.ddl.list.bucketing.enable=true; -No rows affected ->>> set hive.optimize.skewjoin.compiletime = true; -No rows affected ->>> ->>> CREATE TABLE T1(key STRING, val STRING) -SKEWED BY (key) ON ((2)) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T1.txt' INTO TABLE T1; -No rows affected ->>> ->>> CREATE TABLE T2(key STRING, val STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T2.txt' INTO TABLE T2; -No rows affected ->>> ->>> -- no skew join compile time optimization would be performed if one of the ->>> -- join sources is a sub-query consisting of a union all ->>> -- adding a order by at the end to make the results deterministic ->>> EXPLAIN -select * from -( -select key, val from T1 -union all -select key, val from T1 -) subq1 -join T2 b on subq1.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL val))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL val)))))) subq1) (TOK_TABREF (TOK_TABNAME T2) b) (= (. (TOK_TABLE_OR_COL subq1) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' null-subquery1:subq1-subquery1:t1 ' -' TableScan' -' alias: t1' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' null-subquery2:subq1-subquery2:t1 ' -' TableScan' -' alias: t1' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -110 rows selected ->>> ->>> select * from -( -select key, val from T1 -union all -select key, val from T1 -) subq1 -join T2 b on subq1.key = b.key -ORDER BY subq1.key, b.key, subq1.val, b.val; -'key','val','key','val' -'2','12','2','22' -'2','12','2','22' -'3','13','3','13' -'3','13','3','13' -'8','18','8','18' -'8','18','8','18' -'8','18','8','18' -'8','18','8','18' -'8','28','8','18' -'8','28','8','18' -'8','28','8','18' -'8','28','8','18' -12 rows selected ->>> ->>> -- no skew join compile time optimization would be performed if one of the ->>> -- join sources is a sub-query consisting of a group by ->>> EXPLAIN -select * from -( -select key, count(1) as cnt from T1 group by key -) subq1 -join T2 b on subq1.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME T1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1) cnt)) (TOK_GROUPBY (TOK_TABLE_OR_COL key)))) subq1) (TOK_TABREF (TOK_TABNAME T2) b) (= (. (TOK_TABLE_OR_COL subq1) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' subq1:t1 ' -' TableScan' -' alias: t1' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' $INTNAME ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' expr: val' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -132 rows selected ->>> ->>> select * from -( -select key, count(1) as cnt from T1 group by key -) subq1 -join T2 b on subq1.key = b.key -ORDER BY subq1.key, b.key, subq1.cnt, b.val; -'key','cnt','key','val' -'2','1','2','22' -'3','1','3','13' -'8','2','8','18' -'8','2','8','18' -4 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/smb_mapjoin9.q.out ql/src/test/results/beelinepositive/smb_mapjoin9.q.out deleted file mode 100644 index 925b312..0000000 --- ql/src/test/results/beelinepositive/smb_mapjoin9.q.out +++ /dev/null @@ -1,334 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/smb_mapjoin9.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/smb_mapjoin9.q ->>> create table hive_test_smb_bucket1 (key int, value string) partitioned by (ds string) clustered by (key) sorted by (key) into 2 buckets; -No rows affected ->>> create table hive_test_smb_bucket2 (key int, value string) partitioned by (ds string) clustered by (key) sorted by (key) into 2 buckets; -No rows affected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> set hive.optimize.bucketmapjoin.sortedmerge = true; -No rows affected ->>> set hive.input.format = org.apache.hadoop.hive.ql.io.BucketizedHiveInputFormat; -No rows affected ->>> ->>> -- empty partitions (HIVE-3205) ->>> explain extended -SELECT /* + MAPJOIN(b) */ b.key as k1, b.value, b.ds, a.key as k2 -FROM hive_test_smb_bucket1 a JOIN -hive_test_smb_bucket2 b -ON a.key = b.key WHERE a.ds = '2010-10-15' and b.ds='2010-10-15' and b.key IS NOT NULL; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME hive_test_smb_bucket1) a) (TOK_TABREF (TOK_TABNAME hive_test_smb_bucket2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) key) k1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) ds)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key) k2)) (TOK_WHERE (and (and (= (. (TOK_TABLE_OR_COL a) ds) '2010-10-15') (= (. (TOK_TABLE_OR_COL b) ds) '2010-10-15')) (TOK_FUNCTION TOK_ISNOTNULL (. (TOK_TABLE_OR_COL b) key))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((ds = '2010-10-15') and key is not null)' -' type: boolean' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {ds}' -' 1 {key} {value} {ds}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col2, _col5, _col6, _col7' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col2' -' type: string' -' expr: _col5' -' type: int' -' expr: _col6' -' type: string' -' expr: _col7' -' type: string' -' outputColumnNames: _col0, _col2, _col5, _col6, _col7' -' Select Operator' -' expressions:' -' expr: _col5' -' type: int' -' expr: _col6' -' type: string' -' expr: _col7' -' type: string' -' expr: _col0' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types int:string:string:int' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -80 rows selected ->>> ->>> SELECT /* + MAPJOIN(b) */ b.key as k1, b.value, b.ds, a.key as k2 -FROM hive_test_smb_bucket1 a JOIN -hive_test_smb_bucket2 b -ON a.key = b.key WHERE a.ds = '2010-10-15' and b.ds='2010-10-15' and b.key IS NOT NULL; -'k1','value','ds','k2' -No rows selected ->>> ->>> explain extended -SELECT /* + MAPJOIN(a) */ b.key as k1, b.value, b.ds, a.key as k2 -FROM hive_test_smb_bucket1 a JOIN -hive_test_smb_bucket2 b -ON a.key = b.key WHERE a.ds = '2010-10-15' and b.ds='2010-10-15' and b.key IS NOT NULL; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME hive_test_smb_bucket1) a) (TOK_TABREF (TOK_TABNAME hive_test_smb_bucket2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) key) k1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) ds)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key) k2)) (TOK_WHERE (and (and (= (. (TOK_TABLE_OR_COL a) ds) '2010-10-15') (= (. (TOK_TABLE_OR_COL b) ds) '2010-10-15')) (TOK_FUNCTION TOK_ISNOTNULL (. (TOK_TABLE_OR_COL b) key))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((ds = '2010-10-15') and key is not null)' -' type: boolean' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {ds}' -' 1 {key} {value} {ds}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col2, _col5, _col6, _col7' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col2' -' type: string' -' expr: _col5' -' type: int' -' expr: _col6' -' type: string' -' expr: _col7' -' type: string' -' outputColumnNames: _col0, _col2, _col5, _col6, _col7' -' Select Operator' -' expressions:' -' expr: _col5' -' type: int' -' expr: _col6' -' type: string' -' expr: _col7' -' type: string' -' expr: _col0' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types int:string:string:int' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -80 rows selected ->>> ->>> SELECT /* + MAPJOIN(a) */ b.key as k1, b.value, b.ds, a.key as k2 -FROM hive_test_smb_bucket1 a JOIN -hive_test_smb_bucket2 b -ON a.key = b.key WHERE a.ds = '2010-10-15' and b.ds='2010-10-15' and b.key IS NOT NULL; -'k1','value','ds','k2' -No rows selected ->>> ->>> set hive.enforce.bucketing = true; -No rows affected ->>> set hive.enforce.sorting = true; -No rows affected ->>> set hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> set hive.exec.reducers.max = 1; -No rows affected ->>> ->>> insert overwrite table hive_test_smb_bucket1 partition (ds='2010-10-15') select key, value from src; -'_col0','_col1' -No rows selected ->>> insert overwrite table hive_test_smb_bucket2 partition (ds='2010-10-15') select key, value from src; -'_col0','_col1' -No rows selected ->>> ->>> set hive.input.format = org.apache.hadoop.hive.ql.io.BucketizedHiveInputFormat; -No rows affected ->>> ->>> explain -create table smb_mapjoin9_results as -SELECT /* + MAPJOIN(b) */ b.key as k1, b.value, b.ds, a.key as k2 -FROM hive_test_smb_bucket1 a JOIN -hive_test_smb_bucket2 b -ON a.key = b.key WHERE a.ds = '2010-10-15' and b.ds='2010-10-15' and b.key IS NOT NULL; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_CREATETABLE (TOK_TABNAME smb_mapjoin9_results) TOK_LIKETABLE (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME hive_test_smb_bucket1) a) (TOK_TABREF (TOK_TABNAME hive_test_smb_bucket2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) key) k1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) ds)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key) k2)) (TOK_WHERE (and (and (= (. (TOK_TABLE_OR_COL a) ds) '2010-10-15') (= (. (TOK_TABLE_OR_COL b) ds) '2010-10-15')) (TOK_FUNCTION TOK_ISNOTNULL (. (TOK_TABLE_OR_COL b) key)))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 depends on stages: Stage-1' -' Stage-4 depends on stages: Stage-0' -' Stage-2 depends on stages: Stage-4' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: key is not null' -' type: boolean' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {ds}' -' 1 {key} {value} {ds}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col2, _col5, _col6, _col7' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col2' -' type: string' -' expr: _col5' -' type: int' -' expr: _col6' -' type: string' -' expr: _col7' -' type: string' -' outputColumnNames: _col0, _col2, _col5, _col6, _col7' -' Select Operator' -' expressions:' -' expr: _col5' -' type: int' -' expr: _col6' -' type: string' -' expr: _col7' -' type: string' -' expr: _col0' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' name: smb_mapjoin9.smb_mapjoin9_results' -'' -' Stage: Stage-0' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: !!{hive.metastore.warehouse.dir}!!/smb_mapjoin9.db/smb_mapjoin9_results' -'' -' Stage: Stage-4' -' Create Table Operator:' -' Create Table' -' columns: k1 int, value string, ds string, k2 int' -' if not exists: false' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' # buckets: -1' -' output format: org.apache.hadoop.hive.ql.io.IgnoreKeyTextOutputFormat' -' name: smb_mapjoin9_results' -' isExternal: false' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -85 rows selected ->>> ->>> ->>> create table smb_mapjoin9_results as -SELECT /* + MAPJOIN(b) */ b.key as k1, b.value, b.ds, a.key as k2 -FROM hive_test_smb_bucket1 a JOIN -hive_test_smb_bucket2 b -ON a.key = b.key WHERE a.ds = '2010-10-15' and b.ds='2010-10-15' and b.key IS NOT NULL; -'k1','value','ds','k2' -No rows selected ->>> ->>> drop table smb_mapjoin9_results; -No rows affected ->>> drop table hive_test_smb_bucket1; -No rows affected ->>> drop table hive_test_smb_bucket2; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/smb_mapjoin_1.q.out ql/src/test/results/beelinepositive/smb_mapjoin_1.q.out deleted file mode 100644 index 28607f5..0000000 --- ql/src/test/results/beelinepositive/smb_mapjoin_1.q.out +++ /dev/null @@ -1,613 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/smb_mapjoin_1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/smb_mapjoin_1.q ->>> ->>> ->>> ->>> ->>> create table smb_bucket_1(key int, value string) CLUSTERED BY (key) SORTED BY (key) INTO 1 BUCKETS STORED AS RCFILE; -No rows affected ->>> create table smb_bucket_2(key int, value string) CLUSTERED BY (key) SORTED BY (key) INTO 1 BUCKETS STORED AS RCFILE; -No rows affected ->>> create table smb_bucket_3(key int, value string) CLUSTERED BY (key) SORTED BY (key) INTO 1 BUCKETS STORED AS RCFILE; -No rows affected ->>> ->>> load data local inpath '../data/files/smbbucket_1.rc' overwrite into table smb_bucket_1; -No rows affected ->>> load data local inpath '../data/files/smbbucket_2.rc' overwrite into table smb_bucket_2; -No rows affected ->>> load data local inpath '../data/files/smbbucket_3.rc' overwrite into table smb_bucket_3; -No rows affected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> set hive.optimize.bucketmapjoin.sortedmerge = true; -No rows affected ->>> set hive.input.format = org.apache.hadoop.hive.ql.io.BucketizedHiveInputFormat; -No rows affected ->>> ->>> explain -select /*+mapjoin(a)*/ * from smb_bucket_1 a join smb_bucket_2 b on a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -60 rows selected ->>> select /*+mapjoin(a)*/ * from smb_bucket_1 a join smb_bucket_2 b on a.key = b.key; -'key','value','key','value' -No rows selected ->>> ->>> explain -select /*+mapjoin(a)*/ * from smb_bucket_1 a left outer join smb_bucket_2 b on a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -60 rows selected ->>> select /*+mapjoin(a)*/ * from smb_bucket_1 a left outer join smb_bucket_2 b on a.key = b.key; -'key','value','key','value' -'1','val_1','','' -'3','val_3','','' -'4','val_4','','' -'5','val_5','','' -'10','val_10','','' -5 rows selected ->>> ->>> explain -select /*+mapjoin(a)*/ * from smb_bucket_1 a right outer join smb_bucket_2 b on a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -60 rows selected ->>> select /*+mapjoin(a)*/ * from smb_bucket_1 a right outer join smb_bucket_2 b on a.key = b.key; -'key','value','key','value' -'','','20','val_20' -'','','23','val_23' -'','','25','val_25' -'','','30','val_30' -4 rows selected ->>> ->>> explain -select /*+mapjoin(a)*/ * from smb_bucket_1 a full outer join smb_bucket_2 b on a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_FULLOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Outer Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -60 rows selected ->>> select /*+mapjoin(a)*/ * from smb_bucket_1 a full outer join smb_bucket_2 b on a.key = b.key; -'key','value','key','value' -'1','val_1','','' -'3','val_3','','' -'4','val_4','','' -'5','val_5','','' -'10','val_10','','' -'','','20','val_20' -'','','23','val_23' -'','','25','val_25' -'','','30','val_30' -9 rows selected ->>> ->>> ->>> explain -select /*+mapjoin(b)*/ * from smb_bucket_1 a join smb_bucket_2 b on a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -60 rows selected ->>> select /*+mapjoin(b)*/ * from smb_bucket_1 a join smb_bucket_2 b on a.key = b.key; -'key','value','key','value' -No rows selected ->>> ->>> explain -select /*+mapjoin(b)*/ * from smb_bucket_1 a left outer join smb_bucket_2 b on a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -60 rows selected ->>> select /*+mapjoin(b)*/ * from smb_bucket_1 a left outer join smb_bucket_2 b on a.key = b.key; -'key','value','key','value' -'1','val_1','','' -'3','val_3','','' -'4','val_4','','' -'5','val_5','','' -'10','val_10','','' -5 rows selected ->>> ->>> explain -select /*+mapjoin(b)*/ * from smb_bucket_1 a right outer join smb_bucket_2 b on a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -60 rows selected ->>> select /*+mapjoin(b)*/ * from smb_bucket_1 a right outer join smb_bucket_2 b on a.key = b.key; -'key','value','key','value' -'','','20','val_20' -'','','23','val_23' -'','','25','val_25' -'','','30','val_30' -4 rows selected ->>> ->>> explain -select /*+mapjoin(b)*/ * from smb_bucket_1 a full outer join smb_bucket_2 b on a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_FULLOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Outer Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -60 rows selected ->>> select /*+mapjoin(b)*/ * from smb_bucket_1 a full outer join smb_bucket_2 b on a.key = b.key; -'key','value','key','value' -'1','val_1','','' -'3','val_3','','' -'4','val_4','','' -'5','val_5','','' -'10','val_10','','' -'','','20','val_20' -'','','23','val_23' -'','','25','val_25' -'','','30','val_30' -9 rows selected ->>> ->>> ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/smb_mapjoin_10.q.out ql/src/test/results/beelinepositive/smb_mapjoin_10.q.out deleted file mode 100644 index d4aed8f..0000000 --- ql/src/test/results/beelinepositive/smb_mapjoin_10.q.out +++ /dev/null @@ -1,125 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/smb_mapjoin_10.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/smb_mapjoin_10.q ->>> ->>> create table tmp_smb_bucket_10(userid int, pageid int, postid int, type string) partitioned by (ds string) CLUSTERED BY (userid) SORTED BY (pageid, postid, type, userid) INTO 2 BUCKETS STORED AS RCFILE; -No rows affected ->>> ->>> alter table tmp_smb_bucket_10 add partition (ds = '1'); -No rows affected ->>> alter table tmp_smb_bucket_10 add partition (ds = '2'); -No rows affected ->>> ->>> -- add dummy files to make sure that the number of files in each partition is same as number of buckets ->>> ->>> load data local inpath '../data/files/smbbucket_1.rc' INTO TABLE tmp_smb_bucket_10 partition(ds='1'); -No rows affected ->>> load data local inpath '../data/files/smbbucket_2.rc' INTO TABLE tmp_smb_bucket_10 partition(ds='1'); -No rows affected ->>> ->>> load data local inpath '../data/files/smbbucket_1.rc' INTO TABLE tmp_smb_bucket_10 partition(ds='2'); -No rows affected ->>> load data local inpath '../data/files/smbbucket_2.rc' INTO TABLE tmp_smb_bucket_10 partition(ds='2'); -No rows affected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> set hive.optimize.bucketmapjoin.sortedmerge = true; -No rows affected ->>> set hive.input.format = org.apache.hadoop.hive.ql.io.BucketizedHiveInputFormat; -No rows affected ->>> ->>> explain -select /*+mapjoin(a)*/ * from tmp_smb_bucket_10 a join tmp_smb_bucket_10 b -on (a.ds = '1' and b.ds = '2' and -a.userid = b.userid and -a.pageid = b.pageid and -a.postid = b.postid and -a.type = b.type); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME tmp_smb_bucket_10) a) (TOK_TABREF (TOK_TABNAME tmp_smb_bucket_10) b) (and (and (and (and (and (= (. (TOK_TABLE_OR_COL a) ds) '1') (= (. (TOK_TABLE_OR_COL b) ds) '2')) (= (. (TOK_TABLE_OR_COL a) userid) (. (TOK_TABLE_OR_COL b) userid))) (= (. (TOK_TABLE_OR_COL a) pageid) (. (TOK_TABLE_OR_COL b) pageid))) (= (. (TOK_TABLE_OR_COL a) postid) (. (TOK_TABLE_OR_COL b) postid))) (= (. (TOK_TABLE_OR_COL a) type) (. (TOK_TABLE_OR_COL b) type))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {userid} {pageid} {postid} {type} {ds}' -' 1 {userid} {pageid} {postid} {type} {ds}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[userid], Column[pageid], Column[postid], Column[type]]' -' 1 [Column[userid], Column[pageid], Column[postid], Column[type]]' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col7, _col8, _col9, _col10, _col11' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: int' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col7' -' type: int' -' expr: _col8' -' type: int' -' expr: _col9' -' type: int' -' expr: _col10' -' type: string' -' expr: _col11' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col7, _col8, _col9, _col10, _col11' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: int' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col7' -' type: int' -' expr: _col8' -' type: int' -' expr: _col9' -' type: int' -' expr: _col10' -' type: string' -' expr: _col11' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -84 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/smb_mapjoin_2.q.out ql/src/test/results/beelinepositive/smb_mapjoin_2.q.out deleted file mode 100644 index f90c237..0000000 --- ql/src/test/results/beelinepositive/smb_mapjoin_2.q.out +++ /dev/null @@ -1,621 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/smb_mapjoin_2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/smb_mapjoin_2.q ->>> ->>> ->>> ->>> ->>> create table smb_bucket_1(key int, value string) CLUSTERED BY (key) SORTED BY (key) INTO 1 BUCKETS STORED AS RCFILE; -No rows affected ->>> create table smb_bucket_2(key int, value string) CLUSTERED BY (key) SORTED BY (key) INTO 1 BUCKETS STORED AS RCFILE; -No rows affected ->>> create table smb_bucket_3(key int, value string) CLUSTERED BY (key) SORTED BY (key) INTO 1 BUCKETS STORED AS RCFILE; -No rows affected ->>> ->>> load data local inpath '../data/files/smbbucket_1.rc' overwrite into table smb_bucket_1; -No rows affected ->>> load data local inpath '../data/files/smbbucket_2.rc' overwrite into table smb_bucket_2; -No rows affected ->>> load data local inpath '../data/files/smbbucket_3.rc' overwrite into table smb_bucket_3; -No rows affected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> set hive.optimize.bucketmapjoin.sortedmerge = true; -No rows affected ->>> set hive.input.format = org.apache.hadoop.hive.ql.io.BucketizedHiveInputFormat; -No rows affected ->>> ->>> explain -select /*+mapjoin(a)*/ * from smb_bucket_1 a join smb_bucket_3 b on a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_3) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -60 rows selected ->>> select /*+mapjoin(a)*/ * from smb_bucket_1 a join smb_bucket_3 b on a.key = b.key; -'key','value','key','value' -'4','val_4','4','val_4' -'10','val_10','10','val_10' -2 rows selected ->>> ->>> explain -select /*+mapjoin(a)*/ * from smb_bucket_1 a left outer join smb_bucket_3 b on a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_3) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -60 rows selected ->>> select /*+mapjoin(a)*/ * from smb_bucket_1 a left outer join smb_bucket_3 b on a.key = b.key; -'key','value','key','value' -'1','val_1','','' -'3','val_3','','' -'4','val_4','4','val_4' -'5','val_5','','' -'10','val_10','10','val_10' -5 rows selected ->>> ->>> explain -select /*+mapjoin(a)*/ * from smb_bucket_1 a right outer join smb_bucket_3 b on a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_3) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -60 rows selected ->>> select /*+mapjoin(a)*/ * from smb_bucket_1 a right outer join smb_bucket_3 b on a.key = b.key; -'key','value','key','value' -'4','val_4','4','val_4' -'10','val_10','10','val_10' -'','','17','val_17' -'','','19','val_19' -'','','20','val_20' -'','','23','val_23' -6 rows selected ->>> ->>> explain -select /*+mapjoin(a)*/ * from smb_bucket_1 a full outer join smb_bucket_3 b on a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_FULLOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_3) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Outer Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -60 rows selected ->>> select /*+mapjoin(a)*/ * from smb_bucket_1 a full outer join smb_bucket_3 b on a.key = b.key; -'key','value','key','value' -'1','val_1','','' -'3','val_3','','' -'4','val_4','4','val_4' -'5','val_5','','' -'10','val_10','10','val_10' -'','','17','val_17' -'','','19','val_19' -'','','20','val_20' -'','','23','val_23' -9 rows selected ->>> ->>> ->>> explain -select /*+mapjoin(b)*/ * from smb_bucket_1 a join smb_bucket_3 b on a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_3) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -60 rows selected ->>> select /*+mapjoin(b)*/ * from smb_bucket_1 a join smb_bucket_3 b on a.key = b.key; -'key','value','key','value' -'4','val_4','4','val_4' -'10','val_10','10','val_10' -2 rows selected ->>> ->>> explain -select /*+mapjoin(b)*/ * from smb_bucket_1 a left outer join smb_bucket_3 b on a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_3) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -60 rows selected ->>> select /*+mapjoin(b)*/ * from smb_bucket_1 a left outer join smb_bucket_3 b on a.key = b.key; -'key','value','key','value' -'1','val_1','','' -'3','val_3','','' -'4','val_4','4','val_4' -'5','val_5','','' -'10','val_10','10','val_10' -5 rows selected ->>> ->>> explain -select /*+mapjoin(b)*/ * from smb_bucket_1 a right outer join smb_bucket_3 b on a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_3) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -60 rows selected ->>> select /*+mapjoin(b)*/ * from smb_bucket_1 a right outer join smb_bucket_3 b on a.key = b.key; -'key','value','key','value' -'4','val_4','4','val_4' -'10','val_10','10','val_10' -'','','17','val_17' -'','','19','val_19' -'','','20','val_20' -'','','23','val_23' -6 rows selected ->>> ->>> explain -select /*+mapjoin(b)*/ * from smb_bucket_1 a full outer join smb_bucket_3 b on a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_FULLOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_3) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Outer Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -60 rows selected ->>> select /*+mapjoin(b)*/ * from smb_bucket_1 a full outer join smb_bucket_3 b on a.key = b.key; -'key','value','key','value' -'1','val_1','','' -'3','val_3','','' -'4','val_4','4','val_4' -'5','val_5','','' -'10','val_10','10','val_10' -'','','17','val_17' -'','','19','val_19' -'','','20','val_20' -'','','23','val_23' -9 rows selected ->>> ->>> ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/smb_mapjoin_3.q.out ql/src/test/results/beelinepositive/smb_mapjoin_3.q.out deleted file mode 100644 index 9848963..0000000 --- ql/src/test/results/beelinepositive/smb_mapjoin_3.q.out +++ /dev/null @@ -1,617 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/smb_mapjoin_3.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/smb_mapjoin_3.q ->>> ->>> ->>> ->>> ->>> create table smb_bucket_1(key int, value string) CLUSTERED BY (key) SORTED BY (key) INTO 1 BUCKETS STORED AS RCFILE; -No rows affected ->>> create table smb_bucket_2(key int, value string) CLUSTERED BY (key) SORTED BY (key) INTO 1 BUCKETS STORED AS RCFILE; -No rows affected ->>> create table smb_bucket_3(key int, value string) CLUSTERED BY (key) SORTED BY (key) INTO 1 BUCKETS STORED AS RCFILE; -No rows affected ->>> ->>> load data local inpath '../data/files/smbbucket_1.rc' overwrite into table smb_bucket_1; -No rows affected ->>> load data local inpath '../data/files/smbbucket_2.rc' overwrite into table smb_bucket_2; -No rows affected ->>> load data local inpath '../data/files/smbbucket_3.rc' overwrite into table smb_bucket_3; -No rows affected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> set hive.optimize.bucketmapjoin.sortedmerge = true; -No rows affected ->>> set hive.input.format = org.apache.hadoop.hive.ql.io.BucketizedHiveInputFormat; -No rows affected ->>> ->>> explain -select /*+mapjoin(a)*/ * from smb_bucket_2 a join smb_bucket_3 b on a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME smb_bucket_2) a) (TOK_TABREF (TOK_TABNAME smb_bucket_3) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -60 rows selected ->>> select /*+mapjoin(a)*/ * from smb_bucket_2 a join smb_bucket_3 b on a.key = b.key; -'key','value','key','value' -'20','val_20','20','val_20' -'23','val_23','23','val_23' -2 rows selected ->>> ->>> explain -select /*+mapjoin(a)*/ * from smb_bucket_2 a left outer join smb_bucket_3 b on a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_2) a) (TOK_TABREF (TOK_TABNAME smb_bucket_3) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -60 rows selected ->>> select /*+mapjoin(a)*/ * from smb_bucket_2 a left outer join smb_bucket_3 b on a.key = b.key; -'key','value','key','value' -'20','val_20','20','val_20' -'23','val_23','23','val_23' -'25','val_25','','' -'30','val_30','','' -4 rows selected ->>> ->>> explain -select /*+mapjoin(a)*/ * from smb_bucket_2 a right outer join smb_bucket_3 b on a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_2) a) (TOK_TABREF (TOK_TABNAME smb_bucket_3) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -60 rows selected ->>> select /*+mapjoin(a)*/ * from smb_bucket_2 a right outer join smb_bucket_3 b on a.key = b.key; -'key','value','key','value' -'','','4','val_4' -'','','10','val_10' -'','','17','val_17' -'','','19','val_19' -'20','val_20','20','val_20' -'23','val_23','23','val_23' -6 rows selected ->>> ->>> explain -select /*+mapjoin(a)*/ * from smb_bucket_2 a full outer join smb_bucket_3 b on a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_FULLOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_2) a) (TOK_TABREF (TOK_TABNAME smb_bucket_3) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Outer Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -60 rows selected ->>> select /*+mapjoin(a)*/ * from smb_bucket_2 a full outer join smb_bucket_3 b on a.key = b.key; -'key','value','key','value' -'','','4','val_4' -'','','10','val_10' -'','','17','val_17' -'','','19','val_19' -'20','val_20','20','val_20' -'23','val_23','23','val_23' -'25','val_25','','' -'30','val_30','','' -8 rows selected ->>> ->>> ->>> explain -select /*+mapjoin(b)*/ * from smb_bucket_2 a join smb_bucket_3 b on a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME smb_bucket_2) a) (TOK_TABREF (TOK_TABNAME smb_bucket_3) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -60 rows selected ->>> select /*+mapjoin(b)*/ * from smb_bucket_2 a join smb_bucket_3 b on a.key = b.key; -'key','value','key','value' -'20','val_20','20','val_20' -'23','val_23','23','val_23' -2 rows selected ->>> ->>> explain -select /*+mapjoin(b)*/ * from smb_bucket_2 a left outer join smb_bucket_3 b on a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_2) a) (TOK_TABREF (TOK_TABNAME smb_bucket_3) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -60 rows selected ->>> select /*+mapjoin(b)*/ * from smb_bucket_2 a left outer join smb_bucket_3 b on a.key = b.key; -'key','value','key','value' -'20','val_20','20','val_20' -'23','val_23','23','val_23' -'25','val_25','','' -'30','val_30','','' -4 rows selected ->>> ->>> explain -select /*+mapjoin(b)*/ * from smb_bucket_2 a right outer join smb_bucket_3 b on a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_2) a) (TOK_TABREF (TOK_TABNAME smb_bucket_3) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -60 rows selected ->>> select /*+mapjoin(b)*/ * from smb_bucket_2 a right outer join smb_bucket_3 b on a.key = b.key; -'key','value','key','value' -'','','4','val_4' -'','','10','val_10' -'','','17','val_17' -'','','19','val_19' -'20','val_20','20','val_20' -'23','val_23','23','val_23' -6 rows selected ->>> ->>> explain -select /*+mapjoin(b)*/ * from smb_bucket_2 a full outer join smb_bucket_3 b on a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_FULLOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_2) a) (TOK_TABREF (TOK_TABNAME smb_bucket_3) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Outer Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -60 rows selected ->>> select /*+mapjoin(b)*/ * from smb_bucket_2 a full outer join smb_bucket_3 b on a.key = b.key; -'key','value','key','value' -'','','4','val_4' -'','','10','val_10' -'','','17','val_17' -'','','19','val_19' -'20','val_20','20','val_20' -'23','val_23','23','val_23' -'25','val_25','','' -'30','val_30','','' -8 rows selected ->>> ->>> ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/smb_mapjoin_4.q.out ql/src/test/results/beelinepositive/smb_mapjoin_4.q.out deleted file mode 100644 index d89ad61..0000000 --- ql/src/test/results/beelinepositive/smb_mapjoin_4.q.out +++ /dev/null @@ -1,1131 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/smb_mapjoin_4.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/smb_mapjoin_4.q ->>> ->>> ->>> ->>> ->>> create table smb_bucket_1(key int, value string) CLUSTERED BY (key) SORTED BY (key) INTO 1 BUCKETS STORED AS RCFILE; -No rows affected ->>> create table smb_bucket_2(key int, value string) CLUSTERED BY (key) SORTED BY (key) INTO 1 BUCKETS STORED AS RCFILE; -No rows affected ->>> create table smb_bucket_3(key int, value string) CLUSTERED BY (key) SORTED BY (key) INTO 1 BUCKETS STORED AS RCFILE; -No rows affected ->>> ->>> load data local inpath '../data/files/smbbucket_1.rc' overwrite into table smb_bucket_1; -No rows affected ->>> load data local inpath '../data/files/smbbucket_2.rc' overwrite into table smb_bucket_2; -No rows affected ->>> load data local inpath '../data/files/smbbucket_3.rc' overwrite into table smb_bucket_3; -No rows affected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> set hive.optimize.bucketmapjoin.sortedmerge = true; -No rows affected ->>> set hive.input.format = org.apache.hadoop.hive.ql.io.BucketizedHiveInputFormat; -No rows affected ->>> ->>> explain -select /*+mapjoin(a,b)*/ * from smb_bucket_1 a join smb_bucket_2 b on a.key = b.key join smb_bucket_3 c on b.key=c.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME smb_bucket_3) c) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a b))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' c ' -' TableScan' -' alias: c' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -71 rows selected ->>> select /*+mapjoin(a,b)*/ * from smb_bucket_1 a join smb_bucket_2 b on a.key = b.key join smb_bucket_3 c on b.key=c.key; -'key','value','key','value','key','value' -No rows selected ->>> ->>> explain -select /*+mapjoin(a,b)*/ * from smb_bucket_1 a left outer join smb_bucket_2 b on a.key = b.key join smb_bucket_3 c on b.key=c.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME smb_bucket_3) c) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a b))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' c ' -' TableScan' -' alias: c' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' Inner Join 1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -71 rows selected ->>> select /*+mapjoin(a,b)*/ * from smb_bucket_1 a left outer join smb_bucket_2 b on a.key = b.key join smb_bucket_3 c on b.key=c.key; -'key','value','key','value','key','value' -No rows selected ->>> ->>> explain -select /*+mapjoin(a,b)*/ * from smb_bucket_1 a left outer join smb_bucket_2 b on a.key = b.key left outer join smb_bucket_3 c on b.key=c.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME smb_bucket_3) c) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a b))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' c ' -' TableScan' -' alias: c' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' Left Outer Join1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -71 rows selected ->>> select /*+mapjoin(a,b)*/ * from smb_bucket_1 a left outer join smb_bucket_2 b on a.key = b.key left outer join smb_bucket_3 c on b.key=c.key; -'key','value','key','value','key','value' -'1','val_1','','','','' -'3','val_3','','','','' -'4','val_4','','','','' -'5','val_5','','','','' -'10','val_10','','','','' -5 rows selected ->>> ->>> explain -select /*+mapjoin(a,b)*/ * from smb_bucket_1 a left outer join smb_bucket_2 b on a.key = b.key right outer join smb_bucket_3 c on b.key=c.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME smb_bucket_3) c) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a b))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' c ' -' TableScan' -' alias: c' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' Right Outer Join1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -71 rows selected ->>> select /*+mapjoin(a,b)*/ * from smb_bucket_1 a left outer join smb_bucket_2 b on a.key = b.key right outer join smb_bucket_3 c on b.key=c.key; -'key','value','key','value','key','value' -'','','','','4','val_4' -'','','','','10','val_10' -'','','','','17','val_17' -'','','','','19','val_19' -'','','','','20','val_20' -'','','','','23','val_23' -6 rows selected ->>> ->>> explain -select /*+mapjoin(a,b)*/ * from smb_bucket_1 a left outer join smb_bucket_2 b on a.key = b.key full outer join smb_bucket_3 c on b.key=c.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_FULLOUTERJOIN (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME smb_bucket_3) c) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a b))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' c ' -' TableScan' -' alias: c' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' Outer Join 1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -71 rows selected ->>> select /*+mapjoin(a,b)*/ * from smb_bucket_1 a left outer join smb_bucket_2 b on a.key = b.key full outer join smb_bucket_3 c on b.key=c.key; -'key','value','key','value','key','value' -'1','val_1','','','','' -'3','val_3','','','','' -'4','val_4','','','','' -'','','','','4','val_4' -'5','val_5','','','','' -'10','val_10','','','','' -'','','','','10','val_10' -'','','','','17','val_17' -'','','','','19','val_19' -'','','','','20','val_20' -'','','','','23','val_23' -11 rows selected ->>> ->>> explain -select /*+mapjoin(a,b)*/ * from smb_bucket_1 a right outer join smb_bucket_2 b on a.key = b.key join smb_bucket_3 c on b.key=c.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_RIGHTOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME smb_bucket_3) c) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a b))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' c ' -' TableScan' -' alias: c' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' Inner Join 1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -71 rows selected ->>> select /*+mapjoin(a,b)*/ * from smb_bucket_1 a right outer join smb_bucket_2 b on a.key = b.key join smb_bucket_3 c on b.key=c.key; -'key','value','key','value','key','value' -'','','20','val_20','20','val_20' -'','','23','val_23','23','val_23' -2 rows selected ->>> ->>> explain -select /*+mapjoin(a,b)*/ * from smb_bucket_1 a right outer join smb_bucket_2 b on a.key = b.key left outer join smb_bucket_3 c on b.key=c.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_RIGHTOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME smb_bucket_3) c) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a b))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' c ' -' TableScan' -' alias: c' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' Left Outer Join1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -71 rows selected ->>> select /*+mapjoin(a,b)*/ * from smb_bucket_1 a right outer join smb_bucket_2 b on a.key = b.key left outer join smb_bucket_3 c on b.key=c.key; -'key','value','key','value','key','value' -'','','20','val_20','20','val_20' -'','','23','val_23','23','val_23' -'','','25','val_25','','' -'','','30','val_30','','' -4 rows selected ->>> ->>> explain -select /*+mapjoin(a,b)*/ * from smb_bucket_1 a right outer join smb_bucket_2 b on a.key = b.key right outer join smb_bucket_3 c on b.key=c.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_RIGHTOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME smb_bucket_3) c) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a b))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' c ' -' TableScan' -' alias: c' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' Right Outer Join1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -71 rows selected ->>> select /*+mapjoin(a,b)*/ * from smb_bucket_1 a right outer join smb_bucket_2 b on a.key = b.key right outer join smb_bucket_3 c on b.key=c.key; -'key','value','key','value','key','value' -'','','','','4','val_4' -'','','','','10','val_10' -'','','','','17','val_17' -'','','','','19','val_19' -'','','20','val_20','20','val_20' -'','','23','val_23','23','val_23' -6 rows selected ->>> ->>> explain -select /*+mapjoin(a,b)*/ * from smb_bucket_1 a right outer join smb_bucket_2 b on a.key = b.key full outer join smb_bucket_3 c on b.key=c.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_FULLOUTERJOIN (TOK_RIGHTOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME smb_bucket_3) c) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a b))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' c ' -' TableScan' -' alias: c' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' Outer Join 1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -71 rows selected ->>> select /*+mapjoin(a,b)*/ * from smb_bucket_1 a right outer join smb_bucket_2 b on a.key = b.key full outer join smb_bucket_3 c on b.key=c.key; -'key','value','key','value','key','value' -'','','','','4','val_4' -'','','','','10','val_10' -'','','','','17','val_17' -'','','','','19','val_19' -'','','20','val_20','20','val_20' -'','','23','val_23','23','val_23' -'','','25','val_25','','' -'','','30','val_30','','' -8 rows selected ->>> ->>> explain -select /*+mapjoin(a,b)*/ * from smb_bucket_1 a full outer join smb_bucket_2 b on a.key = b.key join smb_bucket_3 c on b.key=c.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_FULLOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME smb_bucket_3) c) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a b))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' c ' -' TableScan' -' alias: c' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Outer Join 0 to 1' -' Inner Join 1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -71 rows selected ->>> select /*+mapjoin(a,b)*/ * from smb_bucket_1 a full outer join smb_bucket_2 b on a.key = b.key join smb_bucket_3 c on b.key=c.key; -'key','value','key','value','key','value' -'','','20','val_20','20','val_20' -'','','23','val_23','23','val_23' -2 rows selected ->>> ->>> explain -select /*+mapjoin(a,b)*/ * from smb_bucket_1 a full outer join smb_bucket_2 b on a.key = b.key left outer join smb_bucket_3 c on b.key=c.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_FULLOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME smb_bucket_3) c) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a b))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' c ' -' TableScan' -' alias: c' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Outer Join 0 to 1' -' Left Outer Join1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -71 rows selected ->>> select /*+mapjoin(a,b)*/ * from smb_bucket_1 a full outer join smb_bucket_2 b on a.key = b.key left outer join smb_bucket_3 c on b.key=c.key; -'key','value','key','value','key','value' -'1','val_1','','','','' -'3','val_3','','','','' -'4','val_4','','','','' -'5','val_5','','','','' -'10','val_10','','','','' -'','','20','val_20','20','val_20' -'','','23','val_23','23','val_23' -'','','25','val_25','','' -'','','30','val_30','','' -9 rows selected ->>> ->>> explain -select /*+mapjoin(a,b)*/ * from smb_bucket_1 a full outer join smb_bucket_2 b on a.key = b.key right outer join smb_bucket_3 c on b.key=c.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_FULLOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME smb_bucket_3) c) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a b))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' c ' -' TableScan' -' alias: c' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Outer Join 0 to 1' -' Right Outer Join1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -71 rows selected ->>> select /*+mapjoin(a,b)*/ * from smb_bucket_1 a full outer join smb_bucket_2 b on a.key = b.key right outer join smb_bucket_3 c on b.key=c.key; -'key','value','key','value','key','value' -'','','','','4','val_4' -'','','','','10','val_10' -'','','','','17','val_17' -'','','','','19','val_19' -'','','20','val_20','20','val_20' -'','','23','val_23','23','val_23' -6 rows selected ->>> ->>> explain -select /*+mapjoin(a,b)*/ * from smb_bucket_1 a full outer join smb_bucket_2 b on a.key = b.key full outer join smb_bucket_3 c on b.key=c.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_FULLOUTERJOIN (TOK_FULLOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME smb_bucket_3) c) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a b))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' c ' -' TableScan' -' alias: c' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Outer Join 0 to 1' -' Outer Join 1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -71 rows selected ->>> select /*+mapjoin(a,b)*/ * from smb_bucket_1 a full outer join smb_bucket_2 b on a.key = b.key full outer join smb_bucket_3 c on b.key=c.key; -'key','value','key','value','key','value' -'1','val_1','','','','' -'3','val_3','','','','' -'4','val_4','','','','' -'','','','','4','val_4' -'5','val_5','','','','' -'10','val_10','','','','' -'','','','','10','val_10' -'','','','','17','val_17' -'','','','','19','val_19' -'','','20','val_20','20','val_20' -'','','23','val_23','23','val_23' -'','','25','val_25','','' -'','','30','val_30','','' -13 rows selected ->>> ->>> ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/smb_mapjoin_5.q.out ql/src/test/results/beelinepositive/smb_mapjoin_5.q.out deleted file mode 100644 index 138bf8d..0000000 --- ql/src/test/results/beelinepositive/smb_mapjoin_5.q.out +++ /dev/null @@ -1,1131 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/smb_mapjoin_5.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/smb_mapjoin_5.q ->>> ->>> ->>> ->>> ->>> create table smb_bucket_1(key int, value string) CLUSTERED BY (key) SORTED BY (key) INTO 1 BUCKETS STORED AS RCFILE; -No rows affected ->>> create table smb_bucket_2(key int, value string) CLUSTERED BY (key) SORTED BY (key) INTO 1 BUCKETS STORED AS RCFILE; -No rows affected ->>> create table smb_bucket_3(key int, value string) CLUSTERED BY (key) SORTED BY (key) INTO 1 BUCKETS STORED AS RCFILE; -No rows affected ->>> ->>> load data local inpath '../data/files/smbbucket_1.rc' overwrite into table smb_bucket_1; -No rows affected ->>> load data local inpath '../data/files/smbbucket_2.rc' overwrite into table smb_bucket_2; -No rows affected ->>> load data local inpath '../data/files/smbbucket_3.rc' overwrite into table smb_bucket_3; -No rows affected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> set hive.optimize.bucketmapjoin.sortedmerge = true; -No rows affected ->>> set hive.input.format = org.apache.hadoop.hive.ql.io.BucketizedHiveInputFormat; -No rows affected ->>> ->>> explain -select /*+mapjoin(a,c)*/ * from smb_bucket_1 a join smb_bucket_2 b on a.key = b.key join smb_bucket_3 c on b.key=c.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME smb_bucket_3) c) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a c))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -71 rows selected ->>> select /*+mapjoin(a,c)*/ * from smb_bucket_1 a join smb_bucket_2 b on a.key = b.key join smb_bucket_3 c on b.key=c.key; -'key','value','key','value','key','value' -No rows selected ->>> ->>> explain -select /*+mapjoin(a,c)*/ * from smb_bucket_1 a left outer join smb_bucket_2 b on a.key = b.key join smb_bucket_3 c on b.key=c.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME smb_bucket_3) c) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a c))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' Inner Join 1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -71 rows selected ->>> select /*+mapjoin(a,c)*/ * from smb_bucket_1 a left outer join smb_bucket_2 b on a.key = b.key join smb_bucket_3 c on b.key=c.key; -'key','value','key','value','key','value' -No rows selected ->>> ->>> explain -select /*+mapjoin(a,c)*/ * from smb_bucket_1 a left outer join smb_bucket_2 b on a.key = b.key left outer join smb_bucket_3 c on b.key=c.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME smb_bucket_3) c) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a c))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' Left Outer Join1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -71 rows selected ->>> select /*+mapjoin(a,c)*/ * from smb_bucket_1 a left outer join smb_bucket_2 b on a.key = b.key left outer join smb_bucket_3 c on b.key=c.key; -'key','value','key','value','key','value' -'1','val_1','','','','' -'3','val_3','','','','' -'4','val_4','','','','' -'5','val_5','','','','' -'10','val_10','','','','' -5 rows selected ->>> ->>> explain -select /*+mapjoin(a,c)*/ * from smb_bucket_1 a left outer join smb_bucket_2 b on a.key = b.key right outer join smb_bucket_3 c on b.key=c.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME smb_bucket_3) c) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a c))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' Right Outer Join1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -71 rows selected ->>> select /*+mapjoin(a,c)*/ * from smb_bucket_1 a left outer join smb_bucket_2 b on a.key = b.key right outer join smb_bucket_3 c on b.key=c.key; -'key','value','key','value','key','value' -'','','','','4','val_4' -'','','','','10','val_10' -'','','','','17','val_17' -'','','','','19','val_19' -'','','','','20','val_20' -'','','','','23','val_23' -6 rows selected ->>> ->>> explain -select /*+mapjoin(a,c)*/ * from smb_bucket_1 a left outer join smb_bucket_2 b on a.key = b.key full outer join smb_bucket_3 c on b.key=c.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_FULLOUTERJOIN (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME smb_bucket_3) c) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a c))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' Outer Join 1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -71 rows selected ->>> select /*+mapjoin(a,c)*/ * from smb_bucket_1 a left outer join smb_bucket_2 b on a.key = b.key full outer join smb_bucket_3 c on b.key=c.key; -'key','value','key','value','key','value' -'1','val_1','','','','' -'3','val_3','','','','' -'4','val_4','','','','' -'','','','','4','val_4' -'5','val_5','','','','' -'10','val_10','','','','' -'','','','','10','val_10' -'','','','','17','val_17' -'','','','','19','val_19' -'','','','','20','val_20' -'','','','','23','val_23' -11 rows selected ->>> ->>> explain -select /*+mapjoin(a,c)*/ * from smb_bucket_1 a right outer join smb_bucket_2 b on a.key = b.key join smb_bucket_3 c on b.key=c.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_RIGHTOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME smb_bucket_3) c) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a c))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' Inner Join 1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -71 rows selected ->>> select /*+mapjoin(a,c)*/ * from smb_bucket_1 a right outer join smb_bucket_2 b on a.key = b.key join smb_bucket_3 c on b.key=c.key; -'key','value','key','value','key','value' -'','','20','val_20','20','val_20' -'','','23','val_23','23','val_23' -2 rows selected ->>> ->>> explain -select /*+mapjoin(a,c)*/ * from smb_bucket_1 a right outer join smb_bucket_2 b on a.key = b.key left outer join smb_bucket_3 c on b.key=c.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_RIGHTOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME smb_bucket_3) c) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a c))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' Left Outer Join1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -71 rows selected ->>> select /*+mapjoin(a,c)*/ * from smb_bucket_1 a right outer join smb_bucket_2 b on a.key = b.key left outer join smb_bucket_3 c on b.key=c.key; -'key','value','key','value','key','value' -'','','20','val_20','20','val_20' -'','','23','val_23','23','val_23' -'','','25','val_25','','' -'','','30','val_30','','' -4 rows selected ->>> ->>> explain -select /*+mapjoin(a,c)*/ * from smb_bucket_1 a right outer join smb_bucket_2 b on a.key = b.key right outer join smb_bucket_3 c on b.key=c.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_RIGHTOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME smb_bucket_3) c) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a c))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' Right Outer Join1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -71 rows selected ->>> select /*+mapjoin(a,c)*/ * from smb_bucket_1 a right outer join smb_bucket_2 b on a.key = b.key right outer join smb_bucket_3 c on b.key=c.key; -'key','value','key','value','key','value' -'','','','','4','val_4' -'','','','','10','val_10' -'','','','','17','val_17' -'','','','','19','val_19' -'','','20','val_20','20','val_20' -'','','23','val_23','23','val_23' -6 rows selected ->>> ->>> explain -select /*+mapjoin(a,c)*/ * from smb_bucket_1 a right outer join smb_bucket_2 b on a.key = b.key full outer join smb_bucket_3 c on b.key=c.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_FULLOUTERJOIN (TOK_RIGHTOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME smb_bucket_3) c) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a c))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Right Outer Join0 to 1' -' Outer Join 1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -71 rows selected ->>> select /*+mapjoin(a,c)*/ * from smb_bucket_1 a right outer join smb_bucket_2 b on a.key = b.key full outer join smb_bucket_3 c on b.key=c.key; -'key','value','key','value','key','value' -'','','','','4','val_4' -'','','','','10','val_10' -'','','','','17','val_17' -'','','','','19','val_19' -'','','20','val_20','20','val_20' -'','','23','val_23','23','val_23' -'','','25','val_25','','' -'','','30','val_30','','' -8 rows selected ->>> ->>> explain -select /*+mapjoin(a,c)*/ * from smb_bucket_1 a full outer join smb_bucket_2 b on a.key = b.key join smb_bucket_3 c on b.key=c.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_FULLOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME smb_bucket_3) c) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a c))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Outer Join 0 to 1' -' Inner Join 1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -71 rows selected ->>> select /*+mapjoin(a,c)*/ * from smb_bucket_1 a full outer join smb_bucket_2 b on a.key = b.key join smb_bucket_3 c on b.key=c.key; -'key','value','key','value','key','value' -'','','20','val_20','20','val_20' -'','','23','val_23','23','val_23' -2 rows selected ->>> ->>> explain -select /*+mapjoin(a,c)*/ * from smb_bucket_1 a full outer join smb_bucket_2 b on a.key = b.key left outer join smb_bucket_3 c on b.key=c.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_FULLOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME smb_bucket_3) c) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a c))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Outer Join 0 to 1' -' Left Outer Join1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -71 rows selected ->>> select /*+mapjoin(a,c)*/ * from smb_bucket_1 a full outer join smb_bucket_2 b on a.key = b.key left outer join smb_bucket_3 c on b.key=c.key; -'key','value','key','value','key','value' -'1','val_1','','','','' -'3','val_3','','','','' -'4','val_4','','','','' -'5','val_5','','','','' -'10','val_10','','','','' -'','','20','val_20','20','val_20' -'','','23','val_23','23','val_23' -'','','25','val_25','','' -'','','30','val_30','','' -9 rows selected ->>> ->>> explain -select /*+mapjoin(a,c)*/ * from smb_bucket_1 a full outer join smb_bucket_2 b on a.key = b.key right outer join smb_bucket_3 c on b.key=c.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_RIGHTOUTERJOIN (TOK_FULLOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME smb_bucket_3) c) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a c))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Outer Join 0 to 1' -' Right Outer Join1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -71 rows selected ->>> select /*+mapjoin(a,c)*/ * from smb_bucket_1 a full outer join smb_bucket_2 b on a.key = b.key right outer join smb_bucket_3 c on b.key=c.key; -'key','value','key','value','key','value' -'','','','','4','val_4' -'','','','','10','val_10' -'','','','','17','val_17' -'','','','','19','val_19' -'','','20','val_20','20','val_20' -'','','23','val_23','23','val_23' -6 rows selected ->>> ->>> explain -select /*+mapjoin(a,c)*/ * from smb_bucket_1 a full outer join smb_bucket_2 b on a.key = b.key full outer join smb_bucket_3 c on b.key=c.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_FULLOUTERJOIN (TOK_FULLOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME smb_bucket_3) c) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a c))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Outer Join 0 to 1' -' Outer Join 1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -71 rows selected ->>> select /*+mapjoin(a,c)*/ * from smb_bucket_1 a full outer join smb_bucket_2 b on a.key = b.key full outer join smb_bucket_3 c on b.key=c.key; -'key','value','key','value','key','value' -'1','val_1','','','','' -'3','val_3','','','','' -'4','val_4','','','','' -'','','','','4','val_4' -'5','val_5','','','','' -'10','val_10','','','','' -'','','','','10','val_10' -'','','','','17','val_17' -'','','','','19','val_19' -'','','20','val_20','20','val_20' -'','','23','val_23','23','val_23' -'','','25','val_25','','' -'','','30','val_30','','' -13 rows selected ->>> ->>> ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/smb_mapjoin_6.q.out ql/src/test/results/beelinepositive/smb_mapjoin_6.q.out deleted file mode 100644 index 1df5508..0000000 --- ql/src/test/results/beelinepositive/smb_mapjoin_6.q.out +++ /dev/null @@ -1,2564 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/smb_mapjoin_6.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/smb_mapjoin_6.q ->>> set hive.enforce.bucketing = true; -No rows affected ->>> set hive.enforce.sorting = true; -No rows affected ->>> set hive.exec.reducers.max = 1; -No rows affected ->>> ->>> ->>> CREATE TABLE smb_bucket4_1(key int, value string) CLUSTERED BY (key) SORTED BY (key) INTO 2 BUCKETS STORED AS RCFILE; -No rows affected ->>> ->>> ->>> CREATE TABLE smb_bucket4_2(key int, value string) CLUSTERED BY (key) SORTED BY (key) INTO 2 BUCKETS STORED AS RCFILE; -No rows affected ->>> ->>> create table smb_join_results(k1 int, v1 string, k2 int, v2 string); -No rows affected ->>> create table normal_join_results(k1 int, v1 string, k2 int, v2 string); -No rows affected ->>> ->>> insert overwrite table smb_bucket4_1 -select * from src; -'_col0','_col1' -No rows selected ->>> ->>> insert overwrite table smb_bucket4_2 -select * from src; -'_col0','_col1' -No rows selected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> set hive.optimize.bucketmapjoin.sortedmerge = true; -No rows affected ->>> set hive.input.format = org.apache.hadoop.hive.ql.io.BucketizedHiveInputFormat; -No rows affected ->>> ->>> explain -insert overwrite table smb_join_results -select /*+mapjoin(a)*/ * from smb_bucket4_1 a join smb_bucket4_2 b on a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME smb_bucket4_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket4_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME smb_join_results))) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'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' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: smb_mapjoin_6.smb_join_results' -'' -' 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: smb_mapjoin_6.smb_join_results' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -72 rows selected ->>> ->>> insert overwrite table smb_join_results -select /*+mapjoin(a)*/ * from smb_bucket4_1 a join smb_bucket4_2 b on a.key = b.key; -'key','value','key','value' -No rows selected ->>> ->>> select * from smb_join_results order by k1; -'k1','v1','k2','v2' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'2','val_2','2','val_2' -'4','val_4','4','val_4' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'8','val_8','8','val_8' -'9','val_9','9','val_9' -'10','val_10','10','val_10' -'11','val_11','11','val_11' -'12','val_12','12','val_12' -'12','val_12','12','val_12' -'12','val_12','12','val_12' -'12','val_12','12','val_12' -'15','val_15','15','val_15' -'15','val_15','15','val_15' -'15','val_15','15','val_15' -'15','val_15','15','val_15' -'17','val_17','17','val_17' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'19','val_19','19','val_19' -'20','val_20','20','val_20' -'24','val_24','24','val_24' -'24','val_24','24','val_24' -'24','val_24','24','val_24' -'24','val_24','24','val_24' -'26','val_26','26','val_26' -'26','val_26','26','val_26' -'26','val_26','26','val_26' -'26','val_26','26','val_26' -'27','val_27','27','val_27' -'28','val_28','28','val_28' -'30','val_30','30','val_30' -'33','val_33','33','val_33' -'34','val_34','34','val_34' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'37','val_37','37','val_37' -'37','val_37','37','val_37' -'37','val_37','37','val_37' -'37','val_37','37','val_37' -'41','val_41','41','val_41' -'42','val_42','42','val_42' -'42','val_42','42','val_42' -'42','val_42','42','val_42' -'42','val_42','42','val_42' -'43','val_43','43','val_43' -'44','val_44','44','val_44' -'47','val_47','47','val_47' -'51','val_51','51','val_51' -'51','val_51','51','val_51' -'51','val_51','51','val_51' -'51','val_51','51','val_51' -'53','val_53','53','val_53' -'54','val_54','54','val_54' -'57','val_57','57','val_57' -'58','val_58','58','val_58' -'58','val_58','58','val_58' -'58','val_58','58','val_58' -'58','val_58','58','val_58' -'64','val_64','64','val_64' -'65','val_65','65','val_65' -'66','val_66','66','val_66' -'67','val_67','67','val_67' -'67','val_67','67','val_67' -'67','val_67','67','val_67' -'67','val_67','67','val_67' -'69','val_69','69','val_69' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'72','val_72','72','val_72' -'72','val_72','72','val_72' -'72','val_72','72','val_72' -'72','val_72','72','val_72' -'74','val_74','74','val_74' -'76','val_76','76','val_76' -'76','val_76','76','val_76' -'76','val_76','76','val_76' -'76','val_76','76','val_76' -'77','val_77','77','val_77' -'78','val_78','78','val_78' -'80','val_80','80','val_80' -'82','val_82','82','val_82' -'83','val_83','83','val_83' -'83','val_83','83','val_83' -'83','val_83','83','val_83' -'83','val_83','83','val_83' -'84','val_84','84','val_84' -'84','val_84','84','val_84' -'84','val_84','84','val_84' -'84','val_84','84','val_84' -'85','val_85','85','val_85' -'86','val_86','86','val_86' -'87','val_87','87','val_87' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'92','val_92','92','val_92' -'95','val_95','95','val_95' -'95','val_95','95','val_95' -'95','val_95','95','val_95' -'95','val_95','95','val_95' -'96','val_96','96','val_96' -'97','val_97','97','val_97' -'97','val_97','97','val_97' -'97','val_97','97','val_97' -'97','val_97','97','val_97' -'98','val_98','98','val_98' -'98','val_98','98','val_98' -'98','val_98','98','val_98' -'98','val_98','98','val_98' -'100','val_100','100','val_100' -'100','val_100','100','val_100' -'100','val_100','100','val_100' -'100','val_100','100','val_100' -'103','val_103','103','val_103' -'103','val_103','103','val_103' -'103','val_103','103','val_103' -'103','val_103','103','val_103' -'104','val_104','104','val_104' -'104','val_104','104','val_104' -'104','val_104','104','val_104' -'104','val_104','104','val_104' -'105','val_105','105','val_105' -'111','val_111','111','val_111' -'113','val_113','113','val_113' -'113','val_113','113','val_113' -'113','val_113','113','val_113' -'113','val_113','113','val_113' -'114','val_114','114','val_114' -'116','val_116','116','val_116' -'118','val_118','118','val_118' -'118','val_118','118','val_118' -'118','val_118','118','val_118' -'118','val_118','118','val_118' -'119','val_119','119','val_119' -'119','val_119','119','val_119' -'119','val_119','119','val_119' -'119','val_119','119','val_119' -'119','val_119','119','val_119' -'119','val_119','119','val_119' -'119','val_119','119','val_119' -'119','val_119','119','val_119' -'119','val_119','119','val_119' -'120','val_120','120','val_120' -'120','val_120','120','val_120' -'120','val_120','120','val_120' -'120','val_120','120','val_120' -'125','val_125','125','val_125' -'125','val_125','125','val_125' -'125','val_125','125','val_125' -'125','val_125','125','val_125' -'126','val_126','126','val_126' -'128','val_128','128','val_128' -'128','val_128','128','val_128' -'128','val_128','128','val_128' -'128','val_128','128','val_128' -'128','val_128','128','val_128' -'128','val_128','128','val_128' -'128','val_128','128','val_128' -'128','val_128','128','val_128' -'128','val_128','128','val_128' -'129','val_129','129','val_129' -'129','val_129','129','val_129' -'129','val_129','129','val_129' -'129','val_129','129','val_129' -'131','val_131','131','val_131' -'133','val_133','133','val_133' -'134','val_134','134','val_134' -'134','val_134','134','val_134' -'134','val_134','134','val_134' -'134','val_134','134','val_134' -'136','val_136','136','val_136' -'137','val_137','137','val_137' -'137','val_137','137','val_137' -'137','val_137','137','val_137' -'137','val_137','137','val_137' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'143','val_143','143','val_143' -'145','val_145','145','val_145' -'146','val_146','146','val_146' -'146','val_146','146','val_146' -'146','val_146','146','val_146' -'146','val_146','146','val_146' -'149','val_149','149','val_149' -'149','val_149','149','val_149' -'149','val_149','149','val_149' -'149','val_149','149','val_149' -'150','val_150','150','val_150' -'152','val_152','152','val_152' -'152','val_152','152','val_152' -'152','val_152','152','val_152' -'152','val_152','152','val_152' -'153','val_153','153','val_153' -'155','val_155','155','val_155' -'156','val_156','156','val_156' -'157','val_157','157','val_157' -'158','val_158','158','val_158' -'160','val_160','160','val_160' -'162','val_162','162','val_162' -'163','val_163','163','val_163' -'164','val_164','164','val_164' -'164','val_164','164','val_164' -'164','val_164','164','val_164' -'164','val_164','164','val_164' -'165','val_165','165','val_165' -'165','val_165','165','val_165' -'165','val_165','165','val_165' -'165','val_165','165','val_165' -'166','val_166','166','val_166' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'168','val_168','168','val_168' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'170','val_170','170','val_170' -'172','val_172','172','val_172' -'172','val_172','172','val_172' -'172','val_172','172','val_172' -'172','val_172','172','val_172' -'174','val_174','174','val_174' -'174','val_174','174','val_174' -'174','val_174','174','val_174' -'174','val_174','174','val_174' -'175','val_175','175','val_175' -'175','val_175','175','val_175' -'175','val_175','175','val_175' -'175','val_175','175','val_175' -'176','val_176','176','val_176' -'176','val_176','176','val_176' -'176','val_176','176','val_176' -'176','val_176','176','val_176' -'177','val_177','177','val_177' -'178','val_178','178','val_178' -'179','val_179','179','val_179' -'179','val_179','179','val_179' -'179','val_179','179','val_179' -'179','val_179','179','val_179' -'180','val_180','180','val_180' -'181','val_181','181','val_181' -'183','val_183','183','val_183' -'186','val_186','186','val_186' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'189','val_189','189','val_189' -'190','val_190','190','val_190' -'191','val_191','191','val_191' -'191','val_191','191','val_191' -'191','val_191','191','val_191' -'191','val_191','191','val_191' -'192','val_192','192','val_192' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'194','val_194','194','val_194' -'195','val_195','195','val_195' -'195','val_195','195','val_195' -'195','val_195','195','val_195' -'195','val_195','195','val_195' -'196','val_196','196','val_196' -'197','val_197','197','val_197' -'197','val_197','197','val_197' -'197','val_197','197','val_197' -'197','val_197','197','val_197' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'200','val_200','200','val_200' -'200','val_200','200','val_200' -'200','val_200','200','val_200' -'200','val_200','200','val_200' -'201','val_201','201','val_201' -'202','val_202','202','val_202' -'203','val_203','203','val_203' -'203','val_203','203','val_203' -'203','val_203','203','val_203' -'203','val_203','203','val_203' -'205','val_205','205','val_205' -'205','val_205','205','val_205' -'205','val_205','205','val_205' -'205','val_205','205','val_205' -'207','val_207','207','val_207' -'207','val_207','207','val_207' -'207','val_207','207','val_207' -'207','val_207','207','val_207' -'208','val_208','208','val_208' -'208','val_208','208','val_208' -'208','val_208','208','val_208' -'208','val_208','208','val_208' -'208','val_208','208','val_208' -'208','val_208','208','val_208' -'208','val_208','208','val_208' -'208','val_208','208','val_208' -'208','val_208','208','val_208' -'209','val_209','209','val_209' -'209','val_209','209','val_209' -'209','val_209','209','val_209' -'209','val_209','209','val_209' -'213','val_213','213','val_213' -'213','val_213','213','val_213' -'213','val_213','213','val_213' -'213','val_213','213','val_213' -'214','val_214','214','val_214' -'216','val_216','216','val_216' -'216','val_216','216','val_216' -'216','val_216','216','val_216' -'216','val_216','216','val_216' -'217','val_217','217','val_217' -'217','val_217','217','val_217' -'217','val_217','217','val_217' -'217','val_217','217','val_217' -'218','val_218','218','val_218' -'219','val_219','219','val_219' -'219','val_219','219','val_219' -'219','val_219','219','val_219' -'219','val_219','219','val_219' -'221','val_221','221','val_221' -'221','val_221','221','val_221' -'221','val_221','221','val_221' -'221','val_221','221','val_221' -'222','val_222','222','val_222' -'223','val_223','223','val_223' -'223','val_223','223','val_223' -'223','val_223','223','val_223' -'223','val_223','223','val_223' -'224','val_224','224','val_224' -'224','val_224','224','val_224' -'224','val_224','224','val_224' -'224','val_224','224','val_224' -'226','val_226','226','val_226' -'228','val_228','228','val_228' -'229','val_229','229','val_229' -'229','val_229','229','val_229' -'229','val_229','229','val_229' -'229','val_229','229','val_229' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'233','val_233','233','val_233' -'233','val_233','233','val_233' -'233','val_233','233','val_233' -'233','val_233','233','val_233' -'235','val_235','235','val_235' -'237','val_237','237','val_237' -'237','val_237','237','val_237' -'237','val_237','237','val_237' -'237','val_237','237','val_237' -'238','val_238','238','val_238' -'238','val_238','238','val_238' -'238','val_238','238','val_238' -'238','val_238','238','val_238' -'239','val_239','239','val_239' -'239','val_239','239','val_239' -'239','val_239','239','val_239' -'239','val_239','239','val_239' -'241','val_241','241','val_241' -'242','val_242','242','val_242' -'242','val_242','242','val_242' -'242','val_242','242','val_242' -'242','val_242','242','val_242' -'244','val_244','244','val_244' -'247','val_247','247','val_247' -'248','val_248','248','val_248' -'249','val_249','249','val_249' -'252','val_252','252','val_252' -'255','val_255','255','val_255' -'255','val_255','255','val_255' -'255','val_255','255','val_255' -'255','val_255','255','val_255' -'256','val_256','256','val_256' -'256','val_256','256','val_256' -'256','val_256','256','val_256' -'256','val_256','256','val_256' -'257','val_257','257','val_257' -'258','val_258','258','val_258' -'260','val_260','260','val_260' -'262','val_262','262','val_262' -'263','val_263','263','val_263' -'265','val_265','265','val_265' -'265','val_265','265','val_265' -'265','val_265','265','val_265' -'265','val_265','265','val_265' -'266','val_266','266','val_266' -'272','val_272','272','val_272' -'272','val_272','272','val_272' -'272','val_272','272','val_272' -'272','val_272','272','val_272' -'273','val_273','273','val_273' -'273','val_273','273','val_273' -'273','val_273','273','val_273' -'273','val_273','273','val_273' -'273','val_273','273','val_273' -'273','val_273','273','val_273' -'273','val_273','273','val_273' -'273','val_273','273','val_273' -'273','val_273','273','val_273' -'274','val_274','274','val_274' -'275','val_275','275','val_275' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'278','val_278','278','val_278' -'278','val_278','278','val_278' -'278','val_278','278','val_278' -'278','val_278','278','val_278' -'280','val_280','280','val_280' -'280','val_280','280','val_280' -'280','val_280','280','val_280' -'280','val_280','280','val_280' -'281','val_281','281','val_281' -'281','val_281','281','val_281' -'281','val_281','281','val_281' -'281','val_281','281','val_281' -'282','val_282','282','val_282' -'282','val_282','282','val_282' -'282','val_282','282','val_282' -'282','val_282','282','val_282' -'283','val_283','283','val_283' -'284','val_284','284','val_284' -'285','val_285','285','val_285' -'286','val_286','286','val_286' -'287','val_287','287','val_287' -'288','val_288','288','val_288' -'288','val_288','288','val_288' -'288','val_288','288','val_288' -'288','val_288','288','val_288' -'289','val_289','289','val_289' -'291','val_291','291','val_291' -'292','val_292','292','val_292' -'296','val_296','296','val_296' -'298','val_298','298','val_298' -'298','val_298','298','val_298' -'298','val_298','298','val_298' -'298','val_298','298','val_298' -'298','val_298','298','val_298' -'298','val_298','298','val_298' -'298','val_298','298','val_298' -'298','val_298','298','val_298' -'298','val_298','298','val_298' -'302','val_302','302','val_302' -'305','val_305','305','val_305' -'306','val_306','306','val_306' -'307','val_307','307','val_307' -'307','val_307','307','val_307' -'307','val_307','307','val_307' -'307','val_307','307','val_307' -'308','val_308','308','val_308' -'309','val_309','309','val_309' -'309','val_309','309','val_309' -'309','val_309','309','val_309' -'309','val_309','309','val_309' -'310','val_310','310','val_310' -'311','val_311','311','val_311' -'311','val_311','311','val_311' -'311','val_311','311','val_311' -'311','val_311','311','val_311' -'311','val_311','311','val_311' -'311','val_311','311','val_311' -'311','val_311','311','val_311' -'311','val_311','311','val_311' -'311','val_311','311','val_311' -'315','val_315','315','val_315' -'316','val_316','316','val_316' -'316','val_316','316','val_316' -'316','val_316','316','val_316' -'316','val_316','316','val_316' -'316','val_316','316','val_316' -'316','val_316','316','val_316' -'316','val_316','316','val_316' -'316','val_316','316','val_316' -'316','val_316','316','val_316' -'317','val_317','317','val_317' -'317','val_317','317','val_317' -'317','val_317','317','val_317' -'317','val_317','317','val_317' -'318','val_318','318','val_318' -'318','val_318','318','val_318' -'318','val_318','318','val_318' -'318','val_318','318','val_318' -'318','val_318','318','val_318' -'318','val_318','318','val_318' -'318','val_318','318','val_318' -'318','val_318','318','val_318' -'318','val_318','318','val_318' -'321','val_321','321','val_321' -'321','val_321','321','val_321' -'321','val_321','321','val_321' -'321','val_321','321','val_321' -'322','val_322','322','val_322' -'322','val_322','322','val_322' -'322','val_322','322','val_322' -'322','val_322','322','val_322' -'323','val_323','323','val_323' -'325','val_325','325','val_325' -'325','val_325','325','val_325' -'325','val_325','325','val_325' -'325','val_325','325','val_325' -'327','val_327','327','val_327' -'327','val_327','327','val_327' -'327','val_327','327','val_327' -'327','val_327','327','val_327' -'327','val_327','327','val_327' -'327','val_327','327','val_327' -'327','val_327','327','val_327' -'327','val_327','327','val_327' -'327','val_327','327','val_327' -'331','val_331','331','val_331' -'331','val_331','331','val_331' -'331','val_331','331','val_331' -'331','val_331','331','val_331' -'332','val_332','332','val_332' -'333','val_333','333','val_333' -'333','val_333','333','val_333' -'333','val_333','333','val_333' -'333','val_333','333','val_333' -'335','val_335','335','val_335' -'336','val_336','336','val_336' -'338','val_338','338','val_338' -'339','val_339','339','val_339' -'341','val_341','341','val_341' -'342','val_342','342','val_342' -'342','val_342','342','val_342' -'342','val_342','342','val_342' -'342','val_342','342','val_342' -'344','val_344','344','val_344' -'344','val_344','344','val_344' -'344','val_344','344','val_344' -'344','val_344','344','val_344' -'345','val_345','345','val_345' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'351','val_351','351','val_351' -'353','val_353','353','val_353' -'353','val_353','353','val_353' -'353','val_353','353','val_353' -'353','val_353','353','val_353' -'356','val_356','356','val_356' -'360','val_360','360','val_360' -'362','val_362','362','val_362' -'364','val_364','364','val_364' -'365','val_365','365','val_365' -'366','val_366','366','val_366' -'367','val_367','367','val_367' -'367','val_367','367','val_367' -'367','val_367','367','val_367' -'367','val_367','367','val_367' -'368','val_368','368','val_368' -'369','val_369','369','val_369' -'369','val_369','369','val_369' -'369','val_369','369','val_369' -'369','val_369','369','val_369' -'369','val_369','369','val_369' -'369','val_369','369','val_369' -'369','val_369','369','val_369' -'369','val_369','369','val_369' -'369','val_369','369','val_369' -'373','val_373','373','val_373' -'374','val_374','374','val_374' -'375','val_375','375','val_375' -'377','val_377','377','val_377' -'378','val_378','378','val_378' -'379','val_379','379','val_379' -'382','val_382','382','val_382' -'382','val_382','382','val_382' -'382','val_382','382','val_382' -'382','val_382','382','val_382' -'384','val_384','384','val_384' -'384','val_384','384','val_384' -'384','val_384','384','val_384' -'384','val_384','384','val_384' -'384','val_384','384','val_384' -'384','val_384','384','val_384' -'384','val_384','384','val_384' -'384','val_384','384','val_384' -'384','val_384','384','val_384' -'386','val_386','386','val_386' -'389','val_389','389','val_389' -'392','val_392','392','val_392' -'393','val_393','393','val_393' -'394','val_394','394','val_394' -'395','val_395','395','val_395' -'395','val_395','395','val_395' -'395','val_395','395','val_395' -'395','val_395','395','val_395' -'396','val_396','396','val_396' -'396','val_396','396','val_396' -'396','val_396','396','val_396' -'396','val_396','396','val_396' -'396','val_396','396','val_396' -'396','val_396','396','val_396' -'396','val_396','396','val_396' -'396','val_396','396','val_396' -'396','val_396','396','val_396' -'397','val_397','397','val_397' -'397','val_397','397','val_397' -'397','val_397','397','val_397' -'397','val_397','397','val_397' -'399','val_399','399','val_399' -'399','val_399','399','val_399' -'399','val_399','399','val_399' -'399','val_399','399','val_399' -'400','val_400','400','val_400' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'402','val_402','402','val_402' -'403','val_403','403','val_403' -'403','val_403','403','val_403' -'403','val_403','403','val_403' -'403','val_403','403','val_403' -'403','val_403','403','val_403' -'403','val_403','403','val_403' -'403','val_403','403','val_403' -'403','val_403','403','val_403' -'403','val_403','403','val_403' -'404','val_404','404','val_404' -'404','val_404','404','val_404' -'404','val_404','404','val_404' -'404','val_404','404','val_404' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'407','val_407','407','val_407' -'409','val_409','409','val_409' -'409','val_409','409','val_409' -'409','val_409','409','val_409' -'409','val_409','409','val_409' -'409','val_409','409','val_409' -'409','val_409','409','val_409' -'409','val_409','409','val_409' -'409','val_409','409','val_409' -'409','val_409','409','val_409' -'411','val_411','411','val_411' -'413','val_413','413','val_413' -'413','val_413','413','val_413' -'413','val_413','413','val_413' -'413','val_413','413','val_413' -'414','val_414','414','val_414' -'414','val_414','414','val_414' -'414','val_414','414','val_414' -'414','val_414','414','val_414' -'417','val_417','417','val_417' -'417','val_417','417','val_417' -'417','val_417','417','val_417' -'417','val_417','417','val_417' -'417','val_417','417','val_417' -'417','val_417','417','val_417' -'417','val_417','417','val_417' -'417','val_417','417','val_417' -'417','val_417','417','val_417' -'418','val_418','418','val_418' -'419','val_419','419','val_419' -'421','val_421','421','val_421' -'424','val_424','424','val_424' -'424','val_424','424','val_424' -'424','val_424','424','val_424' -'424','val_424','424','val_424' -'427','val_427','427','val_427' -'429','val_429','429','val_429' -'429','val_429','429','val_429' -'429','val_429','429','val_429' -'429','val_429','429','val_429' -'430','val_430','430','val_430' -'430','val_430','430','val_430' -'430','val_430','430','val_430' -'430','val_430','430','val_430' -'430','val_430','430','val_430' -'430','val_430','430','val_430' -'430','val_430','430','val_430' -'430','val_430','430','val_430' -'430','val_430','430','val_430' -'431','val_431','431','val_431' -'431','val_431','431','val_431' -'431','val_431','431','val_431' -'431','val_431','431','val_431' -'431','val_431','431','val_431' -'431','val_431','431','val_431' -'431','val_431','431','val_431' -'431','val_431','431','val_431' -'431','val_431','431','val_431' -'432','val_432','432','val_432' -'435','val_435','435','val_435' -'436','val_436','436','val_436' -'437','val_437','437','val_437' -'438','val_438','438','val_438' -'438','val_438','438','val_438' -'438','val_438','438','val_438' -'438','val_438','438','val_438' -'438','val_438','438','val_438' -'438','val_438','438','val_438' -'438','val_438','438','val_438' -'438','val_438','438','val_438' -'438','val_438','438','val_438' -'439','val_439','439','val_439' -'439','val_439','439','val_439' -'439','val_439','439','val_439' -'439','val_439','439','val_439' -'443','val_443','443','val_443' -'444','val_444','444','val_444' -'446','val_446','446','val_446' -'448','val_448','448','val_448' -'449','val_449','449','val_449' -'452','val_452','452','val_452' -'453','val_453','453','val_453' -'454','val_454','454','val_454' -'454','val_454','454','val_454' -'454','val_454','454','val_454' -'454','val_454','454','val_454' -'454','val_454','454','val_454' -'454','val_454','454','val_454' -'454','val_454','454','val_454' -'454','val_454','454','val_454' -'454','val_454','454','val_454' -'455','val_455','455','val_455' -'457','val_457','457','val_457' -'458','val_458','458','val_458' -'458','val_458','458','val_458' -'458','val_458','458','val_458' -'458','val_458','458','val_458' -'459','val_459','459','val_459' -'459','val_459','459','val_459' -'459','val_459','459','val_459' -'459','val_459','459','val_459' -'460','val_460','460','val_460' -'462','val_462','462','val_462' -'462','val_462','462','val_462' -'462','val_462','462','val_462' -'462','val_462','462','val_462' -'463','val_463','463','val_463' -'463','val_463','463','val_463' -'463','val_463','463','val_463' -'463','val_463','463','val_463' -'466','val_466','466','val_466' -'466','val_466','466','val_466' -'466','val_466','466','val_466' -'466','val_466','466','val_466' -'466','val_466','466','val_466' -'466','val_466','466','val_466' -'466','val_466','466','val_466' -'466','val_466','466','val_466' -'466','val_466','466','val_466' -'467','val_467','467','val_467' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'470','val_470','470','val_470' -'472','val_472','472','val_472' -'475','val_475','475','val_475' -'477','val_477','477','val_477' -'478','val_478','478','val_478' -'478','val_478','478','val_478' -'478','val_478','478','val_478' -'478','val_478','478','val_478' -'479','val_479','479','val_479' -'480','val_480','480','val_480' -'480','val_480','480','val_480' -'480','val_480','480','val_480' -'480','val_480','480','val_480' -'480','val_480','480','val_480' -'480','val_480','480','val_480' -'480','val_480','480','val_480' -'480','val_480','480','val_480' -'480','val_480','480','val_480' -'481','val_481','481','val_481' -'482','val_482','482','val_482' -'483','val_483','483','val_483' -'484','val_484','484','val_484' -'485','val_485','485','val_485' -'487','val_487','487','val_487' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'490','val_490','490','val_490' -'491','val_491','491','val_491' -'492','val_492','492','val_492' -'492','val_492','492','val_492' -'492','val_492','492','val_492' -'492','val_492','492','val_492' -'493','val_493','493','val_493' -'494','val_494','494','val_494' -'495','val_495','495','val_495' -'496','val_496','496','val_496' -'497','val_497','497','val_497' -'498','val_498','498','val_498' -'498','val_498','498','val_498' -'498','val_498','498','val_498' -'498','val_498','498','val_498' -'498','val_498','498','val_498' -'498','val_498','498','val_498' -'498','val_498','498','val_498' -'498','val_498','498','val_498' -'498','val_498','498','val_498' -1,028 rows selected ->>> ->>> insert overwrite table normal_join_results select * from smb_bucket4_1 a join smb_bucket4_2 b on a.key = b.key; -'key','value','key','value' -No rows selected ->>> ->>> select sum(hash(k1)) as k1, sum(hash(k2)) as k2, sum(hash(v1)) as v1, sum(hash(v2)) as v2 from normal_join_results; -'k1','k2','v1','v2' -'278697','278697','101852390308','101852390308' -1 row selected ->>> select sum(hash(k1)) as k1, sum(hash(k2)) as k2, sum(hash(v1)) as v1, sum(hash(v2)) as v2 from smb_join_results; -'k1','k2','v1','v2' -'278697','278697','101852390308','101852390308' -1 row selected ->>> ->>> ->>> explain -insert overwrite table smb_join_results -select /*+mapjoin(b)*/ * from smb_bucket4_1 a join smb_bucket4_2 b on a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME smb_bucket4_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket4_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME smb_join_results))) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'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' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: smb_mapjoin_6.smb_join_results' -'' -' 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: smb_mapjoin_6.smb_join_results' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -72 rows selected ->>> insert overwrite table smb_join_results -select /*+mapjoin(b)*/ * from smb_bucket4_1 a join smb_bucket4_2 b on a.key = b.key; -'key','value','key','value' -No rows selected ->>> ->>> ->>> insert overwrite table smb_join_results -select /*+mapjoin(a)*/ * from smb_bucket4_1 a join smb_bucket4_2 b on a.key = b.key; -'key','value','key','value' -No rows selected ->>> ->>> select * from smb_join_results order by k1; -'k1','v1','k2','v2' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'2','val_2','2','val_2' -'4','val_4','4','val_4' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'8','val_8','8','val_8' -'9','val_9','9','val_9' -'10','val_10','10','val_10' -'11','val_11','11','val_11' -'12','val_12','12','val_12' -'12','val_12','12','val_12' -'12','val_12','12','val_12' -'12','val_12','12','val_12' -'15','val_15','15','val_15' -'15','val_15','15','val_15' -'15','val_15','15','val_15' -'15','val_15','15','val_15' -'17','val_17','17','val_17' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'18','val_18','18','val_18' -'19','val_19','19','val_19' -'20','val_20','20','val_20' -'24','val_24','24','val_24' -'24','val_24','24','val_24' -'24','val_24','24','val_24' -'24','val_24','24','val_24' -'26','val_26','26','val_26' -'26','val_26','26','val_26' -'26','val_26','26','val_26' -'26','val_26','26','val_26' -'27','val_27','27','val_27' -'28','val_28','28','val_28' -'30','val_30','30','val_30' -'33','val_33','33','val_33' -'34','val_34','34','val_34' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'35','val_35','35','val_35' -'37','val_37','37','val_37' -'37','val_37','37','val_37' -'37','val_37','37','val_37' -'37','val_37','37','val_37' -'41','val_41','41','val_41' -'42','val_42','42','val_42' -'42','val_42','42','val_42' -'42','val_42','42','val_42' -'42','val_42','42','val_42' -'43','val_43','43','val_43' -'44','val_44','44','val_44' -'47','val_47','47','val_47' -'51','val_51','51','val_51' -'51','val_51','51','val_51' -'51','val_51','51','val_51' -'51','val_51','51','val_51' -'53','val_53','53','val_53' -'54','val_54','54','val_54' -'57','val_57','57','val_57' -'58','val_58','58','val_58' -'58','val_58','58','val_58' -'58','val_58','58','val_58' -'58','val_58','58','val_58' -'64','val_64','64','val_64' -'65','val_65','65','val_65' -'66','val_66','66','val_66' -'67','val_67','67','val_67' -'67','val_67','67','val_67' -'67','val_67','67','val_67' -'67','val_67','67','val_67' -'69','val_69','69','val_69' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'70','val_70','70','val_70' -'72','val_72','72','val_72' -'72','val_72','72','val_72' -'72','val_72','72','val_72' -'72','val_72','72','val_72' -'74','val_74','74','val_74' -'76','val_76','76','val_76' -'76','val_76','76','val_76' -'76','val_76','76','val_76' -'76','val_76','76','val_76' -'77','val_77','77','val_77' -'78','val_78','78','val_78' -'80','val_80','80','val_80' -'82','val_82','82','val_82' -'83','val_83','83','val_83' -'83','val_83','83','val_83' -'83','val_83','83','val_83' -'83','val_83','83','val_83' -'84','val_84','84','val_84' -'84','val_84','84','val_84' -'84','val_84','84','val_84' -'84','val_84','84','val_84' -'85','val_85','85','val_85' -'86','val_86','86','val_86' -'87','val_87','87','val_87' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'90','val_90','90','val_90' -'92','val_92','92','val_92' -'95','val_95','95','val_95' -'95','val_95','95','val_95' -'95','val_95','95','val_95' -'95','val_95','95','val_95' -'96','val_96','96','val_96' -'97','val_97','97','val_97' -'97','val_97','97','val_97' -'97','val_97','97','val_97' -'97','val_97','97','val_97' -'98','val_98','98','val_98' -'98','val_98','98','val_98' -'98','val_98','98','val_98' -'98','val_98','98','val_98' -'100','val_100','100','val_100' -'100','val_100','100','val_100' -'100','val_100','100','val_100' -'100','val_100','100','val_100' -'103','val_103','103','val_103' -'103','val_103','103','val_103' -'103','val_103','103','val_103' -'103','val_103','103','val_103' -'104','val_104','104','val_104' -'104','val_104','104','val_104' -'104','val_104','104','val_104' -'104','val_104','104','val_104' -'105','val_105','105','val_105' -'111','val_111','111','val_111' -'113','val_113','113','val_113' -'113','val_113','113','val_113' -'113','val_113','113','val_113' -'113','val_113','113','val_113' -'114','val_114','114','val_114' -'116','val_116','116','val_116' -'118','val_118','118','val_118' -'118','val_118','118','val_118' -'118','val_118','118','val_118' -'118','val_118','118','val_118' -'119','val_119','119','val_119' -'119','val_119','119','val_119' -'119','val_119','119','val_119' -'119','val_119','119','val_119' -'119','val_119','119','val_119' -'119','val_119','119','val_119' -'119','val_119','119','val_119' -'119','val_119','119','val_119' -'119','val_119','119','val_119' -'120','val_120','120','val_120' -'120','val_120','120','val_120' -'120','val_120','120','val_120' -'120','val_120','120','val_120' -'125','val_125','125','val_125' -'125','val_125','125','val_125' -'125','val_125','125','val_125' -'125','val_125','125','val_125' -'126','val_126','126','val_126' -'128','val_128','128','val_128' -'128','val_128','128','val_128' -'128','val_128','128','val_128' -'128','val_128','128','val_128' -'128','val_128','128','val_128' -'128','val_128','128','val_128' -'128','val_128','128','val_128' -'128','val_128','128','val_128' -'128','val_128','128','val_128' -'129','val_129','129','val_129' -'129','val_129','129','val_129' -'129','val_129','129','val_129' -'129','val_129','129','val_129' -'131','val_131','131','val_131' -'133','val_133','133','val_133' -'134','val_134','134','val_134' -'134','val_134','134','val_134' -'134','val_134','134','val_134' -'134','val_134','134','val_134' -'136','val_136','136','val_136' -'137','val_137','137','val_137' -'137','val_137','137','val_137' -'137','val_137','137','val_137' -'137','val_137','137','val_137' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'138','val_138','138','val_138' -'143','val_143','143','val_143' -'145','val_145','145','val_145' -'146','val_146','146','val_146' -'146','val_146','146','val_146' -'146','val_146','146','val_146' -'146','val_146','146','val_146' -'149','val_149','149','val_149' -'149','val_149','149','val_149' -'149','val_149','149','val_149' -'149','val_149','149','val_149' -'150','val_150','150','val_150' -'152','val_152','152','val_152' -'152','val_152','152','val_152' -'152','val_152','152','val_152' -'152','val_152','152','val_152' -'153','val_153','153','val_153' -'155','val_155','155','val_155' -'156','val_156','156','val_156' -'157','val_157','157','val_157' -'158','val_158','158','val_158' -'160','val_160','160','val_160' -'162','val_162','162','val_162' -'163','val_163','163','val_163' -'164','val_164','164','val_164' -'164','val_164','164','val_164' -'164','val_164','164','val_164' -'164','val_164','164','val_164' -'165','val_165','165','val_165' -'165','val_165','165','val_165' -'165','val_165','165','val_165' -'165','val_165','165','val_165' -'166','val_166','166','val_166' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'167','val_167','167','val_167' -'168','val_168','168','val_168' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'169','val_169','169','val_169' -'170','val_170','170','val_170' -'172','val_172','172','val_172' -'172','val_172','172','val_172' -'172','val_172','172','val_172' -'172','val_172','172','val_172' -'174','val_174','174','val_174' -'174','val_174','174','val_174' -'174','val_174','174','val_174' -'174','val_174','174','val_174' -'175','val_175','175','val_175' -'175','val_175','175','val_175' -'175','val_175','175','val_175' -'175','val_175','175','val_175' -'176','val_176','176','val_176' -'176','val_176','176','val_176' -'176','val_176','176','val_176' -'176','val_176','176','val_176' -'177','val_177','177','val_177' -'178','val_178','178','val_178' -'179','val_179','179','val_179' -'179','val_179','179','val_179' -'179','val_179','179','val_179' -'179','val_179','179','val_179' -'180','val_180','180','val_180' -'181','val_181','181','val_181' -'183','val_183','183','val_183' -'186','val_186','186','val_186' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'187','val_187','187','val_187' -'189','val_189','189','val_189' -'190','val_190','190','val_190' -'191','val_191','191','val_191' -'191','val_191','191','val_191' -'191','val_191','191','val_191' -'191','val_191','191','val_191' -'192','val_192','192','val_192' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'193','val_193','193','val_193' -'194','val_194','194','val_194' -'195','val_195','195','val_195' -'195','val_195','195','val_195' -'195','val_195','195','val_195' -'195','val_195','195','val_195' -'196','val_196','196','val_196' -'197','val_197','197','val_197' -'197','val_197','197','val_197' -'197','val_197','197','val_197' -'197','val_197','197','val_197' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'199','val_199','199','val_199' -'200','val_200','200','val_200' -'200','val_200','200','val_200' -'200','val_200','200','val_200' -'200','val_200','200','val_200' -'201','val_201','201','val_201' -'202','val_202','202','val_202' -'203','val_203','203','val_203' -'203','val_203','203','val_203' -'203','val_203','203','val_203' -'203','val_203','203','val_203' -'205','val_205','205','val_205' -'205','val_205','205','val_205' -'205','val_205','205','val_205' -'205','val_205','205','val_205' -'207','val_207','207','val_207' -'207','val_207','207','val_207' -'207','val_207','207','val_207' -'207','val_207','207','val_207' -'208','val_208','208','val_208' -'208','val_208','208','val_208' -'208','val_208','208','val_208' -'208','val_208','208','val_208' -'208','val_208','208','val_208' -'208','val_208','208','val_208' -'208','val_208','208','val_208' -'208','val_208','208','val_208' -'208','val_208','208','val_208' -'209','val_209','209','val_209' -'209','val_209','209','val_209' -'209','val_209','209','val_209' -'209','val_209','209','val_209' -'213','val_213','213','val_213' -'213','val_213','213','val_213' -'213','val_213','213','val_213' -'213','val_213','213','val_213' -'214','val_214','214','val_214' -'216','val_216','216','val_216' -'216','val_216','216','val_216' -'216','val_216','216','val_216' -'216','val_216','216','val_216' -'217','val_217','217','val_217' -'217','val_217','217','val_217' -'217','val_217','217','val_217' -'217','val_217','217','val_217' -'218','val_218','218','val_218' -'219','val_219','219','val_219' -'219','val_219','219','val_219' -'219','val_219','219','val_219' -'219','val_219','219','val_219' -'221','val_221','221','val_221' -'221','val_221','221','val_221' -'221','val_221','221','val_221' -'221','val_221','221','val_221' -'222','val_222','222','val_222' -'223','val_223','223','val_223' -'223','val_223','223','val_223' -'223','val_223','223','val_223' -'223','val_223','223','val_223' -'224','val_224','224','val_224' -'224','val_224','224','val_224' -'224','val_224','224','val_224' -'224','val_224','224','val_224' -'226','val_226','226','val_226' -'228','val_228','228','val_228' -'229','val_229','229','val_229' -'229','val_229','229','val_229' -'229','val_229','229','val_229' -'229','val_229','229','val_229' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'230','val_230','230','val_230' -'233','val_233','233','val_233' -'233','val_233','233','val_233' -'233','val_233','233','val_233' -'233','val_233','233','val_233' -'235','val_235','235','val_235' -'237','val_237','237','val_237' -'237','val_237','237','val_237' -'237','val_237','237','val_237' -'237','val_237','237','val_237' -'238','val_238','238','val_238' -'238','val_238','238','val_238' -'238','val_238','238','val_238' -'238','val_238','238','val_238' -'239','val_239','239','val_239' -'239','val_239','239','val_239' -'239','val_239','239','val_239' -'239','val_239','239','val_239' -'241','val_241','241','val_241' -'242','val_242','242','val_242' -'242','val_242','242','val_242' -'242','val_242','242','val_242' -'242','val_242','242','val_242' -'244','val_244','244','val_244' -'247','val_247','247','val_247' -'248','val_248','248','val_248' -'249','val_249','249','val_249' -'252','val_252','252','val_252' -'255','val_255','255','val_255' -'255','val_255','255','val_255' -'255','val_255','255','val_255' -'255','val_255','255','val_255' -'256','val_256','256','val_256' -'256','val_256','256','val_256' -'256','val_256','256','val_256' -'256','val_256','256','val_256' -'257','val_257','257','val_257' -'258','val_258','258','val_258' -'260','val_260','260','val_260' -'262','val_262','262','val_262' -'263','val_263','263','val_263' -'265','val_265','265','val_265' -'265','val_265','265','val_265' -'265','val_265','265','val_265' -'265','val_265','265','val_265' -'266','val_266','266','val_266' -'272','val_272','272','val_272' -'272','val_272','272','val_272' -'272','val_272','272','val_272' -'272','val_272','272','val_272' -'273','val_273','273','val_273' -'273','val_273','273','val_273' -'273','val_273','273','val_273' -'273','val_273','273','val_273' -'273','val_273','273','val_273' -'273','val_273','273','val_273' -'273','val_273','273','val_273' -'273','val_273','273','val_273' -'273','val_273','273','val_273' -'274','val_274','274','val_274' -'275','val_275','275','val_275' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'277','val_277','277','val_277' -'278','val_278','278','val_278' -'278','val_278','278','val_278' -'278','val_278','278','val_278' -'278','val_278','278','val_278' -'280','val_280','280','val_280' -'280','val_280','280','val_280' -'280','val_280','280','val_280' -'280','val_280','280','val_280' -'281','val_281','281','val_281' -'281','val_281','281','val_281' -'281','val_281','281','val_281' -'281','val_281','281','val_281' -'282','val_282','282','val_282' -'282','val_282','282','val_282' -'282','val_282','282','val_282' -'282','val_282','282','val_282' -'283','val_283','283','val_283' -'284','val_284','284','val_284' -'285','val_285','285','val_285' -'286','val_286','286','val_286' -'287','val_287','287','val_287' -'288','val_288','288','val_288' -'288','val_288','288','val_288' -'288','val_288','288','val_288' -'288','val_288','288','val_288' -'289','val_289','289','val_289' -'291','val_291','291','val_291' -'292','val_292','292','val_292' -'296','val_296','296','val_296' -'298','val_298','298','val_298' -'298','val_298','298','val_298' -'298','val_298','298','val_298' -'298','val_298','298','val_298' -'298','val_298','298','val_298' -'298','val_298','298','val_298' -'298','val_298','298','val_298' -'298','val_298','298','val_298' -'298','val_298','298','val_298' -'302','val_302','302','val_302' -'305','val_305','305','val_305' -'306','val_306','306','val_306' -'307','val_307','307','val_307' -'307','val_307','307','val_307' -'307','val_307','307','val_307' -'307','val_307','307','val_307' -'308','val_308','308','val_308' -'309','val_309','309','val_309' -'309','val_309','309','val_309' -'309','val_309','309','val_309' -'309','val_309','309','val_309' -'310','val_310','310','val_310' -'311','val_311','311','val_311' -'311','val_311','311','val_311' -'311','val_311','311','val_311' -'311','val_311','311','val_311' -'311','val_311','311','val_311' -'311','val_311','311','val_311' -'311','val_311','311','val_311' -'311','val_311','311','val_311' -'311','val_311','311','val_311' -'315','val_315','315','val_315' -'316','val_316','316','val_316' -'316','val_316','316','val_316' -'316','val_316','316','val_316' -'316','val_316','316','val_316' -'316','val_316','316','val_316' -'316','val_316','316','val_316' -'316','val_316','316','val_316' -'316','val_316','316','val_316' -'316','val_316','316','val_316' -'317','val_317','317','val_317' -'317','val_317','317','val_317' -'317','val_317','317','val_317' -'317','val_317','317','val_317' -'318','val_318','318','val_318' -'318','val_318','318','val_318' -'318','val_318','318','val_318' -'318','val_318','318','val_318' -'318','val_318','318','val_318' -'318','val_318','318','val_318' -'318','val_318','318','val_318' -'318','val_318','318','val_318' -'318','val_318','318','val_318' -'321','val_321','321','val_321' -'321','val_321','321','val_321' -'321','val_321','321','val_321' -'321','val_321','321','val_321' -'322','val_322','322','val_322' -'322','val_322','322','val_322' -'322','val_322','322','val_322' -'322','val_322','322','val_322' -'323','val_323','323','val_323' -'325','val_325','325','val_325' -'325','val_325','325','val_325' -'325','val_325','325','val_325' -'325','val_325','325','val_325' -'327','val_327','327','val_327' -'327','val_327','327','val_327' -'327','val_327','327','val_327' -'327','val_327','327','val_327' -'327','val_327','327','val_327' -'327','val_327','327','val_327' -'327','val_327','327','val_327' -'327','val_327','327','val_327' -'327','val_327','327','val_327' -'331','val_331','331','val_331' -'331','val_331','331','val_331' -'331','val_331','331','val_331' -'331','val_331','331','val_331' -'332','val_332','332','val_332' -'333','val_333','333','val_333' -'333','val_333','333','val_333' -'333','val_333','333','val_333' -'333','val_333','333','val_333' -'335','val_335','335','val_335' -'336','val_336','336','val_336' -'338','val_338','338','val_338' -'339','val_339','339','val_339' -'341','val_341','341','val_341' -'342','val_342','342','val_342' -'342','val_342','342','val_342' -'342','val_342','342','val_342' -'342','val_342','342','val_342' -'344','val_344','344','val_344' -'344','val_344','344','val_344' -'344','val_344','344','val_344' -'344','val_344','344','val_344' -'345','val_345','345','val_345' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'348','val_348','348','val_348' -'351','val_351','351','val_351' -'353','val_353','353','val_353' -'353','val_353','353','val_353' -'353','val_353','353','val_353' -'353','val_353','353','val_353' -'356','val_356','356','val_356' -'360','val_360','360','val_360' -'362','val_362','362','val_362' -'364','val_364','364','val_364' -'365','val_365','365','val_365' -'366','val_366','366','val_366' -'367','val_367','367','val_367' -'367','val_367','367','val_367' -'367','val_367','367','val_367' -'367','val_367','367','val_367' -'368','val_368','368','val_368' -'369','val_369','369','val_369' -'369','val_369','369','val_369' -'369','val_369','369','val_369' -'369','val_369','369','val_369' -'369','val_369','369','val_369' -'369','val_369','369','val_369' -'369','val_369','369','val_369' -'369','val_369','369','val_369' -'369','val_369','369','val_369' -'373','val_373','373','val_373' -'374','val_374','374','val_374' -'375','val_375','375','val_375' -'377','val_377','377','val_377' -'378','val_378','378','val_378' -'379','val_379','379','val_379' -'382','val_382','382','val_382' -'382','val_382','382','val_382' -'382','val_382','382','val_382' -'382','val_382','382','val_382' -'384','val_384','384','val_384' -'384','val_384','384','val_384' -'384','val_384','384','val_384' -'384','val_384','384','val_384' -'384','val_384','384','val_384' -'384','val_384','384','val_384' -'384','val_384','384','val_384' -'384','val_384','384','val_384' -'384','val_384','384','val_384' -'386','val_386','386','val_386' -'389','val_389','389','val_389' -'392','val_392','392','val_392' -'393','val_393','393','val_393' -'394','val_394','394','val_394' -'395','val_395','395','val_395' -'395','val_395','395','val_395' -'395','val_395','395','val_395' -'395','val_395','395','val_395' -'396','val_396','396','val_396' -'396','val_396','396','val_396' -'396','val_396','396','val_396' -'396','val_396','396','val_396' -'396','val_396','396','val_396' -'396','val_396','396','val_396' -'396','val_396','396','val_396' -'396','val_396','396','val_396' -'396','val_396','396','val_396' -'397','val_397','397','val_397' -'397','val_397','397','val_397' -'397','val_397','397','val_397' -'397','val_397','397','val_397' -'399','val_399','399','val_399' -'399','val_399','399','val_399' -'399','val_399','399','val_399' -'399','val_399','399','val_399' -'400','val_400','400','val_400' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'401','val_401','401','val_401' -'402','val_402','402','val_402' -'403','val_403','403','val_403' -'403','val_403','403','val_403' -'403','val_403','403','val_403' -'403','val_403','403','val_403' -'403','val_403','403','val_403' -'403','val_403','403','val_403' -'403','val_403','403','val_403' -'403','val_403','403','val_403' -'403','val_403','403','val_403' -'404','val_404','404','val_404' -'404','val_404','404','val_404' -'404','val_404','404','val_404' -'404','val_404','404','val_404' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'406','val_406','406','val_406' -'407','val_407','407','val_407' -'409','val_409','409','val_409' -'409','val_409','409','val_409' -'409','val_409','409','val_409' -'409','val_409','409','val_409' -'409','val_409','409','val_409' -'409','val_409','409','val_409' -'409','val_409','409','val_409' -'409','val_409','409','val_409' -'409','val_409','409','val_409' -'411','val_411','411','val_411' -'413','val_413','413','val_413' -'413','val_413','413','val_413' -'413','val_413','413','val_413' -'413','val_413','413','val_413' -'414','val_414','414','val_414' -'414','val_414','414','val_414' -'414','val_414','414','val_414' -'414','val_414','414','val_414' -'417','val_417','417','val_417' -'417','val_417','417','val_417' -'417','val_417','417','val_417' -'417','val_417','417','val_417' -'417','val_417','417','val_417' -'417','val_417','417','val_417' -'417','val_417','417','val_417' -'417','val_417','417','val_417' -'417','val_417','417','val_417' -'418','val_418','418','val_418' -'419','val_419','419','val_419' -'421','val_421','421','val_421' -'424','val_424','424','val_424' -'424','val_424','424','val_424' -'424','val_424','424','val_424' -'424','val_424','424','val_424' -'427','val_427','427','val_427' -'429','val_429','429','val_429' -'429','val_429','429','val_429' -'429','val_429','429','val_429' -'429','val_429','429','val_429' -'430','val_430','430','val_430' -'430','val_430','430','val_430' -'430','val_430','430','val_430' -'430','val_430','430','val_430' -'430','val_430','430','val_430' -'430','val_430','430','val_430' -'430','val_430','430','val_430' -'430','val_430','430','val_430' -'430','val_430','430','val_430' -'431','val_431','431','val_431' -'431','val_431','431','val_431' -'431','val_431','431','val_431' -'431','val_431','431','val_431' -'431','val_431','431','val_431' -'431','val_431','431','val_431' -'431','val_431','431','val_431' -'431','val_431','431','val_431' -'431','val_431','431','val_431' -'432','val_432','432','val_432' -'435','val_435','435','val_435' -'436','val_436','436','val_436' -'437','val_437','437','val_437' -'438','val_438','438','val_438' -'438','val_438','438','val_438' -'438','val_438','438','val_438' -'438','val_438','438','val_438' -'438','val_438','438','val_438' -'438','val_438','438','val_438' -'438','val_438','438','val_438' -'438','val_438','438','val_438' -'438','val_438','438','val_438' -'439','val_439','439','val_439' -'439','val_439','439','val_439' -'439','val_439','439','val_439' -'439','val_439','439','val_439' -'443','val_443','443','val_443' -'444','val_444','444','val_444' -'446','val_446','446','val_446' -'448','val_448','448','val_448' -'449','val_449','449','val_449' -'452','val_452','452','val_452' -'453','val_453','453','val_453' -'454','val_454','454','val_454' -'454','val_454','454','val_454' -'454','val_454','454','val_454' -'454','val_454','454','val_454' -'454','val_454','454','val_454' -'454','val_454','454','val_454' -'454','val_454','454','val_454' -'454','val_454','454','val_454' -'454','val_454','454','val_454' -'455','val_455','455','val_455' -'457','val_457','457','val_457' -'458','val_458','458','val_458' -'458','val_458','458','val_458' -'458','val_458','458','val_458' -'458','val_458','458','val_458' -'459','val_459','459','val_459' -'459','val_459','459','val_459' -'459','val_459','459','val_459' -'459','val_459','459','val_459' -'460','val_460','460','val_460' -'462','val_462','462','val_462' -'462','val_462','462','val_462' -'462','val_462','462','val_462' -'462','val_462','462','val_462' -'463','val_463','463','val_463' -'463','val_463','463','val_463' -'463','val_463','463','val_463' -'463','val_463','463','val_463' -'466','val_466','466','val_466' -'466','val_466','466','val_466' -'466','val_466','466','val_466' -'466','val_466','466','val_466' -'466','val_466','466','val_466' -'466','val_466','466','val_466' -'466','val_466','466','val_466' -'466','val_466','466','val_466' -'466','val_466','466','val_466' -'467','val_467','467','val_467' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'468','val_468','468','val_468' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'469','val_469','469','val_469' -'470','val_470','470','val_470' -'472','val_472','472','val_472' -'475','val_475','475','val_475' -'477','val_477','477','val_477' -'478','val_478','478','val_478' -'478','val_478','478','val_478' -'478','val_478','478','val_478' -'478','val_478','478','val_478' -'479','val_479','479','val_479' -'480','val_480','480','val_480' -'480','val_480','480','val_480' -'480','val_480','480','val_480' -'480','val_480','480','val_480' -'480','val_480','480','val_480' -'480','val_480','480','val_480' -'480','val_480','480','val_480' -'480','val_480','480','val_480' -'480','val_480','480','val_480' -'481','val_481','481','val_481' -'482','val_482','482','val_482' -'483','val_483','483','val_483' -'484','val_484','484','val_484' -'485','val_485','485','val_485' -'487','val_487','487','val_487' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'489','val_489','489','val_489' -'490','val_490','490','val_490' -'491','val_491','491','val_491' -'492','val_492','492','val_492' -'492','val_492','492','val_492' -'492','val_492','492','val_492' -'492','val_492','492','val_492' -'493','val_493','493','val_493' -'494','val_494','494','val_494' -'495','val_495','495','val_495' -'496','val_496','496','val_496' -'497','val_497','497','val_497' -'498','val_498','498','val_498' -'498','val_498','498','val_498' -'498','val_498','498','val_498' -'498','val_498','498','val_498' -'498','val_498','498','val_498' -'498','val_498','498','val_498' -'498','val_498','498','val_498' -'498','val_498','498','val_498' -'498','val_498','498','val_498' -1,028 rows selected ->>> ->>> insert overwrite table normal_join_results select * from smb_bucket4_1 a join smb_bucket4_2 b on a.key = b.key; -'key','value','key','value' -No rows selected ->>> ->>> select sum(hash(k1)) as k1, sum(hash(k2)) as k2, sum(hash(v1)) as v1, sum(hash(v2)) as v2 from normal_join_results; -'k1','k2','v1','v2' -'278697','278697','101852390308','101852390308' -1 row selected ->>> select sum(hash(k1)) as k1, sum(hash(k2)) as k2, sum(hash(v1)) as v1, sum(hash(v2)) as v2 from smb_join_results; -'k1','k2','v1','v2' -'278697','278697','101852390308','101852390308' -1 row selected ->>> ->>> ->>> explain -insert overwrite table smb_join_results -select /*+mapjoin(a)*/ * from smb_bucket4_1 a join smb_bucket4_2 b on a.key = b.key where a.key>1000; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME smb_bucket4_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket4_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME smb_join_results))) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (> (. (TOK_TABLE_OR_COL a) key) 1000))))' -'' -'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' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (key > 1000)' -' type: boolean' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: smb_mapjoin_6.smb_join_results' -'' -' 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: smb_mapjoin_6.smb_join_results' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -76 rows selected ->>> insert overwrite table smb_join_results -select /*+mapjoin(a)*/ * from smb_bucket4_1 a join smb_bucket4_2 b on a.key = b.key where a.key>1000; -'key','value','key','value' -No rows selected ->>> ->>> ->>> explain -insert overwrite table smb_join_results -select /*+mapjoin(b)*/ * from smb_bucket4_1 a join smb_bucket4_2 b on a.key = b.key where a.key>1000; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME smb_bucket4_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket4_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME smb_join_results))) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (> (. (TOK_TABLE_OR_COL a) key) 1000))))' -'' -'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' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (key > 1000)' -' type: boolean' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: smb_mapjoin_6.smb_join_results' -'' -' 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: smb_mapjoin_6.smb_join_results' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -76 rows selected ->>> insert overwrite table smb_join_results -select /*+mapjoin(b)*/ * from smb_bucket4_1 a join smb_bucket4_2 b on a.key = b.key where a.key>1000; -'key','value','key','value' -No rows selected ->>> ->>> ->>> explain -select /*+mapjoin(b,c)*/ * from smb_bucket4_1 a join smb_bucket4_2 b on a.key = b.key join smb_bucket4_2 c on b.key = c.key where a.key>1000; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_JOIN (TOK_TABREF (TOK_TABNAME smb_bucket4_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket4_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))) (TOK_TABREF (TOK_TABNAME smb_bucket4_2) c) (= (. (TOK_TABLE_OR_COL b) key) (. (TOK_TABLE_OR_COL c) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b c))) (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (> (. (TOK_TABLE_OR_COL a) key) 1000))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (key > 1000)' -' type: boolean' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' Inner Join 1 to 2' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' 2 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' 2 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5, _col8, _col9' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' expr: _col8' -' type: int' -' expr: _col9' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -75 rows selected ->>> select /*+mapjoin(b,c)*/ * from smb_bucket4_1 a join smb_bucket4_2 b on a.key = b.key join smb_bucket4_2 c on b.key = c.key where a.key>1000; -'key','value','key','value','key','value' -No rows selected ->>> ->>> ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/smb_mapjoin_7.q.out ql/src/test/results/beelinepositive/smb_mapjoin_7.q.out deleted file mode 100644 index 83d3e54..0000000 --- ql/src/test/results/beelinepositive/smb_mapjoin_7.q.out +++ /dev/null @@ -1,1168 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/smb_mapjoin_7.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/smb_mapjoin_7.q ->>> set hive.enforce.bucketing = true; -No rows affected ->>> set hive.enforce.sorting = true; -No rows affected ->>> set hive.exec.reducers.max = 1; -No rows affected ->>> ->>> ->>> CREATE TABLE smb_bucket4_1(key int, value string) CLUSTERED BY (key) SORTED BY (key) INTO 2 BUCKETS; -No rows affected ->>> ->>> ->>> CREATE TABLE smb_bucket4_2(key int, value string) CLUSTERED BY (key) SORTED BY (key) INTO 2 BUCKETS; -No rows affected ->>> ->>> ->>> ->>> ->>> create table smb_join_results(k1 int, v1 string, k2 int, v2 string); -No rows affected ->>> create table smb_join_results_empty_bigtable(k1 int, v1 string, k2 int, v2 string); -No rows affected ->>> create table normal_join_results(k1 int, v1 string, k2 int, v2 string); -No rows affected ->>> ->>> load data local inpath '../data/files/empty1.txt' into table smb_bucket4_1; -No rows affected ->>> load data local inpath '../data/files/empty2.txt' into table smb_bucket4_1; -No rows affected ->>> ->>> insert overwrite table smb_bucket4_2 -select * from src; -'_col0','_col1' -No rows selected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> set hive.optimize.bucketmapjoin.sortedmerge = true; -No rows affected ->>> set hive.input.format = org.apache.hadoop.hive.ql.io.BucketizedHiveInputFormat; -No rows affected ->>> ->>> insert overwrite table smb_join_results_empty_bigtable -select /*+mapjoin(b)*/ * from smb_bucket4_1 a full outer join smb_bucket4_2 b on a.key = b.key; -'key','value','key','value' -No rows selected ->>> ->>> insert overwrite table smb_join_results_empty_bigtable -select /*+mapjoin(b)*/ * from smb_bucket4_1 a full outer join smb_bucket4_2 b on a.key = b.key; -'key','value','key','value' -No rows selected ->>> ->>> select * from smb_join_results_empty_bigtable order by k1, v1, k2, v2; -'k1','v1','k2','v2' -'','','0','val_0' -'','','0','val_0' -'','','0','val_0' -'','','2','val_2' -'','','4','val_4' -'','','5','val_5' -'','','5','val_5' -'','','5','val_5' -'','','8','val_8' -'','','9','val_9' -'','','10','val_10' -'','','11','val_11' -'','','12','val_12' -'','','12','val_12' -'','','15','val_15' -'','','15','val_15' -'','','17','val_17' -'','','18','val_18' -'','','18','val_18' -'','','19','val_19' -'','','20','val_20' -'','','24','val_24' -'','','24','val_24' -'','','26','val_26' -'','','26','val_26' -'','','27','val_27' -'','','28','val_28' -'','','30','val_30' -'','','33','val_33' -'','','34','val_34' -'','','35','val_35' -'','','35','val_35' -'','','35','val_35' -'','','37','val_37' -'','','37','val_37' -'','','41','val_41' -'','','42','val_42' -'','','42','val_42' -'','','43','val_43' -'','','44','val_44' -'','','47','val_47' -'','','51','val_51' -'','','51','val_51' -'','','53','val_53' -'','','54','val_54' -'','','57','val_57' -'','','58','val_58' -'','','58','val_58' -'','','64','val_64' -'','','65','val_65' -'','','66','val_66' -'','','67','val_67' -'','','67','val_67' -'','','69','val_69' -'','','70','val_70' -'','','70','val_70' -'','','70','val_70' -'','','72','val_72' -'','','72','val_72' -'','','74','val_74' -'','','76','val_76' -'','','76','val_76' -'','','77','val_77' -'','','78','val_78' -'','','80','val_80' -'','','82','val_82' -'','','83','val_83' -'','','83','val_83' -'','','84','val_84' -'','','84','val_84' -'','','85','val_85' -'','','86','val_86' -'','','87','val_87' -'','','90','val_90' -'','','90','val_90' -'','','90','val_90' -'','','92','val_92' -'','','95','val_95' -'','','95','val_95' -'','','96','val_96' -'','','97','val_97' -'','','97','val_97' -'','','98','val_98' -'','','98','val_98' -'','','100','val_100' -'','','100','val_100' -'','','103','val_103' -'','','103','val_103' -'','','104','val_104' -'','','104','val_104' -'','','105','val_105' -'','','111','val_111' -'','','113','val_113' -'','','113','val_113' -'','','114','val_114' -'','','116','val_116' -'','','118','val_118' -'','','118','val_118' -'','','119','val_119' -'','','119','val_119' -'','','119','val_119' -'','','120','val_120' -'','','120','val_120' -'','','125','val_125' -'','','125','val_125' -'','','126','val_126' -'','','128','val_128' -'','','128','val_128' -'','','128','val_128' -'','','129','val_129' -'','','129','val_129' -'','','131','val_131' -'','','133','val_133' -'','','134','val_134' -'','','134','val_134' -'','','136','val_136' -'','','137','val_137' -'','','137','val_137' -'','','138','val_138' -'','','138','val_138' -'','','138','val_138' -'','','138','val_138' -'','','143','val_143' -'','','145','val_145' -'','','146','val_146' -'','','146','val_146' -'','','149','val_149' -'','','149','val_149' -'','','150','val_150' -'','','152','val_152' -'','','152','val_152' -'','','153','val_153' -'','','155','val_155' -'','','156','val_156' -'','','157','val_157' -'','','158','val_158' -'','','160','val_160' -'','','162','val_162' -'','','163','val_163' -'','','164','val_164' -'','','164','val_164' -'','','165','val_165' -'','','165','val_165' -'','','166','val_166' -'','','167','val_167' -'','','167','val_167' -'','','167','val_167' -'','','168','val_168' -'','','169','val_169' -'','','169','val_169' -'','','169','val_169' -'','','169','val_169' -'','','170','val_170' -'','','172','val_172' -'','','172','val_172' -'','','174','val_174' -'','','174','val_174' -'','','175','val_175' -'','','175','val_175' -'','','176','val_176' -'','','176','val_176' -'','','177','val_177' -'','','178','val_178' -'','','179','val_179' -'','','179','val_179' -'','','180','val_180' -'','','181','val_181' -'','','183','val_183' -'','','186','val_186' -'','','187','val_187' -'','','187','val_187' -'','','187','val_187' -'','','189','val_189' -'','','190','val_190' -'','','191','val_191' -'','','191','val_191' -'','','192','val_192' -'','','193','val_193' -'','','193','val_193' -'','','193','val_193' -'','','194','val_194' -'','','195','val_195' -'','','195','val_195' -'','','196','val_196' -'','','197','val_197' -'','','197','val_197' -'','','199','val_199' -'','','199','val_199' -'','','199','val_199' -'','','200','val_200' -'','','200','val_200' -'','','201','val_201' -'','','202','val_202' -'','','203','val_203' -'','','203','val_203' -'','','205','val_205' -'','','205','val_205' -'','','207','val_207' -'','','207','val_207' -'','','208','val_208' -'','','208','val_208' -'','','208','val_208' -'','','209','val_209' -'','','209','val_209' -'','','213','val_213' -'','','213','val_213' -'','','214','val_214' -'','','216','val_216' -'','','216','val_216' -'','','217','val_217' -'','','217','val_217' -'','','218','val_218' -'','','219','val_219' -'','','219','val_219' -'','','221','val_221' -'','','221','val_221' -'','','222','val_222' -'','','223','val_223' -'','','223','val_223' -'','','224','val_224' -'','','224','val_224' -'','','226','val_226' -'','','228','val_228' -'','','229','val_229' -'','','229','val_229' -'','','230','val_230' -'','','230','val_230' -'','','230','val_230' -'','','230','val_230' -'','','230','val_230' -'','','233','val_233' -'','','233','val_233' -'','','235','val_235' -'','','237','val_237' -'','','237','val_237' -'','','238','val_238' -'','','238','val_238' -'','','239','val_239' -'','','239','val_239' -'','','241','val_241' -'','','242','val_242' -'','','242','val_242' -'','','244','val_244' -'','','247','val_247' -'','','248','val_248' -'','','249','val_249' -'','','252','val_252' -'','','255','val_255' -'','','255','val_255' -'','','256','val_256' -'','','256','val_256' -'','','257','val_257' -'','','258','val_258' -'','','260','val_260' -'','','262','val_262' -'','','263','val_263' -'','','265','val_265' -'','','265','val_265' -'','','266','val_266' -'','','272','val_272' -'','','272','val_272' -'','','273','val_273' -'','','273','val_273' -'','','273','val_273' -'','','274','val_274' -'','','275','val_275' -'','','277','val_277' -'','','277','val_277' -'','','277','val_277' -'','','277','val_277' -'','','278','val_278' -'','','278','val_278' -'','','280','val_280' -'','','280','val_280' -'','','281','val_281' -'','','281','val_281' -'','','282','val_282' -'','','282','val_282' -'','','283','val_283' -'','','284','val_284' -'','','285','val_285' -'','','286','val_286' -'','','287','val_287' -'','','288','val_288' -'','','288','val_288' -'','','289','val_289' -'','','291','val_291' -'','','292','val_292' -'','','296','val_296' -'','','298','val_298' -'','','298','val_298' -'','','298','val_298' -'','','302','val_302' -'','','305','val_305' -'','','306','val_306' -'','','307','val_307' -'','','307','val_307' -'','','308','val_308' -'','','309','val_309' -'','','309','val_309' -'','','310','val_310' -'','','311','val_311' -'','','311','val_311' -'','','311','val_311' -'','','315','val_315' -'','','316','val_316' -'','','316','val_316' -'','','316','val_316' -'','','317','val_317' -'','','317','val_317' -'','','318','val_318' -'','','318','val_318' -'','','318','val_318' -'','','321','val_321' -'','','321','val_321' -'','','322','val_322' -'','','322','val_322' -'','','323','val_323' -'','','325','val_325' -'','','325','val_325' -'','','327','val_327' -'','','327','val_327' -'','','327','val_327' -'','','331','val_331' -'','','331','val_331' -'','','332','val_332' -'','','333','val_333' -'','','333','val_333' -'','','335','val_335' -'','','336','val_336' -'','','338','val_338' -'','','339','val_339' -'','','341','val_341' -'','','342','val_342' -'','','342','val_342' -'','','344','val_344' -'','','344','val_344' -'','','345','val_345' -'','','348','val_348' -'','','348','val_348' -'','','348','val_348' -'','','348','val_348' -'','','348','val_348' -'','','351','val_351' -'','','353','val_353' -'','','353','val_353' -'','','356','val_356' -'','','360','val_360' -'','','362','val_362' -'','','364','val_364' -'','','365','val_365' -'','','366','val_366' -'','','367','val_367' -'','','367','val_367' -'','','368','val_368' -'','','369','val_369' -'','','369','val_369' -'','','369','val_369' -'','','373','val_373' -'','','374','val_374' -'','','375','val_375' -'','','377','val_377' -'','','378','val_378' -'','','379','val_379' -'','','382','val_382' -'','','382','val_382' -'','','384','val_384' -'','','384','val_384' -'','','384','val_384' -'','','386','val_386' -'','','389','val_389' -'','','392','val_392' -'','','393','val_393' -'','','394','val_394' -'','','395','val_395' -'','','395','val_395' -'','','396','val_396' -'','','396','val_396' -'','','396','val_396' -'','','397','val_397' -'','','397','val_397' -'','','399','val_399' -'','','399','val_399' -'','','400','val_400' -'','','401','val_401' -'','','401','val_401' -'','','401','val_401' -'','','401','val_401' -'','','401','val_401' -'','','402','val_402' -'','','403','val_403' -'','','403','val_403' -'','','403','val_403' -'','','404','val_404' -'','','404','val_404' -'','','406','val_406' -'','','406','val_406' -'','','406','val_406' -'','','406','val_406' -'','','407','val_407' -'','','409','val_409' -'','','409','val_409' -'','','409','val_409' -'','','411','val_411' -'','','413','val_413' -'','','413','val_413' -'','','414','val_414' -'','','414','val_414' -'','','417','val_417' -'','','417','val_417' -'','','417','val_417' -'','','418','val_418' -'','','419','val_419' -'','','421','val_421' -'','','424','val_424' -'','','424','val_424' -'','','427','val_427' -'','','429','val_429' -'','','429','val_429' -'','','430','val_430' -'','','430','val_430' -'','','430','val_430' -'','','431','val_431' -'','','431','val_431' -'','','431','val_431' -'','','432','val_432' -'','','435','val_435' -'','','436','val_436' -'','','437','val_437' -'','','438','val_438' -'','','438','val_438' -'','','438','val_438' -'','','439','val_439' -'','','439','val_439' -'','','443','val_443' -'','','444','val_444' -'','','446','val_446' -'','','448','val_448' -'','','449','val_449' -'','','452','val_452' -'','','453','val_453' -'','','454','val_454' -'','','454','val_454' -'','','454','val_454' -'','','455','val_455' -'','','457','val_457' -'','','458','val_458' -'','','458','val_458' -'','','459','val_459' -'','','459','val_459' -'','','460','val_460' -'','','462','val_462' -'','','462','val_462' -'','','463','val_463' -'','','463','val_463' -'','','466','val_466' -'','','466','val_466' -'','','466','val_466' -'','','467','val_467' -'','','468','val_468' -'','','468','val_468' -'','','468','val_468' -'','','468','val_468' -'','','469','val_469' -'','','469','val_469' -'','','469','val_469' -'','','469','val_469' -'','','469','val_469' -'','','470','val_470' -'','','472','val_472' -'','','475','val_475' -'','','477','val_477' -'','','478','val_478' -'','','478','val_478' -'','','479','val_479' -'','','480','val_480' -'','','480','val_480' -'','','480','val_480' -'','','481','val_481' -'','','482','val_482' -'','','483','val_483' -'','','484','val_484' -'','','485','val_485' -'','','487','val_487' -'','','489','val_489' -'','','489','val_489' -'','','489','val_489' -'','','489','val_489' -'','','490','val_490' -'','','491','val_491' -'','','492','val_492' -'','','492','val_492' -'','','493','val_493' -'','','494','val_494' -'','','495','val_495' -'','','496','val_496' -'','','497','val_497' -'','','498','val_498' -'','','498','val_498' -'','','498','val_498' -500 rows selected ->>> ->>> explain -insert overwrite table smb_join_results -select /*+mapjoin(a)*/ * from smb_bucket4_1 a full outer join smb_bucket4_2 b on a.key = b.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_FULLOUTERJOIN (TOK_TABREF (TOK_TABNAME smb_bucket4_1) a) (TOK_TABREF (TOK_TABNAME smb_bucket4_2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME smb_join_results))) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'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' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Outer Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {key} {value}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col4, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col4' -' type: int' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: smb_mapjoin_7.smb_join_results' -'' -' 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: smb_mapjoin_7.smb_join_results' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -72 rows selected ->>> ->>> insert overwrite table smb_join_results -select /*+mapjoin(a)*/ * from smb_bucket4_1 a full outer join smb_bucket4_2 b on a.key = b.key; -'key','value','key','value' -No rows selected ->>> ->>> select * from smb_join_results order by k1, v1, k2, v2; -'k1','v1','k2','v2' -'','','0','val_0' -'','','0','val_0' -'','','0','val_0' -'','','2','val_2' -'','','4','val_4' -'','','5','val_5' -'','','5','val_5' -'','','5','val_5' -'','','8','val_8' -'','','9','val_9' -'','','10','val_10' -'','','11','val_11' -'','','12','val_12' -'','','12','val_12' -'','','15','val_15' -'','','15','val_15' -'','','17','val_17' -'','','18','val_18' -'','','18','val_18' -'','','19','val_19' -'','','20','val_20' -'','','24','val_24' -'','','24','val_24' -'','','26','val_26' -'','','26','val_26' -'','','27','val_27' -'','','28','val_28' -'','','30','val_30' -'','','33','val_33' -'','','34','val_34' -'','','35','val_35' -'','','35','val_35' -'','','35','val_35' -'','','37','val_37' -'','','37','val_37' -'','','41','val_41' -'','','42','val_42' -'','','42','val_42' -'','','43','val_43' -'','','44','val_44' -'','','47','val_47' -'','','51','val_51' -'','','51','val_51' -'','','53','val_53' -'','','54','val_54' -'','','57','val_57' -'','','58','val_58' -'','','58','val_58' -'','','64','val_64' -'','','65','val_65' -'','','66','val_66' -'','','67','val_67' -'','','67','val_67' -'','','69','val_69' -'','','70','val_70' -'','','70','val_70' -'','','70','val_70' -'','','72','val_72' -'','','72','val_72' -'','','74','val_74' -'','','76','val_76' -'','','76','val_76' -'','','77','val_77' -'','','78','val_78' -'','','80','val_80' -'','','82','val_82' -'','','83','val_83' -'','','83','val_83' -'','','84','val_84' -'','','84','val_84' -'','','85','val_85' -'','','86','val_86' -'','','87','val_87' -'','','90','val_90' -'','','90','val_90' -'','','90','val_90' -'','','92','val_92' -'','','95','val_95' -'','','95','val_95' -'','','96','val_96' -'','','97','val_97' -'','','97','val_97' -'','','98','val_98' -'','','98','val_98' -'','','100','val_100' -'','','100','val_100' -'','','103','val_103' -'','','103','val_103' -'','','104','val_104' -'','','104','val_104' -'','','105','val_105' -'','','111','val_111' -'','','113','val_113' -'','','113','val_113' -'','','114','val_114' -'','','116','val_116' -'','','118','val_118' -'','','118','val_118' -'','','119','val_119' -'','','119','val_119' -'','','119','val_119' -'','','120','val_120' -'','','120','val_120' -'','','125','val_125' -'','','125','val_125' -'','','126','val_126' -'','','128','val_128' -'','','128','val_128' -'','','128','val_128' -'','','129','val_129' -'','','129','val_129' -'','','131','val_131' -'','','133','val_133' -'','','134','val_134' -'','','134','val_134' -'','','136','val_136' -'','','137','val_137' -'','','137','val_137' -'','','138','val_138' -'','','138','val_138' -'','','138','val_138' -'','','138','val_138' -'','','143','val_143' -'','','145','val_145' -'','','146','val_146' -'','','146','val_146' -'','','149','val_149' -'','','149','val_149' -'','','150','val_150' -'','','152','val_152' -'','','152','val_152' -'','','153','val_153' -'','','155','val_155' -'','','156','val_156' -'','','157','val_157' -'','','158','val_158' -'','','160','val_160' -'','','162','val_162' -'','','163','val_163' -'','','164','val_164' -'','','164','val_164' -'','','165','val_165' -'','','165','val_165' -'','','166','val_166' -'','','167','val_167' -'','','167','val_167' -'','','167','val_167' -'','','168','val_168' -'','','169','val_169' -'','','169','val_169' -'','','169','val_169' -'','','169','val_169' -'','','170','val_170' -'','','172','val_172' -'','','172','val_172' -'','','174','val_174' -'','','174','val_174' -'','','175','val_175' -'','','175','val_175' -'','','176','val_176' -'','','176','val_176' -'','','177','val_177' -'','','178','val_178' -'','','179','val_179' -'','','179','val_179' -'','','180','val_180' -'','','181','val_181' -'','','183','val_183' -'','','186','val_186' -'','','187','val_187' -'','','187','val_187' -'','','187','val_187' -'','','189','val_189' -'','','190','val_190' -'','','191','val_191' -'','','191','val_191' -'','','192','val_192' -'','','193','val_193' -'','','193','val_193' -'','','193','val_193' -'','','194','val_194' -'','','195','val_195' -'','','195','val_195' -'','','196','val_196' -'','','197','val_197' -'','','197','val_197' -'','','199','val_199' -'','','199','val_199' -'','','199','val_199' -'','','200','val_200' -'','','200','val_200' -'','','201','val_201' -'','','202','val_202' -'','','203','val_203' -'','','203','val_203' -'','','205','val_205' -'','','205','val_205' -'','','207','val_207' -'','','207','val_207' -'','','208','val_208' -'','','208','val_208' -'','','208','val_208' -'','','209','val_209' -'','','209','val_209' -'','','213','val_213' -'','','213','val_213' -'','','214','val_214' -'','','216','val_216' -'','','216','val_216' -'','','217','val_217' -'','','217','val_217' -'','','218','val_218' -'','','219','val_219' -'','','219','val_219' -'','','221','val_221' -'','','221','val_221' -'','','222','val_222' -'','','223','val_223' -'','','223','val_223' -'','','224','val_224' -'','','224','val_224' -'','','226','val_226' -'','','228','val_228' -'','','229','val_229' -'','','229','val_229' -'','','230','val_230' -'','','230','val_230' -'','','230','val_230' -'','','230','val_230' -'','','230','val_230' -'','','233','val_233' -'','','233','val_233' -'','','235','val_235' -'','','237','val_237' -'','','237','val_237' -'','','238','val_238' -'','','238','val_238' -'','','239','val_239' -'','','239','val_239' -'','','241','val_241' -'','','242','val_242' -'','','242','val_242' -'','','244','val_244' -'','','247','val_247' -'','','248','val_248' -'','','249','val_249' -'','','252','val_252' -'','','255','val_255' -'','','255','val_255' -'','','256','val_256' -'','','256','val_256' -'','','257','val_257' -'','','258','val_258' -'','','260','val_260' -'','','262','val_262' -'','','263','val_263' -'','','265','val_265' -'','','265','val_265' -'','','266','val_266' -'','','272','val_272' -'','','272','val_272' -'','','273','val_273' -'','','273','val_273' -'','','273','val_273' -'','','274','val_274' -'','','275','val_275' -'','','277','val_277' -'','','277','val_277' -'','','277','val_277' -'','','277','val_277' -'','','278','val_278' -'','','278','val_278' -'','','280','val_280' -'','','280','val_280' -'','','281','val_281' -'','','281','val_281' -'','','282','val_282' -'','','282','val_282' -'','','283','val_283' -'','','284','val_284' -'','','285','val_285' -'','','286','val_286' -'','','287','val_287' -'','','288','val_288' -'','','288','val_288' -'','','289','val_289' -'','','291','val_291' -'','','292','val_292' -'','','296','val_296' -'','','298','val_298' -'','','298','val_298' -'','','298','val_298' -'','','302','val_302' -'','','305','val_305' -'','','306','val_306' -'','','307','val_307' -'','','307','val_307' -'','','308','val_308' -'','','309','val_309' -'','','309','val_309' -'','','310','val_310' -'','','311','val_311' -'','','311','val_311' -'','','311','val_311' -'','','315','val_315' -'','','316','val_316' -'','','316','val_316' -'','','316','val_316' -'','','317','val_317' -'','','317','val_317' -'','','318','val_318' -'','','318','val_318' -'','','318','val_318' -'','','321','val_321' -'','','321','val_321' -'','','322','val_322' -'','','322','val_322' -'','','323','val_323' -'','','325','val_325' -'','','325','val_325' -'','','327','val_327' -'','','327','val_327' -'','','327','val_327' -'','','331','val_331' -'','','331','val_331' -'','','332','val_332' -'','','333','val_333' -'','','333','val_333' -'','','335','val_335' -'','','336','val_336' -'','','338','val_338' -'','','339','val_339' -'','','341','val_341' -'','','342','val_342' -'','','342','val_342' -'','','344','val_344' -'','','344','val_344' -'','','345','val_345' -'','','348','val_348' -'','','348','val_348' -'','','348','val_348' -'','','348','val_348' -'','','348','val_348' -'','','351','val_351' -'','','353','val_353' -'','','353','val_353' -'','','356','val_356' -'','','360','val_360' -'','','362','val_362' -'','','364','val_364' -'','','365','val_365' -'','','366','val_366' -'','','367','val_367' -'','','367','val_367' -'','','368','val_368' -'','','369','val_369' -'','','369','val_369' -'','','369','val_369' -'','','373','val_373' -'','','374','val_374' -'','','375','val_375' -'','','377','val_377' -'','','378','val_378' -'','','379','val_379' -'','','382','val_382' -'','','382','val_382' -'','','384','val_384' -'','','384','val_384' -'','','384','val_384' -'','','386','val_386' -'','','389','val_389' -'','','392','val_392' -'','','393','val_393' -'','','394','val_394' -'','','395','val_395' -'','','395','val_395' -'','','396','val_396' -'','','396','val_396' -'','','396','val_396' -'','','397','val_397' -'','','397','val_397' -'','','399','val_399' -'','','399','val_399' -'','','400','val_400' -'','','401','val_401' -'','','401','val_401' -'','','401','val_401' -'','','401','val_401' -'','','401','val_401' -'','','402','val_402' -'','','403','val_403' -'','','403','val_403' -'','','403','val_403' -'','','404','val_404' -'','','404','val_404' -'','','406','val_406' -'','','406','val_406' -'','','406','val_406' -'','','406','val_406' -'','','407','val_407' -'','','409','val_409' -'','','409','val_409' -'','','409','val_409' -'','','411','val_411' -'','','413','val_413' -'','','413','val_413' -'','','414','val_414' -'','','414','val_414' -'','','417','val_417' -'','','417','val_417' -'','','417','val_417' -'','','418','val_418' -'','','419','val_419' -'','','421','val_421' -'','','424','val_424' -'','','424','val_424' -'','','427','val_427' -'','','429','val_429' -'','','429','val_429' -'','','430','val_430' -'','','430','val_430' -'','','430','val_430' -'','','431','val_431' -'','','431','val_431' -'','','431','val_431' -'','','432','val_432' -'','','435','val_435' -'','','436','val_436' -'','','437','val_437' -'','','438','val_438' -'','','438','val_438' -'','','438','val_438' -'','','439','val_439' -'','','439','val_439' -'','','443','val_443' -'','','444','val_444' -'','','446','val_446' -'','','448','val_448' -'','','449','val_449' -'','','452','val_452' -'','','453','val_453' -'','','454','val_454' -'','','454','val_454' -'','','454','val_454' -'','','455','val_455' -'','','457','val_457' -'','','458','val_458' -'','','458','val_458' -'','','459','val_459' -'','','459','val_459' -'','','460','val_460' -'','','462','val_462' -'','','462','val_462' -'','','463','val_463' -'','','463','val_463' -'','','466','val_466' -'','','466','val_466' -'','','466','val_466' -'','','467','val_467' -'','','468','val_468' -'','','468','val_468' -'','','468','val_468' -'','','468','val_468' -'','','469','val_469' -'','','469','val_469' -'','','469','val_469' -'','','469','val_469' -'','','469','val_469' -'','','470','val_470' -'','','472','val_472' -'','','475','val_475' -'','','477','val_477' -'','','478','val_478' -'','','478','val_478' -'','','479','val_479' -'','','480','val_480' -'','','480','val_480' -'','','480','val_480' -'','','481','val_481' -'','','482','val_482' -'','','483','val_483' -'','','484','val_484' -'','','485','val_485' -'','','487','val_487' -'','','489','val_489' -'','','489','val_489' -'','','489','val_489' -'','','489','val_489' -'','','490','val_490' -'','','491','val_491' -'','','492','val_492' -'','','492','val_492' -'','','493','val_493' -'','','494','val_494' -'','','495','val_495' -'','','496','val_496' -'','','497','val_497' -'','','498','val_498' -'','','498','val_498' -'','','498','val_498' -500 rows selected ->>> ->>> insert overwrite table normal_join_results select * from smb_bucket4_1 a full outer join smb_bucket4_2 b on a.key = b.key; -'key','value','key','value' -No rows selected ->>> ->>> select sum(hash(k1)) as k1, sum(hash(k2)) as k2, sum(hash(v1)) as v1, sum(hash(v2)) as v2 from normal_join_results; -'k1','k2','v1','v2' -'0','130091','0','36210398070' -1 row selected ->>> select sum(hash(k1)) as k1, sum(hash(k2)) as k2, sum(hash(v1)) as v1, sum(hash(v2)) as v2 from smb_join_results; -'k1','k2','v1','v2' -'0','130091','0','36210398070' -1 row selected ->>> select sum(hash(k1)) as k1, sum(hash(k2)) as k2, sum(hash(v1)) as v1, sum(hash(v2)) as v2 from smb_join_results_empty_bigtable; -'k1','k2','v1','v2' -'0','130091','0','36210398070' -1 row selected ->>> ->>> ->>> ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/smb_mapjoin_8.q.out ql/src/test/results/beelinepositive/smb_mapjoin_8.q.out deleted file mode 100644 index 3c4ea0e..0000000 --- ql/src/test/results/beelinepositive/smb_mapjoin_8.q.out +++ /dev/null @@ -1,221 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/smb_mapjoin_8.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/smb_mapjoin_8.q ->>> set hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> set hive.enforce.bucketing = true; -No rows affected ->>> set hive.enforce.sorting = true; -No rows affected ->>> set hive.exec.reducers.max = 1; -No rows affected ->>> ->>> ->>> create table smb_bucket_input (key int, value string) stored as rcfile; -No rows affected ->>> load data local inpath '../data/files/smb_bucket_input.rc' into table smb_bucket_input; -No rows affected ->>> ->>> ->>> CREATE TABLE smb_bucket4_1(key int, value string) CLUSTERED BY (key) SORTED BY (key) INTO 1 BUCKETS; -No rows affected ->>> ->>> CREATE TABLE smb_bucket4_2(key int, value string) CLUSTERED BY (key) SORTED BY (key) INTO 1 BUCKETS; -No rows affected ->>> ->>> CREATE TABLE smb_bucket4_3(key int, value string) CLUSTERED BY (key) SORTED BY (key) INTO 1 BUCKETS; -No rows affected ->>> ->>> insert overwrite table smb_bucket4_1 select * from smb_bucket_input where key=4 or key=2000 or key=4000; -'key','value' -No rows selected ->>> insert overwrite table smb_bucket4_2 select * from smb_bucket_input where key=484 or key=3000 or key=5000; -'key','value' -No rows selected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> set hive.optimize.bucketmapjoin.sortedmerge = true; -No rows affected ->>> set hive.input.format = org.apache.hadoop.hive.ql.io.BucketizedHiveInputFormat; -No rows affected ->>> ->>> select /*+mapjoin(a)*/ * from smb_bucket4_1 a full outer join smb_bucket4_2 b on a.key = b.key; -'key','value','key','value' -'4','val_356','','' -'','','484','val_169' -'2000','val_169','','' -'','','3000','val_169' -'4000','val_125','','' -'','','5000','val_125' -6 rows selected ->>> select /*+mapjoin(b)*/ * from smb_bucket4_1 a full outer join smb_bucket4_2 b on a.key = b.key; -'key','value','key','value' -'4','val_356','','' -'','','484','val_169' -'2000','val_169','','' -'','','3000','val_169' -'4000','val_125','','' -'','','5000','val_125' -6 rows selected ->>> ->>> ->>> insert overwrite table smb_bucket4_1 select * from smb_bucket_input where key=2000 or key=4000; -'key','value' -No rows selected ->>> insert overwrite table smb_bucket4_2 select * from smb_bucket_input where key=3000 or key=5000; -'key','value' -No rows selected ->>> ->>> select /*+mapjoin(a)*/ * from smb_bucket4_1 a full outer join smb_bucket4_2 b on a.key = b.key; -'key','value','key','value' -'2000','val_169','','' -'','','3000','val_169' -'4000','val_125','','' -'','','5000','val_125' -4 rows selected ->>> select /*+mapjoin(b)*/ * from smb_bucket4_1 a full outer join smb_bucket4_2 b on a.key = b.key; -'key','value','key','value' -'2000','val_169','','' -'','','3000','val_169' -'4000','val_125','','' -'','','5000','val_125' -4 rows selected ->>> ->>> ->>> insert overwrite table smb_bucket4_1 select * from smb_bucket_input where key=4000; -'key','value' -No rows selected ->>> insert overwrite table smb_bucket4_2 select * from smb_bucket_input where key=5000; -'key','value' -No rows selected ->>> ->>> select /*+mapjoin(a)*/ * from smb_bucket4_1 a full outer join smb_bucket4_2 b on a.key = b.key; -'key','value','key','value' -'4000','val_125','','' -'','','5000','val_125' -2 rows selected ->>> select /*+mapjoin(b)*/ * from smb_bucket4_1 a full outer join smb_bucket4_2 b on a.key = b.key; -'key','value','key','value' -'4000','val_125','','' -'','','5000','val_125' -2 rows selected ->>> ->>> ->>> insert overwrite table smb_bucket4_1 select * from smb_bucket_input where key=1000 or key=4000; -'key','value' -No rows selected ->>> insert overwrite table smb_bucket4_2 select * from smb_bucket_input where key=1000 or key=5000; -'key','value' -No rows selected ->>> ->>> select /*+mapjoin(a)*/ * from smb_bucket4_1 a full outer join smb_bucket4_2 b on a.key = b.key; -'key','value','key','value' -'1000','val_1000','1000','val_1000' -'4000','val_125','','' -'','','5000','val_125' -3 rows selected ->>> select /*+mapjoin(b)*/ * from smb_bucket4_1 a full outer join smb_bucket4_2 b on a.key = b.key; -'key','value','key','value' -'1000','val_1000','1000','val_1000' -'4000','val_125','','' -'','','5000','val_125' -3 rows selected ->>> ->>> ->>> insert overwrite table smb_bucket4_1 select * from smb_bucket_input where key=1000 or key=4000; -'key','value' -No rows selected ->>> insert overwrite table smb_bucket4_2 select * from smb_bucket_input where key=1000 or key=5000; -'key','value' -No rows selected ->>> insert overwrite table smb_bucket4_3 select * from smb_bucket_input where key=1000 or key=5000; -'key','value' -No rows selected ->>> ->>> select /*+mapjoin(b,c)*/ * from smb_bucket4_1 a full outer join smb_bucket4_2 b on a.key = b.key -full outer join smb_bucket4_3 c on a.key=c.key; -'key','value','key','value','key','value' -'1000','val_1000','1000','val_1000','1000','val_1000' -'4000','val_125','','','','' -'','','5000','val_125','','' -'','','','','5000','val_125' -4 rows selected ->>> ->>> ->>> insert overwrite table smb_bucket4_1 select * from smb_bucket_input where key=1000 or key=4000; -'key','value' -No rows selected ->>> insert overwrite table smb_bucket4_2 select * from smb_bucket_input where key=1000 or key=5000; -'key','value' -No rows selected ->>> insert overwrite table smb_bucket4_3 select * from smb_bucket_input where key=1000 or key=4000; -'key','value' -No rows selected ->>> ->>> select /*+mapjoin(b,c)*/ * from smb_bucket4_1 a full outer join smb_bucket4_2 b on a.key = b.key -full outer join smb_bucket4_3 c on a.key=c.key; -'key','value','key','value','key','value' -'1000','val_1000','1000','val_1000','1000','val_1000' -'4000','val_125','','','4000','val_125' -'','','5000','val_125','','' -3 rows selected ->>> ->>> ->>> insert overwrite table smb_bucket4_1 select * from smb_bucket_input where key=4000; -'key','value' -No rows selected ->>> insert overwrite table smb_bucket4_2 select * from smb_bucket_input where key=5000; -'key','value' -No rows selected ->>> insert overwrite table smb_bucket4_3 select * from smb_bucket_input where key=4000; -'key','value' -No rows selected ->>> ->>> select /*+mapjoin(b,c)*/ * from smb_bucket4_1 a full outer join smb_bucket4_2 b on a.key = b.key -full outer join smb_bucket4_3 c on a.key=c.key; -'key','value','key','value','key','value' -'4000','val_125','','','4000','val_125' -'','','5000','val_125','','' -2 rows selected ->>> ->>> ->>> insert overwrite table smb_bucket4_1 select * from smb_bucket_input where key=00000; -'key','value' -No rows selected ->>> insert overwrite table smb_bucket4_2 select * from smb_bucket_input where key=4000; -'key','value' -No rows selected ->>> insert overwrite table smb_bucket4_3 select * from smb_bucket_input where key=5000; -'key','value' -No rows selected ->>> ->>> select /*+mapjoin(b,c)*/ * from smb_bucket4_1 a full outer join smb_bucket4_2 b on a.key = b.key -full outer join smb_bucket4_3 c on a.key=c.key; -'key','value','key','value','key','value' -'','','4000','val_125','','' -'','','','','5000','val_125' -2 rows selected ->>> ->>> ->>> insert overwrite table smb_bucket4_1 select * from smb_bucket_input where key=1000; -'key','value' -No rows selected ->>> insert overwrite table smb_bucket4_2 select * from smb_bucket_input where key=4000; -'key','value' -No rows selected ->>> insert overwrite table smb_bucket4_3 select * from smb_bucket_input where key=5000; -'key','value' -No rows selected ->>> ->>> select /*+mapjoin(b,c)*/ * from smb_bucket4_1 a full outer join smb_bucket4_2 b on a.key = b.key -full outer join smb_bucket4_3 c on a.key=c.key; -'key','value','key','value','key','value' -'1000','val_1000','','','','' -'','','4000','val_125','','' -'','','','','5000','val_125' -3 rows selected ->>> ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/sort.q.out ql/src/test/results/beelinepositive/sort.q.out deleted file mode 100644 index 47f4e2d..0000000 --- ql/src/test/results/beelinepositive/sort.q.out +++ /dev/null @@ -1,557 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/sort.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/sort.q ->>> EXPLAIN -SELECT x.* FROM SRC x SORT BY key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME SRC) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME x)))) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' x ' -' TableScan' -' alias: x' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -46 rows selected ->>> ->>> SELECT x.* FROM SRC x SORT BY key; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'10','val_10' -'100','val_100' -'100','val_100' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -'105','val_105' -'11','val_11' -'111','val_111' -'113','val_113' -'113','val_113' -'114','val_114' -'116','val_116' -'118','val_118' -'118','val_118' -'119','val_119' -'119','val_119' -'119','val_119' -'12','val_12' -'12','val_12' -'120','val_120' -'120','val_120' -'125','val_125' -'125','val_125' -'126','val_126' -'128','val_128' -'128','val_128' -'128','val_128' -'129','val_129' -'129','val_129' -'131','val_131' -'133','val_133' -'134','val_134' -'134','val_134' -'136','val_136' -'137','val_137' -'137','val_137' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'143','val_143' -'145','val_145' -'146','val_146' -'146','val_146' -'149','val_149' -'149','val_149' -'15','val_15' -'15','val_15' -'150','val_150' -'152','val_152' -'152','val_152' -'153','val_153' -'155','val_155' -'156','val_156' -'157','val_157' -'158','val_158' -'160','val_160' -'162','val_162' -'163','val_163' -'164','val_164' -'164','val_164' -'165','val_165' -'165','val_165' -'166','val_166' -'167','val_167' -'167','val_167' -'167','val_167' -'168','val_168' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'17','val_17' -'170','val_170' -'172','val_172' -'172','val_172' -'174','val_174' -'174','val_174' -'175','val_175' -'175','val_175' -'176','val_176' -'176','val_176' -'177','val_177' -'178','val_178' -'179','val_179' -'179','val_179' -'18','val_18' -'18','val_18' -'180','val_180' -'181','val_181' -'183','val_183' -'186','val_186' -'187','val_187' -'187','val_187' -'187','val_187' -'189','val_189' -'19','val_19' -'190','val_190' -'191','val_191' -'191','val_191' -'192','val_192' -'193','val_193' -'193','val_193' -'193','val_193' -'194','val_194' -'195','val_195' -'195','val_195' -'196','val_196' -'197','val_197' -'197','val_197' -'199','val_199' -'199','val_199' -'199','val_199' -'2','val_2' -'20','val_20' -'200','val_200' -'200','val_200' -'201','val_201' -'202','val_202' -'203','val_203' -'203','val_203' -'205','val_205' -'205','val_205' -'207','val_207' -'207','val_207' -'208','val_208' -'208','val_208' -'208','val_208' -'209','val_209' -'209','val_209' -'213','val_213' -'213','val_213' -'214','val_214' -'216','val_216' -'216','val_216' -'217','val_217' -'217','val_217' -'218','val_218' -'219','val_219' -'219','val_219' -'221','val_221' -'221','val_221' -'222','val_222' -'223','val_223' -'223','val_223' -'224','val_224' -'224','val_224' -'226','val_226' -'228','val_228' -'229','val_229' -'229','val_229' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'233','val_233' -'233','val_233' -'235','val_235' -'237','val_237' -'237','val_237' -'238','val_238' -'238','val_238' -'239','val_239' -'239','val_239' -'24','val_24' -'24','val_24' -'241','val_241' -'242','val_242' -'242','val_242' -'244','val_244' -'247','val_247' -'248','val_248' -'249','val_249' -'252','val_252' -'255','val_255' -'255','val_255' -'256','val_256' -'256','val_256' -'257','val_257' -'258','val_258' -'26','val_26' -'26','val_26' -'260','val_260' -'262','val_262' -'263','val_263' -'265','val_265' -'265','val_265' -'266','val_266' -'27','val_27' -'272','val_272' -'272','val_272' -'273','val_273' -'273','val_273' -'273','val_273' -'274','val_274' -'275','val_275' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'278','val_278' -'278','val_278' -'28','val_28' -'280','val_280' -'280','val_280' -'281','val_281' -'281','val_281' -'282','val_282' -'282','val_282' -'283','val_283' -'284','val_284' -'285','val_285' -'286','val_286' -'287','val_287' -'288','val_288' -'288','val_288' -'289','val_289' -'291','val_291' -'292','val_292' -'296','val_296' -'298','val_298' -'298','val_298' -'298','val_298' -'30','val_30' -'302','val_302' -'305','val_305' -'306','val_306' -'307','val_307' -'307','val_307' -'308','val_308' -'309','val_309' -'309','val_309' -'310','val_310' -'311','val_311' -'311','val_311' -'311','val_311' -'315','val_315' -'316','val_316' -'316','val_316' -'316','val_316' -'317','val_317' -'317','val_317' -'318','val_318' -'318','val_318' -'318','val_318' -'321','val_321' -'321','val_321' -'322','val_322' -'322','val_322' -'323','val_323' -'325','val_325' -'325','val_325' -'327','val_327' -'327','val_327' -'327','val_327' -'33','val_33' -'331','val_331' -'331','val_331' -'332','val_332' -'333','val_333' -'333','val_333' -'335','val_335' -'336','val_336' -'338','val_338' -'339','val_339' -'34','val_34' -'341','val_341' -'342','val_342' -'342','val_342' -'344','val_344' -'344','val_344' -'345','val_345' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'35','val_35' -'35','val_35' -'35','val_35' -'351','val_351' -'353','val_353' -'353','val_353' -'356','val_356' -'360','val_360' -'362','val_362' -'364','val_364' -'365','val_365' -'366','val_366' -'367','val_367' -'367','val_367' -'368','val_368' -'369','val_369' -'369','val_369' -'369','val_369' -'37','val_37' -'37','val_37' -'373','val_373' -'374','val_374' -'375','val_375' -'377','val_377' -'378','val_378' -'379','val_379' -'382','val_382' -'382','val_382' -'384','val_384' -'384','val_384' -'384','val_384' -'386','val_386' -'389','val_389' -'392','val_392' -'393','val_393' -'394','val_394' -'395','val_395' -'395','val_395' -'396','val_396' -'396','val_396' -'396','val_396' -'397','val_397' -'397','val_397' -'399','val_399' -'399','val_399' -'4','val_4' -'400','val_400' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'402','val_402' -'403','val_403' -'403','val_403' -'403','val_403' -'404','val_404' -'404','val_404' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'407','val_407' -'409','val_409' -'409','val_409' -'409','val_409' -'41','val_41' -'411','val_411' -'413','val_413' -'413','val_413' -'414','val_414' -'414','val_414' -'417','val_417' -'417','val_417' -'417','val_417' -'418','val_418' -'419','val_419' -'42','val_42' -'42','val_42' -'421','val_421' -'424','val_424' -'424','val_424' -'427','val_427' -'429','val_429' -'429','val_429' -'43','val_43' -'430','val_430' -'430','val_430' -'430','val_430' -'431','val_431' -'431','val_431' -'431','val_431' -'432','val_432' -'435','val_435' -'436','val_436' -'437','val_437' -'438','val_438' -'438','val_438' -'438','val_438' -'439','val_439' -'439','val_439' -'44','val_44' -'443','val_443' -'444','val_444' -'446','val_446' -'448','val_448' -'449','val_449' -'452','val_452' -'453','val_453' -'454','val_454' -'454','val_454' -'454','val_454' -'455','val_455' -'457','val_457' -'458','val_458' -'458','val_458' -'459','val_459' -'459','val_459' -'460','val_460' -'462','val_462' -'462','val_462' -'463','val_463' -'463','val_463' -'466','val_466' -'466','val_466' -'466','val_466' -'467','val_467' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'47','val_47' -'470','val_470' -'472','val_472' -'475','val_475' -'477','val_477' -'478','val_478' -'478','val_478' -'479','val_479' -'480','val_480' -'480','val_480' -'480','val_480' -'481','val_481' -'482','val_482' -'483','val_483' -'484','val_484' -'485','val_485' -'487','val_487' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'490','val_490' -'491','val_491' -'492','val_492' -'492','val_492' -'493','val_493' -'494','val_494' -'495','val_495' -'496','val_496' -'497','val_497' -'498','val_498' -'498','val_498' -'498','val_498' -'5','val_5' -'5','val_5' -'5','val_5' -'51','val_51' -'51','val_51' -'53','val_53' -'54','val_54' -'57','val_57' -'58','val_58' -'58','val_58' -'64','val_64' -'65','val_65' -'66','val_66' -'67','val_67' -'67','val_67' -'69','val_69' -'70','val_70' -'70','val_70' -'70','val_70' -'72','val_72' -'72','val_72' -'74','val_74' -'76','val_76' -'76','val_76' -'77','val_77' -'78','val_78' -'8','val_8' -'80','val_80' -'82','val_82' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'9','val_9' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'95','val_95' -'95','val_95' -'96','val_96' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -500 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/sort_merge_join_desc_1.q.out ql/src/test/results/beelinepositive/sort_merge_join_desc_1.q.out deleted file mode 100644 index 254a44b..0000000 --- ql/src/test/results/beelinepositive/sort_merge_join_desc_1.q.out +++ /dev/null @@ -1,127 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/sort_merge_join_desc_1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/sort_merge_join_desc_1.q ->>> drop table table_desc1; -No rows affected ->>> drop table table_desc2; -No rows affected ->>> ->>> set hive.enforce.sorting = true; -No rows affected ->>> ->>> create table table_desc1(key string, value string) clustered by (key) sorted by (key DESC) into 1 BUCKETS; -No rows affected ->>> create table table_desc2(key string, value string) clustered by (key) sorted by (key DESC) into 1 BUCKETS; -No rows affected ->>> ->>> insert overwrite table table_desc1 select key, value from src; -'key','value' -No rows selected ->>> insert overwrite table table_desc2 select key, value from src; -'key','value' -No rows selected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> set hive.optimize.bucketmapjoin.sortedmerge = true; -No rows affected ->>> set hive.input.format = org.apache.hadoop.hive.ql.io.BucketizedHiveInputFormat; -No rows affected ->>> ->>> -- The columns of the tables above are sorted in same descending order. ->>> -- So, sort merge join should be performed ->>> ->>> explain -select /*+ mapjoin(b) */ count(*) from table_desc1 a join table_desc2 b on a.key=b.key where a.key < 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME table_desc1) a) (TOK_TABREF (TOK_TABNAME table_desc2) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR (TOK_FUNCTIONSTAR count))) (TOK_WHERE (< (. (TOK_TABLE_OR_COL a) key) 10))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (key < 10.0)' -' type: boolean' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0' -' Position of Big Table: 0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -84 rows selected ->>> ->>> select /*+ mapjoin(b) */ count(*) from table_desc1 a join table_desc2 b on a.key=b.key where a.key < 10; -'_c1' -'22' -1 row selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/sort_merge_join_desc_2.q.out ql/src/test/results/beelinepositive/sort_merge_join_desc_2.q.out deleted file mode 100644 index ffaf296..0000000 --- ql/src/test/results/beelinepositive/sort_merge_join_desc_2.q.out +++ /dev/null @@ -1,132 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/sort_merge_join_desc_2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/sort_merge_join_desc_2.q ->>> drop table table_desc1; -No rows affected ->>> drop table table_desc2; -No rows affected ->>> ->>> set hive.enforce.sorting = true; -No rows affected ->>> ->>> create table table_desc1(key string, value string) clustered by (key, value) -sorted by (key DESC, value DESC) into 1 BUCKETS; -No rows affected ->>> create table table_desc2(key string, value string) clustered by (key, value) -sorted by (key DESC, value DESC) into 1 BUCKETS; -No rows affected ->>> ->>> insert overwrite table table_desc1 select key, value from src; -'key','value' -No rows selected ->>> insert overwrite table table_desc2 select key, value from src; -'key','value' -No rows selected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> set hive.optimize.bucketmapjoin.sortedmerge = true; -No rows affected ->>> set hive.input.format = org.apache.hadoop.hive.ql.io.BucketizedHiveInputFormat; -No rows affected ->>> ->>> -- The columns of the tables above are sorted in same order. ->>> -- descending followed by descending ->>> -- So, sort merge join should be performed ->>> ->>> explain -select /*+ mapjoin(b) */ count(*) from table_desc1 a join table_desc2 b -on a.key=b.key and a.value=b.value where a.key < 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME table_desc1) a) (TOK_TABREF (TOK_TABNAME table_desc2) b) (and (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL a) value) (. (TOK_TABLE_OR_COL b) value))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR (TOK_FUNCTIONSTAR count))) (TOK_WHERE (< (. (TOK_TABLE_OR_COL a) key) 10))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (key < 10.0)' -' type: boolean' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key], Column[value]]' -' 1 [Column[key], Column[value]]' -' outputColumnNames: _col0' -' Position of Big Table: 0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -84 rows selected ->>> ->>> select /*+ mapjoin(b) */ count(*) from table_desc1 a join table_desc2 b -on a.key=b.key and a.value=b.value where a.key < 10; -'_c1' -'22' -1 row selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/sort_merge_join_desc_3.q.out ql/src/test/results/beelinepositive/sort_merge_join_desc_3.q.out deleted file mode 100644 index 81a2ea7..0000000 --- ql/src/test/results/beelinepositive/sort_merge_join_desc_3.q.out +++ /dev/null @@ -1,132 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/sort_merge_join_desc_3.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/sort_merge_join_desc_3.q ->>> drop table table_desc1; -No rows affected ->>> drop table table_desc2; -No rows affected ->>> ->>> set hive.enforce.sorting = true; -No rows affected ->>> ->>> create table table_desc1(key string, value string) clustered by (key, value) -sorted by (key DESC, value ASC) into 1 BUCKETS; -No rows affected ->>> create table table_desc2(key string, value string) clustered by (key, value) -sorted by (key DESC, value ASC) into 1 BUCKETS; -No rows affected ->>> ->>> insert overwrite table table_desc1 select key, value from src; -'key','value' -No rows selected ->>> insert overwrite table table_desc2 select key, value from src; -'key','value' -No rows selected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> set hive.optimize.bucketmapjoin.sortedmerge = true; -No rows affected ->>> set hive.input.format = org.apache.hadoop.hive.ql.io.BucketizedHiveInputFormat; -No rows affected ->>> ->>> -- The columns of the tables above are sorted in same orders. ->>> -- descending followed by ascending ->>> -- So, sort merge join should be performed ->>> ->>> explain -select /*+ mapjoin(b) */ count(*) from table_desc1 a join table_desc2 b -on a.key=b.key and a.value=b.value where a.key < 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME table_desc1) a) (TOK_TABREF (TOK_TABNAME table_desc2) b) (and (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL a) value) (. (TOK_TABLE_OR_COL b) value))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR (TOK_FUNCTIONSTAR count))) (TOK_WHERE (< (. (TOK_TABLE_OR_COL a) key) 10))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (key < 10.0)' -' type: boolean' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key], Column[value]]' -' 1 [Column[key], Column[value]]' -' outputColumnNames: _col0' -' Position of Big Table: 0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -84 rows selected ->>> ->>> select /*+ mapjoin(b) */ count(*) from table_desc1 a join table_desc2 b -on a.key=b.key and a.value=b.value where a.key < 10; -'_c1' -'22' -1 row selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/sort_merge_join_desc_4.q.out ql/src/test/results/beelinepositive/sort_merge_join_desc_4.q.out deleted file mode 100644 index 64dc88f..0000000 --- ql/src/test/results/beelinepositive/sort_merge_join_desc_4.q.out +++ /dev/null @@ -1,158 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/sort_merge_join_desc_4.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/sort_merge_join_desc_4.q ->>> drop table table_desc1; -No rows affected ->>> drop table table_desc2; -No rows affected ->>> ->>> set hive.enforce.sorting = true; -No rows affected ->>> ->>> create table table_desc1(key string, value string) clustered by (key, value) -sorted by (key DESC, value ASC) into 1 BUCKETS; -No rows affected ->>> create table table_desc2(key string, value string) clustered by (key, value) -sorted by (key DESC, value DESC) into 1 BUCKETS; -No rows affected ->>> ->>> insert overwrite table table_desc1 select key, value from src; -'key','value' -No rows selected ->>> insert overwrite table table_desc2 select key, value from src; -'key','value' -No rows selected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> set hive.optimize.bucketmapjoin.sortedmerge = true; -No rows affected ->>> set hive.input.format = org.apache.hadoop.hive.ql.io.BucketizedHiveInputFormat; -No rows affected ->>> ->>> -- The columns of the tables above are sorted in different orders. ->>> -- So, sort merge join should not be performed ->>> ->>> explain -select /*+ mapjoin(b) */ count(*) from table_desc1 a join table_desc2 b -on a.key=b.key and a.value=b.value where a.key < 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME table_desc1) a) (TOK_TABREF (TOK_TABNAME table_desc2) b) (and (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL a) value) (. (TOK_TABLE_OR_COL b) value))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR (TOK_FUNCTIONSTAR count))) (TOK_WHERE (< (. (TOK_TABLE_OR_COL a) key) 10))))' -'' -'STAGE DEPENDENCIES:' -' Stage-4 is a root stage' -' Stage-1 depends on stages: Stage-4' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-4' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' b ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (key < 10.0)' -' type: boolean' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key], Column[value]]' -' 1 [Column[key], Column[value]]' -' Position of Big Table: 0' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Filter Operator' -' predicate:' -' expr: (key < 10.0)' -' type: boolean' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key], Column[value]]' -' 1 [Column[key], Column[value]]' -' outputColumnNames: _col0' -' Position of Big Table: 0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Local Work:' -' Map Reduce Local Work' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -111 rows selected ->>> ->>> select /*+ mapjoin(b) */ count(*) from table_desc1 a join table_desc2 b -on a.key=b.key and a.value=b.value where a.key < 10; -'_c1' -'22' -1 row selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/sort_merge_join_desc_5.q.out ql/src/test/results/beelinepositive/sort_merge_join_desc_5.q.out deleted file mode 100644 index d6de0e5..0000000 --- ql/src/test/results/beelinepositive/sort_merge_join_desc_5.q.out +++ /dev/null @@ -1,219 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/sort_merge_join_desc_5.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/sort_merge_join_desc_5.q ->>> set hive.enforce.bucketing=true; -No rows affected ->>> set hive.enforce.sorting=true; -No rows affected ->>> ->>> CREATE TABLE srcbucket_mapjoin_part_1 (key INT, value STRING) PARTITIONED BY (part STRING) -CLUSTERED BY (key) SORTED BY (key DESC) INTO 1 BUCKETS; -No rows affected ->>> INSERT OVERWRITE TABLE srcbucket_mapjoin_part_1 PARTITION (part='1') SELECT * FROM src; -'_col0','_col1' -No rows selected ->>> ->>> CREATE TABLE srcbucket_mapjoin_part_2 (key INT, value STRING) PARTITIONED BY (part STRING) -CLUSTERED BY (key) SORTED BY (key DESC) INTO 1 BUCKETS; -No rows affected ->>> INSERT OVERWRITE TABLE srcbucket_mapjoin_part_2 PARTITION (part='1') SELECT * FROM src; -'_col0','_col1' -No rows selected ->>> ->>> ALTER TABLE srcbucket_mapjoin_part_2 CLUSTERED BY (key) SORTED BY (value DESC) INTO 1 BUCKETS; -No rows affected ->>> ->>> set hive.optimize.bucketmapjoin=true; -No rows affected ->>> set hive.optimize.bucketmapjoin.sortedmerge = true; -No rows affected ->>> ->>> -- The partition sorting metadata matches but the table metadata does not, sorted merge join should still be used ->>> ->>> EXPLAIN EXTENDED -SELECT /*+ MAPJOIN(b) */ count(*) -FROM srcbucket_mapjoin_part_1 a JOIN srcbucket_mapjoin_part_2 b -ON a.key = b.key AND a.part = '1' AND b.part = '1'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part_1) a) (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part_2) b) (AND (AND (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL a) part) '1')) (= (. (TOK_TABLE_OR_COL b) part) '1')))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR (TOK_FUNCTIONSTAR count)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Sorted Merge Bucket Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/sort_merge_join_desc_5.db/srcbucket_mapjoin_part_1/part=1 [a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/sort_merge_join_desc_5.db/srcbucket_mapjoin_part_1/part=1 ' -' Partition' -' base file name: part=1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' part 1' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 1' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sort_merge_join_desc_5.db/srcbucket_mapjoin_part_1/part=1' -' name sort_merge_join_desc_5.srcbucket_mapjoin_part_1' -' numFiles 1' -' numPartitions 1' -' numRows 500' -' partition_columns part' -' rawDataSize 5312' -' serialization.ddl struct srcbucket_mapjoin_part_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 1' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sort_merge_join_desc_5.db/srcbucket_mapjoin_part_1' -' name sort_merge_join_desc_5.srcbucket_mapjoin_part_1' -' numFiles 1' -' numPartitions 1' -' numRows 500' -' partition_columns part' -' rawDataSize 5312' -' serialization.ddl struct srcbucket_mapjoin_part_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sort_merge_join_desc_5.srcbucket_mapjoin_part_1' -' name: sort_merge_join_desc_5.srcbucket_mapjoin_part_1' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -174 rows selected ->>> ->>> SELECT /*+ MAPJOIN(b) */ count(*) -FROM srcbucket_mapjoin_part_1 a JOIN srcbucket_mapjoin_part_2 b -ON a.key = b.key AND a.part = '1' AND b.part = '1'; -'_c1' -'1028' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/sort_merge_join_desc_6.q.out ql/src/test/results/beelinepositive/sort_merge_join_desc_6.q.out deleted file mode 100644 index 00a3a4d..0000000 --- ql/src/test/results/beelinepositive/sort_merge_join_desc_6.q.out +++ /dev/null @@ -1,253 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/sort_merge_join_desc_6.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/sort_merge_join_desc_6.q ->>> set hive.enforce.bucketing=true; -No rows affected ->>> set hive.enforce.sorting=true; -No rows affected ->>> set hive.exec.reducers.max = 1; -No rows affected ->>> ->>> CREATE TABLE srcbucket_mapjoin_part_1 (key INT, value STRING) PARTITIONED BY (part STRING) -CLUSTERED BY (key) SORTED BY (key DESC) INTO 2 BUCKETS; -No rows affected ->>> INSERT OVERWRITE TABLE srcbucket_mapjoin_part_1 PARTITION (part='1') SELECT * FROM src; -'_col0','_col1' -No rows selected ->>> ->>> CREATE TABLE srcbucket_mapjoin_part_2 (key INT, value STRING) PARTITIONED BY (part STRING) -CLUSTERED BY (key) SORTED BY (value DESC) INTO 2 BUCKETS; -No rows affected ->>> INSERT OVERWRITE TABLE srcbucket_mapjoin_part_2 PARTITION (part='1') SELECT * FROM src; -'_col0','_col1' -No rows selected ->>> ->>> ALTER TABLE srcbucket_mapjoin_part_2 CLUSTERED BY (key) SORTED BY (key DESC) INTO 2 BUCKETS; -No rows affected ->>> ->>> set hive.optimize.bucketmapjoin=true; -No rows affected ->>> set hive.optimize.bucketmapjoin.sortedmerge = true; -No rows affected ->>> ->>> -- The table sorting metadata matches but the partition metadata does not, sorted merge join should not be used ->>> ->>> EXPLAIN EXTENDED -SELECT /*+ MAPJOIN(b) */ count(*) -FROM srcbucket_mapjoin_part_1 a JOIN srcbucket_mapjoin_part_2 b -ON a.key = b.key AND a.part = '1' AND b.part = '1'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part_1) a) (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part_2) b) (AND (AND (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (= (. (TOK_TABLE_OR_COL a) part) '1')) (= (. (TOK_TABLE_OR_COL b) part) '1')))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR (TOK_FUNCTIONSTAR count)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-4 is a root stage' -' Stage-1 depends on stages: Stage-4' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-4' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' b ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -' Bucket Mapjoin Context:' -' Alias Bucket Base File Name Mapping:' -' b {part=1/000000_0=[part=1/000000_0], part=1/000001_0=[part=1/000001_0]}' -' Alias Bucket File Name Mapping:' -' b {!!{hive.metastore.warehouse.dir}!!/sort_merge_join_desc_6.db/srcbucket_mapjoin_part_1/part=1/000000_0=[!!{hive.metastore.warehouse.dir}!!/sort_merge_join_desc_6.db/srcbucket_mapjoin_part_2/part=1/000000_0], !!{hive.metastore.warehouse.dir}!!/sort_merge_join_desc_6.db/srcbucket_mapjoin_part_1/part=1/000001_0=[!!{hive.metastore.warehouse.dir}!!/sort_merge_join_desc_6.db/srcbucket_mapjoin_part_2/part=1/000001_0]}' -' Alias Bucket Output File Name Mapping:' -' !!{hive.metastore.warehouse.dir}!!/sort_merge_join_desc_6.db/srcbucket_mapjoin_part_1/part=1/000000_0 0' -' !!{hive.metastore.warehouse.dir}!!/sort_merge_join_desc_6.db/srcbucket_mapjoin_part_1/part=1/000001_0 1' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/sort_merge_join_desc_6.db/srcbucket_mapjoin_part_1/part=1 [a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/sort_merge_join_desc_6.db/srcbucket_mapjoin_part_1/part=1 ' -' Partition' -' base file name: part=1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' part 1' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sort_merge_join_desc_6.db/srcbucket_mapjoin_part_1/part=1' -' name sort_merge_join_desc_6.srcbucket_mapjoin_part_1' -' numFiles 2' -' numPartitions 1' -' numRows 500' -' partition_columns part' -' rawDataSize 5312' -' serialization.ddl struct srcbucket_mapjoin_part_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' SORTBUCKETCOLSPREFIX TRUE' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/sort_merge_join_desc_6.db/srcbucket_mapjoin_part_1' -' name sort_merge_join_desc_6.srcbucket_mapjoin_part_1' -' numFiles 2' -' numPartitions 1' -' numRows 500' -' partition_columns part' -' rawDataSize 5312' -' serialization.ddl struct srcbucket_mapjoin_part_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sort_merge_join_desc_6.srcbucket_mapjoin_part_1' -' name: sort_merge_join_desc_6.srcbucket_mapjoin_part_1' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -206 rows selected ->>> ->>> SELECT /*+ MAPJOIN(b) */ count(*) -FROM srcbucket_mapjoin_part_1 a JOIN srcbucket_mapjoin_part_2 b -ON a.key = b.key AND a.part = '1' AND b.part = '1'; -'_c1' -'1028' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/sort_merge_join_desc_7.q.out ql/src/test/results/beelinepositive/sort_merge_join_desc_7.q.out deleted file mode 100644 index c44b36d..0000000 --- ql/src/test/results/beelinepositive/sort_merge_join_desc_7.q.out +++ /dev/null @@ -1,316 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/sort_merge_join_desc_7.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/sort_merge_join_desc_7.q ->>> set hive.enforce.bucketing=true; -No rows affected ->>> set hive.enforce.sorting=true; -No rows affected ->>> set hive.exec.reducers.max = 1; -No rows affected ->>> ->>> CREATE TABLE srcbucket_mapjoin_part_1 (key INT, value STRING) PARTITIONED BY (part STRING) -CLUSTERED BY (key, value) SORTED BY (key DESC) INTO 2 BUCKETS; -No rows affected ->>> INSERT OVERWRITE TABLE srcbucket_mapjoin_part_1 PARTITION (part='1') SELECT * FROM src; -'_col0','_col1' -No rows selected ->>> ->>> ALTER TABLE srcbucket_mapjoin_part_1 CLUSTERED BY (key, value) SORTED BY (value DESC) INTO 2 BUCKETS; -No rows affected ->>> INSERT OVERWRITE TABLE srcbucket_mapjoin_part_1 PARTITION (part='2') SELECT * FROM src; -'_col0','_col1' -No rows selected ->>> ->>> CREATE TABLE srcbucket_mapjoin_part_2 (key INT, value STRING) PARTITIONED BY (part STRING) -CLUSTERED BY (key, value) SORTED BY (value DESC) INTO 2 BUCKETS; -No rows affected ->>> INSERT OVERWRITE TABLE srcbucket_mapjoin_part_2 PARTITION (part='1') SELECT * FROM src; -'_col0','_col1' -No rows selected ->>> ->>> ALTER TABLE srcbucket_mapjoin_part_2 CLUSTERED BY (key, value) SORTED BY (key DESC) INTO 2 BUCKETS; -No rows affected ->>> INSERT OVERWRITE TABLE srcbucket_mapjoin_part_2 PARTITION (part='2') SELECT * FROM src; -'_col0','_col1' -No rows selected ->>> ->>> ALTER TABLE srcbucket_mapjoin_part_2 CLUSTERED BY (key, value) SORTED BY (value DESC) INTO 2 BUCKETS; -No rows affected ->>> ->>> set hive.optimize.bucketmapjoin=true; -No rows affected ->>> set hive.optimize.bucketmapjoin.sortedmerge = true; -No rows affected ->>> ->>> -- The table sorting metadata matches but the partition metadata does not, sorted merge join should not be used ->>> ->>> EXPLAIN EXTENDED -SELECT /*+ MAPJOIN(b) */ count(*) -FROM srcbucket_mapjoin_part_1 a JOIN srcbucket_mapjoin_part_2 b -ON a.key = b.key AND a.part IS NOT NULL AND b.part IS NOT NULL; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part_1) a) (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part_2) b) (AND (AND (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)) (TOK_FUNCTION TOK_ISNOTNULL (. (TOK_TABLE_OR_COL a) part))) (TOK_FUNCTION TOK_ISNOTNULL (. (TOK_TABLE_OR_COL b) part))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR (TOK_FUNCTIONSTAR count)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-4 is a root stage' -' Stage-1 depends on stages: Stage-4' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-4' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' b ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 ' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/sort_merge_join_desc_7.db/srcbucket_mapjoin_part_1/part=1 [a]' -' !!{hive.metastore.warehouse.dir}!!/sort_merge_join_desc_7.db/srcbucket_mapjoin_part_1/part=2 [a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/sort_merge_join_desc_7.db/srcbucket_mapjoin_part_1/part=1 ' -' Partition' -' base file name: part=1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' part 1' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' last_modified_by !!{user.name}!!' -' last_modified_time !!UNIXTIME!!' -' location !!{hive.metastore.warehouse.dir}!!/sort_merge_join_desc_7.db/srcbucket_mapjoin_part_1/part=1' -' name sort_merge_join_desc_7.srcbucket_mapjoin_part_1' -' numFiles 2' -' numPartitions 2' -' numRows 500' -' partition_columns part' -' rawDataSize 5312' -' serialization.ddl struct srcbucket_mapjoin_part_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' last_modified_by !!{user.name}!!' -' last_modified_time !!UNIXTIME!!' -' location !!{hive.metastore.warehouse.dir}!!/sort_merge_join_desc_7.db/srcbucket_mapjoin_part_1' -' name sort_merge_join_desc_7.srcbucket_mapjoin_part_1' -' numFiles 4' -' numPartitions 2' -' numRows 1000' -' partition_columns part' -' rawDataSize 10624' -' serialization.ddl struct srcbucket_mapjoin_part_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11624' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sort_merge_join_desc_7.srcbucket_mapjoin_part_1' -' name: sort_merge_join_desc_7.srcbucket_mapjoin_part_1' -' !!{hive.metastore.warehouse.dir}!!/sort_merge_join_desc_7.db/srcbucket_mapjoin_part_1/part=2 ' -' Partition' -' base file name: part=2' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' part 2' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' last_modified_by !!{user.name}!!' -' last_modified_time !!UNIXTIME!!' -' location !!{hive.metastore.warehouse.dir}!!/sort_merge_join_desc_7.db/srcbucket_mapjoin_part_1/part=2' -' name sort_merge_join_desc_7.srcbucket_mapjoin_part_1' -' numFiles 2' -' numPartitions 2' -' numRows 500' -' partition_columns part' -' rawDataSize 5312' -' serialization.ddl struct srcbucket_mapjoin_part_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' last_modified_by !!{user.name}!!' -' last_modified_time !!UNIXTIME!!' -' location !!{hive.metastore.warehouse.dir}!!/sort_merge_join_desc_7.db/srcbucket_mapjoin_part_1' -' name sort_merge_join_desc_7.srcbucket_mapjoin_part_1' -' numFiles 4' -' numPartitions 2' -' numRows 1000' -' partition_columns part' -' rawDataSize 10624' -' serialization.ddl struct srcbucket_mapjoin_part_1 { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11624' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: sort_merge_join_desc_7.srcbucket_mapjoin_part_1' -' name: sort_merge_join_desc_7.srcbucket_mapjoin_part_1' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns ' -' columns.types ' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0' -' columns.types bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -257 rows selected ->>> ->>> SELECT /*+ MAPJOIN(b) */ count(*) -FROM srcbucket_mapjoin_part_1 a JOIN srcbucket_mapjoin_part_2 b -ON a.key = b.key AND a.part IS NOT NULL AND b.part IS NOT NULL; -'_c1' -'4112' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/stats0.q.out ql/src/test/results/beelinepositive/stats0.q.out deleted file mode 100644 index aa99560..0000000 --- ql/src/test/results/beelinepositive/stats0.q.out +++ /dev/null @@ -1,2715 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/stats0.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/stats0.q ->>> set hive.stats.autogather=true; -No rows affected ->>> set datanucleus.cache.collections=false; -No rows affected ->>> ->>> set hive.merge.mapfiles=false; -No rows affected ->>> set hive.merge.mapredfiles=false; -No rows affected ->>> ->>> CREATE TABLE stats_non_partitioned (key string, value string); -No rows affected ->>> ->>> explain extended -insert overwrite table stats_non_partitioned -select * from src; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME stats_non_partitioned))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats0.db/stats_non_partitioned' -' name stats0.stats_non_partitioned' -' serialization.ddl struct stats_non_partitioned { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: stats0.stats_non_partitioned' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/stats0.db/src [src]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/stats0.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats0.db/src' -' name stats0.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats0.db/src' -' name stats0.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: stats0.src' -' name: stats0.src' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats0.db/stats_non_partitioned' -' name stats0.stats_non_partitioned' -' serialization.ddl struct stats_non_partitioned { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: stats0.stats_non_partitioned' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -129 rows selected ->>> ->>> insert overwrite table stats_non_partitioned -select * from src; -'key','value' -No rows selected ->>> ->>> desc extended stats_non_partitioned; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'','','' -'Detailed Table Information','Table(tableName:stats_non_partitioned, dbName:stats0, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/stats0.db/stats_non_partitioned, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{numPartitions=0, numFiles=1, transient_lastDdlTime=!!UNIXTIME!!, numRows=500, totalSize=5812, rawDataSize=5312}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -4 rows selected ->>> ->>> select * from stats_non_partitioned; -'key','value' -'238','val_238' -'86','val_86' -'311','val_311' -'27','val_27' -'165','val_165' -'409','val_409' -'255','val_255' -'278','val_278' -'98','val_98' -'484','val_484' -'265','val_265' -'193','val_193' -'401','val_401' -'150','val_150' -'273','val_273' -'224','val_224' -'369','val_369' -'66','val_66' -'128','val_128' -'213','val_213' -'146','val_146' -'406','val_406' -'429','val_429' -'374','val_374' -'152','val_152' -'469','val_469' -'145','val_145' -'495','val_495' -'37','val_37' -'327','val_327' -'281','val_281' -'277','val_277' -'209','val_209' -'15','val_15' -'82','val_82' -'403','val_403' -'166','val_166' -'417','val_417' -'430','val_430' -'252','val_252' -'292','val_292' -'219','val_219' -'287','val_287' -'153','val_153' -'193','val_193' -'338','val_338' -'446','val_446' -'459','val_459' -'394','val_394' -'237','val_237' -'482','val_482' -'174','val_174' -'413','val_413' -'494','val_494' -'207','val_207' -'199','val_199' -'466','val_466' -'208','val_208' -'174','val_174' -'399','val_399' -'396','val_396' -'247','val_247' -'417','val_417' -'489','val_489' -'162','val_162' -'377','val_377' -'397','val_397' -'309','val_309' -'365','val_365' -'266','val_266' -'439','val_439' -'342','val_342' -'367','val_367' -'325','val_325' -'167','val_167' -'195','val_195' -'475','val_475' -'17','val_17' -'113','val_113' -'155','val_155' -'203','val_203' -'339','val_339' -'0','val_0' -'455','val_455' -'128','val_128' -'311','val_311' -'316','val_316' -'57','val_57' -'302','val_302' -'205','val_205' -'149','val_149' -'438','val_438' -'345','val_345' -'129','val_129' -'170','val_170' -'20','val_20' -'489','val_489' -'157','val_157' -'378','val_378' -'221','val_221' -'92','val_92' -'111','val_111' -'47','val_47' -'72','val_72' -'4','val_4' -'280','val_280' -'35','val_35' -'427','val_427' -'277','val_277' -'208','val_208' -'356','val_356' -'399','val_399' -'169','val_169' -'382','val_382' -'498','val_498' -'125','val_125' -'386','val_386' -'437','val_437' -'469','val_469' -'192','val_192' -'286','val_286' -'187','val_187' -'176','val_176' -'54','val_54' -'459','val_459' -'51','val_51' -'138','val_138' -'103','val_103' -'239','val_239' -'213','val_213' -'216','val_216' -'430','val_430' -'278','val_278' -'176','val_176' -'289','val_289' -'221','val_221' -'65','val_65' -'318','val_318' -'332','val_332' -'311','val_311' -'275','val_275' -'137','val_137' -'241','val_241' -'83','val_83' -'333','val_333' -'180','val_180' -'284','val_284' -'12','val_12' -'230','val_230' -'181','val_181' -'67','val_67' -'260','val_260' -'404','val_404' -'384','val_384' -'489','val_489' -'353','val_353' -'373','val_373' -'272','val_272' -'138','val_138' -'217','val_217' -'84','val_84' -'348','val_348' -'466','val_466' -'58','val_58' -'8','val_8' -'411','val_411' -'230','val_230' -'208','val_208' -'348','val_348' -'24','val_24' -'463','val_463' -'431','val_431' -'179','val_179' -'172','val_172' -'42','val_42' -'129','val_129' -'158','val_158' -'119','val_119' -'496','val_496' -'0','val_0' -'322','val_322' -'197','val_197' -'468','val_468' -'393','val_393' -'454','val_454' -'100','val_100' -'298','val_298' -'199','val_199' -'191','val_191' -'418','val_418' -'96','val_96' -'26','val_26' -'165','val_165' -'327','val_327' -'230','val_230' -'205','val_205' -'120','val_120' -'131','val_131' -'51','val_51' -'404','val_404' -'43','val_43' -'436','val_436' -'156','val_156' -'469','val_469' -'468','val_468' -'308','val_308' -'95','val_95' -'196','val_196' -'288','val_288' -'481','val_481' -'457','val_457' -'98','val_98' -'282','val_282' -'197','val_197' -'187','val_187' -'318','val_318' -'318','val_318' -'409','val_409' -'470','val_470' -'137','val_137' -'369','val_369' -'316','val_316' -'169','val_169' -'413','val_413' -'85','val_85' -'77','val_77' -'0','val_0' -'490','val_490' -'87','val_87' -'364','val_364' -'179','val_179' -'118','val_118' -'134','val_134' -'395','val_395' -'282','val_282' -'138','val_138' -'238','val_238' -'419','val_419' -'15','val_15' -'118','val_118' -'72','val_72' -'90','val_90' -'307','val_307' -'19','val_19' -'435','val_435' -'10','val_10' -'277','val_277' -'273','val_273' -'306','val_306' -'224','val_224' -'309','val_309' -'389','val_389' -'327','val_327' -'242','val_242' -'369','val_369' -'392','val_392' -'272','val_272' -'331','val_331' -'401','val_401' -'242','val_242' -'452','val_452' -'177','val_177' -'226','val_226' -'5','val_5' -'497','val_497' -'402','val_402' -'396','val_396' -'317','val_317' -'395','val_395' -'58','val_58' -'35','val_35' -'336','val_336' -'95','val_95' -'11','val_11' -'168','val_168' -'34','val_34' -'229','val_229' -'233','val_233' -'143','val_143' -'472','val_472' -'322','val_322' -'498','val_498' -'160','val_160' -'195','val_195' -'42','val_42' -'321','val_321' -'430','val_430' -'119','val_119' -'489','val_489' -'458','val_458' -'78','val_78' -'76','val_76' -'41','val_41' -'223','val_223' -'492','val_492' -'149','val_149' -'449','val_449' -'218','val_218' -'228','val_228' -'138','val_138' -'453','val_453' -'30','val_30' -'209','val_209' -'64','val_64' -'468','val_468' -'76','val_76' -'74','val_74' -'342','val_342' -'69','val_69' -'230','val_230' -'33','val_33' -'368','val_368' -'103','val_103' -'296','val_296' -'113','val_113' -'216','val_216' -'367','val_367' -'344','val_344' -'167','val_167' -'274','val_274' -'219','val_219' -'239','val_239' -'485','val_485' -'116','val_116' -'223','val_223' -'256','val_256' -'263','val_263' -'70','val_70' -'487','val_487' -'480','val_480' -'401','val_401' -'288','val_288' -'191','val_191' -'5','val_5' -'244','val_244' -'438','val_438' -'128','val_128' -'467','val_467' -'432','val_432' -'202','val_202' -'316','val_316' -'229','val_229' -'469','val_469' -'463','val_463' -'280','val_280' -'2','val_2' -'35','val_35' -'283','val_283' -'331','val_331' -'235','val_235' -'80','val_80' -'44','val_44' -'193','val_193' -'321','val_321' -'335','val_335' -'104','val_104' -'466','val_466' -'366','val_366' -'175','val_175' -'403','val_403' -'483','val_483' -'53','val_53' -'105','val_105' -'257','val_257' -'406','val_406' -'409','val_409' -'190','val_190' -'406','val_406' -'401','val_401' -'114','val_114' -'258','val_258' -'90','val_90' -'203','val_203' -'262','val_262' -'348','val_348' -'424','val_424' -'12','val_12' -'396','val_396' -'201','val_201' -'217','val_217' -'164','val_164' -'431','val_431' -'454','val_454' -'478','val_478' -'298','val_298' -'125','val_125' -'431','val_431' -'164','val_164' -'424','val_424' -'187','val_187' -'382','val_382' -'5','val_5' -'70','val_70' -'397','val_397' -'480','val_480' -'291','val_291' -'24','val_24' -'351','val_351' -'255','val_255' -'104','val_104' -'70','val_70' -'163','val_163' -'438','val_438' -'119','val_119' -'414','val_414' -'200','val_200' -'491','val_491' -'237','val_237' -'439','val_439' -'360','val_360' -'248','val_248' -'479','val_479' -'305','val_305' -'417','val_417' -'199','val_199' -'444','val_444' -'120','val_120' -'429','val_429' -'169','val_169' -'443','val_443' -'323','val_323' -'325','val_325' -'277','val_277' -'230','val_230' -'478','val_478' -'178','val_178' -'468','val_468' -'310','val_310' -'317','val_317' -'333','val_333' -'493','val_493' -'460','val_460' -'207','val_207' -'249','val_249' -'265','val_265' -'480','val_480' -'83','val_83' -'136','val_136' -'353','val_353' -'172','val_172' -'214','val_214' -'462','val_462' -'233','val_233' -'406','val_406' -'133','val_133' -'175','val_175' -'189','val_189' -'454','val_454' -'375','val_375' -'401','val_401' -'421','val_421' -'407','val_407' -'384','val_384' -'256','val_256' -'26','val_26' -'134','val_134' -'67','val_67' -'384','val_384' -'379','val_379' -'18','val_18' -'462','val_462' -'492','val_492' -'100','val_100' -'298','val_298' -'9','val_9' -'341','val_341' -'498','val_498' -'146','val_146' -'458','val_458' -'362','val_362' -'186','val_186' -'285','val_285' -'348','val_348' -'167','val_167' -'18','val_18' -'273','val_273' -'183','val_183' -'281','val_281' -'344','val_344' -'97','val_97' -'469','val_469' -'315','val_315' -'84','val_84' -'28','val_28' -'37','val_37' -'448','val_448' -'152','val_152' -'348','val_348' -'307','val_307' -'194','val_194' -'414','val_414' -'477','val_477' -'222','val_222' -'126','val_126' -'90','val_90' -'169','val_169' -'403','val_403' -'400','val_400' -'200','val_200' -'97','val_97' -500 rows selected ->>> ->>> ->>> CREATE TABLE stats_partitioned(key string, value string) partitioned by (ds string); -No rows affected ->>> ->>> explain -insert overwrite table stats_partitioned partition (ds='1') -select * from src; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME stats_partitioned) (TOK_PARTSPEC (TOK_PARTVAL ds '1')))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: stats0.stats_partitioned' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' partition:' -' ds 1' -' 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: stats0.stats_partitioned' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -47 rows selected ->>> ->>> insert overwrite table stats_partitioned partition (ds='1') -select * from src; -'key','value' -No rows selected ->>> ->>> show partitions stats_partitioned; -'partition' -'ds=1' -1 row selected ->>> select * from stats_partitioned where ds is not null; -'key','value','ds' -'238','val_238','1' -'86','val_86','1' -'311','val_311','1' -'27','val_27','1' -'165','val_165','1' -'409','val_409','1' -'255','val_255','1' -'278','val_278','1' -'98','val_98','1' -'484','val_484','1' -'265','val_265','1' -'193','val_193','1' -'401','val_401','1' -'150','val_150','1' -'273','val_273','1' -'224','val_224','1' -'369','val_369','1' -'66','val_66','1' -'128','val_128','1' -'213','val_213','1' -'146','val_146','1' -'406','val_406','1' -'429','val_429','1' -'374','val_374','1' -'152','val_152','1' -'469','val_469','1' -'145','val_145','1' -'495','val_495','1' -'37','val_37','1' -'327','val_327','1' -'281','val_281','1' -'277','val_277','1' -'209','val_209','1' -'15','val_15','1' -'82','val_82','1' -'403','val_403','1' -'166','val_166','1' -'417','val_417','1' -'430','val_430','1' -'252','val_252','1' -'292','val_292','1' -'219','val_219','1' -'287','val_287','1' -'153','val_153','1' -'193','val_193','1' -'338','val_338','1' -'446','val_446','1' -'459','val_459','1' -'394','val_394','1' -'237','val_237','1' -'482','val_482','1' -'174','val_174','1' -'413','val_413','1' -'494','val_494','1' -'207','val_207','1' -'199','val_199','1' -'466','val_466','1' -'208','val_208','1' -'174','val_174','1' -'399','val_399','1' -'396','val_396','1' -'247','val_247','1' -'417','val_417','1' -'489','val_489','1' -'162','val_162','1' -'377','val_377','1' -'397','val_397','1' -'309','val_309','1' -'365','val_365','1' -'266','val_266','1' -'439','val_439','1' -'342','val_342','1' -'367','val_367','1' -'325','val_325','1' -'167','val_167','1' -'195','val_195','1' -'475','val_475','1' -'17','val_17','1' -'113','val_113','1' -'155','val_155','1' -'203','val_203','1' -'339','val_339','1' -'0','val_0','1' -'455','val_455','1' -'128','val_128','1' -'311','val_311','1' -'316','val_316','1' -'57','val_57','1' -'302','val_302','1' -'205','val_205','1' -'149','val_149','1' -'438','val_438','1' -'345','val_345','1' -'129','val_129','1' -'170','val_170','1' -'20','val_20','1' -'489','val_489','1' -'157','val_157','1' -'378','val_378','1' -'221','val_221','1' -'92','val_92','1' -'111','val_111','1' -'47','val_47','1' -'72','val_72','1' -'4','val_4','1' -'280','val_280','1' -'35','val_35','1' -'427','val_427','1' -'277','val_277','1' -'208','val_208','1' -'356','val_356','1' -'399','val_399','1' -'169','val_169','1' -'382','val_382','1' -'498','val_498','1' -'125','val_125','1' -'386','val_386','1' -'437','val_437','1' -'469','val_469','1' -'192','val_192','1' -'286','val_286','1' -'187','val_187','1' -'176','val_176','1' -'54','val_54','1' -'459','val_459','1' -'51','val_51','1' -'138','val_138','1' -'103','val_103','1' -'239','val_239','1' -'213','val_213','1' -'216','val_216','1' -'430','val_430','1' -'278','val_278','1' -'176','val_176','1' -'289','val_289','1' -'221','val_221','1' -'65','val_65','1' -'318','val_318','1' -'332','val_332','1' -'311','val_311','1' -'275','val_275','1' -'137','val_137','1' -'241','val_241','1' -'83','val_83','1' -'333','val_333','1' -'180','val_180','1' -'284','val_284','1' -'12','val_12','1' -'230','val_230','1' -'181','val_181','1' -'67','val_67','1' -'260','val_260','1' -'404','val_404','1' -'384','val_384','1' -'489','val_489','1' -'353','val_353','1' -'373','val_373','1' -'272','val_272','1' -'138','val_138','1' -'217','val_217','1' -'84','val_84','1' -'348','val_348','1' -'466','val_466','1' -'58','val_58','1' -'8','val_8','1' -'411','val_411','1' -'230','val_230','1' -'208','val_208','1' -'348','val_348','1' -'24','val_24','1' -'463','val_463','1' -'431','val_431','1' -'179','val_179','1' -'172','val_172','1' -'42','val_42','1' -'129','val_129','1' -'158','val_158','1' -'119','val_119','1' -'496','val_496','1' -'0','val_0','1' -'322','val_322','1' -'197','val_197','1' -'468','val_468','1' -'393','val_393','1' -'454','val_454','1' -'100','val_100','1' -'298','val_298','1' -'199','val_199','1' -'191','val_191','1' -'418','val_418','1' -'96','val_96','1' -'26','val_26','1' -'165','val_165','1' -'327','val_327','1' -'230','val_230','1' -'205','val_205','1' -'120','val_120','1' -'131','val_131','1' -'51','val_51','1' -'404','val_404','1' -'43','val_43','1' -'436','val_436','1' -'156','val_156','1' -'469','val_469','1' -'468','val_468','1' -'308','val_308','1' -'95','val_95','1' -'196','val_196','1' -'288','val_288','1' -'481','val_481','1' -'457','val_457','1' -'98','val_98','1' -'282','val_282','1' -'197','val_197','1' -'187','val_187','1' -'318','val_318','1' -'318','val_318','1' -'409','val_409','1' -'470','val_470','1' -'137','val_137','1' -'369','val_369','1' -'316','val_316','1' -'169','val_169','1' -'413','val_413','1' -'85','val_85','1' -'77','val_77','1' -'0','val_0','1' -'490','val_490','1' -'87','val_87','1' -'364','val_364','1' -'179','val_179','1' -'118','val_118','1' -'134','val_134','1' -'395','val_395','1' -'282','val_282','1' -'138','val_138','1' -'238','val_238','1' -'419','val_419','1' -'15','val_15','1' -'118','val_118','1' -'72','val_72','1' -'90','val_90','1' -'307','val_307','1' -'19','val_19','1' -'435','val_435','1' -'10','val_10','1' -'277','val_277','1' -'273','val_273','1' -'306','val_306','1' -'224','val_224','1' -'309','val_309','1' -'389','val_389','1' -'327','val_327','1' -'242','val_242','1' -'369','val_369','1' -'392','val_392','1' -'272','val_272','1' -'331','val_331','1' -'401','val_401','1' -'242','val_242','1' -'452','val_452','1' -'177','val_177','1' -'226','val_226','1' -'5','val_5','1' -'497','val_497','1' -'402','val_402','1' -'396','val_396','1' -'317','val_317','1' -'395','val_395','1' -'58','val_58','1' -'35','val_35','1' -'336','val_336','1' -'95','val_95','1' -'11','val_11','1' -'168','val_168','1' -'34','val_34','1' -'229','val_229','1' -'233','val_233','1' -'143','val_143','1' -'472','val_472','1' -'322','val_322','1' -'498','val_498','1' -'160','val_160','1' -'195','val_195','1' -'42','val_42','1' -'321','val_321','1' -'430','val_430','1' -'119','val_119','1' -'489','val_489','1' -'458','val_458','1' -'78','val_78','1' -'76','val_76','1' -'41','val_41','1' -'223','val_223','1' -'492','val_492','1' -'149','val_149','1' -'449','val_449','1' -'218','val_218','1' -'228','val_228','1' -'138','val_138','1' -'453','val_453','1' -'30','val_30','1' -'209','val_209','1' -'64','val_64','1' -'468','val_468','1' -'76','val_76','1' -'74','val_74','1' -'342','val_342','1' -'69','val_69','1' -'230','val_230','1' -'33','val_33','1' -'368','val_368','1' -'103','val_103','1' -'296','val_296','1' -'113','val_113','1' -'216','val_216','1' -'367','val_367','1' -'344','val_344','1' -'167','val_167','1' -'274','val_274','1' -'219','val_219','1' -'239','val_239','1' -'485','val_485','1' -'116','val_116','1' -'223','val_223','1' -'256','val_256','1' -'263','val_263','1' -'70','val_70','1' -'487','val_487','1' -'480','val_480','1' -'401','val_401','1' -'288','val_288','1' -'191','val_191','1' -'5','val_5','1' -'244','val_244','1' -'438','val_438','1' -'128','val_128','1' -'467','val_467','1' -'432','val_432','1' -'202','val_202','1' -'316','val_316','1' -'229','val_229','1' -'469','val_469','1' -'463','val_463','1' -'280','val_280','1' -'2','val_2','1' -'35','val_35','1' -'283','val_283','1' -'331','val_331','1' -'235','val_235','1' -'80','val_80','1' -'44','val_44','1' -'193','val_193','1' -'321','val_321','1' -'335','val_335','1' -'104','val_104','1' -'466','val_466','1' -'366','val_366','1' -'175','val_175','1' -'403','val_403','1' -'483','val_483','1' -'53','val_53','1' -'105','val_105','1' -'257','val_257','1' -'406','val_406','1' -'409','val_409','1' -'190','val_190','1' -'406','val_406','1' -'401','val_401','1' -'114','val_114','1' -'258','val_258','1' -'90','val_90','1' -'203','val_203','1' -'262','val_262','1' -'348','val_348','1' -'424','val_424','1' -'12','val_12','1' -'396','val_396','1' -'201','val_201','1' -'217','val_217','1' -'164','val_164','1' -'431','val_431','1' -'454','val_454','1' -'478','val_478','1' -'298','val_298','1' -'125','val_125','1' -'431','val_431','1' -'164','val_164','1' -'424','val_424','1' -'187','val_187','1' -'382','val_382','1' -'5','val_5','1' -'70','val_70','1' -'397','val_397','1' -'480','val_480','1' -'291','val_291','1' -'24','val_24','1' -'351','val_351','1' -'255','val_255','1' -'104','val_104','1' -'70','val_70','1' -'163','val_163','1' -'438','val_438','1' -'119','val_119','1' -'414','val_414','1' -'200','val_200','1' -'491','val_491','1' -'237','val_237','1' -'439','val_439','1' -'360','val_360','1' -'248','val_248','1' -'479','val_479','1' -'305','val_305','1' -'417','val_417','1' -'199','val_199','1' -'444','val_444','1' -'120','val_120','1' -'429','val_429','1' -'169','val_169','1' -'443','val_443','1' -'323','val_323','1' -'325','val_325','1' -'277','val_277','1' -'230','val_230','1' -'478','val_478','1' -'178','val_178','1' -'468','val_468','1' -'310','val_310','1' -'317','val_317','1' -'333','val_333','1' -'493','val_493','1' -'460','val_460','1' -'207','val_207','1' -'249','val_249','1' -'265','val_265','1' -'480','val_480','1' -'83','val_83','1' -'136','val_136','1' -'353','val_353','1' -'172','val_172','1' -'214','val_214','1' -'462','val_462','1' -'233','val_233','1' -'406','val_406','1' -'133','val_133','1' -'175','val_175','1' -'189','val_189','1' -'454','val_454','1' -'375','val_375','1' -'401','val_401','1' -'421','val_421','1' -'407','val_407','1' -'384','val_384','1' -'256','val_256','1' -'26','val_26','1' -'134','val_134','1' -'67','val_67','1' -'384','val_384','1' -'379','val_379','1' -'18','val_18','1' -'462','val_462','1' -'492','val_492','1' -'100','val_100','1' -'298','val_298','1' -'9','val_9','1' -'341','val_341','1' -'498','val_498','1' -'146','val_146','1' -'458','val_458','1' -'362','val_362','1' -'186','val_186','1' -'285','val_285','1' -'348','val_348','1' -'167','val_167','1' -'18','val_18','1' -'273','val_273','1' -'183','val_183','1' -'281','val_281','1' -'344','val_344','1' -'97','val_97','1' -'469','val_469','1' -'315','val_315','1' -'84','val_84','1' -'28','val_28','1' -'37','val_37','1' -'448','val_448','1' -'152','val_152','1' -'348','val_348','1' -'307','val_307','1' -'194','val_194','1' -'414','val_414','1' -'477','val_477','1' -'222','val_222','1' -'126','val_126','1' -'90','val_90','1' -'169','val_169','1' -'403','val_403','1' -'400','val_400','1' -'200','val_200','1' -'97','val_97','1' -500 rows selected ->>> ->>> describe extended stats_partitioned partition (ds='1'); -'col_name','data_type','comment' -'key','string','' -'value','string','' -'ds','string','' -'','','' -'Detailed Partition Information','Partition(values:[1], dbName:stats0, tableName:stats_partitioned, createTime:!!UNIXTIME!!, lastAccessTime:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/stats0.db/stats_partitioned/ds=1, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), parameters:{numFiles=1, transient_lastDdlTime=!!UNIXTIME!!, numRows=500, totalSize=5812, rawDataSize=5312})','' -5 rows selected ->>> describe extended stats_partitioned; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'ds','string','' -'','','' -'Detailed Table Information','Table(tableName:stats_partitioned, dbName:stats0, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/stats0.db/stats_partitioned, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:ds, type:string, comment:null)], parameters:{numPartitions=1, numFiles=1, transient_lastDdlTime=!!UNIXTIME!!, numRows=500, totalSize=5812, rawDataSize=5312}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -5 rows selected ->>> ->>> ->>> set hive.merge.mapfiles=true; -No rows affected ->>> set hive.merge.mapredfiles=true; -No rows affected ->>> ->>> drop table stats_non_partitioned; -No rows affected ->>> drop table stats_partitioned; -No rows affected ->>> ->>> CREATE TABLE stats_non_partitioned (key string, value string); -No rows affected ->>> ->>> explain extended -insert overwrite table stats_non_partitioned -select * from src; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME stats_non_partitioned))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats0.db/stats_non_partitioned' -' name stats0.stats_non_partitioned' -' serialization.ddl struct stats_non_partitioned { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: stats0.stats_non_partitioned' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/stats0.db/src [src]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/stats0.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats0.db/src' -' name stats0.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats0.db/src' -' name stats0.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: stats0.src' -' name: stats0.src' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats0.db/stats_non_partitioned' -' name stats0.stats_non_partitioned' -' serialization.ddl struct stats_non_partitioned { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: stats0.stats_non_partitioned' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats0.db/stats_non_partitioned' -' name stats0.stats_non_partitioned' -' serialization.ddl struct stats_non_partitioned { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: stats0.stats_non_partitioned' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats0.db/stats_non_partitioned' -' name stats0.stats_non_partitioned' -' serialization.ddl struct stats_non_partitioned { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats0.db/stats_non_partitioned' -' name stats0.stats_non_partitioned' -' serialization.ddl struct stats_non_partitioned { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: stats0.stats_non_partitioned' -' name: stats0.stats_non_partitioned' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats0.db/stats_non_partitioned' -' name stats0.stats_non_partitioned' -' serialization.ddl struct stats_non_partitioned { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: stats0.stats_non_partitioned' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats0.db/stats_non_partitioned' -' name stats0.stats_non_partitioned' -' serialization.ddl struct stats_non_partitioned { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats0.db/stats_non_partitioned' -' name stats0.stats_non_partitioned' -' serialization.ddl struct stats_non_partitioned { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: stats0.stats_non_partitioned' -' name: stats0.stats_non_partitioned' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -291 rows selected ->>> ->>> insert overwrite table stats_non_partitioned -select * from src; -'key','value' -No rows selected ->>> ->>> desc extended stats_non_partitioned; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'','','' -'Detailed Table Information','Table(tableName:stats_non_partitioned, dbName:stats0, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/stats0.db/stats_non_partitioned, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{numPartitions=0, numFiles=1, transient_lastDdlTime=!!UNIXTIME!!, numRows=500, totalSize=5812, rawDataSize=5312}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -4 rows selected ->>> ->>> select * from stats_non_partitioned; -'key','value' -'238','val_238' -'86','val_86' -'311','val_311' -'27','val_27' -'165','val_165' -'409','val_409' -'255','val_255' -'278','val_278' -'98','val_98' -'484','val_484' -'265','val_265' -'193','val_193' -'401','val_401' -'150','val_150' -'273','val_273' -'224','val_224' -'369','val_369' -'66','val_66' -'128','val_128' -'213','val_213' -'146','val_146' -'406','val_406' -'429','val_429' -'374','val_374' -'152','val_152' -'469','val_469' -'145','val_145' -'495','val_495' -'37','val_37' -'327','val_327' -'281','val_281' -'277','val_277' -'209','val_209' -'15','val_15' -'82','val_82' -'403','val_403' -'166','val_166' -'417','val_417' -'430','val_430' -'252','val_252' -'292','val_292' -'219','val_219' -'287','val_287' -'153','val_153' -'193','val_193' -'338','val_338' -'446','val_446' -'459','val_459' -'394','val_394' -'237','val_237' -'482','val_482' -'174','val_174' -'413','val_413' -'494','val_494' -'207','val_207' -'199','val_199' -'466','val_466' -'208','val_208' -'174','val_174' -'399','val_399' -'396','val_396' -'247','val_247' -'417','val_417' -'489','val_489' -'162','val_162' -'377','val_377' -'397','val_397' -'309','val_309' -'365','val_365' -'266','val_266' -'439','val_439' -'342','val_342' -'367','val_367' -'325','val_325' -'167','val_167' -'195','val_195' -'475','val_475' -'17','val_17' -'113','val_113' -'155','val_155' -'203','val_203' -'339','val_339' -'0','val_0' -'455','val_455' -'128','val_128' -'311','val_311' -'316','val_316' -'57','val_57' -'302','val_302' -'205','val_205' -'149','val_149' -'438','val_438' -'345','val_345' -'129','val_129' -'170','val_170' -'20','val_20' -'489','val_489' -'157','val_157' -'378','val_378' -'221','val_221' -'92','val_92' -'111','val_111' -'47','val_47' -'72','val_72' -'4','val_4' -'280','val_280' -'35','val_35' -'427','val_427' -'277','val_277' -'208','val_208' -'356','val_356' -'399','val_399' -'169','val_169' -'382','val_382' -'498','val_498' -'125','val_125' -'386','val_386' -'437','val_437' -'469','val_469' -'192','val_192' -'286','val_286' -'187','val_187' -'176','val_176' -'54','val_54' -'459','val_459' -'51','val_51' -'138','val_138' -'103','val_103' -'239','val_239' -'213','val_213' -'216','val_216' -'430','val_430' -'278','val_278' -'176','val_176' -'289','val_289' -'221','val_221' -'65','val_65' -'318','val_318' -'332','val_332' -'311','val_311' -'275','val_275' -'137','val_137' -'241','val_241' -'83','val_83' -'333','val_333' -'180','val_180' -'284','val_284' -'12','val_12' -'230','val_230' -'181','val_181' -'67','val_67' -'260','val_260' -'404','val_404' -'384','val_384' -'489','val_489' -'353','val_353' -'373','val_373' -'272','val_272' -'138','val_138' -'217','val_217' -'84','val_84' -'348','val_348' -'466','val_466' -'58','val_58' -'8','val_8' -'411','val_411' -'230','val_230' -'208','val_208' -'348','val_348' -'24','val_24' -'463','val_463' -'431','val_431' -'179','val_179' -'172','val_172' -'42','val_42' -'129','val_129' -'158','val_158' -'119','val_119' -'496','val_496' -'0','val_0' -'322','val_322' -'197','val_197' -'468','val_468' -'393','val_393' -'454','val_454' -'100','val_100' -'298','val_298' -'199','val_199' -'191','val_191' -'418','val_418' -'96','val_96' -'26','val_26' -'165','val_165' -'327','val_327' -'230','val_230' -'205','val_205' -'120','val_120' -'131','val_131' -'51','val_51' -'404','val_404' -'43','val_43' -'436','val_436' -'156','val_156' -'469','val_469' -'468','val_468' -'308','val_308' -'95','val_95' -'196','val_196' -'288','val_288' -'481','val_481' -'457','val_457' -'98','val_98' -'282','val_282' -'197','val_197' -'187','val_187' -'318','val_318' -'318','val_318' -'409','val_409' -'470','val_470' -'137','val_137' -'369','val_369' -'316','val_316' -'169','val_169' -'413','val_413' -'85','val_85' -'77','val_77' -'0','val_0' -'490','val_490' -'87','val_87' -'364','val_364' -'179','val_179' -'118','val_118' -'134','val_134' -'395','val_395' -'282','val_282' -'138','val_138' -'238','val_238' -'419','val_419' -'15','val_15' -'118','val_118' -'72','val_72' -'90','val_90' -'307','val_307' -'19','val_19' -'435','val_435' -'10','val_10' -'277','val_277' -'273','val_273' -'306','val_306' -'224','val_224' -'309','val_309' -'389','val_389' -'327','val_327' -'242','val_242' -'369','val_369' -'392','val_392' -'272','val_272' -'331','val_331' -'401','val_401' -'242','val_242' -'452','val_452' -'177','val_177' -'226','val_226' -'5','val_5' -'497','val_497' -'402','val_402' -'396','val_396' -'317','val_317' -'395','val_395' -'58','val_58' -'35','val_35' -'336','val_336' -'95','val_95' -'11','val_11' -'168','val_168' -'34','val_34' -'229','val_229' -'233','val_233' -'143','val_143' -'472','val_472' -'322','val_322' -'498','val_498' -'160','val_160' -'195','val_195' -'42','val_42' -'321','val_321' -'430','val_430' -'119','val_119' -'489','val_489' -'458','val_458' -'78','val_78' -'76','val_76' -'41','val_41' -'223','val_223' -'492','val_492' -'149','val_149' -'449','val_449' -'218','val_218' -'228','val_228' -'138','val_138' -'453','val_453' -'30','val_30' -'209','val_209' -'64','val_64' -'468','val_468' -'76','val_76' -'74','val_74' -'342','val_342' -'69','val_69' -'230','val_230' -'33','val_33' -'368','val_368' -'103','val_103' -'296','val_296' -'113','val_113' -'216','val_216' -'367','val_367' -'344','val_344' -'167','val_167' -'274','val_274' -'219','val_219' -'239','val_239' -'485','val_485' -'116','val_116' -'223','val_223' -'256','val_256' -'263','val_263' -'70','val_70' -'487','val_487' -'480','val_480' -'401','val_401' -'288','val_288' -'191','val_191' -'5','val_5' -'244','val_244' -'438','val_438' -'128','val_128' -'467','val_467' -'432','val_432' -'202','val_202' -'316','val_316' -'229','val_229' -'469','val_469' -'463','val_463' -'280','val_280' -'2','val_2' -'35','val_35' -'283','val_283' -'331','val_331' -'235','val_235' -'80','val_80' -'44','val_44' -'193','val_193' -'321','val_321' -'335','val_335' -'104','val_104' -'466','val_466' -'366','val_366' -'175','val_175' -'403','val_403' -'483','val_483' -'53','val_53' -'105','val_105' -'257','val_257' -'406','val_406' -'409','val_409' -'190','val_190' -'406','val_406' -'401','val_401' -'114','val_114' -'258','val_258' -'90','val_90' -'203','val_203' -'262','val_262' -'348','val_348' -'424','val_424' -'12','val_12' -'396','val_396' -'201','val_201' -'217','val_217' -'164','val_164' -'431','val_431' -'454','val_454' -'478','val_478' -'298','val_298' -'125','val_125' -'431','val_431' -'164','val_164' -'424','val_424' -'187','val_187' -'382','val_382' -'5','val_5' -'70','val_70' -'397','val_397' -'480','val_480' -'291','val_291' -'24','val_24' -'351','val_351' -'255','val_255' -'104','val_104' -'70','val_70' -'163','val_163' -'438','val_438' -'119','val_119' -'414','val_414' -'200','val_200' -'491','val_491' -'237','val_237' -'439','val_439' -'360','val_360' -'248','val_248' -'479','val_479' -'305','val_305' -'417','val_417' -'199','val_199' -'444','val_444' -'120','val_120' -'429','val_429' -'169','val_169' -'443','val_443' -'323','val_323' -'325','val_325' -'277','val_277' -'230','val_230' -'478','val_478' -'178','val_178' -'468','val_468' -'310','val_310' -'317','val_317' -'333','val_333' -'493','val_493' -'460','val_460' -'207','val_207' -'249','val_249' -'265','val_265' -'480','val_480' -'83','val_83' -'136','val_136' -'353','val_353' -'172','val_172' -'214','val_214' -'462','val_462' -'233','val_233' -'406','val_406' -'133','val_133' -'175','val_175' -'189','val_189' -'454','val_454' -'375','val_375' -'401','val_401' -'421','val_421' -'407','val_407' -'384','val_384' -'256','val_256' -'26','val_26' -'134','val_134' -'67','val_67' -'384','val_384' -'379','val_379' -'18','val_18' -'462','val_462' -'492','val_492' -'100','val_100' -'298','val_298' -'9','val_9' -'341','val_341' -'498','val_498' -'146','val_146' -'458','val_458' -'362','val_362' -'186','val_186' -'285','val_285' -'348','val_348' -'167','val_167' -'18','val_18' -'273','val_273' -'183','val_183' -'281','val_281' -'344','val_344' -'97','val_97' -'469','val_469' -'315','val_315' -'84','val_84' -'28','val_28' -'37','val_37' -'448','val_448' -'152','val_152' -'348','val_348' -'307','val_307' -'194','val_194' -'414','val_414' -'477','val_477' -'222','val_222' -'126','val_126' -'90','val_90' -'169','val_169' -'403','val_403' -'400','val_400' -'200','val_200' -'97','val_97' -500 rows selected ->>> ->>> ->>> CREATE TABLE stats_partitioned(key string, value string) partitioned by (ds string); -No rows affected ->>> ->>> explain -insert overwrite table stats_partitioned partition (ds='1') -select * from src; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME stats_partitioned) (TOK_PARTSPEC (TOK_PARTVAL ds '1')))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: stats0.stats_partitioned' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' partition:' -' ds 1' -' 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: stats0.stats_partitioned' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: stats0.stats_partitioned' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: stats0.stats_partitioned' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -93 rows selected ->>> ->>> insert overwrite table stats_partitioned partition (ds='1') -select * from src; -'key','value' -No rows selected ->>> ->>> show partitions stats_partitioned; -'partition' -'ds=1' -1 row selected ->>> select * from stats_partitioned where ds is not null; -'key','value','ds' -'238','val_238','1' -'86','val_86','1' -'311','val_311','1' -'27','val_27','1' -'165','val_165','1' -'409','val_409','1' -'255','val_255','1' -'278','val_278','1' -'98','val_98','1' -'484','val_484','1' -'265','val_265','1' -'193','val_193','1' -'401','val_401','1' -'150','val_150','1' -'273','val_273','1' -'224','val_224','1' -'369','val_369','1' -'66','val_66','1' -'128','val_128','1' -'213','val_213','1' -'146','val_146','1' -'406','val_406','1' -'429','val_429','1' -'374','val_374','1' -'152','val_152','1' -'469','val_469','1' -'145','val_145','1' -'495','val_495','1' -'37','val_37','1' -'327','val_327','1' -'281','val_281','1' -'277','val_277','1' -'209','val_209','1' -'15','val_15','1' -'82','val_82','1' -'403','val_403','1' -'166','val_166','1' -'417','val_417','1' -'430','val_430','1' -'252','val_252','1' -'292','val_292','1' -'219','val_219','1' -'287','val_287','1' -'153','val_153','1' -'193','val_193','1' -'338','val_338','1' -'446','val_446','1' -'459','val_459','1' -'394','val_394','1' -'237','val_237','1' -'482','val_482','1' -'174','val_174','1' -'413','val_413','1' -'494','val_494','1' -'207','val_207','1' -'199','val_199','1' -'466','val_466','1' -'208','val_208','1' -'174','val_174','1' -'399','val_399','1' -'396','val_396','1' -'247','val_247','1' -'417','val_417','1' -'489','val_489','1' -'162','val_162','1' -'377','val_377','1' -'397','val_397','1' -'309','val_309','1' -'365','val_365','1' -'266','val_266','1' -'439','val_439','1' -'342','val_342','1' -'367','val_367','1' -'325','val_325','1' -'167','val_167','1' -'195','val_195','1' -'475','val_475','1' -'17','val_17','1' -'113','val_113','1' -'155','val_155','1' -'203','val_203','1' -'339','val_339','1' -'0','val_0','1' -'455','val_455','1' -'128','val_128','1' -'311','val_311','1' -'316','val_316','1' -'57','val_57','1' -'302','val_302','1' -'205','val_205','1' -'149','val_149','1' -'438','val_438','1' -'345','val_345','1' -'129','val_129','1' -'170','val_170','1' -'20','val_20','1' -'489','val_489','1' -'157','val_157','1' -'378','val_378','1' -'221','val_221','1' -'92','val_92','1' -'111','val_111','1' -'47','val_47','1' -'72','val_72','1' -'4','val_4','1' -'280','val_280','1' -'35','val_35','1' -'427','val_427','1' -'277','val_277','1' -'208','val_208','1' -'356','val_356','1' -'399','val_399','1' -'169','val_169','1' -'382','val_382','1' -'498','val_498','1' -'125','val_125','1' -'386','val_386','1' -'437','val_437','1' -'469','val_469','1' -'192','val_192','1' -'286','val_286','1' -'187','val_187','1' -'176','val_176','1' -'54','val_54','1' -'459','val_459','1' -'51','val_51','1' -'138','val_138','1' -'103','val_103','1' -'239','val_239','1' -'213','val_213','1' -'216','val_216','1' -'430','val_430','1' -'278','val_278','1' -'176','val_176','1' -'289','val_289','1' -'221','val_221','1' -'65','val_65','1' -'318','val_318','1' -'332','val_332','1' -'311','val_311','1' -'275','val_275','1' -'137','val_137','1' -'241','val_241','1' -'83','val_83','1' -'333','val_333','1' -'180','val_180','1' -'284','val_284','1' -'12','val_12','1' -'230','val_230','1' -'181','val_181','1' -'67','val_67','1' -'260','val_260','1' -'404','val_404','1' -'384','val_384','1' -'489','val_489','1' -'353','val_353','1' -'373','val_373','1' -'272','val_272','1' -'138','val_138','1' -'217','val_217','1' -'84','val_84','1' -'348','val_348','1' -'466','val_466','1' -'58','val_58','1' -'8','val_8','1' -'411','val_411','1' -'230','val_230','1' -'208','val_208','1' -'348','val_348','1' -'24','val_24','1' -'463','val_463','1' -'431','val_431','1' -'179','val_179','1' -'172','val_172','1' -'42','val_42','1' -'129','val_129','1' -'158','val_158','1' -'119','val_119','1' -'496','val_496','1' -'0','val_0','1' -'322','val_322','1' -'197','val_197','1' -'468','val_468','1' -'393','val_393','1' -'454','val_454','1' -'100','val_100','1' -'298','val_298','1' -'199','val_199','1' -'191','val_191','1' -'418','val_418','1' -'96','val_96','1' -'26','val_26','1' -'165','val_165','1' -'327','val_327','1' -'230','val_230','1' -'205','val_205','1' -'120','val_120','1' -'131','val_131','1' -'51','val_51','1' -'404','val_404','1' -'43','val_43','1' -'436','val_436','1' -'156','val_156','1' -'469','val_469','1' -'468','val_468','1' -'308','val_308','1' -'95','val_95','1' -'196','val_196','1' -'288','val_288','1' -'481','val_481','1' -'457','val_457','1' -'98','val_98','1' -'282','val_282','1' -'197','val_197','1' -'187','val_187','1' -'318','val_318','1' -'318','val_318','1' -'409','val_409','1' -'470','val_470','1' -'137','val_137','1' -'369','val_369','1' -'316','val_316','1' -'169','val_169','1' -'413','val_413','1' -'85','val_85','1' -'77','val_77','1' -'0','val_0','1' -'490','val_490','1' -'87','val_87','1' -'364','val_364','1' -'179','val_179','1' -'118','val_118','1' -'134','val_134','1' -'395','val_395','1' -'282','val_282','1' -'138','val_138','1' -'238','val_238','1' -'419','val_419','1' -'15','val_15','1' -'118','val_118','1' -'72','val_72','1' -'90','val_90','1' -'307','val_307','1' -'19','val_19','1' -'435','val_435','1' -'10','val_10','1' -'277','val_277','1' -'273','val_273','1' -'306','val_306','1' -'224','val_224','1' -'309','val_309','1' -'389','val_389','1' -'327','val_327','1' -'242','val_242','1' -'369','val_369','1' -'392','val_392','1' -'272','val_272','1' -'331','val_331','1' -'401','val_401','1' -'242','val_242','1' -'452','val_452','1' -'177','val_177','1' -'226','val_226','1' -'5','val_5','1' -'497','val_497','1' -'402','val_402','1' -'396','val_396','1' -'317','val_317','1' -'395','val_395','1' -'58','val_58','1' -'35','val_35','1' -'336','val_336','1' -'95','val_95','1' -'11','val_11','1' -'168','val_168','1' -'34','val_34','1' -'229','val_229','1' -'233','val_233','1' -'143','val_143','1' -'472','val_472','1' -'322','val_322','1' -'498','val_498','1' -'160','val_160','1' -'195','val_195','1' -'42','val_42','1' -'321','val_321','1' -'430','val_430','1' -'119','val_119','1' -'489','val_489','1' -'458','val_458','1' -'78','val_78','1' -'76','val_76','1' -'41','val_41','1' -'223','val_223','1' -'492','val_492','1' -'149','val_149','1' -'449','val_449','1' -'218','val_218','1' -'228','val_228','1' -'138','val_138','1' -'453','val_453','1' -'30','val_30','1' -'209','val_209','1' -'64','val_64','1' -'468','val_468','1' -'76','val_76','1' -'74','val_74','1' -'342','val_342','1' -'69','val_69','1' -'230','val_230','1' -'33','val_33','1' -'368','val_368','1' -'103','val_103','1' -'296','val_296','1' -'113','val_113','1' -'216','val_216','1' -'367','val_367','1' -'344','val_344','1' -'167','val_167','1' -'274','val_274','1' -'219','val_219','1' -'239','val_239','1' -'485','val_485','1' -'116','val_116','1' -'223','val_223','1' -'256','val_256','1' -'263','val_263','1' -'70','val_70','1' -'487','val_487','1' -'480','val_480','1' -'401','val_401','1' -'288','val_288','1' -'191','val_191','1' -'5','val_5','1' -'244','val_244','1' -'438','val_438','1' -'128','val_128','1' -'467','val_467','1' -'432','val_432','1' -'202','val_202','1' -'316','val_316','1' -'229','val_229','1' -'469','val_469','1' -'463','val_463','1' -'280','val_280','1' -'2','val_2','1' -'35','val_35','1' -'283','val_283','1' -'331','val_331','1' -'235','val_235','1' -'80','val_80','1' -'44','val_44','1' -'193','val_193','1' -'321','val_321','1' -'335','val_335','1' -'104','val_104','1' -'466','val_466','1' -'366','val_366','1' -'175','val_175','1' -'403','val_403','1' -'483','val_483','1' -'53','val_53','1' -'105','val_105','1' -'257','val_257','1' -'406','val_406','1' -'409','val_409','1' -'190','val_190','1' -'406','val_406','1' -'401','val_401','1' -'114','val_114','1' -'258','val_258','1' -'90','val_90','1' -'203','val_203','1' -'262','val_262','1' -'348','val_348','1' -'424','val_424','1' -'12','val_12','1' -'396','val_396','1' -'201','val_201','1' -'217','val_217','1' -'164','val_164','1' -'431','val_431','1' -'454','val_454','1' -'478','val_478','1' -'298','val_298','1' -'125','val_125','1' -'431','val_431','1' -'164','val_164','1' -'424','val_424','1' -'187','val_187','1' -'382','val_382','1' -'5','val_5','1' -'70','val_70','1' -'397','val_397','1' -'480','val_480','1' -'291','val_291','1' -'24','val_24','1' -'351','val_351','1' -'255','val_255','1' -'104','val_104','1' -'70','val_70','1' -'163','val_163','1' -'438','val_438','1' -'119','val_119','1' -'414','val_414','1' -'200','val_200','1' -'491','val_491','1' -'237','val_237','1' -'439','val_439','1' -'360','val_360','1' -'248','val_248','1' -'479','val_479','1' -'305','val_305','1' -'417','val_417','1' -'199','val_199','1' -'444','val_444','1' -'120','val_120','1' -'429','val_429','1' -'169','val_169','1' -'443','val_443','1' -'323','val_323','1' -'325','val_325','1' -'277','val_277','1' -'230','val_230','1' -'478','val_478','1' -'178','val_178','1' -'468','val_468','1' -'310','val_310','1' -'317','val_317','1' -'333','val_333','1' -'493','val_493','1' -'460','val_460','1' -'207','val_207','1' -'249','val_249','1' -'265','val_265','1' -'480','val_480','1' -'83','val_83','1' -'136','val_136','1' -'353','val_353','1' -'172','val_172','1' -'214','val_214','1' -'462','val_462','1' -'233','val_233','1' -'406','val_406','1' -'133','val_133','1' -'175','val_175','1' -'189','val_189','1' -'454','val_454','1' -'375','val_375','1' -'401','val_401','1' -'421','val_421','1' -'407','val_407','1' -'384','val_384','1' -'256','val_256','1' -'26','val_26','1' -'134','val_134','1' -'67','val_67','1' -'384','val_384','1' -'379','val_379','1' -'18','val_18','1' -'462','val_462','1' -'492','val_492','1' -'100','val_100','1' -'298','val_298','1' -'9','val_9','1' -'341','val_341','1' -'498','val_498','1' -'146','val_146','1' -'458','val_458','1' -'362','val_362','1' -'186','val_186','1' -'285','val_285','1' -'348','val_348','1' -'167','val_167','1' -'18','val_18','1' -'273','val_273','1' -'183','val_183','1' -'281','val_281','1' -'344','val_344','1' -'97','val_97','1' -'469','val_469','1' -'315','val_315','1' -'84','val_84','1' -'28','val_28','1' -'37','val_37','1' -'448','val_448','1' -'152','val_152','1' -'348','val_348','1' -'307','val_307','1' -'194','val_194','1' -'414','val_414','1' -'477','val_477','1' -'222','val_222','1' -'126','val_126','1' -'90','val_90','1' -'169','val_169','1' -'403','val_403','1' -'400','val_400','1' -'200','val_200','1' -'97','val_97','1' -500 rows selected ->>> ->>> describe extended stats_partitioned partition (ds='1'); -'col_name','data_type','comment' -'key','string','' -'value','string','' -'ds','string','' -'','','' -'Detailed Partition Information','Partition(values:[1], dbName:stats0, tableName:stats_partitioned, createTime:!!UNIXTIME!!, lastAccessTime:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/stats0.db/stats_partitioned/ds=1, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), parameters:{numFiles=1, transient_lastDdlTime=!!UNIXTIME!!, numRows=500, totalSize=5812, rawDataSize=5312})','' -5 rows selected ->>> describe extended stats_partitioned; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'ds','string','' -'','','' -'Detailed Table Information','Table(tableName:stats_partitioned, dbName:stats0, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/stats0.db/stats_partitioned, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:ds, type:string, comment:null)], parameters:{numPartitions=1, numFiles=1, transient_lastDdlTime=!!UNIXTIME!!, numRows=500, totalSize=5812, rawDataSize=5312}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -5 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/stats1.q.out ql/src/test/results/beelinepositive/stats1.q.out deleted file mode 100644 index 91a9f5c..0000000 --- ql/src/test/results/beelinepositive/stats1.q.out +++ /dev/null @@ -1,250 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/stats1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/stats1.q ->>> set datanucleus.cache.collections=false; -No rows affected ->>> set hive.stats.autogather=true; -No rows affected ->>> set hive.merge.mapfiles=false; -No rows affected ->>> set hive.merge.mapredfiles=false; -No rows affected ->>> set hive.map.aggr=true; -No rows affected ->>> ->>> create table tmptable(key string, value string); -No rows affected ->>> ->>> EXPLAIN -INSERT OVERWRITE TABLE tmptable -SELECT unionsrc.key, unionsrc.value -FROM (SELECT 'tst1' AS key, cast(count(1) AS string) AS value FROM src s1 -UNION ALL -SELECT s2.key AS key, s2.value AS value FROM src1 s2) unionsrc; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) s1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 'tst1' key) (TOK_SELEXPR (TOK_FUNCTION TOK_STRING (TOK_FUNCTION count 1)) value)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src1) s2)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL s2) key) key) (TOK_SELEXPR (. (TOK_TABLE_OR_COL s2) value) value))))) unionsrc)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME tmptable))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL unionsrc) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL unionsrc) value)))))' -'' -'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' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1:unionsrc-subquery1:s1 ' -' TableScan' -' alias: s1' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: 'tst1'' -' type: string' -' expr: UDFToString(_col0)' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: stats1.tmptable' -' null-subquery2:unionsrc-subquery2:s2 ' -' TableScan' -' alias: s2' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: stats1.tmptable' -'' -' 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: stats1.tmptable' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -'' -112 rows selected ->>> ->>> INSERT OVERWRITE TABLE tmptable -SELECT unionsrc.key, unionsrc.value -FROM (SELECT 'tst1' AS key, cast(count(1) AS string) AS value FROM src s1 -UNION ALL -SELECT s2.key AS key, s2.value AS value FROM src1 s2) unionsrc; -'key','value' -No rows selected ->>> ->>> SELECT * FROM tmptable x SORT BY x.key, x.value; -'key','value' -'','' -'','' -'','' -'','' -'','val_165' -'','val_193' -'','val_265' -'','val_27' -'','val_409' -'','val_484' -'128','' -'146','val_146' -'150','val_150' -'213','val_213' -'224','' -'238','val_238' -'255','val_255' -'273','val_273' -'278','val_278' -'311','val_311' -'369','' -'401','val_401' -'406','val_406' -'66','val_66' -'98','val_98' -'tst1','500' -26 rows selected ->>> ->>> DESCRIBE FORMATTED tmptable; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','stats1 ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats1.db/tmptable','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','numFiles ','2 ' -'','numPartitions ','0 ' -'','numRows ','26 ' -'','rawDataSize ','199 ' -'','totalSize ','225 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -32 rows selected ->>> ->>> -- Load a file into a existing table ->>> -- Some stats (numFiles, totalSize) should be updated correctly ->>> -- Some other stats (numRows, rawDataSize) should be cleared ->>> load data local inpath '../data/files/srcbucket20.txt' INTO TABLE tmptable; -No rows affected ->>> DESCRIBE FORMATTED tmptable; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','stats1 ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats1.db/tmptable','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','numFiles ','3 ' -'','numPartitions ','0 ' -'','numRows ','0 ' -'','rawDataSize ','0 ' -'','totalSize ','1583 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -32 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/stats10.q.out ql/src/test/results/beelinepositive/stats10.q.out deleted file mode 100644 index a7b38e7..0000000 --- ql/src/test/results/beelinepositive/stats10.q.out +++ /dev/null @@ -1,493 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/stats10.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/stats10.q ->>> set datanucleus.cache.collections=false; -No rows affected ->>> set hive.stats.autogather=true; -No rows affected ->>> set hive.enforce.bucketing = true; -No rows affected ->>> set hive.exec.reducers.max = 1; -No rows affected ->>> ->>> CREATE TABLE bucket3_1(key int, value string) partitioned by (ds string) CLUSTERED BY (key) INTO 2 BUCKETS; -No rows affected ->>> ->>> explain -insert overwrite table bucket3_1 partition (ds='1') -select * from src; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME bucket3_1) (TOK_PARTSPEC (TOK_PARTVAL ds '1')))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' sort order: ' -' Map-reduce partition columns:' -' expr: UDFToInteger(_col0)' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: stats10.bucket3_1' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' partition:' -' ds 1' -' 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: stats10.bucket3_1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -67 rows selected ->>> ->>> insert overwrite table bucket3_1 partition (ds='1') -select * from src; -'_col0','_col1' -No rows selected ->>> ->>> insert overwrite table bucket3_1 partition (ds='1') -select * from src; -'_col0','_col1' -No rows selected ->>> ->>> insert overwrite table bucket3_1 partition (ds='2') -select * from src; -'_col0','_col1' -No rows selected ->>> ->>> select * from bucket3_1 tablesample (bucket 1 out of 2) s where ds = '1' order by key; -'key','value','ds' -'0','val_0','1' -'0','val_0','1' -'0','val_0','1' -'2','val_2','1' -'4','val_4','1' -'8','val_8','1' -'10','val_10','1' -'12','val_12','1' -'12','val_12','1' -'18','val_18','1' -'18','val_18','1' -'20','val_20','1' -'24','val_24','1' -'24','val_24','1' -'26','val_26','1' -'26','val_26','1' -'28','val_28','1' -'30','val_30','1' -'34','val_34','1' -'42','val_42','1' -'42','val_42','1' -'44','val_44','1' -'54','val_54','1' -'58','val_58','1' -'58','val_58','1' -'64','val_64','1' -'66','val_66','1' -'70','val_70','1' -'70','val_70','1' -'70','val_70','1' -'72','val_72','1' -'72','val_72','1' -'74','val_74','1' -'76','val_76','1' -'76','val_76','1' -'78','val_78','1' -'80','val_80','1' -'82','val_82','1' -'84','val_84','1' -'84','val_84','1' -'86','val_86','1' -'90','val_90','1' -'90','val_90','1' -'90','val_90','1' -'92','val_92','1' -'96','val_96','1' -'98','val_98','1' -'98','val_98','1' -'100','val_100','1' -'100','val_100','1' -'104','val_104','1' -'104','val_104','1' -'114','val_114','1' -'116','val_116','1' -'118','val_118','1' -'118','val_118','1' -'120','val_120','1' -'120','val_120','1' -'126','val_126','1' -'128','val_128','1' -'128','val_128','1' -'128','val_128','1' -'134','val_134','1' -'134','val_134','1' -'136','val_136','1' -'138','val_138','1' -'138','val_138','1' -'138','val_138','1' -'138','val_138','1' -'146','val_146','1' -'146','val_146','1' -'150','val_150','1' -'152','val_152','1' -'152','val_152','1' -'156','val_156','1' -'158','val_158','1' -'160','val_160','1' -'162','val_162','1' -'164','val_164','1' -'164','val_164','1' -'166','val_166','1' -'168','val_168','1' -'170','val_170','1' -'172','val_172','1' -'172','val_172','1' -'174','val_174','1' -'174','val_174','1' -'176','val_176','1' -'176','val_176','1' -'178','val_178','1' -'180','val_180','1' -'186','val_186','1' -'190','val_190','1' -'192','val_192','1' -'194','val_194','1' -'196','val_196','1' -'200','val_200','1' -'200','val_200','1' -'202','val_202','1' -'208','val_208','1' -'208','val_208','1' -'208','val_208','1' -'214','val_214','1' -'216','val_216','1' -'216','val_216','1' -'218','val_218','1' -'222','val_222','1' -'224','val_224','1' -'224','val_224','1' -'226','val_226','1' -'228','val_228','1' -'230','val_230','1' -'230','val_230','1' -'230','val_230','1' -'230','val_230','1' -'230','val_230','1' -'238','val_238','1' -'238','val_238','1' -'242','val_242','1' -'242','val_242','1' -'244','val_244','1' -'248','val_248','1' -'252','val_252','1' -'256','val_256','1' -'256','val_256','1' -'258','val_258','1' -'260','val_260','1' -'262','val_262','1' -'266','val_266','1' -'272','val_272','1' -'272','val_272','1' -'274','val_274','1' -'278','val_278','1' -'278','val_278','1' -'280','val_280','1' -'280','val_280','1' -'282','val_282','1' -'282','val_282','1' -'284','val_284','1' -'286','val_286','1' -'288','val_288','1' -'288','val_288','1' -'292','val_292','1' -'296','val_296','1' -'298','val_298','1' -'298','val_298','1' -'298','val_298','1' -'302','val_302','1' -'306','val_306','1' -'308','val_308','1' -'310','val_310','1' -'316','val_316','1' -'316','val_316','1' -'316','val_316','1' -'318','val_318','1' -'318','val_318','1' -'318','val_318','1' -'322','val_322','1' -'322','val_322','1' -'332','val_332','1' -'336','val_336','1' -'338','val_338','1' -'342','val_342','1' -'342','val_342','1' -'344','val_344','1' -'344','val_344','1' -'348','val_348','1' -'348','val_348','1' -'348','val_348','1' -'348','val_348','1' -'348','val_348','1' -'356','val_356','1' -'360','val_360','1' -'362','val_362','1' -'364','val_364','1' -'366','val_366','1' -'368','val_368','1' -'374','val_374','1' -'378','val_378','1' -'382','val_382','1' -'382','val_382','1' -'384','val_384','1' -'384','val_384','1' -'384','val_384','1' -'386','val_386','1' -'392','val_392','1' -'394','val_394','1' -'396','val_396','1' -'396','val_396','1' -'396','val_396','1' -'400','val_400','1' -'402','val_402','1' -'404','val_404','1' -'404','val_404','1' -'406','val_406','1' -'406','val_406','1' -'406','val_406','1' -'406','val_406','1' -'414','val_414','1' -'414','val_414','1' -'418','val_418','1' -'424','val_424','1' -'424','val_424','1' -'430','val_430','1' -'430','val_430','1' -'430','val_430','1' -'432','val_432','1' -'436','val_436','1' -'438','val_438','1' -'438','val_438','1' -'438','val_438','1' -'444','val_444','1' -'446','val_446','1' -'448','val_448','1' -'452','val_452','1' -'454','val_454','1' -'454','val_454','1' -'454','val_454','1' -'458','val_458','1' -'458','val_458','1' -'460','val_460','1' -'462','val_462','1' -'462','val_462','1' -'466','val_466','1' -'466','val_466','1' -'466','val_466','1' -'468','val_468','1' -'468','val_468','1' -'468','val_468','1' -'468','val_468','1' -'470','val_470','1' -'472','val_472','1' -'478','val_478','1' -'478','val_478','1' -'480','val_480','1' -'480','val_480','1' -'480','val_480','1' -'482','val_482','1' -'484','val_484','1' -'490','val_490','1' -'492','val_492','1' -'492','val_492','1' -'494','val_494','1' -'496','val_496','1' -'498','val_498','1' -'498','val_498','1' -'498','val_498','1' -247 rows selected ->>> ->>> explain analyze table bucket3_1 partition (ds) compute statistics; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_ANALYZE (TOK_TAB (TOK_TABNAME bucket3_1) (TOK_PARTSPEC (TOK_PARTVAL ds))))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -' Stage-1 depends on stages: Stage-0' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Map Reduce' -' Alias -> Map Operator Tree:' -' bucket3_1 ' -' TableScan' -' alias: bucket3_1' -'' -' Stage: Stage-1' -' Stats-Aggr Operator' -'' -'' -19 rows selected ->>> analyze table bucket3_1 partition (ds) compute statistics; -'key','value','ds' -No rows selected ->>> ->>> describe formatted bucket3_1 partition (ds='1'); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','int ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[1] ','' -'Database: ','stats10 ','' -'Table: ','bucket3_1 ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats10.db/bucket3_1/ds=1','' -'Partition Parameters:','','' -'','numFiles ','2 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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: ','2 ','' -'Bucket Columns: ','[key] ','' -'Sort Columns: ','[] ','' -'Storage Desc Params:','','' -'','serialization.format','1 ' -35 rows selected ->>> describe formatted bucket3_1 partition (ds='2'); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','int ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2] ','' -'Database: ','stats10 ','' -'Table: ','bucket3_1 ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats10.db/bucket3_1/ds=2','' -'Partition Parameters:','','' -'','numFiles ','2 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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: ','2 ','' -'Bucket Columns: ','[key] ','' -'Sort Columns: ','[] ','' -'Storage Desc Params:','','' -'','serialization.format','1 ' -35 rows selected ->>> describe formatted bucket3_1; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','int ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','stats10 ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats10.db/bucket3_1','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','numFiles ','4 ' -'','numPartitions ','2 ' -'','numRows ','1000 ' -'','rawDataSize ','10624 ' -'','totalSize ','11624 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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: ','2 ','' -'Bucket Columns: ','[key] ','' -'Sort Columns: ','[] ','' -'Storage Desc Params:','','' -'','serialization.format','1 ' -37 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/stats11.q.out ql/src/test/results/beelinepositive/stats11.q.out deleted file mode 100644 index 51bd85b..0000000 --- ql/src/test/results/beelinepositive/stats11.q.out +++ /dev/null @@ -1,1076 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/stats11.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/stats11.q ->>> set datanucleus.cache.collections=false; -No rows affected ->>> set hive.stats.autogather=true; -No rows affected ->>> ->>> CREATE TABLE srcbucket_mapjoin(key int, value string) CLUSTERED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> load data local inpath '../data/files/srcbucket20.txt' INTO TABLE srcbucket_mapjoin; -No rows affected ->>> load data local inpath '../data/files/srcbucket21.txt' INTO TABLE srcbucket_mapjoin; -No rows affected ->>> ->>> CREATE TABLE srcbucket_mapjoin_part (key int, value string) partitioned by (ds string) CLUSTERED BY (key) INTO 4 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> explain -load data local inpath '../data/files/srcbucket20.txt' INTO TABLE srcbucket_mapjoin_part partition(ds='2008-04-08'); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_LOAD '../data/files/srcbucket20.txt' (TOK_TAB (TOK_TABNAME srcbucket_mapjoin_part) (TOK_PARTSPEC (TOK_PARTVAL ds '2008-04-08'))) local)' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -' Stage-1 depends on stages: Stage-0' -' Stage-2 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Copy' -' source: file:!!{hive.root}!!/data/files/srcbucket20.txt' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' Move Operator' -' tables:' -' partition:' -' ds 2008-04-08' -' replace: 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: stats11.srcbucket_mapjoin_part' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -30 rows selected ->>> load data local inpath '../data/files/srcbucket20.txt' INTO TABLE srcbucket_mapjoin_part partition(ds='2008-04-08'); -No rows affected ->>> ->>> desc formatted srcbucket_mapjoin_part partition(ds='2008-04-08'); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','int ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2008-04-08] ','' -'Database: ','stats11 ','' -'Table: ','srcbucket_mapjoin_part','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats11.db/srcbucket_mapjoin_part/ds=2008-04-08','' -'Partition Parameters:','','' -'','numFiles ','1 ' -'','numRows ','0 ' -'','rawDataSize ','0 ' -'','totalSize ','1358 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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: ','4 ','' -'Bucket Columns: ','[key] ','' -'Sort Columns: ','[] ','' -'Storage Desc Params:','','' -'','serialization.format','1 ' -35 rows selected ->>> load data local inpath '../data/files/srcbucket21.txt' INTO TABLE srcbucket_mapjoin_part partition(ds='2008-04-08'); -No rows affected ->>> desc formatted srcbucket_mapjoin_part partition(ds='2008-04-08'); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','int ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2008-04-08] ','' -'Database: ','stats11 ','' -'Table: ','srcbucket_mapjoin_part','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats11.db/srcbucket_mapjoin_part/ds=2008-04-08','' -'Partition Parameters:','','' -'','numFiles ','2 ' -'','numRows ','0 ' -'','rawDataSize ','0 ' -'','totalSize ','2750 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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: ','4 ','' -'Bucket Columns: ','[key] ','' -'Sort Columns: ','[] ','' -'Storage Desc Params:','','' -'','serialization.format','1 ' -35 rows selected ->>> load data local inpath '../data/files/srcbucket22.txt' INTO TABLE srcbucket_mapjoin_part partition(ds='2008-04-08'); -No rows affected ->>> desc formatted srcbucket_mapjoin_part partition(ds='2008-04-08'); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','int ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2008-04-08] ','' -'Database: ','stats11 ','' -'Table: ','srcbucket_mapjoin_part','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats11.db/srcbucket_mapjoin_part/ds=2008-04-08','' -'Partition Parameters:','','' -'','numFiles ','3 ' -'','numRows ','0 ' -'','rawDataSize ','0 ' -'','totalSize ','4200 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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: ','4 ','' -'Bucket Columns: ','[key] ','' -'Sort Columns: ','[] ','' -'Storage Desc Params:','','' -'','serialization.format','1 ' -35 rows selected ->>> load data local inpath '../data/files/srcbucket23.txt' INTO TABLE srcbucket_mapjoin_part partition(ds='2008-04-08'); -No rows affected ->>> desc formatted srcbucket_mapjoin_part partition(ds='2008-04-08'); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','int ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2008-04-08] ','' -'Database: ','stats11 ','' -'Table: ','srcbucket_mapjoin_part','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats11.db/srcbucket_mapjoin_part/ds=2008-04-08','' -'Partition Parameters:','','' -'','numFiles ','4 ' -'','numRows ','0 ' -'','rawDataSize ','0 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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: ','4 ','' -'Bucket Columns: ','[key] ','' -'Sort Columns: ','[] ','' -'Storage Desc Params:','','' -'','serialization.format','1 ' -35 rows selected ->>> ->>> CREATE TABLE srcbucket_mapjoin_part_2 (key int, value string) partitioned by (ds string) CLUSTERED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE; -No rows affected ->>> load data local inpath '../data/files/srcbucket22.txt' INTO TABLE srcbucket_mapjoin_part_2 partition(ds='2008-04-08'); -No rows affected ->>> load data local inpath '../data/files/srcbucket23.txt' INTO TABLE srcbucket_mapjoin_part_2 partition(ds='2008-04-08'); -No rows affected ->>> ->>> create table bucketmapjoin_hash_result_1 (key bigint , value1 bigint, value2 bigint); -No rows affected ->>> create table bucketmapjoin_hash_result_2 (key bigint , value1 bigint, value2 bigint); -No rows affected ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> create table bucketmapjoin_tmp_result (key string , value1 string, value2 string); -No rows affected ->>> ->>> explain extended -insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(b)*/ a.key, a.value, b.value -from srcbucket_mapjoin a join srcbucket_mapjoin_part b -on a.key=b.key where b.ds="2008-04-08"; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin) a) (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME bucketmapjoin_tmp_result))) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value))) (TOK_WHERE (= (. (TOK_TABLE_OR_COL b) ds) "2008-04-08"))))' -'' -'STAGE DEPENDENCIES:' -' Stage-9 is a root stage' -' Stage-1 depends on stages: Stage-9' -' 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-9' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' b ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {value} {ds}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 0' -' Bucket Mapjoin Context:' -' Alias Bucket Base File Name Mapping:' -' b {srcbucket20.txt=[ds=2008-04-08/srcbucket20.txt, ds=2008-04-08/srcbucket22.txt], srcbucket21.txt=[ds=2008-04-08/srcbucket21.txt, ds=2008-04-08/srcbucket23.txt]}' -' Alias Bucket File Name Mapping:' -' b {!!{hive.metastore.warehouse.dir}!!/stats11.db/srcbucket_mapjoin/srcbucket20.txt=[!!{hive.metastore.warehouse.dir}!!/stats11.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket20.txt, !!{hive.metastore.warehouse.dir}!!/stats11.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket22.txt], !!{hive.metastore.warehouse.dir}!!/stats11.db/srcbucket_mapjoin/srcbucket21.txt=[!!{hive.metastore.warehouse.dir}!!/stats11.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket21.txt, !!{hive.metastore.warehouse.dir}!!/stats11.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket23.txt]}' -' Alias Bucket Output File Name Mapping:' -' !!{hive.metastore.warehouse.dir}!!/stats11.db/srcbucket_mapjoin/srcbucket20.txt 0' -' !!{hive.metastore.warehouse.dir}!!/stats11.db/srcbucket_mapjoin/srcbucket21.txt 1' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {value} {ds}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col5, _col6' -' Position of Big Table: 0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col5' -' type: string' -' expr: _col6' -' type: string' -' outputColumnNames: _col0, _col1, _col5, _col6' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats11.db/bucketmapjoin_tmp_result' -' name stats11.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: stats11.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/stats11.db/srcbucket_mapjoin [a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/stats11.db/srcbucket_mapjoin ' -' Partition' -' base file name: srcbucket_mapjoin' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats11.db/srcbucket_mapjoin' -' name stats11.srcbucket_mapjoin' -' numFiles 2' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 2' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats11.db/srcbucket_mapjoin' -' name stats11.srcbucket_mapjoin' -' numFiles 2' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 2750' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: stats11.srcbucket_mapjoin' -' name: stats11.srcbucket_mapjoin' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats11.db/bucketmapjoin_tmp_result' -' name stats11.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: stats11.bucketmapjoin_tmp_result' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats11.db/bucketmapjoin_tmp_result' -' name stats11.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: stats11.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats11.db/bucketmapjoin_tmp_result' -' name stats11.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats11.db/bucketmapjoin_tmp_result' -' name stats11.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: stats11.bucketmapjoin_tmp_result' -' name: stats11.bucketmapjoin_tmp_result' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats11.db/bucketmapjoin_tmp_result' -' name stats11.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: stats11.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats11.db/bucketmapjoin_tmp_result' -' name stats11.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats11.db/bucketmapjoin_tmp_result' -' name stats11.bucketmapjoin_tmp_result' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: stats11.bucketmapjoin_tmp_result' -' name: stats11.bucketmapjoin_tmp_result' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -350 rows selected ->>> ->>> insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(b)*/ a.key, a.value, b.value -from srcbucket_mapjoin a join srcbucket_mapjoin_part b -on a.key=b.key where b.ds="2008-04-08"; -'key','value','value' -No rows selected ->>> ->>> select count(1) from bucketmapjoin_tmp_result; -'_c0' -'464' -1 row selected ->>> ->>> insert overwrite table bucketmapjoin_hash_result_1 -select sum(hash(key)), sum(hash(value1)), sum(hash(value2)) from bucketmapjoin_tmp_result; -'_c0','_c1','_c2' -No rows selected ->>> ->>> set hive.optimize.bucketmapjoin = false; -No rows affected ->>> insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(b)*/ a.key, a.value, b.value -from srcbucket_mapjoin a join srcbucket_mapjoin_part b -on a.key=b.key where b.ds="2008-04-08"; -'key','value','value' -No rows selected ->>> ->>> select count(1) from bucketmapjoin_tmp_result; -'_c0' -'464' -1 row selected ->>> insert overwrite table bucketmapjoin_hash_result_2 -select sum(hash(key)), sum(hash(value1)), sum(hash(value2)) from bucketmapjoin_tmp_result; -'_c0','_c1','_c2' -No rows selected ->>> ->>> ->>> select a.key-b.key, a.value1-b.value1, a.value2-b.value2 -from bucketmapjoin_hash_result_1 a left outer join bucketmapjoin_hash_result_2 b -on a.key = b.key; -'_c0','_c1','_c2' -'0','0','0' -1 row selected ->>> ->>> ->>> set hive.optimize.bucketmapjoin = true; -No rows affected ->>> explain extended -insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(a)*/ a.key, a.value, b.value -from srcbucket_mapjoin a join srcbucket_mapjoin_part b -on a.key=b.key where b.ds="2008-04-08"; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin) a) (TOK_TABREF (TOK_TABNAME srcbucket_mapjoin_part) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME bucketmapjoin_tmp_result))) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST a))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value))) (TOK_WHERE (= (. (TOK_TABLE_OR_COL b) ds) "2008-04-08"))))' -'' -'STAGE DEPENDENCIES:' -' Stage-9 is a root stage' -' Stage-1 depends on stages: Stage-9' -' 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-9' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' a ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' a ' -' TableScan' -' alias: a' -' GatherStats: false' -' HashTable Sink Operator' -' condition expressions:' -' 0 {key} {value}' -' 1 {value} {ds}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' Position of Big Table: 1' -' Bucket Mapjoin Context:' -' Alias Bucket Base File Name Mapping:' -' a {ds=2008-04-08/srcbucket20.txt=[srcbucket20.txt], ds=2008-04-08/srcbucket21.txt=[srcbucket21.txt], ds=2008-04-08/srcbucket22.txt=[srcbucket20.txt], ds=2008-04-08/srcbucket23.txt=[srcbucket21.txt]}' -' Alias Bucket File Name Mapping:' -' a {!!{hive.metastore.warehouse.dir}!!/stats11.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket20.txt=[!!{hive.metastore.warehouse.dir}!!/stats11.db/srcbucket_mapjoin/srcbucket20.txt], !!{hive.metastore.warehouse.dir}!!/stats11.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket21.txt=[!!{hive.metastore.warehouse.dir}!!/stats11.db/srcbucket_mapjoin/srcbucket21.txt], !!{hive.metastore.warehouse.dir}!!/stats11.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket22.txt=[!!{hive.metastore.warehouse.dir}!!/stats11.db/srcbucket_mapjoin/srcbucket20.txt], !!{hive.metastore.warehouse.dir}!!/stats11.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket23.txt=[!!{hive.metastore.warehouse.dir}!!/stats11.db/srcbucket_mapjoin/srcbucket21.txt]}' -' Alias Bucket Output File Name Mapping:' -' !!{hive.metastore.warehouse.dir}!!/stats11.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket20.txt 0' -' !!{hive.metastore.warehouse.dir}!!/stats11.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket21.txt 1' -' !!{hive.metastore.warehouse.dir}!!/stats11.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket22.txt 2' -' !!{hive.metastore.warehouse.dir}!!/stats11.db/srcbucket_mapjoin_part/ds=2008-04-08/srcbucket23.txt 3' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Map Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {key} {value}' -' 1 {value} {ds}' -' handleSkewJoin: false' -' keys:' -' 0 [Column[key]]' -' 1 [Column[key]]' -' outputColumnNames: _col0, _col1, _col5, _col6' -' Position of Big Table: 1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col5' -' type: string' -' expr: _col6' -' type: string' -' outputColumnNames: _col0, _col1, _col5, _col6' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col5' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats11.db/bucketmapjoin_tmp_result' -' name stats11.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 464' -' rawDataSize 8519' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 8983' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: stats11.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/stats11.db/srcbucket_mapjoin_part/ds=2008-04-08 [b]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/stats11.db/srcbucket_mapjoin_part/ds=2008-04-08 ' -' Partition' -' base file name: ds=2008-04-08' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' properties:' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats11.db/srcbucket_mapjoin_part/ds=2008-04-08' -' name stats11.srcbucket_mapjoin_part' -' numFiles 4' -' numPartitions 1' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count 4' -' bucket_field_name key' -' columns key,value' -' columns.types int:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats11.db/srcbucket_mapjoin_part' -' name stats11.srcbucket_mapjoin_part' -' numFiles 4' -' numPartitions 1' -' numRows 0' -' partition_columns ds' -' rawDataSize 0' -' serialization.ddl struct srcbucket_mapjoin_part { i32 key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: stats11.srcbucket_mapjoin_part' -' name: stats11.srcbucket_mapjoin_part' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats11.db/bucketmapjoin_tmp_result' -' name stats11.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 464' -' rawDataSize 8519' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 8983' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: stats11.bucketmapjoin_tmp_result' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats11.db/bucketmapjoin_tmp_result' -' name stats11.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 464' -' rawDataSize 8519' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 8983' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: stats11.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats11.db/bucketmapjoin_tmp_result' -' name stats11.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 464' -' rawDataSize 8519' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 8983' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats11.db/bucketmapjoin_tmp_result' -' name stats11.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 464' -' rawDataSize 8519' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 8983' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: stats11.bucketmapjoin_tmp_result' -' name: stats11.bucketmapjoin_tmp_result' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats11.db/bucketmapjoin_tmp_result' -' name stats11.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 464' -' rawDataSize 8519' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 8983' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: stats11.bucketmapjoin_tmp_result' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' pfile:!!{hive.exec.scratchdir}!! [pfile:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' pfile:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -ext-10002' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats11.db/bucketmapjoin_tmp_result' -' name stats11.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 464' -' rawDataSize 8519' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 8983' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value1,value2' -' columns.types string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats11.db/bucketmapjoin_tmp_result' -' name stats11.bucketmapjoin_tmp_result' -' numFiles 1' -' numPartitions 0' -' numRows 464' -' rawDataSize 8519' -' serialization.ddl struct bucketmapjoin_tmp_result { string key, string value1, string value2}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 8983' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: stats11.bucketmapjoin_tmp_result' -' name: stats11.bucketmapjoin_tmp_result' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -396 rows selected ->>> ->>> insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(a)*/ a.key, a.value, b.value -from srcbucket_mapjoin a join srcbucket_mapjoin_part b -on a.key=b.key where b.ds="2008-04-08"; -'key','value','value' -No rows selected ->>> ->>> select count(1) from bucketmapjoin_tmp_result; -'_c0' -'464' -1 row selected ->>> ->>> ->>> insert overwrite table bucketmapjoin_hash_result_1 -select sum(hash(key)), sum(hash(value1)), sum(hash(value2)) from bucketmapjoin_tmp_result; -'_c0','_c1','_c2' -No rows selected ->>> ->>> set hive.optimize.bucketmapjoin = false; -No rows affected ->>> insert overwrite table bucketmapjoin_tmp_result -select /*+mapjoin(a)*/ a.key, a.value, b.value -from srcbucket_mapjoin a join srcbucket_mapjoin_part b -on a.key=b.key where b.ds="2008-04-08"; -'key','value','value' -No rows selected ->>> ->>> select count(1) from bucketmapjoin_tmp_result; -'_c0' -'464' -1 row selected ->>> insert overwrite table bucketmapjoin_hash_result_2 -select sum(hash(key)), sum(hash(value1)), sum(hash(value2)) from bucketmapjoin_tmp_result; -'_c0','_c1','_c2' -No rows selected ->>> ->>> select a.key-b.key, a.value1-b.value1, a.value2-b.value2 -from bucketmapjoin_hash_result_1 a left outer join bucketmapjoin_hash_result_2 b -on a.key = b.key; -'_c0','_c1','_c2' -'0','0','0' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/stats12.q.out ql/src/test/results/beelinepositive/stats12.q.out deleted file mode 100644 index 1774243..0000000 --- ql/src/test/results/beelinepositive/stats12.q.out +++ /dev/null @@ -1,321 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/stats12.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/stats12.q ->>> set datanucleus.cache.collections=false; -No rows affected ->>> set hive.stats.autogather=false; -No rows affected ->>> set hive.exec.dynamic.partition=true; -No rows affected ->>> set hive.exec.dynamic.partition.mode=nonstrict; -No rows affected ->>> ->>> create table analyze_srcpart like srcpart; -No rows affected ->>> insert overwrite table analyze_srcpart partition (ds, hr) select * from srcpart where ds is not null; -'key','value','ds','hr' -No rows selected ->>> ->>> explain extended -analyze table analyze_srcpart PARTITION(ds='2008-04-08',hr) compute statistics; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_ANALYZE (TOK_TAB (TOK_TABNAME analyze_srcpart) (TOK_PARTSPEC (TOK_PARTVAL ds '2008-04-08') (TOK_PARTVAL hr))))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -' Stage-1 depends on stages: Stage-0' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Map Reduce' -' Alias -> Map Operator Tree:' -' analyze_srcpart ' -' TableScan' -' alias: analyze_srcpart' -' Statistics Aggregation Key Prefix: analyze_srcpart/' -' GatherStats: true' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/stats12.db/analyze_srcpart/ds=2008-04-08/hr=11 [analyze_srcpart]' -' !!{hive.metastore.warehouse.dir}!!/stats12.db/analyze_srcpart/ds=2008-04-08/hr=12 [analyze_srcpart]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/stats12.db/analyze_srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats12.db/analyze_srcpart/ds=2008-04-08/hr=11' -' name stats12.analyze_srcpart' -' partition_columns ds/hr' -' serialization.ddl struct analyze_srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats12.db/analyze_srcpart' -' name stats12.analyze_srcpart' -' partition_columns ds/hr' -' serialization.ddl struct analyze_srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: stats12.analyze_srcpart' -' name: stats12.analyze_srcpart' -' !!{hive.metastore.warehouse.dir}!!/stats12.db/analyze_srcpart/ds=2008-04-08/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats12.db/analyze_srcpart/ds=2008-04-08/hr=12' -' name stats12.analyze_srcpart' -' partition_columns ds/hr' -' serialization.ddl struct analyze_srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats12.db/analyze_srcpart' -' name stats12.analyze_srcpart' -' partition_columns ds/hr' -' serialization.ddl struct analyze_srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: stats12.analyze_srcpart' -' name: stats12.analyze_srcpart' -'' -' Stage: Stage-1' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: analyze_srcpart/' -'' -'' -109 rows selected ->>> ->>> analyze table analyze_srcpart PARTITION(ds='2008-04-08',hr) compute statistics; -'key','value','ds','hr' -No rows selected ->>> ->>> desc formatted analyze_srcpart; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','stats12 ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats12.db/analyze_srcpart','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','numFiles ','2 ' -'','numPartitions ','2 ' -'','numRows ','1000 ' -'','rawDataSize ','10624 ' -'','totalSize ','11624 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -38 rows selected ->>> desc formatted analyze_srcpart partition (ds='2008-04-08', hr=11); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2008-04-08, 11] ','' -'Database: ','stats12 ','' -'Table: ','analyze_srcpart ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats12.db/analyze_srcpart/ds=2008-04-08/hr=11','' -'Partition Parameters:','','' -'','numFiles ','1 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -36 rows selected ->>> desc formatted analyze_srcpart partition (ds='2008-04-08', hr=12); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2008-04-08, 12] ','' -'Database: ','stats12 ','' -'Table: ','analyze_srcpart ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats12.db/analyze_srcpart/ds=2008-04-08/hr=12','' -'Partition Parameters:','','' -'','numFiles ','1 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -36 rows selected ->>> desc formatted analyze_srcpart partition (ds='2008-04-09', hr=11); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2008-04-09, 11] ','' -'Database: ','stats12 ','' -'Table: ','analyze_srcpart ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats12.db/analyze_srcpart/ds=2008-04-09/hr=11','' -'Partition Parameters:','','' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -32 rows selected ->>> desc formatted analyze_srcpart partition (ds='2008-04-09', hr=12); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2008-04-09, 12] ','' -'Database: ','stats12 ','' -'Table: ','analyze_srcpart ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats12.db/analyze_srcpart/ds=2008-04-09/hr=12','' -'Partition Parameters:','','' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -32 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/stats13.q.out ql/src/test/results/beelinepositive/stats13.q.out deleted file mode 100644 index 17f3ef5..0000000 --- ql/src/test/results/beelinepositive/stats13.q.out +++ /dev/null @@ -1,313 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/stats13.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/stats13.q ->>> set datanucleus.cache.collections=false; -No rows affected ->>> set hive.stats.autogather=false; -No rows affected ->>> set hive.exec.dynamic.partition=true; -No rows affected ->>> set hive.exec.dynamic.partition.mode=nonstrict; -No rows affected ->>> ->>> create table analyze_srcpart like srcpart; -No rows affected ->>> insert overwrite table analyze_srcpart partition (ds, hr) select * from srcpart where ds is not null; -'key','value','ds','hr' -No rows selected ->>> ->>> explain extended -analyze table analyze_srcpart PARTITION(ds='2008-04-08',hr=11) compute statistics; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_ANALYZE (TOK_TAB (TOK_TABNAME analyze_srcpart) (TOK_PARTSPEC (TOK_PARTVAL ds '2008-04-08') (TOK_PARTVAL hr 11))))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -' Stage-1 depends on stages: Stage-0' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Map Reduce' -' Alias -> Map Operator Tree:' -' analyze_srcpart ' -' TableScan' -' alias: analyze_srcpart' -' Statistics Aggregation Key Prefix: analyze_srcpart/' -' GatherStats: true' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/stats13.db/analyze_srcpart/ds=2008-04-08/hr=11 [analyze_srcpart]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/stats13.db/analyze_srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats13.db/analyze_srcpart/ds=2008-04-08/hr=11' -' name stats13.analyze_srcpart' -' partition_columns ds/hr' -' serialization.ddl struct analyze_srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats13.db/analyze_srcpart' -' name stats13.analyze_srcpart' -' partition_columns ds/hr' -' serialization.ddl struct analyze_srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: stats13.analyze_srcpart' -' name: stats13.analyze_srcpart' -'' -' Stage: Stage-1' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: analyze_srcpart/' -'' -'' -67 rows selected ->>> ->>> analyze table analyze_srcpart PARTITION(ds='2008-04-08',hr=11) compute statistics; -'key','value','ds','hr' -No rows selected ->>> ->>> desc formatted analyze_srcpart; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','stats13 ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats13.db/analyze_srcpart','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','numFiles ','1 ' -'','numPartitions ','1 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -38 rows selected ->>> desc formatted analyze_srcpart partition (ds='2008-04-08', hr=11); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2008-04-08, 11] ','' -'Database: ','stats13 ','' -'Table: ','analyze_srcpart ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats13.db/analyze_srcpart/ds=2008-04-08/hr=11','' -'Partition Parameters:','','' -'','numFiles ','1 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -36 rows selected ->>> desc formatted analyze_srcpart partition (ds='2008-04-08', hr=12); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2008-04-08, 12] ','' -'Database: ','stats13 ','' -'Table: ','analyze_srcpart ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats13.db/analyze_srcpart/ds=2008-04-08/hr=12','' -'Partition Parameters:','','' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -32 rows selected ->>> desc formatted analyze_srcpart partition (ds='2008-04-09', hr=11); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2008-04-09, 11] ','' -'Database: ','stats13 ','' -'Table: ','analyze_srcpart ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats13.db/analyze_srcpart/ds=2008-04-09/hr=11','' -'Partition Parameters:','','' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -32 rows selected ->>> desc formatted analyze_srcpart partition (ds='2008-04-09', hr=12); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2008-04-09, 12] ','' -'Database: ','stats13 ','' -'Table: ','analyze_srcpart ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats13.db/analyze_srcpart/ds=2008-04-09/hr=12','' -'Partition Parameters:','','' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -32 rows selected ->>> ->>> create table analyze_srcpart2 like analyze_srcpart; -No rows affected ->>> ->>> desc formatted analyze_srcpart2; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','stats13 ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats13.db/analyze_srcpart2','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -33 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/stats14.q.out ql/src/test/results/beelinepositive/stats14.q.out deleted file mode 100644 index 2d10772..0000000 --- ql/src/test/results/beelinepositive/stats14.q.out +++ /dev/null @@ -1,235 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/stats14.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/stats14.q ->>> set datanucleus.cache.collections=false; -No rows affected ->>> ->>> create table stats_src like src; -No rows affected ->>> insert overwrite table stats_src select * from src; -'key','value' -No rows selected ->>> analyze table stats_src compute statistics; -'key','value' -No rows selected ->>> desc formatted stats_src; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','stats14 ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats14.db/stats_src','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','numFiles ','1 ' -'','numPartitions ','0 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -32 rows selected ->>> ->>> create table stats_part like srcpart; -No rows affected ->>> ->>> insert overwrite table stats_part partition (ds='2010-04-08', hr = '11') select key, value from src; -'key','value' -No rows selected ->>> insert overwrite table stats_part partition (ds='2010-04-08', hr = '12') select key, value from src; -'key','value' -No rows selected ->>> ->>> analyze table stats_part partition(ds='2010-04-08', hr='11') compute statistics; -'key','value','ds','hr' -No rows selected ->>> analyze table stats_part partition(ds='2010-04-08', hr='12') compute statistics; -'key','value','ds','hr' -No rows selected ->>> ->>> insert overwrite table stats_part partition (ds='2010-04-08', hr = '13') select key, value from src; -'key','value' -No rows selected ->>> ->>> desc formatted stats_part; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','stats14 ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats14.db/stats_part','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','numFiles ','3 ' -'','numPartitions ','3 ' -'','numRows ','1500 ' -'','rawDataSize ','15936 ' -'','totalSize ','17436 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -38 rows selected ->>> desc formatted stats_part partition (ds='2010-04-08', hr = '11'); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2010-04-08, 11] ','' -'Database: ','stats14 ','' -'Table: ','stats_part ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats14.db/stats_part/ds=2010-04-08/hr=11','' -'Partition Parameters:','','' -'','numFiles ','1 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -36 rows selected ->>> desc formatted stats_part partition (ds='2010-04-08', hr = '12'); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2010-04-08, 12] ','' -'Database: ','stats14 ','' -'Table: ','stats_part ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats14.db/stats_part/ds=2010-04-08/hr=12','' -'Partition Parameters:','','' -'','numFiles ','1 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -36 rows selected ->>> ->>> analyze table stats_part partition(ds, hr) compute statistics; -'key','value','ds','hr' -No rows selected ->>> desc formatted stats_part; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','stats14 ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats14.db/stats_part','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','numFiles ','3 ' -'','numPartitions ','3 ' -'','numRows ','1500 ' -'','rawDataSize ','15936 ' -'','totalSize ','17436 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -38 rows selected ->>> ->>> drop table stats_src; -No rows affected ->>> drop table stats_part; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/stats15.q.out ql/src/test/results/beelinepositive/stats15.q.out deleted file mode 100644 index ceaf500..0000000 --- ql/src/test/results/beelinepositive/stats15.q.out +++ /dev/null @@ -1,237 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/stats15.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/stats15.q ->>> set datanucleus.cache.collections=false; -No rows affected ->>> set hive.stats.collect.uncompressedsize=false; -No rows affected ->>> ->>> create table stats_src like src; -No rows affected ->>> insert overwrite table stats_src select * from src; -'key','value' -No rows selected ->>> analyze table stats_src compute statistics; -'key','value' -No rows selected ->>> desc formatted stats_src; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','stats15 ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats15.db/stats_src','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','numFiles ','1 ' -'','numPartitions ','0 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -32 rows selected ->>> ->>> create table stats_part like srcpart; -No rows affected ->>> ->>> insert overwrite table stats_part partition (ds='2010-04-08', hr = '11') select key, value from src; -'key','value' -No rows selected ->>> insert overwrite table stats_part partition (ds='2010-04-08', hr = '12') select key, value from src; -'key','value' -No rows selected ->>> ->>> analyze table stats_part partition(ds='2010-04-08', hr='11') compute statistics; -'key','value','ds','hr' -No rows selected ->>> analyze table stats_part partition(ds='2010-04-08', hr='12') compute statistics; -'key','value','ds','hr' -No rows selected ->>> ->>> insert overwrite table stats_part partition (ds='2010-04-08', hr = '13') select key, value from src; -'key','value' -No rows selected ->>> ->>> desc formatted stats_part; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','stats15 ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats15.db/stats_part','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','numFiles ','3 ' -'','numPartitions ','3 ' -'','numRows ','1500 ' -'','rawDataSize ','15936 ' -'','totalSize ','17436 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -38 rows selected ->>> desc formatted stats_part partition (ds='2010-04-08', hr = '11'); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2010-04-08, 11] ','' -'Database: ','stats15 ','' -'Table: ','stats_part ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats15.db/stats_part/ds=2010-04-08/hr=11','' -'Partition Parameters:','','' -'','numFiles ','1 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -36 rows selected ->>> desc formatted stats_part partition (ds='2010-04-08', hr = '12'); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2010-04-08, 12] ','' -'Database: ','stats15 ','' -'Table: ','stats_part ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats15.db/stats_part/ds=2010-04-08/hr=12','' -'Partition Parameters:','','' -'','numFiles ','1 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -36 rows selected ->>> ->>> analyze table stats_part partition(ds, hr) compute statistics; -'key','value','ds','hr' -No rows selected ->>> desc formatted stats_part; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','stats15 ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats15.db/stats_part','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','numFiles ','3 ' -'','numPartitions ','3 ' -'','numRows ','1500 ' -'','rawDataSize ','15936 ' -'','totalSize ','17436 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -38 rows selected ->>> ->>> drop table stats_src; -No rows affected ->>> drop table stats_part; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/stats16.q.out ql/src/test/results/beelinepositive/stats16.q.out deleted file mode 100644 index 333b8d3..0000000 --- ql/src/test/results/beelinepositive/stats16.q.out +++ /dev/null @@ -1,84 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/stats16.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/stats16.q ->>> set hive.stats.autogather=false; -No rows affected ->>> ->>> drop table stats16; -No rows affected ->>> ->>> create table stats16 (key int, value string); -No rows affected ->>> desc formatted stats16; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','int ','None ' -'value ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','stats16 ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats16.db/stats16','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -27 rows selected ->>> ->>> insert into table stats16 select * from src; -'_col0','_col1' -No rows selected ->>> analyze table stats16 compute statistics; -'key','value' -No rows selected ->>> desc formatted stats16; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','int ','None ' -'value ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','stats16 ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats16.db/stats16','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','numFiles ','1 ' -'','numPartitions ','0 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -32 rows selected ->>> ->>> drop table stats16; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/stats18.q.out ql/src/test/results/beelinepositive/stats18.q.out deleted file mode 100644 index 61867d4..0000000 --- ql/src/test/results/beelinepositive/stats18.q.out +++ /dev/null @@ -1,109 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/stats18.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/stats18.q ->>> set datanucleus.cache.collections=false; -No rows affected ->>> set hive.stats.autogather=true; -No rows affected ->>> set hive.merge.mapfiles=false; -No rows affected ->>> set hive.merge.mapredfiles=false; -No rows affected ->>> set hive.map.aggr=true; -No rows affected ->>> ->>> create table stats_part like srcpart; -No rows affected ->>> ->>> insert overwrite table stats_part partition (ds='2010-04-08', hr = '13') select key, value from src; -'key','value' -No rows selected ->>> ->>> -- 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'); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2010-04-08, 13] ','' -'Database: ','stats18 ','' -'Table: ','stats_part ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats18.db/stats_part/ds=2010-04-08/hr=13','' -'Partition Parameters:','','' -'','numFiles ','1 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -36 rows selected ->>> ->>> load data local inpath '../data/files/srcbucket20.txt' INTO TABLE stats_part partition (ds='2010-04-08', hr='13'); -No rows affected ->>> ->>> desc formatted stats_part partition (ds='2010-04-08', hr='13'); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2010-04-08, 13] ','' -'Database: ','stats18 ','' -'Table: ','stats_part ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats18.db/stats_part/ds=2010-04-08/hr=13','' -'Partition Parameters:','','' -'','numFiles ','2 ' -'','numRows ','0 ' -'','rawDataSize ','0 ' -'','totalSize ','7170 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -36 rows selected ->>> ->>> drop table stats_src; -No rows affected ->>> drop table stats_part; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/stats2.q.out ql/src/test/results/beelinepositive/stats2.q.out deleted file mode 100644 index 82b338d..0000000 --- ql/src/test/results/beelinepositive/stats2.q.out +++ /dev/null @@ -1,178 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/stats2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/stats2.q ->>> set datanucleus.cache.collections=false; -No rows affected ->>> set hive.stats.autogather=false; -No rows affected ->>> set hive.exec.dynamic.partition=true; -No rows affected ->>> set hive.exec.dynamic.partition.mode=nonstrict; -No rows affected ->>> set hive.merge.mapfiles=false; -No rows affected ->>> ->>> create table analyze_t1 like srcpart; -No rows affected ->>> ->>> ->>> explain -insert overwrite table analyze_t1 partition (ds, hr) select * from srcpart where ds is not null; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME analyze_t1) (TOK_PARTSPEC (TOK_PARTVAL ds) (TOK_PARTVAL hr)))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (TOK_FUNCTION TOK_ISNOTNULL (TOK_TABLE_OR_COL ds)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' srcpart ' -' TableScan' -' alias: srcpart' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: stats2.analyze_t1' -'' -' 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: stats2.analyze_t1' -'' -'' -48 rows selected ->>> ->>> insert overwrite table analyze_t1 partition (ds, hr) select * from srcpart where ds is not null; -'key','value','ds','hr' -No rows selected ->>> ->>> desc formatted analyze_t1; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','stats2 ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats2.db/analyze_t1','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -33 rows selected ->>> ->>> explain analyze table analyze_t1 partition (ds, hr) compute statistics; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_ANALYZE (TOK_TAB (TOK_TABNAME analyze_t1) (TOK_PARTSPEC (TOK_PARTVAL ds) (TOK_PARTVAL hr))))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -' Stage-1 depends on stages: Stage-0' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Map Reduce' -' Alias -> Map Operator Tree:' -' analyze_t1 ' -' TableScan' -' alias: analyze_t1' -'' -' Stage: Stage-1' -' Stats-Aggr Operator' -'' -'' -19 rows selected ->>> ->>> analyze table analyze_t1 partition (ds, hr) compute statistics; -'key','value','ds','hr' -No rows selected ->>> ->>> describe formatted analyze_t1; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','stats2 ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats2.db/analyze_t1','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','numFiles ','4 ' -'','numPartitions ','4 ' -'','numRows ','2000 ' -'','rawDataSize ','21248 ' -'','totalSize ','23248 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -38 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/stats3.q.out ql/src/test/results/beelinepositive/stats3.q.out deleted file mode 100644 index d57f6b9..0000000 --- ql/src/test/results/beelinepositive/stats3.q.out +++ /dev/null @@ -1,190 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/stats3.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/stats3.q ->>> set datanucleus.cache.collections=false; -No rows affected ->>> set hive.stats.autogather=true; -No rows affected ->>> drop table hive_test_src; -No rows affected ->>> drop table hive_test_dst; -No rows affected ->>> ->>> create table hive_test_src ( col1 string ) stored as textfile ; -No rows affected ->>> explain extended -load data local inpath '../data/files/test.dat' overwrite into table hive_test_src ; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_LOAD '../data/files/test.dat' (TOK_TAB (TOK_TABNAME hive_test_src)) local overwrite)' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -' Stage-1 depends on stages: Stage-0' -' Stage-2 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Copy' -' source: file:!!{hive.root}!!/data/files/test.dat' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' Move Operator' -' tables:' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns col1' -' columns.types string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/stats3.db/hive_test_src' -' name stats3.hive_test_src' -' serialization.ddl struct hive_test_src { string col1}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: stats3.hive_test_src' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -42 rows selected ->>> ->>> load data local inpath '../data/files/test.dat' overwrite into table hive_test_src ; -No rows affected ->>> ->>> desc formatted hive_test_src; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'col1 ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','stats3 ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats3.db/hive_test_src','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','numFiles ','1 ' -'','numPartitions ','0 ' -'','numRows ','0 ' -'','rawDataSize ','0 ' -'','totalSize ','11 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -31 rows selected ->>> ->>> create table hive_test_dst ( col1 string ) partitioned by ( pcol1 string , pcol2 string) stored as sequencefile; -No rows affected ->>> insert overwrite table hive_test_dst partition ( pcol1='test_part', pCol2='test_Part') select col1 from hive_test_src ; -'col1' -No rows selected ->>> select * from hive_test_dst where pcol1='test_part' and pcol2='test_Part'; -'col1','pcol1','pcol2' -'1','test_part','test_Part' -'2','test_part','test_Part' -'3','test_part','test_Part' -'4','test_part','test_Part' -'5','test_part','test_Part' -'6','test_part','test_Part' -6 rows selected ->>> ->>> select count(1) from hive_test_dst; -'_c0' -'6' -1 row selected ->>> ->>> insert overwrite table hive_test_dst partition ( pCol1='test_part', pcol2='test_Part') select col1 from hive_test_src ; -'col1' -No rows selected ->>> select * from hive_test_dst where pcol1='test_part' and pcol2='test_part'; -'col1','pcol1','pcol2' -No rows selected ->>> ->>> select count(1) from hive_test_dst; -'_c0' -'6' -1 row selected ->>> ->>> select * from hive_test_dst where pcol1='test_part'; -'col1','pcol1','pcol2' -'1','test_part','test_Part' -'2','test_part','test_Part' -'3','test_part','test_Part' -'4','test_part','test_Part' -'5','test_part','test_Part' -'6','test_part','test_Part' -6 rows selected ->>> select * from hive_test_dst where pcol1='test_part' and pcol2='test_part'; -'col1','pcol1','pcol2' -No rows selected ->>> select * from hive_test_dst where pcol1='test_Part'; -'col1','pcol1','pcol2' -No rows selected ->>> ->>> describe formatted hive_test_dst; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'col1 ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'pcol1 ','string ','None ' -'pcol2 ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','stats3 ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats3.db/hive_test_dst','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','numFiles ','1 ' -'','numPartitions ','1 ' -'','numRows ','6 ' -'','rawDataSize ','6 ' -'','totalSize ','171 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# Storage Information','','' -'SerDe Library: ','org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe','' -'InputFormat: ','org.apache.hadoop.mapred.SequenceFileInputFormat','' -'OutputFormat: ','org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat','' -'Compressed: ','No ','' -'Num Buckets: ','-1 ','' -'Bucket Columns: ','[] ','' -'Sort Columns: ','[] ','' -'Storage Desc Params:','','' -'','serialization.format','1 ' -37 rows selected ->>> ->>> drop table hive_test_src; -No rows affected ->>> drop table hive_test_dst; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/stats4.q.out ql/src/test/results/beelinepositive/stats4.q.out deleted file mode 100644 index d5be03d..0000000 --- ql/src/test/results/beelinepositive/stats4.q.out +++ /dev/null @@ -1,2488 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/stats4.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/stats4.q ->>> set datanucleus.cache.collections=false; -No rows affected ->>> set hive.stats.autogather=true; -No rows affected ->>> ->>> show partitions srcpart; -'partition' -'ds=2008-04-08/hr=11' -'ds=2008-04-08/hr=12' -'ds=2008-04-09/hr=11' -'ds=2008-04-09/hr=12' -4 rows selected ->>> ->>> drop table nzhang_part1; -No rows affected ->>> drop table nzhang_part2; -No rows affected ->>> ->>> create table if not exists nzhang_part1 like srcpart; -No rows affected ->>> create table if not exists nzhang_part2 like srcpart; -No rows affected ->>> ->>> set hive.exec.dynamic.partition.mode=nonstrict; -No rows affected ->>> set hive.exec.dynamic.partition=true; -No rows affected ->>> ->>> explain -from srcpart -insert overwrite table nzhang_part1 partition (ds, hr) select key, value, ds, hr where ds <= '2008-04-08' -insert overwrite table nzhang_part2 partition(ds='2008-12-31', hr) select key, value, hr where ds > '2008-04-08'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME nzhang_part1) (TOK_PARTSPEC (TOK_PARTVAL ds) (TOK_PARTVAL hr)))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL ds)) (TOK_SELEXPR (TOK_TABLE_OR_COL hr))) (TOK_WHERE (<= (TOK_TABLE_OR_COL ds) '2008-04-08'))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME nzhang_part2) (TOK_PARTSPEC (TOK_PARTVAL ds '2008-12-31') (TOK_PARTVAL hr)))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL hr))) (TOK_WHERE (> (TOK_TABLE_OR_COL ds) '2008-04-08'))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-8 depends on stages: Stage-2 , consists of Stage-5, Stage-4, Stage-6' -' Stage-5' -' Stage-0 depends on stages: Stage-5, Stage-4, Stage-7' -' Stage-3 depends on stages: Stage-0' -' Stage-4' -' Stage-6' -' Stage-7 depends on stages: Stage-6' -' Stage-14 depends on stages: Stage-2 , consists of Stage-11, Stage-10, Stage-12' -' Stage-11' -' Stage-1 depends on stages: Stage-11, Stage-10, Stage-13' -' Stage-9 depends on stages: Stage-1' -' Stage-10' -' Stage-12' -' Stage-13 depends on stages: Stage-12' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' srcpart ' -' TableScan' -' alias: srcpart' -' Filter Operator' -' predicate:' -' expr: (ds <= '2008-04-08')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: stats4.nzhang_part1' -' Filter Operator' -' predicate:' -' expr: (ds > '2008-04-08')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: stats4.nzhang_part2' -'' -' Stage: Stage-8' -' Conditional Operator' -'' -' Stage: Stage-5' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: stats4.nzhang_part1' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: stats4.nzhang_part1' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: stats4.nzhang_part1' -'' -' Stage: Stage-7' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-14' -' Conditional Operator' -'' -' Stage: Stage-11' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' Move Operator' -' tables:' -' partition:' -' ds 2008-12-31' -' 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: stats4.nzhang_part2' -'' -' Stage: Stage-9' -' Stats-Aggr Operator' -'' -' Stage: Stage-10' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: stats4.nzhang_part2' -'' -' Stage: Stage-12' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: stats4.nzhang_part2' -'' -' Stage: Stage-13' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -187 rows selected ->>> ->>> from srcpart -insert overwrite table nzhang_part1 partition (ds, hr) select key, value, ds, hr where ds <= '2008-04-08' -insert overwrite table nzhang_part2 partition(ds='2008-12-31', hr) select key, value, hr where ds > '2008-04-08'; -'key','value','hr' -No rows selected ->>> ->>> ->>> show partitions nzhang_part1; -'partition' -'ds=2008-04-08/hr=11' -'ds=2008-04-08/hr=12' -2 rows selected ->>> show partitions nzhang_part2; -'partition' -'ds=2008-12-31/hr=11' -'ds=2008-12-31/hr=12' -2 rows selected ->>> ->>> select * from nzhang_part1 where ds is not null and hr is not null; -'key','value','ds','hr' -'238','val_238','2008-04-08','11' -'86','val_86','2008-04-08','11' -'311','val_311','2008-04-08','11' -'27','val_27','2008-04-08','11' -'165','val_165','2008-04-08','11' -'409','val_409','2008-04-08','11' -'255','val_255','2008-04-08','11' -'278','val_278','2008-04-08','11' -'98','val_98','2008-04-08','11' -'484','val_484','2008-04-08','11' -'265','val_265','2008-04-08','11' -'193','val_193','2008-04-08','11' -'401','val_401','2008-04-08','11' -'150','val_150','2008-04-08','11' -'273','val_273','2008-04-08','11' -'224','val_224','2008-04-08','11' -'369','val_369','2008-04-08','11' -'66','val_66','2008-04-08','11' -'128','val_128','2008-04-08','11' -'213','val_213','2008-04-08','11' -'146','val_146','2008-04-08','11' -'406','val_406','2008-04-08','11' -'429','val_429','2008-04-08','11' -'374','val_374','2008-04-08','11' -'152','val_152','2008-04-08','11' -'469','val_469','2008-04-08','11' -'145','val_145','2008-04-08','11' -'495','val_495','2008-04-08','11' -'37','val_37','2008-04-08','11' -'327','val_327','2008-04-08','11' -'281','val_281','2008-04-08','11' -'277','val_277','2008-04-08','11' -'209','val_209','2008-04-08','11' -'15','val_15','2008-04-08','11' -'82','val_82','2008-04-08','11' -'403','val_403','2008-04-08','11' -'166','val_166','2008-04-08','11' -'417','val_417','2008-04-08','11' -'430','val_430','2008-04-08','11' -'252','val_252','2008-04-08','11' -'292','val_292','2008-04-08','11' -'219','val_219','2008-04-08','11' -'287','val_287','2008-04-08','11' -'153','val_153','2008-04-08','11' -'193','val_193','2008-04-08','11' -'338','val_338','2008-04-08','11' -'446','val_446','2008-04-08','11' -'459','val_459','2008-04-08','11' -'394','val_394','2008-04-08','11' -'237','val_237','2008-04-08','11' -'482','val_482','2008-04-08','11' -'174','val_174','2008-04-08','11' -'413','val_413','2008-04-08','11' -'494','val_494','2008-04-08','11' -'207','val_207','2008-04-08','11' -'199','val_199','2008-04-08','11' -'466','val_466','2008-04-08','11' -'208','val_208','2008-04-08','11' -'174','val_174','2008-04-08','11' -'399','val_399','2008-04-08','11' -'396','val_396','2008-04-08','11' -'247','val_247','2008-04-08','11' -'417','val_417','2008-04-08','11' -'489','val_489','2008-04-08','11' -'162','val_162','2008-04-08','11' -'377','val_377','2008-04-08','11' -'397','val_397','2008-04-08','11' -'309','val_309','2008-04-08','11' -'365','val_365','2008-04-08','11' -'266','val_266','2008-04-08','11' -'439','val_439','2008-04-08','11' -'342','val_342','2008-04-08','11' -'367','val_367','2008-04-08','11' -'325','val_325','2008-04-08','11' -'167','val_167','2008-04-08','11' -'195','val_195','2008-04-08','11' -'475','val_475','2008-04-08','11' -'17','val_17','2008-04-08','11' -'113','val_113','2008-04-08','11' -'155','val_155','2008-04-08','11' -'203','val_203','2008-04-08','11' -'339','val_339','2008-04-08','11' -'0','val_0','2008-04-08','11' -'455','val_455','2008-04-08','11' -'128','val_128','2008-04-08','11' -'311','val_311','2008-04-08','11' -'316','val_316','2008-04-08','11' -'57','val_57','2008-04-08','11' -'302','val_302','2008-04-08','11' -'205','val_205','2008-04-08','11' -'149','val_149','2008-04-08','11' -'438','val_438','2008-04-08','11' -'345','val_345','2008-04-08','11' -'129','val_129','2008-04-08','11' -'170','val_170','2008-04-08','11' -'20','val_20','2008-04-08','11' -'489','val_489','2008-04-08','11' -'157','val_157','2008-04-08','11' -'378','val_378','2008-04-08','11' -'221','val_221','2008-04-08','11' -'92','val_92','2008-04-08','11' -'111','val_111','2008-04-08','11' -'47','val_47','2008-04-08','11' -'72','val_72','2008-04-08','11' -'4','val_4','2008-04-08','11' -'280','val_280','2008-04-08','11' -'35','val_35','2008-04-08','11' -'427','val_427','2008-04-08','11' -'277','val_277','2008-04-08','11' -'208','val_208','2008-04-08','11' -'356','val_356','2008-04-08','11' -'399','val_399','2008-04-08','11' -'169','val_169','2008-04-08','11' -'382','val_382','2008-04-08','11' -'498','val_498','2008-04-08','11' -'125','val_125','2008-04-08','11' -'386','val_386','2008-04-08','11' -'437','val_437','2008-04-08','11' -'469','val_469','2008-04-08','11' -'192','val_192','2008-04-08','11' -'286','val_286','2008-04-08','11' -'187','val_187','2008-04-08','11' -'176','val_176','2008-04-08','11' -'54','val_54','2008-04-08','11' -'459','val_459','2008-04-08','11' -'51','val_51','2008-04-08','11' -'138','val_138','2008-04-08','11' -'103','val_103','2008-04-08','11' -'239','val_239','2008-04-08','11' -'213','val_213','2008-04-08','11' -'216','val_216','2008-04-08','11' -'430','val_430','2008-04-08','11' -'278','val_278','2008-04-08','11' -'176','val_176','2008-04-08','11' -'289','val_289','2008-04-08','11' -'221','val_221','2008-04-08','11' -'65','val_65','2008-04-08','11' -'318','val_318','2008-04-08','11' -'332','val_332','2008-04-08','11' -'311','val_311','2008-04-08','11' -'275','val_275','2008-04-08','11' -'137','val_137','2008-04-08','11' -'241','val_241','2008-04-08','11' -'83','val_83','2008-04-08','11' -'333','val_333','2008-04-08','11' -'180','val_180','2008-04-08','11' -'284','val_284','2008-04-08','11' -'12','val_12','2008-04-08','11' -'230','val_230','2008-04-08','11' -'181','val_181','2008-04-08','11' -'67','val_67','2008-04-08','11' -'260','val_260','2008-04-08','11' -'404','val_404','2008-04-08','11' -'384','val_384','2008-04-08','11' -'489','val_489','2008-04-08','11' -'353','val_353','2008-04-08','11' -'373','val_373','2008-04-08','11' -'272','val_272','2008-04-08','11' -'138','val_138','2008-04-08','11' -'217','val_217','2008-04-08','11' -'84','val_84','2008-04-08','11' -'348','val_348','2008-04-08','11' -'466','val_466','2008-04-08','11' -'58','val_58','2008-04-08','11' -'8','val_8','2008-04-08','11' -'411','val_411','2008-04-08','11' -'230','val_230','2008-04-08','11' -'208','val_208','2008-04-08','11' -'348','val_348','2008-04-08','11' -'24','val_24','2008-04-08','11' -'463','val_463','2008-04-08','11' -'431','val_431','2008-04-08','11' -'179','val_179','2008-04-08','11' -'172','val_172','2008-04-08','11' -'42','val_42','2008-04-08','11' -'129','val_129','2008-04-08','11' -'158','val_158','2008-04-08','11' -'119','val_119','2008-04-08','11' -'496','val_496','2008-04-08','11' -'0','val_0','2008-04-08','11' -'322','val_322','2008-04-08','11' -'197','val_197','2008-04-08','11' -'468','val_468','2008-04-08','11' -'393','val_393','2008-04-08','11' -'454','val_454','2008-04-08','11' -'100','val_100','2008-04-08','11' -'298','val_298','2008-04-08','11' -'199','val_199','2008-04-08','11' -'191','val_191','2008-04-08','11' -'418','val_418','2008-04-08','11' -'96','val_96','2008-04-08','11' -'26','val_26','2008-04-08','11' -'165','val_165','2008-04-08','11' -'327','val_327','2008-04-08','11' -'230','val_230','2008-04-08','11' -'205','val_205','2008-04-08','11' -'120','val_120','2008-04-08','11' -'131','val_131','2008-04-08','11' -'51','val_51','2008-04-08','11' -'404','val_404','2008-04-08','11' -'43','val_43','2008-04-08','11' -'436','val_436','2008-04-08','11' -'156','val_156','2008-04-08','11' -'469','val_469','2008-04-08','11' -'468','val_468','2008-04-08','11' -'308','val_308','2008-04-08','11' -'95','val_95','2008-04-08','11' -'196','val_196','2008-04-08','11' -'288','val_288','2008-04-08','11' -'481','val_481','2008-04-08','11' -'457','val_457','2008-04-08','11' -'98','val_98','2008-04-08','11' -'282','val_282','2008-04-08','11' -'197','val_197','2008-04-08','11' -'187','val_187','2008-04-08','11' -'318','val_318','2008-04-08','11' -'318','val_318','2008-04-08','11' -'409','val_409','2008-04-08','11' -'470','val_470','2008-04-08','11' -'137','val_137','2008-04-08','11' -'369','val_369','2008-04-08','11' -'316','val_316','2008-04-08','11' -'169','val_169','2008-04-08','11' -'413','val_413','2008-04-08','11' -'85','val_85','2008-04-08','11' -'77','val_77','2008-04-08','11' -'0','val_0','2008-04-08','11' -'490','val_490','2008-04-08','11' -'87','val_87','2008-04-08','11' -'364','val_364','2008-04-08','11' -'179','val_179','2008-04-08','11' -'118','val_118','2008-04-08','11' -'134','val_134','2008-04-08','11' -'395','val_395','2008-04-08','11' -'282','val_282','2008-04-08','11' -'138','val_138','2008-04-08','11' -'238','val_238','2008-04-08','11' -'419','val_419','2008-04-08','11' -'15','val_15','2008-04-08','11' -'118','val_118','2008-04-08','11' -'72','val_72','2008-04-08','11' -'90','val_90','2008-04-08','11' -'307','val_307','2008-04-08','11' -'19','val_19','2008-04-08','11' -'435','val_435','2008-04-08','11' -'10','val_10','2008-04-08','11' -'277','val_277','2008-04-08','11' -'273','val_273','2008-04-08','11' -'306','val_306','2008-04-08','11' -'224','val_224','2008-04-08','11' -'309','val_309','2008-04-08','11' -'389','val_389','2008-04-08','11' -'327','val_327','2008-04-08','11' -'242','val_242','2008-04-08','11' -'369','val_369','2008-04-08','11' -'392','val_392','2008-04-08','11' -'272','val_272','2008-04-08','11' -'331','val_331','2008-04-08','11' -'401','val_401','2008-04-08','11' -'242','val_242','2008-04-08','11' -'452','val_452','2008-04-08','11' -'177','val_177','2008-04-08','11' -'226','val_226','2008-04-08','11' -'5','val_5','2008-04-08','11' -'497','val_497','2008-04-08','11' -'402','val_402','2008-04-08','11' -'396','val_396','2008-04-08','11' -'317','val_317','2008-04-08','11' -'395','val_395','2008-04-08','11' -'58','val_58','2008-04-08','11' -'35','val_35','2008-04-08','11' -'336','val_336','2008-04-08','11' -'95','val_95','2008-04-08','11' -'11','val_11','2008-04-08','11' -'168','val_168','2008-04-08','11' -'34','val_34','2008-04-08','11' -'229','val_229','2008-04-08','11' -'233','val_233','2008-04-08','11' -'143','val_143','2008-04-08','11' -'472','val_472','2008-04-08','11' -'322','val_322','2008-04-08','11' -'498','val_498','2008-04-08','11' -'160','val_160','2008-04-08','11' -'195','val_195','2008-04-08','11' -'42','val_42','2008-04-08','11' -'321','val_321','2008-04-08','11' -'430','val_430','2008-04-08','11' -'119','val_119','2008-04-08','11' -'489','val_489','2008-04-08','11' -'458','val_458','2008-04-08','11' -'78','val_78','2008-04-08','11' -'76','val_76','2008-04-08','11' -'41','val_41','2008-04-08','11' -'223','val_223','2008-04-08','11' -'492','val_492','2008-04-08','11' -'149','val_149','2008-04-08','11' -'449','val_449','2008-04-08','11' -'218','val_218','2008-04-08','11' -'228','val_228','2008-04-08','11' -'138','val_138','2008-04-08','11' -'453','val_453','2008-04-08','11' -'30','val_30','2008-04-08','11' -'209','val_209','2008-04-08','11' -'64','val_64','2008-04-08','11' -'468','val_468','2008-04-08','11' -'76','val_76','2008-04-08','11' -'74','val_74','2008-04-08','11' -'342','val_342','2008-04-08','11' -'69','val_69','2008-04-08','11' -'230','val_230','2008-04-08','11' -'33','val_33','2008-04-08','11' -'368','val_368','2008-04-08','11' -'103','val_103','2008-04-08','11' -'296','val_296','2008-04-08','11' -'113','val_113','2008-04-08','11' -'216','val_216','2008-04-08','11' -'367','val_367','2008-04-08','11' -'344','val_344','2008-04-08','11' -'167','val_167','2008-04-08','11' -'274','val_274','2008-04-08','11' -'219','val_219','2008-04-08','11' -'239','val_239','2008-04-08','11' -'485','val_485','2008-04-08','11' -'116','val_116','2008-04-08','11' -'223','val_223','2008-04-08','11' -'256','val_256','2008-04-08','11' -'263','val_263','2008-04-08','11' -'70','val_70','2008-04-08','11' -'487','val_487','2008-04-08','11' -'480','val_480','2008-04-08','11' -'401','val_401','2008-04-08','11' -'288','val_288','2008-04-08','11' -'191','val_191','2008-04-08','11' -'5','val_5','2008-04-08','11' -'244','val_244','2008-04-08','11' -'438','val_438','2008-04-08','11' -'128','val_128','2008-04-08','11' -'467','val_467','2008-04-08','11' -'432','val_432','2008-04-08','11' -'202','val_202','2008-04-08','11' -'316','val_316','2008-04-08','11' -'229','val_229','2008-04-08','11' -'469','val_469','2008-04-08','11' -'463','val_463','2008-04-08','11' -'280','val_280','2008-04-08','11' -'2','val_2','2008-04-08','11' -'35','val_35','2008-04-08','11' -'283','val_283','2008-04-08','11' -'331','val_331','2008-04-08','11' -'235','val_235','2008-04-08','11' -'80','val_80','2008-04-08','11' -'44','val_44','2008-04-08','11' -'193','val_193','2008-04-08','11' -'321','val_321','2008-04-08','11' -'335','val_335','2008-04-08','11' -'104','val_104','2008-04-08','11' -'466','val_466','2008-04-08','11' -'366','val_366','2008-04-08','11' -'175','val_175','2008-04-08','11' -'403','val_403','2008-04-08','11' -'483','val_483','2008-04-08','11' -'53','val_53','2008-04-08','11' -'105','val_105','2008-04-08','11' -'257','val_257','2008-04-08','11' -'406','val_406','2008-04-08','11' -'409','val_409','2008-04-08','11' -'190','val_190','2008-04-08','11' -'406','val_406','2008-04-08','11' -'401','val_401','2008-04-08','11' -'114','val_114','2008-04-08','11' -'258','val_258','2008-04-08','11' -'90','val_90','2008-04-08','11' -'203','val_203','2008-04-08','11' -'262','val_262','2008-04-08','11' -'348','val_348','2008-04-08','11' -'424','val_424','2008-04-08','11' -'12','val_12','2008-04-08','11' -'396','val_396','2008-04-08','11' -'201','val_201','2008-04-08','11' -'217','val_217','2008-04-08','11' -'164','val_164','2008-04-08','11' -'431','val_431','2008-04-08','11' -'454','val_454','2008-04-08','11' -'478','val_478','2008-04-08','11' -'298','val_298','2008-04-08','11' -'125','val_125','2008-04-08','11' -'431','val_431','2008-04-08','11' -'164','val_164','2008-04-08','11' -'424','val_424','2008-04-08','11' -'187','val_187','2008-04-08','11' -'382','val_382','2008-04-08','11' -'5','val_5','2008-04-08','11' -'70','val_70','2008-04-08','11' -'397','val_397','2008-04-08','11' -'480','val_480','2008-04-08','11' -'291','val_291','2008-04-08','11' -'24','val_24','2008-04-08','11' -'351','val_351','2008-04-08','11' -'255','val_255','2008-04-08','11' -'104','val_104','2008-04-08','11' -'70','val_70','2008-04-08','11' -'163','val_163','2008-04-08','11' -'438','val_438','2008-04-08','11' -'119','val_119','2008-04-08','11' -'414','val_414','2008-04-08','11' -'200','val_200','2008-04-08','11' -'491','val_491','2008-04-08','11' -'237','val_237','2008-04-08','11' -'439','val_439','2008-04-08','11' -'360','val_360','2008-04-08','11' -'248','val_248','2008-04-08','11' -'479','val_479','2008-04-08','11' -'305','val_305','2008-04-08','11' -'417','val_417','2008-04-08','11' -'199','val_199','2008-04-08','11' -'444','val_444','2008-04-08','11' -'120','val_120','2008-04-08','11' -'429','val_429','2008-04-08','11' -'169','val_169','2008-04-08','11' -'443','val_443','2008-04-08','11' -'323','val_323','2008-04-08','11' -'325','val_325','2008-04-08','11' -'277','val_277','2008-04-08','11' -'230','val_230','2008-04-08','11' -'478','val_478','2008-04-08','11' -'178','val_178','2008-04-08','11' -'468','val_468','2008-04-08','11' -'310','val_310','2008-04-08','11' -'317','val_317','2008-04-08','11' -'333','val_333','2008-04-08','11' -'493','val_493','2008-04-08','11' -'460','val_460','2008-04-08','11' -'207','val_207','2008-04-08','11' -'249','val_249','2008-04-08','11' -'265','val_265','2008-04-08','11' -'480','val_480','2008-04-08','11' -'83','val_83','2008-04-08','11' -'136','val_136','2008-04-08','11' -'353','val_353','2008-04-08','11' -'172','val_172','2008-04-08','11' -'214','val_214','2008-04-08','11' -'462','val_462','2008-04-08','11' -'233','val_233','2008-04-08','11' -'406','val_406','2008-04-08','11' -'133','val_133','2008-04-08','11' -'175','val_175','2008-04-08','11' -'189','val_189','2008-04-08','11' -'454','val_454','2008-04-08','11' -'375','val_375','2008-04-08','11' -'401','val_401','2008-04-08','11' -'421','val_421','2008-04-08','11' -'407','val_407','2008-04-08','11' -'384','val_384','2008-04-08','11' -'256','val_256','2008-04-08','11' -'26','val_26','2008-04-08','11' -'134','val_134','2008-04-08','11' -'67','val_67','2008-04-08','11' -'384','val_384','2008-04-08','11' -'379','val_379','2008-04-08','11' -'18','val_18','2008-04-08','11' -'462','val_462','2008-04-08','11' -'492','val_492','2008-04-08','11' -'100','val_100','2008-04-08','11' -'298','val_298','2008-04-08','11' -'9','val_9','2008-04-08','11' -'341','val_341','2008-04-08','11' -'498','val_498','2008-04-08','11' -'146','val_146','2008-04-08','11' -'458','val_458','2008-04-08','11' -'362','val_362','2008-04-08','11' -'186','val_186','2008-04-08','11' -'285','val_285','2008-04-08','11' -'348','val_348','2008-04-08','11' -'167','val_167','2008-04-08','11' -'18','val_18','2008-04-08','11' -'273','val_273','2008-04-08','11' -'183','val_183','2008-04-08','11' -'281','val_281','2008-04-08','11' -'344','val_344','2008-04-08','11' -'97','val_97','2008-04-08','11' -'469','val_469','2008-04-08','11' -'315','val_315','2008-04-08','11' -'84','val_84','2008-04-08','11' -'28','val_28','2008-04-08','11' -'37','val_37','2008-04-08','11' -'448','val_448','2008-04-08','11' -'152','val_152','2008-04-08','11' -'348','val_348','2008-04-08','11' -'307','val_307','2008-04-08','11' -'194','val_194','2008-04-08','11' -'414','val_414','2008-04-08','11' -'477','val_477','2008-04-08','11' -'222','val_222','2008-04-08','11' -'126','val_126','2008-04-08','11' -'90','val_90','2008-04-08','11' -'169','val_169','2008-04-08','11' -'403','val_403','2008-04-08','11' -'400','val_400','2008-04-08','11' -'200','val_200','2008-04-08','11' -'97','val_97','2008-04-08','11' -'238','val_238','2008-04-08','12' -'86','val_86','2008-04-08','12' -'311','val_311','2008-04-08','12' -'27','val_27','2008-04-08','12' -'165','val_165','2008-04-08','12' -'409','val_409','2008-04-08','12' -'255','val_255','2008-04-08','12' -'278','val_278','2008-04-08','12' -'98','val_98','2008-04-08','12' -'484','val_484','2008-04-08','12' -'265','val_265','2008-04-08','12' -'193','val_193','2008-04-08','12' -'401','val_401','2008-04-08','12' -'150','val_150','2008-04-08','12' -'273','val_273','2008-04-08','12' -'224','val_224','2008-04-08','12' -'369','val_369','2008-04-08','12' -'66','val_66','2008-04-08','12' -'128','val_128','2008-04-08','12' -'213','val_213','2008-04-08','12' -'146','val_146','2008-04-08','12' -'406','val_406','2008-04-08','12' -'429','val_429','2008-04-08','12' -'374','val_374','2008-04-08','12' -'152','val_152','2008-04-08','12' -'469','val_469','2008-04-08','12' -'145','val_145','2008-04-08','12' -'495','val_495','2008-04-08','12' -'37','val_37','2008-04-08','12' -'327','val_327','2008-04-08','12' -'281','val_281','2008-04-08','12' -'277','val_277','2008-04-08','12' -'209','val_209','2008-04-08','12' -'15','val_15','2008-04-08','12' -'82','val_82','2008-04-08','12' -'403','val_403','2008-04-08','12' -'166','val_166','2008-04-08','12' -'417','val_417','2008-04-08','12' -'430','val_430','2008-04-08','12' -'252','val_252','2008-04-08','12' -'292','val_292','2008-04-08','12' -'219','val_219','2008-04-08','12' -'287','val_287','2008-04-08','12' -'153','val_153','2008-04-08','12' -'193','val_193','2008-04-08','12' -'338','val_338','2008-04-08','12' -'446','val_446','2008-04-08','12' -'459','val_459','2008-04-08','12' -'394','val_394','2008-04-08','12' -'237','val_237','2008-04-08','12' -'482','val_482','2008-04-08','12' -'174','val_174','2008-04-08','12' -'413','val_413','2008-04-08','12' -'494','val_494','2008-04-08','12' -'207','val_207','2008-04-08','12' -'199','val_199','2008-04-08','12' -'466','val_466','2008-04-08','12' -'208','val_208','2008-04-08','12' -'174','val_174','2008-04-08','12' -'399','val_399','2008-04-08','12' -'396','val_396','2008-04-08','12' -'247','val_247','2008-04-08','12' -'417','val_417','2008-04-08','12' -'489','val_489','2008-04-08','12' -'162','val_162','2008-04-08','12' -'377','val_377','2008-04-08','12' -'397','val_397','2008-04-08','12' -'309','val_309','2008-04-08','12' -'365','val_365','2008-04-08','12' -'266','val_266','2008-04-08','12' -'439','val_439','2008-04-08','12' -'342','val_342','2008-04-08','12' -'367','val_367','2008-04-08','12' -'325','val_325','2008-04-08','12' -'167','val_167','2008-04-08','12' -'195','val_195','2008-04-08','12' -'475','val_475','2008-04-08','12' -'17','val_17','2008-04-08','12' -'113','val_113','2008-04-08','12' -'155','val_155','2008-04-08','12' -'203','val_203','2008-04-08','12' -'339','val_339','2008-04-08','12' -'0','val_0','2008-04-08','12' -'455','val_455','2008-04-08','12' -'128','val_128','2008-04-08','12' -'311','val_311','2008-04-08','12' -'316','val_316','2008-04-08','12' -'57','val_57','2008-04-08','12' -'302','val_302','2008-04-08','12' -'205','val_205','2008-04-08','12' -'149','val_149','2008-04-08','12' -'438','val_438','2008-04-08','12' -'345','val_345','2008-04-08','12' -'129','val_129','2008-04-08','12' -'170','val_170','2008-04-08','12' -'20','val_20','2008-04-08','12' -'489','val_489','2008-04-08','12' -'157','val_157','2008-04-08','12' -'378','val_378','2008-04-08','12' -'221','val_221','2008-04-08','12' -'92','val_92','2008-04-08','12' -'111','val_111','2008-04-08','12' -'47','val_47','2008-04-08','12' -'72','val_72','2008-04-08','12' -'4','val_4','2008-04-08','12' -'280','val_280','2008-04-08','12' -'35','val_35','2008-04-08','12' -'427','val_427','2008-04-08','12' -'277','val_277','2008-04-08','12' -'208','val_208','2008-04-08','12' -'356','val_356','2008-04-08','12' -'399','val_399','2008-04-08','12' -'169','val_169','2008-04-08','12' -'382','val_382','2008-04-08','12' -'498','val_498','2008-04-08','12' -'125','val_125','2008-04-08','12' -'386','val_386','2008-04-08','12' -'437','val_437','2008-04-08','12' -'469','val_469','2008-04-08','12' -'192','val_192','2008-04-08','12' -'286','val_286','2008-04-08','12' -'187','val_187','2008-04-08','12' -'176','val_176','2008-04-08','12' -'54','val_54','2008-04-08','12' -'459','val_459','2008-04-08','12' -'51','val_51','2008-04-08','12' -'138','val_138','2008-04-08','12' -'103','val_103','2008-04-08','12' -'239','val_239','2008-04-08','12' -'213','val_213','2008-04-08','12' -'216','val_216','2008-04-08','12' -'430','val_430','2008-04-08','12' -'278','val_278','2008-04-08','12' -'176','val_176','2008-04-08','12' -'289','val_289','2008-04-08','12' -'221','val_221','2008-04-08','12' -'65','val_65','2008-04-08','12' -'318','val_318','2008-04-08','12' -'332','val_332','2008-04-08','12' -'311','val_311','2008-04-08','12' -'275','val_275','2008-04-08','12' -'137','val_137','2008-04-08','12' -'241','val_241','2008-04-08','12' -'83','val_83','2008-04-08','12' -'333','val_333','2008-04-08','12' -'180','val_180','2008-04-08','12' -'284','val_284','2008-04-08','12' -'12','val_12','2008-04-08','12' -'230','val_230','2008-04-08','12' -'181','val_181','2008-04-08','12' -'67','val_67','2008-04-08','12' -'260','val_260','2008-04-08','12' -'404','val_404','2008-04-08','12' -'384','val_384','2008-04-08','12' -'489','val_489','2008-04-08','12' -'353','val_353','2008-04-08','12' -'373','val_373','2008-04-08','12' -'272','val_272','2008-04-08','12' -'138','val_138','2008-04-08','12' -'217','val_217','2008-04-08','12' -'84','val_84','2008-04-08','12' -'348','val_348','2008-04-08','12' -'466','val_466','2008-04-08','12' -'58','val_58','2008-04-08','12' -'8','val_8','2008-04-08','12' -'411','val_411','2008-04-08','12' -'230','val_230','2008-04-08','12' -'208','val_208','2008-04-08','12' -'348','val_348','2008-04-08','12' -'24','val_24','2008-04-08','12' -'463','val_463','2008-04-08','12' -'431','val_431','2008-04-08','12' -'179','val_179','2008-04-08','12' -'172','val_172','2008-04-08','12' -'42','val_42','2008-04-08','12' -'129','val_129','2008-04-08','12' -'158','val_158','2008-04-08','12' -'119','val_119','2008-04-08','12' -'496','val_496','2008-04-08','12' -'0','val_0','2008-04-08','12' -'322','val_322','2008-04-08','12' -'197','val_197','2008-04-08','12' -'468','val_468','2008-04-08','12' -'393','val_393','2008-04-08','12' -'454','val_454','2008-04-08','12' -'100','val_100','2008-04-08','12' -'298','val_298','2008-04-08','12' -'199','val_199','2008-04-08','12' -'191','val_191','2008-04-08','12' -'418','val_418','2008-04-08','12' -'96','val_96','2008-04-08','12' -'26','val_26','2008-04-08','12' -'165','val_165','2008-04-08','12' -'327','val_327','2008-04-08','12' -'230','val_230','2008-04-08','12' -'205','val_205','2008-04-08','12' -'120','val_120','2008-04-08','12' -'131','val_131','2008-04-08','12' -'51','val_51','2008-04-08','12' -'404','val_404','2008-04-08','12' -'43','val_43','2008-04-08','12' -'436','val_436','2008-04-08','12' -'156','val_156','2008-04-08','12' -'469','val_469','2008-04-08','12' -'468','val_468','2008-04-08','12' -'308','val_308','2008-04-08','12' -'95','val_95','2008-04-08','12' -'196','val_196','2008-04-08','12' -'288','val_288','2008-04-08','12' -'481','val_481','2008-04-08','12' -'457','val_457','2008-04-08','12' -'98','val_98','2008-04-08','12' -'282','val_282','2008-04-08','12' -'197','val_197','2008-04-08','12' -'187','val_187','2008-04-08','12' -'318','val_318','2008-04-08','12' -'318','val_318','2008-04-08','12' -'409','val_409','2008-04-08','12' -'470','val_470','2008-04-08','12' -'137','val_137','2008-04-08','12' -'369','val_369','2008-04-08','12' -'316','val_316','2008-04-08','12' -'169','val_169','2008-04-08','12' -'413','val_413','2008-04-08','12' -'85','val_85','2008-04-08','12' -'77','val_77','2008-04-08','12' -'0','val_0','2008-04-08','12' -'490','val_490','2008-04-08','12' -'87','val_87','2008-04-08','12' -'364','val_364','2008-04-08','12' -'179','val_179','2008-04-08','12' -'118','val_118','2008-04-08','12' -'134','val_134','2008-04-08','12' -'395','val_395','2008-04-08','12' -'282','val_282','2008-04-08','12' -'138','val_138','2008-04-08','12' -'238','val_238','2008-04-08','12' -'419','val_419','2008-04-08','12' -'15','val_15','2008-04-08','12' -'118','val_118','2008-04-08','12' -'72','val_72','2008-04-08','12' -'90','val_90','2008-04-08','12' -'307','val_307','2008-04-08','12' -'19','val_19','2008-04-08','12' -'435','val_435','2008-04-08','12' -'10','val_10','2008-04-08','12' -'277','val_277','2008-04-08','12' -'273','val_273','2008-04-08','12' -'306','val_306','2008-04-08','12' -'224','val_224','2008-04-08','12' -'309','val_309','2008-04-08','12' -'389','val_389','2008-04-08','12' -'327','val_327','2008-04-08','12' -'242','val_242','2008-04-08','12' -'369','val_369','2008-04-08','12' -'392','val_392','2008-04-08','12' -'272','val_272','2008-04-08','12' -'331','val_331','2008-04-08','12' -'401','val_401','2008-04-08','12' -'242','val_242','2008-04-08','12' -'452','val_452','2008-04-08','12' -'177','val_177','2008-04-08','12' -'226','val_226','2008-04-08','12' -'5','val_5','2008-04-08','12' -'497','val_497','2008-04-08','12' -'402','val_402','2008-04-08','12' -'396','val_396','2008-04-08','12' -'317','val_317','2008-04-08','12' -'395','val_395','2008-04-08','12' -'58','val_58','2008-04-08','12' -'35','val_35','2008-04-08','12' -'336','val_336','2008-04-08','12' -'95','val_95','2008-04-08','12' -'11','val_11','2008-04-08','12' -'168','val_168','2008-04-08','12' -'34','val_34','2008-04-08','12' -'229','val_229','2008-04-08','12' -'233','val_233','2008-04-08','12' -'143','val_143','2008-04-08','12' -'472','val_472','2008-04-08','12' -'322','val_322','2008-04-08','12' -'498','val_498','2008-04-08','12' -'160','val_160','2008-04-08','12' -'195','val_195','2008-04-08','12' -'42','val_42','2008-04-08','12' -'321','val_321','2008-04-08','12' -'430','val_430','2008-04-08','12' -'119','val_119','2008-04-08','12' -'489','val_489','2008-04-08','12' -'458','val_458','2008-04-08','12' -'78','val_78','2008-04-08','12' -'76','val_76','2008-04-08','12' -'41','val_41','2008-04-08','12' -'223','val_223','2008-04-08','12' -'492','val_492','2008-04-08','12' -'149','val_149','2008-04-08','12' -'449','val_449','2008-04-08','12' -'218','val_218','2008-04-08','12' -'228','val_228','2008-04-08','12' -'138','val_138','2008-04-08','12' -'453','val_453','2008-04-08','12' -'30','val_30','2008-04-08','12' -'209','val_209','2008-04-08','12' -'64','val_64','2008-04-08','12' -'468','val_468','2008-04-08','12' -'76','val_76','2008-04-08','12' -'74','val_74','2008-04-08','12' -'342','val_342','2008-04-08','12' -'69','val_69','2008-04-08','12' -'230','val_230','2008-04-08','12' -'33','val_33','2008-04-08','12' -'368','val_368','2008-04-08','12' -'103','val_103','2008-04-08','12' -'296','val_296','2008-04-08','12' -'113','val_113','2008-04-08','12' -'216','val_216','2008-04-08','12' -'367','val_367','2008-04-08','12' -'344','val_344','2008-04-08','12' -'167','val_167','2008-04-08','12' -'274','val_274','2008-04-08','12' -'219','val_219','2008-04-08','12' -'239','val_239','2008-04-08','12' -'485','val_485','2008-04-08','12' -'116','val_116','2008-04-08','12' -'223','val_223','2008-04-08','12' -'256','val_256','2008-04-08','12' -'263','val_263','2008-04-08','12' -'70','val_70','2008-04-08','12' -'487','val_487','2008-04-08','12' -'480','val_480','2008-04-08','12' -'401','val_401','2008-04-08','12' -'288','val_288','2008-04-08','12' -'191','val_191','2008-04-08','12' -'5','val_5','2008-04-08','12' -'244','val_244','2008-04-08','12' -'438','val_438','2008-04-08','12' -'128','val_128','2008-04-08','12' -'467','val_467','2008-04-08','12' -'432','val_432','2008-04-08','12' -'202','val_202','2008-04-08','12' -'316','val_316','2008-04-08','12' -'229','val_229','2008-04-08','12' -'469','val_469','2008-04-08','12' -'463','val_463','2008-04-08','12' -'280','val_280','2008-04-08','12' -'2','val_2','2008-04-08','12' -'35','val_35','2008-04-08','12' -'283','val_283','2008-04-08','12' -'331','val_331','2008-04-08','12' -'235','val_235','2008-04-08','12' -'80','val_80','2008-04-08','12' -'44','val_44','2008-04-08','12' -'193','val_193','2008-04-08','12' -'321','val_321','2008-04-08','12' -'335','val_335','2008-04-08','12' -'104','val_104','2008-04-08','12' -'466','val_466','2008-04-08','12' -'366','val_366','2008-04-08','12' -'175','val_175','2008-04-08','12' -'403','val_403','2008-04-08','12' -'483','val_483','2008-04-08','12' -'53','val_53','2008-04-08','12' -'105','val_105','2008-04-08','12' -'257','val_257','2008-04-08','12' -'406','val_406','2008-04-08','12' -'409','val_409','2008-04-08','12' -'190','val_190','2008-04-08','12' -'406','val_406','2008-04-08','12' -'401','val_401','2008-04-08','12' -'114','val_114','2008-04-08','12' -'258','val_258','2008-04-08','12' -'90','val_90','2008-04-08','12' -'203','val_203','2008-04-08','12' -'262','val_262','2008-04-08','12' -'348','val_348','2008-04-08','12' -'424','val_424','2008-04-08','12' -'12','val_12','2008-04-08','12' -'396','val_396','2008-04-08','12' -'201','val_201','2008-04-08','12' -'217','val_217','2008-04-08','12' -'164','val_164','2008-04-08','12' -'431','val_431','2008-04-08','12' -'454','val_454','2008-04-08','12' -'478','val_478','2008-04-08','12' -'298','val_298','2008-04-08','12' -'125','val_125','2008-04-08','12' -'431','val_431','2008-04-08','12' -'164','val_164','2008-04-08','12' -'424','val_424','2008-04-08','12' -'187','val_187','2008-04-08','12' -'382','val_382','2008-04-08','12' -'5','val_5','2008-04-08','12' -'70','val_70','2008-04-08','12' -'397','val_397','2008-04-08','12' -'480','val_480','2008-04-08','12' -'291','val_291','2008-04-08','12' -'24','val_24','2008-04-08','12' -'351','val_351','2008-04-08','12' -'255','val_255','2008-04-08','12' -'104','val_104','2008-04-08','12' -'70','val_70','2008-04-08','12' -'163','val_163','2008-04-08','12' -'438','val_438','2008-04-08','12' -'119','val_119','2008-04-08','12' -'414','val_414','2008-04-08','12' -'200','val_200','2008-04-08','12' -'491','val_491','2008-04-08','12' -'237','val_237','2008-04-08','12' -'439','val_439','2008-04-08','12' -'360','val_360','2008-04-08','12' -'248','val_248','2008-04-08','12' -'479','val_479','2008-04-08','12' -'305','val_305','2008-04-08','12' -'417','val_417','2008-04-08','12' -'199','val_199','2008-04-08','12' -'444','val_444','2008-04-08','12' -'120','val_120','2008-04-08','12' -'429','val_429','2008-04-08','12' -'169','val_169','2008-04-08','12' -'443','val_443','2008-04-08','12' -'323','val_323','2008-04-08','12' -'325','val_325','2008-04-08','12' -'277','val_277','2008-04-08','12' -'230','val_230','2008-04-08','12' -'478','val_478','2008-04-08','12' -'178','val_178','2008-04-08','12' -'468','val_468','2008-04-08','12' -'310','val_310','2008-04-08','12' -'317','val_317','2008-04-08','12' -'333','val_333','2008-04-08','12' -'493','val_493','2008-04-08','12' -'460','val_460','2008-04-08','12' -'207','val_207','2008-04-08','12' -'249','val_249','2008-04-08','12' -'265','val_265','2008-04-08','12' -'480','val_480','2008-04-08','12' -'83','val_83','2008-04-08','12' -'136','val_136','2008-04-08','12' -'353','val_353','2008-04-08','12' -'172','val_172','2008-04-08','12' -'214','val_214','2008-04-08','12' -'462','val_462','2008-04-08','12' -'233','val_233','2008-04-08','12' -'406','val_406','2008-04-08','12' -'133','val_133','2008-04-08','12' -'175','val_175','2008-04-08','12' -'189','val_189','2008-04-08','12' -'454','val_454','2008-04-08','12' -'375','val_375','2008-04-08','12' -'401','val_401','2008-04-08','12' -'421','val_421','2008-04-08','12' -'407','val_407','2008-04-08','12' -'384','val_384','2008-04-08','12' -'256','val_256','2008-04-08','12' -'26','val_26','2008-04-08','12' -'134','val_134','2008-04-08','12' -'67','val_67','2008-04-08','12' -'384','val_384','2008-04-08','12' -'379','val_379','2008-04-08','12' -'18','val_18','2008-04-08','12' -'462','val_462','2008-04-08','12' -'492','val_492','2008-04-08','12' -'100','val_100','2008-04-08','12' -'298','val_298','2008-04-08','12' -'9','val_9','2008-04-08','12' -'341','val_341','2008-04-08','12' -'498','val_498','2008-04-08','12' -'146','val_146','2008-04-08','12' -'458','val_458','2008-04-08','12' -'362','val_362','2008-04-08','12' -'186','val_186','2008-04-08','12' -'285','val_285','2008-04-08','12' -'348','val_348','2008-04-08','12' -'167','val_167','2008-04-08','12' -'18','val_18','2008-04-08','12' -'273','val_273','2008-04-08','12' -'183','val_183','2008-04-08','12' -'281','val_281','2008-04-08','12' -'344','val_344','2008-04-08','12' -'97','val_97','2008-04-08','12' -'469','val_469','2008-04-08','12' -'315','val_315','2008-04-08','12' -'84','val_84','2008-04-08','12' -'28','val_28','2008-04-08','12' -'37','val_37','2008-04-08','12' -'448','val_448','2008-04-08','12' -'152','val_152','2008-04-08','12' -'348','val_348','2008-04-08','12' -'307','val_307','2008-04-08','12' -'194','val_194','2008-04-08','12' -'414','val_414','2008-04-08','12' -'477','val_477','2008-04-08','12' -'222','val_222','2008-04-08','12' -'126','val_126','2008-04-08','12' -'90','val_90','2008-04-08','12' -'169','val_169','2008-04-08','12' -'403','val_403','2008-04-08','12' -'400','val_400','2008-04-08','12' -'200','val_200','2008-04-08','12' -'97','val_97','2008-04-08','12' -1,000 rows selected ->>> select * from nzhang_part2 where ds is not null and hr is not null; -'key','value','ds','hr' -'238','val_238','2008-12-31','11' -'86','val_86','2008-12-31','11' -'311','val_311','2008-12-31','11' -'27','val_27','2008-12-31','11' -'165','val_165','2008-12-31','11' -'409','val_409','2008-12-31','11' -'255','val_255','2008-12-31','11' -'278','val_278','2008-12-31','11' -'98','val_98','2008-12-31','11' -'484','val_484','2008-12-31','11' -'265','val_265','2008-12-31','11' -'193','val_193','2008-12-31','11' -'401','val_401','2008-12-31','11' -'150','val_150','2008-12-31','11' -'273','val_273','2008-12-31','11' -'224','val_224','2008-12-31','11' -'369','val_369','2008-12-31','11' -'66','val_66','2008-12-31','11' -'128','val_128','2008-12-31','11' -'213','val_213','2008-12-31','11' -'146','val_146','2008-12-31','11' -'406','val_406','2008-12-31','11' -'429','val_429','2008-12-31','11' -'374','val_374','2008-12-31','11' -'152','val_152','2008-12-31','11' -'469','val_469','2008-12-31','11' -'145','val_145','2008-12-31','11' -'495','val_495','2008-12-31','11' -'37','val_37','2008-12-31','11' -'327','val_327','2008-12-31','11' -'281','val_281','2008-12-31','11' -'277','val_277','2008-12-31','11' -'209','val_209','2008-12-31','11' -'15','val_15','2008-12-31','11' -'82','val_82','2008-12-31','11' -'403','val_403','2008-12-31','11' -'166','val_166','2008-12-31','11' -'417','val_417','2008-12-31','11' -'430','val_430','2008-12-31','11' -'252','val_252','2008-12-31','11' -'292','val_292','2008-12-31','11' -'219','val_219','2008-12-31','11' -'287','val_287','2008-12-31','11' -'153','val_153','2008-12-31','11' -'193','val_193','2008-12-31','11' -'338','val_338','2008-12-31','11' -'446','val_446','2008-12-31','11' -'459','val_459','2008-12-31','11' -'394','val_394','2008-12-31','11' -'237','val_237','2008-12-31','11' -'482','val_482','2008-12-31','11' -'174','val_174','2008-12-31','11' -'413','val_413','2008-12-31','11' -'494','val_494','2008-12-31','11' -'207','val_207','2008-12-31','11' -'199','val_199','2008-12-31','11' -'466','val_466','2008-12-31','11' -'208','val_208','2008-12-31','11' -'174','val_174','2008-12-31','11' -'399','val_399','2008-12-31','11' -'396','val_396','2008-12-31','11' -'247','val_247','2008-12-31','11' -'417','val_417','2008-12-31','11' -'489','val_489','2008-12-31','11' -'162','val_162','2008-12-31','11' -'377','val_377','2008-12-31','11' -'397','val_397','2008-12-31','11' -'309','val_309','2008-12-31','11' -'365','val_365','2008-12-31','11' -'266','val_266','2008-12-31','11' -'439','val_439','2008-12-31','11' -'342','val_342','2008-12-31','11' -'367','val_367','2008-12-31','11' -'325','val_325','2008-12-31','11' -'167','val_167','2008-12-31','11' -'195','val_195','2008-12-31','11' -'475','val_475','2008-12-31','11' -'17','val_17','2008-12-31','11' -'113','val_113','2008-12-31','11' -'155','val_155','2008-12-31','11' -'203','val_203','2008-12-31','11' -'339','val_339','2008-12-31','11' -'0','val_0','2008-12-31','11' -'455','val_455','2008-12-31','11' -'128','val_128','2008-12-31','11' -'311','val_311','2008-12-31','11' -'316','val_316','2008-12-31','11' -'57','val_57','2008-12-31','11' -'302','val_302','2008-12-31','11' -'205','val_205','2008-12-31','11' -'149','val_149','2008-12-31','11' -'438','val_438','2008-12-31','11' -'345','val_345','2008-12-31','11' -'129','val_129','2008-12-31','11' -'170','val_170','2008-12-31','11' -'20','val_20','2008-12-31','11' -'489','val_489','2008-12-31','11' -'157','val_157','2008-12-31','11' -'378','val_378','2008-12-31','11' -'221','val_221','2008-12-31','11' -'92','val_92','2008-12-31','11' -'111','val_111','2008-12-31','11' -'47','val_47','2008-12-31','11' -'72','val_72','2008-12-31','11' -'4','val_4','2008-12-31','11' -'280','val_280','2008-12-31','11' -'35','val_35','2008-12-31','11' -'427','val_427','2008-12-31','11' -'277','val_277','2008-12-31','11' -'208','val_208','2008-12-31','11' -'356','val_356','2008-12-31','11' -'399','val_399','2008-12-31','11' -'169','val_169','2008-12-31','11' -'382','val_382','2008-12-31','11' -'498','val_498','2008-12-31','11' -'125','val_125','2008-12-31','11' -'386','val_386','2008-12-31','11' -'437','val_437','2008-12-31','11' -'469','val_469','2008-12-31','11' -'192','val_192','2008-12-31','11' -'286','val_286','2008-12-31','11' -'187','val_187','2008-12-31','11' -'176','val_176','2008-12-31','11' -'54','val_54','2008-12-31','11' -'459','val_459','2008-12-31','11' -'51','val_51','2008-12-31','11' -'138','val_138','2008-12-31','11' -'103','val_103','2008-12-31','11' -'239','val_239','2008-12-31','11' -'213','val_213','2008-12-31','11' -'216','val_216','2008-12-31','11' -'430','val_430','2008-12-31','11' -'278','val_278','2008-12-31','11' -'176','val_176','2008-12-31','11' -'289','val_289','2008-12-31','11' -'221','val_221','2008-12-31','11' -'65','val_65','2008-12-31','11' -'318','val_318','2008-12-31','11' -'332','val_332','2008-12-31','11' -'311','val_311','2008-12-31','11' -'275','val_275','2008-12-31','11' -'137','val_137','2008-12-31','11' -'241','val_241','2008-12-31','11' -'83','val_83','2008-12-31','11' -'333','val_333','2008-12-31','11' -'180','val_180','2008-12-31','11' -'284','val_284','2008-12-31','11' -'12','val_12','2008-12-31','11' -'230','val_230','2008-12-31','11' -'181','val_181','2008-12-31','11' -'67','val_67','2008-12-31','11' -'260','val_260','2008-12-31','11' -'404','val_404','2008-12-31','11' -'384','val_384','2008-12-31','11' -'489','val_489','2008-12-31','11' -'353','val_353','2008-12-31','11' -'373','val_373','2008-12-31','11' -'272','val_272','2008-12-31','11' -'138','val_138','2008-12-31','11' -'217','val_217','2008-12-31','11' -'84','val_84','2008-12-31','11' -'348','val_348','2008-12-31','11' -'466','val_466','2008-12-31','11' -'58','val_58','2008-12-31','11' -'8','val_8','2008-12-31','11' -'411','val_411','2008-12-31','11' -'230','val_230','2008-12-31','11' -'208','val_208','2008-12-31','11' -'348','val_348','2008-12-31','11' -'24','val_24','2008-12-31','11' -'463','val_463','2008-12-31','11' -'431','val_431','2008-12-31','11' -'179','val_179','2008-12-31','11' -'172','val_172','2008-12-31','11' -'42','val_42','2008-12-31','11' -'129','val_129','2008-12-31','11' -'158','val_158','2008-12-31','11' -'119','val_119','2008-12-31','11' -'496','val_496','2008-12-31','11' -'0','val_0','2008-12-31','11' -'322','val_322','2008-12-31','11' -'197','val_197','2008-12-31','11' -'468','val_468','2008-12-31','11' -'393','val_393','2008-12-31','11' -'454','val_454','2008-12-31','11' -'100','val_100','2008-12-31','11' -'298','val_298','2008-12-31','11' -'199','val_199','2008-12-31','11' -'191','val_191','2008-12-31','11' -'418','val_418','2008-12-31','11' -'96','val_96','2008-12-31','11' -'26','val_26','2008-12-31','11' -'165','val_165','2008-12-31','11' -'327','val_327','2008-12-31','11' -'230','val_230','2008-12-31','11' -'205','val_205','2008-12-31','11' -'120','val_120','2008-12-31','11' -'131','val_131','2008-12-31','11' -'51','val_51','2008-12-31','11' -'404','val_404','2008-12-31','11' -'43','val_43','2008-12-31','11' -'436','val_436','2008-12-31','11' -'156','val_156','2008-12-31','11' -'469','val_469','2008-12-31','11' -'468','val_468','2008-12-31','11' -'308','val_308','2008-12-31','11' -'95','val_95','2008-12-31','11' -'196','val_196','2008-12-31','11' -'288','val_288','2008-12-31','11' -'481','val_481','2008-12-31','11' -'457','val_457','2008-12-31','11' -'98','val_98','2008-12-31','11' -'282','val_282','2008-12-31','11' -'197','val_197','2008-12-31','11' -'187','val_187','2008-12-31','11' -'318','val_318','2008-12-31','11' -'318','val_318','2008-12-31','11' -'409','val_409','2008-12-31','11' -'470','val_470','2008-12-31','11' -'137','val_137','2008-12-31','11' -'369','val_369','2008-12-31','11' -'316','val_316','2008-12-31','11' -'169','val_169','2008-12-31','11' -'413','val_413','2008-12-31','11' -'85','val_85','2008-12-31','11' -'77','val_77','2008-12-31','11' -'0','val_0','2008-12-31','11' -'490','val_490','2008-12-31','11' -'87','val_87','2008-12-31','11' -'364','val_364','2008-12-31','11' -'179','val_179','2008-12-31','11' -'118','val_118','2008-12-31','11' -'134','val_134','2008-12-31','11' -'395','val_395','2008-12-31','11' -'282','val_282','2008-12-31','11' -'138','val_138','2008-12-31','11' -'238','val_238','2008-12-31','11' -'419','val_419','2008-12-31','11' -'15','val_15','2008-12-31','11' -'118','val_118','2008-12-31','11' -'72','val_72','2008-12-31','11' -'90','val_90','2008-12-31','11' -'307','val_307','2008-12-31','11' -'19','val_19','2008-12-31','11' -'435','val_435','2008-12-31','11' -'10','val_10','2008-12-31','11' -'277','val_277','2008-12-31','11' -'273','val_273','2008-12-31','11' -'306','val_306','2008-12-31','11' -'224','val_224','2008-12-31','11' -'309','val_309','2008-12-31','11' -'389','val_389','2008-12-31','11' -'327','val_327','2008-12-31','11' -'242','val_242','2008-12-31','11' -'369','val_369','2008-12-31','11' -'392','val_392','2008-12-31','11' -'272','val_272','2008-12-31','11' -'331','val_331','2008-12-31','11' -'401','val_401','2008-12-31','11' -'242','val_242','2008-12-31','11' -'452','val_452','2008-12-31','11' -'177','val_177','2008-12-31','11' -'226','val_226','2008-12-31','11' -'5','val_5','2008-12-31','11' -'497','val_497','2008-12-31','11' -'402','val_402','2008-12-31','11' -'396','val_396','2008-12-31','11' -'317','val_317','2008-12-31','11' -'395','val_395','2008-12-31','11' -'58','val_58','2008-12-31','11' -'35','val_35','2008-12-31','11' -'336','val_336','2008-12-31','11' -'95','val_95','2008-12-31','11' -'11','val_11','2008-12-31','11' -'168','val_168','2008-12-31','11' -'34','val_34','2008-12-31','11' -'229','val_229','2008-12-31','11' -'233','val_233','2008-12-31','11' -'143','val_143','2008-12-31','11' -'472','val_472','2008-12-31','11' -'322','val_322','2008-12-31','11' -'498','val_498','2008-12-31','11' -'160','val_160','2008-12-31','11' -'195','val_195','2008-12-31','11' -'42','val_42','2008-12-31','11' -'321','val_321','2008-12-31','11' -'430','val_430','2008-12-31','11' -'119','val_119','2008-12-31','11' -'489','val_489','2008-12-31','11' -'458','val_458','2008-12-31','11' -'78','val_78','2008-12-31','11' -'76','val_76','2008-12-31','11' -'41','val_41','2008-12-31','11' -'223','val_223','2008-12-31','11' -'492','val_492','2008-12-31','11' -'149','val_149','2008-12-31','11' -'449','val_449','2008-12-31','11' -'218','val_218','2008-12-31','11' -'228','val_228','2008-12-31','11' -'138','val_138','2008-12-31','11' -'453','val_453','2008-12-31','11' -'30','val_30','2008-12-31','11' -'209','val_209','2008-12-31','11' -'64','val_64','2008-12-31','11' -'468','val_468','2008-12-31','11' -'76','val_76','2008-12-31','11' -'74','val_74','2008-12-31','11' -'342','val_342','2008-12-31','11' -'69','val_69','2008-12-31','11' -'230','val_230','2008-12-31','11' -'33','val_33','2008-12-31','11' -'368','val_368','2008-12-31','11' -'103','val_103','2008-12-31','11' -'296','val_296','2008-12-31','11' -'113','val_113','2008-12-31','11' -'216','val_216','2008-12-31','11' -'367','val_367','2008-12-31','11' -'344','val_344','2008-12-31','11' -'167','val_167','2008-12-31','11' -'274','val_274','2008-12-31','11' -'219','val_219','2008-12-31','11' -'239','val_239','2008-12-31','11' -'485','val_485','2008-12-31','11' -'116','val_116','2008-12-31','11' -'223','val_223','2008-12-31','11' -'256','val_256','2008-12-31','11' -'263','val_263','2008-12-31','11' -'70','val_70','2008-12-31','11' -'487','val_487','2008-12-31','11' -'480','val_480','2008-12-31','11' -'401','val_401','2008-12-31','11' -'288','val_288','2008-12-31','11' -'191','val_191','2008-12-31','11' -'5','val_5','2008-12-31','11' -'244','val_244','2008-12-31','11' -'438','val_438','2008-12-31','11' -'128','val_128','2008-12-31','11' -'467','val_467','2008-12-31','11' -'432','val_432','2008-12-31','11' -'202','val_202','2008-12-31','11' -'316','val_316','2008-12-31','11' -'229','val_229','2008-12-31','11' -'469','val_469','2008-12-31','11' -'463','val_463','2008-12-31','11' -'280','val_280','2008-12-31','11' -'2','val_2','2008-12-31','11' -'35','val_35','2008-12-31','11' -'283','val_283','2008-12-31','11' -'331','val_331','2008-12-31','11' -'235','val_235','2008-12-31','11' -'80','val_80','2008-12-31','11' -'44','val_44','2008-12-31','11' -'193','val_193','2008-12-31','11' -'321','val_321','2008-12-31','11' -'335','val_335','2008-12-31','11' -'104','val_104','2008-12-31','11' -'466','val_466','2008-12-31','11' -'366','val_366','2008-12-31','11' -'175','val_175','2008-12-31','11' -'403','val_403','2008-12-31','11' -'483','val_483','2008-12-31','11' -'53','val_53','2008-12-31','11' -'105','val_105','2008-12-31','11' -'257','val_257','2008-12-31','11' -'406','val_406','2008-12-31','11' -'409','val_409','2008-12-31','11' -'190','val_190','2008-12-31','11' -'406','val_406','2008-12-31','11' -'401','val_401','2008-12-31','11' -'114','val_114','2008-12-31','11' -'258','val_258','2008-12-31','11' -'90','val_90','2008-12-31','11' -'203','val_203','2008-12-31','11' -'262','val_262','2008-12-31','11' -'348','val_348','2008-12-31','11' -'424','val_424','2008-12-31','11' -'12','val_12','2008-12-31','11' -'396','val_396','2008-12-31','11' -'201','val_201','2008-12-31','11' -'217','val_217','2008-12-31','11' -'164','val_164','2008-12-31','11' -'431','val_431','2008-12-31','11' -'454','val_454','2008-12-31','11' -'478','val_478','2008-12-31','11' -'298','val_298','2008-12-31','11' -'125','val_125','2008-12-31','11' -'431','val_431','2008-12-31','11' -'164','val_164','2008-12-31','11' -'424','val_424','2008-12-31','11' -'187','val_187','2008-12-31','11' -'382','val_382','2008-12-31','11' -'5','val_5','2008-12-31','11' -'70','val_70','2008-12-31','11' -'397','val_397','2008-12-31','11' -'480','val_480','2008-12-31','11' -'291','val_291','2008-12-31','11' -'24','val_24','2008-12-31','11' -'351','val_351','2008-12-31','11' -'255','val_255','2008-12-31','11' -'104','val_104','2008-12-31','11' -'70','val_70','2008-12-31','11' -'163','val_163','2008-12-31','11' -'438','val_438','2008-12-31','11' -'119','val_119','2008-12-31','11' -'414','val_414','2008-12-31','11' -'200','val_200','2008-12-31','11' -'491','val_491','2008-12-31','11' -'237','val_237','2008-12-31','11' -'439','val_439','2008-12-31','11' -'360','val_360','2008-12-31','11' -'248','val_248','2008-12-31','11' -'479','val_479','2008-12-31','11' -'305','val_305','2008-12-31','11' -'417','val_417','2008-12-31','11' -'199','val_199','2008-12-31','11' -'444','val_444','2008-12-31','11' -'120','val_120','2008-12-31','11' -'429','val_429','2008-12-31','11' -'169','val_169','2008-12-31','11' -'443','val_443','2008-12-31','11' -'323','val_323','2008-12-31','11' -'325','val_325','2008-12-31','11' -'277','val_277','2008-12-31','11' -'230','val_230','2008-12-31','11' -'478','val_478','2008-12-31','11' -'178','val_178','2008-12-31','11' -'468','val_468','2008-12-31','11' -'310','val_310','2008-12-31','11' -'317','val_317','2008-12-31','11' -'333','val_333','2008-12-31','11' -'493','val_493','2008-12-31','11' -'460','val_460','2008-12-31','11' -'207','val_207','2008-12-31','11' -'249','val_249','2008-12-31','11' -'265','val_265','2008-12-31','11' -'480','val_480','2008-12-31','11' -'83','val_83','2008-12-31','11' -'136','val_136','2008-12-31','11' -'353','val_353','2008-12-31','11' -'172','val_172','2008-12-31','11' -'214','val_214','2008-12-31','11' -'462','val_462','2008-12-31','11' -'233','val_233','2008-12-31','11' -'406','val_406','2008-12-31','11' -'133','val_133','2008-12-31','11' -'175','val_175','2008-12-31','11' -'189','val_189','2008-12-31','11' -'454','val_454','2008-12-31','11' -'375','val_375','2008-12-31','11' -'401','val_401','2008-12-31','11' -'421','val_421','2008-12-31','11' -'407','val_407','2008-12-31','11' -'384','val_384','2008-12-31','11' -'256','val_256','2008-12-31','11' -'26','val_26','2008-12-31','11' -'134','val_134','2008-12-31','11' -'67','val_67','2008-12-31','11' -'384','val_384','2008-12-31','11' -'379','val_379','2008-12-31','11' -'18','val_18','2008-12-31','11' -'462','val_462','2008-12-31','11' -'492','val_492','2008-12-31','11' -'100','val_100','2008-12-31','11' -'298','val_298','2008-12-31','11' -'9','val_9','2008-12-31','11' -'341','val_341','2008-12-31','11' -'498','val_498','2008-12-31','11' -'146','val_146','2008-12-31','11' -'458','val_458','2008-12-31','11' -'362','val_362','2008-12-31','11' -'186','val_186','2008-12-31','11' -'285','val_285','2008-12-31','11' -'348','val_348','2008-12-31','11' -'167','val_167','2008-12-31','11' -'18','val_18','2008-12-31','11' -'273','val_273','2008-12-31','11' -'183','val_183','2008-12-31','11' -'281','val_281','2008-12-31','11' -'344','val_344','2008-12-31','11' -'97','val_97','2008-12-31','11' -'469','val_469','2008-12-31','11' -'315','val_315','2008-12-31','11' -'84','val_84','2008-12-31','11' -'28','val_28','2008-12-31','11' -'37','val_37','2008-12-31','11' -'448','val_448','2008-12-31','11' -'152','val_152','2008-12-31','11' -'348','val_348','2008-12-31','11' -'307','val_307','2008-12-31','11' -'194','val_194','2008-12-31','11' -'414','val_414','2008-12-31','11' -'477','val_477','2008-12-31','11' -'222','val_222','2008-12-31','11' -'126','val_126','2008-12-31','11' -'90','val_90','2008-12-31','11' -'169','val_169','2008-12-31','11' -'403','val_403','2008-12-31','11' -'400','val_400','2008-12-31','11' -'200','val_200','2008-12-31','11' -'97','val_97','2008-12-31','11' -'238','val_238','2008-12-31','12' -'86','val_86','2008-12-31','12' -'311','val_311','2008-12-31','12' -'27','val_27','2008-12-31','12' -'165','val_165','2008-12-31','12' -'409','val_409','2008-12-31','12' -'255','val_255','2008-12-31','12' -'278','val_278','2008-12-31','12' -'98','val_98','2008-12-31','12' -'484','val_484','2008-12-31','12' -'265','val_265','2008-12-31','12' -'193','val_193','2008-12-31','12' -'401','val_401','2008-12-31','12' -'150','val_150','2008-12-31','12' -'273','val_273','2008-12-31','12' -'224','val_224','2008-12-31','12' -'369','val_369','2008-12-31','12' -'66','val_66','2008-12-31','12' -'128','val_128','2008-12-31','12' -'213','val_213','2008-12-31','12' -'146','val_146','2008-12-31','12' -'406','val_406','2008-12-31','12' -'429','val_429','2008-12-31','12' -'374','val_374','2008-12-31','12' -'152','val_152','2008-12-31','12' -'469','val_469','2008-12-31','12' -'145','val_145','2008-12-31','12' -'495','val_495','2008-12-31','12' -'37','val_37','2008-12-31','12' -'327','val_327','2008-12-31','12' -'281','val_281','2008-12-31','12' -'277','val_277','2008-12-31','12' -'209','val_209','2008-12-31','12' -'15','val_15','2008-12-31','12' -'82','val_82','2008-12-31','12' -'403','val_403','2008-12-31','12' -'166','val_166','2008-12-31','12' -'417','val_417','2008-12-31','12' -'430','val_430','2008-12-31','12' -'252','val_252','2008-12-31','12' -'292','val_292','2008-12-31','12' -'219','val_219','2008-12-31','12' -'287','val_287','2008-12-31','12' -'153','val_153','2008-12-31','12' -'193','val_193','2008-12-31','12' -'338','val_338','2008-12-31','12' -'446','val_446','2008-12-31','12' -'459','val_459','2008-12-31','12' -'394','val_394','2008-12-31','12' -'237','val_237','2008-12-31','12' -'482','val_482','2008-12-31','12' -'174','val_174','2008-12-31','12' -'413','val_413','2008-12-31','12' -'494','val_494','2008-12-31','12' -'207','val_207','2008-12-31','12' -'199','val_199','2008-12-31','12' -'466','val_466','2008-12-31','12' -'208','val_208','2008-12-31','12' -'174','val_174','2008-12-31','12' -'399','val_399','2008-12-31','12' -'396','val_396','2008-12-31','12' -'247','val_247','2008-12-31','12' -'417','val_417','2008-12-31','12' -'489','val_489','2008-12-31','12' -'162','val_162','2008-12-31','12' -'377','val_377','2008-12-31','12' -'397','val_397','2008-12-31','12' -'309','val_309','2008-12-31','12' -'365','val_365','2008-12-31','12' -'266','val_266','2008-12-31','12' -'439','val_439','2008-12-31','12' -'342','val_342','2008-12-31','12' -'367','val_367','2008-12-31','12' -'325','val_325','2008-12-31','12' -'167','val_167','2008-12-31','12' -'195','val_195','2008-12-31','12' -'475','val_475','2008-12-31','12' -'17','val_17','2008-12-31','12' -'113','val_113','2008-12-31','12' -'155','val_155','2008-12-31','12' -'203','val_203','2008-12-31','12' -'339','val_339','2008-12-31','12' -'0','val_0','2008-12-31','12' -'455','val_455','2008-12-31','12' -'128','val_128','2008-12-31','12' -'311','val_311','2008-12-31','12' -'316','val_316','2008-12-31','12' -'57','val_57','2008-12-31','12' -'302','val_302','2008-12-31','12' -'205','val_205','2008-12-31','12' -'149','val_149','2008-12-31','12' -'438','val_438','2008-12-31','12' -'345','val_345','2008-12-31','12' -'129','val_129','2008-12-31','12' -'170','val_170','2008-12-31','12' -'20','val_20','2008-12-31','12' -'489','val_489','2008-12-31','12' -'157','val_157','2008-12-31','12' -'378','val_378','2008-12-31','12' -'221','val_221','2008-12-31','12' -'92','val_92','2008-12-31','12' -'111','val_111','2008-12-31','12' -'47','val_47','2008-12-31','12' -'72','val_72','2008-12-31','12' -'4','val_4','2008-12-31','12' -'280','val_280','2008-12-31','12' -'35','val_35','2008-12-31','12' -'427','val_427','2008-12-31','12' -'277','val_277','2008-12-31','12' -'208','val_208','2008-12-31','12' -'356','val_356','2008-12-31','12' -'399','val_399','2008-12-31','12' -'169','val_169','2008-12-31','12' -'382','val_382','2008-12-31','12' -'498','val_498','2008-12-31','12' -'125','val_125','2008-12-31','12' -'386','val_386','2008-12-31','12' -'437','val_437','2008-12-31','12' -'469','val_469','2008-12-31','12' -'192','val_192','2008-12-31','12' -'286','val_286','2008-12-31','12' -'187','val_187','2008-12-31','12' -'176','val_176','2008-12-31','12' -'54','val_54','2008-12-31','12' -'459','val_459','2008-12-31','12' -'51','val_51','2008-12-31','12' -'138','val_138','2008-12-31','12' -'103','val_103','2008-12-31','12' -'239','val_239','2008-12-31','12' -'213','val_213','2008-12-31','12' -'216','val_216','2008-12-31','12' -'430','val_430','2008-12-31','12' -'278','val_278','2008-12-31','12' -'176','val_176','2008-12-31','12' -'289','val_289','2008-12-31','12' -'221','val_221','2008-12-31','12' -'65','val_65','2008-12-31','12' -'318','val_318','2008-12-31','12' -'332','val_332','2008-12-31','12' -'311','val_311','2008-12-31','12' -'275','val_275','2008-12-31','12' -'137','val_137','2008-12-31','12' -'241','val_241','2008-12-31','12' -'83','val_83','2008-12-31','12' -'333','val_333','2008-12-31','12' -'180','val_180','2008-12-31','12' -'284','val_284','2008-12-31','12' -'12','val_12','2008-12-31','12' -'230','val_230','2008-12-31','12' -'181','val_181','2008-12-31','12' -'67','val_67','2008-12-31','12' -'260','val_260','2008-12-31','12' -'404','val_404','2008-12-31','12' -'384','val_384','2008-12-31','12' -'489','val_489','2008-12-31','12' -'353','val_353','2008-12-31','12' -'373','val_373','2008-12-31','12' -'272','val_272','2008-12-31','12' -'138','val_138','2008-12-31','12' -'217','val_217','2008-12-31','12' -'84','val_84','2008-12-31','12' -'348','val_348','2008-12-31','12' -'466','val_466','2008-12-31','12' -'58','val_58','2008-12-31','12' -'8','val_8','2008-12-31','12' -'411','val_411','2008-12-31','12' -'230','val_230','2008-12-31','12' -'208','val_208','2008-12-31','12' -'348','val_348','2008-12-31','12' -'24','val_24','2008-12-31','12' -'463','val_463','2008-12-31','12' -'431','val_431','2008-12-31','12' -'179','val_179','2008-12-31','12' -'172','val_172','2008-12-31','12' -'42','val_42','2008-12-31','12' -'129','val_129','2008-12-31','12' -'158','val_158','2008-12-31','12' -'119','val_119','2008-12-31','12' -'496','val_496','2008-12-31','12' -'0','val_0','2008-12-31','12' -'322','val_322','2008-12-31','12' -'197','val_197','2008-12-31','12' -'468','val_468','2008-12-31','12' -'393','val_393','2008-12-31','12' -'454','val_454','2008-12-31','12' -'100','val_100','2008-12-31','12' -'298','val_298','2008-12-31','12' -'199','val_199','2008-12-31','12' -'191','val_191','2008-12-31','12' -'418','val_418','2008-12-31','12' -'96','val_96','2008-12-31','12' -'26','val_26','2008-12-31','12' -'165','val_165','2008-12-31','12' -'327','val_327','2008-12-31','12' -'230','val_230','2008-12-31','12' -'205','val_205','2008-12-31','12' -'120','val_120','2008-12-31','12' -'131','val_131','2008-12-31','12' -'51','val_51','2008-12-31','12' -'404','val_404','2008-12-31','12' -'43','val_43','2008-12-31','12' -'436','val_436','2008-12-31','12' -'156','val_156','2008-12-31','12' -'469','val_469','2008-12-31','12' -'468','val_468','2008-12-31','12' -'308','val_308','2008-12-31','12' -'95','val_95','2008-12-31','12' -'196','val_196','2008-12-31','12' -'288','val_288','2008-12-31','12' -'481','val_481','2008-12-31','12' -'457','val_457','2008-12-31','12' -'98','val_98','2008-12-31','12' -'282','val_282','2008-12-31','12' -'197','val_197','2008-12-31','12' -'187','val_187','2008-12-31','12' -'318','val_318','2008-12-31','12' -'318','val_318','2008-12-31','12' -'409','val_409','2008-12-31','12' -'470','val_470','2008-12-31','12' -'137','val_137','2008-12-31','12' -'369','val_369','2008-12-31','12' -'316','val_316','2008-12-31','12' -'169','val_169','2008-12-31','12' -'413','val_413','2008-12-31','12' -'85','val_85','2008-12-31','12' -'77','val_77','2008-12-31','12' -'0','val_0','2008-12-31','12' -'490','val_490','2008-12-31','12' -'87','val_87','2008-12-31','12' -'364','val_364','2008-12-31','12' -'179','val_179','2008-12-31','12' -'118','val_118','2008-12-31','12' -'134','val_134','2008-12-31','12' -'395','val_395','2008-12-31','12' -'282','val_282','2008-12-31','12' -'138','val_138','2008-12-31','12' -'238','val_238','2008-12-31','12' -'419','val_419','2008-12-31','12' -'15','val_15','2008-12-31','12' -'118','val_118','2008-12-31','12' -'72','val_72','2008-12-31','12' -'90','val_90','2008-12-31','12' -'307','val_307','2008-12-31','12' -'19','val_19','2008-12-31','12' -'435','val_435','2008-12-31','12' -'10','val_10','2008-12-31','12' -'277','val_277','2008-12-31','12' -'273','val_273','2008-12-31','12' -'306','val_306','2008-12-31','12' -'224','val_224','2008-12-31','12' -'309','val_309','2008-12-31','12' -'389','val_389','2008-12-31','12' -'327','val_327','2008-12-31','12' -'242','val_242','2008-12-31','12' -'369','val_369','2008-12-31','12' -'392','val_392','2008-12-31','12' -'272','val_272','2008-12-31','12' -'331','val_331','2008-12-31','12' -'401','val_401','2008-12-31','12' -'242','val_242','2008-12-31','12' -'452','val_452','2008-12-31','12' -'177','val_177','2008-12-31','12' -'226','val_226','2008-12-31','12' -'5','val_5','2008-12-31','12' -'497','val_497','2008-12-31','12' -'402','val_402','2008-12-31','12' -'396','val_396','2008-12-31','12' -'317','val_317','2008-12-31','12' -'395','val_395','2008-12-31','12' -'58','val_58','2008-12-31','12' -'35','val_35','2008-12-31','12' -'336','val_336','2008-12-31','12' -'95','val_95','2008-12-31','12' -'11','val_11','2008-12-31','12' -'168','val_168','2008-12-31','12' -'34','val_34','2008-12-31','12' -'229','val_229','2008-12-31','12' -'233','val_233','2008-12-31','12' -'143','val_143','2008-12-31','12' -'472','val_472','2008-12-31','12' -'322','val_322','2008-12-31','12' -'498','val_498','2008-12-31','12' -'160','val_160','2008-12-31','12' -'195','val_195','2008-12-31','12' -'42','val_42','2008-12-31','12' -'321','val_321','2008-12-31','12' -'430','val_430','2008-12-31','12' -'119','val_119','2008-12-31','12' -'489','val_489','2008-12-31','12' -'458','val_458','2008-12-31','12' -'78','val_78','2008-12-31','12' -'76','val_76','2008-12-31','12' -'41','val_41','2008-12-31','12' -'223','val_223','2008-12-31','12' -'492','val_492','2008-12-31','12' -'149','val_149','2008-12-31','12' -'449','val_449','2008-12-31','12' -'218','val_218','2008-12-31','12' -'228','val_228','2008-12-31','12' -'138','val_138','2008-12-31','12' -'453','val_453','2008-12-31','12' -'30','val_30','2008-12-31','12' -'209','val_209','2008-12-31','12' -'64','val_64','2008-12-31','12' -'468','val_468','2008-12-31','12' -'76','val_76','2008-12-31','12' -'74','val_74','2008-12-31','12' -'342','val_342','2008-12-31','12' -'69','val_69','2008-12-31','12' -'230','val_230','2008-12-31','12' -'33','val_33','2008-12-31','12' -'368','val_368','2008-12-31','12' -'103','val_103','2008-12-31','12' -'296','val_296','2008-12-31','12' -'113','val_113','2008-12-31','12' -'216','val_216','2008-12-31','12' -'367','val_367','2008-12-31','12' -'344','val_344','2008-12-31','12' -'167','val_167','2008-12-31','12' -'274','val_274','2008-12-31','12' -'219','val_219','2008-12-31','12' -'239','val_239','2008-12-31','12' -'485','val_485','2008-12-31','12' -'116','val_116','2008-12-31','12' -'223','val_223','2008-12-31','12' -'256','val_256','2008-12-31','12' -'263','val_263','2008-12-31','12' -'70','val_70','2008-12-31','12' -'487','val_487','2008-12-31','12' -'480','val_480','2008-12-31','12' -'401','val_401','2008-12-31','12' -'288','val_288','2008-12-31','12' -'191','val_191','2008-12-31','12' -'5','val_5','2008-12-31','12' -'244','val_244','2008-12-31','12' -'438','val_438','2008-12-31','12' -'128','val_128','2008-12-31','12' -'467','val_467','2008-12-31','12' -'432','val_432','2008-12-31','12' -'202','val_202','2008-12-31','12' -'316','val_316','2008-12-31','12' -'229','val_229','2008-12-31','12' -'469','val_469','2008-12-31','12' -'463','val_463','2008-12-31','12' -'280','val_280','2008-12-31','12' -'2','val_2','2008-12-31','12' -'35','val_35','2008-12-31','12' -'283','val_283','2008-12-31','12' -'331','val_331','2008-12-31','12' -'235','val_235','2008-12-31','12' -'80','val_80','2008-12-31','12' -'44','val_44','2008-12-31','12' -'193','val_193','2008-12-31','12' -'321','val_321','2008-12-31','12' -'335','val_335','2008-12-31','12' -'104','val_104','2008-12-31','12' -'466','val_466','2008-12-31','12' -'366','val_366','2008-12-31','12' -'175','val_175','2008-12-31','12' -'403','val_403','2008-12-31','12' -'483','val_483','2008-12-31','12' -'53','val_53','2008-12-31','12' -'105','val_105','2008-12-31','12' -'257','val_257','2008-12-31','12' -'406','val_406','2008-12-31','12' -'409','val_409','2008-12-31','12' -'190','val_190','2008-12-31','12' -'406','val_406','2008-12-31','12' -'401','val_401','2008-12-31','12' -'114','val_114','2008-12-31','12' -'258','val_258','2008-12-31','12' -'90','val_90','2008-12-31','12' -'203','val_203','2008-12-31','12' -'262','val_262','2008-12-31','12' -'348','val_348','2008-12-31','12' -'424','val_424','2008-12-31','12' -'12','val_12','2008-12-31','12' -'396','val_396','2008-12-31','12' -'201','val_201','2008-12-31','12' -'217','val_217','2008-12-31','12' -'164','val_164','2008-12-31','12' -'431','val_431','2008-12-31','12' -'454','val_454','2008-12-31','12' -'478','val_478','2008-12-31','12' -'298','val_298','2008-12-31','12' -'125','val_125','2008-12-31','12' -'431','val_431','2008-12-31','12' -'164','val_164','2008-12-31','12' -'424','val_424','2008-12-31','12' -'187','val_187','2008-12-31','12' -'382','val_382','2008-12-31','12' -'5','val_5','2008-12-31','12' -'70','val_70','2008-12-31','12' -'397','val_397','2008-12-31','12' -'480','val_480','2008-12-31','12' -'291','val_291','2008-12-31','12' -'24','val_24','2008-12-31','12' -'351','val_351','2008-12-31','12' -'255','val_255','2008-12-31','12' -'104','val_104','2008-12-31','12' -'70','val_70','2008-12-31','12' -'163','val_163','2008-12-31','12' -'438','val_438','2008-12-31','12' -'119','val_119','2008-12-31','12' -'414','val_414','2008-12-31','12' -'200','val_200','2008-12-31','12' -'491','val_491','2008-12-31','12' -'237','val_237','2008-12-31','12' -'439','val_439','2008-12-31','12' -'360','val_360','2008-12-31','12' -'248','val_248','2008-12-31','12' -'479','val_479','2008-12-31','12' -'305','val_305','2008-12-31','12' -'417','val_417','2008-12-31','12' -'199','val_199','2008-12-31','12' -'444','val_444','2008-12-31','12' -'120','val_120','2008-12-31','12' -'429','val_429','2008-12-31','12' -'169','val_169','2008-12-31','12' -'443','val_443','2008-12-31','12' -'323','val_323','2008-12-31','12' -'325','val_325','2008-12-31','12' -'277','val_277','2008-12-31','12' -'230','val_230','2008-12-31','12' -'478','val_478','2008-12-31','12' -'178','val_178','2008-12-31','12' -'468','val_468','2008-12-31','12' -'310','val_310','2008-12-31','12' -'317','val_317','2008-12-31','12' -'333','val_333','2008-12-31','12' -'493','val_493','2008-12-31','12' -'460','val_460','2008-12-31','12' -'207','val_207','2008-12-31','12' -'249','val_249','2008-12-31','12' -'265','val_265','2008-12-31','12' -'480','val_480','2008-12-31','12' -'83','val_83','2008-12-31','12' -'136','val_136','2008-12-31','12' -'353','val_353','2008-12-31','12' -'172','val_172','2008-12-31','12' -'214','val_214','2008-12-31','12' -'462','val_462','2008-12-31','12' -'233','val_233','2008-12-31','12' -'406','val_406','2008-12-31','12' -'133','val_133','2008-12-31','12' -'175','val_175','2008-12-31','12' -'189','val_189','2008-12-31','12' -'454','val_454','2008-12-31','12' -'375','val_375','2008-12-31','12' -'401','val_401','2008-12-31','12' -'421','val_421','2008-12-31','12' -'407','val_407','2008-12-31','12' -'384','val_384','2008-12-31','12' -'256','val_256','2008-12-31','12' -'26','val_26','2008-12-31','12' -'134','val_134','2008-12-31','12' -'67','val_67','2008-12-31','12' -'384','val_384','2008-12-31','12' -'379','val_379','2008-12-31','12' -'18','val_18','2008-12-31','12' -'462','val_462','2008-12-31','12' -'492','val_492','2008-12-31','12' -'100','val_100','2008-12-31','12' -'298','val_298','2008-12-31','12' -'9','val_9','2008-12-31','12' -'341','val_341','2008-12-31','12' -'498','val_498','2008-12-31','12' -'146','val_146','2008-12-31','12' -'458','val_458','2008-12-31','12' -'362','val_362','2008-12-31','12' -'186','val_186','2008-12-31','12' -'285','val_285','2008-12-31','12' -'348','val_348','2008-12-31','12' -'167','val_167','2008-12-31','12' -'18','val_18','2008-12-31','12' -'273','val_273','2008-12-31','12' -'183','val_183','2008-12-31','12' -'281','val_281','2008-12-31','12' -'344','val_344','2008-12-31','12' -'97','val_97','2008-12-31','12' -'469','val_469','2008-12-31','12' -'315','val_315','2008-12-31','12' -'84','val_84','2008-12-31','12' -'28','val_28','2008-12-31','12' -'37','val_37','2008-12-31','12' -'448','val_448','2008-12-31','12' -'152','val_152','2008-12-31','12' -'348','val_348','2008-12-31','12' -'307','val_307','2008-12-31','12' -'194','val_194','2008-12-31','12' -'414','val_414','2008-12-31','12' -'477','val_477','2008-12-31','12' -'222','val_222','2008-12-31','12' -'126','val_126','2008-12-31','12' -'90','val_90','2008-12-31','12' -'169','val_169','2008-12-31','12' -'403','val_403','2008-12-31','12' -'400','val_400','2008-12-31','12' -'200','val_200','2008-12-31','12' -'97','val_97','2008-12-31','12' -1,000 rows selected ->>> ->>> describe formatted nzhang_part1 partition(ds='2008-04-08',hr=11); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2008-04-08, 11] ','' -'Database: ','stats4 ','' -'Table: ','nzhang_part1 ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats4.db/nzhang_part1/ds=2008-04-08/hr=11','' -'Partition Parameters:','','' -'','numFiles ','1 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -36 rows selected ->>> describe formatted nzhang_part1 partition(ds='2008-04-08',hr=12); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2008-04-08, 12] ','' -'Database: ','stats4 ','' -'Table: ','nzhang_part1 ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats4.db/nzhang_part1/ds=2008-04-08/hr=12','' -'Partition Parameters:','','' -'','numFiles ','1 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -36 rows selected ->>> describe formatted nzhang_part2 partition(ds='2008-12-31',hr=11); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2008-12-31, 11] ','' -'Database: ','stats4 ','' -'Table: ','nzhang_part2 ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats4.db/nzhang_part2/ds=2008-12-31/hr=11','' -'Partition Parameters:','','' -'','numFiles ','1 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -36 rows selected ->>> describe formatted nzhang_part2 partition(ds='2008-12-31',hr=12); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2008-12-31, 12] ','' -'Database: ','stats4 ','' -'Table: ','nzhang_part2 ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats4.db/nzhang_part2/ds=2008-12-31/hr=12','' -'Partition Parameters:','','' -'','numFiles ','1 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -36 rows selected ->>> ->>> describe formatted nzhang_part1; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','stats4 ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats4.db/nzhang_part1','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','numFiles ','2 ' -'','numPartitions ','2 ' -'','numRows ','1000 ' -'','rawDataSize ','10624 ' -'','totalSize ','11624 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -38 rows selected ->>> describe formatted nzhang_part2; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','stats4 ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats4.db/nzhang_part2','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','numFiles ','2 ' -'','numPartitions ','2 ' -'','numRows ','1000 ' -'','rawDataSize ','10624 ' -'','totalSize ','11624 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -38 rows selected ->>> ->>> drop table nzhang_part1; -No rows affected ->>> drop table nzhang_part2; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/stats5.q.out ql/src/test/results/beelinepositive/stats5.q.out deleted file mode 100644 index 40c8c5b..0000000 --- ql/src/test/results/beelinepositive/stats5.q.out +++ /dev/null @@ -1,73 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/stats5.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/stats5.q ->>> set datanucleus.cache.collections=false; -No rows affected ->>> set hive.stats.autogather=false; -No rows affected ->>> ->>> create table analyze_src as select * from src; -'key','value' -No rows selected ->>> ->>> explain analyze table analyze_src compute statistics; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_ANALYZE (TOK_TAB (TOK_TABNAME analyze_src)))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -' Stage-1 depends on stages: Stage-0' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Map Reduce' -' Alias -> Map Operator Tree:' -' analyze_src ' -' TableScan' -' alias: analyze_src' -'' -' Stage: Stage-1' -' Stats-Aggr Operator' -'' -'' -19 rows selected ->>> ->>> analyze table analyze_src compute statistics; -'key','value' -No rows selected ->>> ->>> describe formatted analyze_src; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','stats5 ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats5.db/analyze_src','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','numFiles ','1 ' -'','numPartitions ','0 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -32 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/stats6.q.out ql/src/test/results/beelinepositive/stats6.q.out deleted file mode 100644 index 98a19c6..0000000 --- ql/src/test/results/beelinepositive/stats6.q.out +++ /dev/null @@ -1,210 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/stats6.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/stats6.q ->>> set datanucleus.cache.collections=false; -No rows affected ->>> set hive.stats.autogather=false; -No rows affected ->>> set hive.exec.dynamic.partition=true; -No rows affected ->>> set hive.exec.dynamic.partition.mode=nonstrict; -No rows affected ->>> ->>> create table analyze_srcpart like srcpart; -No rows affected ->>> insert overwrite table analyze_srcpart partition (ds, hr) select * from srcpart where ds is not null; -'key','value','ds','hr' -No rows selected ->>> ->>> analyze table analyze_srcpart PARTITION(ds='2008-04-08',hr=11) compute statistics; -'key','value','ds','hr' -No rows selected ->>> analyze table analyze_srcpart PARTITION(ds='2008-04-08',hr=12) compute statistics; -'key','value','ds','hr' -No rows selected ->>> ->>> describe formatted analyze_srcpart PARTITION(ds='2008-04-08',hr=11); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2008-04-08, 11] ','' -'Database: ','stats6 ','' -'Table: ','analyze_srcpart ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats6.db/analyze_srcpart/ds=2008-04-08/hr=11','' -'Partition Parameters:','','' -'','numFiles ','1 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -36 rows selected ->>> describe formatted analyze_srcpart PARTITION(ds='2008-04-08',hr=12); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2008-04-08, 12] ','' -'Database: ','stats6 ','' -'Table: ','analyze_srcpart ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats6.db/analyze_srcpart/ds=2008-04-08/hr=12','' -'Partition Parameters:','','' -'','numFiles ','1 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -36 rows selected ->>> describe formatted analyze_srcpart PARTITION(ds='2008-04-09',hr=11); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2008-04-09, 11] ','' -'Database: ','stats6 ','' -'Table: ','analyze_srcpart ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats6.db/analyze_srcpart/ds=2008-04-09/hr=11','' -'Partition Parameters:','','' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -32 rows selected ->>> describe formatted analyze_srcpart PARTITION(ds='2008-04-09',hr=12); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2008-04-09, 12] ','' -'Database: ','stats6 ','' -'Table: ','analyze_srcpart ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats6.db/analyze_srcpart/ds=2008-04-09/hr=12','' -'Partition Parameters:','','' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -32 rows selected ->>> ->>> describe formatted analyze_srcpart; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','stats6 ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats6.db/analyze_srcpart','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','numFiles ','2 ' -'','numPartitions ','2 ' -'','numRows ','1000 ' -'','rawDataSize ','10624 ' -'','totalSize ','11624 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -38 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/stats7.q.out ql/src/test/results/beelinepositive/stats7.q.out deleted file mode 100644 index e375cbf..0000000 --- ql/src/test/results/beelinepositive/stats7.q.out +++ /dev/null @@ -1,162 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/stats7.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/stats7.q ->>> set datanucleus.cache.collections=false; -No rows affected ->>> set hive.stats.autogather=false; -No rows affected ->>> set hive.exec.dynamic.partition=true; -No rows affected ->>> set hive.exec.dynamic.partition.mode=nonstrict; -No rows affected ->>> ->>> create table analyze_srcpart like srcpart; -No rows affected ->>> insert overwrite table analyze_srcpart partition (ds, hr) select * from srcpart where ds is not null; -'key','value','ds','hr' -No rows selected ->>> ->>> explain analyze table analyze_srcpart PARTITION(ds='2008-04-08',hr) compute statistics; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_ANALYZE (TOK_TAB (TOK_TABNAME analyze_srcpart) (TOK_PARTSPEC (TOK_PARTVAL ds '2008-04-08') (TOK_PARTVAL hr))))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -' Stage-1 depends on stages: Stage-0' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Map Reduce' -' Alias -> Map Operator Tree:' -' analyze_srcpart ' -' TableScan' -' alias: analyze_srcpart' -'' -' Stage: Stage-1' -' Stats-Aggr Operator' -'' -'' -19 rows selected ->>> ->>> analyze table analyze_srcpart PARTITION(ds='2008-04-08',hr) compute statistics; -'key','value','ds','hr' -No rows selected ->>> ->>> describe formatted analyze_srcpart PARTITION(ds='2008-04-08',hr=11); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2008-04-08, 11] ','' -'Database: ','stats7 ','' -'Table: ','analyze_srcpart ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats7.db/analyze_srcpart/ds=2008-04-08/hr=11','' -'Partition Parameters:','','' -'','numFiles ','1 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -36 rows selected ->>> describe formatted analyze_srcpart PARTITION(ds='2008-04-08',hr=12); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2008-04-08, 12] ','' -'Database: ','stats7 ','' -'Table: ','analyze_srcpart ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats7.db/analyze_srcpart/ds=2008-04-08/hr=12','' -'Partition Parameters:','','' -'','numFiles ','1 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -36 rows selected ->>> ->>> describe formatted analyze_srcpart; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','stats7 ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats7.db/analyze_srcpart','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','numFiles ','2 ' -'','numPartitions ','2 ' -'','numRows ','1000 ' -'','rawDataSize ','10624 ' -'','totalSize ','11624 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -38 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/stats8.q.out ql/src/test/results/beelinepositive/stats8.q.out deleted file mode 100644 index 1593bba..0000000 --- ql/src/test/results/beelinepositive/stats8.q.out +++ /dev/null @@ -1,532 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/stats8.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/stats8.q ->>> set datanucleus.cache.collections=false; -No rows affected ->>> set hive.stats.autogather=false; -No rows affected ->>> set hive.exec.dynamic.partition=true; -No rows affected ->>> set hive.exec.dynamic.partition.mode=nonstrict; -No rows affected ->>> ->>> create table analyze_srcpart like srcpart; -No rows affected ->>> insert overwrite table analyze_srcpart partition (ds, hr) select * from srcpart where ds is not null; -'key','value','ds','hr' -No rows selected ->>> ->>> explain analyze table analyze_srcpart PARTITION(ds='2008-04-08',hr=11) compute statistics; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_ANALYZE (TOK_TAB (TOK_TABNAME analyze_srcpart) (TOK_PARTSPEC (TOK_PARTVAL ds '2008-04-08') (TOK_PARTVAL hr 11))))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -' Stage-1 depends on stages: Stage-0' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Map Reduce' -' Alias -> Map Operator Tree:' -' analyze_srcpart ' -' TableScan' -' alias: analyze_srcpart' -'' -' Stage: Stage-1' -' Stats-Aggr Operator' -'' -'' -19 rows selected ->>> analyze table analyze_srcpart PARTITION(ds='2008-04-08',hr=11) compute statistics; -'key','value','ds','hr' -No rows selected ->>> describe formatted analyze_srcpart PARTITION(ds='2008-04-08',hr=11); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2008-04-08, 11] ','' -'Database: ','stats8 ','' -'Table: ','analyze_srcpart ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats8.db/analyze_srcpart/ds=2008-04-08/hr=11','' -'Partition Parameters:','','' -'','numFiles ','1 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -36 rows selected ->>> describe formatted analyze_srcpart; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','stats8 ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats8.db/analyze_srcpart','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','numFiles ','1 ' -'','numPartitions ','1 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -38 rows selected ->>> ->>> explain analyze table analyze_srcpart PARTITION(ds='2008-04-08',hr=12) compute statistics; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_ANALYZE (TOK_TAB (TOK_TABNAME analyze_srcpart) (TOK_PARTSPEC (TOK_PARTVAL ds '2008-04-08') (TOK_PARTVAL hr 12))))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -' Stage-1 depends on stages: Stage-0' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Map Reduce' -' Alias -> Map Operator Tree:' -' analyze_srcpart ' -' TableScan' -' alias: analyze_srcpart' -'' -' Stage: Stage-1' -' Stats-Aggr Operator' -'' -'' -19 rows selected ->>> analyze table analyze_srcpart PARTITION(ds='2008-04-08',hr=12) compute statistics; -'key','value','ds','hr' -No rows selected ->>> describe formatted analyze_srcpart PARTITION(ds='2008-04-08',hr=12); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2008-04-08, 12] ','' -'Database: ','stats8 ','' -'Table: ','analyze_srcpart ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats8.db/analyze_srcpart/ds=2008-04-08/hr=12','' -'Partition Parameters:','','' -'','numFiles ','1 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -36 rows selected ->>> ->>> explain analyze table analyze_srcpart PARTITION(ds='2008-04-09',hr=11) compute statistics; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_ANALYZE (TOK_TAB (TOK_TABNAME analyze_srcpart) (TOK_PARTSPEC (TOK_PARTVAL ds '2008-04-09') (TOK_PARTVAL hr 11))))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -' Stage-1 depends on stages: Stage-0' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Map Reduce' -' Alias -> Map Operator Tree:' -' analyze_srcpart ' -' TableScan' -' alias: analyze_srcpart' -'' -' Stage: Stage-1' -' Stats-Aggr Operator' -'' -'' -19 rows selected ->>> analyze table analyze_srcpart PARTITION(ds='2008-04-09',hr=11) compute statistics; -'key','value','ds','hr' -No rows selected ->>> describe formatted analyze_srcpart PARTITION(ds='2008-04-09',hr=11); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2008-04-09, 11] ','' -'Database: ','stats8 ','' -'Table: ','analyze_srcpart ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats8.db/analyze_srcpart/ds=2008-04-09/hr=11','' -'Partition Parameters:','','' -'','numFiles ','1 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -36 rows selected ->>> ->>> explain analyze table analyze_srcpart PARTITION(ds='2008-04-09',hr=12) compute statistics; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_ANALYZE (TOK_TAB (TOK_TABNAME analyze_srcpart) (TOK_PARTSPEC (TOK_PARTVAL ds '2008-04-09') (TOK_PARTVAL hr 12))))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -' Stage-1 depends on stages: Stage-0' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Map Reduce' -' Alias -> Map Operator Tree:' -' analyze_srcpart ' -' TableScan' -' alias: analyze_srcpart' -'' -' Stage: Stage-1' -' Stats-Aggr Operator' -'' -'' -19 rows selected ->>> analyze table analyze_srcpart PARTITION(ds='2008-04-09',hr=12) compute statistics; -'key','value','ds','hr' -No rows selected ->>> describe formatted analyze_srcpart PARTITION(ds='2008-04-09',hr=12); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2008-04-09, 12] ','' -'Database: ','stats8 ','' -'Table: ','analyze_srcpart ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats8.db/analyze_srcpart/ds=2008-04-09/hr=12','' -'Partition Parameters:','','' -'','numFiles ','1 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -36 rows selected ->>> ->>> explain analyze table analyze_srcpart PARTITION(ds, hr) compute statistics; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_ANALYZE (TOK_TAB (TOK_TABNAME analyze_srcpart) (TOK_PARTSPEC (TOK_PARTVAL ds) (TOK_PARTVAL hr))))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -' Stage-1 depends on stages: Stage-0' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Map Reduce' -' Alias -> Map Operator Tree:' -' analyze_srcpart ' -' TableScan' -' alias: analyze_srcpart' -'' -' Stage: Stage-1' -' Stats-Aggr Operator' -'' -'' -19 rows selected ->>> analyze table analyze_srcpart PARTITION(ds, hr) compute statistics; -'key','value','ds','hr' -No rows selected ->>> ->>> describe formatted analyze_srcpart PARTITION(ds='2008-04-08',hr=11); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2008-04-08, 11] ','' -'Database: ','stats8 ','' -'Table: ','analyze_srcpart ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats8.db/analyze_srcpart/ds=2008-04-08/hr=11','' -'Partition Parameters:','','' -'','numFiles ','1 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -36 rows selected ->>> describe formatted analyze_srcpart PARTITION(ds='2008-04-08',hr=12); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2008-04-08, 12] ','' -'Database: ','stats8 ','' -'Table: ','analyze_srcpart ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats8.db/analyze_srcpart/ds=2008-04-08/hr=12','' -'Partition Parameters:','','' -'','numFiles ','1 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -36 rows selected ->>> describe formatted analyze_srcpart PARTITION(ds='2008-04-09',hr=11); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2008-04-09, 11] ','' -'Database: ','stats8 ','' -'Table: ','analyze_srcpart ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats8.db/analyze_srcpart/ds=2008-04-09/hr=11','' -'Partition Parameters:','','' -'','numFiles ','1 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -36 rows selected ->>> describe formatted analyze_srcpart PARTITION(ds='2008-04-09',hr=12); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[2008-04-09, 12] ','' -'Database: ','stats8 ','' -'Table: ','analyze_srcpart ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats8.db/analyze_srcpart/ds=2008-04-09/hr=12','' -'Partition Parameters:','','' -'','numFiles ','1 ' -'','numRows ','500 ' -'','rawDataSize ','5312 ' -'','totalSize ','5812 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -36 rows selected ->>> describe formatted analyze_srcpart; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'ds ','string ','None ' -'hr ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','stats8 ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats8.db/analyze_srcpart','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','numFiles ','4 ' -'','numPartitions ','4 ' -'','numRows ','2000 ' -'','rawDataSize ','21248 ' -'','totalSize ','23248 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -38 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/stats9.q.out ql/src/test/results/beelinepositive/stats9.q.out deleted file mode 100644 index 852d816..0000000 --- ql/src/test/results/beelinepositive/stats9.q.out +++ /dev/null @@ -1,73 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/stats9.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/stats9.q ->>> set datanucleus.cache.collections=false; -No rows affected ->>> set hive.stats.autogather=false; -No rows affected ->>> ->>> create table analyze_srcbucket like srcbucket; -No rows affected ->>> insert overwrite table analyze_srcbucket select * from srcbucket; -'key','value' -No rows selected ->>> ->>> explain analyze table analyze_srcbucket compute statistics; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_ANALYZE (TOK_TAB (TOK_TABNAME analyze_srcbucket)))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -' Stage-1 depends on stages: Stage-0' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Map Reduce' -' Alias -> Map Operator Tree:' -' analyze_srcbucket ' -' TableScan' -' alias: analyze_srcbucket' -'' -' Stage: Stage-1' -' Stats-Aggr Operator' -'' -'' -19 rows selected ->>> analyze table analyze_srcbucket compute statistics; -'key','value' -No rows selected ->>> describe formatted analyze_srcbucket; -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','int ','None ' -'value ','string ','None ' -'','','' -'# Detailed Table Information','','' -'Database: ','stats9 ','' -'Owner: ','!!{user.name}!! ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Retention: ','0 ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats9.db/analyze_srcbucket','' -'Table Type: ','MANAGED_TABLE ','' -'Table Parameters:','','' -'','numFiles ','1 ' -'','numPartitions ','0 ' -'','numRows ','1000 ' -'','rawDataSize ','10603 ' -'','totalSize ','11603 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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: ','2 ','' -'Bucket Columns: ','[key] ','' -'Sort Columns: ','[] ','' -'Storage Desc Params:','','' -'','serialization.format','1 ' -32 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/stats_aggregator_error_1.q.out ql/src/test/results/beelinepositive/stats_aggregator_error_1.q.out deleted file mode 100644 index 88744eb..0000000 --- ql/src/test/results/beelinepositive/stats_aggregator_error_1.q.out +++ /dev/null @@ -1,61 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/stats_aggregator_error_1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/stats_aggregator_error_1.q ->>> -- In this test, there is a dummy stats aggregator which throws an error when various ->>> -- methods are called (as indicated by the parameter hive.test.dummystats.agregator) ->>> -- Since stats need not be reliable (by setting hive.stats.reliable to false), the ->>> -- insert statements succeed. The insert statement succeeds even if the stats aggregator ->>> -- is set to null, since stats need not be reliable. ->>> ->>> create table tmptable(key string, value string); -No rows affected ->>> ->>> set hive.stats.dbclass=dummy; -No rows affected ->>> set hive.stats.default.publisher=org.apache.hadoop.hive.ql.stats.DummyStatsPublisher; -No rows affected ->>> set hive.stats.default.aggregator=org.apache.hadoop.hive.ql.stats.DummyStatsAggregator; -No rows affected ->>> set hive.stats.reliable=false; -No rows affected ->>> ->>> set hive.test.dummystats.aggregator=connect; -No rows affected ->>> ->>> INSERT OVERWRITE TABLE tmptable select * from src; -'key','value' -No rows selected ->>> select count(1) from tmptable; -'_c0' -'500' -1 row selected ->>> ->>> set hive.test.dummystats.aggregator=closeConnection; -No rows affected ->>> INSERT OVERWRITE TABLE tmptable select * from src; -'key','value' -No rows selected ->>> select count(1) from tmptable; -'_c0' -'500' -1 row selected ->>> ->>> set hive.test.dummystats.aggregator=cleanUp; -No rows affected ->>> INSERT OVERWRITE TABLE tmptable select * from src; -'key','value' -No rows selected ->>> select count(1) from tmptable; -'_c0' -'500' -1 row selected ->>> ->>> set hive.stats.default.aggregator=""; -No rows affected ->>> INSERT OVERWRITE TABLE tmptable select * from src; -'key','value' -No rows selected ->>> select count(1) from tmptable; -'_c0' -'500' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/stats_empty_dyn_part.q.out ql/src/test/results/beelinepositive/stats_empty_dyn_part.q.out deleted file mode 100644 index 4cf2f29..0000000 --- ql/src/test/results/beelinepositive/stats_empty_dyn_part.q.out +++ /dev/null @@ -1,121 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/stats_empty_dyn_part.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/stats_empty_dyn_part.q ->>> -- This test verifies writing a query using dynamic partitions ->>> -- which results in no partitions actually being created with ->>> -- hive.stats.reliable set to true ->>> ->>> create table tmptable(key string) partitioned by (part string); -No rows affected ->>> ->>> set hive.stats.autogather=true; -No rows affected ->>> set hive.stats.reliable=true; -No rows affected ->>> set hive.exec.dynamic.partition.mode=nonstrict; -No rows affected ->>> ->>> explain insert overwrite table tmptable partition (part) select key, value from src where key = 'no_such_value'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME tmptable) (TOK_PARTSPEC (TOK_PARTVAL part)))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_WHERE (= (TOK_TABLE_OR_COL key) 'no_such_value'))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key = 'no_such_value')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: stats_empty_dyn_part.tmptable' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' partition:' -' part ' -' 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: stats_empty_dyn_part.tmptable' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: stats_empty_dyn_part.tmptable' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: stats_empty_dyn_part.tmptable' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -97 rows selected ->>> ->>> insert overwrite table tmptable partition (part) select key, value from src where key = 'no_such_value'; -'key','value' -No rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/stats_empty_partition.q.out ql/src/test/results/beelinepositive/stats_empty_partition.q.out deleted file mode 100644 index 415cf90..0000000 --- ql/src/test/results/beelinepositive/stats_empty_partition.q.out +++ /dev/null @@ -1,55 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/stats_empty_partition.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/stats_empty_partition.q ->>> -- This test verifies that writing an empty partition succeeds when ->>> -- hive.stats.reliable is set to true. ->>> ->>> create table tmptable(key string, value string) partitioned by (part string); -No rows affected ->>> ->>> set hive.stats.autogather=true; -No rows affected ->>> set hive.stats.reliable=true; -No rows affected ->>> ->>> insert overwrite table tmptable partition (part = '1') select * from src where key = 'no_such_value'; -'key','value' -No rows selected ->>> ->>> describe formatted tmptable partition (part = '1'); -'col_name','data_type','comment' -'# col_name ','data_type ','comment ' -'','','' -'key ','string ','None ' -'value ','string ','None ' -'','','' -'# Partition Information','','' -'# col_name ','data_type ','comment ' -'','','' -'part ','string ','None ' -'','','' -'# Detailed Partition Information','','' -'Partition Value: ','[1] ','' -'Database: ','stats_empty_partition','' -'Table: ','tmptable ','' -'CreateTime: ','!!TIMESTAMP!!','' -'LastAccessTime: ','UNKNOWN ','' -'Location: ','!!{hive.metastore.warehouse.dir}!!/stats_empty_partition.db/tmptable/part=1','' -'Partition Parameters:','','' -'','numFiles ','1 ' -'','numRows ','0 ' -'','rawDataSize ','0 ' -'','totalSize ','0 ' -'','transient_lastDdlTime','!!UNIXTIME!! ' -'','','' -'# 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 ' -35 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/stats_publisher_error_1.q.out ql/src/test/results/beelinepositive/stats_publisher_error_1.q.out deleted file mode 100644 index 9a6c2cc..0000000 --- ql/src/test/results/beelinepositive/stats_publisher_error_1.q.out +++ /dev/null @@ -1,61 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/stats_publisher_error_1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/stats_publisher_error_1.q ->>> -- In this test, there is a dummy stats publisher which throws an error when various ->>> -- methods are called (as indicated by the parameter hive.test.dummystats.publisher) ->>> -- Since stats need not be reliable (by setting hive.stats.reliable to false), the ->>> -- insert statements succeed. The insert statement succeeds even if the stats publisher ->>> -- is set to null, since stats need not be reliable. ->>> ->>> create table tmptable(key string, value string); -No rows affected ->>> ->>> set hive.stats.dbclass=dummy; -No rows affected ->>> set hive.stats.default.publisher=org.apache.hadoop.hive.ql.stats.DummyStatsPublisher; -No rows affected ->>> set hive.stats.default.aggregator=org.apache.hadoop.hive.ql.stats.DummyStatsAggregator; -No rows affected ->>> set hive.stats.reliable=false; -No rows affected ->>> ->>> set hive.test.dummystats.publisher=connect; -No rows affected ->>> ->>> INSERT OVERWRITE TABLE tmptable select * from src; -'key','value' -No rows selected ->>> select count(1) from tmptable; -'_c0' -'500' -1 row selected ->>> ->>> set hive.test.dummystats.publisher=publishStat; -No rows affected ->>> INSERT OVERWRITE TABLE tmptable select * from src; -'key','value' -No rows selected ->>> select count(1) from tmptable; -'_c0' -'500' -1 row selected ->>> ->>> set hive.test.dummystats.publisher=closeConnection; -No rows affected ->>> INSERT OVERWRITE TABLE tmptable select * from src; -'key','value' -No rows selected ->>> select count(1) from tmptable; -'_c0' -'500' -1 row selected ->>> ->>> set hive.stats.default.publisher=""; -No rows affected ->>> INSERT OVERWRITE TABLE tmptable select * from src; -'key','value' -No rows selected ->>> select count(1) from tmptable; -'_c0' -'500' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/subq.q.out ql/src/test/results/beelinepositive/subq.q.out deleted file mode 100644 index 35edc42..0000000 --- ql/src/test/results/beelinepositive/subq.q.out +++ /dev/null @@ -1,109 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/subq.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/subq.q ->>> EXPLAIN -FROM ( -FROM src select src.* WHERE src.key < 100 -) unioninput -INSERT OVERWRITE DIRECTORY '../build/ql/test/data/warehouse/union.out' SELECT unioninput.*; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))) (TOK_WHERE (< (. (TOK_TABLE_OR_COL src) key) 100)))) unioninput)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR '../build/ql/test/data/warehouse/union.out')) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME unioninput))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-6 depends on stages: Stage-1 , consists of Stage-3, Stage-2, Stage-4' -' Stage-3' -' Stage-0 depends on stages: Stage-3, Stage-2, Stage-5' -' Stage-2' -' Stage-4' -' Stage-5 depends on stages: Stage-4' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' unioninput:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-6' -' Conditional Operator' -'' -' Stage: Stage-3' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: ../build/ql/test/data/warehouse/union.out' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-5' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -'' -88 rows selected ->>> ->>> FROM ( -FROM src select src.* WHERE src.key < 100 -) unioninput -INSERT OVERWRITE DIRECTORY '../build/ql/test/data/warehouse/union.out' SELECT unioninput.*; -'key','value' -No rows selected ->>> ->>> dfs -cat ../build/ql/test/data/warehouse/union.out/*; -No rows affected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/subq2.q.out ql/src/test/results/beelinepositive/subq2.q.out deleted file mode 100644 index bd3beff..0000000 --- ql/src/test/results/beelinepositive/subq2.q.out +++ /dev/null @@ -1,353 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/subq2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/subq2.q ->>> EXPLAIN -SELECT a.k, a.c -FROM (SELECT b.key as k, count(1) as c FROM src b GROUP BY b.key) a -WHERE a.k >= 90; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) b)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) key) k) (TOK_SELEXPR (TOK_FUNCTION count 1) c)) (TOK_GROUPBY (. (TOK_TABLE_OR_COL b) key)))) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) k)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) c))) (TOK_WHERE (>= (. (TOK_TABLE_OR_COL a) k) 90))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a:b ' -' TableScan' -' alias: b' -' Filter Operator' -' predicate:' -' expr: (key >= 90.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -80 rows selected ->>> ->>> SELECT a.k, a.c -FROM (SELECT b.key as k, count(1) as c FROM src b GROUP BY b.key) a -WHERE a.k >= 90; -'k','c' -'100','2' -'103','2' -'104','2' -'105','1' -'111','1' -'113','2' -'114','1' -'116','1' -'118','2' -'119','3' -'120','2' -'125','2' -'126','1' -'128','3' -'129','2' -'131','1' -'133','1' -'134','2' -'136','1' -'137','2' -'138','4' -'143','1' -'145','1' -'146','2' -'149','2' -'150','1' -'152','2' -'153','1' -'155','1' -'156','1' -'157','1' -'158','1' -'160','1' -'162','1' -'163','1' -'164','2' -'165','2' -'166','1' -'167','3' -'168','1' -'169','4' -'170','1' -'172','2' -'174','2' -'175','2' -'176','2' -'177','1' -'178','1' -'179','2' -'180','1' -'181','1' -'183','1' -'186','1' -'187','3' -'189','1' -'190','1' -'191','2' -'192','1' -'193','3' -'194','1' -'195','2' -'196','1' -'197','2' -'199','3' -'200','2' -'201','1' -'202','1' -'203','2' -'205','2' -'207','2' -'208','3' -'209','2' -'213','2' -'214','1' -'216','2' -'217','2' -'218','1' -'219','2' -'221','2' -'222','1' -'223','2' -'224','2' -'226','1' -'228','1' -'229','2' -'230','5' -'233','2' -'235','1' -'237','2' -'238','2' -'239','2' -'241','1' -'242','2' -'244','1' -'247','1' -'248','1' -'249','1' -'252','1' -'255','2' -'256','2' -'257','1' -'258','1' -'260','1' -'262','1' -'263','1' -'265','2' -'266','1' -'272','2' -'273','3' -'274','1' -'275','1' -'277','4' -'278','2' -'280','2' -'281','2' -'282','2' -'283','1' -'284','1' -'285','1' -'286','1' -'287','1' -'288','2' -'289','1' -'291','1' -'292','1' -'296','1' -'298','3' -'302','1' -'305','1' -'306','1' -'307','2' -'308','1' -'309','2' -'310','1' -'311','3' -'315','1' -'316','3' -'317','2' -'318','3' -'321','2' -'322','2' -'323','1' -'325','2' -'327','3' -'331','2' -'332','1' -'333','2' -'335','1' -'336','1' -'338','1' -'339','1' -'341','1' -'342','2' -'344','2' -'345','1' -'348','5' -'351','1' -'353','2' -'356','1' -'360','1' -'362','1' -'364','1' -'365','1' -'366','1' -'367','2' -'368','1' -'369','3' -'373','1' -'374','1' -'375','1' -'377','1' -'378','1' -'379','1' -'382','2' -'384','3' -'386','1' -'389','1' -'392','1' -'393','1' -'394','1' -'395','2' -'396','3' -'397','2' -'399','2' -'400','1' -'401','5' -'402','1' -'403','3' -'404','2' -'406','4' -'407','1' -'409','3' -'411','1' -'413','2' -'414','2' -'417','3' -'418','1' -'419','1' -'421','1' -'424','2' -'427','1' -'429','2' -'430','3' -'431','3' -'432','1' -'435','1' -'436','1' -'437','1' -'438','3' -'439','2' -'443','1' -'444','1' -'446','1' -'448','1' -'449','1' -'452','1' -'453','1' -'454','3' -'455','1' -'457','1' -'458','2' -'459','2' -'460','1' -'462','2' -'463','2' -'466','3' -'467','1' -'468','4' -'469','5' -'470','1' -'472','1' -'475','1' -'477','1' -'478','2' -'479','1' -'480','3' -'481','1' -'482','1' -'483','1' -'484','1' -'485','1' -'487','1' -'489','4' -'490','1' -'491','1' -'492','2' -'493','1' -'494','1' -'495','1' -'496','1' -'497','1' -'498','3' -'90','3' -'92','1' -'95','2' -'96','1' -'97','2' -'98','2' -258 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/symlink_text_input_format.q.out ql/src/test/results/beelinepositive/symlink_text_input_format.q.out deleted file mode 100644 index d58b384..0000000 --- ql/src/test/results/beelinepositive/symlink_text_input_format.q.out +++ /dev/null @@ -1,204 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/symlink_text_input_format.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/symlink_text_input_format.q ->>> ->>> ->>> EXPLAIN -CREATE TABLE symlink_text_input_format (key STRING, value STRING) STORED AS INPUTFORMAT 'org.apache.hadoop.hive.ql.io.SymlinkTextInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.IgnoreKeyTextOutputFormat'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_CREATETABLE (TOK_TABNAME symlink_text_input_format) TOK_LIKETABLE (TOK_TABCOLLIST (TOK_TABCOL key TOK_STRING) (TOK_TABCOL value TOK_STRING)) (TOK_TABLEFILEFORMAT 'org.apache.hadoop.hive.ql.io.SymlinkTextInputFormat' 'org.apache.hadoop.hive.ql.io.IgnoreKeyTextOutputFormat'))' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -' Create Table Operator:' -' Create Table' -' columns: key string, value string' -' if not exists: false' -' input format: org.apache.hadoop.hive.ql.io.SymlinkTextInputFormat' -' # buckets: -1' -' output format: org.apache.hadoop.hive.ql.io.IgnoreKeyTextOutputFormat' -' name: symlink_text_input_format' -' isExternal: false' -'' -'' -19 rows selected ->>> ->>> CREATE TABLE symlink_text_input_format (key STRING, value STRING) STORED AS INPUTFORMAT 'org.apache.hadoop.hive.ql.io.SymlinkTextInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.IgnoreKeyTextOutputFormat'; -No rows affected ->>> ->>> dfs -cp ../data/files/symlink1.txt ../build/ql/test/data/warehouse/symlink_text_input_format/symlink1.txt; -No rows affected ->>> dfs -cp ../data/files/symlink2.txt ../build/ql/test/data/warehouse/symlink_text_input_format/symlink2.txt; -No rows affected ->>> ->>> EXPLAIN SELECT * FROM symlink_text_input_format order by key, value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME symlink_text_input_format))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' symlink_text_input_format ' -' TableScan' -' alias: symlink_text_input_format' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -48 rows selected ->>> ->>> SELECT * FROM symlink_text_input_format order by key, value; -'key','value' -No rows selected ->>> ->>> EXPLAIN SELECT value FROM symlink_text_input_format order by value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME symlink_text_input_format))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' symlink_text_input_format ' -' TableScan' -' alias: symlink_text_input_format' -' Select Operator' -' expressions:' -' expr: value' -' type: string' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -42 rows selected ->>> ->>> SELECT value FROM symlink_text_input_format order by value; -'value' -No rows selected ->>> ->>> EXPLAIN SELECT count(1) FROM symlink_text_input_format; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME symlink_text_input_format))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' symlink_text_input_format ' -' TableScan' -' alias: symlink_text_input_format' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -50 rows selected ->>> ->>> SELECT count(1) FROM symlink_text_input_format; -'_c0' -'0' -1 row selected ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/tablename_with_select.q.out ql/src/test/results/beelinepositive/tablename_with_select.q.out deleted file mode 100644 index 171abf6..0000000 --- ql/src/test/results/beelinepositive/tablename_with_select.q.out +++ /dev/null @@ -1,521 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/tablename_with_select.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/tablename_with_select.q ->>> ->>> CREATE TABLE tmp_select(a INT, b STRING); -No rows affected ->>> DESCRIBE tmp_select; -'col_name','data_type','comment' -'a','int','' -'b','string','' -2 rows selected ->>> ->>> INSERT OVERWRITE TABLE tmp_select SELECT key, value FROM src; -'_col0','_col1' -No rows selected ->>> ->>> SELECT a, b FROM tmp_select ORDER BY a; -'a','b' -'0','val_0' -'0','val_0' -'0','val_0' -'2','val_2' -'4','val_4' -'5','val_5' -'5','val_5' -'5','val_5' -'8','val_8' -'9','val_9' -'10','val_10' -'11','val_11' -'12','val_12' -'12','val_12' -'15','val_15' -'15','val_15' -'17','val_17' -'18','val_18' -'18','val_18' -'19','val_19' -'20','val_20' -'24','val_24' -'24','val_24' -'26','val_26' -'26','val_26' -'27','val_27' -'28','val_28' -'30','val_30' -'33','val_33' -'34','val_34' -'35','val_35' -'35','val_35' -'35','val_35' -'37','val_37' -'37','val_37' -'41','val_41' -'42','val_42' -'42','val_42' -'43','val_43' -'44','val_44' -'47','val_47' -'51','val_51' -'51','val_51' -'53','val_53' -'54','val_54' -'57','val_57' -'58','val_58' -'58','val_58' -'64','val_64' -'65','val_65' -'66','val_66' -'67','val_67' -'67','val_67' -'69','val_69' -'70','val_70' -'70','val_70' -'70','val_70' -'72','val_72' -'72','val_72' -'74','val_74' -'76','val_76' -'76','val_76' -'77','val_77' -'78','val_78' -'80','val_80' -'82','val_82' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'95','val_95' -'95','val_95' -'96','val_96' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -'100','val_100' -'100','val_100' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -'105','val_105' -'111','val_111' -'113','val_113' -'113','val_113' -'114','val_114' -'116','val_116' -'118','val_118' -'118','val_118' -'119','val_119' -'119','val_119' -'119','val_119' -'120','val_120' -'120','val_120' -'125','val_125' -'125','val_125' -'126','val_126' -'128','val_128' -'128','val_128' -'128','val_128' -'129','val_129' -'129','val_129' -'131','val_131' -'133','val_133' -'134','val_134' -'134','val_134' -'136','val_136' -'137','val_137' -'137','val_137' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'143','val_143' -'145','val_145' -'146','val_146' -'146','val_146' -'149','val_149' -'149','val_149' -'150','val_150' -'152','val_152' -'152','val_152' -'153','val_153' -'155','val_155' -'156','val_156' -'157','val_157' -'158','val_158' -'160','val_160' -'162','val_162' -'163','val_163' -'164','val_164' -'164','val_164' -'165','val_165' -'165','val_165' -'166','val_166' -'167','val_167' -'167','val_167' -'167','val_167' -'168','val_168' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'170','val_170' -'172','val_172' -'172','val_172' -'174','val_174' -'174','val_174' -'175','val_175' -'175','val_175' -'176','val_176' -'176','val_176' -'177','val_177' -'178','val_178' -'179','val_179' -'179','val_179' -'180','val_180' -'181','val_181' -'183','val_183' -'186','val_186' -'187','val_187' -'187','val_187' -'187','val_187' -'189','val_189' -'190','val_190' -'191','val_191' -'191','val_191' -'192','val_192' -'193','val_193' -'193','val_193' -'193','val_193' -'194','val_194' -'195','val_195' -'195','val_195' -'196','val_196' -'197','val_197' -'197','val_197' -'199','val_199' -'199','val_199' -'199','val_199' -'200','val_200' -'200','val_200' -'201','val_201' -'202','val_202' -'203','val_203' -'203','val_203' -'205','val_205' -'205','val_205' -'207','val_207' -'207','val_207' -'208','val_208' -'208','val_208' -'208','val_208' -'209','val_209' -'209','val_209' -'213','val_213' -'213','val_213' -'214','val_214' -'216','val_216' -'216','val_216' -'217','val_217' -'217','val_217' -'218','val_218' -'219','val_219' -'219','val_219' -'221','val_221' -'221','val_221' -'222','val_222' -'223','val_223' -'223','val_223' -'224','val_224' -'224','val_224' -'226','val_226' -'228','val_228' -'229','val_229' -'229','val_229' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'233','val_233' -'233','val_233' -'235','val_235' -'237','val_237' -'237','val_237' -'238','val_238' -'238','val_238' -'239','val_239' -'239','val_239' -'241','val_241' -'242','val_242' -'242','val_242' -'244','val_244' -'247','val_247' -'248','val_248' -'249','val_249' -'252','val_252' -'255','val_255' -'255','val_255' -'256','val_256' -'256','val_256' -'257','val_257' -'258','val_258' -'260','val_260' -'262','val_262' -'263','val_263' -'265','val_265' -'265','val_265' -'266','val_266' -'272','val_272' -'272','val_272' -'273','val_273' -'273','val_273' -'273','val_273' -'274','val_274' -'275','val_275' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'278','val_278' -'278','val_278' -'280','val_280' -'280','val_280' -'281','val_281' -'281','val_281' -'282','val_282' -'282','val_282' -'283','val_283' -'284','val_284' -'285','val_285' -'286','val_286' -'287','val_287' -'288','val_288' -'288','val_288' -'289','val_289' -'291','val_291' -'292','val_292' -'296','val_296' -'298','val_298' -'298','val_298' -'298','val_298' -'302','val_302' -'305','val_305' -'306','val_306' -'307','val_307' -'307','val_307' -'308','val_308' -'309','val_309' -'309','val_309' -'310','val_310' -'311','val_311' -'311','val_311' -'311','val_311' -'315','val_315' -'316','val_316' -'316','val_316' -'316','val_316' -'317','val_317' -'317','val_317' -'318','val_318' -'318','val_318' -'318','val_318' -'321','val_321' -'321','val_321' -'322','val_322' -'322','val_322' -'323','val_323' -'325','val_325' -'325','val_325' -'327','val_327' -'327','val_327' -'327','val_327' -'331','val_331' -'331','val_331' -'332','val_332' -'333','val_333' -'333','val_333' -'335','val_335' -'336','val_336' -'338','val_338' -'339','val_339' -'341','val_341' -'342','val_342' -'342','val_342' -'344','val_344' -'344','val_344' -'345','val_345' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'351','val_351' -'353','val_353' -'353','val_353' -'356','val_356' -'360','val_360' -'362','val_362' -'364','val_364' -'365','val_365' -'366','val_366' -'367','val_367' -'367','val_367' -'368','val_368' -'369','val_369' -'369','val_369' -'369','val_369' -'373','val_373' -'374','val_374' -'375','val_375' -'377','val_377' -'378','val_378' -'379','val_379' -'382','val_382' -'382','val_382' -'384','val_384' -'384','val_384' -'384','val_384' -'386','val_386' -'389','val_389' -'392','val_392' -'393','val_393' -'394','val_394' -'395','val_395' -'395','val_395' -'396','val_396' -'396','val_396' -'396','val_396' -'397','val_397' -'397','val_397' -'399','val_399' -'399','val_399' -'400','val_400' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'402','val_402' -'403','val_403' -'403','val_403' -'403','val_403' -'404','val_404' -'404','val_404' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'407','val_407' -'409','val_409' -'409','val_409' -'409','val_409' -'411','val_411' -'413','val_413' -'413','val_413' -'414','val_414' -'414','val_414' -'417','val_417' -'417','val_417' -'417','val_417' -'418','val_418' -'419','val_419' -'421','val_421' -'424','val_424' -'424','val_424' -'427','val_427' -'429','val_429' -'429','val_429' -'430','val_430' -'430','val_430' -'430','val_430' -'431','val_431' -'431','val_431' -'431','val_431' -'432','val_432' -'435','val_435' -'436','val_436' -'437','val_437' -'438','val_438' -'438','val_438' -'438','val_438' -'439','val_439' -'439','val_439' -'443','val_443' -'444','val_444' -'446','val_446' -'448','val_448' -'449','val_449' -'452','val_452' -'453','val_453' -'454','val_454' -'454','val_454' -'454','val_454' -'455','val_455' -'457','val_457' -'458','val_458' -'458','val_458' -'459','val_459' -'459','val_459' -'460','val_460' -'462','val_462' -'462','val_462' -'463','val_463' -'463','val_463' -'466','val_466' -'466','val_466' -'466','val_466' -'467','val_467' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'470','val_470' -'472','val_472' -'475','val_475' -'477','val_477' -'478','val_478' -'478','val_478' -'479','val_479' -'480','val_480' -'480','val_480' -'480','val_480' -'481','val_481' -'482','val_482' -'483','val_483' -'484','val_484' -'485','val_485' -'487','val_487' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'490','val_490' -'491','val_491' -'492','val_492' -'492','val_492' -'493','val_493' -'494','val_494' -'495','val_495' -'496','val_496' -'497','val_497' -'498','val_498' -'498','val_498' -'498','val_498' -500 rows selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/timestamp_1.q.out ql/src/test/results/beelinepositive/timestamp_1.q.out deleted file mode 100644 index e86a09d..0000000 --- ql/src/test/results/beelinepositive/timestamp_1.q.out +++ /dev/null @@ -1,235 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/timestamp_1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/timestamp_1.q ->>> drop table timestamp_1; -No rows affected ->>> ->>> create table timestamp_1 (t timestamp); -No rows affected ->>> alter table timestamp_1 set serde 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'; -No rows affected ->>> ->>> insert overwrite table timestamp_1 -select cast('2011-01-01 01:01:01' as timestamp) from src limit 1; -'_c0' -No rows selected ->>> select cast(t as boolean) from timestamp_1 limit 1; -'_c0' -'true' -1 row selected ->>> select cast(t as tinyint) from timestamp_1 limit 1; -'_c0' -'77' -1 row selected ->>> select cast(t as smallint) from timestamp_1 limit 1; -'_c0' -'-4787' -1 row selected ->>> select cast(t as int) from timestamp_1 limit 1; -'_c0' -'1293872461' -1 row selected ->>> select cast(t as bigint) from timestamp_1 limit 1; -'_c0' -'1293872461' -1 row selected ->>> select cast(t as float) from timestamp_1 limit 1; -'_c0' -'1.293872512E9' -1 row selected ->>> select cast(t as double) from timestamp_1 limit 1; -'_c0' -'1.293872461E9' -1 row selected ->>> select cast(t as string) from timestamp_1 limit 1; -'_c0' -'2011-01-01 01:01:01' -1 row selected ->>> ->>> insert overwrite table timestamp_1 -select '2011-01-01 01:01:01' from src limit 1; -'_col0' -No rows selected ->>> select cast(t as boolean) from timestamp_1 limit 1; -'_c0' -'true' -1 row selected ->>> select cast(t as tinyint) from timestamp_1 limit 1; -'_c0' -'77' -1 row selected ->>> select cast(t as smallint) from timestamp_1 limit 1; -'_c0' -'-4787' -1 row selected ->>> select cast(t as int) from timestamp_1 limit 1; -'_c0' -'1293872461' -1 row selected ->>> select cast(t as bigint) from timestamp_1 limit 1; -'_c0' -'1293872461' -1 row selected ->>> select cast(t as float) from timestamp_1 limit 1; -'_c0' -'1.293872512E9' -1 row selected ->>> select cast(t as double) from timestamp_1 limit 1; -'_c0' -'1.293872461E9' -1 row selected ->>> select cast(t as string) from timestamp_1 limit 1; -'_c0' -'2011-01-01 01:01:01' -1 row selected ->>> ->>> insert overwrite table timestamp_1 -select '2011-01-01 01:01:01.1' from src limit 1; -'_col0' -No rows selected ->>> select cast(t as boolean) from timestamp_1 limit 1; -'_c0' -'true' -1 row selected ->>> select cast(t as tinyint) from timestamp_1 limit 1; -'_c0' -'77' -1 row selected ->>> select cast(t as smallint) from timestamp_1 limit 1; -'_c0' -'-4787' -1 row selected ->>> select cast(t as int) from timestamp_1 limit 1; -'_c0' -'1293872461' -1 row selected ->>> select cast(t as bigint) from timestamp_1 limit 1; -'_c0' -'1293872461' -1 row selected ->>> select cast(t as float) from timestamp_1 limit 1; -'_c0' -'1.293872512E9' -1 row selected ->>> select cast(t as double) from timestamp_1 limit 1; -'_c0' -'1.2938724611E9' -1 row selected ->>> select cast(t as string) from timestamp_1 limit 1; -'_c0' -'2011-01-01 01:01:01.1' -1 row selected ->>> ->>> insert overwrite table timestamp_1 -select '2011-01-01 01:01:01.0001' from src limit 1; -'_col0' -No rows selected ->>> select cast(t as boolean) from timestamp_1 limit 1; -'_c0' -'true' -1 row selected ->>> select cast(t as tinyint) from timestamp_1 limit 1; -'_c0' -'77' -1 row selected ->>> select cast(t as smallint) from timestamp_1 limit 1; -'_c0' -'-4787' -1 row selected ->>> select cast(t as int) from timestamp_1 limit 1; -'_c0' -'1293872461' -1 row selected ->>> select cast(t as bigint) from timestamp_1 limit 1; -'_c0' -'1293872461' -1 row selected ->>> select cast(t as float) from timestamp_1 limit 1; -'_c0' -'1.293872512E9' -1 row selected ->>> select cast(t as double) from timestamp_1 limit 1; -'_c0' -'1.2938724610001E9' -1 row selected ->>> select cast(t as string) from timestamp_1 limit 1; -'_c0' -'2011-01-01 01:01:01.0001' -1 row selected ->>> ->>> insert overwrite table timestamp_1 -select '2011-01-01 01:01:01.000100000' from src limit 1; -'_col0' -No rows selected ->>> select cast(t as boolean) from timestamp_1 limit 1; -'_c0' -'true' -1 row selected ->>> select cast(t as tinyint) from timestamp_1 limit 1; -'_c0' -'77' -1 row selected ->>> select cast(t as smallint) from timestamp_1 limit 1; -'_c0' -'-4787' -1 row selected ->>> select cast(t as int) from timestamp_1 limit 1; -'_c0' -'1293872461' -1 row selected ->>> select cast(t as bigint) from timestamp_1 limit 1; -'_c0' -'1293872461' -1 row selected ->>> select cast(t as float) from timestamp_1 limit 1; -'_c0' -'1.293872512E9' -1 row selected ->>> select cast(t as double) from timestamp_1 limit 1; -'_c0' -'1.2938724610001E9' -1 row selected ->>> select cast(t as string) from timestamp_1 limit 1; -'_c0' -'2011-01-01 01:01:01.0001' -1 row selected ->>> ->>> insert overwrite table timestamp_1 -select '2011-01-01 01:01:01.001000011' from src limit 1; -'_col0' -No rows selected ->>> select cast(t as boolean) from timestamp_1 limit 1; -'_c0' -'true' -1 row selected ->>> select cast(t as tinyint) from timestamp_1 limit 1; -'_c0' -'77' -1 row selected ->>> select cast(t as smallint) from timestamp_1 limit 1; -'_c0' -'-4787' -1 row selected ->>> select cast(t as int) from timestamp_1 limit 1; -'_c0' -'1293872461' -1 row selected ->>> select cast(t as bigint) from timestamp_1 limit 1; -'_c0' -'1293872461' -1 row selected ->>> select cast(t as float) from timestamp_1 limit 1; -'_c0' -'1.293872512E9' -1 row selected ->>> select cast(t as double) from timestamp_1 limit 1; -'_c0' -'1.293872461001E9' -1 row selected ->>> select cast(t as string) from timestamp_1 limit 1; -'_c0' -'2011-01-01 01:01:01.001000011' -1 row selected ->>> ->>> drop table timestamp_1; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/timestamp_2.q.out ql/src/test/results/beelinepositive/timestamp_2.q.out deleted file mode 100644 index be80106..0000000 --- ql/src/test/results/beelinepositive/timestamp_2.q.out +++ /dev/null @@ -1,235 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/timestamp_2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/timestamp_2.q ->>> drop table timestamp_2; -No rows affected ->>> ->>> create table timestamp_2 (t timestamp); -No rows affected ->>> alter table timestamp_2 set serde 'org.apache.hadoop.hive.serde2.lazybinary.LazyBinarySerDe'; -No rows affected ->>> ->>> insert overwrite table timestamp_2 -select cast('2011-01-01 01:01:01' as timestamp) from src limit 1; -'_c0' -No rows selected ->>> select cast(t as boolean) from timestamp_2 limit 1; -'_c0' -'true' -1 row selected ->>> select cast(t as tinyint) from timestamp_2 limit 1; -'_c0' -'77' -1 row selected ->>> select cast(t as smallint) from timestamp_2 limit 1; -'_c0' -'-4787' -1 row selected ->>> select cast(t as int) from timestamp_2 limit 1; -'_c0' -'1293872461' -1 row selected ->>> select cast(t as bigint) from timestamp_2 limit 1; -'_c0' -'1293872461' -1 row selected ->>> select cast(t as float) from timestamp_2 limit 1; -'_c0' -'1.293872512E9' -1 row selected ->>> select cast(t as double) from timestamp_2 limit 1; -'_c0' -'1.293872461E9' -1 row selected ->>> select cast(t as string) from timestamp_2 limit 1; -'_c0' -'2011-01-01 01:01:01' -1 row selected ->>> ->>> insert overwrite table timestamp_2 -select '2011-01-01 01:01:01' from src limit 1; -'_col0' -No rows selected ->>> select cast(t as boolean) from timestamp_2 limit 1; -'_c0' -'true' -1 row selected ->>> select cast(t as tinyint) from timestamp_2 limit 1; -'_c0' -'77' -1 row selected ->>> select cast(t as smallint) from timestamp_2 limit 1; -'_c0' -'-4787' -1 row selected ->>> select cast(t as int) from timestamp_2 limit 1; -'_c0' -'1293872461' -1 row selected ->>> select cast(t as bigint) from timestamp_2 limit 1; -'_c0' -'1293872461' -1 row selected ->>> select cast(t as float) from timestamp_2 limit 1; -'_c0' -'1.293872512E9' -1 row selected ->>> select cast(t as double) from timestamp_2 limit 1; -'_c0' -'1.293872461E9' -1 row selected ->>> select cast(t as string) from timestamp_2 limit 1; -'_c0' -'2011-01-01 01:01:01' -1 row selected ->>> ->>> insert overwrite table timestamp_2 -select '2011-01-01 01:01:01.1' from src limit 1; -'_col0' -No rows selected ->>> select cast(t as boolean) from timestamp_2 limit 1; -'_c0' -'true' -1 row selected ->>> select cast(t as tinyint) from timestamp_2 limit 1; -'_c0' -'77' -1 row selected ->>> select cast(t as smallint) from timestamp_2 limit 1; -'_c0' -'-4787' -1 row selected ->>> select cast(t as int) from timestamp_2 limit 1; -'_c0' -'1293872461' -1 row selected ->>> select cast(t as bigint) from timestamp_2 limit 1; -'_c0' -'1293872461' -1 row selected ->>> select cast(t as float) from timestamp_2 limit 1; -'_c0' -'1.293872512E9' -1 row selected ->>> select cast(t as double) from timestamp_2 limit 1; -'_c0' -'1.2938724611E9' -1 row selected ->>> select cast(t as string) from timestamp_2 limit 1; -'_c0' -'2011-01-01 01:01:01.1' -1 row selected ->>> ->>> insert overwrite table timestamp_2 -select '2011-01-01 01:01:01.0001' from src limit 1; -'_col0' -No rows selected ->>> select cast(t as boolean) from timestamp_2 limit 1; -'_c0' -'true' -1 row selected ->>> select cast(t as tinyint) from timestamp_2 limit 1; -'_c0' -'77' -1 row selected ->>> select cast(t as smallint) from timestamp_2 limit 1; -'_c0' -'-4787' -1 row selected ->>> select cast(t as int) from timestamp_2 limit 1; -'_c0' -'1293872461' -1 row selected ->>> select cast(t as bigint) from timestamp_2 limit 1; -'_c0' -'1293872461' -1 row selected ->>> select cast(t as float) from timestamp_2 limit 1; -'_c0' -'1.293872512E9' -1 row selected ->>> select cast(t as double) from timestamp_2 limit 1; -'_c0' -'1.2938724610001E9' -1 row selected ->>> select cast(t as string) from timestamp_2 limit 1; -'_c0' -'2011-01-01 01:01:01.0001' -1 row selected ->>> ->>> insert overwrite table timestamp_2 -select '2011-01-01 01:01:01.000100000' from src limit 1; -'_col0' -No rows selected ->>> select cast(t as boolean) from timestamp_2 limit 1; -'_c0' -'true' -1 row selected ->>> select cast(t as tinyint) from timestamp_2 limit 1; -'_c0' -'77' -1 row selected ->>> select cast(t as smallint) from timestamp_2 limit 1; -'_c0' -'-4787' -1 row selected ->>> select cast(t as int) from timestamp_2 limit 1; -'_c0' -'1293872461' -1 row selected ->>> select cast(t as bigint) from timestamp_2 limit 1; -'_c0' -'1293872461' -1 row selected ->>> select cast(t as float) from timestamp_2 limit 1; -'_c0' -'1.293872512E9' -1 row selected ->>> select cast(t as double) from timestamp_2 limit 1; -'_c0' -'1.2938724610001E9' -1 row selected ->>> select cast(t as string) from timestamp_2 limit 1; -'_c0' -'2011-01-01 01:01:01.0001' -1 row selected ->>> ->>> insert overwrite table timestamp_2 -select '2011-01-01 01:01:01.001000011' from src limit 1; -'_col0' -No rows selected ->>> select cast(t as boolean) from timestamp_2 limit 1; -'_c0' -'true' -1 row selected ->>> select cast(t as tinyint) from timestamp_2 limit 1; -'_c0' -'77' -1 row selected ->>> select cast(t as smallint) from timestamp_2 limit 1; -'_c0' -'-4787' -1 row selected ->>> select cast(t as int) from timestamp_2 limit 1; -'_c0' -'1293872461' -1 row selected ->>> select cast(t as bigint) from timestamp_2 limit 1; -'_c0' -'1293872461' -1 row selected ->>> select cast(t as float) from timestamp_2 limit 1; -'_c0' -'1.293872512E9' -1 row selected ->>> select cast(t as double) from timestamp_2 limit 1; -'_c0' -'1.293872461001E9' -1 row selected ->>> select cast(t as string) from timestamp_2 limit 1; -'_c0' -'2011-01-01 01:01:01.001000011' -1 row selected ->>> ->>> drop table timestamp_2; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/timestamp_3.q.out ql/src/test/results/beelinepositive/timestamp_3.q.out deleted file mode 100644 index d2ec1c6..0000000 --- ql/src/test/results/beelinepositive/timestamp_3.q.out +++ /dev/null @@ -1,50 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/timestamp_3.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/timestamp_3.q ->>> drop table timestamp_3; -No rows affected ->>> ->>> create table timestamp_3 (t timestamp); -No rows affected ->>> alter table timestamp_3 set serde 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'; -No rows affected ->>> ->>> insert overwrite table timestamp_3 -select cast(cast('1.3041352164485E9' as double) as timestamp) from src limit 1; -'_c0' -No rows selected ->>> select cast(t as boolean) from timestamp_3 limit 1; -'_c0' -'true' -1 row selected ->>> select cast(t as tinyint) from timestamp_3 limit 1; -'_c0' -'48' -1 row selected ->>> select cast(t as smallint) from timestamp_3 limit 1; -'_c0' -'-31184' -1 row selected ->>> select cast(t as int) from timestamp_3 limit 1; -'_c0' -'1304135216' -1 row selected ->>> select cast(t as bigint) from timestamp_3 limit 1; -'_c0' -'1304135216' -1 row selected ->>> select cast(t as float) from timestamp_3 limit 1; -'_c0' -'1.304135168E9' -1 row selected ->>> select cast(t as double) from timestamp_3 limit 1; -'_c0' -'1.3041352164485E9' -1 row selected ->>> select cast(t as string) from timestamp_3 limit 1; -'_c0' -'2011-04-29 20:46:56.4485' -1 row selected ->>> ->>> drop table timestamp_3; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/timestamp_comparison.q.out ql/src/test/results/beelinepositive/timestamp_comparison.q.out deleted file mode 100644 index 62ca4ac..0000000 --- ql/src/test/results/beelinepositive/timestamp_comparison.q.out +++ /dev/null @@ -1,58 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/timestamp_comparison.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/timestamp_comparison.q ->>> ->>> select cast('2011-05-06 07:08:09' as timestamp) > -cast('2011-05-06 07:08:09' as timestamp) from src limit 1; -'_c0' -'false' -1 row selected ->>> ->>> select cast('2011-05-06 07:08:09' as timestamp) < -cast('2011-05-06 07:08:09' as timestamp) from src limit 1; -'_c0' -'false' -1 row selected ->>> ->>> select cast('2011-05-06 07:08:09' as timestamp) = -cast('2011-05-06 07:08:09' as timestamp) from src limit 1; -'_c0' -'true' -1 row selected ->>> ->>> select cast('2011-05-06 07:08:09' as timestamp) <> -cast('2011-05-06 07:08:09' as timestamp) from src limit 1; -'_c0' -'false' -1 row selected ->>> ->>> select cast('2011-05-06 07:08:09' as timestamp) >= -cast('2011-05-06 07:08:09' as timestamp) from src limit 1; -'_c0' -'true' -1 row selected ->>> ->>> select cast('2011-05-06 07:08:09' as timestamp) <= -cast('2011-05-06 07:08:09' as timestamp) from src limit 1; -'_c0' -'true' -1 row selected ->>> ->>> select cast('2011-05-06 07:08:09' as timestamp) >= -cast('2011-05-06 07:08:09.1' as timestamp) from src limit 1; -'_c0' -'false' -1 row selected ->>> ->>> select cast('2011-05-06 07:08:09' as timestamp) < -cast('2011-05-06 07:08:09.1' as timestamp) from src limit 1; -'_c0' -'true' -1 row selected ->>> ->>> select cast('2011-05-06 07:08:09.1000' as timestamp) = -cast('2011-05-06 07:08:09.1' as timestamp) from src limit 1; -'_c0' -'true' -1 row selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/timestamp_lazy.q.out ql/src/test/results/beelinepositive/timestamp_lazy.q.out deleted file mode 100644 index 4fcf6ce..0000000 --- ql/src/test/results/beelinepositive/timestamp_lazy.q.out +++ /dev/null @@ -1,27 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/timestamp_lazy.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/timestamp_lazy.q ->>> drop table timestamp_lazy; -No rows affected ->>> create table timestamp_lazy (t timestamp, key string, value string); -No rows affected ->>> insert overwrite table timestamp_lazy select cast('2011-01-01 01:01:01' as timestamp), key, value from src limit 5; -'_c0','key','value' -No rows selected ->>> ->>> select t,key,value from timestamp_lazy ORDER BY key ASC, value ASC; -'t','key','value' -'2011-01-01 01:01:01.0','165','val_165' -'2011-01-01 01:01:01.0','238','val_238' -'2011-01-01 01:01:01.0','27','val_27' -'2011-01-01 01:01:01.0','311','val_311' -'2011-01-01 01:01:01.0','86','val_86' -5 rows selected ->>> select t,key,value from timestamp_lazy distribute by t sort by key ASC, value ASC; -'t','key','value' -'2011-01-01 01:01:01.0','165','val_165' -'2011-01-01 01:01:01.0','238','val_238' -'2011-01-01 01:01:01.0','27','val_27' -'2011-01-01 01:01:01.0','311','val_311' -'2011-01-01 01:01:01.0','86','val_86' -5 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/timestamp_udf.q.out ql/src/test/results/beelinepositive/timestamp_udf.q.out deleted file mode 100644 index 957c3b0..0000000 --- ql/src/test/results/beelinepositive/timestamp_udf.q.out +++ /dev/null @@ -1,111 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/timestamp_udf.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/timestamp_udf.q ->>> drop table timestamp_udf; -No rows affected ->>> drop table timestamp_udf_string; -No rows affected ->>> ->>> create table timestamp_udf (t timestamp); -No rows affected ->>> create table timestamp_udf_string (t string); -No rows affected ->>> from src -insert overwrite table timestamp_udf -select '2011-05-06 07:08:09.1234567' limit 1 -insert overwrite table timestamp_udf_string -select '2011-05-06 07:08:09.1234567' limit 1; -'_c0' -No rows selected ->>> ->>> -- Test UDFs with Timestamp input ->>> select unix_timestamp(t), year(t), month(t), day(t), dayofmonth(t), -weekofyear(t), hour(t), minute(t), second(t), to_date(t) -from timestamp_udf; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6','_c7','_c8','_c9' -'1304690889','2011','5','6','6','18','7','8','9','2011-05-06' -1 row selected ->>> ->>> select date_add(t, 5), date_sub(t, 10) -from timestamp_udf; -'_c0','_c1' -'2011-05-11','2011-04-26' -1 row selected ->>> ->>> select datediff(t, t), datediff(t, '2002-03-21'), datediff('2002-03-21', t) -from timestamp_udf; -'_c0','_c1','_c2' -'0','3333','-3333' -1 row selected ->>> ->>> select from_utc_timestamp(t, 'America/Chicago') -from timestamp_udf; -'_c0' -'2011-05-06 02:08:09.1234567' -1 row selected ->>> ->>> select to_utc_timestamp(t, 'America/Chicago') -from timestamp_udf; -'_c0' -'2011-05-06 12:08:09.1234567' -1 row selected ->>> ->>> select t, from_utc_timestamp(t, 'America/Chicago') -from timestamp_udf; -'t','_c1' -'2011-05-06 07:08:09.1234567','2011-05-06 02:08:09.1234567' -1 row selected ->>> ->>> select t, from_utc_timestamp(t, 'America/Chicago'), t, from_utc_timestamp(t, 'America/Chicago') -from timestamp_udf; -'t','_c1','t','_c3' -'2011-05-06 07:08:09.1234567','2011-05-06 02:08:09.1234567','2011-05-06 07:08:09.1234567','2011-05-06 02:08:09.1234567' -1 row selected ->>> ->>> select t, to_utc_timestamp(t, 'America/Chicago') -from timestamp_udf; -'t','_c1' -'2011-05-06 07:08:09.1234567','2011-05-06 12:08:09.1234567' -1 row selected ->>> ->>> select t, to_utc_timestamp(t, 'America/Chicago'), t, to_utc_timestamp(t, 'America/Chicago') -from timestamp_udf; -'t','_c1','t','_c3' -'2011-05-06 07:08:09.1234567','2011-05-06 12:08:09.1234567','2011-05-06 07:08:09.1234567','2011-05-06 12:08:09.1234567' -1 row selected ->>> ->>> -- Test UDFs with string input ->>> select unix_timestamp(t), year(t), month(t), day(t), dayofmonth(t), -weekofyear(t), hour(t), minute(t), second(t), to_date(t) -from timestamp_udf_string; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6','_c7','_c8','_c9' -'1304690889','2011','5','6','6','18','7','8','9','2011-05-06' -1 row selected ->>> ->>> select date_add(t, 5), date_sub(t, 10) from timestamp_udf_string; -'_c0','_c1' -'2011-05-11','2011-04-26' -1 row selected ->>> ->>> select datediff(t, t), datediff(t, '2002-03-21'), datediff('2002-03-21', t) -from timestamp_udf_string; -'_c0','_c1','_c2' -'0','3333','-3333' -1 row selected ->>> ->>> select from_utc_timestamp(t, 'America/Chicago') -from timestamp_udf_string; -'_c0' -'2011-05-06 02:08:09.1234567' -1 row selected ->>> ->>> select to_utc_timestamp(t, 'America/Chicago') -from timestamp_udf_string; -'_c0' -'2011-05-06 12:08:09.1234567' -1 row selected ->>> ->>> drop table timestamp_udf; -No rows affected ->>> drop table timestamp_udf_string; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/touch.q.out ql/src/test/results/beelinepositive/touch.q.out deleted file mode 100644 index 31281a0..0000000 --- ql/src/test/results/beelinepositive/touch.q.out +++ /dev/null @@ -1,33 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/touch.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/touch.q ->>> drop table tstsrc; -No rows affected ->>> drop table tstsrcpart; -No rows affected ->>> ->>> create table tstsrc like src; -No rows affected ->>> insert overwrite table tstsrc select key, value from src; -'key','value' -No rows selected ->>> ->>> create table tstsrcpart like srcpart; -No rows affected ->>> insert overwrite table tstsrcpart partition (ds='2008-04-08', hr='12') -select key, value from srcpart where ds='2008-04-08' and hr='12'; -'key','value' -No rows selected ->>> ->>> ->>> ALTER TABLE tstsrc TOUCH; -No rows affected ->>> ALTER TABLE tstsrcpart TOUCH; -No rows affected ->>> ALTER TABLE tstsrcpart TOUCH PARTITION (ds='2008-04-08', hr='12'); -No rows affected ->>> ->>> drop table tstsrc; -No rows affected ->>> drop table tstsrcpart; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/transform2.q.out ql/src/test/results/beelinepositive/transform2.q.out deleted file mode 100644 index eb8f595..0000000 --- ql/src/test/results/beelinepositive/transform2.q.out +++ /dev/null @@ -1,8 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/transform2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/transform2.q ->>> -- Transform with a function that has many parameters ->>> SELECT TRANSFORM(substr(key, 1, 2)) USING 'cat' FROM src LIMIT 1; -'key','value' -'23','' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/transform_ppr1.q.out ql/src/test/results/beelinepositive/transform_ppr1.q.out deleted file mode 100644 index f1b6820..0000000 --- ql/src/test/results/beelinepositive/transform_ppr1.q.out +++ /dev/null @@ -1,493 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/transform_ppr1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/transform_ppr1.q ->>> set hive.optimize.ppd=true; -No rows affected ->>> ->>> EXPLAIN EXTENDED -FROM ( -FROM srcpart src -SELECT TRANSFORM(src.ds, src.key, src.value) -USING 'cat' AS (ds, tkey, tvalue) -CLUSTER BY tkey -) tmap -SELECT tmap.tkey, tmap.tvalue WHERE tmap.tkey < 100 AND tmap.ds = '2008-04-08'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart) src)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TRANSFORM (TOK_EXPLIST (. (TOK_TABLE_OR_COL src) ds) (. (TOK_TABLE_OR_COL src) key) (. (TOK_TABLE_OR_COL src) value)) TOK_SERDE TOK_RECORDWRITER 'cat' TOK_SERDE TOK_RECORDREADER (TOK_ALIASLIST ds tkey tvalue)))) (TOK_CLUSTERBY (TOK_TABLE_OR_COL tkey)))) tmap)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL tmap) tkey)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL tmap) tvalue))) (TOK_WHERE (AND (< (. (TOK_TABLE_OR_COL tmap) tkey) 100) (= (. (TOK_TABLE_OR_COL tmap) ds) '2008-04-08')))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tmap:src ' -' TableScan' -' alias: src' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: ds' -' type: string' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Transform Operator' -' command: cat' -' output info:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types string,string,string' -' field.delim 9' -' serialization.format 9' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((_col1 < 100.0) and (_col0 = '2008-04-08'))' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col1' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/transform_ppr1.db/srcpart/ds=2008-04-08/hr=11 [tmap:src]' -' !!{hive.metastore.warehouse.dir}!!/transform_ppr1.db/srcpart/ds=2008-04-08/hr=12 [tmap:src]' -' !!{hive.metastore.warehouse.dir}!!/transform_ppr1.db/srcpart/ds=2008-04-09/hr=11 [tmap:src]' -' !!{hive.metastore.warehouse.dir}!!/transform_ppr1.db/srcpart/ds=2008-04-09/hr=12 [tmap:src]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/transform_ppr1.db/srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/transform_ppr1.db/srcpart/ds=2008-04-08/hr=11' -' name transform_ppr1.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/transform_ppr1.db/srcpart' -' name transform_ppr1.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: transform_ppr1.srcpart' -' name: transform_ppr1.srcpart' -' !!{hive.metastore.warehouse.dir}!!/transform_ppr1.db/srcpart/ds=2008-04-08/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/transform_ppr1.db/srcpart/ds=2008-04-08/hr=12' -' name transform_ppr1.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/transform_ppr1.db/srcpart' -' name transform_ppr1.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: transform_ppr1.srcpart' -' name: transform_ppr1.srcpart' -' !!{hive.metastore.warehouse.dir}!!/transform_ppr1.db/srcpart/ds=2008-04-09/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-09' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/transform_ppr1.db/srcpart/ds=2008-04-09/hr=11' -' name transform_ppr1.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/transform_ppr1.db/srcpart' -' name transform_ppr1.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: transform_ppr1.srcpart' -' name: transform_ppr1.srcpart' -' !!{hive.metastore.warehouse.dir}!!/transform_ppr1.db/srcpart/ds=2008-04-09/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-09' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/transform_ppr1.db/srcpart/ds=2008-04-09/hr=12' -' name transform_ppr1.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/transform_ppr1.db/srcpart' -' name transform_ppr1.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: transform_ppr1.srcpart' -' name: transform_ppr1.srcpart' -' Reduce Operator Tree:' -' Extract' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -298 rows selected ->>> ->>> FROM ( -FROM srcpart src -SELECT TRANSFORM(src.ds, src.key, src.value) -USING 'cat' AS (ds, tkey, tvalue) -CLUSTER BY tkey -) tmap -SELECT tmap.tkey, tmap.tvalue WHERE tmap.tkey < 100 AND tmap.ds = '2008-04-08'; -'tkey','tvalue' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'10','val_10' -'10','val_10' -'11','val_11' -'11','val_11' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'17','val_17' -'17','val_17' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'19','val_19' -'19','val_19' -'2','val_2' -'2','val_2' -'20','val_20' -'20','val_20' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'27','val_27' -'27','val_27' -'28','val_28' -'28','val_28' -'30','val_30' -'30','val_30' -'33','val_33' -'33','val_33' -'34','val_34' -'34','val_34' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'4','val_4' -'4','val_4' -'41','val_41' -'41','val_41' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'43','val_43' -'43','val_43' -'44','val_44' -'44','val_44' -'47','val_47' -'47','val_47' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'53','val_53' -'53','val_53' -'54','val_54' -'54','val_54' -'57','val_57' -'57','val_57' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'64','val_64' -'64','val_64' -'65','val_65' -'65','val_65' -'66','val_66' -'66','val_66' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'69','val_69' -'69','val_69' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'74','val_74' -'74','val_74' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'77','val_77' -'77','val_77' -'78','val_78' -'78','val_78' -'8','val_8' -'8','val_8' -'80','val_80' -'80','val_80' -'82','val_82' -'82','val_82' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'85','val_85' -'85','val_85' -'86','val_86' -'86','val_86' -'87','val_87' -'87','val_87' -'9','val_9' -'9','val_9' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'92','val_92' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'96','val_96' -'96','val_96' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -168 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/transform_ppr2.q.out ql/src/test/results/beelinepositive/transform_ppr2.q.out deleted file mode 100644 index 138b95f..0000000 --- ql/src/test/results/beelinepositive/transform_ppr2.q.out +++ /dev/null @@ -1,391 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/transform_ppr2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/transform_ppr2.q ->>> set hive.optimize.ppd=true; -No rows affected ->>> ->>> EXPLAIN EXTENDED -FROM ( -FROM srcpart src -SELECT TRANSFORM(src.ds, src.key, src.value) -USING 'cat' AS (ds, tkey, tvalue) -WHERE src.ds = '2008-04-08' -CLUSTER BY tkey -) tmap -SELECT tmap.tkey, tmap.tvalue WHERE tmap.tkey < 100; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart) src)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TRANSFORM (TOK_EXPLIST (. (TOK_TABLE_OR_COL src) ds) (. (TOK_TABLE_OR_COL src) key) (. (TOK_TABLE_OR_COL src) value)) TOK_SERDE TOK_RECORDWRITER 'cat' TOK_SERDE TOK_RECORDREADER (TOK_ALIASLIST ds tkey tvalue)))) (TOK_WHERE (= (. (TOK_TABLE_OR_COL src) ds) '2008-04-08')) (TOK_CLUSTERBY (TOK_TABLE_OR_COL tkey)))) tmap)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL tmap) tkey)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL tmap) tvalue))) (TOK_WHERE (< (. (TOK_TABLE_OR_COL tmap) tkey) 100))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' tmap:src ' -' TableScan' -' alias: src' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: ds' -' type: string' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Transform Operator' -' command: cat' -' output info:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types string,string,string' -' field.delim 9' -' serialization.format 9' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (_col1 < 100.0)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col1' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/transform_ppr2.db/srcpart/ds=2008-04-08/hr=11 [tmap:src]' -' !!{hive.metastore.warehouse.dir}!!/transform_ppr2.db/srcpart/ds=2008-04-08/hr=12 [tmap:src]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/transform_ppr2.db/srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/transform_ppr2.db/srcpart/ds=2008-04-08/hr=11' -' name transform_ppr2.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/transform_ppr2.db/srcpart' -' name transform_ppr2.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: transform_ppr2.srcpart' -' name: transform_ppr2.srcpart' -' !!{hive.metastore.warehouse.dir}!!/transform_ppr2.db/srcpart/ds=2008-04-08/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/transform_ppr2.db/srcpart/ds=2008-04-08/hr=12' -' name transform_ppr2.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/transform_ppr2.db/srcpart' -' name transform_ppr2.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: transform_ppr2.srcpart' -' name: transform_ppr2.srcpart' -' Reduce Operator Tree:' -' Extract' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -194 rows selected ->>> ->>> FROM ( -FROM srcpart src -SELECT TRANSFORM(src.ds, src.key, src.value) -USING 'cat' AS (ds, tkey, tvalue) -WHERE src.ds = '2008-04-08' -CLUSTER BY tkey -) tmap -SELECT tmap.tkey, tmap.tvalue WHERE tmap.tkey < 100; -'tkey','tvalue' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'10','val_10' -'10','val_10' -'11','val_11' -'11','val_11' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'17','val_17' -'17','val_17' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'19','val_19' -'19','val_19' -'2','val_2' -'2','val_2' -'20','val_20' -'20','val_20' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'27','val_27' -'27','val_27' -'28','val_28' -'28','val_28' -'30','val_30' -'30','val_30' -'33','val_33' -'33','val_33' -'34','val_34' -'34','val_34' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'4','val_4' -'4','val_4' -'41','val_41' -'41','val_41' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'43','val_43' -'43','val_43' -'44','val_44' -'44','val_44' -'47','val_47' -'47','val_47' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'53','val_53' -'53','val_53' -'54','val_54' -'54','val_54' -'57','val_57' -'57','val_57' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'64','val_64' -'64','val_64' -'65','val_65' -'65','val_65' -'66','val_66' -'66','val_66' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'69','val_69' -'69','val_69' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'74','val_74' -'74','val_74' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'77','val_77' -'77','val_77' -'78','val_78' -'78','val_78' -'8','val_8' -'8','val_8' -'80','val_80' -'80','val_80' -'82','val_82' -'82','val_82' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'85','val_85' -'85','val_85' -'86','val_86' -'86','val_86' -'87','val_87' -'87','val_87' -'9','val_9' -'9','val_9' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'92','val_92' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'96','val_96' -'96','val_96' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -168 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/type_cast_1.q.out ql/src/test/results/beelinepositive/type_cast_1.q.out deleted file mode 100644 index 0b2c965..0000000 --- ql/src/test/results/beelinepositive/type_cast_1.q.out +++ /dev/null @@ -1,44 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/type_cast_1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/type_cast_1.q ->>> EXPLAIN -SELECT IF(false, 1, cast(2 as smallint)) + 3 FROM src LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (+ (TOK_FUNCTION IF false 1 (TOK_FUNCTION TOK_SMALLINT 2)) 3))) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: (if(false, 1, UDFToShort(2)) + 3)' -' type: int' -' outputColumnNames: _col0' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -32 rows selected ->>> ->>> SELECT IF(false, 1, cast(2 as smallint)) + 3 FROM src LIMIT 1; -'_c0' -'5' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/type_widening.q.out ql/src/test/results/beelinepositive/type_widening.q.out deleted file mode 100644 index 663d93d..0000000 --- ql/src/test/results/beelinepositive/type_widening.q.out +++ /dev/null @@ -1,1121 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/type_widening.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/type_widening.q ->>> -- Check for int, bigint automatic type widening conversions in UDFs, UNIONS ->>> EXPLAIN SELECT COALESCE(0, 9223372036854775807) FROM src LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION COALESCE 0 9223372036854775807))) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: COALESCE(0,9223372036854775807)' -' type: bigint' -' outputColumnNames: _col0' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -32 rows selected ->>> SELECT COALESCE(0, 9223372036854775807) FROM src LIMIT 1; -'_c0' -'0' -1 row selected ->>> ->>> EXPLAIN SELECT * FROM (SELECT 0 AS numcol FROM src UNION ALL SELECT 9223372036854775807 AS numcol FROM src) a ORDER BY numcol; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 0 numcol)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 9223372036854775807 numcol))))) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL numcol)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1:a-subquery1:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: 0' -' type: int' -' outputColumnNames: _col0' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: bigint' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' null-subquery2:a-subquery2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: 9223372036854775807' -' type: bigint' -' outputColumnNames: _col0' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: bigint' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -71 rows selected ->>> SELECT * FROM (SELECT 0 AS numcol FROM src UNION ALL SELECT 9223372036854775807 AS numcol FROM src) a ORDER BY numcol; -'numcol' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'0' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -'9223372036854775807' -1,000 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udaf_corr.q.out ql/src/test/results/beelinepositive/udaf_corr.q.out deleted file mode 100644 index dc37e8a..0000000 --- ql/src/test/results/beelinepositive/udaf_corr.q.out +++ /dev/null @@ -1,58 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udaf_corr.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udaf_corr.q ->>> DROP TABLE covar_tab; -No rows affected ->>> CREATE TABLE covar_tab (a INT, b INT, c INT) -ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t' -STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/covar_tab.txt' OVERWRITE -INTO TABLE covar_tab; -No rows affected ->>> ->>> DESCRIBE FUNCTION corr; -'tab_name' -'corr(x,y) - Returns the Pearson coefficient of correlation' -'between a set of number pairs' -2 rows selected ->>> DESCRIBE FUNCTION EXTENDED corr; -'tab_name' -'corr(x,y) - Returns the Pearson coefficient of correlation' -'between a set of number pairs' -'The function takes as arguments any pair of numeric types and returns a double.' -'Any pair with a NULL is ignored. If the function is applied to an empty set or' -'a singleton set, NULL will be returned. Otherwise, it computes the following:' -' COVAR_POP(x,y)/(STDDEV_POP(x)*STDDEV_POP(y))' -'where neither x nor y is null,' -'COVAR_POP is the population covariance,' -'and STDDEV_POP is the population standard deviation.' -9 rows selected ->>> SELECT corr(b, c) FROM covar_tab WHERE a < 1; -'_c0' -'' -1 row selected ->>> SELECT corr(b, c) FROM covar_tab WHERE a < 3; -'_c0' -'' -1 row selected ->>> SELECT corr(b, c) FROM covar_tab WHERE a = 3; -'_c0' -'' -1 row selected ->>> SELECT a, corr(b, c) FROM covar_tab GROUP BY a ORDER BY a; -'a','_c1' -'1','' -'2','' -'3','' -'4','' -'5','' -'6','' -6 rows selected ->>> SELECT corr(b, c) FROM covar_tab; -'_c0' -'0.6633880657639323' -1 row selected ->>> ->>> DROP TABLE covar_tab; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/udaf_covar_pop.q.out ql/src/test/results/beelinepositive/udaf_covar_pop.q.out deleted file mode 100644 index 75bdeeb..0000000 --- ql/src/test/results/beelinepositive/udaf_covar_pop.q.out +++ /dev/null @@ -1,54 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udaf_covar_pop.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udaf_covar_pop.q ->>> DROP TABLE covar_tab; -No rows affected ->>> CREATE TABLE covar_tab (a INT, b INT, c INT) -ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t' -STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/covar_tab.txt' OVERWRITE -INTO TABLE covar_tab; -No rows affected ->>> ->>> DESCRIBE FUNCTION covar_pop; -'tab_name' -'covar_pop(x,y) - Returns the population covariance of a set of number pairs' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED covar_pop; -'tab_name' -'covar_pop(x,y) - Returns the population covariance of a set of number pairs' -'The function takes as arguments any pair of numeric types and returns a double.' -'Any pair with a NULL is ignored. If the function is applied to an empty set, NULL' -'will be returned. Otherwise, it computes the following:' -' (SUM(x*y)-SUM(x)*SUM(y)/COUNT(x,y))/COUNT(x,y)' -'where neither x nor y is null.' -6 rows selected ->>> SELECT covar_pop(b, c) FROM covar_tab WHERE a < 1; -'_c0' -'' -1 row selected ->>> SELECT covar_pop(b, c) FROM covar_tab WHERE a < 3; -'_c0' -'' -1 row selected ->>> SELECT covar_pop(b, c) FROM covar_tab WHERE a = 3; -'_c0' -'0.0' -1 row selected ->>> SELECT a, covar_pop(b, c) FROM covar_tab GROUP BY a ORDER BY a; -'a','_c1' -'1','' -'2','' -'3','0.0' -'4','0.0' -'5','0.0' -'6','0.0' -6 rows selected ->>> SELECT covar_pop(b, c) FROM covar_tab; -'_c0' -'3.624999999999999' -1 row selected ->>> ->>> DROP TABLE covar_tab; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/udaf_covar_samp.q.out ql/src/test/results/beelinepositive/udaf_covar_samp.q.out deleted file mode 100644 index ecf620e..0000000 --- ql/src/test/results/beelinepositive/udaf_covar_samp.q.out +++ /dev/null @@ -1,54 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udaf_covar_samp.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udaf_covar_samp.q ->>> DROP TABLE covar_tab; -No rows affected ->>> CREATE TABLE covar_tab (a INT, b INT, c INT) -ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t' -STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/covar_tab.txt' OVERWRITE -INTO TABLE covar_tab; -No rows affected ->>> ->>> DESCRIBE FUNCTION covar_samp; -'tab_name' -'covar_samp(x,y) - Returns the sample covariance of a set of number pairs' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED covar_samp; -'tab_name' -'covar_samp(x,y) - Returns the sample covariance of a set of number pairs' -'The function takes as arguments any pair of numeric types and returns a double.' -'Any pair with a NULL is ignored. If the function is applied to an empty set, NULL' -'will be returned. Otherwise, it computes the following:' -' (SUM(x*y)-SUM(x)*SUM(y)/COUNT(x,y))/(COUNT(x,y)-1)' -'where neither x nor y is null.' -6 rows selected ->>> SELECT covar_samp(b, c) FROM covar_tab WHERE a < 1; -'_c0' -'' -1 row selected ->>> SELECT covar_samp(b, c) FROM covar_tab WHERE a < 3; -'_c0' -'' -1 row selected ->>> SELECT covar_samp(b, c) FROM covar_tab WHERE a = 3; -'_c0' -'0.0' -1 row selected ->>> SELECT a, covar_samp(b, c) FROM covar_tab GROUP BY a ORDER BY a; -'a','_c1' -'1','' -'2','' -'3','0.0' -'4','0.0' -'5','0.0' -'6','0.0' -6 rows selected ->>> SELECT covar_samp(b, c) FROM covar_tab; -'_c0' -'4.833333333333332' -1 row selected ->>> ->>> DROP TABLE covar_tab; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/udaf_number_format.q.out ql/src/test/results/beelinepositive/udaf_number_format.q.out deleted file mode 100644 index f09586c..0000000 --- ql/src/test/results/beelinepositive/udaf_number_format.q.out +++ /dev/null @@ -1,91 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udaf_number_format.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udaf_number_format.q ->>> ->>> EXPLAIN SELECT -sum('a'), -avg('a'), -variance('a'), -std('a') -FROM src; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION sum 'a')) (TOK_SELEXPR (TOK_FUNCTION avg 'a')) (TOK_SELEXPR (TOK_FUNCTION variance 'a')) (TOK_SELEXPR (TOK_FUNCTION std 'a')))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: sum('a')' -' expr: avg('a')' -' expr: variance('a')' -' expr: std('a')' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: double' -' expr: _col1' -' type: struct' -' expr: _col2' -' type: struct' -' expr: _col3' -' type: struct' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' expr: avg(VALUE._col1)' -' expr: variance(VALUE._col2)' -' expr: std(VALUE._col3)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: double' -' expr: _col1' -' type: double' -' expr: _col2' -' type: double' -' expr: _col3' -' type: double' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -69 rows selected ->>> ->>> SELECT -sum('a'), -avg('a'), -variance('a'), -std('a') -FROM src; -'_c0','_c1','_c2','_c3' -'0.0','','','' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf1.q.out ql/src/test/results/beelinepositive/udf1.q.out deleted file mode 100644 index d422a2d..0000000 --- ql/src/test/results/beelinepositive/udf1.q.out +++ /dev/null @@ -1,166 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf1.q ->>> CREATE TABLE dest1(c1 STRING, c2 STRING, c3 STRING, c4 STRING, -c5 STRING, c6 STRING, c7 STRING, c8 STRING, -c9 STRING, c10 STRING, c11 STRING, c12 STRING, c13 STRING, -c14 STRING, c15 STRING, c16 STRING, c17 STRING, -c18 STRING, c19 STRING, c20 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src INSERT OVERWRITE TABLE dest1 SELECT 'a' LIKE '%a%', 'b' LIKE '%a%', 'ab' LIKE '%a%', 'ab' LIKE '%a_', -'%_' LIKE '\%\_', 'ab' LIKE '\%\_', 'ab' LIKE '_a%', 'ab' LIKE 'a', -'' RLIKE '.*', 'a' RLIKE '[ab]', '' RLIKE '[ab]', 'hadoop' RLIKE '[a-z]*', 'hadoop' RLIKE 'o*', -REGEXP_REPLACE('abc', 'b', 'c'), REGEXP_REPLACE('abc', 'z', 'a'), REGEXP_REPLACE('abbbb', 'bb', 'b'), -REGEXP_REPLACE('hadoop', '(.)[a-z]*', '$1ive'), REGEXP_REPLACE('hadoopAAA','A.*',''), -REGEXP_REPLACE('abc', '', 'A'), 'abc' RLIKE '' -WHERE src.key = 86; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (LIKE 'a' '%a%')) (TOK_SELEXPR (LIKE 'b' '%a%')) (TOK_SELEXPR (LIKE 'ab' '%a%')) (TOK_SELEXPR (LIKE 'ab' '%a_')) (TOK_SELEXPR (LIKE '%_' '\%\_')) (TOK_SELEXPR (LIKE 'ab' '\%\_')) (TOK_SELEXPR (LIKE 'ab' '_a%')) (TOK_SELEXPR (LIKE 'ab' 'a')) (TOK_SELEXPR (RLIKE '' '.*')) (TOK_SELEXPR (RLIKE 'a' '[ab]')) (TOK_SELEXPR (RLIKE '' '[ab]')) (TOK_SELEXPR (RLIKE 'hadoop' '[a-z]*')) (TOK_SELEXPR (RLIKE 'hadoop' 'o*')) (TOK_SELEXPR (TOK_FUNCTION REGEXP_REPLACE 'abc' 'b' 'c')) (TOK_SELEXPR (TOK_FUNCTION REGEXP_REPLACE 'abc' 'z' 'a')) (TOK_SELEXPR (TOK_FUNCTION REGEXP_REPLACE 'abbbb' 'bb' 'b')) (TOK_SELEXPR (TOK_FUNCTION REGEXP_REPLACE 'hadoop' '(.)[a-z]*' '$1ive')) (TOK_SELEXPR (TOK_FUNCTION REGEXP_REPLACE 'hadoopAAA' 'A.*' '')) (TOK_SELEXPR (TOK_FUNCTION REGEXP_REPLACE 'abc' '' 'A')) (TOK_SELEXPR (RLIKE 'abc' ''))) (TOK_WHERE (= (. (TOK_TABLE_OR_COL src) key) 86))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key = 86.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: ('a' like '%a%')' -' type: boolean' -' expr: ('b' like '%a%')' -' type: boolean' -' expr: ('ab' like '%a%')' -' type: boolean' -' expr: ('ab' like '%a_')' -' type: boolean' -' expr: ('%_' like '\%\_')' -' type: boolean' -' expr: ('ab' like '\%\_')' -' type: boolean' -' expr: ('ab' like '_a%')' -' type: boolean' -' expr: ('ab' like 'a')' -' type: boolean' -' expr: ('' rlike '.*')' -' type: boolean' -' expr: ('a' rlike '[ab]')' -' type: boolean' -' expr: ('' rlike '[ab]')' -' type: boolean' -' expr: ('hadoop' rlike '[a-z]*')' -' type: boolean' -' expr: ('hadoop' rlike 'o*')' -' type: boolean' -' expr: regexp_replace('abc', 'b', 'c')' -' type: string' -' expr: regexp_replace('abc', 'z', 'a')' -' type: string' -' expr: regexp_replace('abbbb', 'bb', 'b')' -' type: string' -' expr: regexp_replace('hadoop', '(.)[a-z]*', '$1ive')' -' type: string' -' expr: regexp_replace('hadoopAAA', 'A.*', '')' -' type: string' -' expr: regexp_replace('abc', '', 'A')' -' type: string' -' expr: ('abc' rlike '')' -' type: boolean' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, _col16, _col17, _col18, _col19' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: udf1.dest1' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: udf1.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: udf1.dest1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: udf1.dest1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -131 rows selected ->>> ->>> FROM src INSERT OVERWRITE TABLE dest1 SELECT 'a' LIKE '%a%', 'b' LIKE '%a%', 'ab' LIKE '%a%', 'ab' LIKE '%a_', -'%_' LIKE '\%\_', 'ab' LIKE '\%\_', 'ab' LIKE '_a%', 'ab' LIKE 'a', -'' RLIKE '.*', 'a' RLIKE '[ab]', '' RLIKE '[ab]', 'hadoop' RLIKE '[a-z]*', 'hadoop' RLIKE 'o*', -REGEXP_REPLACE('abc', 'b', 'c'), REGEXP_REPLACE('abc', 'z', 'a'), REGEXP_REPLACE('abbbb', 'bb', 'b'), -REGEXP_REPLACE('hadoop', '(.)[a-z]*', '$1ive'), REGEXP_REPLACE('hadoopAAA','A.*',''), -REGEXP_REPLACE('abc', '', 'A'), 'abc' RLIKE '' -WHERE src.key = 86; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6','_c7','_c8','_c9','_c10','_c11','_c12','_c13','_c14','_c15','_c16','_c17','_c18','_c19' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'c1','c2','c3','c4','c5','c6','c7','c8','c9','c10','c11','c12','c13','c14','c15','c16','c17','c18','c19','c20' -'true','false','true','true','true','false','false','false','true','true','false','true','true','acc','abc','abb','hive','hadoop','AaAbAcA','false' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf2.q.out ql/src/test/results/beelinepositive/udf2.q.out deleted file mode 100644 index 29809cb..0000000 --- ql/src/test/results/beelinepositive/udf2.q.out +++ /dev/null @@ -1,62 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf2.q ->>> CREATE TABLE dest1(c1 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> FROM src INSERT OVERWRITE TABLE dest1 SELECT ' abc ' WHERE src.key = 86; -'_c0' -No rows selected ->>> ->>> EXPLAIN -SELECT '|', trim(dest1.c1), '|', rtrim(dest1.c1), '|', ltrim(dest1.c1), '|' FROM dest1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME dest1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR '|') (TOK_SELEXPR (TOK_FUNCTION trim (. (TOK_TABLE_OR_COL dest1) c1))) (TOK_SELEXPR '|') (TOK_SELEXPR (TOK_FUNCTION rtrim (. (TOK_TABLE_OR_COL dest1) c1))) (TOK_SELEXPR '|') (TOK_SELEXPR (TOK_FUNCTION ltrim (. (TOK_TABLE_OR_COL dest1) c1))) (TOK_SELEXPR '|'))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' dest1 ' -' TableScan' -' alias: dest1' -' Select Operator' -' expressions:' -' expr: '|'' -' type: string' -' expr: trim(c1)' -' type: string' -' expr: '|'' -' type: string' -' expr: rtrim(c1)' -' type: string' -' expr: '|'' -' type: string' -' expr: ltrim(c1)' -' type: string' -' expr: '|'' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -43 rows selected ->>> ->>> SELECT '|', trim(dest1.c1), '|', rtrim(dest1.c1), '|', ltrim(dest1.c1), '|' FROM dest1; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6' -'|','abc','|',' abc','|','abc ','|' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf3.q.out ql/src/test/results/beelinepositive/udf3.q.out deleted file mode 100644 index de3ca5a..0000000 --- ql/src/test/results/beelinepositive/udf3.q.out +++ /dev/null @@ -1,108 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf3.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf3.q ->>> CREATE TABLE dest1(c1 STRING, c2 STRING, c3 STRING, c4 STRING, c5 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -FROM src INSERT OVERWRITE TABLE dest1 SELECT count(CAST('' AS INT)), sum(CAST('' AS INT)), avg(CAST('' AS INT)), -min(CAST('' AS INT)), max(CAST('' AS INT)); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count (TOK_FUNCTION TOK_INT ''))) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_FUNCTION TOK_INT ''))) (TOK_SELEXPR (TOK_FUNCTION avg (TOK_FUNCTION TOK_INT ''))) (TOK_SELEXPR (TOK_FUNCTION min (TOK_FUNCTION TOK_INT ''))) (TOK_SELEXPR (TOK_FUNCTION max (TOK_FUNCTION TOK_INT ''))))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(UDFToInteger(''))' -' expr: sum(UDFToInteger(''))' -' expr: avg(UDFToInteger(''))' -' expr: min(UDFToInteger(''))' -' expr: max(UDFToInteger(''))' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: struct' -' expr: _col3' -' type: int' -' expr: _col4' -' type: int' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' expr: sum(VALUE._col1)' -' expr: avg(VALUE._col2)' -' expr: min(VALUE._col3)' -' expr: max(VALUE._col4)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' expr: _col1' -' type: bigint' -' expr: _col2' -' type: double' -' expr: _col3' -' type: int' -' expr: _col4' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: udf3.dest1' -'' -' 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: udf3.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -87 rows selected ->>> ->>> FROM src INSERT OVERWRITE TABLE dest1 SELECT count(CAST('' AS INT)), sum(CAST('' AS INT)), avg(CAST('' AS INT)), -min(CAST('' AS INT)), max(CAST('' AS INT)); -'_c0','_c1','_c2','_c3','_c4' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'c1','c2','c3','c4','c5' -'0','','','','' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf4.q.out ql/src/test/results/beelinepositive/udf4.q.out deleted file mode 100644 index bf56ccb..0000000 --- ql/src/test/results/beelinepositive/udf4.q.out +++ /dev/null @@ -1,86 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf4.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf4.q ->>> CREATE TABLE dest1(c1 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> FROM src INSERT OVERWRITE TABLE dest1 SELECT ' abc ' WHERE src.key = 86; -'_c0' -No rows selected ->>> ->>> EXPLAIN -SELECT round(1.0), round(1.5), round(-1.5), floor(1.0), floor(1.5), floor(-1.5), sqrt(1.0), sqrt(-1.0), sqrt(0.0), ceil(1.0), ceil(1.5), ceil(-1.5), ceiling(1.0), rand(3), +3, -3, 1++2, 1+-2, ~1 FROM dest1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME dest1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION round 1.0)) (TOK_SELEXPR (TOK_FUNCTION round 1.5)) (TOK_SELEXPR (TOK_FUNCTION round (- 1.5))) (TOK_SELEXPR (TOK_FUNCTION floor 1.0)) (TOK_SELEXPR (TOK_FUNCTION floor 1.5)) (TOK_SELEXPR (TOK_FUNCTION floor (- 1.5))) (TOK_SELEXPR (TOK_FUNCTION sqrt 1.0)) (TOK_SELEXPR (TOK_FUNCTION sqrt (- 1.0))) (TOK_SELEXPR (TOK_FUNCTION sqrt 0.0)) (TOK_SELEXPR (TOK_FUNCTION ceil 1.0)) (TOK_SELEXPR (TOK_FUNCTION ceil 1.5)) (TOK_SELEXPR (TOK_FUNCTION ceil (- 1.5))) (TOK_SELEXPR (TOK_FUNCTION ceiling 1.0)) (TOK_SELEXPR (TOK_FUNCTION rand 3)) (TOK_SELEXPR (+ 3)) (TOK_SELEXPR (- 3)) (TOK_SELEXPR (+ 1 (+ 2))) (TOK_SELEXPR (+ 1 (- 2))) (TOK_SELEXPR (~ 1)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' dest1 ' -' TableScan' -' alias: dest1' -' Select Operator' -' expressions:' -' expr: round(1.0)' -' type: bigint' -' expr: round(1.5)' -' type: bigint' -' expr: round((- 1.5))' -' type: bigint' -' expr: floor(1.0)' -' type: bigint' -' expr: floor(1.5)' -' type: bigint' -' expr: floor((- 1.5))' -' type: bigint' -' expr: sqrt(1.0)' -' type: double' -' expr: sqrt((- 1.0))' -' type: double' -' expr: sqrt(0.0)' -' type: double' -' expr: ceil(1.0)' -' type: bigint' -' expr: ceil(1.5)' -' type: bigint' -' expr: ceil((- 1.5))' -' type: bigint' -' expr: ceiling(1.0)' -' type: bigint' -' expr: rand(3)' -' type: double' -' expr: 3' -' type: int' -' expr: (- 3)' -' type: int' -' expr: (1 + 2)' -' type: int' -' expr: (1 + (- 2))' -' type: int' -' expr: (~ 1)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, _col16, _col17, _col18' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -67 rows selected ->>> ->>> SELECT round(1.0), round(1.5), round(-1.5), floor(1.0), floor(1.5), floor(-1.5), sqrt(1.0), sqrt(-1.0), sqrt(0.0), ceil(1.0), ceil(1.5), ceil(-1.5), ceiling(1.0), rand(3), +3, -3, 1++2, 1+-2, ~1 FROM dest1; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6','_c7','_c8','_c9','_c10','_c11','_c12','_c13','_c14','_c15','_c16','_c17','_c18' -'1','2','-2','1','1','-2','1.0','','0.0','1','2','-1','1','0.731057369148862','3','-3','3','-1','-2' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf5.q.out ql/src/test/results/beelinepositive/udf5.q.out deleted file mode 100644 index fce0ba7..0000000 --- ql/src/test/results/beelinepositive/udf5.q.out +++ /dev/null @@ -1,107 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf5.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf5.q ->>> CREATE TABLE dest1(c1 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> FROM src INSERT OVERWRITE TABLE dest1 SELECT ' abc ' WHERE src.key = 86; -'_c0' -No rows selected ->>> ->>> EXPLAIN -SELECT from_unixtime(1226446340), to_date(from_unixtime(1226446340)), day('2008-11-01'), month('2008-11-01'), year('2008-11-01'), day('2008-11-01 15:32:20'), month('2008-11-01 15:32:20'), year('2008-11-01 15:32:20') FROM dest1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME dest1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION from_unixtime 1226446340)) (TOK_SELEXPR (TOK_FUNCTION to_date (TOK_FUNCTION from_unixtime 1226446340))) (TOK_SELEXPR (TOK_FUNCTION day '2008-11-01')) (TOK_SELEXPR (TOK_FUNCTION month '2008-11-01')) (TOK_SELEXPR (TOK_FUNCTION year '2008-11-01')) (TOK_SELEXPR (TOK_FUNCTION day '2008-11-01 15:32:20')) (TOK_SELEXPR (TOK_FUNCTION month '2008-11-01 15:32:20')) (TOK_SELEXPR (TOK_FUNCTION year '2008-11-01 15:32:20')))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' dest1 ' -' TableScan' -' alias: dest1' -' Select Operator' -' expressions:' -' expr: from_unixtime(1226446340)' -' type: string' -' expr: to_date(from_unixtime(1226446340))' -' type: string' -' expr: day('2008-11-01')' -' type: int' -' expr: month('2008-11-01')' -' type: int' -' expr: year('2008-11-01')' -' type: int' -' expr: day('2008-11-01 15:32:20')' -' type: int' -' expr: month('2008-11-01 15:32:20')' -' type: int' -' expr: year('2008-11-01 15:32:20')' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -45 rows selected ->>> ->>> SELECT from_unixtime(1226446340), to_date(from_unixtime(1226446340)), day('2008-11-01'), month('2008-11-01'), year('2008-11-01'), day('2008-11-01 15:32:20'), month('2008-11-01 15:32:20'), year('2008-11-01 15:32:20') FROM dest1; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6','_c7' -'2008-11-11 15:32:20','2008-11-11','1','11','2008','1','11','2008' -1 row selected ->>> ->>> EXPLAIN -SELECT from_unixtime(unix_timestamp('2010-01-13 11:57:40', 'yyyy-MM-dd HH:mm:ss'), 'MM/dd/yy HH:mm:ss'), from_unixtime(unix_timestamp('2010-01-13 11:57:40')) from dest1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME dest1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION from_unixtime (TOK_FUNCTION unix_timestamp '2010-01-13 11:57:40' 'yyyy-MM-dd HH:mm:ss') 'MM/dd/yy HH:mm:ss')) (TOK_SELEXPR (TOK_FUNCTION from_unixtime (TOK_FUNCTION unix_timestamp '2010-01-13 11:57:40'))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' dest1 ' -' TableScan' -' alias: dest1' -' Select Operator' -' expressions:' -' expr: from_unixtime(unix_timestamp('2010-01-13 11:57:40', 'yyyy-MM-dd HH:mm:ss'), 'MM/dd/yy HH:mm:ss')' -' type: string' -' expr: from_unixtime(unix_timestamp('2010-01-13 11:57:40'))' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -33 rows selected ->>> ->>> SELECT from_unixtime(unix_timestamp('2010-01-13 11:57:40', 'yyyy-MM-dd HH:mm:ss'), 'MM/dd/yy HH:mm:ss'), from_unixtime(unix_timestamp('2010-01-13 11:57:40')) from dest1; -'_c0','_c1' -'01/13/10 11:57:40','2010-01-13 11:57:40' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf6.q.out ql/src/test/results/beelinepositive/udf6.q.out deleted file mode 100644 index 99dd90b..0000000 --- ql/src/test/results/beelinepositive/udf6.q.out +++ /dev/null @@ -1,120 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf6.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf6.q ->>> CREATE TABLE dest1(c1 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> FROM src INSERT OVERWRITE TABLE dest1 SELECT ' abc ' WHERE src.key = 86; -'_c0' -No rows selected ->>> ->>> EXPLAIN -SELECT IF(TRUE, 1, 2) FROM dest1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME dest1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION IF TRUE 1 2)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' dest1 ' -' TableScan' -' alias: dest1' -' Select Operator' -' expressions:' -' expr: if(true, 1, 2)' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -31 rows selected ->>> ->>> SELECT IF(TRUE, 1, 2) FROM dest1; -'_c0' -'1' -1 row selected ->>> ->>> EXPLAIN -SELECT IF(TRUE, 1, 2), IF(FALSE, 1, 2), IF(NULL, 1, 2), IF(TRUE, "a", "b"), -IF(TRUE, 0.1, 0.2), IF(FALSE, CAST(1 AS BIGINT), CAST(2 AS BIGINT)), -IF(FALSE, CAST(127 AS TINYINT), CAST(126 AS TINYINT)), -IF(FALSE, CAST(127 AS SMALLINT), CAST(128 AS SMALLINT)), -CAST(128 AS INT), CAST(1.0 AS DOUBLE), -CAST('128' AS STRING) FROM dest1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME dest1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION IF TRUE 1 2)) (TOK_SELEXPR (TOK_FUNCTION IF FALSE 1 2)) (TOK_SELEXPR (TOK_FUNCTION IF TOK_NULL 1 2)) (TOK_SELEXPR (TOK_FUNCTION IF TRUE "a" "b")) (TOK_SELEXPR (TOK_FUNCTION IF TRUE 0.1 0.2)) (TOK_SELEXPR (TOK_FUNCTION IF FALSE (TOK_FUNCTION TOK_BIGINT 1) (TOK_FUNCTION TOK_BIGINT 2))) (TOK_SELEXPR (TOK_FUNCTION IF FALSE (TOK_FUNCTION TOK_TINYINT 127) (TOK_FUNCTION TOK_TINYINT 126))) (TOK_SELEXPR (TOK_FUNCTION IF FALSE (TOK_FUNCTION TOK_SMALLINT 127) (TOK_FUNCTION TOK_SMALLINT 128))) (TOK_SELEXPR (TOK_FUNCTION TOK_INT 128)) (TOK_SELEXPR (TOK_FUNCTION TOK_DOUBLE 1.0)) (TOK_SELEXPR (TOK_FUNCTION TOK_STRING '128')))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' dest1 ' -' TableScan' -' alias: dest1' -' Select Operator' -' expressions:' -' expr: if(true, 1, 2)' -' type: int' -' expr: if(false, 1, 2)' -' type: int' -' expr: if(null, 1, 2)' -' type: int' -' expr: if(true, 'a', 'b')' -' type: string' -' expr: if(true, 0.1, 0.2)' -' type: double' -' expr: if(false, UDFToLong(1), UDFToLong(2))' -' type: bigint' -' expr: if(false, UDFToByte(127), UDFToByte(126))' -' type: tinyint' -' expr: if(false, UDFToShort(127), UDFToShort(128))' -' type: smallint' -' expr: 128' -' type: int' -' expr: 1.0' -' type: double' -' expr: '128'' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -50 rows selected ->>> ->>> SELECT IF(TRUE, 1, 2), IF(FALSE, 1, 2), IF(NULL, 1, 2), IF(TRUE, "a", "b"), -IF(TRUE, 0.1, 0.2), IF(FALSE, CAST(1 AS BIGINT), CAST(2 AS BIGINT)), -IF(FALSE, CAST(127 AS TINYINT), CAST(126 AS TINYINT)), -IF(FALSE, CAST(127 AS SMALLINT), CAST(128 AS SMALLINT)), -CAST(128 AS INT), CAST(1.0 AS DOUBLE), -CAST('128' AS STRING) FROM dest1; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6','_c7','_c8','_c9','_c10' -'1','2','2','a','0.1','2','126','128','128','1.0','128' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf7.q.out ql/src/test/results/beelinepositive/udf7.q.out deleted file mode 100644 index f4716ac..0000000 --- ql/src/test/results/beelinepositive/udf7.q.out +++ /dev/null @@ -1,108 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf7.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf7.q ->>> CREATE TABLE dest1(c1 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> FROM src INSERT OVERWRITE TABLE dest1 SELECT ' abc ' WHERE src.key = 86; -'_c0' -No rows selected ->>> ->>> EXPLAIN -SELECT ROUND(LN(3.0),12), LN(0.0), LN(-1), ROUND(LOG(3.0),12), LOG(0.0), -LOG(-1), ROUND(LOG2(3.0),12), LOG2(0.0), LOG2(-1), -ROUND(LOG10(3.0),12), LOG10(0.0), LOG10(-1), ROUND(LOG(2, 3.0),12), -LOG(2, 0.0), LOG(2, -1), LOG(0.5, 2), LOG(2, 0.5), ROUND(EXP(2.0),12), -POW(2,3), POWER(2,3), POWER(2,-3), POWER(0.5, -3), POWER(4, 0.5), -POWER(-1, 0.5), POWER(-1, 2) FROM dest1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME dest1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION ROUND (TOK_FUNCTION LN 3.0) 12)) (TOK_SELEXPR (TOK_FUNCTION LN 0.0)) (TOK_SELEXPR (TOK_FUNCTION LN (- 1))) (TOK_SELEXPR (TOK_FUNCTION ROUND (TOK_FUNCTION LOG 3.0) 12)) (TOK_SELEXPR (TOK_FUNCTION LOG 0.0)) (TOK_SELEXPR (TOK_FUNCTION LOG (- 1))) (TOK_SELEXPR (TOK_FUNCTION ROUND (TOK_FUNCTION LOG2 3.0) 12)) (TOK_SELEXPR (TOK_FUNCTION LOG2 0.0)) (TOK_SELEXPR (TOK_FUNCTION LOG2 (- 1))) (TOK_SELEXPR (TOK_FUNCTION ROUND (TOK_FUNCTION LOG10 3.0) 12)) (TOK_SELEXPR (TOK_FUNCTION LOG10 0.0)) (TOK_SELEXPR (TOK_FUNCTION LOG10 (- 1))) (TOK_SELEXPR (TOK_FUNCTION ROUND (TOK_FUNCTION LOG 2 3.0) 12)) (TOK_SELEXPR (TOK_FUNCTION LOG 2 0.0)) (TOK_SELEXPR (TOK_FUNCTION LOG 2 (- 1))) (TOK_SELEXPR (TOK_FUNCTION LOG 0.5 2)) (TOK_SELEXPR (TOK_FUNCTION LOG 2 0.5)) (TOK_SELEXPR (TOK_FUNCTION ROUND (TOK_FUNCTION EXP 2.0) 12)) (TOK_SELEXPR (TOK_FUNCTION POW 2 3)) (TOK_SELEXPR (TOK_FUNCTION POWER 2 3)) (TOK_SELEXPR (TOK_FUNCTION POWER 2 (- 3))) (TOK_SELEXPR (TOK_FUNCTION POWER 0.5 (- 3))) (TOK_SELEXPR (TOK_FUNCTION POWER 4 0.5)) (TOK_SELEXPR (TOK_FUNCTION POWER (- 1) 0.5)) (TOK_SELEXPR (TOK_FUNCTION POWER (- 1) 2)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' dest1 ' -' TableScan' -' alias: dest1' -' Select Operator' -' expressions:' -' expr: round(ln(3.0), 12)' -' type: double' -' expr: ln(0.0)' -' type: double' -' expr: ln((- 1))' -' type: double' -' expr: round(log(3.0), 12)' -' type: double' -' expr: log(0.0)' -' type: double' -' expr: log((- 1))' -' type: double' -' expr: round(log2(3.0), 12)' -' type: double' -' expr: log2(0.0)' -' type: double' -' expr: log2((- 1))' -' type: double' -' expr: round(log10(3.0), 12)' -' type: double' -' expr: log10(0.0)' -' type: double' -' expr: log10((- 1))' -' type: double' -' expr: round(log(2, 3.0), 12)' -' type: double' -' expr: log(2, 0.0)' -' type: double' -' expr: log(2, (- 1))' -' type: double' -' expr: log(0.5, 2)' -' type: double' -' expr: log(2, 0.5)' -' type: double' -' expr: round(exp(2.0), 12)' -' type: double' -' expr: pow(2, 3)' -' type: double' -' expr: power(2, 3)' -' type: double' -' expr: power(2, (- 3))' -' type: double' -' expr: power(0.5, (- 3))' -' type: double' -' expr: power(4, 0.5)' -' type: double' -' expr: power((- 1), 0.5)' -' type: double' -' expr: power((- 1), 2)' -' type: double' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, _col16, _col17, _col18, _col19, _col20, _col21, _col22, _col23, _col24' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -79 rows selected ->>> ->>> SELECT ROUND(LN(3.0),12), LN(0.0), LN(-1), ROUND(LOG(3.0),12), LOG(0.0), -LOG(-1), ROUND(LOG2(3.0),12), LOG2(0.0), LOG2(-1), -ROUND(LOG10(3.0),12), LOG10(0.0), LOG10(-1), ROUND(LOG(2, 3.0),12), -LOG(2, 0.0), LOG(2, -1), LOG(0.5, 2), LOG(2, 0.5), ROUND(EXP(2.0),12), -POW(2,3), POWER(2,3), POWER(2,-3), POWER(0.5, -3), POWER(4, 0.5), -POWER(-1, 0.5), POWER(-1, 2) FROM dest1; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6','_c7','_c8','_c9','_c10','_c11','_c12','_c13','_c14','_c15','_c16','_c17','_c18','_c19','_c20','_c21','_c22','_c23','_c24' -'1.098612288668','','','1.098612288668','','','1.584962500721','','','0.47712125472','','','1.584962500721','','','','-1.0','7.389056098931','8.0','8.0','0.125','8.0','2.0','NaN','1.0' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf8.q.out ql/src/test/results/beelinepositive/udf8.q.out deleted file mode 100644 index 8900c17..0000000 --- ql/src/test/results/beelinepositive/udf8.q.out +++ /dev/null @@ -1,90 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf8.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf8.q ->>> CREATE TABLE dest1(c1 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> FROM src INSERT OVERWRITE TABLE dest1 SELECT '' WHERE src.key = 86; -'_c0' -No rows selected ->>> ->>> FROM src INSERT OVERWRITE TABLE dest1 SELECT '1' WHERE src.key = 86; -'_c0' -No rows selected ->>> ->>> EXPLAIN -SELECT avg(c1), sum(c1), count(c1) FROM dest1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME dest1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION avg (TOK_TABLE_OR_COL c1))) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_TABLE_OR_COL c1))) (TOK_SELEXPR (TOK_FUNCTION count (TOK_TABLE_OR_COL c1))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' dest1 ' -' TableScan' -' alias: dest1' -' Select Operator' -' expressions:' -' expr: c1' -' type: string' -' outputColumnNames: c1' -' Group By Operator' -' aggregations:' -' expr: avg(c1)' -' expr: sum(c1)' -' expr: count(c1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: struct' -' expr: _col1' -' type: double' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: avg(VALUE._col0)' -' expr: sum(VALUE._col1)' -' expr: count(VALUE._col2)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: double' -' expr: _col1' -' type: double' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -67 rows selected ->>> ->>> SELECT avg(c1), sum(c1), count(c1) FROM dest1; -'_c0','_c1','_c2' -'1.0','1.0','1' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf9.q.out ql/src/test/results/beelinepositive/udf9.q.out deleted file mode 100644 index b2d6f83..0000000 --- ql/src/test/results/beelinepositive/udf9.q.out +++ /dev/null @@ -1,93 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf9.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf9.q ->>> EXPLAIN -SELECT DATEDIFF('2008-12-31', '2009-01-01'), DATEDIFF('2008-03-01', '2008-02-28'), -DATEDIFF('2007-03-01', '2007-01-28'), DATEDIFF('2008-03-01 23:59:59', '2008-03-02 00:00:00'), -DATE_ADD('2008-12-31', 1), DATE_ADD('2008-12-31', 365), -DATE_ADD('2008-02-28', 2), DATE_ADD('2009-02-28', 2), -DATE_ADD('2007-02-28', 365), DATE_ADD('2007-02-28 23:59:59', 730), -DATE_SUB('2009-01-01', 1), DATE_SUB('2009-01-01', 365), -DATE_SUB('2008-02-28', 2), DATE_SUB('2009-02-28', 2), -DATE_SUB('2007-02-28', 365), DATE_SUB('2007-02-28 01:12:34', 730) -FROM src WHERE src.key = 86; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION DATEDIFF '2008-12-31' '2009-01-01')) (TOK_SELEXPR (TOK_FUNCTION DATEDIFF '2008-03-01' '2008-02-28')) (TOK_SELEXPR (TOK_FUNCTION DATEDIFF '2007-03-01' '2007-01-28')) (TOK_SELEXPR (TOK_FUNCTION DATEDIFF '2008-03-01 23:59:59' '2008-03-02 00:00:00')) (TOK_SELEXPR (TOK_FUNCTION DATE_ADD '2008-12-31' 1)) (TOK_SELEXPR (TOK_FUNCTION DATE_ADD '2008-12-31' 365)) (TOK_SELEXPR (TOK_FUNCTION DATE_ADD '2008-02-28' 2)) (TOK_SELEXPR (TOK_FUNCTION DATE_ADD '2009-02-28' 2)) (TOK_SELEXPR (TOK_FUNCTION DATE_ADD '2007-02-28' 365)) (TOK_SELEXPR (TOK_FUNCTION DATE_ADD '2007-02-28 23:59:59' 730)) (TOK_SELEXPR (TOK_FUNCTION DATE_SUB '2009-01-01' 1)) (TOK_SELEXPR (TOK_FUNCTION DATE_SUB '2009-01-01' 365)) (TOK_SELEXPR (TOK_FUNCTION DATE_SUB '2008-02-28' 2)) (TOK_SELEXPR (TOK_FUNCTION DATE_SUB '2009-02-28' 2)) (TOK_SELEXPR (TOK_FUNCTION DATE_SUB '2007-02-28' 365)) (TOK_SELEXPR (TOK_FUNCTION DATE_SUB '2007-02-28 01:12:34' 730))) (TOK_WHERE (= (. (TOK_TABLE_OR_COL src) key) 86))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key = 86.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: datediff('2008-12-31', '2009-01-01')' -' type: int' -' expr: datediff('2008-03-01', '2008-02-28')' -' type: int' -' expr: datediff('2007-03-01', '2007-01-28')' -' type: int' -' expr: datediff('2008-03-01 23:59:59', '2008-03-02 00:00:00')' -' type: int' -' expr: date_add('2008-12-31', 1)' -' type: string' -' expr: date_add('2008-12-31', 365)' -' type: string' -' expr: date_add('2008-02-28', 2)' -' type: string' -' expr: date_add('2009-02-28', 2)' -' type: string' -' expr: date_add('2007-02-28', 365)' -' type: string' -' expr: date_add('2007-02-28 23:59:59', 730)' -' type: string' -' expr: date_sub('2009-01-01', 1)' -' type: string' -' expr: date_sub('2009-01-01', 365)' -' type: string' -' expr: date_sub('2008-02-28', 2)' -' type: string' -' expr: date_sub('2009-02-28', 2)' -' type: string' -' expr: date_sub('2007-02-28', 365)' -' type: string' -' expr: date_sub('2007-02-28 01:12:34', 730)' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -65 rows selected ->>> ->>> SELECT DATEDIFF('2008-12-31', '2009-01-01'), DATEDIFF('2008-03-01', '2008-02-28'), -DATEDIFF('2007-03-01', '2007-01-28'), DATEDIFF('2008-03-01 23:59:59', '2008-03-02 00:00:00'), -DATE_ADD('2008-12-31', 1), DATE_ADD('2008-12-31', 365), -DATE_ADD('2008-02-28', 2), DATE_ADD('2009-02-28', 2), -DATE_ADD('2007-02-28', 365), DATE_ADD('2007-02-28 23:59:59', 730), -DATE_SUB('2009-01-01', 1), DATE_SUB('2009-01-01', 365), -DATE_SUB('2008-03-01', 2), DATE_SUB('2009-03-01', 2), -DATE_SUB('2007-02-28', 365), DATE_SUB('2007-02-28 01:12:34', 730) -FROM src WHERE src.key = 86; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6','_c7','_c8','_c9','_c10','_c11','_c12','_c13','_c14','_c15' -'-1','2','32','-1','2009-01-01','2009-12-31','2008-03-01','2009-03-02','2008-02-28','2009-02-27','2008-12-31','2008-01-02','2008-02-28','2009-02-27','2006-02-28','2005-02-28' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_10_trims.q.out ql/src/test/results/beelinepositive/udf_10_trims.q.out deleted file mode 100644 index 1914bde..0000000 --- ql/src/test/results/beelinepositive/udf_10_trims.q.out +++ /dev/null @@ -1,113 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_10_trims.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_10_trims.q ->>> CREATE TABLE dest1(c1 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> EXPLAIN -INSERT OVERWRITE TABLE dest1 -SELECT trim(trim(trim(trim(trim(trim(trim(trim(trim(trim( ' abc ')))))))))) -FROM src -WHERE src.key = 86; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION trim (TOK_FUNCTION trim (TOK_FUNCTION trim (TOK_FUNCTION trim (TOK_FUNCTION trim (TOK_FUNCTION trim (TOK_FUNCTION trim (TOK_FUNCTION trim (TOK_FUNCTION trim (TOK_FUNCTION trim ' abc ')))))))))))) (TOK_WHERE (= (. (TOK_TABLE_OR_COL src) key) 86))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key = 86.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: trim(trim(trim(trim(trim(trim(trim(trim(trim(trim(' abc '))))))))))' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: udf_10_trims.dest1' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: udf_10_trims.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: udf_10_trims.dest1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: udf_10_trims.dest1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -93 rows selected ->>> ->>> INSERT OVERWRITE TABLE dest1 -SELECT trim(trim(trim(trim(trim(trim(trim(trim(trim(trim( ' abc ')))))))))) -FROM src -WHERE src.key = 86; -'_c0' -No rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_E.q.out ql/src/test/results/beelinepositive/udf_E.q.out deleted file mode 100644 index 2dddd34..0000000 --- ql/src/test/results/beelinepositive/udf_E.q.out +++ /dev/null @@ -1,111 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_E.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_E.q ->>> explain -select E() FROM src LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION E))) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: e()' -' type: double' -' outputColumnNames: _col0' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -32 rows selected ->>> ->>> select E() FROM src LIMIT 1; -'_c0' -'2.718281828459045' -1 row selected ->>> ->>> DESCRIBE FUNCTION E; -'tab_name' -'E() - returns E ' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED E; -'tab_name' -'E() - returns E ' -'Synonyms: e' -'Example:' -' > SELECT E() FROM src LIMIT 1;' -' 2.718281828459045' -5 rows selected ->>> explain -select E() FROM src LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION E))) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: e()' -' type: double' -' outputColumnNames: _col0' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -32 rows selected ->>> ->>> select E() FROM src LIMIT 1; -'_c0' -'2.718281828459045' -1 row selected ->>> ->>> DESCRIBE FUNCTION E; -'tab_name' -'E() - returns E ' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED E; -'tab_name' -'E() - returns E ' -'Synonyms: e' -'Example:' -' > SELECT E() FROM src LIMIT 1;' -' 2.718281828459045' -5 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_PI.q.out ql/src/test/results/beelinepositive/udf_PI.q.out deleted file mode 100644 index 6cdb8d0..0000000 --- ql/src/test/results/beelinepositive/udf_PI.q.out +++ /dev/null @@ -1,111 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_PI.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_PI.q ->>> explain -select PI() FROM src LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION PI))) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: pi()' -' type: double' -' outputColumnNames: _col0' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -32 rows selected ->>> ->>> select PI() FROM src LIMIT 1; -'_c0' -'3.141592653589793' -1 row selected ->>> ->>> DESCRIBE FUNCTION PI; -'tab_name' -'PI() - returns pi ' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED PI; -'tab_name' -'PI() - returns pi ' -'Synonyms: pi' -'Example:' -' > SELECT PI() FROM src LIMIT 1;' -' 3.14159...' -5 rows selected ->>> explain -select PI() FROM src LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION PI))) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: pi()' -' type: double' -' outputColumnNames: _col0' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -32 rows selected ->>> ->>> select PI() FROM src LIMIT 1; -'_c0' -'3.141592653589793' -1 row selected ->>> ->>> DESCRIBE FUNCTION PI; -'tab_name' -'PI() - returns pi ' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED PI; -'tab_name' -'PI() - returns pi ' -'Synonyms: pi' -'Example:' -' > SELECT PI() FROM src LIMIT 1;' -' 3.14159...' -5 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_abs.q.out ql/src/test/results/beelinepositive/udf_abs.q.out deleted file mode 100644 index f95dec0..0000000 --- ql/src/test/results/beelinepositive/udf_abs.q.out +++ /dev/null @@ -1,130 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_abs.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_abs.q ->>> DESCRIBE FUNCTION abs; -'tab_name' -'abs(x) - returns the absolute value of x' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED abs; -'tab_name' -'abs(x) - returns the absolute value of x' -'Example:' -' > SELECT abs(0) FROM src LIMIT 1;' -' 0' -' > SELECT abs(-5) FROM src LIMIT 1;' -' 5' -6 rows selected ->>> ->>> EXPLAIN SELECT -abs(0), -abs(-1), -abs(123), -abs(-9223372036854775807), -abs(9223372036854775807) -FROM src LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION abs 0)) (TOK_SELEXPR (TOK_FUNCTION abs (- 1))) (TOK_SELEXPR (TOK_FUNCTION abs 123)) (TOK_SELEXPR (TOK_FUNCTION abs (- 9223372036854775807))) (TOK_SELEXPR (TOK_FUNCTION abs 9223372036854775807))) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: abs(0)' -' type: int' -' expr: abs((- 1))' -' type: int' -' expr: abs(123)' -' type: int' -' expr: abs((- 9223372036854775807))' -' type: bigint' -' expr: abs(9223372036854775807)' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -40 rows selected ->>> ->>> SELECT -abs(0), -abs(-1), -abs(123), -abs(-9223372036854775807), -abs(9223372036854775807) -FROM src LIMIT 1; -'_c0','_c1','_c2','_c3','_c4' -'0','1','123','9223372036854775807','9223372036854775807' -1 row selected ->>> ->>> EXPLAIN SELECT -abs(0.0), -abs(-3.14159265), -abs(3.14159265) -FROM src LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION abs 0.0)) (TOK_SELEXPR (TOK_FUNCTION abs (- 3.14159265))) (TOK_SELEXPR (TOK_FUNCTION abs 3.14159265))) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: abs(0.0)' -' type: double' -' expr: abs((- 3.14159265))' -' type: double' -' expr: abs(3.14159265)' -' type: double' -' outputColumnNames: _col0, _col1, _col2' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -36 rows selected ->>> ->>> SELECT -abs(0.0), -abs(-3.14159265), -abs(3.14159265) -FROM src LIMIT 1; -'_c0','_c1','_c2' -'0.0','3.14159265','3.14159265' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_acos.q.out ql/src/test/results/beelinepositive/udf_acos.q.out deleted file mode 100644 index b742cb5..0000000 --- ql/src/test/results/beelinepositive/udf_acos.q.out +++ /dev/null @@ -1,40 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_acos.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_acos.q ->>> DESCRIBE FUNCTION acos; -'tab_name' -'acos(x) - returns the arc cosine of x if -1<=x<=1 or NULL otherwise' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED acos; -'tab_name' -'acos(x) - returns the arc cosine of x if -1<=x<=1 or NULL otherwise' -'Example:' -' > SELECT acos(1) FROM src LIMIT 1;' -' 0' -' > SELECT acos(2) FROM src LIMIT 1;' -' NULL' -6 rows selected ->>> ->>> SELECT acos(null) -FROM src LIMIT 1; -'_c0' -'' -1 row selected ->>> ->>> SELECT acos(0) -FROM src LIMIT 1; -'_c0' -'1.5707963267948966' -1 row selected ->>> ->>> SELECT acos(-0.5), asin(0.66) -FROM src LIMIT 1; -'_c0','_c1' -'2.0943951023931957','0.7208187608700897' -1 row selected ->>> ->>> SELECT acos(2) -FROM src LIMIT 1; -'_c0' -'NaN' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_add.q.out ql/src/test/results/beelinepositive/udf_add.q.out deleted file mode 100644 index 8c9d4f5..0000000 --- ql/src/test/results/beelinepositive/udf_add.q.out +++ /dev/null @@ -1,11 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_add.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_add.q ->>> DESCRIBE FUNCTION +; -'tab_name' -'a + b - Returns a+b' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED +; -'tab_name' -'a + b - Returns a+b' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_add_months.q.out ql/src/test/results/beelinepositive/udf_add_months.q.out deleted file mode 100644 index b238a42..0000000 --- ql/src/test/results/beelinepositive/udf_add_months.q.out +++ /dev/null @@ -1,15 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_add_months.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_add_months.q ->>> DESCRIBE FUNCTION add_months; -'tab_name' -'date_add(start_date, num_months) - Returns the date that is num_months after start_date.' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED add_months; -'tab_name' -'date_add(start_date, num_months) - Returns the date that is num_months after start_date.' -'start_date is a string in the format 'yyyy-MM-dd HH:mm:ss' or 'yyyy-MM-dd'. num_months is a number. The time part of start_date is ignored.' -'Example:' -' > SELECT add_months('2009-08-31', 1) FROM src LIMIT 1;' -' '2009-09-30'' -5 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_array_contains.q.out ql/src/test/results/beelinepositive/udf_array_contains.q.out deleted file mode 100644 index b4cac84..0000000 --- ql/src/test/results/beelinepositive/udf_array_contains.q.out +++ /dev/null @@ -1,27 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_array_contains.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_array_contains.q ->>> DESCRIBE FUNCTION array_contains; -'tab_name' -'array_contains(array, value) - Returns TRUE if the array contains value.' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED array_contains; -'tab_name' -'array_contains(array, value) - Returns TRUE if the array contains value.' -'Example:' -' > SELECT array_contains(array(1, 2, 3), 2) FROM src LIMIT 1;' -' true' -4 rows selected ->>> ->>> -- evalutes function for array of primitives ->>> SELECT array_contains(array(1, 2, 3), 1) FROM src LIMIT 1; -'_c0' -'true' -1 row selected ->>> ->>> -- evaluates function for nested arrays ->>> SELECT array_contains(array(array(1,2), array(2,3), array(3,4)), array(1,2)) -FROM src LIMIT 1; -'_c0' -'true' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_ascii.q.out ql/src/test/results/beelinepositive/udf_ascii.q.out deleted file mode 100644 index 15dff71..0000000 --- ql/src/test/results/beelinepositive/udf_ascii.q.out +++ /dev/null @@ -1,69 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_ascii.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_ascii.q ->>> DESCRIBE FUNCTION ascii; -'tab_name' -'ascii(str) - returns the numeric value of the first character of str' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED ascii; -'tab_name' -'ascii(str) - returns the numeric value of the first character of str' -'Returns 0 if str is empty or NULL if str is NULL' -'Example:' -' > SELECT ascii('222') FROM src LIMIT 1; 50' -' > SELECT ascii(2) FROM src LIMIT 1;' -' 50' -6 rows selected ->>> ->>> EXPLAIN SELECT -ascii('Facebook'), -ascii(''), -ascii('!') -FROM src LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION ascii 'Facebook')) (TOK_SELEXPR (TOK_FUNCTION ascii '')) (TOK_SELEXPR (TOK_FUNCTION ascii '!'))) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: ascii('Facebook')' -' type: int' -' expr: ascii('')' -' type: int' -' expr: ascii('!')' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -36 rows selected ->>> ->>> SELECT -ascii('Facebook'), -ascii(''), -ascii('!') -FROM src LIMIT 1; -'_c0','_c1','_c2' -'70','0','33' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_asin.q.out ql/src/test/results/beelinepositive/udf_asin.q.out deleted file mode 100644 index 7966ada..0000000 --- ql/src/test/results/beelinepositive/udf_asin.q.out +++ /dev/null @@ -1,40 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_asin.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_asin.q ->>> DESCRIBE FUNCTION asin; -'tab_name' -'asin(x) - returns the arc sine of x if -1<=x<=1 or NULL otherwise' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED asin; -'tab_name' -'asin(x) - returns the arc sine of x if -1<=x<=1 or NULL otherwise' -'Example:' -' > SELECT asin(0) FROM src LIMIT 1;' -' 0' -' > SELECT asin(2) FROM src LIMIT 1;' -' NULL' -6 rows selected ->>> ->>> SELECT asin(null) -FROM src LIMIT 1; -'_c0' -'' -1 row selected ->>> ->>> SELECT asin(0) -FROM src LIMIT 1; -'_c0' -'0.0' -1 row selected ->>> ->>> SELECT asin(-0.5), asin(0.66) -FROM src LIMIT 1; -'_c0','_c1' -'-0.5235987755982989','0.7208187608700897' -1 row selected ->>> ->>> SELECT asin(2) -FROM src LIMIT 1; -'_c0' -'NaN' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_atan.q.out ql/src/test/results/beelinepositive/udf_atan.q.out deleted file mode 100644 index b7ad8bb..0000000 --- ql/src/test/results/beelinepositive/udf_atan.q.out +++ /dev/null @@ -1,49 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_atan.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_atan.q ->>> DESCRIBE FUNCTION atan; -'tab_name' -'atan(x) - returns the atan (arctan) of x (x is in radians)' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED atan; -'tab_name' -'atan(x) - returns the atan (arctan) of x (x is in radians)' -'Example:' -' > SELECT atan(0) FROM src LIMIT 1;' -' 0' -4 rows selected ->>> ->>> SELECT atan(null) -FROM src LIMIT 1; -'_c0' -'' -1 row selected ->>> ->>> SELECT atan(1), atan(6), atan(-1.0) -FROM src LIMIT 1; -'_c0','_c1','_c2' -'0.7853981633974483','1.4056476493802699','-0.7853981633974483' -1 row selected ->>> DESCRIBE FUNCTION atan; -'tab_name' -'atan(x) - returns the atan (arctan) of x (x is in radians)' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED atan; -'tab_name' -'atan(x) - returns the atan (arctan) of x (x is in radians)' -'Example:' -' > SELECT atan(0) FROM src LIMIT 1;' -' 0' -4 rows selected ->>> ->>> SELECT atan(null) -FROM src LIMIT 1; -'_c0' -'' -1 row selected ->>> ->>> SELECT atan(1), atan(6), atan(-1.0) -FROM src LIMIT 1; -'_c0','_c1','_c2' -'0.7853981633974483','1.4056476493802699','-0.7853981633974483' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_avg.q.out ql/src/test/results/beelinepositive/udf_avg.q.out deleted file mode 100644 index c039b50..0000000 --- ql/src/test/results/beelinepositive/udf_avg.q.out +++ /dev/null @@ -1,11 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_avg.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_avg.q ->>> DESCRIBE FUNCTION avg; -'tab_name' -'avg(x) - Returns the mean of a set of numbers' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED avg; -'tab_name' -'avg(x) - Returns the mean of a set of numbers' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_between.q.out ql/src/test/results/beelinepositive/udf_between.q.out deleted file mode 100644 index 7b59324..0000000 --- ql/src/test/results/beelinepositive/udf_between.q.out +++ /dev/null @@ -1,233 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_between.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_between.q ->>> describe function between; -'tab_name' -'between a [NOT] BETWEEN b AND c - evaluate if a is [not] in between b and c' -1 row selected ->>> describe function extended between; -'tab_name' -'between a [NOT] BETWEEN b AND c - evaluate if a is [not] in between b and c' -1 row selected ->>> ->>> explain SELECT * FROM src where key + 100 between (150 + -50) AND (150 + 50) LIMIT 20; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (TOK_FUNCTION between KW_FALSE (+ (TOK_TABLE_OR_COL key) 100) (+ 150 (- 50)) (+ 150 50))) (TOK_LIMIT 20)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key + 100) BETWEEN (150 + (- 50)) AND (150 + 50)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 20' -'' -'' -38 rows selected ->>> SELECT * FROM src where key + 100 between (150 + -50) AND (150 + 50) LIMIT 20; -'key','value' -'86','val_86' -'27','val_27' -'98','val_98' -'66','val_66' -'37','val_37' -'15','val_15' -'82','val_82' -'17','val_17' -'0','val_0' -'57','val_57' -'20','val_20' -'92','val_92' -'47','val_47' -'72','val_72' -'4','val_4' -'35','val_35' -'54','val_54' -'51','val_51' -'65','val_65' -'83','val_83' -20 rows selected ->>> ->>> explain SELECT * FROM src where key + 100 not between (150 + -50) AND (150 + 50) LIMIT 20; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (TOK_FUNCTION between KW_TRUE (+ (TOK_TABLE_OR_COL key) 100) (+ 150 (- 50)) (+ 150 50))) (TOK_LIMIT 20)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key + 100) NOT BETWEEN (150 + (- 50)) AND (150 + 50)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 20' -'' -'' -38 rows selected ->>> SELECT * FROM src where key + 100 not between (150 + -50) AND (150 + 50) LIMIT 20; -'key','value' -'238','val_238' -'311','val_311' -'165','val_165' -'409','val_409' -'255','val_255' -'278','val_278' -'484','val_484' -'265','val_265' -'193','val_193' -'401','val_401' -'150','val_150' -'273','val_273' -'224','val_224' -'369','val_369' -'128','val_128' -'213','val_213' -'146','val_146' -'406','val_406' -'429','val_429' -'374','val_374' -20 rows selected ->>> ->>> explain SELECT * FROM src where 'b' between 'a' AND 'c' LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (TOK_FUNCTION between KW_FALSE 'b' 'a' 'c')) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: 'b' BETWEEN 'a' AND 'c'' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -38 rows selected ->>> SELECT * FROM src where 'b' between 'a' AND 'c' LIMIT 1; -'key','value' -'238','val_238' -1 row selected ->>> ->>> explain SELECT * FROM src where 2 between 2 AND '3' LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (TOK_FUNCTION between KW_FALSE 2 2 '3')) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: 2 BETWEEN 2 AND '3'' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -38 rows selected ->>> SELECT * FROM src where 2 between 2 AND '3' LIMIT 1; -'key','value' -'238','val_238' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_bigint.q.out ql/src/test/results/beelinepositive/udf_bigint.q.out deleted file mode 100644 index 6b52fef..0000000 --- ql/src/test/results/beelinepositive/udf_bigint.q.out +++ /dev/null @@ -1,11 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_bigint.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_bigint.q ->>> DESCRIBE FUNCTION bigint; -'tab_name' -'There is no documentation for function 'bigint'' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED bigint; -'tab_name' -'There is no documentation for function 'bigint'' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_bin.q.out ql/src/test/results/beelinepositive/udf_bin.q.out deleted file mode 100644 index 3f06aa9..0000000 --- ql/src/test/results/beelinepositive/udf_bin.q.out +++ /dev/null @@ -1,30 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_bin.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_bin.q ->>> DESCRIBE FUNCTION bin; -'tab_name' -'bin(n) - returns n in binary' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED bin; -'tab_name' -'bin(n) - returns n in binary' -'n is a BIGINT. Returns NULL if n is NULL.' -'Example:' -' > SELECT bin(13) FROM src LIMIT 1' -' '1101'' -5 rows selected ->>> ->>> SELECT -bin(1), -bin(0), -bin(99992421) -FROM src LIMIT 1; -'_c0','_c1','_c2' -'1','0','101111101011100001101100101' -1 row selected ->>> ->>> -- Negative numbers should be treated as two's complement (64 bit). ->>> SELECT bin(-5) FROM src LIMIT 1; -'_c0' -'1111111111111111111111111111111111111111111111111111111111111011' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_bitmap_empty.q.out ql/src/test/results/beelinepositive/udf_bitmap_empty.q.out deleted file mode 100644 index 4ff00df..0000000 --- ql/src/test/results/beelinepositive/udf_bitmap_empty.q.out +++ /dev/null @@ -1,12 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_bitmap_empty.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_bitmap_empty.q ->>> select ewah_bitmap_empty(array(13,2,4,8589934592,0,0)) from src limit 1; -'_c0' -'true' -1 row selected ->>> ->>> select ewah_bitmap_empty(array(13,2,4,8589934592,4096,0)) from src limit 1; -'_c0' -'false' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_bitwise_and.q.out ql/src/test/results/beelinepositive/udf_bitwise_and.q.out deleted file mode 100644 index e14f0a2..0000000 --- ql/src/test/results/beelinepositive/udf_bitwise_and.q.out +++ /dev/null @@ -1,14 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_bitwise_and.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_bitwise_and.q ->>> DESCRIBE FUNCTION &; -'tab_name' -'a & b - Bitwise and' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED &; -'tab_name' -'a & b - Bitwise and' -'Example:' -' > SELECT 3 & 5 FROM src LIMIT 1;' -' 1' -4 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_bitwise_not.q.out ql/src/test/results/beelinepositive/udf_bitwise_not.q.out deleted file mode 100644 index 27edfb0..0000000 --- ql/src/test/results/beelinepositive/udf_bitwise_not.q.out +++ /dev/null @@ -1,14 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_bitwise_not.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_bitwise_not.q ->>> DESCRIBE FUNCTION ~; -'tab_name' -'~ n - Bitwise not' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED ~; -'tab_name' -'~ n - Bitwise not' -'Example:' -' > SELECT ~ 0 FROM src LIMIT 1;' -' -1' -4 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_bitwise_or.q.out ql/src/test/results/beelinepositive/udf_bitwise_or.q.out deleted file mode 100644 index 1f9c413..0000000 --- ql/src/test/results/beelinepositive/udf_bitwise_or.q.out +++ /dev/null @@ -1,14 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_bitwise_or.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_bitwise_or.q ->>> DESCRIBE FUNCTION |; -'tab_name' -'a | b - Bitwise or' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED |; -'tab_name' -'a | b - Bitwise or' -'Example:' -' > SELECT 3 | 5 FROM src LIMIT 1;' -' 7' -4 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_bitwise_xor.q.out ql/src/test/results/beelinepositive/udf_bitwise_xor.q.out deleted file mode 100644 index 5ad1f29..0000000 --- ql/src/test/results/beelinepositive/udf_bitwise_xor.q.out +++ /dev/null @@ -1,14 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_bitwise_xor.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_bitwise_xor.q ->>> DESCRIBE FUNCTION ^; -'tab_name' -'a ^ b - Bitwise exclusive or' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED ^; -'tab_name' -'a ^ b - Bitwise exclusive or' -'Example:' -' > SELECT 3 ^ 5 FROM src LIMIT 1;' -' 2' -4 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_boolean.q.out ql/src/test/results/beelinepositive/udf_boolean.q.out deleted file mode 100644 index 86441c4..0000000 --- ql/src/test/results/beelinepositive/udf_boolean.q.out +++ /dev/null @@ -1,11 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_boolean.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_boolean.q ->>> DESCRIBE FUNCTION boolean; -'tab_name' -'There is no documentation for function 'boolean'' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED boolean; -'tab_name' -'There is no documentation for function 'boolean'' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_case.q.out ql/src/test/results/beelinepositive/udf_case.q.out deleted file mode 100644 index bf3ba8e..0000000 --- ql/src/test/results/beelinepositive/udf_case.q.out +++ /dev/null @@ -1,122 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_case.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_case.q ->>> DESCRIBE FUNCTION case; -'tab_name' -'There is no documentation for function 'case'' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED case; -'tab_name' -'There is no documentation for function 'case'' -1 row selected ->>> ->>> EXPLAIN -SELECT CASE 1 -WHEN 1 THEN 2 -WHEN 3 THEN 4 -ELSE 5 -END, -CASE 2 -WHEN 1 THEN 2 -ELSE 5 -END, -CASE 14 -WHEN 12 THEN 13 -WHEN 14 THEN 15 -END, -CASE 16 -WHEN 12 THEN 13 -WHEN 14 THEN 15 -END, -CASE 17 -WHEN 18 THEN NULL -WHEN 17 THEN 20 -END, -CASE 21 -WHEN 22 THEN 23 -WHEN 21 THEN 24 -END -FROM src LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION CASE 1 1 2 3 4 5)) (TOK_SELEXPR (TOK_FUNCTION CASE 2 1 2 5)) (TOK_SELEXPR (TOK_FUNCTION CASE 14 12 13 14 15)) (TOK_SELEXPR (TOK_FUNCTION CASE 16 12 13 14 15)) (TOK_SELEXPR (TOK_FUNCTION CASE 17 18 TOK_NULL 17 20)) (TOK_SELEXPR (TOK_FUNCTION CASE 21 22 23 21 24))) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: CASE (1) WHEN (1) THEN (2) WHEN (3) THEN (4) ELSE (5) END' -' type: int' -' expr: CASE (2) WHEN (1) THEN (2) ELSE (5) END' -' type: int' -' expr: CASE (14) WHEN (12) THEN (13) WHEN (14) THEN (15) END' -' type: int' -' expr: CASE (16) WHEN (12) THEN (13) WHEN (14) THEN (15) END' -' type: int' -' expr: CASE (17) WHEN (18) THEN (null) WHEN (17) THEN (20) END' -' type: int' -' expr: CASE (21) WHEN (22) THEN (23) WHEN (21) THEN (24) END' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -42 rows selected ->>> ->>> SELECT CASE 1 -WHEN 1 THEN 2 -WHEN 3 THEN 4 -ELSE 5 -END, -CASE 2 -WHEN 1 THEN 2 -ELSE 5 -END, -CASE 14 -WHEN 12 THEN 13 -WHEN 14 THEN 15 -END, -CASE 16 -WHEN 12 THEN 13 -WHEN 14 THEN 15 -END, -CASE 17 -WHEN 18 THEN NULL -WHEN 17 THEN 20 -END, -CASE 21 -WHEN 22 THEN 23 -WHEN 21 THEN 24 -END -FROM src LIMIT 1; -'_c0','_c1','_c2','_c3','_c4','_c5' -'2','5','15','','20','24' -1 row selected ->>> ->>> -- verify that short-circuiting is working correctly for CASE ->>> -- we should never get to the ELSE branch, which would raise an exception ->>> SELECT CASE 1 WHEN 1 THEN 'yo' -ELSE reflect('java.lang.String', 'bogus', 1) END -FROM src LIMIT 1; -'_c0' -'yo' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_case_column_pruning.q.out ql/src/test/results/beelinepositive/udf_case_column_pruning.q.out deleted file mode 100644 index 1a64b7d..0000000 --- ql/src/test/results/beelinepositive/udf_case_column_pruning.q.out +++ /dev/null @@ -1,123 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_case_column_pruning.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_case_column_pruning.q ->>> EXPLAIN -SELECT CASE a.key -WHEN '1' THEN 2 -WHEN '3' THEN 4 -ELSE 5 -END as key -FROM src a JOIN src b -ON a.key = b.key -ORDER BY key LIMIT 10; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src) a) (TOK_TABREF (TOK_TABNAME src) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION CASE (. (TOK_TABLE_OR_COL a) key) '1' 2 '3' 4 5) key)) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL key))) (TOK_LIMIT 10)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 ' -' handleSkewJoin: false' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: CASE (_col0) WHEN ('1') THEN (2) WHEN ('3') THEN (4) ELSE (5) END' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' Reduce Operator Tree:' -' Extract' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 10' -'' -'' -88 rows selected ->>> ->>> SELECT CASE a.key -WHEN '1' THEN 2 -WHEN '3' THEN 4 -ELSE 5 -END as key -FROM src a JOIN src b -ON a.key = b.key -ORDER BY key LIMIT 10; -'key' -'5' -'5' -'5' -'5' -'5' -'5' -'5' -'5' -'5' -'5' -10 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_case_thrift.q.out ql/src/test/results/beelinepositive/udf_case_thrift.q.out deleted file mode 100644 index b2586fc..0000000 --- ql/src/test/results/beelinepositive/udf_case_thrift.q.out +++ /dev/null @@ -1,80 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_case_thrift.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_case_thrift.q ->>> EXPLAIN -SELECT CASE src_thrift.lint[0] -WHEN 0 THEN src_thrift.lint[0] + 1 -WHEN 1 THEN src_thrift.lint[0] + 2 -WHEN 2 THEN 100 -ELSE 5 -END, -CASE src_thrift.lstring[0] -WHEN '0' THEN 'zero' -WHEN '10' THEN CONCAT(src_thrift.lstring[0], " is ten") -ELSE 'default' -END, -(CASE src_thrift.lstring[0] -WHEN '0' THEN src_thrift.lstring -ELSE NULL -END)[0] -FROM src_thrift LIMIT 3; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src_thrift))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION CASE ([ (. (TOK_TABLE_OR_COL src_thrift) lint) 0) 0 (+ ([ (. (TOK_TABLE_OR_COL src_thrift) lint) 0) 1) 1 (+ ([ (. (TOK_TABLE_OR_COL src_thrift) lint) 0) 2) 2 100 5)) (TOK_SELEXPR (TOK_FUNCTION CASE ([ (. (TOK_TABLE_OR_COL src_thrift) lstring) 0) '0' 'zero' '10' (TOK_FUNCTION CONCAT ([ (. (TOK_TABLE_OR_COL src_thrift) lstring) 0) " is ten") 'default')) (TOK_SELEXPR ([ (TOK_FUNCTION CASE ([ (. (TOK_TABLE_OR_COL src_thrift) lstring) 0) '0' (. (TOK_TABLE_OR_COL src_thrift) lstring) TOK_NULL) 0))) (TOK_LIMIT 3)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src_thrift ' -' TableScan' -' alias: src_thrift' -' Select Operator' -' expressions:' -' expr: CASE (lint[0]) WHEN (0) THEN ((lint[0] + 1)) WHEN (1) THEN ((lint[0] + 2)) WHEN (2) THEN (100) ELSE (5) END' -' type: int' -' expr: CASE (lstring[0]) WHEN ('0') THEN ('zero') WHEN ('10') THEN (concat(lstring[0], ' is ten')) ELSE ('default') END' -' type: string' -' expr: CASE (lstring[0]) WHEN ('0') THEN (lstring) ELSE (null) END[0]' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 3' -'' -'' -36 rows selected ->>> ->>> SELECT CASE src_thrift.lint[0] -WHEN 0 THEN src_thrift.lint[0] + 1 -WHEN 1 THEN src_thrift.lint[0] + 2 -WHEN 2 THEN 100 -ELSE 5 -END, -CASE src_thrift.lstring[0] -WHEN '0' THEN 'zero' -WHEN '10' THEN CONCAT(src_thrift.lstring[0], " is ten") -ELSE 'default' -END, -(CASE src_thrift.lstring[0] -WHEN '0' THEN src_thrift.lstring -ELSE NULL -END)[0] -FROM src_thrift LIMIT 3; -'_c0','_c1','_c2' -'1','zero','0' -'3','10 is ten','' -'100','default','' -3 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_ceil.q.out ql/src/test/results/beelinepositive/udf_ceil.q.out deleted file mode 100644 index b620320..0000000 --- ql/src/test/results/beelinepositive/udf_ceil.q.out +++ /dev/null @@ -1,17 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_ceil.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_ceil.q ->>> DESCRIBE FUNCTION ceil; -'tab_name' -'ceil(x) - Find the smallest integer not smaller than x' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED ceil; -'tab_name' -'ceil(x) - Find the smallest integer not smaller than x' -'Synonyms: ceiling' -'Example:' -' > SELECT ceil(-0.1) FROM src LIMIT 1;' -' 0' -' > SELECT ceil(5) FROM src LIMIT 1;' -' 5' -7 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_ceiling.q.out ql/src/test/results/beelinepositive/udf_ceiling.q.out deleted file mode 100644 index b65747c..0000000 --- ql/src/test/results/beelinepositive/udf_ceiling.q.out +++ /dev/null @@ -1,17 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_ceiling.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_ceiling.q ->>> DESCRIBE FUNCTION ceiling; -'tab_name' -'ceiling(x) - Find the smallest integer not smaller than x' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED ceiling; -'tab_name' -'ceiling(x) - Find the smallest integer not smaller than x' -'Synonyms: ceil' -'Example:' -' > SELECT ceiling(-0.1) FROM src LIMIT 1;' -' 0' -' > SELECT ceiling(5) FROM src LIMIT 1;' -' 5' -7 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_coalesce.q.out ql/src/test/results/beelinepositive/udf_coalesce.q.out deleted file mode 100644 index 252f1a5..0000000 --- ql/src/test/results/beelinepositive/udf_coalesce.q.out +++ /dev/null @@ -1,187 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_coalesce.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_coalesce.q ->>> DESCRIBE FUNCTION coalesce; -'tab_name' -'coalesce(a1, a2, ...) - Returns the first non-null argument' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED coalesce; -'tab_name' -'coalesce(a1, a2, ...) - Returns the first non-null argument' -'Example:' -' > SELECT coalesce(NULL, 1, NULL) FROM src LIMIT 1;' -' 1' -4 rows selected ->>> ->>> EXPLAIN -SELECT COALESCE(1), -COALESCE(1, 2), -COALESCE(NULL, 2), -COALESCE(1, NULL), -COALESCE(NULL, NULL, 3), -COALESCE(4, NULL, NULL, NULL), -COALESCE('1'), -COALESCE('1', '2'), -COALESCE(NULL, '2'), -COALESCE('1', NULL), -COALESCE(NULL, NULL, '3'), -COALESCE('4', NULL, NULL, NULL), -COALESCE(1.0), -COALESCE(1.0, 2.0), -COALESCE(NULL, 2.0), -COALESCE(NULL, 2.0, 3.0), -COALESCE(2.0, NULL, 3.0), -COALESCE(IF(TRUE, NULL, 0), NULL) -FROM src LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION COALESCE 1)) (TOK_SELEXPR (TOK_FUNCTION COALESCE 1 2)) (TOK_SELEXPR (TOK_FUNCTION COALESCE TOK_NULL 2)) (TOK_SELEXPR (TOK_FUNCTION COALESCE 1 TOK_NULL)) (TOK_SELEXPR (TOK_FUNCTION COALESCE TOK_NULL TOK_NULL 3)) (TOK_SELEXPR (TOK_FUNCTION COALESCE 4 TOK_NULL TOK_NULL TOK_NULL)) (TOK_SELEXPR (TOK_FUNCTION COALESCE '1')) (TOK_SELEXPR (TOK_FUNCTION COALESCE '1' '2')) (TOK_SELEXPR (TOK_FUNCTION COALESCE TOK_NULL '2')) (TOK_SELEXPR (TOK_FUNCTION COALESCE '1' TOK_NULL)) (TOK_SELEXPR (TOK_FUNCTION COALESCE TOK_NULL TOK_NULL '3')) (TOK_SELEXPR (TOK_FUNCTION COALESCE '4' TOK_NULL TOK_NULL TOK_NULL)) (TOK_SELEXPR (TOK_FUNCTION COALESCE 1.0)) (TOK_SELEXPR (TOK_FUNCTION COALESCE 1.0 2.0)) (TOK_SELEXPR (TOK_FUNCTION COALESCE TOK_NULL 2.0)) (TOK_SELEXPR (TOK_FUNCTION COALESCE TOK_NULL 2.0 3.0)) (TOK_SELEXPR (TOK_FUNCTION COALESCE 2.0 TOK_NULL 3.0)) (TOK_SELEXPR (TOK_FUNCTION COALESCE (TOK_FUNCTION IF TRUE TOK_NULL 0) TOK_NULL))) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: COALESCE(1)' -' type: int' -' expr: COALESCE(1,2)' -' type: int' -' expr: COALESCE(null,2)' -' type: int' -' expr: COALESCE(1,null)' -' type: int' -' expr: COALESCE(null,null,3)' -' type: int' -' expr: COALESCE(4,null,null,null)' -' type: int' -' expr: COALESCE('1')' -' type: string' -' expr: COALESCE('1','2')' -' type: string' -' expr: COALESCE(null,'2')' -' type: string' -' expr: COALESCE('1',null)' -' type: string' -' expr: COALESCE(null,null,'3')' -' type: string' -' expr: COALESCE('4',null,null,null)' -' type: string' -' expr: COALESCE(1.0)' -' type: double' -' expr: COALESCE(1.0,2.0)' -' type: double' -' expr: COALESCE(null,2.0)' -' type: double' -' expr: COALESCE(null,2.0,3.0)' -' type: double' -' expr: COALESCE(2.0,null,3.0)' -' type: double' -' expr: COALESCE(if(true, null, 0),null)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, _col16, _col17' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -66 rows selected ->>> ->>> SELECT COALESCE(1), -COALESCE(1, 2), -COALESCE(NULL, 2), -COALESCE(1, NULL), -COALESCE(NULL, NULL, 3), -COALESCE(4, NULL, NULL, NULL), -COALESCE('1'), -COALESCE('1', '2'), -COALESCE(NULL, '2'), -COALESCE('1', NULL), -COALESCE(NULL, NULL, '3'), -COALESCE('4', NULL, NULL, NULL), -COALESCE(1.0), -COALESCE(1.0, 2.0), -COALESCE(NULL, 2.0), -COALESCE(NULL, 2.0, 3.0), -COALESCE(2.0, NULL, 3.0), -COALESCE(IF(TRUE, NULL, 0), NULL) -FROM src LIMIT 1; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6','_c7','_c8','_c9','_c10','_c11','_c12','_c13','_c14','_c15','_c16','_c17' -'1','1','2','1','3','4','1','1','2','1','3','4','1.0','1.0','2.0','2.0','2.0','' -1 row selected ->>> ->>> EXPLAIN -SELECT COALESCE(src_thrift.lint[1], 999), -COALESCE(src_thrift.lintstring[0].mystring, '999'), -COALESCE(src_thrift.mstringstring['key_2'], '999') -FROM src_thrift; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src_thrift))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION COALESCE ([ (. (TOK_TABLE_OR_COL src_thrift) lint) 1) 999)) (TOK_SELEXPR (TOK_FUNCTION COALESCE (. ([ (. (TOK_TABLE_OR_COL src_thrift) lintstring) 0) mystring) '999')) (TOK_SELEXPR (TOK_FUNCTION COALESCE ([ (. (TOK_TABLE_OR_COL src_thrift) mstringstring) 'key_2') '999')))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src_thrift ' -' TableScan' -' alias: src_thrift' -' Select Operator' -' expressions:' -' expr: COALESCE(lint[1],999)' -' type: int' -' expr: COALESCE(lintstring[0].mystring,'999')' -' type: string' -' expr: COALESCE(mstringstring['key_2'],'999')' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -35 rows selected ->>> ->>> SELECT COALESCE(src_thrift.lint[1], 999), -COALESCE(src_thrift.lintstring[0].mystring, '999'), -COALESCE(src_thrift.mstringstring['key_2'], '999') -FROM src_thrift; -'_c0','_c1','_c2' -'0','0','999' -'2','1','999' -'4','8','value_2' -'6','27','999' -'8','64','999' -'10','125','999' -'12','216','999' -'14','343','999' -'16','512','999' -'18','729','999' -'999','999','999' -11 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_compare_java_string.q.out ql/src/test/results/beelinepositive/udf_compare_java_string.q.out deleted file mode 100644 index 439c488..0000000 --- ql/src/test/results/beelinepositive/udf_compare_java_string.q.out +++ /dev/null @@ -1,33 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_compare_java_string.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_compare_java_string.q ->>> EXPLAIN -CREATE TEMPORARY FUNCTION test_udf_get_java_string AS 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFTestGetJavaString'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_CREATEFUNCTION test_udf_get_java_string 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFTestGetJavaString')' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -'' -'' -10 rows selected ->>> ->>> CREATE TEMPORARY FUNCTION test_udf_get_java_string AS 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFTestGetJavaString'; -No rows affected ->>> ->>> select * from src where value = test_udf_get_java_string("val_66"); -'key','value' -'66','val_66' -1 row selected ->>> select * from (select * from src where value = 'val_66' or value = 'val_8') t where value <> test_udf_get_java_string("val_8"); -'key','value' -'66','val_66' -1 row selected ->>> ->>> ->>> DROP TEMPORARY FUNCTION test_udf_get_java_boolean; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_concat.q.out ql/src/test/results/beelinepositive/udf_concat.q.out deleted file mode 100644 index 3466d7a..0000000 --- ql/src/test/results/beelinepositive/udf_concat.q.out +++ /dev/null @@ -1,31 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_concat.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_concat.q ->>> DESCRIBE FUNCTION concat; -'tab_name' -'concat(str1, str2, ... strN) - returns the concatenation of str1, str2, ... strN or concat(bin1, bin2, ... binN) - returns the concatenation of bytes in binary data bin1, bin2, ... binN' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED concat; -'tab_name' -'concat(str1, str2, ... strN) - returns the concatenation of str1, str2, ... strN or concat(bin1, bin2, ... binN) - returns the concatenation of bytes in binary data bin1, bin2, ... binN' -'Returns NULL if any argument is NULL.' -'Example:' -' > SELECT concat('abc', 'def') FROM src LIMIT 1;' -' 'abcdef'' -5 rows selected ->>> ->>> SELECT -concat('a', 'b'), -concat('a', 'b', 'c'), -concat('a', null, 'c'), -concat(null), -concat('a'), -concat(null, 1, 2), -concat(1, 2, 3, 'a'), -concat(1, 2), -concat(1), -concat('1234', 'abc', 'extra argument') -FROM src LIMIT 1; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6','_c7','_c8','_c9' -'ab','abc','','','a','','123a','12','1','1234abcextra argument' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_concat_insert1.q.out ql/src/test/results/beelinepositive/udf_concat_insert1.q.out deleted file mode 100644 index 8ef9f44..0000000 --- ql/src/test/results/beelinepositive/udf_concat_insert1.q.out +++ /dev/null @@ -1,72 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_concat_insert1.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_concat_insert1.q ->>> CREATE TABLE dest1(key INT, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 SELECT '1234', concat(src.key) WHERE src.key < 100 group by src.key; -'_col0','_col1' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','value' -'1234','0' -'1234','10' -'1234','11' -'1234','12' -'1234','15' -'1234','17' -'1234','18' -'1234','19' -'1234','2' -'1234','20' -'1234','24' -'1234','26' -'1234','27' -'1234','28' -'1234','30' -'1234','33' -'1234','34' -'1234','35' -'1234','37' -'1234','4' -'1234','41' -'1234','42' -'1234','43' -'1234','44' -'1234','47' -'1234','5' -'1234','51' -'1234','53' -'1234','54' -'1234','57' -'1234','58' -'1234','64' -'1234','65' -'1234','66' -'1234','67' -'1234','69' -'1234','70' -'1234','72' -'1234','74' -'1234','76' -'1234','77' -'1234','78' -'1234','8' -'1234','80' -'1234','82' -'1234','83' -'1234','84' -'1234','85' -'1234','86' -'1234','87' -'1234','9' -'1234','90' -'1234','92' -'1234','95' -'1234','96' -'1234','97' -'1234','98' -57 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/udf_concat_insert2.q.out ql/src/test/results/beelinepositive/udf_concat_insert2.q.out deleted file mode 100644 index d46996c..0000000 --- ql/src/test/results/beelinepositive/udf_concat_insert2.q.out +++ /dev/null @@ -1,100 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_concat_insert2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_concat_insert2.q ->>> CREATE TABLE dest1(key STRING, value STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> FROM src -INSERT OVERWRITE TABLE dest1 SELECT concat('1234', 'abc', 'extra argument'), src.value WHERE src.key < 100; -'_c0','value' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'key','value' -'1234abcextra argument','val_86' -'1234abcextra argument','val_27' -'1234abcextra argument','val_98' -'1234abcextra argument','val_66' -'1234abcextra argument','val_37' -'1234abcextra argument','val_15' -'1234abcextra argument','val_82' -'1234abcextra argument','val_17' -'1234abcextra argument','val_0' -'1234abcextra argument','val_57' -'1234abcextra argument','val_20' -'1234abcextra argument','val_92' -'1234abcextra argument','val_47' -'1234abcextra argument','val_72' -'1234abcextra argument','val_4' -'1234abcextra argument','val_35' -'1234abcextra argument','val_54' -'1234abcextra argument','val_51' -'1234abcextra argument','val_65' -'1234abcextra argument','val_83' -'1234abcextra argument','val_12' -'1234abcextra argument','val_67' -'1234abcextra argument','val_84' -'1234abcextra argument','val_58' -'1234abcextra argument','val_8' -'1234abcextra argument','val_24' -'1234abcextra argument','val_42' -'1234abcextra argument','val_0' -'1234abcextra argument','val_96' -'1234abcextra argument','val_26' -'1234abcextra argument','val_51' -'1234abcextra argument','val_43' -'1234abcextra argument','val_95' -'1234abcextra argument','val_98' -'1234abcextra argument','val_85' -'1234abcextra argument','val_77' -'1234abcextra argument','val_0' -'1234abcextra argument','val_87' -'1234abcextra argument','val_15' -'1234abcextra argument','val_72' -'1234abcextra argument','val_90' -'1234abcextra argument','val_19' -'1234abcextra argument','val_10' -'1234abcextra argument','val_5' -'1234abcextra argument','val_58' -'1234abcextra argument','val_35' -'1234abcextra argument','val_95' -'1234abcextra argument','val_11' -'1234abcextra argument','val_34' -'1234abcextra argument','val_42' -'1234abcextra argument','val_78' -'1234abcextra argument','val_76' -'1234abcextra argument','val_41' -'1234abcextra argument','val_30' -'1234abcextra argument','val_64' -'1234abcextra argument','val_76' -'1234abcextra argument','val_74' -'1234abcextra argument','val_69' -'1234abcextra argument','val_33' -'1234abcextra argument','val_70' -'1234abcextra argument','val_5' -'1234abcextra argument','val_2' -'1234abcextra argument','val_35' -'1234abcextra argument','val_80' -'1234abcextra argument','val_44' -'1234abcextra argument','val_53' -'1234abcextra argument','val_90' -'1234abcextra argument','val_12' -'1234abcextra argument','val_5' -'1234abcextra argument','val_70' -'1234abcextra argument','val_24' -'1234abcextra argument','val_70' -'1234abcextra argument','val_83' -'1234abcextra argument','val_26' -'1234abcextra argument','val_67' -'1234abcextra argument','val_18' -'1234abcextra argument','val_9' -'1234abcextra argument','val_18' -'1234abcextra argument','val_97' -'1234abcextra argument','val_84' -'1234abcextra argument','val_28' -'1234abcextra argument','val_37' -'1234abcextra argument','val_90' -'1234abcextra argument','val_97' -84 rows selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/udf_concat_ws.q.out ql/src/test/results/beelinepositive/udf_concat_ws.q.out deleted file mode 100644 index fb300ac..0000000 --- ql/src/test/results/beelinepositive/udf_concat_ws.q.out +++ /dev/null @@ -1,152 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_concat_ws.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_concat_ws.q ->>> DESCRIBE FUNCTION concat_ws; -'tab_name' -'concat_ws(separator, [string | array(string)]+) - returns the concatenation of the strings separated by the separator.' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED concat_ws; -'tab_name' -'concat_ws(separator, [string | array(string)]+) - returns the concatenation of the strings separated by the separator.' -'Example:' -' > SELECT concat_ws('.', 'www', array('facebook', 'com')) FROM src LIMIT 1;' -' 'www.facebook.com'' -4 rows selected ->>> ->>> CREATE TABLE dest1(c1 STRING, c2 STRING, c3 STRING); -No rows affected ->>> ->>> FROM src INSERT OVERWRITE TABLE dest1 SELECT 'abc', 'xyz', '8675309' WHERE src.key = 86; -'_c0','_c1','_c2' -No rows selected ->>> ->>> EXPLAIN -SELECT concat_ws(dest1.c1, dest1.c2, dest1.c3), -concat_ws(',', dest1.c1, dest1.c2, dest1.c3), -concat_ws(NULL, dest1.c1, dest1.c2, dest1.c3), -concat_ws('**', dest1.c1, NULL, dest1.c3) FROM dest1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME dest1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION concat_ws (. (TOK_TABLE_OR_COL dest1) c1) (. (TOK_TABLE_OR_COL dest1) c2) (. (TOK_TABLE_OR_COL dest1) c3))) (TOK_SELEXPR (TOK_FUNCTION concat_ws ',' (. (TOK_TABLE_OR_COL dest1) c1) (. (TOK_TABLE_OR_COL dest1) c2) (. (TOK_TABLE_OR_COL dest1) c3))) (TOK_SELEXPR (TOK_FUNCTION concat_ws TOK_NULL (. (TOK_TABLE_OR_COL dest1) c1) (. (TOK_TABLE_OR_COL dest1) c2) (. (TOK_TABLE_OR_COL dest1) c3))) (TOK_SELEXPR (TOK_FUNCTION concat_ws '**' (. (TOK_TABLE_OR_COL dest1) c1) TOK_NULL (. (TOK_TABLE_OR_COL dest1) c3))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' dest1 ' -' TableScan' -' alias: dest1' -' Select Operator' -' expressions:' -' expr: concat_ws(c1, c2, c3)' -' type: string' -' expr: concat_ws(',', c1, c2, c3)' -' type: string' -' expr: concat_ws(null, c1, c2, c3)' -' type: string' -' expr: concat_ws('**', c1, null, c3)' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -37 rows selected ->>> ->>> SELECT concat_ws(dest1.c1, dest1.c2, dest1.c3), -concat_ws(',', dest1.c1, dest1.c2, dest1.c3), -concat_ws(NULL, dest1.c1, dest1.c2, dest1.c3), -concat_ws('**', dest1.c1, NULL, dest1.c3) FROM dest1; -'_c0','_c1','_c2','_c3' -'xyzabc8675309','abc,xyz,8675309','','abc**8675309' -1 row selected ->>> ->>> -- evalutes function for array of strings ->>> EXPLAIN -SELECT concat_ws('.', array('www', 'face', 'book', 'com'), '1234'), -concat_ws('-', 'www', array('face', 'book', 'com'), '1234'), -concat_ws('F', 'www', array('face', 'book', 'com', '1234')), -concat_ws('_', array('www', 'face'), array('book', 'com', '1234')), -concat_ws('**', 'www', array('face'), array('book', 'com', '1234')), -concat_ws('[]', array('www'), 'face', array('book', 'com', '1234')), -concat_ws('AAA', array('www'), array('face', 'book', 'com'), '1234') FROM dest1 LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME dest1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION concat_ws '.' (TOK_FUNCTION array 'www' 'face' 'book' 'com') '1234')) (TOK_SELEXPR (TOK_FUNCTION concat_ws '-' 'www' (TOK_FUNCTION array 'face' 'book' 'com') '1234')) (TOK_SELEXPR (TOK_FUNCTION concat_ws 'F' 'www' (TOK_FUNCTION array 'face' 'book' 'com' '1234'))) (TOK_SELEXPR (TOK_FUNCTION concat_ws '_' (TOK_FUNCTION array 'www' 'face') (TOK_FUNCTION array 'book' 'com' '1234'))) (TOK_SELEXPR (TOK_FUNCTION concat_ws '**' 'www' (TOK_FUNCTION array 'face') (TOK_FUNCTION array 'book' 'com' '1234'))) (TOK_SELEXPR (TOK_FUNCTION concat_ws '[]' (TOK_FUNCTION array 'www') 'face' (TOK_FUNCTION array 'book' 'com' '1234'))) (TOK_SELEXPR (TOK_FUNCTION concat_ws 'AAA' (TOK_FUNCTION array 'www') (TOK_FUNCTION array 'face' 'book' 'com') '1234'))) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' dest1 ' -' TableScan' -' alias: dest1' -' Select Operator' -' expressions:' -' expr: concat_ws('.', array('www','face','book','com'), '1234')' -' type: string' -' expr: concat_ws('-', 'www', array('face','book','com'), '1234')' -' type: string' -' expr: concat_ws('F', 'www', array('face','book','com','1234'))' -' type: string' -' expr: concat_ws('_', array('www','face'), array('book','com','1234'))' -' type: string' -' expr: concat_ws('**', 'www', array('face'), array('book','com','1234'))' -' type: string' -' expr: concat_ws('[]', array('www'), 'face', array('book','com','1234'))' -' type: string' -' expr: concat_ws('AAA', array('www'), array('face','book','com'), '1234')' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -44 rows selected ->>> ->>> SELECT concat_ws('.', array('www', 'face', 'book', 'com'), '1234'), -concat_ws('-', 'www', array('face', 'book', 'com'), '1234'), -concat_ws('F', 'www', array('face', 'book', 'com', '1234')), -concat_ws('_', array('www', 'face'), array('book', 'com', '1234')), -concat_ws('**', 'www', array('face'), array('book', 'com', '1234')), -concat_ws('[]', array('www'), 'face', array('book', 'com', '1234')), -concat_ws('AAA', array('www'), array('face', 'book', 'com'), '1234') FROM dest1 LIMIT 1; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6' -'www.face.book.com.1234','www-face-book-com-1234','wwwFfaceFbookFcomF1234','www_face_book_com_1234','www**face**book**com**1234','www[]face[]book[]com[]1234','wwwAAAfaceAAAbookAAAcomAAA1234' -1 row selected ->>> ->>> SELECT concat_ws(NULL, array('www', 'face', 'book', 'com'), '1234'), -concat_ws(NULL, 'www', array('face', 'book', 'com'), '1234'), -concat_ws(NULL, 'www', array('face', 'book', 'com', '1234')), -concat_ws(NULL, array('www', 'face'), array('book', 'com', '1234')), -concat_ws(NULL, 'www', array('face'), array('book', 'com', '1234')), -concat_ws(NULL, array('www'), 'face', array('book', 'com', '1234')), -concat_ws(NULL, array('www'), array('face', 'book', 'com'), '1234') FROM dest1 LIMIT 1; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6' -'','','','','','','' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_conv.q.out ql/src/test/results/beelinepositive/udf_conv.q.out deleted file mode 100644 index 5332473..0000000 --- ql/src/test/results/beelinepositive/udf_conv.q.out +++ /dev/null @@ -1,119 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_conv.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_conv.q ->>> DESCRIBE FUNCTION conv; -'tab_name' -'conv(num, from_base, to_base) - convert num from from_base to to_base' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED conv; -'tab_name' -'conv(num, from_base, to_base) - convert num from from_base to to_base' -'If to_base is negative, treat num as a signed integer,otherwise, treat it as an unsigned integer.' -'Example:' -' > SELECT conv('100', 2, 10) FROM src LIMIT 1;' -' '4'' -' > SELECT conv(-10, 16, -10) FROM src LIMIT 1;' -' '16'' -7 rows selected ->>> ->>> -- conv must work on both strings and integers up to 64-bit precision ->>> ->>> -- Some simple conversions to test different bases ->>> SELECT -conv('4521', 10, 36), -conv('22', 10, 10), -conv('110011', 2, 16), -conv('facebook', 36, 16) -FROM src LIMIT 1; -'_c0','_c1','_c2','_c3' -'3HL','22','33','116ED2B2FB4' -1 row selected ->>> ->>> -- Test negative numbers. If to_base is positive, the number should be handled ->>> -- as a two's complement (64-bit) ->>> SELECT -conv('-641', 10, -10), -conv('1011', 2, -16), -conv('-1', 10, 16), -conv('-15', 10, 16) -FROM src LIMIT 1; -'_c0','_c1','_c2','_c3' -'-641','B','FFFFFFFFFFFFFFFF','FFFFFFFFFFFFFFF1' -1 row selected ->>> ->>> -- Test overflow. If a number is two large, the result should be -1 (if signed) ->>> -- or MAX_LONG (if unsigned) ->>> SELECT -conv('9223372036854775807', 36, 16), -conv('9223372036854775807', 36, -16), -conv('-9223372036854775807', 36, 16), -conv('-9223372036854775807', 36, -16) -FROM src LIMIT 1; -'_c0','_c1','_c2','_c3' -'FFFFFFFFFFFFFFFF','-1','FFFFFFFFFFFFFFFF','-1' -1 row selected ->>> ->>> -- Test with invalid input. If one of the bases is invalid, the result should ->>> -- be NULL. If there is an invalid digit in the number, the longest valid ->>> -- prefix should be converted. ->>> SELECT -conv('123455', 3, 10), -conv('131', 1, 5), -conv('515', 5, 100), -conv('10', -2, 2) -FROM src LIMIT 1; -'_c0','_c1','_c2','_c3' -'5','','','' -1 row selected ->>> ->>> -- Perform the same tests with number arguments. ->>> ->>> SELECT -conv(4521, 10, 36), -conv(22, 10, 10), -conv(110011, 2, 16) -FROM src LIMIT 1; -'_c0','_c1','_c2' -'3HL','22','33' -1 row selected ->>> ->>> SELECT -conv(-641, 10, -10), -conv(1011, 2, -16), -conv(-1, 10, 16), -conv(-15, 10, 16) -FROM src LIMIT 1; -'_c0','_c1','_c2','_c3' -'-641','B','FFFFFFFFFFFFFFFF','FFFFFFFFFFFFFFF1' -1 row selected ->>> ->>> SELECT -conv(9223372036854775807, 36, 16), -conv(9223372036854775807, 36, -16), -conv(-9223372036854775807, 36, 16), -conv(-9223372036854775807, 36, -16) -FROM src LIMIT 1; -'_c0','_c1','_c2','_c3' -'FFFFFFFFFFFFFFFF','-1','FFFFFFFFFFFFFFFF','-1' -1 row selected ->>> ->>> SELECT -conv(123455, 3, 10), -conv(131, 1, 5), -conv(515, 5, 100), -conv('10', -2, 2) -FROM src LIMIT 1; -'_c0','_c1','_c2','_c3' -'5','','','' -1 row selected ->>> ->>> -- Make sure that state is properly reset. ->>> ->>> SELECT conv(key, 10, 16), -conv(key, 16, 10) -FROM src LIMIT 3; -'_c0','_c1' -'EE','568' -'56','134' -'137','785' -3 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_cos.q.out ql/src/test/results/beelinepositive/udf_cos.q.out deleted file mode 100644 index a72d8c1..0000000 --- ql/src/test/results/beelinepositive/udf_cos.q.out +++ /dev/null @@ -1,26 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_cos.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_cos.q ->>> DESCRIBE FUNCTION cos; -'tab_name' -'cos(x) - returns the cosine of x (x is in radians)' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED cos; -'tab_name' -'cos(x) - returns the cosine of x (x is in radians)' -'Example:' -' > SELECT cos(0) FROM src LIMIT 1;' -' 1' -4 rows selected ->>> ->>> SELECT cos(null) -FROM src LIMIT 1; -'_c0' -'' -1 row selected ->>> ->>> SELECT cos(0.98), cos(1.57), cos(-0.5) -FROM src LIMIT 1; -'_c0','_c1','_c2' -'0.5570225467662173','7.963267107332633E-4','0.8775825618903728' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_count.q.out ql/src/test/results/beelinepositive/udf_count.q.out deleted file mode 100644 index ea17714..0000000 --- ql/src/test/results/beelinepositive/udf_count.q.out +++ /dev/null @@ -1,347 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_count.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_count.q ->>> DESCRIBE FUNCTION count; -'tab_name' -'count(*) - Returns the total number of retrieved rows, including rows containing NULL values.' -'count(expr) - Returns the number of rows for which the supplied expression is non-NULL.' -'count(DISTINCT expr[, expr...]) - Returns the number of rows for which the supplied expression(s) are unique and non-NULL.' -3 rows selected ->>> DESCRIBE FUNCTION EXTENDED count; -'tab_name' -'count(*) - Returns the total number of retrieved rows, including rows containing NULL values.' -'count(expr) - Returns the number of rows for which the supplied expression is non-NULL.' -'count(DISTINCT expr[, expr...]) - Returns the number of rows for which the supplied expression(s) are unique and non-NULL.' -3 rows selected ->>> ->>> EXPLAIN SELECT count(key) FROM src; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count (TOK_TABLE_OR_COL key))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(key)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -55 rows selected ->>> SELECT count(key) FROM src; -'_c0' -'500' -1 row selected ->>> ->>> EXPLAIN SELECT count(DISTINCT key) FROM src; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL key))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT key)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col0:0._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -61 rows selected ->>> SELECT count(DISTINCT key) FROM src; -'_c0' -'309' -1 row selected ->>> ->>> EXPLAIN SELECT count(DISTINCT key, value) FROM src; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTIONDI count (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL value))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT key, value)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col0:0._col0, KEY._col0:0._col1)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -67 rows selected ->>> SELECT count(DISTINCT key, value) FROM src; -'_c0' -'309' -1 row selected ->>> ->>> EXPLAIN SELECT count(*) FROM src; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTIONSTAR count)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -50 rows selected ->>> SELECT count(*) FROM src; -'_c0' -'500' -1 row selected ->>> ->>> EXPLAIN SELECT count(1) FROM src; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -50 rows selected ->>> SELECT count(1) FROM src; -'_c0' -'500' -1 row selected ->>> ->>> select count(1) from src where false; -'_c0' -'0' -1 row selected ->>> select count(*) from src where false; -'_c0' -'0' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_date_add.q.out ql/src/test/results/beelinepositive/udf_date_add.q.out deleted file mode 100644 index d7f565c..0000000 --- ql/src/test/results/beelinepositive/udf_date_add.q.out +++ /dev/null @@ -1,15 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_date_add.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_date_add.q ->>> DESCRIBE FUNCTION date_add; -'tab_name' -'date_add(start_date, num_days) - Returns the date that is num_days after start_date.' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED date_add; -'tab_name' -'date_add(start_date, num_days) - Returns the date that is num_days after start_date.' -'start_date is a string in the format 'yyyy-MM-dd HH:mm:ss' or 'yyyy-MM-dd'. num_days is a number. The time part of start_date is ignored.' -'Example:' -' > SELECT date_add('2009-07-30', 1) FROM src LIMIT 1;' -' '2009-07-31'' -5 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_date_sub.q.out ql/src/test/results/beelinepositive/udf_date_sub.q.out deleted file mode 100644 index 8004ad5..0000000 --- ql/src/test/results/beelinepositive/udf_date_sub.q.out +++ /dev/null @@ -1,15 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_date_sub.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_date_sub.q ->>> DESCRIBE FUNCTION date_sub; -'tab_name' -'date_sub(start_date, num_days) - Returns the date that is num_days before start_date.' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED date_sub; -'tab_name' -'date_sub(start_date, num_days) - Returns the date that is num_days before start_date.' -'start_date is a string in the format 'yyyy-MM-dd HH:mm:ss' or 'yyyy-MM-dd'. num_days is a number. The time part of start_date is ignored.' -'Example:' -' > SELECT date_sub('2009-07-30', 1) FROM src LIMIT 1;' -' '2009-07-29'' -5 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_datediff.q.out ql/src/test/results/beelinepositive/udf_datediff.q.out deleted file mode 100644 index bc540ad..0000000 --- ql/src/test/results/beelinepositive/udf_datediff.q.out +++ /dev/null @@ -1,15 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_datediff.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_datediff.q ->>> DESCRIBE FUNCTION datediff; -'tab_name' -'datediff(date1, date2) - Returns the number of days between date1 and date2' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED datediff; -'tab_name' -'datediff(date1, date2) - Returns the number of days between date1 and date2' -'date1 and date2 are strings in the format 'yyyy-MM-dd HH:mm:ss' or 'yyyy-MM-dd'. The time parts are ignored.If date1 is earlier than date2, the result is negative.' -'Example:' -' > SELECT datediff('2009-07-30', '2009-07-31') FROM src LIMIT 1;' -' 1' -5 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_day.q.out ql/src/test/results/beelinepositive/udf_day.q.out deleted file mode 100644 index b070b25..0000000 --- ql/src/test/results/beelinepositive/udf_day.q.out +++ /dev/null @@ -1,16 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_day.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_day.q ->>> DESCRIBE FUNCTION day; -'tab_name' -'day(date) - Returns the date of the month of date' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED day; -'tab_name' -'day(date) - Returns the date of the month of date' -'Synonyms: dayofmonth' -'date is a string in the format of 'yyyy-MM-dd HH:mm:ss' or 'yyyy-MM-dd'.' -'Example:' -' > SELECT day('2009-07-30') FROM src LIMIT 1;' -' 30' -6 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_dayofmonth.q.out ql/src/test/results/beelinepositive/udf_dayofmonth.q.out deleted file mode 100644 index dfd2a8c..0000000 --- ql/src/test/results/beelinepositive/udf_dayofmonth.q.out +++ /dev/null @@ -1,16 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_dayofmonth.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_dayofmonth.q ->>> DESCRIBE FUNCTION dayofmonth; -'tab_name' -'dayofmonth(date) - Returns the date of the month of date' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED dayofmonth; -'tab_name' -'dayofmonth(date) - Returns the date of the month of date' -'Synonyms: day' -'date is a string in the format of 'yyyy-MM-dd HH:mm:ss' or 'yyyy-MM-dd'.' -'Example:' -' > SELECT dayofmonth('2009-07-30') FROM src LIMIT 1;' -' 30' -6 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_degrees.q.out ql/src/test/results/beelinepositive/udf_degrees.q.out deleted file mode 100644 index 0591264..0000000 --- ql/src/test/results/beelinepositive/udf_degrees.q.out +++ /dev/null @@ -1,111 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_degrees.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_degrees.q ->>> explain -select degrees(PI()) FROM src LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION degrees (TOK_FUNCTION PI)))) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: degrees(pi())' -' type: double' -' outputColumnNames: _col0' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -32 rows selected ->>> ->>> select degrees(PI()) FROM src LIMIT 1; -'_c0' -'180.0' -1 row selected ->>> ->>> DESCRIBE FUNCTION degrees; -'tab_name' -'degrees(x) - Converts radians to degrees' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED degrees; -'tab_name' -'degrees(x) - Converts radians to degrees' -'Example:' -' > SELECT degrees(30) FROM src LIMIT 1;' -' -1' -'' -5 rows selected ->>> explain -select degrees(PI()) FROM src LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION degrees (TOK_FUNCTION PI)))) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: degrees(pi())' -' type: double' -' outputColumnNames: _col0' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -32 rows selected ->>> ->>> select degrees(PI()) FROM src LIMIT 1; -'_c0' -'180.0' -1 row selected ->>> ->>> DESCRIBE FUNCTION degrees; -'tab_name' -'degrees(x) - Converts radians to degrees' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED degrees; -'tab_name' -'degrees(x) - Converts radians to degrees' -'Example:' -' > SELECT degrees(30) FROM src LIMIT 1;' -' -1' -'' -5 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_div.q.out ql/src/test/results/beelinepositive/udf_div.q.out deleted file mode 100644 index 097f268..0000000 --- ql/src/test/results/beelinepositive/udf_div.q.out +++ /dev/null @@ -1,19 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_div.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_div.q ->>> DESCRIBE FUNCTION div; -'tab_name' -'a div b - Divide a by b rounded to the long integer' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED div; -'tab_name' -'a div b - Divide a by b rounded to the long integer' -'Example:' -' > SELECT 3 div 2 FROM src LIMIT 1;' -' 1' -4 rows selected ->>> ->>> SELECT 3 DIV 2 FROM SRC LIMIT 1; -'_c0' -'1' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_divide.q.out ql/src/test/results/beelinepositive/udf_divide.q.out deleted file mode 100644 index 02af0d8..0000000 --- ql/src/test/results/beelinepositive/udf_divide.q.out +++ /dev/null @@ -1,19 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_divide.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_divide.q ->>> DESCRIBE FUNCTION /; -'tab_name' -'a / b - Divide a by b' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED /; -'tab_name' -'a / b - Divide a by b' -'Example:' -' > SELECT 3 / 2 FROM src LIMIT 1;' -' 1.5' -4 rows selected ->>> ->>> SELECT 3 / 2 FROM SRC LIMIT 1; -'_c0' -'1.5' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_double.q.out ql/src/test/results/beelinepositive/udf_double.q.out deleted file mode 100644 index 8c9a851..0000000 --- ql/src/test/results/beelinepositive/udf_double.q.out +++ /dev/null @@ -1,11 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_double.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_double.q ->>> DESCRIBE FUNCTION double; -'tab_name' -'There is no documentation for function 'double'' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED double; -'tab_name' -'There is no documentation for function 'double'' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_elt.q.out ql/src/test/results/beelinepositive/udf_elt.q.out deleted file mode 100644 index 10e4289..0000000 --- ql/src/test/results/beelinepositive/udf_elt.q.out +++ /dev/null @@ -1,98 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_elt.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_elt.q ->>> DESCRIBE FUNCTION elt; -'tab_name' -'elt(n, str1, str2, ...) - returns the n-th string' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED elt; -'tab_name' -'elt(n, str1, str2, ...) - returns the n-th string' -'Example:' -' > SELECT elt(1, 'face', 'book') FROM src LIMIT 1;' -' 'face'' -4 rows selected ->>> ->>> EXPLAIN -SELECT elt(2, 'abc', 'defg'), -elt(3, 'aa', 'bb', 'cc', 'dd', 'ee', 'ff', 'gg'), -elt('1', 'abc', 'defg'), -elt(2, 'aa', CAST('2' AS TINYINT)), -elt(2, 'aa', CAST('12345' AS SMALLINT)), -elt(2, 'aa', CAST('123456789012' AS BIGINT)), -elt(2, 'aa', CAST(1.25 AS FLOAT)), -elt(2, 'aa', CAST(16.0 AS DOUBLE)), -elt(null, 'abc', 'defg'), -elt(0, 'abc', 'defg'), -elt(3, 'abc', 'defg') -FROM src LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION elt 2 'abc' 'defg')) (TOK_SELEXPR (TOK_FUNCTION elt 3 'aa' 'bb' 'cc' 'dd' 'ee' 'ff' 'gg')) (TOK_SELEXPR (TOK_FUNCTION elt '1' 'abc' 'defg')) (TOK_SELEXPR (TOK_FUNCTION elt 2 'aa' (TOK_FUNCTION TOK_TINYINT '2'))) (TOK_SELEXPR (TOK_FUNCTION elt 2 'aa' (TOK_FUNCTION TOK_SMALLINT '12345'))) (TOK_SELEXPR (TOK_FUNCTION elt 2 'aa' (TOK_FUNCTION TOK_BIGINT '123456789012'))) (TOK_SELEXPR (TOK_FUNCTION elt 2 'aa' (TOK_FUNCTION TOK_FLOAT 1.25))) (TOK_SELEXPR (TOK_FUNCTION elt 2 'aa' (TOK_FUNCTION TOK_DOUBLE 16.0))) (TOK_SELEXPR (TOK_FUNCTION elt TOK_NULL 'abc' 'defg')) (TOK_SELEXPR (TOK_FUNCTION elt 0 'abc' 'defg')) (TOK_SELEXPR (TOK_FUNCTION elt 3 'abc' 'defg'))) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: elt(2, 'abc', 'defg')' -' type: string' -' expr: elt(3, 'aa', 'bb', 'cc', 'dd', 'ee', 'ff', 'gg')' -' type: string' -' expr: elt('1', 'abc', 'defg')' -' type: string' -' expr: elt(2, 'aa', UDFToByte('2'))' -' type: string' -' expr: elt(2, 'aa', UDFToShort('12345'))' -' type: string' -' expr: elt(2, 'aa', UDFToLong('123456789012'))' -' type: string' -' expr: elt(2, 'aa', UDFToFloat(1.25))' -' type: string' -' expr: elt(2, 'aa', 16.0)' -' type: string' -' expr: elt(null, 'abc', 'defg')' -' type: string' -' expr: elt(0, 'abc', 'defg')' -' type: string' -' expr: elt(3, 'abc', 'defg')' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -52 rows selected ->>> ->>> SELECT elt(2, 'abc', 'defg'), -elt(3, 'aa', 'bb', 'cc', 'dd', 'ee', 'ff', 'gg'), -elt('1', 'abc', 'defg'), -elt(2, 'aa', CAST('2' AS TINYINT)), -elt(2, 'aa', CAST('12345' AS SMALLINT)), -elt(2, 'aa', CAST('123456789012' AS BIGINT)), -elt(2, 'aa', CAST(1.25 AS FLOAT)), -elt(2, 'aa', CAST(16.0 AS DOUBLE)), -elt(null, 'abc', 'defg'), -elt(0, 'abc', 'defg'), -elt(3, 'abc', 'defg') -FROM src LIMIT 1; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6','_c7','_c8','_c9','_c10' -'defg','cc','abc','2','12345','123456789012','1.25','16.0','','','' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_equal.q.out ql/src/test/results/beelinepositive/udf_equal.q.out deleted file mode 100644 index 9a3c97a..0000000 --- ql/src/test/results/beelinepositive/udf_equal.q.out +++ /dev/null @@ -1,41 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_equal.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_equal.q ->>> DESCRIBE FUNCTION =; -'tab_name' -'a = b - Returns TRUE if a equals b and false otherwise' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED =; -'tab_name' -'a = b - Returns TRUE if a equals b and false otherwise' -'Synonyms: ==' -2 rows selected ->>> ->>> DESCRIBE FUNCTION ==; -'tab_name' -'a == b - Returns TRUE if a equals b and false otherwise' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED ==; -'tab_name' -'a == b - Returns TRUE if a equals b and false otherwise' -'Synonyms: =' -2 rows selected ->>> ->>> SELECT true=false, false=true, false=false, true=true, NULL=NULL, true=NULL, NULL=true, false=NULL, NULL=false FROM src LIMIT 1; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6','_c7','_c8' -'false','false','true','true','','','','','' -1 row selected ->>> ->>> DESCRIBE FUNCTION <=>; -'tab_name' -'a <=> b - Returns same result with EQUAL(=) operator for non-null operands, but returns TRUE if both are NULL, FALSE if one of the them is NULL' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED <=>; -'tab_name' -'a <=> b - Returns same result with EQUAL(=) operator for non-null operands, but returns TRUE if both are NULL, FALSE if one of the them is NULL' -1 row selected ->>> ->>> SELECT true<=>false, false<=>true, false<=>false, true<=>true, NULL<=>NULL, true<=>NULL, NULL<=>true, false<=>NULL, NULL<=>false FROM src LIMIT 1; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6','_c7','_c8' -'false','false','true','true','true','false','false','false','false' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_exp.q.out ql/src/test/results/beelinepositive/udf_exp.q.out deleted file mode 100644 index 0d42590..0000000 --- ql/src/test/results/beelinepositive/udf_exp.q.out +++ /dev/null @@ -1,14 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_exp.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_exp.q ->>> DESCRIBE FUNCTION exp; -'tab_name' -'exp(x) - Returns e to the power of x' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED exp; -'tab_name' -'exp(x) - Returns e to the power of x' -'Example:' -' > SELECT exp(0) FROM src LIMIT 1;' -' 1' -4 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_field.q.out ql/src/test/results/beelinepositive/udf_field.q.out deleted file mode 100644 index afd6265..0000000 --- ql/src/test/results/beelinepositive/udf_field.q.out +++ /dev/null @@ -1,86 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_field.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_field.q ->>> DESCRIBE FUNCTION field; -'tab_name' -'field(str, str1, str2, ...) - returns the index of str in the str1,str2,... list or 0 if not found' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED field; -'tab_name' -'field(str, str1, str2, ...) - returns the index of str in the str1,str2,... list or 0 if not found' -'All primitive types are supported, arguments are compared using str.equals(x). If str is NULL, the return value is 0.' -2 rows selected ->>> ->>> SELECT -field("x", "a", "b", "c", "d"), -field(NULL, "a", "b", "c", "d"), -field(0, 1, 2, 3, 4) -FROM src LIMIT 1; -'_c0','_c1','_c2' -'0','0','0' -1 row selected ->>> ->>> SELECT -field("a", "a", "b", "c", "d"), -field("b", "a", "b", "c", "d"), -field("c", "a", "b", "c", "d"), -field("d", "a", "b", "c", "d"), -field("d", "a", "b", NULL, "d") -FROM src LIMIT 1; -'_c0','_c1','_c2','_c3','_c4' -'1','2','3','4','4' -1 row selected ->>> ->>> SELECT -field(1, 1, 2, 3, 4), -field(2, 1, 2, 3, 4), -field(3, 1, 2, 3, 4), -field(4, 1, 2, 3, 4), -field(4, 1, 2, NULL, 4) -FROM src LIMIT 1; -'_c0','_c1','_c2','_c3','_c4' -'1','2','3','4','4' -1 row selected ->>> ->>> ->>> CREATE TABLE test_table(col1 STRING, col2 STRING) STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/kv1.txt' INTO TABLE test_table; -No rows affected ->>> ->>> select col1,col2, -field("66",col1), -field("66",col1, col2), -field("val_86",col1, col2), -field(NULL, col1, col2), -field(col1, 66, 88), -field(col1, "66", "88"), -field(col1, "666", "888"), -field(col2, "66", "88"), -field(col1, col2, col1), -field(col1, col2, "66") -from test_table where col1="86" or col1="66"; -'col1','col2','_c2','_c3','_c4','_c5','_c6','_c7','_c8','_c9','_c10','_c11' -'86','val_86','0','0','2','0','0','0','0','0','2','0' -'66','val_66','1','1','0','0','0','1','0','0','2','2' -2 rows selected ->>> ->>> ->>> CREATE TABLE test_table1(col1 int, col2 string) STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/kv1.txt' INTO TABLE test_table1; -No rows affected ->>> ->>> select col1,col2, -field(66,col1), -field(66,col1, col2), -field(86, col2, col1), -field(86, col1, col1), -field(86,col1,n,col2), -field(NULL,col1,n,col2), -field(col1, col2) -from (select col1, col2, NULL as n from test_table1 where col1=86 or col1=66) t; -'col1','col2','_c2','_c3','_c4','_c5','_c6','_c7','_c8' -'86','val_86','0','0','2','1','1','0','0' -'66','val_66','1','1','0','0','0','0','0' -2 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_find_in_set.q.out ql/src/test/results/beelinepositive/udf_find_in_set.q.out deleted file mode 100644 index 2fd80e4..0000000 --- ql/src/test/results/beelinepositive/udf_find_in_set.q.out +++ /dev/null @@ -1,141 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_find_in_set.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_find_in_set.q ->>> DESCRIBE FUNCTION find_in_set; -'tab_name' -'find_in_set(str,str_array) - Returns the first occurrence of str in str_array where str_array is a comma-delimited string. Returns null if either argument is null. Returns 0 if the first argument has any commas.' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED find_in_set; -'tab_name' -'find_in_set(str,str_array) - Returns the first occurrence of str in str_array where str_array is a comma-delimited string. Returns null if either argument is null. Returns 0 if the first argument has any commas.' -'Example:' -' > SELECT find_in_set('ab','abc,b,ab,c,def') FROM src LIMIT 1;' -' 3' -' > SELECT * FROM src1 WHERE NOT find_in_set(key,'311,128,345,956')=0;' -' 311 val_311' -' 128' -7 rows selected ->>> ->>> EXPLAIN -FROM src1 SELECT find_in_set(src1.key,concat(src1.key,',',src1.value)); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION find_in_set (. (TOK_TABLE_OR_COL src1) key) (TOK_FUNCTION concat (. (TOK_TABLE_OR_COL src1) key) ',' (. (TOK_TABLE_OR_COL src1) value)))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Select Operator' -' expressions:' -' expr: find_in_set(key, concat(key, ',', value))' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -31 rows selected ->>> ->>> FROM src1 SELECT find_in_set(src1.key,concat(src1.key,',',src1.value)); -'_c0' -'1' -'1' -'1' -'1' -'1' -'1' -'1' -'1' -'1' -'1' -'1' -'1' -'1' -'1' -'1' -'1' -'1' -'1' -'1' -'1' -'1' -'1' -'1' -'1' -'1' -25 rows selected ->>> ->>> SELECT find_in_set('ab','ab,abc,abcde') FROM src1 LIMIT 1; -'_c0' -'1' -1 row selected ->>> SELECT find_in_set('ab','abc,ab,bbb') FROM src1 LIMIT 1; -'_c0' -'2' -1 row selected ->>> SELECT find_in_set('ab','def,abc,ab') FROM src1 LIMIT 1; -'_c0' -'3' -1 row selected ->>> SELECT find_in_set('ab','abc,abd,abf') FROM src1 LIMIT 1; -'_c0' -'0' -1 row selected ->>> SELECT find_in_set(null,'a,b,c') FROM src1 LIMIT 1; -'_c0' -'' -1 row selected ->>> SELECT find_in_set('a',null) FROM src1 LIMIT 1; -'_c0' -'' -1 row selected ->>> SELECT find_in_set('', '') FROM src1 LIMIT 1; -'_c0' -'1' -1 row selected ->>> SELECT find_in_set('',',') FROM src1 LIMIT 1; -'_c0' -'1' -1 row selected ->>> SELECT find_in_set('','a,,b') FROM src1 LIMIT 1; -'_c0' -'2' -1 row selected ->>> SELECT find_in_set('','a,b,') FROM src1 LIMIT 1; -'_c0' -'3' -1 row selected ->>> SELECT find_in_set(',','a,b,d,') FROM src1 LIMIT 1; -'_c0' -'0' -1 row selected ->>> SELECT find_in_set('a','') FROM src1 LIMIT 1; -'_c0' -'0' -1 row selected ->>> SELECT find_in_set('a,','a,b,c,d') FROM src1 LIMIT 1; -'_c0' -'0' -1 row selected ->>> ->>> SELECT * FROM src1 WHERE NOT find_in_set(key,'311,128,345,2,956')=0; -'key','value' -'311','val_311' -'128','' -2 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_float.q.out ql/src/test/results/beelinepositive/udf_float.q.out deleted file mode 100644 index 3b9bb64..0000000 --- ql/src/test/results/beelinepositive/udf_float.q.out +++ /dev/null @@ -1,11 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_float.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_float.q ->>> DESCRIBE FUNCTION float; -'tab_name' -'There is no documentation for function 'float'' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED float; -'tab_name' -'There is no documentation for function 'float'' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_floor.q.out ql/src/test/results/beelinepositive/udf_floor.q.out deleted file mode 100644 index 8f3ce05..0000000 --- ql/src/test/results/beelinepositive/udf_floor.q.out +++ /dev/null @@ -1,16 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_floor.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_floor.q ->>> DESCRIBE FUNCTION floor; -'tab_name' -'floor(x) - Find the largest integer not greater than x' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED floor; -'tab_name' -'floor(x) - Find the largest integer not greater than x' -'Example:' -' > SELECT floor(-0.1) FROM src LIMIT 1;' -' -1' -' > SELECT floor(5) FROM src LIMIT 1;' -' 5' -6 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_from_unixtime.q.out ql/src/test/results/beelinepositive/udf_from_unixtime.q.out deleted file mode 100644 index 2930d25..0000000 --- ql/src/test/results/beelinepositive/udf_from_unixtime.q.out +++ /dev/null @@ -1,14 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_from_unixtime.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_from_unixtime.q ->>> DESCRIBE FUNCTION from_unixtime; -'tab_name' -'from_unixtime(unix_time, format) - returns unix_time in the specified format' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED from_unixtime; -'tab_name' -'from_unixtime(unix_time, format) - returns unix_time in the specified format' -'Example:' -' > SELECT from_unixtime(0, 'yyyy-MM-dd HH:mm:ss') FROM src LIMIT 1;' -' '1970-01-01 00:00:00'' -4 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_get_json_object.q.out ql/src/test/results/beelinepositive/udf_get_json_object.q.out deleted file mode 100644 index c62d0ae..0000000 --- ql/src/test/results/beelinepositive/udf_get_json_object.q.out +++ /dev/null @@ -1,119 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_get_json_object.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_get_json_object.q ->>> DESCRIBE FUNCTION get_json_object; -'tab_name' -'get_json_object(json_txt, path) - Extract a json object from path ' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED get_json_object; -'tab_name' -'get_json_object(json_txt, path) - Extract a json object from path ' -'Extract json object from a json string based on json path specified, and return json string of the extracted json object. It will return null if the input json string is invalid.' -'A limited version of JSONPath supported:' -' $ : Root object' -' . : Child operator' -' [] : Subscript operator for array' -' * : Wildcard for []' -'Syntax not supported that's worth noticing:' -' '' : Zero length string as key' -' .. : Recursive descent' -' &#064; : Current object/element' -' () : Script expression' -' ?() : Filter (script) expression.' -' [,] : Union operator' -' [start:end:step] : array slice operator' -'' -16 rows selected ->>> ->>> CREATE TABLE dest1(c1 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> FROM src INSERT OVERWRITE TABLE dest1 SELECT ' abc ' WHERE src.key = 86; -'_c0' -No rows selected ->>> ->>> EXPLAIN -SELECT get_json_object(src_json.json, '$.owner') FROM src_json; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src_json))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION get_json_object (. (TOK_TABLE_OR_COL src_json) json) '$.owner')))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src_json ' -' TableScan' -' alias: src_json' -' Select Operator' -' expressions:' -' expr: get_json_object(json, '$.owner')' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -31 rows selected ->>> ->>> SELECT get_json_object(src_json.json, '$') FROM src_json; -'_c0' -'{"store":{"fruit":[{"weight":8,"type":"apple"},{"weight":9,"type":"pear"}],"basket":[[1,2,{"b":"y","a":"x"}],[3,4],[5,6]],"book":[{"author":"Nigel Rees","title":"Sayings of the Century","category":"reference","price":8.95},{"author":"Herman Melville","title":"Moby Dick","category":"fiction","price":8.99,"isbn":"0-553-21311-3"},{"author":"J. R. R. Tolkien","title":"The Lord of the Rings","category":"fiction","reader":[{"age":25,"name":"bob"},{"age":26,"name":"jack"}],"price":22.99,"isbn":"0-395-19395-8"}],"bicycle":{"price":19.95,"color":"red"}},"email":"amy@only_for_json_udf_test.net","owner":"amy","zip code":"94025","fb:testid":"1234"}' -1 row selected ->>> ->>> SELECT get_json_object(src_json.json, '$.owner'), get_json_object(src_json.json, '$.store') FROM src_json; -'_c0','_c1' -'amy','{"fruit":[{"weight":8,"type":"apple"},{"weight":9,"type":"pear"}],"basket":[[1,2,{"b":"y","a":"x"}],[3,4],[5,6]],"book":[{"author":"Nigel Rees","title":"Sayings of the Century","category":"reference","price":8.95},{"author":"Herman Melville","title":"Moby Dick","category":"fiction","price":8.99,"isbn":"0-553-21311-3"},{"author":"J. R. R. Tolkien","title":"The Lord of the Rings","category":"fiction","reader":[{"age":25,"name":"bob"},{"age":26,"name":"jack"}],"price":22.99,"isbn":"0-395-19395-8"}],"bicycle":{"price":19.95,"color":"red"}}' -1 row selected ->>> ->>> SELECT get_json_object(src_json.json, '$.store.bicycle'), get_json_object(src_json.json, '$.store.book') FROM src_json; -'_c0','_c1' -'{"price":19.95,"color":"red"}','[{"author":"Nigel Rees","title":"Sayings of the Century","category":"reference","price":8.95},{"author":"Herman Melville","title":"Moby Dick","category":"fiction","price":8.99,"isbn":"0-553-21311-3"},{"author":"J. R. R. Tolkien","title":"The Lord of the Rings","category":"fiction","reader":[{"age":25,"name":"bob"},{"age":26,"name":"jack"}],"price":22.99,"isbn":"0-395-19395-8"}]' -1 row selected ->>> ->>> SELECT get_json_object(src_json.json, '$.store.book[0]'), get_json_object(src_json.json, '$.store.book[*]') FROM src_json; -'_c0','_c1' -'{"author":"Nigel Rees","title":"Sayings of the Century","category":"reference","price":8.95}','[{"author":"Nigel Rees","title":"Sayings of the Century","category":"reference","price":8.95},{"author":"Herman Melville","title":"Moby Dick","category":"fiction","price":8.99,"isbn":"0-553-21311-3"},{"author":"J. R. R. Tolkien","title":"The Lord of the Rings","category":"fiction","reader":[{"age":25,"name":"bob"},{"age":26,"name":"jack"}],"price":22.99,"isbn":"0-395-19395-8"}]' -1 row selected ->>> ->>> SELECT get_json_object(src_json.json, '$.store.book[0].category'), get_json_object(src_json.json, '$.store.book[*].category'), get_json_object(src_json.json, '$.store.book[*].isbn'), get_json_object(src_json.json, '$.store.book[*].reader') FROM src_json; -'_c0','_c1','_c2','_c3' -'reference','["reference","fiction","fiction"]','["0-553-21311-3","0-395-19395-8"]','[{"age":25,"name":"bob"},{"age":26,"name":"jack"}]' -1 row selected ->>> ->>> SELECT get_json_object(src_json.json, '$.store.book[*].reader[0].age'), get_json_object(src_json.json, '$.store.book[*].reader[*].age') FROM src_json; -'_c0','_c1' -'25','[25,26]' -1 row selected ->>> ->>> SELECT get_json_object(src_json.json, '$.store.basket[0][1]'), get_json_object(src_json.json, '$.store.basket[*]'), get_json_object(src_json.json, '$.store.basket[*][0]'), get_json_object(src_json.json, '$.store.basket[0][*]'), get_json_object(src_json.json, '$.store.basket[*][*]'), get_json_object(src_json.json, '$.store.basket[0][2].b'), get_json_object(src_json.json, '$.store.basket[0][*].b') FROM src_json; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6' -'2','[[1,2,{"b":"y","a":"x"}],[3,4],[5,6]]','1','[1,2,{"b":"y","a":"x"}]','[1,2,{"b":"y","a":"x"},3,4,5,6]','y','["y"]' -1 row selected ->>> ->>> SELECT get_json_object(src_json.json, '$.non_exist_key'), get_json_object(src_json.json, '$..no_recursive'), get_json_object(src_json.json, '$.store.book[10]'), get_json_object(src_json.json, '$.store.book[0].non_exist_key'), get_json_object(src_json.json, '$.store.basket[*].non_exist_key'), get_json_object(src_json.json, '$.store.basket[0][*].non_exist_key') FROM src_json; -'_c0','_c1','_c2','_c3','_c4','_c5' -'','','','','','' -1 row selected ->>> ->>> SELECT get_json_object(src_json.json, '$.zip code') FROM src_json; -'_c0' -'94025' -1 row selected ->>> ->>> SELECT get_json_object(src_json.json, '$.fb:testid') FROM src_json; -'_c0' -'1234' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_greaterthan.q.out ql/src/test/results/beelinepositive/udf_greaterthan.q.out deleted file mode 100644 index 853c6a9..0000000 --- ql/src/test/results/beelinepositive/udf_greaterthan.q.out +++ /dev/null @@ -1,16 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_greaterthan.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_greaterthan.q ->>> DESCRIBE FUNCTION >; -'tab_name' -'a > b - Returns TRUE if a is greater than b' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED >; -'tab_name' -'a > b - Returns TRUE if a is greater than b' -1 row selected ->>> ->>> SELECT true>false, false>true, false>false, true>true FROM src LIMIT 1; -'_c0','_c1','_c2','_c3' -'true','false','false','false' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_greaterthanorequal.q.out ql/src/test/results/beelinepositive/udf_greaterthanorequal.q.out deleted file mode 100644 index 291f185..0000000 --- ql/src/test/results/beelinepositive/udf_greaterthanorequal.q.out +++ /dev/null @@ -1,16 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_greaterthanorequal.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_greaterthanorequal.q ->>> DESCRIBE FUNCTION >=; -'tab_name' -'a >= b - Returns TRUE if a is not smaller than b' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED >=; -'tab_name' -'a >= b - Returns TRUE if a is not smaller than b' -1 row selected ->>> ->>> SELECT true>=false, false>=true, false>=false, true>=true FROM src LIMIT 1; -'_c0','_c1','_c2','_c3' -'true','false','true','true' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_hash.q.out ql/src/test/results/beelinepositive/udf_hash.q.out deleted file mode 100644 index e65a925..0000000 --- ql/src/test/results/beelinepositive/udf_hash.q.out +++ /dev/null @@ -1,83 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_hash.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_hash.q ->>> DESCRIBE FUNCTION hash; -'tab_name' -'hash(a1, a2, ...) - Returns a hash value of the arguments' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED hash; -'tab_name' -'hash(a1, a2, ...) - Returns a hash value of the arguments' -1 row selected ->>> ->>> EXPLAIN -SELECT hash(CAST(1 AS TINYINT)), hash(CAST(2 AS SMALLINT)), -hash(3), hash(CAST('123456789012' AS BIGINT)), -hash(CAST(1.25 AS FLOAT)), hash(CAST(16.0 AS DOUBLE)), -hash('400'), hash('abc'), hash(TRUE), hash(FALSE), -hash(1, 2, 3) -FROM src LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION hash (TOK_FUNCTION TOK_TINYINT 1))) (TOK_SELEXPR (TOK_FUNCTION hash (TOK_FUNCTION TOK_SMALLINT 2))) (TOK_SELEXPR (TOK_FUNCTION hash 3)) (TOK_SELEXPR (TOK_FUNCTION hash (TOK_FUNCTION TOK_BIGINT '123456789012'))) (TOK_SELEXPR (TOK_FUNCTION hash (TOK_FUNCTION TOK_FLOAT 1.25))) (TOK_SELEXPR (TOK_FUNCTION hash (TOK_FUNCTION TOK_DOUBLE 16.0))) (TOK_SELEXPR (TOK_FUNCTION hash '400')) (TOK_SELEXPR (TOK_FUNCTION hash 'abc')) (TOK_SELEXPR (TOK_FUNCTION hash TRUE)) (TOK_SELEXPR (TOK_FUNCTION hash FALSE)) (TOK_SELEXPR (TOK_FUNCTION hash 1 2 3))) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: hash(UDFToByte(1))' -' type: int' -' expr: hash(UDFToShort(2))' -' type: int' -' expr: hash(3)' -' type: int' -' expr: hash(UDFToLong('123456789012'))' -' type: int' -' expr: hash(UDFToFloat(1.25))' -' type: int' -' expr: hash(16.0)' -' type: int' -' expr: hash('400')' -' type: int' -' expr: hash('abc')' -' type: int' -' expr: hash(true)' -' type: int' -' expr: hash(false)' -' type: int' -' expr: hash(1,2,3)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -52 rows selected ->>> ->>> SELECT hash(CAST(1 AS TINYINT)), hash(CAST(2 AS SMALLINT)), -hash(3), hash(CAST('123456789012' AS BIGINT)), -hash(CAST(1.25 AS FLOAT)), hash(CAST(16.0 AS DOUBLE)), -hash('400'), hash('abc'), hash(TRUE), hash(FALSE), -hash(1, 2, 3) -FROM src LIMIT 1; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6','_c7','_c8','_c9','_c10' -'1','2','3','-1097262584','1067450368','1076887552','51508','96354','1','0','1026' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_hex.q.out ql/src/test/results/beelinepositive/udf_hex.q.out deleted file mode 100644 index 83c2ee1..0000000 --- ql/src/test/results/beelinepositive/udf_hex.q.out +++ /dev/null @@ -1,45 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_hex.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_hex.q ->>> DESCRIBE FUNCTION hex; -'tab_name' -'hex(n or str) - Convert the argument to hexadecimal ' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED hex; -'tab_name' -'hex(n or str) - Convert the argument to hexadecimal ' -'If the argument is a string, returns two hex digits for each character in the string.' -'If the argument is a number, returns the hexadecimal representation.' -'Example:' -' > SELECT hex(17) FROM src LIMIT 1;' -' 'H1'' -' > SELECT hex('Facebook') FROM src LIMIT 1;' -' '46616365626F6F6B'' -8 rows selected ->>> ->>> -- If the argument is a string, hex should return a string containing two hex ->>> -- digits for every character in the input. ->>> SELECT -hex('Facebook'), -hex('\0'), -hex('qwertyuiopasdfghjkl') -FROM src LIMIT 1; -'_c0','_c1','_c2' -'46616365626F6F6B','00','71776572747975696F706173646667686A6B6C' -1 row selected ->>> ->>> -- If the argument is a number, hex should convert it to hexadecimal. ->>> SELECT -hex(1), -hex(0), -hex(4207849477) -FROM src LIMIT 1; -'_c0','_c1','_c2' -'1','0','FACEB005' -1 row selected ->>> ->>> -- Negative numbers should be treated as two's complement (64 bit). ->>> SELECT hex(-5) FROM src LIMIT 1; -'_c0' -'FFFFFFFFFFFFFFFB' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_hour.q.out ql/src/test/results/beelinepositive/udf_hour.q.out deleted file mode 100644 index d08b4b4..0000000 --- ql/src/test/results/beelinepositive/udf_hour.q.out +++ /dev/null @@ -1,68 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_hour.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_hour.q ->>> DESCRIBE FUNCTION hour; -'tab_name' -'hour(date) - Returns the hour of date' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED hour; -'tab_name' -'hour(date) - Returns the hour of date' -'date is a string in the format of 'yyyy-MM-dd HH:mm:ss' or 'HH:mm:ss'.' -'Example:' -' > SELECT hour('2009-07-30 12:58:59') FROM src LIMIT 1;' -' 12' -' > SELECT hour('12:58:59') FROM src LIMIT 1;' -' 12' -7 rows selected ->>> ->>> EXPLAIN -SELECT hour('2009-08-07 13:14:15'), hour('13:14:15'), hour('2009-08-07') -FROM src WHERE key = 86; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION hour '2009-08-07 13:14:15')) (TOK_SELEXPR (TOK_FUNCTION hour '13:14:15')) (TOK_SELEXPR (TOK_FUNCTION hour '2009-08-07'))) (TOK_WHERE (= (TOK_TABLE_OR_COL key) 86))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key = 86.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: hour('2009-08-07 13:14:15')' -' type: int' -' expr: hour('13:14:15')' -' type: int' -' expr: hour('2009-08-07')' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -39 rows selected ->>> ->>> SELECT hour('2009-08-07 13:14:15'), hour('13:14:15'), hour('2009-08-07') -FROM src WHERE key = 86; -'_c0','_c1','_c2' -'13','13','' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_if.q.out ql/src/test/results/beelinepositive/udf_if.q.out deleted file mode 100644 index 86f2ea9..0000000 --- ql/src/test/results/beelinepositive/udf_if.q.out +++ /dev/null @@ -1,133 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_if.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_if.q ->>> DESCRIBE FUNCTION if; -'tab_name' -'There is no documentation for function 'if'' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED if; -'tab_name' -'There is no documentation for function 'if'' -1 row selected ->>> ->>> EXPLAIN -SELECT IF(TRUE, 1, 2) AS COL1, -IF(FALSE, CAST(NULL AS STRING), CAST(1 AS STRING)) AS COL2, -IF(1=1, IF(2=2, 1, 2), IF(3=3, 3, 4)) AS COL3, -IF(2=2, 1, NULL) AS COL4, -IF(2=2, NULL, 1) AS COL5, -IF(IF(TRUE, NULL, FALSE), 1, 2) AS COL6 -FROM src LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION IF TRUE 1 2) COL1) (TOK_SELEXPR (TOK_FUNCTION IF FALSE (TOK_FUNCTION TOK_STRING TOK_NULL) (TOK_FUNCTION TOK_STRING 1)) COL2) (TOK_SELEXPR (TOK_FUNCTION IF (= 1 1) (TOK_FUNCTION IF (= 2 2) 1 2) (TOK_FUNCTION IF (= 3 3) 3 4)) COL3) (TOK_SELEXPR (TOK_FUNCTION IF (= 2 2) 1 TOK_NULL) COL4) (TOK_SELEXPR (TOK_FUNCTION IF (= 2 2) TOK_NULL 1) COL5) (TOK_SELEXPR (TOK_FUNCTION IF (TOK_FUNCTION IF TRUE TOK_NULL FALSE) 1 2) COL6)) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: if(true, 1, 2)' -' type: int' -' expr: if(false, UDFToString(null), UDFToString(1))' -' type: string' -' expr: if((1 = 1), if((2 = 2), 1, 2), if((3 = 3), 3, 4))' -' type: int' -' expr: if((2 = 2), 1, null)' -' type: int' -' expr: if((2 = 2), null, 1)' -' type: int' -' expr: if(if(true, null, false), 1, 2)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -42 rows selected ->>> ->>> ->>> SELECT IF(TRUE, 1, 2) AS COL1, -IF(FALSE, CAST(NULL AS STRING), CAST(1 AS STRING)) AS COL2, -IF(1=1, IF(2=2, 1, 2), IF(3=3, 3, 4)) AS COL3, -IF(2=2, 1, NULL) AS COL4, -IF(2=2, NULL, 1) AS COL5, -IF(IF(TRUE, NULL, FALSE), 1, 2) AS COL6 -FROM src LIMIT 1; -'col1','col2','col3','col4','col5','col6' -'1','1','1','1','','2' -1 row selected ->>> ->>> -- Type conversions ->>> EXPLAIN -SELECT IF(TRUE, CAST(128 AS SMALLINT), CAST(1 AS TINYINT)) AS COL1, -IF(FALSE, 1, 1.1) AS COL2, -IF(FALSE, 1, 'ABC') AS COL3, -IF(FALSE, 'ABC', 12.3) AS COL4 -FROM src LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION IF TRUE (TOK_FUNCTION TOK_SMALLINT 128) (TOK_FUNCTION TOK_TINYINT 1)) COL1) (TOK_SELEXPR (TOK_FUNCTION IF FALSE 1 1.1) COL2) (TOK_SELEXPR (TOK_FUNCTION IF FALSE 1 'ABC') COL3) (TOK_SELEXPR (TOK_FUNCTION IF FALSE 'ABC' 12.3) COL4)) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: if(true, UDFToShort(128), UDFToByte(1))' -' type: smallint' -' expr: if(false, 1, 1.1)' -' type: double' -' expr: if(false, 1, 'ABC')' -' type: string' -' expr: if(false, 'ABC', 12.3)' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -38 rows selected ->>> ->>> SELECT IF(TRUE, CAST(128 AS SMALLINT), CAST(1 AS TINYINT)) AS COL1, -IF(FALSE, 1, 1.1) AS COL2, -IF(FALSE, 1, 'ABC') AS COL3, -IF(FALSE, 'ABC', 12.3) AS COL4 -FROM src LIMIT 1; -'col1','col2','col3','col4' -'128','1.1','ABC','12.3' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_in.q.out ql/src/test/results/beelinepositive/udf_in.q.out deleted file mode 100644 index b05565b..0000000 --- ql/src/test/results/beelinepositive/udf_in.q.out +++ /dev/null @@ -1,24 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_in.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_in.q ->>> SELECT 1 IN (1, 2, 3), -4 IN (1, 2, 3), -array(1,2,3) IN (array(1,2,3)), -"bee" IN("aee", "bee", "cee", 1), -"dee" IN("aee", "bee", "cee"), -1 = 1 IN(true, false), -true IN (true, false) = true, -1 IN (1, 2, 3) OR false IN(false), -NULL IN (1, 2, 3), -4 IN (1, 2, 3, NULL), -(1+3) IN (5, 6, (1+2) + 1) FROM src LIMIT 1; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6','_c7','_c8','_c9','_c10' -'true','false','true','true','false','true','true','true','','','true' -1 row selected ->>> ->>> SELECT key FROM src WHERE key IN ("238", 86); -'key' -'238' -'86' -'238' -3 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_in_file.q.out ql/src/test/results/beelinepositive/udf_in_file.q.out deleted file mode 100644 index b43330d..0000000 --- ql/src/test/results/beelinepositive/udf_in_file.q.out +++ /dev/null @@ -1,59 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_in_file.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_in_file.q ->>> DESCRIBE FUNCTION in_file; -'tab_name' -'in_file(str, filename) - Returns true if str appears in the file' -1 row selected ->>> ->>> EXPLAIN -SELECT in_file("303", "../data/files/test2.dat"), -in_file("304", "../data/files/test2.dat"), -in_file(CAST(NULL AS STRING), "../data/files/test2.dat") -FROM src LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION in_file "303" "../data/files/test2.dat")) (TOK_SELEXPR (TOK_FUNCTION in_file "304" "../data/files/test2.dat")) (TOK_SELEXPR (TOK_FUNCTION in_file (TOK_FUNCTION TOK_STRING TOK_NULL) "../data/files/test2.dat"))) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: in_file('303', '../data/files/test2.dat')' -' type: boolean' -' expr: in_file('304', '../data/files/test2.dat')' -' type: boolean' -' expr: in_file(UDFToString(null), '../data/files/test2.dat')' -' type: boolean' -' outputColumnNames: _col0, _col1, _col2' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -36 rows selected ->>> ->>> SELECT in_file("303", "../data/files/test2.dat"), -in_file("304", "../data/files/test2.dat"), -in_file(CAST(NULL AS STRING), "../data/files/test2.dat") -FROM src LIMIT 1; -'_c0','_c1','_c2' -'true','false','' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_index.q.out ql/src/test/results/beelinepositive/udf_index.q.out deleted file mode 100644 index baa876f..0000000 --- ql/src/test/results/beelinepositive/udf_index.q.out +++ /dev/null @@ -1,11 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_index.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_index.q ->>> DESCRIBE FUNCTION `index`; -'tab_name' -'Function '`index`' does not exist.' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED `index`; -'tab_name' -'Function '`index`' does not exist.' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_initcap.q.out ql/src/test/results/beelinepositive/udf_initcap.q.out deleted file mode 100644 index 107a8aa..0000000 --- ql/src/test/results/beelinepositive/udf_initcap.q.out +++ /dev/null @@ -1,14 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_initcap.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_initcap.q ->>> DESCRIBE FUNCTION initcap; -'tab_name' -'initcap(str) - Returns str, with the first letter of each word in uppercase, all other letters in lowercase. Words are delimited by white space.' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED initcap; -'tab_name' -'initcap(str) - Returns str, with the first letter of each word in uppercase, all other letters in lowercase. Words are delimited by white space.' -'Example:' -' > SELECT initcap('tHe soap') FROM src LIMIT 1;' -' 'The Soap'' -5 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_inline.q.out ql/src/test/results/beelinepositive/udf_inline.q.out deleted file mode 100644 index 8dcfee4..0000000 --- ql/src/test/results/beelinepositive/udf_inline.q.out +++ /dev/null @@ -1,64 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_inline.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_inline.q ->>> describe function inline; -'tab_name' -'inline( ARRAY( STRUCT()[,STRUCT()] - explodes and array and struct into a table' -1 row selected ->>> ->>> explain SELECT inline( -ARRAY( -STRUCT (1,'dude!'), -STRUCT (2,'Wheres'), -STRUCT (3,'my car?') -) -) as (id, text) FROM SRC limit 2; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME SRC))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION inline (TOK_FUNCTION ARRAY (TOK_FUNCTION STRUCT 1 'dude!') (TOK_FUNCTION STRUCT 2 'Wheres') (TOK_FUNCTION STRUCT 3 'my car?'))) id text)) (TOK_LIMIT 2)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: array(struct(1,'dude!'),struct(2,'Wheres'),struct(3,'my car?'))' -' type: array>' -' outputColumnNames: _col0' -' UDTF Operator' -' function name: inline' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 2' -'' -'' -34 rows selected ->>> ->>> SELECT inline( -ARRAY( -STRUCT (1,'dude!'), -STRUCT (2,'Wheres'), -STRUCT (3,'my car?') -) -) as (id, text) FROM SRC limit 2; -'id','text' -'1','dude!' -'2','Wheres' -2 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/udf_instr.q.out ql/src/test/results/beelinepositive/udf_instr.q.out deleted file mode 100644 index 5fd7aee..0000000 --- ql/src/test/results/beelinepositive/udf_instr.q.out +++ /dev/null @@ -1,106 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_instr.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_instr.q ->>> DESCRIBE FUNCTION instr; -'tab_name' -'instr(str, substr) - Returns the index of the first occurance of substr in str' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED instr; -'tab_name' -'instr(str, substr) - Returns the index of the first occurance of substr in str' -'Example:' -' > SELECT instr('Facebook', 'boo') FROM src LIMIT 1;' -' 5' -4 rows selected ->>> ->>> EXPLAIN -SELECT instr('abcd', 'abc'), -instr('abcabc', 'ccc'), -instr(123, '23'), -instr(123, 23), -instr(TRUE, 1), -instr(FALSE, 1), -instr('12345', CAST('2' AS TINYINT)), -instr(CAST('12345' AS SMALLINT), '34'), -instr(CAST('123456789012' AS BIGINT), '456'), -instr(CAST(1.25 AS FLOAT), '.25'), -instr(CAST(16.0 AS DOUBLE), '.0'), -instr(null, 'abc'), -instr('abcd', null) -FROM src LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION instr 'abcd' 'abc')) (TOK_SELEXPR (TOK_FUNCTION instr 'abcabc' 'ccc')) (TOK_SELEXPR (TOK_FUNCTION instr 123 '23')) (TOK_SELEXPR (TOK_FUNCTION instr 123 23)) (TOK_SELEXPR (TOK_FUNCTION instr TRUE 1)) (TOK_SELEXPR (TOK_FUNCTION instr FALSE 1)) (TOK_SELEXPR (TOK_FUNCTION instr '12345' (TOK_FUNCTION TOK_TINYINT '2'))) (TOK_SELEXPR (TOK_FUNCTION instr (TOK_FUNCTION TOK_SMALLINT '12345') '34')) (TOK_SELEXPR (TOK_FUNCTION instr (TOK_FUNCTION TOK_BIGINT '123456789012') '456')) (TOK_SELEXPR (TOK_FUNCTION instr (TOK_FUNCTION TOK_FLOAT 1.25) '.25')) (TOK_SELEXPR (TOK_FUNCTION instr (TOK_FUNCTION TOK_DOUBLE 16.0) '.0')) (TOK_SELEXPR (TOK_FUNCTION instr TOK_NULL 'abc')) (TOK_SELEXPR (TOK_FUNCTION instr 'abcd' TOK_NULL))) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: instr('abcd''abc')' -' type: int' -' expr: instr('abcabc''ccc')' -' type: int' -' expr: instr(123'23')' -' type: int' -' expr: instr(12323)' -' type: int' -' expr: instr(true1)' -' type: int' -' expr: instr(false1)' -' type: int' -' expr: instr('12345'UDFToByte('2'))' -' type: int' -' expr: instr(UDFToShort('12345')'34')' -' type: int' -' expr: instr(UDFToLong('123456789012')'456')' -' type: int' -' expr: instr(UDFToFloat(1.25)'.25')' -' type: int' -' expr: instr(16.0'.0')' -' type: int' -' expr: instr(null'abc')' -' type: int' -' expr: instr('abcd'null)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -56 rows selected ->>> ->>> SELECT instr('abcd', 'abc'), -instr('abcabc', 'ccc'), -instr(123, '23'), -instr(123, 23), -instr(TRUE, 1), -instr(FALSE, 1), -instr('12345', CAST('2' AS TINYINT)), -instr(CAST('12345' AS SMALLINT), '34'), -instr(CAST('123456789012' AS BIGINT), '456'), -instr(CAST(1.25 AS FLOAT), '.25'), -instr(CAST(16.0 AS DOUBLE), '.0'), -instr(null, 'abc'), -instr('abcd', null) -FROM src LIMIT 1; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6','_c7','_c8','_c9','_c10','_c11','_c12' -'1','0','2','2','0','0','2','3','4','2','3','','' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_int.q.out ql/src/test/results/beelinepositive/udf_int.q.out deleted file mode 100644 index 659e7a3..0000000 --- ql/src/test/results/beelinepositive/udf_int.q.out +++ /dev/null @@ -1,11 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_int.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_int.q ->>> DESCRIBE FUNCTION int; -'tab_name' -'There is no documentation for function 'int'' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED int; -'tab_name' -'There is no documentation for function 'int'' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_isnotnull.q.out ql/src/test/results/beelinepositive/udf_isnotnull.q.out deleted file mode 100644 index 8aa3258..0000000 --- ql/src/test/results/beelinepositive/udf_isnotnull.q.out +++ /dev/null @@ -1,11 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_isnotnull.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_isnotnull.q ->>> DESCRIBE FUNCTION isnotnull; -'tab_name' -'isnotnull a - Returns true if a is not NULL and false otherwise' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED isnotnull; -'tab_name' -'isnotnull a - Returns true if a is not NULL and false otherwise' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_isnull.q.out ql/src/test/results/beelinepositive/udf_isnull.q.out deleted file mode 100644 index 49fe5e4..0000000 --- ql/src/test/results/beelinepositive/udf_isnull.q.out +++ /dev/null @@ -1,11 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_isnull.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_isnull.q ->>> DESCRIBE FUNCTION isnull; -'tab_name' -'isnull a - Returns true if a is NULL and false otherwise' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED isnull; -'tab_name' -'isnull a - Returns true if a is NULL and false otherwise' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_isnull_isnotnull.q.out ql/src/test/results/beelinepositive/udf_isnull_isnotnull.q.out deleted file mode 100644 index 7eb9484..0000000 --- ql/src/test/results/beelinepositive/udf_isnull_isnotnull.q.out +++ /dev/null @@ -1,142 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_isnull_isnotnull.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_isnull_isnotnull.q ->>> DESCRIBE FUNCTION isnull; -'tab_name' -'isnull a - Returns true if a is NULL and false otherwise' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED isnull; -'tab_name' -'isnull a - Returns true if a is NULL and false otherwise' -1 row selected ->>> ->>> DESCRIBE FUNCTION isnotnull; -'tab_name' -'isnotnull a - Returns true if a is not NULL and false otherwise' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED isnotnull; -'tab_name' -'isnotnull a - Returns true if a is not NULL and false otherwise' -1 row selected ->>> ->>> ->>> EXPLAIN -SELECT NULL IS NULL, -1 IS NOT NULL, -'my string' IS NOT NULL -FROM src -WHERE true IS NOT NULL LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION TOK_ISNULL TOK_NULL)) (TOK_SELEXPR (TOK_FUNCTION TOK_ISNOTNULL 1)) (TOK_SELEXPR (TOK_FUNCTION TOK_ISNOTNULL 'my string'))) (TOK_WHERE (TOK_FUNCTION TOK_ISNOTNULL true)) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: true is not null' -' type: boolean' -' Select Operator' -' expressions:' -' expr: null is null' -' type: boolean' -' expr: 1 is not null' -' type: boolean' -' expr: 'my string' is not null' -' type: boolean' -' outputColumnNames: _col0, _col1, _col2' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -40 rows selected ->>> ->>> ->>> SELECT NULL IS NULL, -1 IS NOT NULL, -'my string' IS NOT NULL -FROM src -WHERE true IS NOT NULL LIMIT 1; -'_c0','_c1','_c2' -'true','true','true' -1 row selected ->>> ->>> ->>> EXPLAIN -FROM src_thrift -SELECT src_thrift.lint IS NOT NULL, -src_thrift.lintstring IS NOT NULL, -src_thrift.mstringstring IS NOT NULL -WHERE src_thrift.lint IS NOT NULL -AND NOT (src_thrift.mstringstring IS NULL) LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src_thrift))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION TOK_ISNOTNULL (. (TOK_TABLE_OR_COL src_thrift) lint))) (TOK_SELEXPR (TOK_FUNCTION TOK_ISNOTNULL (. (TOK_TABLE_OR_COL src_thrift) lintstring))) (TOK_SELEXPR (TOK_FUNCTION TOK_ISNOTNULL (. (TOK_TABLE_OR_COL src_thrift) mstringstring)))) (TOK_WHERE (AND (TOK_FUNCTION TOK_ISNOTNULL (. (TOK_TABLE_OR_COL src_thrift) lint)) (NOT (TOK_FUNCTION TOK_ISNULL (. (TOK_TABLE_OR_COL src_thrift) mstringstring))))) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src_thrift ' -' TableScan' -' alias: src_thrift' -' Filter Operator' -' predicate:' -' expr: (lint is not null and (not mstringstring is null))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: lint is not null' -' type: boolean' -' expr: lintstring is not null' -' type: boolean' -' expr: mstringstring is not null' -' type: boolean' -' outputColumnNames: _col0, _col1, _col2' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -40 rows selected ->>> ->>> ->>> FROM src_thrift -SELECT src_thrift.lint IS NOT NULL, -src_thrift.lintstring IS NOT NULL, -src_thrift.mstringstring IS NOT NULL -WHERE src_thrift.lint IS NOT NULL -AND NOT (src_thrift.mstringstring IS NULL) LIMIT 1; -'_c0','_c1','_c2' -'true','true','true' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_java_method.q.out ql/src/test/results/beelinepositive/udf_java_method.q.out deleted file mode 100644 index 9b3874e..0000000 --- ql/src/test/results/beelinepositive/udf_java_method.q.out +++ /dev/null @@ -1,148 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_java_method.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_java_method.q ->>> DESCRIBE FUNCTION java_method; -'tab_name' -'java_method(class,method[,arg1[,arg2..]]) calls method with reflection' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED java_method; -'tab_name' -'java_method(class,method[,arg1[,arg2..]]) calls method with reflection' -'Synonyms: reflect' -'Use this UDF to call Java methods by matching the argument signature' -'' -4 rows selected ->>> ->>> -- java_method() is a synonym for reflect() ->>> ->>> EXPLAIN EXTENDED -SELECT java_method("java.lang.String", "valueOf", 1), -java_method("java.lang.String", "isEmpty"), -java_method("java.lang.Math", "max", 2, 3), -java_method("java.lang.Math", "min", 2, 3), -java_method("java.lang.Math", "round", 2.5), -java_method("java.lang.Math", "exp", 1.0), -java_method("java.lang.Math", "floor", 1.9) -FROM src LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION java_method "java.lang.String" "valueOf" 1)) (TOK_SELEXPR (TOK_FUNCTION java_method "java.lang.String" "isEmpty")) (TOK_SELEXPR (TOK_FUNCTION java_method "java.lang.Math" "max" 2 3)) (TOK_SELEXPR (TOK_FUNCTION java_method "java.lang.Math" "min" 2 3)) (TOK_SELEXPR (TOK_FUNCTION java_method "java.lang.Math" "round" 2.5)) (TOK_SELEXPR (TOK_FUNCTION java_method "java.lang.Math" "exp" 1.0)) (TOK_SELEXPR (TOK_FUNCTION java_method "java.lang.Math" "floor" 1.9))) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: reflect('java.lang.String','valueOf',1)' -' type: string' -' expr: reflect('java.lang.String','isEmpty')' -' type: string' -' expr: reflect('java.lang.Math','max',2,3)' -' type: string' -' expr: reflect('java.lang.Math','min',2,3)' -' type: string' -' expr: reflect('java.lang.Math','round',2.5)' -' type: string' -' expr: reflect('java.lang.Math','exp',1.0)' -' type: string' -' expr: reflect('java.lang.Math','floor',1.9)' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3,_col4,_col5,_col6' -' columns.types string:string:string:string:string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/udf_java_method.db/src [src]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/udf_java_method.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/udf_java_method.db/src' -' name udf_java_method.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/udf_java_method.db/src' -' name udf_java_method.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: udf_java_method.src' -' name: udf_java_method.src' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -106 rows selected ->>> ->>> ->>> SELECT java_method("java.lang.String", "valueOf", 1), -java_method("java.lang.String", "isEmpty"), -java_method("java.lang.Math", "max", 2, 3), -java_method("java.lang.Math", "min", 2, 3), -java_method("java.lang.Math", "round", 2.5), -java_method("java.lang.Math", "exp", 1.0), -java_method("java.lang.Math", "floor", 1.9) -FROM src LIMIT 1; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6' -'1','true','3','2','3','2.7182818284590455','1.0' -1 row selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/udf_last_day.q.out ql/src/test/results/beelinepositive/udf_last_day.q.out deleted file mode 100644 index c8b9c38..0000000 --- ql/src/test/results/beelinepositive/udf_last_day.q.out +++ /dev/null @@ -1,15 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_last_day.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_last_day.q ->>> DESCRIBE FUNCTION last_day; -'tab_name' -'last_day(date) - Returns the last day of the month which the date belongs to.' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED last_day; -'tab_name' -'date_add(start_date, num_months) - Returns the last day of the month which the date belongs to.' -'date is a string in the format 'yyyy-MM-dd HH:mm:ss' or 'yyyy-MM-dd'. num_months is a number. The time part of date is ignored.' -'Example:' -' > SELECT last_day('2009-01-12') FROM src LIMIT 1;' -' '2009-01-31'' -5 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_lcase.q.out ql/src/test/results/beelinepositive/udf_lcase.q.out deleted file mode 100644 index 6f7ea34..0000000 --- ql/src/test/results/beelinepositive/udf_lcase.q.out +++ /dev/null @@ -1,16 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_lcase.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_lcase.q ->>> DESCRIBE FUNCTION lcase; -'tab_name' -'lcase(str) - Returns str with all characters changed to lowercase' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED lcase; -'tab_name' -'lcase(str) - Returns str with all characters changed to lowercase' -'Synonyms: lower' -'Example:' -' > SELECT lcase('Facebook') FROM src LIMIT 1;' -' 'facebook'' -5 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/udf_length.q.out ql/src/test/results/beelinepositive/udf_length.q.out deleted file mode 100644 index a3cd847..0000000 --- ql/src/test/results/beelinepositive/udf_length.q.out +++ /dev/null @@ -1,186 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_length.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_length.q ->>> DESCRIBE FUNCTION length; -'tab_name' -'length(str | binary) - Returns the length of str or number of bytes in binary data' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED length; -'tab_name' -'length(str | binary) - Returns the length of str or number of bytes in binary data' -'Example:' -' > SELECT length('Facebook') FROM src LIMIT 1;' -' 8' -4 rows selected ->>> ->>> CREATE TABLE dest1(len INT); -No rows affected ->>> EXPLAIN FROM src1 INSERT OVERWRITE TABLE dest1 SELECT length(src1.value); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src1))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION length (. (TOK_TABLE_OR_COL src1) value))))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Select Operator' -' expressions:' -' expr: length(value)' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: udf_length.dest1' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: udf_length.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: udf_length.dest1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: udf_length.dest1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -89 rows selected ->>> FROM src1 INSERT OVERWRITE TABLE dest1 SELECT length(src1.value); -'_c0' -No rows selected ->>> SELECT dest1.* FROM dest1; -'len' -'7' -'0' -'7' -'6' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'0' -'0' -'6' -'0' -'7' -'7' -'7' -'0' -'0' -'0' -25 rows selected ->>> DROP TABLE dest1; -No rows affected ->>> ->>> -- Test with non-ascii characters. ->>> CREATE TABLE dest1(name STRING) STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/kv4.txt' INTO TABLE dest1; -No rows affected ->>> EXPLAIN SELECT length(dest1.name) FROM dest1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME dest1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION length (. (TOK_TABLE_OR_COL dest1) name))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' dest1 ' -' TableScan' -' alias: dest1' -' Select Operator' -' expressions:' -' expr: length(name)' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -31 rows selected ->>> SELECT length(dest1.name) FROM dest1; -'_c0' -'2' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_lessthan.q.out ql/src/test/results/beelinepositive/udf_lessthan.q.out deleted file mode 100644 index f07ac37..0000000 --- ql/src/test/results/beelinepositive/udf_lessthan.q.out +++ /dev/null @@ -1,16 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_lessthan.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_lessthan.q ->>> DESCRIBE FUNCTION <; -'tab_name' -'a < b - Returns TRUE if a is less than b' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED <; -'tab_name' -'a < b - Returns TRUE if a is less than b' -1 row selected ->>> ->>> SELECT true>> !record diff --git ql/src/test/results/beelinepositive/udf_lessthanorequal.q.out ql/src/test/results/beelinepositive/udf_lessthanorequal.q.out deleted file mode 100644 index f05335f..0000000 --- ql/src/test/results/beelinepositive/udf_lessthanorequal.q.out +++ /dev/null @@ -1,16 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_lessthanorequal.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_lessthanorequal.q ->>> DESCRIBE FUNCTION <=; -'tab_name' -'a <= b - Returns TRUE if a is not greater than b' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED <=; -'tab_name' -'a <= b - Returns TRUE if a is not greater than b' -1 row selected ->>> ->>> SELECT true<=false, false<=true, false<=false, true<=true FROM src LIMIT 1; -'_c0','_c1','_c2','_c3' -'false','true','true','true' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_like.q.out ql/src/test/results/beelinepositive/udf_like.q.out deleted file mode 100644 index b1d7e01..0000000 --- ql/src/test/results/beelinepositive/udf_like.q.out +++ /dev/null @@ -1,102 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_like.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_like.q ->>> DESCRIBE FUNCTION like; -'tab_name' -'like(str, pattern) - Checks if str matches pattern' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED like; -'tab_name' -'like(str, pattern) - Checks if str matches pattern' -'Example:' -' > SELECT a.* FROM srcpart a WHERE a.hr like '%2' LIMIT 1;' -' 27 val_27 2008-04-08 12' -4 rows selected ->>> ->>> EXPLAIN -SELECT '_%_' LIKE '%\_\%\_%', '__' LIKE '%\_\%\_%', '%%_%_' LIKE '%\_\%\_%', '%_%_%' LIKE '%\%\_\%', -'_%_' LIKE '\%\_%', '%__' LIKE '__\%%', '_%' LIKE '\_\%\_\%%', '_%' LIKE '\_\%_%', -'%_' LIKE '\%\_', 'ab' LIKE '\%\_', 'ab' LIKE '_a%', 'ab' LIKE 'a','ab' LIKE '','' LIKE '' -FROM src WHERE src.key = 86; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (LIKE '_%_' '%\_\%\_%')) (TOK_SELEXPR (LIKE '__' '%\_\%\_%')) (TOK_SELEXPR (LIKE '%%_%_' '%\_\%\_%')) (TOK_SELEXPR (LIKE '%_%_%' '%\%\_\%')) (TOK_SELEXPR (LIKE '_%_' '\%\_%')) (TOK_SELEXPR (LIKE '%__' '__\%%')) (TOK_SELEXPR (LIKE '_%' '\_\%\_\%%')) (TOK_SELEXPR (LIKE '_%' '\_\%_%')) (TOK_SELEXPR (LIKE '%_' '\%\_')) (TOK_SELEXPR (LIKE 'ab' '\%\_')) (TOK_SELEXPR (LIKE 'ab' '_a%')) (TOK_SELEXPR (LIKE 'ab' 'a')) (TOK_SELEXPR (LIKE 'ab' '')) (TOK_SELEXPR (LIKE '' ''))) (TOK_WHERE (= (. (TOK_TABLE_OR_COL src) key) 86))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key = 86.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: ('_%_' like '%\_\%\_%')' -' type: boolean' -' expr: ('__' like '%\_\%\_%')' -' type: boolean' -' expr: ('%%_%_' like '%\_\%\_%')' -' type: boolean' -' expr: ('%_%_%' like '%\%\_\%')' -' type: boolean' -' expr: ('_%_' like '\%\_%')' -' type: boolean' -' expr: ('%__' like '__\%%')' -' type: boolean' -' expr: ('_%' like '\_\%\_\%%')' -' type: boolean' -' expr: ('_%' like '\_\%_%')' -' type: boolean' -' expr: ('%_' like '\%\_')' -' type: boolean' -' expr: ('ab' like '\%\_')' -' type: boolean' -' expr: ('ab' like '_a%')' -' type: boolean' -' expr: ('ab' like 'a')' -' type: boolean' -' expr: ('ab' like '')' -' type: boolean' -' expr: ('' like '')' -' type: boolean' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -61 rows selected ->>> ->>> SELECT '_%_' LIKE '%\_\%\_%', '__' LIKE '%\_\%\_%', '%%_%_' LIKE '%\_\%\_%', '%_%_%' LIKE '%\%\_\%', -'_%_' LIKE '\%\_%', '%__' LIKE '__\%%', '_%' LIKE '\_\%\_\%%', '_%' LIKE '\_\%_%', -'%_' LIKE '\%\_', 'ab' LIKE '\%\_', 'ab' LIKE '_a%', 'ab' LIKE 'a','ab' LIKE '','' LIKE '' -FROM src WHERE src.key = 86; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6','_c7','_c8','_c9','_c10','_c11','_c12','_c13' -'true','false','true','true','false','false','false','false','true','false','false','false','false','true' -1 row selected ->>> ->>> ->>> SELECT '1+2' LIKE '_+_', -'1+2' LIKE '1+_', -'112' LIKE '1+_', -'|||' LIKE '|_|', -'+++' LIKE '1+_' -FROM src LIMIT 1; -'_c0','_c1','_c2','_c3','_c4' -'true','true','false','true','false' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_ln.q.out ql/src/test/results/beelinepositive/udf_ln.q.out deleted file mode 100644 index 0e6c9ec..0000000 --- ql/src/test/results/beelinepositive/udf_ln.q.out +++ /dev/null @@ -1,14 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_ln.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_ln.q ->>> DESCRIBE FUNCTION ln; -'tab_name' -'ln(x) - Returns the natural logarithm of x' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED ln; -'tab_name' -'ln(x) - Returns the natural logarithm of x' -'Example:' -' > SELECT ln(1) FROM src LIMIT 1;' -' 0' -4 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_locate.q.out ql/src/test/results/beelinepositive/udf_locate.q.out deleted file mode 100644 index 2c26f09..0000000 --- ql/src/test/results/beelinepositive/udf_locate.q.out +++ /dev/null @@ -1,122 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_locate.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_locate.q ->>> DESCRIBE FUNCTION locate; -'tab_name' -'locate(substr, str[, pos]) - Returns the position of the first occurance of substr in str after position pos' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED locate; -'tab_name' -'locate(substr, str[, pos]) - Returns the position of the first occurance of substr in str after position pos' -'Example:' -' > SELECT locate('bar', 'foobarbar', 5) FROM src LIMIT 1;' -' 7' -4 rows selected ->>> ->>> EXPLAIN -SELECT locate('abc', 'abcd'), -locate('ccc', 'abcabc'), -locate('23', 123), -locate(23, 123), -locate('abc', 'abcabc', 2), -locate('abc', 'abcabc', '2'), -locate(1, TRUE), -locate(1, FALSE), -locate(CAST('2' AS TINYINT), '12345'), -locate('34', CAST('12345' AS SMALLINT)), -locate('456', CAST('123456789012' AS BIGINT)), -locate('.25', CAST(1.25 AS FLOAT)), -locate('.0', CAST(16.0 AS DOUBLE)), -locate(null, 'abc'), -locate('abc', null), -locate('abc', 'abcd', null), -locate('abc', 'abcd', 'invalid number') -FROM src LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION locate 'abc' 'abcd')) (TOK_SELEXPR (TOK_FUNCTION locate 'ccc' 'abcabc')) (TOK_SELEXPR (TOK_FUNCTION locate '23' 123)) (TOK_SELEXPR (TOK_FUNCTION locate 23 123)) (TOK_SELEXPR (TOK_FUNCTION locate 'abc' 'abcabc' 2)) (TOK_SELEXPR (TOK_FUNCTION locate 'abc' 'abcabc' '2')) (TOK_SELEXPR (TOK_FUNCTION locate 1 TRUE)) (TOK_SELEXPR (TOK_FUNCTION locate 1 FALSE)) (TOK_SELEXPR (TOK_FUNCTION locate (TOK_FUNCTION TOK_TINYINT '2') '12345')) (TOK_SELEXPR (TOK_FUNCTION locate '34' (TOK_FUNCTION TOK_SMALLINT '12345'))) (TOK_SELEXPR (TOK_FUNCTION locate '456' (TOK_FUNCTION TOK_BIGINT '123456789012'))) (TOK_SELEXPR (TOK_FUNCTION locate '.25' (TOK_FUNCTION TOK_FLOAT 1.25))) (TOK_SELEXPR (TOK_FUNCTION locate '.0' (TOK_FUNCTION TOK_DOUBLE 16.0))) (TOK_SELEXPR (TOK_FUNCTION locate TOK_NULL 'abc')) (TOK_SELEXPR (TOK_FUNCTION locate 'abc' TOK_NULL)) (TOK_SELEXPR (TOK_FUNCTION locate 'abc' 'abcd' TOK_NULL)) (TOK_SELEXPR (TOK_FUNCTION locate 'abc' 'abcd' 'invalid number'))) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: locate('abc''abcd')' -' type: int' -' expr: locate('ccc''abcabc')' -' type: int' -' expr: locate('23'123)' -' type: int' -' expr: locate(23123)' -' type: int' -' expr: locate('abc''abcabc'2)' -' type: int' -' expr: locate('abc''abcabc''2')' -' type: int' -' expr: locate(1true)' -' type: int' -' expr: locate(1false)' -' type: int' -' expr: locate(UDFToByte('2')'12345')' -' type: int' -' expr: locate('34'UDFToShort('12345'))' -' type: int' -' expr: locate('456'UDFToLong('123456789012'))' -' type: int' -' expr: locate('.25'UDFToFloat(1.25))' -' type: int' -' expr: locate('.0'16.0)' -' type: int' -' expr: locate(null'abc')' -' type: int' -' expr: locate('abc'null)' -' type: int' -' expr: locate('abc''abcd'null)' -' type: int' -' expr: locate('abc''abcd''invalid number')' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, _col16' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -64 rows selected ->>> ->>> SELECT locate('abc', 'abcd'), -locate('ccc', 'abcabc'), -locate('23', 123), -locate(23, 123), -locate('abc', 'abcabc', 2), -locate('abc', 'abcabc', '2'), -locate(1, TRUE), -locate(1, FALSE), -locate(CAST('2' AS TINYINT), '12345'), -locate('34', CAST('12345' AS SMALLINT)), -locate('456', CAST('123456789012' AS BIGINT)), -locate('.25', CAST(1.25 AS FLOAT)), -locate('.0', CAST(16.0 AS DOUBLE)), -locate(null, 'abc'), -locate('abc', null), -locate('abc', 'abcd', null), -locate('abc', 'abcd', 'invalid number') -FROM src LIMIT 1; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6','_c7','_c8','_c9','_c10','_c11','_c12','_c13','_c14','_c15','_c16' -'1','0','2','2','4','4','0','0','2','3','4','2','3','','','0','0' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_log.q.out ql/src/test/results/beelinepositive/udf_log.q.out deleted file mode 100644 index 7b5d5a3..0000000 --- ql/src/test/results/beelinepositive/udf_log.q.out +++ /dev/null @@ -1,14 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_log.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_log.q ->>> DESCRIBE FUNCTION log; -'tab_name' -'log([b], x) - Returns the logarithm of x with base b' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED log; -'tab_name' -'log([b], x) - Returns the logarithm of x with base b' -'Example:' -' > SELECT log(13, 13) FROM src LIMIT 1;' -' 1' -4 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_log10.q.out ql/src/test/results/beelinepositive/udf_log10.q.out deleted file mode 100644 index 7128ae6..0000000 --- ql/src/test/results/beelinepositive/udf_log10.q.out +++ /dev/null @@ -1,14 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_log10.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_log10.q ->>> DESCRIBE FUNCTION log10; -'tab_name' -'log10(x) - Returns the logarithm of x with base 10' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED log10; -'tab_name' -'log10(x) - Returns the logarithm of x with base 10' -'Example:' -' > SELECT log10(10) FROM src LIMIT 1;' -' 1' -4 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_log2.q.out ql/src/test/results/beelinepositive/udf_log2.q.out deleted file mode 100644 index d3e2cdd..0000000 --- ql/src/test/results/beelinepositive/udf_log2.q.out +++ /dev/null @@ -1,14 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_log2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_log2.q ->>> DESCRIBE FUNCTION log2; -'tab_name' -'log2(x) - Returns the logarithm of x with base 2' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED log2; -'tab_name' -'log2(x) - Returns the logarithm of x with base 2' -'Example:' -' > SELECT log2(2) FROM src LIMIT 1;' -' 1' -4 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_logic_java_boolean.q.out ql/src/test/results/beelinepositive/udf_logic_java_boolean.q.out deleted file mode 100644 index 02e9cf3..0000000 --- ql/src/test/results/beelinepositive/udf_logic_java_boolean.q.out +++ /dev/null @@ -1,90 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_logic_java_boolean.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_logic_java_boolean.q ->>> EXPLAIN -CREATE TEMPORARY FUNCTION test_udf_get_java_boolean AS 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFTestGetJavaBoolean'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_CREATEFUNCTION test_udf_get_java_boolean 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFTestGetJavaBoolean')' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -'' -'' -10 rows selected ->>> ->>> CREATE TEMPORARY FUNCTION test_udf_get_java_boolean AS 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFTestGetJavaBoolean'; -No rows affected ->>> ->>> select 1 from src where test_udf_get_java_boolean("false") and True limit 1; -'_c0' -No rows selected ->>> select 1 from src where test_udf_get_java_boolean("true") and True limit 1; -'_c0' -'1' -1 row selected ->>> select 1 from src where True and test_udf_get_java_boolean("false") limit 1; -'_c0' -No rows selected ->>> select 1 from src where False and test_udf_get_java_boolean("false") limit 1; -'_c0' -No rows selected ->>> select 1 from src where test_udf_get_java_boolean("true") and test_udf_get_java_boolean("true") limit 1; -'_c0' -'1' -1 row selected ->>> select 1 from src where test_udf_get_java_boolean("true") and test_udf_get_java_boolean("false") limit 1; -'_c0' -No rows selected ->>> select 1 from src where test_udf_get_java_boolean("false") and test_udf_get_java_boolean("true") limit 1; -'_c0' -No rows selected ->>> select 1 from src where test_udf_get_java_boolean("false") and test_udf_get_java_boolean("false") limit 1; -'_c0' -No rows selected ->>> ->>> select 1 from src where test_udf_get_java_boolean("false") or True limit 1; -'_c0' -'1' -1 row selected ->>> select 1 from src where test_udf_get_java_boolean("true") or True limit 1; -'_c0' -'1' -1 row selected ->>> select 1 from src where True or test_udf_get_java_boolean("false") limit 1; -'_c0' -'1' -1 row selected ->>> select 1 from src where False or test_udf_get_java_boolean("false") limit 1; -'_c0' -No rows selected ->>> select 1 from src where test_udf_get_java_boolean("true") or test_udf_get_java_boolean("true") limit 1; -'_c0' -'1' -1 row selected ->>> select 1 from src where test_udf_get_java_boolean("true") or test_udf_get_java_boolean("false") limit 1; -'_c0' -'1' -1 row selected ->>> select 1 from src where test_udf_get_java_boolean("false") or test_udf_get_java_boolean("true") limit 1; -'_c0' -'1' -1 row selected ->>> select 1 from src where test_udf_get_java_boolean("false") or test_udf_get_java_boolean("false") limit 1; -'_c0' -No rows selected ->>> ->>> select 1 from src where not(test_udf_get_java_boolean("false")) limit 1; -'_c0' -'1' -1 row selected ->>> select 1 from src where not(test_udf_get_java_boolean("true")) limit 1; -'_c0' -No rows selected ->>> ->>> ->>> DROP TEMPORARY FUNCTION test_udf_get_java_boolean; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_lower.q.out ql/src/test/results/beelinepositive/udf_lower.q.out deleted file mode 100644 index 3f98083..0000000 --- ql/src/test/results/beelinepositive/udf_lower.q.out +++ /dev/null @@ -1,62 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_lower.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_lower.q ->>> DESCRIBE FUNCTION lower; -'tab_name' -'lower(str) - Returns str with all characters changed to lowercase' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED lower; -'tab_name' -'lower(str) - Returns str with all characters changed to lowercase' -'Synonyms: lcase' -'Example:' -' > SELECT lower('Facebook') FROM src LIMIT 1;' -' 'facebook'' -5 rows selected ->>> ->>> EXPLAIN -SELECT lower('AbC 123'), upper('AbC 123') FROM src WHERE key = 86; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION lower 'AbC 123')) (TOK_SELEXPR (TOK_FUNCTION upper 'AbC 123'))) (TOK_WHERE (= (TOK_TABLE_OR_COL key) 86))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key = 86.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: lower('AbC 123')' -' type: string' -' expr: upper('AbC 123')' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -37 rows selected ->>> ->>> SELECT lower('AbC 123'), upper('AbC 123') FROM src WHERE key = 86; -'_c0','_c1' -'abc 123','ABC 123' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_lpad.q.out ql/src/test/results/beelinepositive/udf_lpad.q.out deleted file mode 100644 index 08e496e..0000000 --- ql/src/test/results/beelinepositive/udf_lpad.q.out +++ /dev/null @@ -1,69 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_lpad.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_lpad.q ->>> DESCRIBE FUNCTION lpad; -'tab_name' -'lpad(str, len, pad) - Returns str, left-padded with pad to a length of len' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED lpad; -'tab_name' -'lpad(str, len, pad) - Returns str, left-padded with pad to a length of len' -'If str is longer than len, the return value is shortened to len characters.' -'Example:' -' > SELECT lpad('hi', 5, '??') FROM src LIMIT 1;' -' '???hi' > SELECT lpad('hi', 1, '??') FROM src LIMIT 1;' -' 'h'' -6 rows selected ->>> ->>> EXPLAIN SELECT -lpad('hi', 1, '?'), -lpad('hi', 5, '.'), -lpad('hi', 6, '123') -FROM src LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION lpad 'hi' 1 '?')) (TOK_SELEXPR (TOK_FUNCTION lpad 'hi' 5 '.')) (TOK_SELEXPR (TOK_FUNCTION lpad 'hi' 6 '123'))) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: lpad('hi', 1, '?')' -' type: string' -' expr: lpad('hi', 5, '.')' -' type: string' -' expr: lpad('hi', 6, '123')' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -36 rows selected ->>> ->>> SELECT -lpad('hi', 1, '?'), -lpad('hi', 5, '.'), -lpad('hi', 6, '123') -FROM src LIMIT 1; -'_c0','_c1','_c2' -'h','...hi','1231hi' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_ltrim.q.out ql/src/test/results/beelinepositive/udf_ltrim.q.out deleted file mode 100644 index 040fe98..0000000 --- ql/src/test/results/beelinepositive/udf_ltrim.q.out +++ /dev/null @@ -1,14 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_ltrim.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_ltrim.q ->>> DESCRIBE FUNCTION ltrim; -'tab_name' -'ltrim(str) - Removes the leading space characters from str ' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED ltrim; -'tab_name' -'ltrim(str) - Removes the leading space characters from str ' -'Example:' -' > SELECT ltrim(' facebook') FROM src LIMIT 1;' -' 'facebook'' -4 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_minute.q.out ql/src/test/results/beelinepositive/udf_minute.q.out deleted file mode 100644 index d146206..0000000 --- ql/src/test/results/beelinepositive/udf_minute.q.out +++ /dev/null @@ -1,68 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_minute.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_minute.q ->>> DESCRIBE FUNCTION minute; -'tab_name' -'minute(date) - Returns the minute of date' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED minute; -'tab_name' -'minute(date) - Returns the minute of date' -'date is a string in the format of 'yyyy-MM-dd HH:mm:ss' or 'HH:mm:ss'.' -'Example:' -' > SELECT minute('2009-07-30 12:58:59') FROM src LIMIT 1;' -' 58' -' > SELECT minute('12:58:59') FROM src LIMIT 1;' -' 58' -7 rows selected ->>> ->>> EXPLAIN -SELECT minute('2009-08-07 13:14:15'), minute('13:14:15'), minute('2009-08-07') -FROM src WHERE key = 86; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION minute '2009-08-07 13:14:15')) (TOK_SELEXPR (TOK_FUNCTION minute '13:14:15')) (TOK_SELEXPR (TOK_FUNCTION minute '2009-08-07'))) (TOK_WHERE (= (TOK_TABLE_OR_COL key) 86))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key = 86.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: minute('2009-08-07 13:14:15')' -' type: int' -' expr: minute('13:14:15')' -' type: int' -' expr: minute('2009-08-07')' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -39 rows selected ->>> ->>> SELECT minute('2009-08-07 13:14:15'), minute('13:14:15'), minute('2009-08-07') -FROM src WHERE key = 86; -'_c0','_c1','_c2' -'14','14','' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_modulo.q.out ql/src/test/results/beelinepositive/udf_modulo.q.out deleted file mode 100644 index 1a353ec..0000000 --- ql/src/test/results/beelinepositive/udf_modulo.q.out +++ /dev/null @@ -1,11 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_modulo.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_modulo.q ->>> DESCRIBE FUNCTION %; -'tab_name' -'a % b - Returns the remainder when dividing a by b' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED %; -'tab_name' -'a % b - Returns the remainder when dividing a by b' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_month.q.out ql/src/test/results/beelinepositive/udf_month.q.out deleted file mode 100644 index 1fb2a3c..0000000 --- ql/src/test/results/beelinepositive/udf_month.q.out +++ /dev/null @@ -1,17 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_month.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_month.q ->>> DESCRIBE FUNCTION minute; -'tab_name' -'minute(date) - Returns the minute of date' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED minute; -'tab_name' -'minute(date) - Returns the minute of date' -'date is a string in the format of 'yyyy-MM-dd HH:mm:ss' or 'HH:mm:ss'.' -'Example:' -' > SELECT minute('2009-07-30 12:58:59') FROM src LIMIT 1;' -' 58' -' > SELECT minute('12:58:59') FROM src LIMIT 1;' -' 58' -7 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_negative.q.out ql/src/test/results/beelinepositive/udf_negative.q.out deleted file mode 100644 index 1ec0f92..0000000 --- ql/src/test/results/beelinepositive/udf_negative.q.out +++ /dev/null @@ -1,46 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_negative.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_negative.q ->>> DESCRIBE FUNCTION negative; -'tab_name' -'negative a - Returns -a' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED negative; -'tab_name' -'negative a - Returns -a' -1 row selected ->>> ->>> -- synonym ->>> DESCRIBE FUNCTION -; -'tab_name' -'a - b - Returns the difference a-b' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED -; -'tab_name' -'a - b - Returns the difference a-b' -1 row selected ->>> ->>> select - null from src limit 1; -'_c0' -'' -1 row selected ->>> select - cast(null as int) from src limit 1; -'_c0' -'' -1 row selected ->>> select - cast(null as smallint) from src limit 1; -'_c0' -'' -1 row selected ->>> select - cast(null as bigint) from src limit 1; -'_c0' -'' -1 row selected ->>> select - cast(null as double) from src limit 1; -'_c0' -'' -1 row selected ->>> select - cast(null as float) from src limit 1; -'_c0' -'' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_not.q.out ql/src/test/results/beelinepositive/udf_not.q.out deleted file mode 100644 index 52c295b..0000000 --- ql/src/test/results/beelinepositive/udf_not.q.out +++ /dev/null @@ -1,23 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_not.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_not.q ->>> DESCRIBE FUNCTION not; -'tab_name' -'not a - Logical not' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED not; -'tab_name' -'not a - Logical not' -'Synonyms: !' -2 rows selected ->>> ->>> -- synonym ->>> DESCRIBE FUNCTION !; -'tab_name' -'! a - Logical not' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED !; -'tab_name' -'! a - Logical not' -'Synonyms: not' -2 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_notequal.q.out ql/src/test/results/beelinepositive/udf_notequal.q.out deleted file mode 100644 index 2e20472..0000000 --- ql/src/test/results/beelinepositive/udf_notequal.q.out +++ /dev/null @@ -1,1120 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_notequal.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_notequal.q ->>> DESCRIBE FUNCTION <>; -'tab_name' -'a <> b - Returns TRUE if a is not equal to b' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED <>; -'tab_name' -'a <> b - Returns TRUE if a is not equal to b' -'Synonyms: !=' -2 rows selected ->>> ->>> DESCRIBE FUNCTION !=; -'tab_name' -'a != b - Returns TRUE if a is not equal to b' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED !=; -'tab_name' -'a != b - Returns TRUE if a is not equal to b' -'Synonyms: <>' -2 rows selected ->>> ->>> EXPLAIN -SELECT key, value -FROM src -WHERE key <> '302'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_WHERE (<> (TOK_TABLE_OR_COL key) '302'))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key <> '302')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -37 rows selected ->>> ->>> SELECT key, value -FROM src -WHERE key <> '302'; -'key','value' -'238','val_238' -'86','val_86' -'311','val_311' -'27','val_27' -'165','val_165' -'409','val_409' -'255','val_255' -'278','val_278' -'98','val_98' -'484','val_484' -'265','val_265' -'193','val_193' -'401','val_401' -'150','val_150' -'273','val_273' -'224','val_224' -'369','val_369' -'66','val_66' -'128','val_128' -'213','val_213' -'146','val_146' -'406','val_406' -'429','val_429' -'374','val_374' -'152','val_152' -'469','val_469' -'145','val_145' -'495','val_495' -'37','val_37' -'327','val_327' -'281','val_281' -'277','val_277' -'209','val_209' -'15','val_15' -'82','val_82' -'403','val_403' -'166','val_166' -'417','val_417' -'430','val_430' -'252','val_252' -'292','val_292' -'219','val_219' -'287','val_287' -'153','val_153' -'193','val_193' -'338','val_338' -'446','val_446' -'459','val_459' -'394','val_394' -'237','val_237' -'482','val_482' -'174','val_174' -'413','val_413' -'494','val_494' -'207','val_207' -'199','val_199' -'466','val_466' -'208','val_208' -'174','val_174' -'399','val_399' -'396','val_396' -'247','val_247' -'417','val_417' -'489','val_489' -'162','val_162' -'377','val_377' -'397','val_397' -'309','val_309' -'365','val_365' -'266','val_266' -'439','val_439' -'342','val_342' -'367','val_367' -'325','val_325' -'167','val_167' -'195','val_195' -'475','val_475' -'17','val_17' -'113','val_113' -'155','val_155' -'203','val_203' -'339','val_339' -'0','val_0' -'455','val_455' -'128','val_128' -'311','val_311' -'316','val_316' -'57','val_57' -'205','val_205' -'149','val_149' -'438','val_438' -'345','val_345' -'129','val_129' -'170','val_170' -'20','val_20' -'489','val_489' -'157','val_157' -'378','val_378' -'221','val_221' -'92','val_92' -'111','val_111' -'47','val_47' -'72','val_72' -'4','val_4' -'280','val_280' -'35','val_35' -'427','val_427' -'277','val_277' -'208','val_208' -'356','val_356' -'399','val_399' -'169','val_169' -'382','val_382' -'498','val_498' -'125','val_125' -'386','val_386' -'437','val_437' -'469','val_469' -'192','val_192' -'286','val_286' -'187','val_187' -'176','val_176' -'54','val_54' -'459','val_459' -'51','val_51' -'138','val_138' -'103','val_103' -'239','val_239' -'213','val_213' -'216','val_216' -'430','val_430' -'278','val_278' -'176','val_176' -'289','val_289' -'221','val_221' -'65','val_65' -'318','val_318' -'332','val_332' -'311','val_311' -'275','val_275' -'137','val_137' -'241','val_241' -'83','val_83' -'333','val_333' -'180','val_180' -'284','val_284' -'12','val_12' -'230','val_230' -'181','val_181' -'67','val_67' -'260','val_260' -'404','val_404' -'384','val_384' -'489','val_489' -'353','val_353' -'373','val_373' -'272','val_272' -'138','val_138' -'217','val_217' -'84','val_84' -'348','val_348' -'466','val_466' -'58','val_58' -'8','val_8' -'411','val_411' -'230','val_230' -'208','val_208' -'348','val_348' -'24','val_24' -'463','val_463' -'431','val_431' -'179','val_179' -'172','val_172' -'42','val_42' -'129','val_129' -'158','val_158' -'119','val_119' -'496','val_496' -'0','val_0' -'322','val_322' -'197','val_197' -'468','val_468' -'393','val_393' -'454','val_454' -'100','val_100' -'298','val_298' -'199','val_199' -'191','val_191' -'418','val_418' -'96','val_96' -'26','val_26' -'165','val_165' -'327','val_327' -'230','val_230' -'205','val_205' -'120','val_120' -'131','val_131' -'51','val_51' -'404','val_404' -'43','val_43' -'436','val_436' -'156','val_156' -'469','val_469' -'468','val_468' -'308','val_308' -'95','val_95' -'196','val_196' -'288','val_288' -'481','val_481' -'457','val_457' -'98','val_98' -'282','val_282' -'197','val_197' -'187','val_187' -'318','val_318' -'318','val_318' -'409','val_409' -'470','val_470' -'137','val_137' -'369','val_369' -'316','val_316' -'169','val_169' -'413','val_413' -'85','val_85' -'77','val_77' -'0','val_0' -'490','val_490' -'87','val_87' -'364','val_364' -'179','val_179' -'118','val_118' -'134','val_134' -'395','val_395' -'282','val_282' -'138','val_138' -'238','val_238' -'419','val_419' -'15','val_15' -'118','val_118' -'72','val_72' -'90','val_90' -'307','val_307' -'19','val_19' -'435','val_435' -'10','val_10' -'277','val_277' -'273','val_273' -'306','val_306' -'224','val_224' -'309','val_309' -'389','val_389' -'327','val_327' -'242','val_242' -'369','val_369' -'392','val_392' -'272','val_272' -'331','val_331' -'401','val_401' -'242','val_242' -'452','val_452' -'177','val_177' -'226','val_226' -'5','val_5' -'497','val_497' -'402','val_402' -'396','val_396' -'317','val_317' -'395','val_395' -'58','val_58' -'35','val_35' -'336','val_336' -'95','val_95' -'11','val_11' -'168','val_168' -'34','val_34' -'229','val_229' -'233','val_233' -'143','val_143' -'472','val_472' -'322','val_322' -'498','val_498' -'160','val_160' -'195','val_195' -'42','val_42' -'321','val_321' -'430','val_430' -'119','val_119' -'489','val_489' -'458','val_458' -'78','val_78' -'76','val_76' -'41','val_41' -'223','val_223' -'492','val_492' -'149','val_149' -'449','val_449' -'218','val_218' -'228','val_228' -'138','val_138' -'453','val_453' -'30','val_30' -'209','val_209' -'64','val_64' -'468','val_468' -'76','val_76' -'74','val_74' -'342','val_342' -'69','val_69' -'230','val_230' -'33','val_33' -'368','val_368' -'103','val_103' -'296','val_296' -'113','val_113' -'216','val_216' -'367','val_367' -'344','val_344' -'167','val_167' -'274','val_274' -'219','val_219' -'239','val_239' -'485','val_485' -'116','val_116' -'223','val_223' -'256','val_256' -'263','val_263' -'70','val_70' -'487','val_487' -'480','val_480' -'401','val_401' -'288','val_288' -'191','val_191' -'5','val_5' -'244','val_244' -'438','val_438' -'128','val_128' -'467','val_467' -'432','val_432' -'202','val_202' -'316','val_316' -'229','val_229' -'469','val_469' -'463','val_463' -'280','val_280' -'2','val_2' -'35','val_35' -'283','val_283' -'331','val_331' -'235','val_235' -'80','val_80' -'44','val_44' -'193','val_193' -'321','val_321' -'335','val_335' -'104','val_104' -'466','val_466' -'366','val_366' -'175','val_175' -'403','val_403' -'483','val_483' -'53','val_53' -'105','val_105' -'257','val_257' -'406','val_406' -'409','val_409' -'190','val_190' -'406','val_406' -'401','val_401' -'114','val_114' -'258','val_258' -'90','val_90' -'203','val_203' -'262','val_262' -'348','val_348' -'424','val_424' -'12','val_12' -'396','val_396' -'201','val_201' -'217','val_217' -'164','val_164' -'431','val_431' -'454','val_454' -'478','val_478' -'298','val_298' -'125','val_125' -'431','val_431' -'164','val_164' -'424','val_424' -'187','val_187' -'382','val_382' -'5','val_5' -'70','val_70' -'397','val_397' -'480','val_480' -'291','val_291' -'24','val_24' -'351','val_351' -'255','val_255' -'104','val_104' -'70','val_70' -'163','val_163' -'438','val_438' -'119','val_119' -'414','val_414' -'200','val_200' -'491','val_491' -'237','val_237' -'439','val_439' -'360','val_360' -'248','val_248' -'479','val_479' -'305','val_305' -'417','val_417' -'199','val_199' -'444','val_444' -'120','val_120' -'429','val_429' -'169','val_169' -'443','val_443' -'323','val_323' -'325','val_325' -'277','val_277' -'230','val_230' -'478','val_478' -'178','val_178' -'468','val_468' -'310','val_310' -'317','val_317' -'333','val_333' -'493','val_493' -'460','val_460' -'207','val_207' -'249','val_249' -'265','val_265' -'480','val_480' -'83','val_83' -'136','val_136' -'353','val_353' -'172','val_172' -'214','val_214' -'462','val_462' -'233','val_233' -'406','val_406' -'133','val_133' -'175','val_175' -'189','val_189' -'454','val_454' -'375','val_375' -'401','val_401' -'421','val_421' -'407','val_407' -'384','val_384' -'256','val_256' -'26','val_26' -'134','val_134' -'67','val_67' -'384','val_384' -'379','val_379' -'18','val_18' -'462','val_462' -'492','val_492' -'100','val_100' -'298','val_298' -'9','val_9' -'341','val_341' -'498','val_498' -'146','val_146' -'458','val_458' -'362','val_362' -'186','val_186' -'285','val_285' -'348','val_348' -'167','val_167' -'18','val_18' -'273','val_273' -'183','val_183' -'281','val_281' -'344','val_344' -'97','val_97' -'469','val_469' -'315','val_315' -'84','val_84' -'28','val_28' -'37','val_37' -'448','val_448' -'152','val_152' -'348','val_348' -'307','val_307' -'194','val_194' -'414','val_414' -'477','val_477' -'222','val_222' -'126','val_126' -'90','val_90' -'169','val_169' -'403','val_403' -'400','val_400' -'200','val_200' -'97','val_97' -499 rows selected ->>> ->>> EXPLAIN -SELECT key, value -FROM src -WHERE key != '302'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_WHERE (!= (TOK_TABLE_OR_COL key) '302'))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key <> '302')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -37 rows selected ->>> ->>> SELECT key, value -FROM src -WHERE key != '302'; -'key','value' -'238','val_238' -'86','val_86' -'311','val_311' -'27','val_27' -'165','val_165' -'409','val_409' -'255','val_255' -'278','val_278' -'98','val_98' -'484','val_484' -'265','val_265' -'193','val_193' -'401','val_401' -'150','val_150' -'273','val_273' -'224','val_224' -'369','val_369' -'66','val_66' -'128','val_128' -'213','val_213' -'146','val_146' -'406','val_406' -'429','val_429' -'374','val_374' -'152','val_152' -'469','val_469' -'145','val_145' -'495','val_495' -'37','val_37' -'327','val_327' -'281','val_281' -'277','val_277' -'209','val_209' -'15','val_15' -'82','val_82' -'403','val_403' -'166','val_166' -'417','val_417' -'430','val_430' -'252','val_252' -'292','val_292' -'219','val_219' -'287','val_287' -'153','val_153' -'193','val_193' -'338','val_338' -'446','val_446' -'459','val_459' -'394','val_394' -'237','val_237' -'482','val_482' -'174','val_174' -'413','val_413' -'494','val_494' -'207','val_207' -'199','val_199' -'466','val_466' -'208','val_208' -'174','val_174' -'399','val_399' -'396','val_396' -'247','val_247' -'417','val_417' -'489','val_489' -'162','val_162' -'377','val_377' -'397','val_397' -'309','val_309' -'365','val_365' -'266','val_266' -'439','val_439' -'342','val_342' -'367','val_367' -'325','val_325' -'167','val_167' -'195','val_195' -'475','val_475' -'17','val_17' -'113','val_113' -'155','val_155' -'203','val_203' -'339','val_339' -'0','val_0' -'455','val_455' -'128','val_128' -'311','val_311' -'316','val_316' -'57','val_57' -'205','val_205' -'149','val_149' -'438','val_438' -'345','val_345' -'129','val_129' -'170','val_170' -'20','val_20' -'489','val_489' -'157','val_157' -'378','val_378' -'221','val_221' -'92','val_92' -'111','val_111' -'47','val_47' -'72','val_72' -'4','val_4' -'280','val_280' -'35','val_35' -'427','val_427' -'277','val_277' -'208','val_208' -'356','val_356' -'399','val_399' -'169','val_169' -'382','val_382' -'498','val_498' -'125','val_125' -'386','val_386' -'437','val_437' -'469','val_469' -'192','val_192' -'286','val_286' -'187','val_187' -'176','val_176' -'54','val_54' -'459','val_459' -'51','val_51' -'138','val_138' -'103','val_103' -'239','val_239' -'213','val_213' -'216','val_216' -'430','val_430' -'278','val_278' -'176','val_176' -'289','val_289' -'221','val_221' -'65','val_65' -'318','val_318' -'332','val_332' -'311','val_311' -'275','val_275' -'137','val_137' -'241','val_241' -'83','val_83' -'333','val_333' -'180','val_180' -'284','val_284' -'12','val_12' -'230','val_230' -'181','val_181' -'67','val_67' -'260','val_260' -'404','val_404' -'384','val_384' -'489','val_489' -'353','val_353' -'373','val_373' -'272','val_272' -'138','val_138' -'217','val_217' -'84','val_84' -'348','val_348' -'466','val_466' -'58','val_58' -'8','val_8' -'411','val_411' -'230','val_230' -'208','val_208' -'348','val_348' -'24','val_24' -'463','val_463' -'431','val_431' -'179','val_179' -'172','val_172' -'42','val_42' -'129','val_129' -'158','val_158' -'119','val_119' -'496','val_496' -'0','val_0' -'322','val_322' -'197','val_197' -'468','val_468' -'393','val_393' -'454','val_454' -'100','val_100' -'298','val_298' -'199','val_199' -'191','val_191' -'418','val_418' -'96','val_96' -'26','val_26' -'165','val_165' -'327','val_327' -'230','val_230' -'205','val_205' -'120','val_120' -'131','val_131' -'51','val_51' -'404','val_404' -'43','val_43' -'436','val_436' -'156','val_156' -'469','val_469' -'468','val_468' -'308','val_308' -'95','val_95' -'196','val_196' -'288','val_288' -'481','val_481' -'457','val_457' -'98','val_98' -'282','val_282' -'197','val_197' -'187','val_187' -'318','val_318' -'318','val_318' -'409','val_409' -'470','val_470' -'137','val_137' -'369','val_369' -'316','val_316' -'169','val_169' -'413','val_413' -'85','val_85' -'77','val_77' -'0','val_0' -'490','val_490' -'87','val_87' -'364','val_364' -'179','val_179' -'118','val_118' -'134','val_134' -'395','val_395' -'282','val_282' -'138','val_138' -'238','val_238' -'419','val_419' -'15','val_15' -'118','val_118' -'72','val_72' -'90','val_90' -'307','val_307' -'19','val_19' -'435','val_435' -'10','val_10' -'277','val_277' -'273','val_273' -'306','val_306' -'224','val_224' -'309','val_309' -'389','val_389' -'327','val_327' -'242','val_242' -'369','val_369' -'392','val_392' -'272','val_272' -'331','val_331' -'401','val_401' -'242','val_242' -'452','val_452' -'177','val_177' -'226','val_226' -'5','val_5' -'497','val_497' -'402','val_402' -'396','val_396' -'317','val_317' -'395','val_395' -'58','val_58' -'35','val_35' -'336','val_336' -'95','val_95' -'11','val_11' -'168','val_168' -'34','val_34' -'229','val_229' -'233','val_233' -'143','val_143' -'472','val_472' -'322','val_322' -'498','val_498' -'160','val_160' -'195','val_195' -'42','val_42' -'321','val_321' -'430','val_430' -'119','val_119' -'489','val_489' -'458','val_458' -'78','val_78' -'76','val_76' -'41','val_41' -'223','val_223' -'492','val_492' -'149','val_149' -'449','val_449' -'218','val_218' -'228','val_228' -'138','val_138' -'453','val_453' -'30','val_30' -'209','val_209' -'64','val_64' -'468','val_468' -'76','val_76' -'74','val_74' -'342','val_342' -'69','val_69' -'230','val_230' -'33','val_33' -'368','val_368' -'103','val_103' -'296','val_296' -'113','val_113' -'216','val_216' -'367','val_367' -'344','val_344' -'167','val_167' -'274','val_274' -'219','val_219' -'239','val_239' -'485','val_485' -'116','val_116' -'223','val_223' -'256','val_256' -'263','val_263' -'70','val_70' -'487','val_487' -'480','val_480' -'401','val_401' -'288','val_288' -'191','val_191' -'5','val_5' -'244','val_244' -'438','val_438' -'128','val_128' -'467','val_467' -'432','val_432' -'202','val_202' -'316','val_316' -'229','val_229' -'469','val_469' -'463','val_463' -'280','val_280' -'2','val_2' -'35','val_35' -'283','val_283' -'331','val_331' -'235','val_235' -'80','val_80' -'44','val_44' -'193','val_193' -'321','val_321' -'335','val_335' -'104','val_104' -'466','val_466' -'366','val_366' -'175','val_175' -'403','val_403' -'483','val_483' -'53','val_53' -'105','val_105' -'257','val_257' -'406','val_406' -'409','val_409' -'190','val_190' -'406','val_406' -'401','val_401' -'114','val_114' -'258','val_258' -'90','val_90' -'203','val_203' -'262','val_262' -'348','val_348' -'424','val_424' -'12','val_12' -'396','val_396' -'201','val_201' -'217','val_217' -'164','val_164' -'431','val_431' -'454','val_454' -'478','val_478' -'298','val_298' -'125','val_125' -'431','val_431' -'164','val_164' -'424','val_424' -'187','val_187' -'382','val_382' -'5','val_5' -'70','val_70' -'397','val_397' -'480','val_480' -'291','val_291' -'24','val_24' -'351','val_351' -'255','val_255' -'104','val_104' -'70','val_70' -'163','val_163' -'438','val_438' -'119','val_119' -'414','val_414' -'200','val_200' -'491','val_491' -'237','val_237' -'439','val_439' -'360','val_360' -'248','val_248' -'479','val_479' -'305','val_305' -'417','val_417' -'199','val_199' -'444','val_444' -'120','val_120' -'429','val_429' -'169','val_169' -'443','val_443' -'323','val_323' -'325','val_325' -'277','val_277' -'230','val_230' -'478','val_478' -'178','val_178' -'468','val_468' -'310','val_310' -'317','val_317' -'333','val_333' -'493','val_493' -'460','val_460' -'207','val_207' -'249','val_249' -'265','val_265' -'480','val_480' -'83','val_83' -'136','val_136' -'353','val_353' -'172','val_172' -'214','val_214' -'462','val_462' -'233','val_233' -'406','val_406' -'133','val_133' -'175','val_175' -'189','val_189' -'454','val_454' -'375','val_375' -'401','val_401' -'421','val_421' -'407','val_407' -'384','val_384' -'256','val_256' -'26','val_26' -'134','val_134' -'67','val_67' -'384','val_384' -'379','val_379' -'18','val_18' -'462','val_462' -'492','val_492' -'100','val_100' -'298','val_298' -'9','val_9' -'341','val_341' -'498','val_498' -'146','val_146' -'458','val_458' -'362','val_362' -'186','val_186' -'285','val_285' -'348','val_348' -'167','val_167' -'18','val_18' -'273','val_273' -'183','val_183' -'281','val_281' -'344','val_344' -'97','val_97' -'469','val_469' -'315','val_315' -'84','val_84' -'28','val_28' -'37','val_37' -'448','val_448' -'152','val_152' -'348','val_348' -'307','val_307' -'194','val_194' -'414','val_414' -'477','val_477' -'222','val_222' -'126','val_126' -'90','val_90' -'169','val_169' -'403','val_403' -'400','val_400' -'200','val_200' -'97','val_97' -499 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_notop.q.out ql/src/test/results/beelinepositive/udf_notop.q.out deleted file mode 100644 index ae850de..0000000 --- ql/src/test/results/beelinepositive/udf_notop.q.out +++ /dev/null @@ -1,16 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_notop.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_notop.q ->>> SELECT 1 NOT IN (1, 2, 3), -4 NOT IN (1, 2, 3), -1 = 2 NOT IN (true, false), -"abc" NOT LIKE "a%", -"abc" NOT LIKE "b%", -"abc" NOT RLIKE "^ab", -"abc" NOT RLIKE "^bc", -"abc" NOT REGEXP "^ab", -"abc" NOT REGEXP "^bc", -1 IN (1, 2) AND "abc" NOT LIKE "bc%" FROM src LIMIT 1; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6','_c7','_c8','_c9' -'false','true','false','false','true','false','true','false','true','true' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_or.q.out ql/src/test/results/beelinepositive/udf_or.q.out deleted file mode 100644 index 644cd4a..0000000 --- ql/src/test/results/beelinepositive/udf_or.q.out +++ /dev/null @@ -1,11 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_or.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_or.q ->>> DESCRIBE FUNCTION or; -'tab_name' -'a or b - Logical or' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED or; -'tab_name' -'a or b - Logical or' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_parse_url.q.out ql/src/test/results/beelinepositive/udf_parse_url.q.out deleted file mode 100644 index defdc25..0000000 --- ql/src/test/results/beelinepositive/udf_parse_url.q.out +++ /dev/null @@ -1,107 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_parse_url.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_parse_url.q ->>> DESCRIBE FUNCTION parse_url; -'tab_name' -'parse_url(url, partToExtract[, key]) - extracts a part from a URL' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED parse_url; -'tab_name' -'parse_url(url, partToExtract[, key]) - extracts a part from a URL' -'Parts: HOST, PATH, QUERY, REF, PROTOCOL, AUTHORITY, FILE, USERINFO' -'key specifies which query to extract' -'Example:' -' > SELECT parse_url('http://facebook.com/path/p1.php?query=1', 'HOST') FROM src LIMIT 1;' -' 'facebook.com'' -' > SELECT parse_url('http://facebook.com/path/p1.php?query=1', 'QUERY') FROM src LIMIT 1;' -' 'query=1'' -' > SELECT parse_url('http://facebook.com/path/p1.php?query=1', 'QUERY', 'query') FROM src LIMIT 1;' -' '1'' -10 rows selected ->>> ->>> EXPLAIN -SELECT parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'HOST'), -parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'PATH'), -parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'QUERY') , -parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'REF') , -parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'QUERY', 'k2') , -parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'QUERY', 'k1') , -parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'QUERY', 'k3') , -parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'FILE') , -parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'PROTOCOL') , -parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'USERINFO') , -parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'AUTHORITY') -FROM src WHERE key = 86; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION parse_url 'http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1' 'HOST')) (TOK_SELEXPR (TOK_FUNCTION parse_url 'http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1' 'PATH')) (TOK_SELEXPR (TOK_FUNCTION parse_url 'http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1' 'QUERY')) (TOK_SELEXPR (TOK_FUNCTION parse_url 'http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1' 'REF')) (TOK_SELEXPR (TOK_FUNCTION parse_url 'http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1' 'QUERY' 'k2')) (TOK_SELEXPR (TOK_FUNCTION parse_url 'http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1' 'QUERY' 'k1')) (TOK_SELEXPR (TOK_FUNCTION parse_url 'http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1' 'QUERY' 'k3')) (TOK_SELEXPR (TOK_FUNCTION parse_url 'http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1' 'FILE')) (TOK_SELEXPR (TOK_FUNCTION parse_url 'http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1' 'PROTOCOL')) (TOK_SELEXPR (TOK_FUNCTION parse_url 'http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1' 'USERINFO')) (TOK_SELEXPR (TOK_FUNCTION parse_url 'http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1' 'AUTHORITY'))) (TOK_WHERE (= (TOK_TABLE_OR_COL key) 86))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key = 86.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'HOST')' -' type: string' -' expr: parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'PATH')' -' type: string' -' expr: parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'QUERY')' -' type: string' -' expr: parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'REF')' -' type: string' -' expr: parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'QUERY', 'k2')' -' type: string' -' expr: parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'QUERY', 'k1')' -' type: string' -' expr: parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'QUERY', 'k3')' -' type: string' -' expr: parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'FILE')' -' type: string' -' expr: parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'PROTOCOL')' -' type: string' -' expr: parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'USERINFO')' -' type: string' -' expr: parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'AUTHORITY')' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -55 rows selected ->>> ->>> SELECT parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'HOST'), -parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'PATH'), -parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'QUERY') , -parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'REF') , -parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'QUERY', 'k2') , -parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'QUERY', 'k1') , -parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'QUERY', 'k3') , -parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'FILE') , -parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'PROTOCOL') , -parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'USERINFO') , -parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'AUTHORITY') -FROM src WHERE key = 86; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6','_c7','_c8','_c9','_c10' -'facebook.com','/path1/p.php','k1=v1&k2=v2','Ref1','v2','v1','','/path1/p.php?k1=v1&k2=v2','http','','facebook.com' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_pmod.q.out ql/src/test/results/beelinepositive/udf_pmod.q.out deleted file mode 100644 index 8fefdcb..0000000 --- ql/src/test/results/beelinepositive/udf_pmod.q.out +++ /dev/null @@ -1,29 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_pmod.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_pmod.q ->>> DESCRIBE FUNCTION pmod; -'tab_name' -'a pmod b - Compute the positive modulo' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED pmod; -'tab_name' -'a pmod b - Compute the positive modulo' -1 row selected ->>> ->>> SELECT pmod(null, null) -FROM src LIMIT 1; -'_c0' -'' -1 row selected ->>> ->>> SELECT pmod(-100,9), pmod(-50,101), pmod(-1000,29) -FROM src LIMIT 1; -'_c0','_c1','_c2' -'8','51','15' -1 row selected ->>> ->>> SELECT pmod(100,19), pmod(50,125), pmod(300,15) -FROM src LIMIT 1; -'_c0','_c1','_c2' -'5','50','0' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_positive.q.out ql/src/test/results/beelinepositive/udf_positive.q.out deleted file mode 100644 index 7f89c8d..0000000 --- ql/src/test/results/beelinepositive/udf_positive.q.out +++ /dev/null @@ -1,21 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_positive.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_positive.q ->>> DESCRIBE FUNCTION positive; -'tab_name' -'positive a - Returns a' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED positive; -'tab_name' -'positive a - Returns a' -1 row selected ->>> ->>> -- synonym ->>> DESCRIBE FUNCTION +; -'tab_name' -'a + b - Returns a+b' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED +; -'tab_name' -'a + b - Returns a+b' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_pow.q.out ql/src/test/results/beelinepositive/udf_pow.q.out deleted file mode 100644 index d90ad75..0000000 --- ql/src/test/results/beelinepositive/udf_pow.q.out +++ /dev/null @@ -1,15 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_pow.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_pow.q ->>> DESCRIBE FUNCTION pow; -'tab_name' -'pow(x1, x2) - raise x1 to the power of x2' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED pow; -'tab_name' -'pow(x1, x2) - raise x1 to the power of x2' -'Synonyms: power' -'Example:' -' > SELECT pow(2, 3) FROM src LIMIT 1;' -' 8' -5 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_power.q.out ql/src/test/results/beelinepositive/udf_power.q.out deleted file mode 100644 index 061891c..0000000 --- ql/src/test/results/beelinepositive/udf_power.q.out +++ /dev/null @@ -1,15 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_power.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_power.q ->>> DESCRIBE FUNCTION power; -'tab_name' -'power(x1, x2) - raise x1 to the power of x2' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED power; -'tab_name' -'power(x1, x2) - raise x1 to the power of x2' -'Synonyms: pow' -'Example:' -' > SELECT power(2, 3) FROM src LIMIT 1;' -' 8' -5 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_radians.q.out ql/src/test/results/beelinepositive/udf_radians.q.out deleted file mode 100644 index 22171f6..0000000 --- ql/src/test/results/beelinepositive/udf_radians.q.out +++ /dev/null @@ -1,119 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_radians.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_radians.q ->>> explain -select radians(57.2958) FROM src LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION radians 57.2958))) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: radians(57.2958)' -' type: double' -' outputColumnNames: _col0' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -32 rows selected ->>> ->>> select radians(57.2958) FROM src LIMIT 1; -'_c0' -'1.000000357564167' -1 row selected ->>> select radians(143.2394) FROM src LIMIT 1; -'_c0' -'2.4999991485811655' -1 row selected ->>> ->>> DESCRIBE FUNCTION radians; -'tab_name' -'radians(x) - Converts degrees to radians' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED radians; -'tab_name' -'radians(x) - Converts degrees to radians' -'Example:' -' > SELECT radians(90) FROM src LIMIT 1;' -' 1.5707963267949mo' -'' -5 rows selected ->>> explain -select radians(57.2958) FROM src LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION radians 57.2958))) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: radians(57.2958)' -' type: double' -' outputColumnNames: _col0' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -32 rows selected ->>> ->>> select radians(57.2958) FROM src LIMIT 1; -'_c0' -'1.000000357564167' -1 row selected ->>> select radians(143.2394) FROM src LIMIT 1; -'_c0' -'2.4999991485811655' -1 row selected ->>> ->>> DESCRIBE FUNCTION radians; -'tab_name' -'radians(x) - Converts degrees to radians' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED radians; -'tab_name' -'radians(x) - Converts degrees to radians' -'Example:' -' > SELECT radians(90) FROM src LIMIT 1;' -' 1.5707963267949mo' -'' -5 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_rand.q.out ql/src/test/results/beelinepositive/udf_rand.q.out deleted file mode 100644 index 18bc69c..0000000 --- ql/src/test/results/beelinepositive/udf_rand.q.out +++ /dev/null @@ -1,11 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_rand.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_rand.q ->>> DESCRIBE FUNCTION rand; -'tab_name' -'rand([seed]) - Returns a pseudorandom number between 0 and 1' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED rand; -'tab_name' -'rand([seed]) - Returns a pseudorandom number between 0 and 1' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_reflect.q.out ql/src/test/results/beelinepositive/udf_reflect.q.out deleted file mode 100644 index d7bc069..0000000 --- ql/src/test/results/beelinepositive/udf_reflect.q.out +++ /dev/null @@ -1,145 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_reflect.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_reflect.q ->>> DESCRIBE FUNCTION reflect; -'tab_name' -'reflect(class,method[,arg1[,arg2..]]) calls method with reflection' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED reflect; -'tab_name' -'reflect(class,method[,arg1[,arg2..]]) calls method with reflection' -'Synonyms: java_method' -'Use this UDF to call Java methods by matching the argument signature' -'' -4 rows selected ->>> ->>> EXPLAIN EXTENDED -SELECT reflect("java.lang.String", "valueOf", 1), -reflect("java.lang.String", "isEmpty"), -reflect("java.lang.Math", "max", 2, 3), -reflect("java.lang.Math", "min", 2, 3), -reflect("java.lang.Math", "round", 2.5), -reflect("java.lang.Math", "exp", 1.0), -reflect("java.lang.Math", "floor", 1.9) -FROM src LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION reflect "java.lang.String" "valueOf" 1)) (TOK_SELEXPR (TOK_FUNCTION reflect "java.lang.String" "isEmpty")) (TOK_SELEXPR (TOK_FUNCTION reflect "java.lang.Math" "max" 2 3)) (TOK_SELEXPR (TOK_FUNCTION reflect "java.lang.Math" "min" 2 3)) (TOK_SELEXPR (TOK_FUNCTION reflect "java.lang.Math" "round" 2.5)) (TOK_SELEXPR (TOK_FUNCTION reflect "java.lang.Math" "exp" 1.0)) (TOK_SELEXPR (TOK_FUNCTION reflect "java.lang.Math" "floor" 1.9))) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: reflect('java.lang.String','valueOf',1)' -' type: string' -' expr: reflect('java.lang.String','isEmpty')' -' type: string' -' expr: reflect('java.lang.Math','max',2,3)' -' type: string' -' expr: reflect('java.lang.Math','min',2,3)' -' type: string' -' expr: reflect('java.lang.Math','round',2.5)' -' type: string' -' expr: reflect('java.lang.Math','exp',1.0)' -' type: string' -' expr: reflect('java.lang.Math','floor',1.9)' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3,_col4,_col5,_col6' -' columns.types string:string:string:string:string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/udf_reflect.db/src [src]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/udf_reflect.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/udf_reflect.db/src' -' name udf_reflect.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/udf_reflect.db/src' -' name udf_reflect.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: udf_reflect.src' -' name: udf_reflect.src' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -106 rows selected ->>> ->>> ->>> SELECT reflect("java.lang.String", "valueOf", 1), -reflect("java.lang.String", "isEmpty"), -reflect("java.lang.Math", "max", 2, 3), -reflect("java.lang.Math", "min", 2, 3), -reflect("java.lang.Math", "round", 2.5), -reflect("java.lang.Math", "exp", 1.0), -reflect("java.lang.Math", "floor", 1.9) -FROM src LIMIT 1; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6' -'1','true','3','2','3','2.7182818284590455','1.0' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_regexp.q.out ql/src/test/results/beelinepositive/udf_regexp.q.out deleted file mode 100644 index 28098c6..0000000 --- ql/src/test/results/beelinepositive/udf_regexp.q.out +++ /dev/null @@ -1,22 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_regexp.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_regexp.q ->>> DESCRIBE FUNCTION regexp; -'tab_name' -'str regexp regexp - Returns true if str matches regexp and false otherwise' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED regexp; -'tab_name' -'str regexp regexp - Returns true if str matches regexp and false otherwise' -'Synonyms: rlike' -'Example:' -' > SELECT 'fb' regexp '.*' FROM src LIMIT 1;' -' true' -5 rows selected ->>> ->>> SELECT 'fofo' REGEXP '^fo', 'fo\no' REGEXP '^fo\no$', 'Bn' REGEXP '^Ba*n', 'afofo' REGEXP 'fo', -'afofo' REGEXP '^fo', 'Baan' REGEXP '^Ba?n', 'axe' REGEXP 'pi|apa', 'pip' REGEXP '^(pi)*$' -FROM src LIMIT 1; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6','_c7' -'true','true','true','true','false','false','false','false' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_regexp_extract.q.out ql/src/test/results/beelinepositive/udf_regexp_extract.q.out deleted file mode 100644 index 78bda96..0000000 --- ql/src/test/results/beelinepositive/udf_regexp_extract.q.out +++ /dev/null @@ -1,14 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_regexp_extract.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_regexp_extract.q ->>> DESCRIBE FUNCTION regexp_extract; -'tab_name' -'regexp_extract(str, regexp[, idx]) - extracts a group that matches regexp' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED regexp_extract; -'tab_name' -'regexp_extract(str, regexp[, idx]) - extracts a group that matches regexp' -'Example:' -' > SELECT regexp_extract('100-200', '(\d+)-(\d+)', 1) FROM src LIMIT 1;' -' '100'' -4 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_regexp_replace.q.out ql/src/test/results/beelinepositive/udf_regexp_replace.q.out deleted file mode 100644 index dd4d4ad..0000000 --- ql/src/test/results/beelinepositive/udf_regexp_replace.q.out +++ /dev/null @@ -1,14 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_regexp_replace.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_regexp_replace.q ->>> DESCRIBE FUNCTION regexp_replace; -'tab_name' -'regexp_replace(str, regexp, rep) - replace all substrings of str that match regexp with rep' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED regexp_replace; -'tab_name' -'regexp_replace(str, regexp, rep) - replace all substrings of str that match regexp with rep' -'Example:' -' > SELECT regexp_replace('100-200', '(\d+)', 'num') FROM src LIMIT 1;' -' 'num-num'' -4 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_repeat.q.out ql/src/test/results/beelinepositive/udf_repeat.q.out deleted file mode 100644 index 96db865..0000000 --- ql/src/test/results/beelinepositive/udf_repeat.q.out +++ /dev/null @@ -1,71 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_repeat.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_repeat.q ->>> DESCRIBE FUNCTION repeat; -'tab_name' -'repeat(str, n) - repeat str n times ' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED repeat; -'tab_name' -'repeat(str, n) - repeat str n times ' -'Example:' -' > SELECT repeat('123', 2) FROM src LIMIT 1;' -' '123123'' -4 rows selected ->>> ->>> EXPLAIN SELECT -repeat("Facebook", 3), -repeat("", 4), -repeat("asd", 0), -repeat("asdf", -1) -FROM src LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION repeat "Facebook" 3)) (TOK_SELEXPR (TOK_FUNCTION repeat "" 4)) (TOK_SELEXPR (TOK_FUNCTION repeat "asd" 0)) (TOK_SELEXPR (TOK_FUNCTION repeat "asdf" (- 1)))) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: repeat('Facebook', 3)' -' type: string' -' expr: repeat('', 4)' -' type: string' -' expr: repeat('asd', 0)' -' type: string' -' expr: repeat('asdf', (- 1))' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -38 rows selected ->>> ->>> SELECT -repeat("Facebook", 3), -repeat("", 4), -repeat("asd", 0), -repeat("asdf", -1) -FROM src LIMIT 1; -'_c0','_c1','_c2','_c3' -'FacebookFacebookFacebook','','','' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_reverse.q.out ql/src/test/results/beelinepositive/udf_reverse.q.out deleted file mode 100644 index 71e630f..0000000 --- ql/src/test/results/beelinepositive/udf_reverse.q.out +++ /dev/null @@ -1,154 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_reverse.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_reverse.q ->>> DESCRIBE FUNCTION reverse; -'tab_name' -'reverse(str) - reverse str' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED reverse; -'tab_name' -'reverse(str) - reverse str' -'Example:' -' > SELECT reverse('Facebook') FROM src LIMIT 1;' -' 'koobecaF'' -4 rows selected ->>> ->>> CREATE TABLE dest1(len STRING); -No rows affected ->>> EXPLAIN FROM src1 INSERT OVERWRITE TABLE dest1 SELECT reverse(src1.value); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src1))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dest1))) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION reverse (. (TOK_TABLE_OR_COL src1) value))))))' -'' -'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' -' Alias -> Map Operator Tree:' -' src1 ' -' TableScan' -' alias: src1' -' Select Operator' -' expressions:' -' expr: reverse(value)' -' type: string' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: udf_reverse.dest1' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: udf_reverse.dest1' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: udf_reverse.dest1' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: udf_reverse.dest1' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -89 rows selected ->>> FROM src1 INSERT OVERWRITE TABLE dest1 SELECT reverse(src1.value); -'_c0' -No rows selected ->>> SELECT dest1.* FROM dest1; -'len' -'832_lav' -'' -'113_lav' -'72_lav' -'561_lav' -'904_lav' -'552_lav' -'872_lav' -'89_lav' -'484_lav' -'562_lav' -'391_lav' -'104_lav' -'051_lav' -'372_lav' -'' -'' -'66_lav' -'' -'312_lav' -'641_lav' -'604_lav' -'' -'' -'' -25 rows selected ->>> DROP TABLE dest1; -No rows affected ->>> ->>> -- Test with non-ascii characters ->>> -- kv4.txt contains the text 0xE982B5E993AE, which should be reversed to ->>> -- 0xE993AEE982B5 ->>> CREATE TABLE dest1(name STRING) STORED AS TEXTFILE; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/kv4.txt' INTO TABLE dest1; -No rows affected ->>> SELECT count(1) FROM dest1 WHERE reverse(dest1.name) = _UTF-8 0xE993AEE982B5; -'_c0' -'1' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_rlike.q.out ql/src/test/results/beelinepositive/udf_rlike.q.out deleted file mode 100644 index 2a24098..0000000 --- ql/src/test/results/beelinepositive/udf_rlike.q.out +++ /dev/null @@ -1,15 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_rlike.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_rlike.q ->>> DESCRIBE FUNCTION rlike; -'tab_name' -'str rlike regexp - Returns true if str matches regexp and false otherwise' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED rlike; -'tab_name' -'str rlike regexp - Returns true if str matches regexp and false otherwise' -'Synonyms: regexp' -'Example:' -' > SELECT 'fb' rlike '.*' FROM src LIMIT 1;' -' true' -5 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_round.q.out ql/src/test/results/beelinepositive/udf_round.q.out deleted file mode 100644 index 921f606..0000000 --- ql/src/test/results/beelinepositive/udf_round.q.out +++ /dev/null @@ -1,71 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_round.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_round.q ->>> DESCRIBE FUNCTION round; -'tab_name' -'round(x[, d]) - round x to d decimal places' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED round; -'tab_name' -'round(x[, d]) - round x to d decimal places' -'Example:' -' > SELECT round(12.3456, 1) FROM src LIMIT 1;' -' 12.3'' -4 rows selected ->>> ->>> SELECT round(null), round(null, 0), round(125, null), -round(1.0/0.0, 0), round(power(-1.0,0.5), 0) -FROM src LIMIT 1; -'_c0','_c1','_c2','_c3','_c4' -'','','','','NaN' -1 row selected ->>> ->>> SELECT -round(55555), round(55555, 0), round(55555, 1), round(55555, 2), round(55555, 3), -round(55555, -1), round(55555, -2), round(55555, -3), round(55555, -4), -round(55555, -5), round(55555, -6), round(55555, -7), round(55555, -8) -FROM src LIMIT 1; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6','_c7','_c8','_c9','_c10','_c11','_c12' -'55555','55555.0','55555.0','55555.0','55555.0','55560.0','55600.0','56000.0','60000.0','100000.0','0.0','0.0','0.0' -1 row selected ->>> ->>> SELECT -round(125.315), round(125.315, 0), -round(125.315, 1), round(125.315, 2), round(125.315, 3), round(125.315, 4), -round(125.315, -1), round(125.315, -2), round(125.315, -3), round(125.315, -4), -round(-125.315), round(-125.315, 0), -round(-125.315, 1), round(-125.315, 2), round(-125.315, 3), round(-125.315, 4), -round(-125.315, -1), round(-125.315, -2), round(-125.315, -3), round(-125.315, -4) -FROM src LIMIT 1; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6','_c7','_c8','_c9','_c10','_c11','_c12','_c13','_c14','_c15','_c16','_c17','_c18','_c19' -'125','125.0','125.3','125.32','125.315','125.315','130.0','100.0','0.0','0.0','-125','-125.0','-125.3','-125.32','-125.315','-125.315','-130.0','-100.0','0.0','0.0' -1 row selected ->>> ->>> SELECT -round(3.141592653589793, -15), round(3.141592653589793, -16), -round(3.141592653589793, -13), round(3.141592653589793, -14), -round(3.141592653589793, -11), round(3.141592653589793, -12), -round(3.141592653589793, -9), round(3.141592653589793, -10), -round(3.141592653589793, -7), round(3.141592653589793, -8), -round(3.141592653589793, -5), round(3.141592653589793, -6), -round(3.141592653589793, -3), round(3.141592653589793, -4), -round(3.141592653589793, -1), round(3.141592653589793, -2), -round(3.141592653589793, 0), round(3.141592653589793, 1), -round(3.141592653589793, 2), round(3.141592653589793, 3), -round(3.141592653589793, 4), round(3.141592653589793, 5), -round(3.141592653589793, 6), round(3.141592653589793, 7), -round(3.141592653589793, 8), round(3.141592653589793, 9), -round(3.141592653589793, 10), round(3.141592653589793, 11), -round(3.141592653589793, 12), round(3.141592653589793, 13), -round(3.141592653589793, 13), round(3.141592653589793, 14), -round(3.141592653589793, 15), round(3.141592653589793, 16) -FROM src LIMIT 1; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6','_c7','_c8','_c9','_c10','_c11','_c12','_c13','_c14','_c15','_c16','_c17','_c18','_c19','_c20','_c21','_c22','_c23','_c24','_c25','_c26','_c27','_c28','_c29','_c30','_c31','_c32','_c33' -'0.0','0.0','0.0','0.0','0.0','0.0','0.0','0.0','0.0','0.0','0.0','0.0','0.0','0.0','0.0','0.0','3.0','3.1','3.14','3.142','3.1416','3.14159','3.141593','3.1415927','3.14159265','3.141592654','3.1415926536','3.14159265359','3.14159265359','3.1415926535898','3.1415926535898','3.14159265358979','3.141592653589793','3.141592653589793' -1 row selected ->>> ->>> SELECT round(1809242.3151111344, 9), round(-1809242.3151111344, 9) -FROM src LIMIT 1; -'_c0','_c1' -'1809242.315111134','-1809242.315111134' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_rpad.q.out ql/src/test/results/beelinepositive/udf_rpad.q.out deleted file mode 100644 index 8321e28..0000000 --- ql/src/test/results/beelinepositive/udf_rpad.q.out +++ /dev/null @@ -1,69 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_rpad.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_rpad.q ->>> DESCRIBE FUNCTION rpad; -'tab_name' -'rpad(str, len, pad) - Returns str, right-padded with pad to a length of len' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED rpad; -'tab_name' -'rpad(str, len, pad) - Returns str, right-padded with pad to a length of len' -'If str is longer than len, the return value is shortened to len characters.' -'Example:' -' > SELECT rpad('hi', 5, '??') FROM src LIMIT 1;' -' 'hi???' > SELECT rpad('hi', 1, '??') FROM src LIMIT 1;' -' 'h'' -6 rows selected ->>> ->>> EXPLAIN SELECT -rpad('hi', 1, '?'), -rpad('hi', 5, '.'), -rpad('hi', 6, '123') -FROM src LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION rpad 'hi' 1 '?')) (TOK_SELEXPR (TOK_FUNCTION rpad 'hi' 5 '.')) (TOK_SELEXPR (TOK_FUNCTION rpad 'hi' 6 '123'))) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: rpad('hi', 1, '?')' -' type: string' -' expr: rpad('hi', 5, '.')' -' type: string' -' expr: rpad('hi', 6, '123')' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -36 rows selected ->>> ->>> SELECT -rpad('hi', 1, '?'), -rpad('hi', 5, '.'), -rpad('hi', 6, '123') -FROM src LIMIT 1; -'_c0','_c1','_c2' -'h','hi...','hi1231' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_rtrim.q.out ql/src/test/results/beelinepositive/udf_rtrim.q.out deleted file mode 100644 index 2273312..0000000 --- ql/src/test/results/beelinepositive/udf_rtrim.q.out +++ /dev/null @@ -1,14 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_rtrim.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_rtrim.q ->>> DESCRIBE FUNCTION rtrim; -'tab_name' -'rtrim(str) - Removes the trailing space characters from str ' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED rtrim; -'tab_name' -'rtrim(str) - Removes the trailing space characters from str ' -'Example:' -' > SELECT rtrim('facebook ') FROM src LIMIT 1;' -' 'facebook'' -4 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_second.q.out ql/src/test/results/beelinepositive/udf_second.q.out deleted file mode 100644 index 2ebcf50..0000000 --- ql/src/test/results/beelinepositive/udf_second.q.out +++ /dev/null @@ -1,68 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_second.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_second.q ->>> DESCRIBE FUNCTION second; -'tab_name' -'second(date) - Returns the second of date' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED second; -'tab_name' -'second(date) - Returns the second of date' -'date is a string in the format of 'yyyy-MM-dd HH:mm:ss' or 'HH:mm:ss'.' -'Example:' -' > SELECT second('2009-07-30 12:58:59') FROM src LIMIT 1;' -' 59' -' > SELECT second('12:58:59') FROM src LIMIT 1;' -' 59' -7 rows selected ->>> ->>> EXPLAIN -SELECT second('2009-08-07 13:14:15'), second('13:14:15'), second('2009-08-07') -FROM src WHERE key = 86; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION second '2009-08-07 13:14:15')) (TOK_SELEXPR (TOK_FUNCTION second '13:14:15')) (TOK_SELEXPR (TOK_FUNCTION second '2009-08-07'))) (TOK_WHERE (= (TOK_TABLE_OR_COL key) 86))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key = 86.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: second('2009-08-07 13:14:15')' -' type: int' -' expr: second('13:14:15')' -' type: int' -' expr: second('2009-08-07')' -' type: int' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -39 rows selected ->>> ->>> SELECT second('2009-08-07 13:14:15'), second('13:14:15'), second('2009-08-07') -FROM src WHERE key = 86; -'_c0','_c1','_c2' -'15','15','' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_sign.q.out ql/src/test/results/beelinepositive/udf_sign.q.out deleted file mode 100644 index c5591da..0000000 --- ql/src/test/results/beelinepositive/udf_sign.q.out +++ /dev/null @@ -1,127 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_sign.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_sign.q ->>> explain -select sign(0) FROM src LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION sign 0))) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: sign(0)' -' type: double' -' outputColumnNames: _col0' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -32 rows selected ->>> select sign(0) FROM src LIMIT 1; -'_c0' -'0.0' -1 row selected ->>> ->>> select sign(-45) FROM src LIMIT 1; -'_c0' -'-1.0' -1 row selected ->>> ->>> select sign(46) FROM src LIMIT 1; -'_c0' -'1.0' -1 row selected ->>> ->>> DESCRIBE FUNCTION sign; -'tab_name' -'sign(x) - returns the sign of x )' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED sign; -'tab_name' -'sign(x) - returns the sign of x )' -'Example:' -' > SELECT sign(40) FROM src LIMIT 1;' -' 1' -4 rows selected ->>> explain -select sign(0) FROM src LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION sign 0))) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: sign(0)' -' type: double' -' outputColumnNames: _col0' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -32 rows selected ->>> select sign(0) FROM src LIMIT 1; -'_c0' -'0.0' -1 row selected ->>> ->>> select sign(-45) FROM src LIMIT 1; -'_c0' -'-1.0' -1 row selected ->>> ->>> select sign(46) FROM src LIMIT 1; -'_c0' -'1.0' -1 row selected ->>> ->>> DESCRIBE FUNCTION sign; -'tab_name' -'sign(x) - returns the sign of x )' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED sign; -'tab_name' -'sign(x) - returns the sign of x )' -'Example:' -' > SELECT sign(40) FROM src LIMIT 1;' -' 1' -4 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_sin.q.out ql/src/test/results/beelinepositive/udf_sin.q.out deleted file mode 100644 index a8b4446..0000000 --- ql/src/test/results/beelinepositive/udf_sin.q.out +++ /dev/null @@ -1,26 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_sin.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_sin.q ->>> DESCRIBE FUNCTION sin; -'tab_name' -'sin(x) - returns the sine of x (x is in radians)' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED sin; -'tab_name' -'sin(x) - returns the sine of x (x is in radians)' -'Example:' -' > SELECT sin(0) FROM src LIMIT 1;' -' 0' -4 rows selected ->>> ->>> SELECT sin(null) -FROM src LIMIT 1; -'_c0' -'' -1 row selected ->>> ->>> SELECT sin(0.98), sin(1.57), sin(-0.5) -FROM src LIMIT 1; -'_c0','_c1','_c2' -'0.8304973704919705','0.9999996829318346','-0.479425538604203' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_size.q.out ql/src/test/results/beelinepositive/udf_size.q.out deleted file mode 100644 index 9ecb797..0000000 --- ql/src/test/results/beelinepositive/udf_size.q.out +++ /dev/null @@ -1,76 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_size.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_size.q ->>> DESCRIBE FUNCTION size; -'tab_name' -'size(a) - Returns the size of a' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED size; -'tab_name' -'size(a) - Returns the size of a' -1 row selected ->>> ->>> EXPLAIN -FROM src_thrift -SELECT size(src_thrift.lint), -size(src_thrift.lintstring), -size(src_thrift.mstringstring), -size(null) -WHERE src_thrift.lint IS NOT NULL -AND NOT (src_thrift.mstringstring IS NULL) LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src_thrift))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION size (. (TOK_TABLE_OR_COL src_thrift) lint))) (TOK_SELEXPR (TOK_FUNCTION size (. (TOK_TABLE_OR_COL src_thrift) lintstring))) (TOK_SELEXPR (TOK_FUNCTION size (. (TOK_TABLE_OR_COL src_thrift) mstringstring))) (TOK_SELEXPR (TOK_FUNCTION size TOK_NULL))) (TOK_WHERE (AND (TOK_FUNCTION TOK_ISNOTNULL (. (TOK_TABLE_OR_COL src_thrift) lint)) (NOT (TOK_FUNCTION TOK_ISNULL (. (TOK_TABLE_OR_COL src_thrift) mstringstring))))) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src_thrift ' -' TableScan' -' alias: src_thrift' -' Filter Operator' -' predicate:' -' expr: (lint is not null and (not mstringstring is null))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: size(lint)' -' type: int' -' expr: size(lintstring)' -' type: int' -' expr: size(mstringstring)' -' type: int' -' expr: size(null)' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -42 rows selected ->>> ->>> ->>> FROM src_thrift -SELECT size(src_thrift.lint), -size(src_thrift.lintstring), -size(src_thrift.mstringstring), -size(null) -WHERE src_thrift.lint IS NOT NULL -AND NOT (src_thrift.mstringstring IS NULL) LIMIT 1; -'_c0','_c1','_c2','_c3' -'3','1','1','-1' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_smallint.q.out ql/src/test/results/beelinepositive/udf_smallint.q.out deleted file mode 100644 index 3f550d2..0000000 --- ql/src/test/results/beelinepositive/udf_smallint.q.out +++ /dev/null @@ -1,11 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_smallint.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_smallint.q ->>> DESCRIBE FUNCTION smallint; -'tab_name' -'There is no documentation for function 'smallint'' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED smallint; -'tab_name' -'There is no documentation for function 'smallint'' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_space.q.out ql/src/test/results/beelinepositive/udf_space.q.out deleted file mode 100644 index ac10d8a..0000000 --- ql/src/test/results/beelinepositive/udf_space.q.out +++ /dev/null @@ -1,87 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_space.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_space.q ->>> DESCRIBE FUNCTION space; -'tab_name' -'space(n) - returns n spaces' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED space; -'tab_name' -'space(n) - returns n spaces' -'Example:' -' > SELECT space(2) FROM src LIMIT 1;' -' ' '' -4 rows selected ->>> ->>> EXPLAIN SELECT -space(10), -space(0), -space(1), -space(-1), -space(-100) -FROM src LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION space 10)) (TOK_SELEXPR (TOK_FUNCTION space 0)) (TOK_SELEXPR (TOK_FUNCTION space 1)) (TOK_SELEXPR (TOK_FUNCTION space (- 1))) (TOK_SELEXPR (TOK_FUNCTION space (- 100)))) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: space(10)' -' type: string' -' expr: space(0)' -' type: string' -' expr: space(1)' -' type: string' -' expr: space((- 1))' -' type: string' -' expr: space((- 100))' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -40 rows selected ->>> ->>> SELECT -length(space(10)), -length(space(0)), -length(space(1)), -length(space(-1)), -length(space(-100)) -FROM src LIMIT 1; -'_c0','_c1','_c2','_c3','_c4' -'10','0','1','0','0' -1 row selected ->>> ->>> SELECT -space(10), -space(0), -space(1), -space(-1), -space(-100) -FROM src LIMIT 1; -'_c0','_c1','_c2','_c3','_c4' -' ','',' ','','' -1 row selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/udf_sqrt.q.out ql/src/test/results/beelinepositive/udf_sqrt.q.out deleted file mode 100644 index 09da260..0000000 --- ql/src/test/results/beelinepositive/udf_sqrt.q.out +++ /dev/null @@ -1,14 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_sqrt.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_sqrt.q ->>> DESCRIBE FUNCTION sqrt; -'tab_name' -'sqrt(x) - returns the square root of x' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED sqrt; -'tab_name' -'sqrt(x) - returns the square root of x' -'Example:' -' > SELECT sqrt(4) FROM src LIMIT 1;' -' 2' -4 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_std.q.out ql/src/test/results/beelinepositive/udf_std.q.out deleted file mode 100644 index 4049d7f..0000000 --- ql/src/test/results/beelinepositive/udf_std.q.out +++ /dev/null @@ -1,12 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_std.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_std.q ->>> DESCRIBE FUNCTION std; -'tab_name' -'std(x) - Returns the standard deviation of a set of numbers' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED std; -'tab_name' -'std(x) - Returns the standard deviation of a set of numbers' -'Synonyms: stddev_pop, stddev' -2 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_stddev.q.out ql/src/test/results/beelinepositive/udf_stddev.q.out deleted file mode 100644 index 17f59fa..0000000 --- ql/src/test/results/beelinepositive/udf_stddev.q.out +++ /dev/null @@ -1,12 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_stddev.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_stddev.q ->>> DESCRIBE FUNCTION stddev; -'tab_name' -'stddev(x) - Returns the standard deviation of a set of numbers' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED stddev; -'tab_name' -'stddev(x) - Returns the standard deviation of a set of numbers' -'Synonyms: stddev_pop, std' -2 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_stddev_pop.q.out ql/src/test/results/beelinepositive/udf_stddev_pop.q.out deleted file mode 100644 index 9b91e3f..0000000 --- ql/src/test/results/beelinepositive/udf_stddev_pop.q.out +++ /dev/null @@ -1,11 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_stddev_pop.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_stddev_pop.q ->>> DESCRIBE FUNCTION udf_stddev_pop; -'tab_name' -'Function 'udf_stddev_pop' does not exist.' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED udf_stddev_pop; -'tab_name' -'Function 'udf_stddev_pop' does not exist.' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_stddev_samp.q.out ql/src/test/results/beelinepositive/udf_stddev_samp.q.out deleted file mode 100644 index b1b7f59..0000000 --- ql/src/test/results/beelinepositive/udf_stddev_samp.q.out +++ /dev/null @@ -1,19 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_stddev_samp.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_stddev_samp.q ->>> DESCRIBE FUNCTION stddev_samp; -'tab_name' -'stddev_samp(x) - Returns the sample standard deviation of a set of numbers' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED stddev_samp; -'tab_name' -'stddev_samp(x) - Returns the sample standard deviation of a set of numbers' -1 row selected ->>> DESCRIBE FUNCTION stddev_samp; -'tab_name' -'stddev_samp(x) - Returns the sample standard deviation of a set of numbers' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED stddev_samp; -'tab_name' -'stddev_samp(x) - Returns the sample standard deviation of a set of numbers' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_string.q.out ql/src/test/results/beelinepositive/udf_string.q.out deleted file mode 100644 index b79c400..0000000 --- ql/src/test/results/beelinepositive/udf_string.q.out +++ /dev/null @@ -1,11 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_string.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_string.q ->>> DESCRIBE FUNCTION string; -'tab_name' -'There is no documentation for function 'string'' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED string; -'tab_name' -'There is no documentation for function 'string'' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_substring.q.out ql/src/test/results/beelinepositive/udf_substring.q.out deleted file mode 100644 index 70985e9..0000000 --- ql/src/test/results/beelinepositive/udf_substring.q.out +++ /dev/null @@ -1,21 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_substring.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_substring.q ->>> -- Synonym. See udf_substr.q ->>> DESCRIBE FUNCTION substring; -'tab_name' -'substring(str, pos[, len]) - returns the substring of str that starts at pos and is of length len orsubstring(bin, pos[, len]) - returns the slice of byte array that starts at pos and is of length len' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED substring; -'tab_name' -'substring(str, pos[, len]) - returns the substring of str that starts at pos and is of length len orsubstring(bin, pos[, len]) - returns the slice of byte array that starts at pos and is of length len' -'Synonyms: substr' -'pos is a 1-based index. If pos<0 the starting position is determined by counting backwards from the end of str.' -'Example:' -' > SELECT substring('Facebook', 5) FROM src LIMIT 1;' -' 'book'' -' > SELECT substring('Facebook', -5) FROM src LIMIT 1;' -' 'ebook'' -' > SELECT substring('Facebook', 5, 1) FROM src LIMIT 1;' -' 'b'' -10 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_subtract.q.out ql/src/test/results/beelinepositive/udf_subtract.q.out deleted file mode 100644 index 019f995..0000000 --- ql/src/test/results/beelinepositive/udf_subtract.q.out +++ /dev/null @@ -1,11 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_subtract.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_subtract.q ->>> DESCRIBE FUNCTION -; -'tab_name' -'a - b - Returns the difference a-b' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED -; -'tab_name' -'a - b - Returns the difference a-b' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_sum.q.out ql/src/test/results/beelinepositive/udf_sum.q.out deleted file mode 100644 index 7528acf..0000000 --- ql/src/test/results/beelinepositive/udf_sum.q.out +++ /dev/null @@ -1,21 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_sum.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_sum.q ->>> DESCRIBE FUNCTION sum; -'tab_name' -'sum(x) - Returns the sum of a set of numbers' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED sum; -'tab_name' -'sum(x) - Returns the sum of a set of numbers' -1 row selected ->>> ->>> DESCRIBE FUNCTION sum; -'tab_name' -'sum(x) - Returns the sum of a set of numbers' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED sum; -'tab_name' -'sum(x) - Returns the sum of a set of numbers' -1 row selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/udf_tan.q.out ql/src/test/results/beelinepositive/udf_tan.q.out deleted file mode 100644 index d8de2b3..0000000 --- ql/src/test/results/beelinepositive/udf_tan.q.out +++ /dev/null @@ -1,49 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_tan.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_tan.q ->>> DESCRIBE FUNCTION tan; -'tab_name' -'tan(x) - returns the tangent of x (x is in radians)' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED tan; -'tab_name' -'tan(x) - returns the tangent of x (x is in radians)' -'Example:' -' > SELECT tan(0) FROM src LIMIT 1;' -' 1' -4 rows selected ->>> ->>> SELECT tan(null) -FROM src LIMIT 1; -'_c0' -'' -1 row selected ->>> ->>> SELECT tan(1), tan(6), tan(-1.0) -FROM src LIMIT 1; -'_c0','_c1','_c2' -'1.5574077246549023','-0.29100619138474915','-1.5574077246549023' -1 row selected ->>> DESCRIBE FUNCTION tan; -'tab_name' -'tan(x) - returns the tangent of x (x is in radians)' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED tan; -'tab_name' -'tan(x) - returns the tangent of x (x is in radians)' -'Example:' -' > SELECT tan(0) FROM src LIMIT 1;' -' 1' -4 rows selected ->>> ->>> SELECT tan(null) -FROM src LIMIT 1; -'_c0' -'' -1 row selected ->>> ->>> SELECT tan(1), tan(6), tan(-1.0) -FROM src LIMIT 1; -'_c0','_c1','_c2' -'1.5574077246549023','-0.29100619138474915','-1.5574077246549023' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_testlength.q.out ql/src/test/results/beelinepositive/udf_testlength.q.out deleted file mode 100644 index 9baf6cb..0000000 --- ql/src/test/results/beelinepositive/udf_testlength.q.out +++ /dev/null @@ -1,534 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_testlength.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_testlength.q ->>> EXPLAIN -CREATE TEMPORARY FUNCTION testlength AS 'org.apache.hadoop.hive.ql.udf.UDFTestLength'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_CREATEFUNCTION testlength 'org.apache.hadoop.hive.ql.udf.UDFTestLength')' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -'' -'' -10 rows selected ->>> ->>> CREATE TEMPORARY FUNCTION testlength AS 'org.apache.hadoop.hive.ql.udf.UDFTestLength'; -No rows affected ->>> ->>> CREATE TABLE dest1(len INT); -No rows affected ->>> ->>> FROM src INSERT OVERWRITE TABLE dest1 SELECT testlength(src.value); -'_c0' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'len' -'7' -'6' -'7' -'6' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'6' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'5' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'6' -'7' -'6' -'6' -'5' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'6' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'6' -'5' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'5' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'6' -'5' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'6' -'6' -'7' -'6' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'5' -'7' -'7' -'7' -'7' -'7' -'6' -'6' -'7' -'6' -'6' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'6' -'6' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'6' -'7' -'6' -'6' -'7' -'6' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'5' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'5' -'6' -'7' -'7' -'7' -'6' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'5' -'6' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'6' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'5' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'6' -'6' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'6' -500 rows selected ->>> ->>> DROP TEMPORARY FUNCTION testlength; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_testlength2.q.out ql/src/test/results/beelinepositive/udf_testlength2.q.out deleted file mode 100644 index 1813d54..0000000 --- ql/src/test/results/beelinepositive/udf_testlength2.q.out +++ /dev/null @@ -1,534 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_testlength2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_testlength2.q ->>> EXPLAIN -CREATE TEMPORARY FUNCTION testlength2 AS 'org.apache.hadoop.hive.ql.udf.UDFTestLength2'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_CREATEFUNCTION testlength2 'org.apache.hadoop.hive.ql.udf.UDFTestLength2')' -'' -'STAGE DEPENDENCIES:' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-0' -'' -'' -10 rows selected ->>> ->>> CREATE TEMPORARY FUNCTION testlength2 AS 'org.apache.hadoop.hive.ql.udf.UDFTestLength2'; -No rows affected ->>> ->>> CREATE TABLE dest1(len INT); -No rows affected ->>> ->>> FROM src INSERT OVERWRITE TABLE dest1 SELECT testlength2(src.value); -'_c0' -No rows selected ->>> ->>> SELECT dest1.* FROM dest1; -'len' -'7' -'6' -'7' -'6' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'6' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'5' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'6' -'7' -'6' -'6' -'5' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'6' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'6' -'5' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'5' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'6' -'5' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'6' -'6' -'7' -'6' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'5' -'7' -'7' -'7' -'7' -'7' -'6' -'6' -'7' -'6' -'6' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'6' -'6' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'6' -'7' -'6' -'6' -'7' -'6' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'5' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'5' -'6' -'7' -'7' -'7' -'6' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'5' -'6' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'6' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'5' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'6' -'6' -'6' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'7' -'6' -'7' -'7' -'7' -'7' -'6' -500 rows selected ->>> ->>> DROP TEMPORARY FUNCTION testlength2; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_tinyint.q.out ql/src/test/results/beelinepositive/udf_tinyint.q.out deleted file mode 100644 index fc5f8e0..0000000 --- ql/src/test/results/beelinepositive/udf_tinyint.q.out +++ /dev/null @@ -1,11 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_tinyint.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_tinyint.q ->>> DESCRIBE FUNCTION tinyint; -'tab_name' -'There is no documentation for function 'tinyint'' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED tinyint; -'tab_name' -'There is no documentation for function 'tinyint'' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_to_date.q.out ql/src/test/results/beelinepositive/udf_to_date.q.out deleted file mode 100644 index 3592e89..0000000 --- ql/src/test/results/beelinepositive/udf_to_date.q.out +++ /dev/null @@ -1,14 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_to_date.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_to_date.q ->>> DESCRIBE FUNCTION to_date; -'tab_name' -'to_date(expr) - Extracts the date part of the date or datetime expression expr' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED to_date; -'tab_name' -'to_date(expr) - Extracts the date part of the date or datetime expression expr' -'Example:' -' > SELECT to_date('2009-07-30 04:17:52') FROM src LIMIT 1;' -' '2009-07-30'' -4 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_trim.q.out ql/src/test/results/beelinepositive/udf_trim.q.out deleted file mode 100644 index dab2783..0000000 --- ql/src/test/results/beelinepositive/udf_trim.q.out +++ /dev/null @@ -1,14 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_trim.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_trim.q ->>> DESCRIBE FUNCTION trim; -'tab_name' -'trim(str) - Removes the leading and trailing space characters from str ' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED trim; -'tab_name' -'trim(str) - Removes the leading and trailing space characters from str ' -'Example:' -' > SELECT trim(' facebook ') FROM src LIMIT 1;' -' 'facebook'' -4 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_ucase.q.out ql/src/test/results/beelinepositive/udf_ucase.q.out deleted file mode 100644 index bb195dd..0000000 --- ql/src/test/results/beelinepositive/udf_ucase.q.out +++ /dev/null @@ -1,15 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_ucase.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_ucase.q ->>> DESCRIBE FUNCTION ucase; -'tab_name' -'ucase(str) - Returns str with all characters changed to uppercase' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED ucase; -'tab_name' -'ucase(str) - Returns str with all characters changed to uppercase' -'Synonyms: upper' -'Example:' -' > SELECT ucase('Facebook') FROM src LIMIT 1;' -' 'FACEBOOK'' -5 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_unhex.q.out ql/src/test/results/beelinepositive/udf_unhex.q.out deleted file mode 100644 index 76347fc..0000000 --- ql/src/test/results/beelinepositive/udf_unhex.q.out +++ /dev/null @@ -1,51 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_unhex.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_unhex.q ->>> DESCRIBE FUNCTION unhex; -'tab_name' -'unhex(str) - Converts hexadecimal argument to string' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED unhex; -'tab_name' -'unhex(str) - Converts hexadecimal argument to string' -'Performs the inverse operation of HEX(str). That is, it interprets' -'each pair of hexadecimal digits in the argument as a number and' -'converts it to the character represented by the number. The' -'resulting characters are returned as a binary string.' -'' -'Example:' -'> SELECT UNHEX('4D7953514C') from src limit 1;' -''MySQL'' -'> SELECT UNHEX(HEX('string')) from src limit 1;' -''string'' -'> SELECT HEX(UNHEX('1267')) from src limit 1;' -''1267'' -'' -'The characters in the argument string must be legal hexadecimal' -'digits: '0' .. '9', 'A' .. 'F', 'a' .. 'f'. If UNHEX() encounters' -'any nonhexadecimal digits in the argument, it returns NULL. Also,' -'if there are an odd number of characters a leading 0 is appended.' -18 rows selected ->>> ->>> -- Good inputs ->>> ->>> SELECT -unhex('4D7953514C'), -unhex('31323637'), -unhex('61'), -unhex('2D34'), -unhex('') -FROM src limit 1; -'_c0','_c1','_c2','_c3','_c4' -'MySQL','1267','a','-4','' -1 row selected ->>> ->>> -- Bad inputs ->>> SELECT -unhex('MySQL'), -unhex('G123'), -unhex('\0') -FROM src limit 1; -'_c0','_c1','_c2' -'','','' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_unix_timestamp.q.out ql/src/test/results/beelinepositive/udf_unix_timestamp.q.out deleted file mode 100644 index 9c4ea27..0000000 --- ql/src/test/results/beelinepositive/udf_unix_timestamp.q.out +++ /dev/null @@ -1,46 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_unix_timestamp.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_unix_timestamp.q ->>> DESCRIBE FUNCTION unix_timestamp; -'tab_name' -'unix_timestamp([date[, pattern]]) - Returns the UNIX timestamp' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED unix_timestamp; -'tab_name' -'unix_timestamp([date[, pattern]]) - Returns the UNIX timestamp' -'Converts the current or specified time to number of seconds since 1970-01-01.' -2 rows selected ->>> ->>> SELECT -'2009-03-20 11:30:01', -unix_timestamp('2009-03-20 11:30:01') -FROM src LIMIT 1; -'_c0','_c1' -'2009-03-20 11:30:01','1237573801' -1 row selected ->>> ->>> SELECT -'2009-03-20', -unix_timestamp('2009-03-20', 'yyyy-MM-dd') -FROM src LIMIT 1; -'_c0','_c1' -'2009-03-20','1237532400' -1 row selected ->>> ->>> SELECT -'2009 Mar 20 11:30:01 am', -unix_timestamp('2009 Mar 20 11:30:01 am', 'yyyy MMM dd h:mm:ss a') -FROM src LIMIT 1; -'_c0','_c1' -'2009 Mar 20 11:30:01 am','1237573801' -1 row selected ->>> ->>> SELECT -'random_string', -unix_timestamp('random_string') -FROM src LIMIT 1; -'_c0','_c1' -'random_string','' -1 row selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/udf_upper.q.out ql/src/test/results/beelinepositive/udf_upper.q.out deleted file mode 100644 index 5b042bb..0000000 --- ql/src/test/results/beelinepositive/udf_upper.q.out +++ /dev/null @@ -1,15 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_upper.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_upper.q ->>> DESCRIBE FUNCTION upper; -'tab_name' -'upper(str) - Returns str with all characters changed to uppercase' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED upper; -'tab_name' -'upper(str) - Returns str with all characters changed to uppercase' -'Synonyms: ucase' -'Example:' -' > SELECT upper('Facebook') FROM src LIMIT 1;' -' 'FACEBOOK'' -5 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_var_pop.q.out ql/src/test/results/beelinepositive/udf_var_pop.q.out deleted file mode 100644 index fea9780..0000000 --- ql/src/test/results/beelinepositive/udf_var_pop.q.out +++ /dev/null @@ -1,12 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_var_pop.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_var_pop.q ->>> DESCRIBE FUNCTION var_pop; -'tab_name' -'var_pop(x) - Returns the variance of a set of numbers' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED var_pop; -'tab_name' -'var_pop(x) - Returns the variance of a set of numbers' -'Synonyms: variance' -2 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_var_samp.q.out ql/src/test/results/beelinepositive/udf_var_samp.q.out deleted file mode 100644 index 229f72a..0000000 --- ql/src/test/results/beelinepositive/udf_var_samp.q.out +++ /dev/null @@ -1,19 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_var_samp.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_var_samp.q ->>> DESCRIBE FUNCTION var_samp; -'tab_name' -'var_samp(x) - Returns the sample variance of a set of numbers' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED var_samp; -'tab_name' -'var_samp(x) - Returns the sample variance of a set of numbers' -1 row selected ->>> DESCRIBE FUNCTION var_samp; -'tab_name' -'var_samp(x) - Returns the sample variance of a set of numbers' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED var_samp; -'tab_name' -'var_samp(x) - Returns the sample variance of a set of numbers' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_variance.q.out ql/src/test/results/beelinepositive/udf_variance.q.out deleted file mode 100644 index 34fbe17..0000000 --- ql/src/test/results/beelinepositive/udf_variance.q.out +++ /dev/null @@ -1,41 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_variance.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_variance.q ->>> DESCRIBE FUNCTION variance; -'tab_name' -'variance(x) - Returns the variance of a set of numbers' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED variance; -'tab_name' -'variance(x) - Returns the variance of a set of numbers' -'Synonyms: var_pop' -2 rows selected ->>> ->>> DESCRIBE FUNCTION var_pop; -'tab_name' -'var_pop(x) - Returns the variance of a set of numbers' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED var_pop; -'tab_name' -'var_pop(x) - Returns the variance of a set of numbers' -'Synonyms: variance' -2 rows selected ->>> DESCRIBE FUNCTION variance; -'tab_name' -'variance(x) - Returns the variance of a set of numbers' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED variance; -'tab_name' -'variance(x) - Returns the variance of a set of numbers' -'Synonyms: var_pop' -2 rows selected ->>> ->>> DESCRIBE FUNCTION var_pop; -'tab_name' -'var_pop(x) - Returns the variance of a set of numbers' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED var_pop; -'tab_name' -'var_pop(x) - Returns the variance of a set of numbers' -'Synonyms: variance' -2 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_weekofyear.q.out ql/src/test/results/beelinepositive/udf_weekofyear.q.out deleted file mode 100644 index 948d267..0000000 --- ql/src/test/results/beelinepositive/udf_weekofyear.q.out +++ /dev/null @@ -1,23 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_weekofyear.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_weekofyear.q ->>> DESCRIBE FUNCTION weekofyear; -'tab_name' -'weekofyear(date) - Returns the week of the year of the given date. A week is considered to start on a Monday and week 1 is the first week with >3 days.' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED weekofyear; -'tab_name' -'weekofyear(date) - Returns the week of the year of the given date. A week is considered to start on a Monday and week 1 is the first week with >3 days.' -'Examples:' -' > SELECT weekofyear('2008-02-20') FROM src LIMIT 1;' -' 8' -' > SELECT weekofyear('1980-12-31 12:59:59') FROM src LIMIT 1;' -' 1' -6 rows selected ->>> ->>> SELECT weekofyear('1980-01-01'), weekofyear('1980-01-06'), weekofyear('1980-01-07'), weekofyear('1980-12-31'), -weekofyear('1984-1-1'), weekofyear('2008-02-20 00:00:00'), weekofyear('1980-12-28 23:59:59'), weekofyear('1980-12-29 23:59:59') -FROM src LIMIT 1; -'_c0','_c1','_c2','_c3','_c4','_c5','_c6','_c7' -'1','1','2','1','52','8','52','1' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_when.q.out ql/src/test/results/beelinepositive/udf_when.q.out deleted file mode 100644 index 03a4630..0000000 --- ql/src/test/results/beelinepositive/udf_when.q.out +++ /dev/null @@ -1,113 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_when.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_when.q ->>> DESCRIBE FUNCTION when; -'tab_name' -'There is no documentation for function 'when'' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED when; -'tab_name' -'There is no documentation for function 'when'' -1 row selected ->>> ->>> EXPLAIN -SELECT CASE -WHEN 1=1 THEN 2 -WHEN 1=3 THEN 4 -ELSE 5 -END, -CASE -WHEN 6=7 THEN 8 -ELSE 9 -END, -CASE -WHEN 10=11 THEN 12 -WHEN 13=13 THEN 14 -END, -CASE -WHEN 15=16 THEN 17 -WHEN 18=19 THEN 20 -END, -CASE -WHEN 21=22 THEN NULL -WHEN 23=23 THEN 24 -END, -CASE -WHEN 25=26 THEN 27 -WHEN 28=28 THEN NULL -END -FROM src LIMIT 1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION WHEN (= 1 1) 2 (= 1 3) 4 5)) (TOK_SELEXPR (TOK_FUNCTION WHEN (= 6 7) 8 9)) (TOK_SELEXPR (TOK_FUNCTION WHEN (= 10 11) 12 (= 13 13) 14)) (TOK_SELEXPR (TOK_FUNCTION WHEN (= 15 16) 17 (= 18 19) 20)) (TOK_SELEXPR (TOK_FUNCTION WHEN (= 21 22) TOK_NULL (= 23 23) 24)) (TOK_SELEXPR (TOK_FUNCTION WHEN (= 25 26) 27 (= 28 28) TOK_NULL))) (TOK_LIMIT 1)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: CASE WHEN ((1 = 1)) THEN (2) WHEN ((1 = 3)) THEN (4) ELSE (5) END' -' type: int' -' expr: CASE WHEN ((6 = 7)) THEN (8) ELSE (9) END' -' type: int' -' expr: CASE WHEN ((10 = 11)) THEN (12) WHEN ((13 = 13)) THEN (14) END' -' type: int' -' expr: CASE WHEN ((15 = 16)) THEN (17) WHEN ((18 = 19)) THEN (20) END' -' type: int' -' expr: CASE WHEN ((21 = 22)) THEN (null) WHEN ((23 = 23)) THEN (24) END' -' type: int' -' expr: CASE WHEN ((25 = 26)) THEN (27) WHEN ((28 = 28)) THEN (null) END' -' type: int' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 1' -'' -'' -42 rows selected ->>> ->>> SELECT CASE -WHEN 1=1 THEN 2 -WHEN 1=3 THEN 4 -ELSE 5 -END, -CASE -WHEN 6=7 THEN 8 -ELSE 9 -END, -CASE -WHEN 10=11 THEN 12 -WHEN 13=13 THEN 14 -END, -CASE -WHEN 15=16 THEN 17 -WHEN 18=19 THEN 20 -END, -CASE -WHEN 21=22 THEN NULL -WHEN 23=23 THEN 24 -END, -CASE -WHEN 25=26 THEN 27 -WHEN 28=28 THEN NULL -END -FROM src LIMIT 1; -'_c0','_c1','_c2','_c3','_c4','_c5' -'2','9','14','','24','' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_xpath_boolean.q.out ql/src/test/results/beelinepositive/udf_xpath_boolean.q.out deleted file mode 100644 index ebb2795..0000000 --- ql/src/test/results/beelinepositive/udf_xpath_boolean.q.out +++ /dev/null @@ -1,41 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_xpath_boolean.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_xpath_boolean.q ->>> DESCRIBE FUNCTION xpath_boolean ; -'tab_name' -'xpath_boolean(xml, xpath) - Evaluates a boolean xpath expression' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED xpath_boolean ; -'tab_name' -'xpath_boolean(xml, xpath) - Evaluates a boolean xpath expression' -'Example:' -' > SELECT xpath_boolean('1','a/b') FROM src LIMIT 1;' -' true' -' > SELECT xpath_boolean('1','a/b = 2') FROM src LIMIT 1;' -' false' -6 rows selected ->>> ->>> SELECT xpath_boolean ('b', 'a/b') FROM src LIMIT 1 ; -'_c0' -'true' -1 row selected ->>> SELECT xpath_boolean ('b', 'a/c') FROM src LIMIT 1 ; -'_c0' -'false' -1 row selected ->>> SELECT xpath_boolean ('b', 'a/b = "b"') FROM src LIMIT 1 ; -'_c0' -'true' -1 row selected ->>> SELECT xpath_boolean ('b', 'a/b = "c"') FROM src LIMIT 1 ; -'_c0' -'false' -1 row selected ->>> SELECT xpath_boolean ('10', 'a/b < 10') FROM src LIMIT 1 ; -'_c0' -'false' -1 row selected ->>> SELECT xpath_boolean ('10', 'a/b = 10') FROM src LIMIT 1 ; -'_c0' -'true' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_xpath_double.q.out ql/src/test/results/beelinepositive/udf_xpath_double.q.out deleted file mode 100644 index 41d81c0..0000000 --- ql/src/test/results/beelinepositive/udf_xpath_double.q.out +++ /dev/null @@ -1,61 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_xpath_double.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_xpath_double.q ->>> DESCRIBE FUNCTION xpath_number ; -'tab_name' -'xpath_number(xml, xpath) - Returns a double value that matches the xpath expression' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED xpath_number ; -'tab_name' -'xpath_number(xml, xpath) - Returns a double value that matches the xpath expression' -'Synonyms: xpath_double' -'Example:' -' > SELECT xpath_number('12','sum(a/b)') FROM src LIMIT 1;' -' 3.0' -5 rows selected ->>> ->>> DESCRIBE FUNCTION xpath_double ; -'tab_name' -'xpath_double(xml, xpath) - Returns a double value that matches the xpath expression' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED xpath_double ; -'tab_name' -'xpath_double(xml, xpath) - Returns a double value that matches the xpath expression' -'Synonyms: xpath_number' -'Example:' -' > SELECT xpath_double('12','sum(a/b)') FROM src LIMIT 1;' -' 3.0' -5 rows selected ->>> ->>> SELECT xpath_double ('this is not a number', 'a') FROM src LIMIT 1 ; -'_c0' -'NaN' -1 row selected ->>> SELECT xpath_double ('this 2 is not a number', 'a') FROM src LIMIT 1 ; -'_c0' -'NaN' -1 row selected ->>> SELECT xpath_double ('200000000040000000000', 'a/b * a/c') FROM src LIMIT 1 ; -'_c0' -'8.0E19' -1 row selected ->>> SELECT xpath_double ('try a boolean', 'a = 10') FROM src LIMIT 1 ; -'_c0' -'0.0' -1 row selected ->>> SELECT xpath_double ('1248', 'a/b') FROM src LIMIT 1 ; -'_c0' -'1.0' -1 row selected ->>> SELECT xpath_double ('1248', 'sum(a/*)') FROM src LIMIT 1 ; -'_c0' -'15.0' -1 row selected ->>> SELECT xpath_double ('1248', 'sum(a/b)') FROM src LIMIT 1 ; -'_c0' -'7.0' -1 row selected ->>> SELECT xpath_double ('1248', 'sum(a/b[@class="odd"])') FROM src LIMIT 1 ; -'_c0' -'5.0' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_xpath_float.q.out ql/src/test/results/beelinepositive/udf_xpath_float.q.out deleted file mode 100644 index ee3182c..0000000 --- ql/src/test/results/beelinepositive/udf_xpath_float.q.out +++ /dev/null @@ -1,47 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_xpath_float.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_xpath_float.q ->>> DESCRIBE FUNCTION xpath_float ; -'tab_name' -'xpath_float(xml, xpath) - Returns a float value that matches the xpath expression' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED xpath_float ; -'tab_name' -'xpath_float(xml, xpath) - Returns a float value that matches the xpath expression' -'Example:' -' > SELECT xpath_float('12','sum(a/b)') FROM src LIMIT 1;' -' 3.0' -4 rows selected ->>> ->>> SELECT xpath_float ('this is not a number', 'a') FROM src LIMIT 1 ; -'_c0' -'NaN' -1 row selected ->>> SELECT xpath_float ('this 2 is not a number', 'a') FROM src LIMIT 1 ; -'_c0' -'NaN' -1 row selected ->>> SELECT xpath_float ('200000000040000000000', 'a/b * a/c') FROM src LIMIT 1 ; -'_c0' -'7.999999984405158E19' -1 row selected ->>> SELECT xpath_float ('try a boolean', 'a = 10') FROM src LIMIT 1 ; -'_c0' -'0.0' -1 row selected ->>> SELECT xpath_float ('1248', 'a/b') FROM src LIMIT 1 ; -'_c0' -'1.0' -1 row selected ->>> SELECT xpath_float ('1248', 'sum(a/*)') FROM src LIMIT 1 ; -'_c0' -'15.0' -1 row selected ->>> SELECT xpath_float ('1248', 'sum(a/b)') FROM src LIMIT 1 ; -'_c0' -'7.0' -1 row selected ->>> SELECT xpath_float ('1248', 'sum(a/b[@class="odd"])') FROM src LIMIT 1 ; -'_c0' -'5.0' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_xpath_int.q.out ql/src/test/results/beelinepositive/udf_xpath_int.q.out deleted file mode 100644 index bbb5369..0000000 --- ql/src/test/results/beelinepositive/udf_xpath_int.q.out +++ /dev/null @@ -1,47 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_xpath_int.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_xpath_int.q ->>> DESCRIBE FUNCTION xpath_int ; -'tab_name' -'xpath_int(xml, xpath) - Returns an integer value that matches the xpath expression' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED xpath_int ; -'tab_name' -'xpath_int(xml, xpath) - Returns an integer value that matches the xpath expression' -'Example:' -' > SELECT xpath_int('12','sum(a/b)') FROM src LIMIT 1;' -' 3' -4 rows selected ->>> ->>> SELECT xpath_int ('this is not a number', 'a') FROM src LIMIT 1 ; -'_c0' -'0' -1 row selected ->>> SELECT xpath_int ('this 2 is not a number', 'a') FROM src LIMIT 1 ; -'_c0' -'0' -1 row selected ->>> SELECT xpath_int ('200000000040000000000', 'a/b * a/c') FROM src LIMIT 1 ; -'_c0' -'2147483647' -1 row selected ->>> SELECT xpath_int ('try a boolean', 'a = 10') FROM src LIMIT 1 ; -'_c0' -'0' -1 row selected ->>> SELECT xpath_int ('1248', 'a/b') FROM src LIMIT 1 ; -'_c0' -'1' -1 row selected ->>> SELECT xpath_int ('1248', 'sum(a/*)') FROM src LIMIT 1 ; -'_c0' -'15' -1 row selected ->>> SELECT xpath_int ('1248', 'sum(a/b)') FROM src LIMIT 1 ; -'_c0' -'7' -1 row selected ->>> SELECT xpath_int ('1248', 'sum(a/b[@class="odd"])') FROM src LIMIT 1 ; -'_c0' -'5' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_xpath_long.q.out ql/src/test/results/beelinepositive/udf_xpath_long.q.out deleted file mode 100644 index 6142c15..0000000 --- ql/src/test/results/beelinepositive/udf_xpath_long.q.out +++ /dev/null @@ -1,47 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_xpath_long.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_xpath_long.q ->>> DESCRIBE FUNCTION xpath_long ; -'tab_name' -'xpath_long(xml, xpath) - Returns a long value that matches the xpath expression' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED xpath_long ; -'tab_name' -'xpath_long(xml, xpath) - Returns a long value that matches the xpath expression' -'Example:' -' > SELECT xpath_long('12','sum(a/b)') FROM src LIMIT 1;' -' 3' -4 rows selected ->>> ->>> SELECT xpath_long ('this is not a number', 'a') FROM src LIMIT 1 ; -'_c0' -'0' -1 row selected ->>> SELECT xpath_long ('this 2 is not a number', 'a') FROM src LIMIT 1 ; -'_c0' -'0' -1 row selected ->>> SELECT xpath_long ('200000000040000000000', 'a/b * a/c') FROM src LIMIT 1 ; -'_c0' -'9223372036854775807' -1 row selected ->>> SELECT xpath_long ('try a boolean', 'a = 10') FROM src LIMIT 1 ; -'_c0' -'0' -1 row selected ->>> SELECT xpath_long ('1248', 'a/b') FROM src LIMIT 1 ; -'_c0' -'1' -1 row selected ->>> SELECT xpath_long ('1248', 'sum(a/*)') FROM src LIMIT 1 ; -'_c0' -'15' -1 row selected ->>> SELECT xpath_long ('1248', 'sum(a/b)') FROM src LIMIT 1 ; -'_c0' -'7' -1 row selected ->>> SELECT xpath_long ('1248', 'sum(a/b[@class="odd"])') FROM src LIMIT 1 ; -'_c0' -'5' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_xpath_short.q.out ql/src/test/results/beelinepositive/udf_xpath_short.q.out deleted file mode 100644 index 47ee780..0000000 --- ql/src/test/results/beelinepositive/udf_xpath_short.q.out +++ /dev/null @@ -1,47 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_xpath_short.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_xpath_short.q ->>> DESCRIBE FUNCTION xpath_short ; -'tab_name' -'xpath_short(xml, xpath) - Returns a short value that matches the xpath expression' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED xpath_short ; -'tab_name' -'xpath_short(xml, xpath) - Returns a short value that matches the xpath expression' -'Example:' -' > SELECT xpath_short('12','sum(a/b)') FROM src LIMIT 1;' -' 3' -4 rows selected ->>> ->>> SELECT xpath_short ('this is not a number', 'a') FROM src LIMIT 1 ; -'_c0' -'0' -1 row selected ->>> SELECT xpath_short ('this 2 is not a number', 'a') FROM src LIMIT 1 ; -'_c0' -'0' -1 row selected ->>> SELECT xpath_short ('200000000040000000000', 'a/b * a/c') FROM src LIMIT 1 ; -'_c0' -'-1' -1 row selected ->>> SELECT xpath_short ('try a boolean', 'a = 10') FROM src LIMIT 1 ; -'_c0' -'0' -1 row selected ->>> SELECT xpath_short ('1248', 'a/b') FROM src LIMIT 1 ; -'_c0' -'1' -1 row selected ->>> SELECT xpath_short ('1248', 'sum(a/*)') FROM src LIMIT 1 ; -'_c0' -'15' -1 row selected ->>> SELECT xpath_short ('1248', 'sum(a/b)') FROM src LIMIT 1 ; -'_c0' -'7' -1 row selected ->>> SELECT xpath_short ('1248', 'sum(a/b[@class="odd"])') FROM src LIMIT 1 ; -'_c0' -'5' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udf_xpath_string.q.out ql/src/test/results/beelinepositive/udf_xpath_string.q.out deleted file mode 100644 index 97383a2..0000000 --- ql/src/test/results/beelinepositive/udf_xpath_string.q.out +++ /dev/null @@ -1,53 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udf_xpath_string.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udf_xpath_string.q ->>> DESCRIBE FUNCTION xpath_string ; -'tab_name' -'xpath_string(xml, xpath) - Returns the text contents of the first xml node that matches the xpath expression' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED xpath_string ; -'tab_name' -'xpath_string(xml, xpath) - Returns the text contents of the first xml node that matches the xpath expression' -'Example:' -' > SELECT xpath_string('bcc','a/c') FROM src LIMIT 1;' -' 'cc'' -' > SELECT xpath_string('b1b2','a/b') FROM src LIMIT 1;' -' 'b1'' -' > SELECT xpath_string('b1b2','a/b[2]') FROM src LIMIT 1;' -' 'b2'' -' > SELECT xpath_string('b1b2','a') FROM src LIMIT 1;' -' 'b1b2'' -10 rows selected ->>> ->>> SELECT xpath_string ('bbcc', 'a') FROM src LIMIT 1 ; -'_c0' -'bbcc' -1 row selected ->>> SELECT xpath_string ('bbcc', 'a/b') FROM src LIMIT 1 ; -'_c0' -'bb' -1 row selected ->>> SELECT xpath_string ('bbcc', 'a/c') FROM src LIMIT 1 ; -'_c0' -'cc' -1 row selected ->>> SELECT xpath_string ('bbcc', 'a/d') FROM src LIMIT 1 ; -'_c0' -'' -1 row selected ->>> SELECT xpath_string ('b1b2', '//b') FROM src LIMIT 1 ; -'_c0' -'b1' -1 row selected ->>> SELECT xpath_string ('b1b2', 'a/b[1]') FROM src LIMIT 1 ; -'_c0' -'b1' -1 row selected ->>> SELECT xpath_string ('b1b2', 'a/b[2]') FROM src LIMIT 1 ; -'_c0' -'b2' -1 row selected ->>> SELECT xpath_string ('b1b2', 'a/b[@id="b_2"]') FROM src LIMIT 1 ; -'_c0' -'b2' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/udtf_explode.q.out ql/src/test/results/beelinepositive/udtf_explode.q.out deleted file mode 100644 index f141ddd..0000000 --- ql/src/test/results/beelinepositive/udtf_explode.q.out +++ /dev/null @@ -1,592 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udtf_explode.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udtf_explode.q ->>> DESCRIBE FUNCTION explode; -'tab_name' -'explode(a) - separates the elements of array a into multiple rows, or the elements of a map into multiple rows and columns ' -1 row selected ->>> DESCRIBE FUNCTION EXTENDED explode; -'tab_name' -'explode(a) - separates the elements of array a into multiple rows, or the elements of a map into multiple rows and columns ' -1 row selected ->>> ->>> EXPLAIN EXTENDED SELECT explode(array(1,2,3)) AS myCol FROM src LIMIT 3; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION explode (TOK_FUNCTION array 1 2 3)) myCol)) (TOK_LIMIT 3)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: array(1,2,3)' -' type: array' -' outputColumnNames: _col0' -' UDTF Operator' -' function name: explode' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns col' -' columns.types int' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/udtf_explode.db/src [src]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/udtf_explode.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/udtf_explode.db/src' -' name udtf_explode.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/udtf_explode.db/src' -' name udtf_explode.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: udtf_explode.src' -' name: udtf_explode.src' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 3' -'' -'' -96 rows selected ->>> EXPLAIN EXTENDED SELECT a.myCol, count(1) FROM (SELECT explode(array(1,2,3)) AS myCol FROM src LIMIT 3) a GROUP BY a.myCol; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION explode (TOK_FUNCTION array 1 2 3)) myCol)) (TOK_LIMIT 3))) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) myCol)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL a) myCol))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a:src ' -' TableScan' -' alias: src' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: array(1,2,3)' -' type: array' -' outputColumnNames: _col0' -' UDTF Operator' -' function name: explode' -' Limit' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: col' -' type: int' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/udtf_explode.db/src [a:src]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/udtf_explode.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/udtf_explode.db/src' -' name udtf_explode.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/udtf_explode.db/src' -' name udtf_explode.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: udtf_explode.src' -' name: udtf_explode.src' -' Reduce Operator Tree:' -' Extract' -' Limit' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' outputColumnNames: _col0' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: int' -' mode: hash' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types int,bigint' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types int,bigint' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types int,bigint' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types int:bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -189 rows selected ->>> ->>> SELECT explode(array(1,2,3)) AS myCol FROM src LIMIT 3; -'mycol' -'1' -'2' -'3' -3 rows selected ->>> SELECT explode(array(1,2,3)) AS (myCol) FROM src LIMIT 3; -'mycol' -'1' -'2' -'3' -3 rows selected ->>> SELECT a.myCol, count(1) FROM (SELECT explode(array(1,2,3)) AS myCol FROM src LIMIT 3) a GROUP BY a.myCol; -'mycol','_c1' -'1','1' -'2','1' -'3','1' -3 rows selected ->>> ->>> EXPLAIN SELECT explode(map(1,'one',2,'two',3,'three')) as (myKey,myVal) FROM src LIMIT 3; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION explode (TOK_FUNCTION map 1 'one' 2 'two' 3 'three')) myKey myVal)) (TOK_LIMIT 3)))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: map(1:'one',2:'two',3:'three')' -' type: map' -' outputColumnNames: _col0' -' UDTF Operator' -' function name: explode' -' Limit' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: 3' -'' -'' -34 rows selected ->>> EXPLAIN EXTENDED SELECT a.myKey, a.myVal, count(1) FROM (SELECT explode(map(1,'one',2,'two',3,'three')) as (myKey,myVal) FROM src LIMIT 3) a GROUP BY a.myKey, a.myVal; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION explode (TOK_FUNCTION map 1 'one' 2 'two' 3 'three')) myKey myVal)) (TOK_LIMIT 3))) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) myKey)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) myVal)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL a) myKey) (. (TOK_TABLE_OR_COL a) myVal))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a:src ' -' TableScan' -' alias: src' -' GatherStats: false' -' Select Operator' -' expressions:' -' expr: map(1:'one',2:'two',3:'three')' -' type: map' -' outputColumnNames: _col0' -' UDTF Operator' -' function name: explode' -' Limit' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/udtf_explode.db/src [a:src]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/udtf_explode.db/src ' -' Partition' -' base file name: src' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/udtf_explode.db/src' -' name udtf_explode.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/udtf_explode.db/src' -' name udtf_explode.src' -' numFiles 1' -' numPartitions 0' -' numRows 0' -' rawDataSize 0' -' serialization.ddl struct src { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: udtf_explode.src' -' name: udtf_explode.src' -' Reduce Operator Tree:' -' Extract' -' Limit' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types int,string,bigint' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types int,string,bigint' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types int,string,bigint' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: int' -' expr: KEY._col1' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2' -' columns.types int:string:bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -203 rows selected ->>> ->>> SELECT explode(map(1,'one',2,'two',3,'three')) as (myKey,myVal) FROM src LIMIT 3; -'mykey','myval' -'1','one' -'2','two' -'3','three' -3 rows selected ->>> SELECT a.myKey, a.myVal, count(1) FROM (SELECT explode(map(1,'one',2,'two',3,'three')) as (myKey,myVal) FROM src LIMIT 3) a GROUP BY a.myKey, a.myVal; -'mykey','myval','_c2' -'1','one','1' -'2','two','1' -'3','three','1' -3 rows selected ->>> ->>> SELECT src.key, myCol FROM src lateral view explode(array(1,2,3)) x AS myCol LIMIT 3; -'key','mycol' -'238','1' -'238','2' -'238','3' -3 rows selected ->>> SELECT src.key, myKey, myVal FROM src lateral view explode(map(1,'one',2,'two',3,'three')) x AS myKey,myVal LIMIT 3; -'key','mykey','myval' -'238','1','one' -'238','2','two' -'238','3','three' -3 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udtf_json_tuple.q.out ql/src/test/results/beelinepositive/udtf_json_tuple.q.out deleted file mode 100644 index c9714ef..0000000 --- ql/src/test/results/beelinepositive/udtf_json_tuple.q.out +++ /dev/null @@ -1,517 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udtf_json_tuple.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udtf_json_tuple.q ->>> create table json_t (key string, jstring string); -No rows affected ->>> ->>> insert overwrite table json_t -select * from ( -select '1', '{"f1": "value1", "f2": "value2", "f3": 3, "f5": 5.23}' from src limit 1 -union all -select '2', '{"f1": "value12", "f3": "value3", "f2": 2, "f4": 4.01}' from src limit 1 -union all -select '3', '{"f1": "value13", "f4": "value44", "f3": "value33", "f2": 2, "f5": 5.01}' from src limit 1 -union all -select '4', cast(null as string) from src limit 1 -union all -select '5', '{"f1": "", "f5": null}' from src limit 1 -union all -select '6', '[invalid JSON string]' from src limit 1 -) s; -'_c0','_c1' -No rows selected ->>> ->>> explain -select a.key, b.* from json_t a lateral view json_tuple(a.jstring, 'f1', 'f2', 'f3', 'f4', 'f5') b as f1, f2, f3, f4, f5 order by a.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LATERAL_VIEW (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION json_tuple (. (TOK_TABLE_OR_COL a) jstring) 'f1' 'f2' 'f3' 'f4' 'f5') f1 f2 f3 f4 f5 (TOK_TABALIAS b))) (TOK_TABREF (TOK_TABNAME json_t) a))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME b)))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Lateral View Forward' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Lateral View Join Operator' -' outputColumnNames: _col0, _col2, _col3, _col4, _col5, _col6' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col6' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' Select Operator' -' expressions:' -' expr: jstring' -' type: string' -' expr: 'f1'' -' type: string' -' expr: 'f2'' -' type: string' -' expr: 'f3'' -' type: string' -' expr: 'f4'' -' type: string' -' expr: 'f5'' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' UDTF Operator' -' function name: json_tuple' -' Lateral View Join Operator' -' outputColumnNames: _col0, _col2, _col3, _col4, _col5, _col6' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col6' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -123 rows selected ->>> ->>> select a.key, b.* from json_t a lateral view json_tuple(a.jstring, 'f1', 'f2', 'f3', 'f4', 'f5') b as f1, f2, f3, f4, f5 order by a.key; -'key','f1','f2','f3','f4','f5' -'1','value1','value2','3','','5.23' -'2','value12','2','value3','4.01','' -'3','value13','2','value33','value44','5.01' -'4','','','','','' -'5','','','','','' -'6','','','','','' -6 rows selected ->>> ->>> explain -select json_tuple(a.jstring, 'f1', 'f2', 'f3', 'f4', 'f5') as (f1, f2, f3, f4, f5) from json_t a order by f1, f2, f3; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME json_t) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION json_tuple (. (TOK_TABLE_OR_COL a) jstring) 'f1' 'f2' 'f3' 'f4' 'f5') f1 f2 f3 f4 f5)) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL f1)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL f2)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL f3)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Select Operator' -' expressions:' -' expr: jstring' -' type: string' -' expr: 'f1'' -' type: string' -' expr: 'f2'' -' type: string' -' expr: 'f3'' -' type: string' -' expr: 'f4'' -' type: string' -' expr: 'f5'' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' UDTF Operator' -' function name: json_tuple' -' Reduce Output Operator' -' key expressions:' -' expr: c0' -' type: string' -' expr: c1' -' type: string' -' expr: c2' -' type: string' -' sort order: +++' -' tag: -1' -' value expressions:' -' expr: c0' -' type: string' -' expr: c1' -' type: string' -' expr: c2' -' type: string' -' expr: c3' -' type: string' -' expr: c4' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -66 rows selected ->>> ->>> select json_tuple(a.jstring, 'f1', 'f2', 'f3', 'f4', 'f5') as (f1, f2, f3, f4, f5) from json_t a order by f1, f2, f3; -'f1','f2','f3','f4','f5' -'','','','','' -'','','','','' -'','','','','' -'value1','value2','3','','5.23' -'value12','2','value3','4.01','' -'value13','2','value33','value44','5.01' -6 rows selected ->>> ->>> explain -select a.key, b.f2, b.f5 from json_t a lateral view json_tuple(a.jstring, 'f1', 'f2', 'f3', 'f4', 'f5') b as f1, f2, f3, f4, f5 order by a.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LATERAL_VIEW (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION json_tuple (. (TOK_TABLE_OR_COL a) jstring) 'f1' 'f2' 'f3' 'f4' 'f5') f1 f2 f3 f4 f5 (TOK_TABALIAS b))) (TOK_TABREF (TOK_TABNAME json_t) a))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) f2)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) f5))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Lateral View Forward' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Lateral View Join Operator' -' outputColumnNames: _col0, _col2, _col3, _col4, _col5, _col6' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col3' -' type: string' -' expr: _col6' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' Select Operator' -' expressions:' -' expr: jstring' -' type: string' -' expr: 'f1'' -' type: string' -' expr: 'f2'' -' type: string' -' expr: 'f3'' -' type: string' -' expr: 'f4'' -' type: string' -' expr: 'f5'' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' UDTF Operator' -' function name: json_tuple' -' Lateral View Join Operator' -' outputColumnNames: _col0, _col2, _col3, _col4, _col5, _col6' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col3' -' type: string' -' expr: _col6' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -99 rows selected ->>> ->>> select a.key, b.f2, b.f5 from json_t a lateral view json_tuple(a.jstring, 'f1', 'f2', 'f3', 'f4', 'f5') b as f1, f2, f3, f4, f5 order by a.key; -'key','f2','f5' -'1','value2','5.23' -'2','2','' -'3','2','5.01' -'4','','' -'5','','' -'6','','' -6 rows selected ->>> ->>> explain -select f2, count(*) from json_t a lateral view json_tuple(a.jstring, 'f1', 'f2', 'f3', 'f4', 'f5') b as f1, f2, f3, f4, f5 where f1 is not null group by f2 order by f2; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LATERAL_VIEW (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION json_tuple (. (TOK_TABLE_OR_COL a) jstring) 'f1' 'f2' 'f3' 'f4' 'f5') f1 f2 f3 f4 f5 (TOK_TABALIAS b))) (TOK_TABREF (TOK_TABNAME json_t) a))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL f2)) (TOK_SELEXPR (TOK_FUNCTIONSTAR count))) (TOK_WHERE (TOK_FUNCTION TOK_ISNOTNULL (TOK_TABLE_OR_COL f1))) (TOK_GROUPBY (TOK_TABLE_OR_COL f2)) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL f2)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Lateral View Forward' -' Select Operator' -' Lateral View Join Operator' -' outputColumnNames: _col2, _col3, _col4, _col5, _col6' -' Filter Operator' -' predicate:' -' expr: _col2 is not null' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col3' -' type: string' -' outputColumnNames: _col3' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' keys:' -' expr: _col3' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Select Operator' -' expressions:' -' expr: jstring' -' type: string' -' expr: 'f1'' -' type: string' -' expr: 'f2'' -' type: string' -' expr: 'f3'' -' type: string' -' expr: 'f4'' -' type: string' -' expr: 'f5'' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5' -' UDTF Operator' -' function name: json_tuple' -' Lateral View Join Operator' -' outputColumnNames: _col2, _col3, _col4, _col5, _col6' -' Filter Operator' -' predicate:' -' expr: _col2 is not null' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col3' -' type: string' -' outputColumnNames: _col3' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' keys:' -' expr: _col3' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -150 rows selected ->>> ->>> select f2, count(*) from json_t a lateral view json_tuple(a.jstring, 'f1', 'f2', 'f3', 'f4', 'f5') b as f1, f2, f3, f4, f5 where f1 is not null group by f2 order by f2; -'f2','_c1' -'','1' -'2','2' -'value2','1' -3 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/udtf_parse_url_tuple.q.out ql/src/test/results/beelinepositive/udtf_parse_url_tuple.q.out deleted file mode 100644 index aea0c1d..0000000 --- ql/src/test/results/beelinepositive/udtf_parse_url_tuple.q.out +++ /dev/null @@ -1,621 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/udtf_parse_url_tuple.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/udtf_parse_url_tuple.q ->>> create table url_t (key string, fullurl string); -No rows affected ->>> ->>> insert overwrite table url_t -select * from ( -select '1', 'http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1' from src limit 1 -union all -select '2', 'https://www.socs.uts.edu.au:80/MosaicDocs-old/url-primer.html?k1=tps#chapter1' from src limit 1 -union all -select '3', 'ftp://sites.google.com/a/example.com/site/page' from src limit 1 -union all -select '4', cast(null as string) from src limit 1 -union all -select '5', 'htttp://' from src limit 1 -union all -select '6', '[invalid url string]' from src limit 1 -) s; -'_c0','_c1' -No rows selected ->>> ->>> describe function parse_url_tuple; -'tab_name' -'parse_url_tuple(url, partname1, partname2, ..., partnameN) - extracts N (N>=1) parts from a URL.' -'It takes a URL and one or multiple partnames, and returns a tuple. All the input parameters and output column types are string.' -2 rows selected ->>> describe function extended parse_url_tuple; -'tab_name' -'parse_url_tuple(url, partname1, partname2, ..., partnameN) - extracts N (N>=1) parts from a URL.' -'It takes a URL and one or multiple partnames, and returns a tuple. All the input parameters and output column types are string.' -'Partname: HOST, PATH, QUERY, REF, PROTOCOL, AUTHORITY, FILE, USERINFO, QUERY:' -'Note: Partnames are case-sensitive, and should not contain unnecessary white spaces.' -'Example:' -' > SELECT b.* FROM src LATERAL VIEW parse_url_tuple(fullurl, 'HOST', 'PATH', 'QUERY', 'QUERY:id') b as host, path, query, query_id LIMIT 1;' -' > SELECT parse_url_tuple(a.fullurl, 'HOST', 'PATH', 'QUERY', 'REF', 'PROTOCOL', 'FILE', 'AUTHORITY', 'USERINFO', 'QUERY:k1') as (ho, pa, qu, re, pr, fi, au, us, qk1) from src a;' -7 rows selected ->>> ->>> explain -select a.key, b.* from url_t a lateral view parse_url_tuple(a.fullurl, 'HOST', 'PATH', 'QUERY', 'REF', 'PROTOCOL', 'FILE', 'AUTHORITY', 'USERINFO', 'QUERY:k1') b as ho, pa, qu, re, pr, fi, au, us, qk1 order by a.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LATERAL_VIEW (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION parse_url_tuple (. (TOK_TABLE_OR_COL a) fullurl) 'HOST' 'PATH' 'QUERY' 'REF' 'PROTOCOL' 'FILE' 'AUTHORITY' 'USERINFO' 'QUERY:k1') ho pa qu re pr fi au us qk1 (TOK_TABALIAS b))) (TOK_TABREF (TOK_TABNAME url_t) a))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME b)))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Lateral View Forward' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Lateral View Join Operator' -' outputColumnNames: _col0, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col6' -' type: string' -' expr: _col7' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' expr: _col10' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col6' -' type: string' -' expr: _col7' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' Select Operator' -' expressions:' -' expr: fullurl' -' type: string' -' expr: 'HOST'' -' type: string' -' expr: 'PATH'' -' type: string' -' expr: 'QUERY'' -' type: string' -' expr: 'REF'' -' type: string' -' expr: 'PROTOCOL'' -' type: string' -' expr: 'FILE'' -' type: string' -' expr: 'AUTHORITY'' -' type: string' -' expr: 'USERINFO'' -' type: string' -' expr: 'QUERY:k1'' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9' -' UDTF Operator' -' function name: parse_url_tuple' -' Lateral View Join Operator' -' outputColumnNames: _col0, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col6' -' type: string' -' expr: _col7' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' expr: _col10' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col6' -' type: string' -' expr: _col7' -' type: string' -' expr: _col8' -' type: string' -' expr: _col9' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -163 rows selected ->>> ->>> select a.key, b.* from url_t a lateral view parse_url_tuple(a.fullurl, 'HOST', 'PATH', 'QUERY', 'REF', 'PROTOCOL', 'FILE', 'AUTHORITY', 'USERINFO', 'QUERY:k1') b as ho, pa, qu, re, pr, fi, au, us, qk1 order by a.key; -'key','ho','pa','qu','re','pr','fi','au','us','qk1' -'1','facebook.com','/path1/p.php','k1=v1&k2=v2','Ref1','http','/path1/p.php?k1=v1&k2=v2','facebook.com','','v1' -'2','www.socs.uts.edu.au','/MosaicDocs-old/url-primer.html','k1=tps','chapter1','https','/MosaicDocs-old/url-primer.html?k1=tps','www.socs.uts.edu.au:80','','tps' -'3','sites.google.com','/a/example.com/site/page','','','ftp','/a/example.com/site/page','sites.google.com','','' -'4','','','','','','','','','' -'5','','','','','','','','','' -'6','','','','','','','','','' -6 rows selected ->>> ->>> explain -select parse_url_tuple(a.fullurl, 'HOST', 'PATH', 'QUERY', 'REF', 'PROTOCOL', 'FILE', 'AUTHORITY', 'USERINFO', 'QUERY:k1') as (ho, pa, qu, re, pr, fi, au, us, qk1) from url_t a order by ho, pa, qu; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME url_t) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION parse_url_tuple (. (TOK_TABLE_OR_COL a) fullurl) 'HOST' 'PATH' 'QUERY' 'REF' 'PROTOCOL' 'FILE' 'AUTHORITY' 'USERINFO' 'QUERY:k1') ho pa qu re pr fi au us qk1)) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL ho)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL pa)) (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL qu)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Select Operator' -' expressions:' -' expr: fullurl' -' type: string' -' expr: 'HOST'' -' type: string' -' expr: 'PATH'' -' type: string' -' expr: 'QUERY'' -' type: string' -' expr: 'REF'' -' type: string' -' expr: 'PROTOCOL'' -' type: string' -' expr: 'FILE'' -' type: string' -' expr: 'AUTHORITY'' -' type: string' -' expr: 'USERINFO'' -' type: string' -' expr: 'QUERY:k1'' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9' -' UDTF Operator' -' function name: parse_url_tuple' -' Reduce Output Operator' -' key expressions:' -' expr: c0' -' type: string' -' expr: c1' -' type: string' -' expr: c2' -' type: string' -' sort order: +++' -' tag: -1' -' value expressions:' -' expr: c0' -' type: string' -' expr: c1' -' type: string' -' expr: c2' -' type: string' -' expr: c3' -' type: string' -' expr: c4' -' type: string' -' expr: c5' -' type: string' -' expr: c6' -' type: string' -' expr: c7' -' type: string' -' expr: c8' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -82 rows selected ->>> ->>> select parse_url_tuple(a.fullurl, 'HOST', 'PATH', 'QUERY', 'REF', 'PROTOCOL', 'FILE', 'AUTHORITY', 'USERINFO', 'QUERY:k1') as (ho, pa, qu, re, pr, fi, au, us, qk1) from url_t a order by ho, pa, qu; -'ho','pa','qu','re','pr','fi','au','us','qk1' -'','','','','','','','','' -'','','','','','','','','' -'','','','','','','','','' -'facebook.com','/path1/p.php','k1=v1&k2=v2','Ref1','http','/path1/p.php?k1=v1&k2=v2','facebook.com','','v1' -'sites.google.com','/a/example.com/site/page','','','ftp','/a/example.com/site/page','sites.google.com','','' -'www.socs.uts.edu.au','/MosaicDocs-old/url-primer.html','k1=tps','chapter1','https','/MosaicDocs-old/url-primer.html?k1=tps','www.socs.uts.edu.au:80','','tps' -6 rows selected ->>> ->>> -- should return null for 'host', 'query', 'QUERY:nonExistCol' ->>> explain -select a.key, b.ho, b.qu, b.qk1, b.err1, b.err2, b.err3 from url_t a lateral view parse_url_tuple(a.fullurl, 'HOST', 'PATH', 'QUERY', 'REF', 'PROTOCOL', 'FILE', 'AUTHORITY', 'USERINFO', 'QUERY:k1', 'host', 'query', 'QUERY:nonExistCol') b as ho, pa, qu, re, pr, fi, au, us, qk1, err1, err2, err3 order by a.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LATERAL_VIEW (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION parse_url_tuple (. (TOK_TABLE_OR_COL a) fullurl) 'HOST' 'PATH' 'QUERY' 'REF' 'PROTOCOL' 'FILE' 'AUTHORITY' 'USERINFO' 'QUERY:k1' 'host' 'query' 'QUERY:nonExistCol') ho pa qu re pr fi au us qk1 err1 err2 err3 (TOK_TABALIAS b))) (TOK_TABREF (TOK_TABNAME url_t) a))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) ho)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) qu)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) qk1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) err1)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) err2)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) err3))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL a) key)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Lateral View Forward' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Lateral View Join Operator' -' outputColumnNames: _col0, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col2' -' type: string' -' expr: _col4' -' type: string' -' expr: _col10' -' type: string' -' expr: _col11' -' type: string' -' expr: _col12' -' type: string' -' expr: _col13' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col6' -' type: string' -' Select Operator' -' expressions:' -' expr: fullurl' -' type: string' -' expr: 'HOST'' -' type: string' -' expr: 'PATH'' -' type: string' -' expr: 'QUERY'' -' type: string' -' expr: 'REF'' -' type: string' -' expr: 'PROTOCOL'' -' type: string' -' expr: 'FILE'' -' type: string' -' expr: 'AUTHORITY'' -' type: string' -' expr: 'USERINFO'' -' type: string' -' expr: 'QUERY:k1'' -' type: string' -' expr: 'host'' -' type: string' -' expr: 'query'' -' type: string' -' expr: 'QUERY:nonExistCol'' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12' -' UDTF Operator' -' function name: parse_url_tuple' -' Lateral View Join Operator' -' outputColumnNames: _col0, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col2' -' type: string' -' expr: _col4' -' type: string' -' expr: _col10' -' type: string' -' expr: _col11' -' type: string' -' expr: _col12' -' type: string' -' expr: _col13' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' expr: _col4' -' type: string' -' expr: _col5' -' type: string' -' expr: _col6' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -145 rows selected ->>> ->>> select a.key, b.ho, b.qu, b.qk1, b.err1, b.err2, b.err3 from url_t a lateral view parse_url_tuple(a.fullurl, 'HOST', 'PATH', 'QUERY', 'REF', 'PROTOCOL', 'FILE', 'AUTHORITY', 'USERINFO', 'QUERY:k1', 'host', 'query', 'QUERY:nonExistCol') b as ho, pa, qu, re, pr, fi, au, us, qk1, err1, err2, err3 order by a.key; -'key','ho','qu','qk1','err1','err2','err3' -'1','facebook.com','k1=v1&k2=v2','v1','','','' -'2','www.socs.uts.edu.au','k1=tps','tps','','','' -'3','sites.google.com','','','','','' -'4','','','','','','' -'5','','','','','','' -'6','','','','','','' -6 rows selected ->>> ->>> ->>> explain -select ho, count(*) from url_t a lateral view parse_url_tuple(a.fullurl, 'HOST', 'PATH', 'QUERY', 'REF', 'PROTOCOL', 'FILE', 'AUTHORITY', 'USERINFO', 'QUERY:k1') b as ho, pa, qu, re, pr, fi, au, us, qk1 where qk1 is not null group by ho; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LATERAL_VIEW (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION parse_url_tuple (. (TOK_TABLE_OR_COL a) fullurl) 'HOST' 'PATH' 'QUERY' 'REF' 'PROTOCOL' 'FILE' 'AUTHORITY' 'USERINFO' 'QUERY:k1') ho pa qu re pr fi au us qk1 (TOK_TABALIAS b))) (TOK_TABREF (TOK_TABNAME url_t) a))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL ho)) (TOK_SELEXPR (TOK_FUNCTIONSTAR count))) (TOK_WHERE (TOK_FUNCTION TOK_ISNOTNULL (TOK_TABLE_OR_COL qk1))) (TOK_GROUPBY (TOK_TABLE_OR_COL ho))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' a ' -' TableScan' -' alias: a' -' Lateral View Forward' -' Select Operator' -' Lateral View Join Operator' -' outputColumnNames: _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10' -' Filter Operator' -' predicate:' -' expr: _col10 is not null' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' outputColumnNames: _col2' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' keys:' -' expr: _col2' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Select Operator' -' expressions:' -' expr: fullurl' -' type: string' -' expr: 'HOST'' -' type: string' -' expr: 'PATH'' -' type: string' -' expr: 'QUERY'' -' type: string' -' expr: 'REF'' -' type: string' -' expr: 'PROTOCOL'' -' type: string' -' expr: 'FILE'' -' type: string' -' expr: 'AUTHORITY'' -' type: string' -' expr: 'USERINFO'' -' type: string' -' expr: 'QUERY:k1'' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9' -' UDTF Operator' -' function name: parse_url_tuple' -' Lateral View Join Operator' -' outputColumnNames: _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10' -' Filter Operator' -' predicate:' -' expr: _col10 is not null' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' outputColumnNames: _col2' -' Group By Operator' -' aggregations:' -' expr: count()' -' bucketGroup: false' -' keys:' -' expr: _col2' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -134 rows selected ->>> ->>> select ho, count(*) from url_t a lateral view parse_url_tuple(a.fullurl, 'HOST', 'PATH', 'QUERY', 'REF', 'PROTOCOL', 'FILE', 'AUTHORITY', 'USERINFO', 'QUERY:k1') b as ho, pa, qu, re, pr, fi, au, us, qk1 where qk1 is not null group by ho; -'ho','_c1' -'facebook.com','1' -'www.socs.uts.edu.au','1' -2 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/union.q.out ql/src/test/results/beelinepositive/union.q.out deleted file mode 100644 index 9deddf4..0000000 --- ql/src/test/results/beelinepositive/union.q.out +++ /dev/null @@ -1,143 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/union.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/union.q ->>> -- union case: both subqueries are map jobs on same input, followed by filesink ->>> ->>> EXPLAIN -FROM ( -FROM src select src.key, src.value WHERE src.key < 100 -UNION ALL -FROM src SELECT src.* WHERE src.key > 100 -) unioninput -INSERT OVERWRITE DIRECTORY '../build/ql/test/data/warehouse/union.out' SELECT unioninput.*; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL src) value))) (TOK_WHERE (< (. (TOK_TABLE_OR_COL src) key) 100)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME src)))) (TOK_WHERE (> (. (TOK_TABLE_OR_COL src) key) 100))))) unioninput)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR '../build/ql/test/data/warehouse/union.out')) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME unioninput))))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-6 depends on stages: Stage-1 , consists of Stage-3, Stage-2, Stage-4' -' Stage-3' -' Stage-0 depends on stages: Stage-3, Stage-2, Stage-5' -' Stage-2' -' Stage-4' -' Stage-5 depends on stages: Stage-4' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1:unioninput-subquery1:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key < 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' null-subquery2:unioninput-subquery2:src ' -' TableScan' -' alias: src' -' Filter Operator' -' predicate:' -' expr: (key > 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-6' -' Conditional Operator' -'' -' Stage: Stage-3' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: ../build/ql/test/data/warehouse/union.out' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-5' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -'' -117 rows selected ->>> ->>> FROM ( -FROM src select src.key, src.value WHERE src.key < 100 -UNION ALL -FROM src SELECT src.* WHERE src.key > 100 -) unioninput -INSERT OVERWRITE DIRECTORY '../build/ql/test/data/warehouse/union.out' SELECT unioninput.*; -'key','value' -No rows selected ->>> ->>> dfs -cat ../build/ql/test/data/warehouse/union.out/*; -No rows affected ->>> !record diff --git ql/src/test/results/beelinepositive/union10.q.out ql/src/test/results/beelinepositive/union10.q.out deleted file mode 100644 index a15224f..0000000 --- ql/src/test/results/beelinepositive/union10.q.out +++ /dev/null @@ -1,310 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/union10.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/union10.q ->>> set hive.map.aggr = true; -No rows affected ->>> ->>> -- union case: all subqueries are a map-reduce jobs, 3 way union, same input for all sub-queries, followed by filesink ->>> ->>> create table tmptable(key string, value int); -No rows affected ->>> ->>> explain -insert overwrite table tmptable -select unionsrc.key, unionsrc.value FROM (select 'tst1' as key, count(1) as value from src s1 -UNION ALL -select 'tst2' as key, count(1) as value from src s2 -UNION ALL -select 'tst3' as key, count(1) as value from src s3) unionsrc; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) s1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 'tst1' key) (TOK_SELEXPR (TOK_FUNCTION count 1) value)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) s2)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 'tst2' key) (TOK_SELEXPR (TOK_FUNCTION count 1) value))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) s3)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 'tst3' key) (TOK_SELEXPR (TOK_FUNCTION count 1) value))))) unionsrc)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME tmptable))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL unionsrc) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL unionsrc) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-9, Stage-10' -' Stage-8 depends on stages: Stage-2 , consists of Stage-5, Stage-4, Stage-6' -' Stage-5' -' Stage-0 depends on stages: Stage-5, Stage-4, Stage-7' -' Stage-3 depends on stages: Stage-0' -' Stage-4' -' Stage-6' -' Stage-7 depends on stages: Stage-6' -' Stage-9 is a root stage' -' Stage-10 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1-subquery1:unionsrc-subquery1-subquery1:s1 ' -' TableScan' -' alias: s1' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: 'tst1'' -' type: string' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: union10.tmptable' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: union10.tmptable' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: union10.tmptable' -'' -' Stage: Stage-8' -' Conditional Operator' -'' -' Stage: Stage-5' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: union10.tmptable' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: union10.tmptable' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: union10.tmptable' -'' -' Stage: Stage-7' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-9' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1-subquery2:unionsrc-subquery1-subquery2:s2 ' -' TableScan' -' alias: s2' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: 'tst2'' -' type: string' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-10' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery2:unionsrc-subquery2:s3 ' -' TableScan' -' alias: s3' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: 'tst3'' -' type: string' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -'' -271 rows selected ->>> ->>> ->>> insert overwrite table tmptable -select unionsrc.key, unionsrc.value FROM (select 'tst1' as key, count(1) as value from src s1 -UNION ALL -select 'tst2' as key, count(1) as value from src s2 -UNION ALL -select 'tst3' as key, count(1) as value from src s3) unionsrc; -'_col0','_col1' -No rows selected ->>> ->>> ->>> select * from tmptable x sort by x.key; -'key','value' -'tst1','500' -'tst2','500' -'tst3','500' -3 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/union11.q.out ql/src/test/results/beelinepositive/union11.q.out deleted file mode 100644 index 91af0ee..0000000 --- ql/src/test/results/beelinepositive/union11.q.out +++ /dev/null @@ -1,281 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/union11.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/union11.q ->>> set hive.map.aggr = true; -No rows affected ->>> ->>> -- union case: all subqueries are a map-reduce jobs, 3 way union, same input for all sub-queries, followed by reducesink ->>> ->>> explain -select unionsrc.key, count(1) FROM (select 'tst1' as key, count(1) as value from src s1 -UNION ALL -select 'tst2' as key, count(1) as value from src s2 -UNION ALL -select 'tst3' as key, count(1) as value from src s3) unionsrc group by unionsrc.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) s1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 'tst1' key) (TOK_SELEXPR (TOK_FUNCTION count 1) value)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) s2)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 'tst2' key) (TOK_SELEXPR (TOK_FUNCTION count 1) value))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) s3)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 'tst3' key) (TOK_SELEXPR (TOK_FUNCTION count 1) value))))) unionsrc)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL unionsrc) key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL unionsrc) key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-3, Stage-4' -' Stage-3 is a root stage' -' Stage-4 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1-subquery1:unionsrc-subquery1-subquery1:s1 ' -' TableScan' -' alias: s1' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: 'tst1'' -' type: string' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1-subquery2:unionsrc-subquery1-subquery2:s2 ' -' TableScan' -' alias: s2' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: 'tst2'' -' type: string' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery2:unionsrc-subquery2:s3 ' -' TableScan' -' alias: s3' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: 'tst3'' -' type: string' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -250 rows selected ->>> ->>> ->>> select unionsrc.key, count(1) FROM (select 'tst1' as key, count(1) as value from src s1 -UNION ALL -select 'tst2' as key, count(1) as value from src s2 -UNION ALL -select 'tst3' as key, count(1) as value from src s3) unionsrc group by unionsrc.key; -'key','_c1' -'tst1','1' -'tst2','1' -'tst3','1' -3 rows selected ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/union12.q.out ql/src/test/results/beelinepositive/union12.q.out deleted file mode 100644 index a568909..0000000 --- ql/src/test/results/beelinepositive/union12.q.out +++ /dev/null @@ -1,308 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/union12.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/union12.q ->>> set hive.map.aggr = true; -No rows affected ->>> ->>> -- union case: all subqueries are a map-reduce jobs, 3 way union, different inputs for all sub-queries, followed by filesink ->>> ->>> create table tmptable(key string, value int); -No rows affected ->>> ->>> explain -insert overwrite table tmptable -select unionsrc.key, unionsrc.value FROM (select 'tst1' as key, count(1) as value from src s1 -UNION ALL -select 'tst2' as key, count(1) as value from src1 s2 -UNION ALL -select 'tst3' as key, count(1) as value from srcbucket s3) unionsrc; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) s1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 'tst1' key) (TOK_SELEXPR (TOK_FUNCTION count 1) value)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src1) s2)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 'tst2' key) (TOK_SELEXPR (TOK_FUNCTION count 1) value))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcbucket) s3)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 'tst3' key) (TOK_SELEXPR (TOK_FUNCTION count 1) value))))) unionsrc)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME tmptable))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL unionsrc) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL unionsrc) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-9, Stage-10' -' Stage-8 depends on stages: Stage-2 , consists of Stage-5, Stage-4, Stage-6' -' Stage-5' -' Stage-0 depends on stages: Stage-5, Stage-4, Stage-7' -' Stage-3 depends on stages: Stage-0' -' Stage-4' -' Stage-6' -' Stage-7 depends on stages: Stage-6' -' Stage-9 is a root stage' -' Stage-10 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1-subquery1:unionsrc-subquery1-subquery1:s1 ' -' TableScan' -' alias: s1' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: 'tst1'' -' type: string' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: union12.tmptable' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: union12.tmptable' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: union12.tmptable' -'' -' Stage: Stage-8' -' Conditional Operator' -'' -' Stage: Stage-5' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: union12.tmptable' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: union12.tmptable' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: union12.tmptable' -'' -' Stage: Stage-7' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-9' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1-subquery2:unionsrc-subquery1-subquery2:s2 ' -' TableScan' -' alias: s2' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: 'tst2'' -' type: string' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-10' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery2:unionsrc-subquery2:s3 ' -' TableScan' -' alias: s3' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: 'tst3'' -' type: string' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -'' -271 rows selected ->>> ->>> ->>> insert overwrite table tmptable -select unionsrc.key, unionsrc.value FROM (select 'tst1' as key, count(1) as value from src s1 -UNION ALL -select 'tst2' as key, count(1) as value from src1 s2 -UNION ALL -select 'tst3' as key, count(1) as value from srcbucket s3) unionsrc; -'_col0','_col1' -No rows selected ->>> ->>> select * from tmptable x sort by x.key; -'key','value' -'tst1','500' -'tst2','25' -'tst3','1000' -3 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/union13.q.out ql/src/test/results/beelinepositive/union13.q.out deleted file mode 100644 index 25a69f1..0000000 --- ql/src/test/results/beelinepositive/union13.q.out +++ /dev/null @@ -1,1080 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/union13.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/union13.q ->>> -- union case: both subqueries are a map-only jobs, same input, followed by filesink ->>> ->>> explain -select unionsrc.key, unionsrc.value FROM (select s1.key as key, s1.value as value from src s1 UNION ALL -select s2.key as key, s2.value as value from src s2) unionsrc; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) s1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL s1) key) key) (TOK_SELEXPR (. (TOK_TABLE_OR_COL s1) value) value)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) s2)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL s2) key) key) (TOK_SELEXPR (. (TOK_TABLE_OR_COL s2) value) value))))) unionsrc)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL unionsrc) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL unionsrc) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1:unionsrc-subquery1:s1 ' -' TableScan' -' alias: s1' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' null-subquery2:unionsrc-subquery2:s2 ' -' TableScan' -' alias: s2' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -65 rows selected ->>> ->>> select unionsrc.key, unionsrc.value FROM (select s1.key as key, s1.value as value from src s1 UNION ALL -select s2.key as key, s2.value as value from src s2) unionsrc; -'key','value' -'238','val_238' -'238','val_238' -'86','val_86' -'86','val_86' -'311','val_311' -'311','val_311' -'27','val_27' -'27','val_27' -'165','val_165' -'165','val_165' -'409','val_409' -'409','val_409' -'255','val_255' -'255','val_255' -'278','val_278' -'278','val_278' -'98','val_98' -'98','val_98' -'484','val_484' -'484','val_484' -'265','val_265' -'265','val_265' -'193','val_193' -'193','val_193' -'401','val_401' -'401','val_401' -'150','val_150' -'150','val_150' -'273','val_273' -'273','val_273' -'224','val_224' -'224','val_224' -'369','val_369' -'369','val_369' -'66','val_66' -'66','val_66' -'128','val_128' -'128','val_128' -'213','val_213' -'213','val_213' -'146','val_146' -'146','val_146' -'406','val_406' -'406','val_406' -'429','val_429' -'429','val_429' -'374','val_374' -'374','val_374' -'152','val_152' -'152','val_152' -'469','val_469' -'469','val_469' -'145','val_145' -'145','val_145' -'495','val_495' -'495','val_495' -'37','val_37' -'37','val_37' -'327','val_327' -'327','val_327' -'281','val_281' -'281','val_281' -'277','val_277' -'277','val_277' -'209','val_209' -'209','val_209' -'15','val_15' -'15','val_15' -'82','val_82' -'82','val_82' -'403','val_403' -'403','val_403' -'166','val_166' -'166','val_166' -'417','val_417' -'417','val_417' -'430','val_430' -'430','val_430' -'252','val_252' -'252','val_252' -'292','val_292' -'292','val_292' -'219','val_219' -'219','val_219' -'287','val_287' -'287','val_287' -'153','val_153' -'153','val_153' -'193','val_193' -'193','val_193' -'338','val_338' -'338','val_338' -'446','val_446' -'446','val_446' -'459','val_459' -'459','val_459' -'394','val_394' -'394','val_394' -'237','val_237' -'237','val_237' -'482','val_482' -'482','val_482' -'174','val_174' -'174','val_174' -'413','val_413' -'413','val_413' -'494','val_494' -'494','val_494' -'207','val_207' -'207','val_207' -'199','val_199' -'199','val_199' -'466','val_466' -'466','val_466' -'208','val_208' -'208','val_208' -'174','val_174' -'174','val_174' -'399','val_399' -'399','val_399' -'396','val_396' -'396','val_396' -'247','val_247' -'247','val_247' -'417','val_417' -'417','val_417' -'489','val_489' -'489','val_489' -'162','val_162' -'162','val_162' -'377','val_377' -'377','val_377' -'397','val_397' -'397','val_397' -'309','val_309' -'309','val_309' -'365','val_365' -'365','val_365' -'266','val_266' -'266','val_266' -'439','val_439' -'439','val_439' -'342','val_342' -'342','val_342' -'367','val_367' -'367','val_367' -'325','val_325' -'325','val_325' -'167','val_167' -'167','val_167' -'195','val_195' -'195','val_195' -'475','val_475' -'475','val_475' -'17','val_17' -'17','val_17' -'113','val_113' -'113','val_113' -'155','val_155' -'155','val_155' -'203','val_203' -'203','val_203' -'339','val_339' -'339','val_339' -'0','val_0' -'0','val_0' -'455','val_455' -'455','val_455' -'128','val_128' -'128','val_128' -'311','val_311' -'311','val_311' -'316','val_316' -'316','val_316' -'57','val_57' -'57','val_57' -'302','val_302' -'302','val_302' -'205','val_205' -'205','val_205' -'149','val_149' -'149','val_149' -'438','val_438' -'438','val_438' -'345','val_345' -'345','val_345' -'129','val_129' -'129','val_129' -'170','val_170' -'170','val_170' -'20','val_20' -'20','val_20' -'489','val_489' -'489','val_489' -'157','val_157' -'157','val_157' -'378','val_378' -'378','val_378' -'221','val_221' -'221','val_221' -'92','val_92' -'92','val_92' -'111','val_111' -'111','val_111' -'47','val_47' -'47','val_47' -'72','val_72' -'72','val_72' -'4','val_4' -'4','val_4' -'280','val_280' -'280','val_280' -'35','val_35' -'35','val_35' -'427','val_427' -'427','val_427' -'277','val_277' -'277','val_277' -'208','val_208' -'208','val_208' -'356','val_356' -'356','val_356' -'399','val_399' -'399','val_399' -'169','val_169' -'169','val_169' -'382','val_382' -'382','val_382' -'498','val_498' -'498','val_498' -'125','val_125' -'125','val_125' -'386','val_386' -'386','val_386' -'437','val_437' -'437','val_437' -'469','val_469' -'469','val_469' -'192','val_192' -'192','val_192' -'286','val_286' -'286','val_286' -'187','val_187' -'187','val_187' -'176','val_176' -'176','val_176' -'54','val_54' -'54','val_54' -'459','val_459' -'459','val_459' -'51','val_51' -'51','val_51' -'138','val_138' -'138','val_138' -'103','val_103' -'103','val_103' -'239','val_239' -'239','val_239' -'213','val_213' -'213','val_213' -'216','val_216' -'216','val_216' -'430','val_430' -'430','val_430' -'278','val_278' -'278','val_278' -'176','val_176' -'176','val_176' -'289','val_289' -'289','val_289' -'221','val_221' -'221','val_221' -'65','val_65' -'65','val_65' -'318','val_318' -'318','val_318' -'332','val_332' -'332','val_332' -'311','val_311' -'311','val_311' -'275','val_275' -'275','val_275' -'137','val_137' -'137','val_137' -'241','val_241' -'241','val_241' -'83','val_83' -'83','val_83' -'333','val_333' -'333','val_333' -'180','val_180' -'180','val_180' -'284','val_284' -'284','val_284' -'12','val_12' -'12','val_12' -'230','val_230' -'230','val_230' -'181','val_181' -'181','val_181' -'67','val_67' -'67','val_67' -'260','val_260' -'260','val_260' -'404','val_404' -'404','val_404' -'384','val_384' -'384','val_384' -'489','val_489' -'489','val_489' -'353','val_353' -'353','val_353' -'373','val_373' -'373','val_373' -'272','val_272' -'272','val_272' -'138','val_138' -'138','val_138' -'217','val_217' -'217','val_217' -'84','val_84' -'84','val_84' -'348','val_348' -'348','val_348' -'466','val_466' -'466','val_466' -'58','val_58' -'58','val_58' -'8','val_8' -'8','val_8' -'411','val_411' -'411','val_411' -'230','val_230' -'230','val_230' -'208','val_208' -'208','val_208' -'348','val_348' -'348','val_348' -'24','val_24' -'24','val_24' -'463','val_463' -'463','val_463' -'431','val_431' -'431','val_431' -'179','val_179' -'179','val_179' -'172','val_172' -'172','val_172' -'42','val_42' -'42','val_42' -'129','val_129' -'129','val_129' -'158','val_158' -'158','val_158' -'119','val_119' -'119','val_119' -'496','val_496' -'496','val_496' -'0','val_0' -'0','val_0' -'322','val_322' -'322','val_322' -'197','val_197' -'197','val_197' -'468','val_468' -'468','val_468' -'393','val_393' -'393','val_393' -'454','val_454' -'454','val_454' -'100','val_100' -'100','val_100' -'298','val_298' -'298','val_298' -'199','val_199' -'199','val_199' -'191','val_191' -'191','val_191' -'418','val_418' -'418','val_418' -'96','val_96' -'96','val_96' -'26','val_26' -'26','val_26' -'165','val_165' -'165','val_165' -'327','val_327' -'327','val_327' -'230','val_230' -'230','val_230' -'205','val_205' -'205','val_205' -'120','val_120' -'120','val_120' -'131','val_131' -'131','val_131' -'51','val_51' -'51','val_51' -'404','val_404' -'404','val_404' -'43','val_43' -'43','val_43' -'436','val_436' -'436','val_436' -'156','val_156' -'156','val_156' -'469','val_469' -'469','val_469' -'468','val_468' -'468','val_468' -'308','val_308' -'308','val_308' -'95','val_95' -'95','val_95' -'196','val_196' -'196','val_196' -'288','val_288' -'288','val_288' -'481','val_481' -'481','val_481' -'457','val_457' -'457','val_457' -'98','val_98' -'98','val_98' -'282','val_282' -'282','val_282' -'197','val_197' -'197','val_197' -'187','val_187' -'187','val_187' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'409','val_409' -'409','val_409' -'470','val_470' -'470','val_470' -'137','val_137' -'137','val_137' -'369','val_369' -'369','val_369' -'316','val_316' -'316','val_316' -'169','val_169' -'169','val_169' -'413','val_413' -'413','val_413' -'85','val_85' -'85','val_85' -'77','val_77' -'77','val_77' -'0','val_0' -'0','val_0' -'490','val_490' -'490','val_490' -'87','val_87' -'87','val_87' -'364','val_364' -'364','val_364' -'179','val_179' -'179','val_179' -'118','val_118' -'118','val_118' -'134','val_134' -'134','val_134' -'395','val_395' -'395','val_395' -'282','val_282' -'282','val_282' -'138','val_138' -'138','val_138' -'238','val_238' -'238','val_238' -'419','val_419' -'419','val_419' -'15','val_15' -'15','val_15' -'118','val_118' -'118','val_118' -'72','val_72' -'72','val_72' -'90','val_90' -'90','val_90' -'307','val_307' -'307','val_307' -'19','val_19' -'19','val_19' -'435','val_435' -'435','val_435' -'10','val_10' -'10','val_10' -'277','val_277' -'277','val_277' -'273','val_273' -'273','val_273' -'306','val_306' -'306','val_306' -'224','val_224' -'224','val_224' -'309','val_309' -'309','val_309' -'389','val_389' -'389','val_389' -'327','val_327' -'327','val_327' -'242','val_242' -'242','val_242' -'369','val_369' -'369','val_369' -'392','val_392' -'392','val_392' -'272','val_272' -'272','val_272' -'331','val_331' -'331','val_331' -'401','val_401' -'401','val_401' -'242','val_242' -'242','val_242' -'452','val_452' -'452','val_452' -'177','val_177' -'177','val_177' -'226','val_226' -'226','val_226' -'5','val_5' -'5','val_5' -'497','val_497' -'497','val_497' -'402','val_402' -'402','val_402' -'396','val_396' -'396','val_396' -'317','val_317' -'317','val_317' -'395','val_395' -'395','val_395' -'58','val_58' -'58','val_58' -'35','val_35' -'35','val_35' -'336','val_336' -'336','val_336' -'95','val_95' -'95','val_95' -'11','val_11' -'11','val_11' -'168','val_168' -'168','val_168' -'34','val_34' -'34','val_34' -'229','val_229' -'229','val_229' -'233','val_233' -'233','val_233' -'143','val_143' -'143','val_143' -'472','val_472' -'472','val_472' -'322','val_322' -'322','val_322' -'498','val_498' -'498','val_498' -'160','val_160' -'160','val_160' -'195','val_195' -'195','val_195' -'42','val_42' -'42','val_42' -'321','val_321' -'321','val_321' -'430','val_430' -'430','val_430' -'119','val_119' -'119','val_119' -'489','val_489' -'489','val_489' -'458','val_458' -'458','val_458' -'78','val_78' -'78','val_78' -'76','val_76' -'76','val_76' -'41','val_41' -'41','val_41' -'223','val_223' -'223','val_223' -'492','val_492' -'492','val_492' -'149','val_149' -'149','val_149' -'449','val_449' -'449','val_449' -'218','val_218' -'218','val_218' -'228','val_228' -'228','val_228' -'138','val_138' -'138','val_138' -'453','val_453' -'453','val_453' -'30','val_30' -'30','val_30' -'209','val_209' -'209','val_209' -'64','val_64' -'64','val_64' -'468','val_468' -'468','val_468' -'76','val_76' -'76','val_76' -'74','val_74' -'74','val_74' -'342','val_342' -'342','val_342' -'69','val_69' -'69','val_69' -'230','val_230' -'230','val_230' -'33','val_33' -'33','val_33' -'368','val_368' -'368','val_368' -'103','val_103' -'103','val_103' -'296','val_296' -'296','val_296' -'113','val_113' -'113','val_113' -'216','val_216' -'216','val_216' -'367','val_367' -'367','val_367' -'344','val_344' -'344','val_344' -'167','val_167' -'167','val_167' -'274','val_274' -'274','val_274' -'219','val_219' -'219','val_219' -'239','val_239' -'239','val_239' -'485','val_485' -'485','val_485' -'116','val_116' -'116','val_116' -'223','val_223' -'223','val_223' -'256','val_256' -'256','val_256' -'263','val_263' -'263','val_263' -'70','val_70' -'70','val_70' -'487','val_487' -'487','val_487' -'480','val_480' -'480','val_480' -'401','val_401' -'401','val_401' -'288','val_288' -'288','val_288' -'191','val_191' -'191','val_191' -'5','val_5' -'5','val_5' -'244','val_244' -'244','val_244' -'438','val_438' -'438','val_438' -'128','val_128' -'128','val_128' -'467','val_467' -'467','val_467' -'432','val_432' -'432','val_432' -'202','val_202' -'202','val_202' -'316','val_316' -'316','val_316' -'229','val_229' -'229','val_229' -'469','val_469' -'469','val_469' -'463','val_463' -'463','val_463' -'280','val_280' -'280','val_280' -'2','val_2' -'2','val_2' -'35','val_35' -'35','val_35' -'283','val_283' -'283','val_283' -'331','val_331' -'331','val_331' -'235','val_235' -'235','val_235' -'80','val_80' -'80','val_80' -'44','val_44' -'44','val_44' -'193','val_193' -'193','val_193' -'321','val_321' -'321','val_321' -'335','val_335' -'335','val_335' -'104','val_104' -'104','val_104' -'466','val_466' -'466','val_466' -'366','val_366' -'366','val_366' -'175','val_175' -'175','val_175' -'403','val_403' -'403','val_403' -'483','val_483' -'483','val_483' -'53','val_53' -'53','val_53' -'105','val_105' -'105','val_105' -'257','val_257' -'257','val_257' -'406','val_406' -'406','val_406' -'409','val_409' -'409','val_409' -'190','val_190' -'190','val_190' -'406','val_406' -'406','val_406' -'401','val_401' -'401','val_401' -'114','val_114' -'114','val_114' -'258','val_258' -'258','val_258' -'90','val_90' -'90','val_90' -'203','val_203' -'203','val_203' -'262','val_262' -'262','val_262' -'348','val_348' -'348','val_348' -'424','val_424' -'424','val_424' -'12','val_12' -'12','val_12' -'396','val_396' -'396','val_396' -'201','val_201' -'201','val_201' -'217','val_217' -'217','val_217' -'164','val_164' -'164','val_164' -'431','val_431' -'431','val_431' -'454','val_454' -'454','val_454' -'478','val_478' -'478','val_478' -'298','val_298' -'298','val_298' -'125','val_125' -'125','val_125' -'431','val_431' -'431','val_431' -'164','val_164' -'164','val_164' -'424','val_424' -'424','val_424' -'187','val_187' -'187','val_187' -'382','val_382' -'382','val_382' -'5','val_5' -'5','val_5' -'70','val_70' -'70','val_70' -'397','val_397' -'397','val_397' -'480','val_480' -'480','val_480' -'291','val_291' -'291','val_291' -'24','val_24' -'24','val_24' -'351','val_351' -'351','val_351' -'255','val_255' -'255','val_255' -'104','val_104' -'104','val_104' -'70','val_70' -'70','val_70' -'163','val_163' -'163','val_163' -'438','val_438' -'438','val_438' -'119','val_119' -'119','val_119' -'414','val_414' -'414','val_414' -'200','val_200' -'200','val_200' -'491','val_491' -'491','val_491' -'237','val_237' -'237','val_237' -'439','val_439' -'439','val_439' -'360','val_360' -'360','val_360' -'248','val_248' -'248','val_248' -'479','val_479' -'479','val_479' -'305','val_305' -'305','val_305' -'417','val_417' -'417','val_417' -'199','val_199' -'199','val_199' -'444','val_444' -'444','val_444' -'120','val_120' -'120','val_120' -'429','val_429' -'429','val_429' -'169','val_169' -'169','val_169' -'443','val_443' -'443','val_443' -'323','val_323' -'323','val_323' -'325','val_325' -'325','val_325' -'277','val_277' -'277','val_277' -'230','val_230' -'230','val_230' -'478','val_478' -'478','val_478' -'178','val_178' -'178','val_178' -'468','val_468' -'468','val_468' -'310','val_310' -'310','val_310' -'317','val_317' -'317','val_317' -'333','val_333' -'333','val_333' -'493','val_493' -'493','val_493' -'460','val_460' -'460','val_460' -'207','val_207' -'207','val_207' -'249','val_249' -'249','val_249' -'265','val_265' -'265','val_265' -'480','val_480' -'480','val_480' -'83','val_83' -'83','val_83' -'136','val_136' -'136','val_136' -'353','val_353' -'353','val_353' -'172','val_172' -'172','val_172' -'214','val_214' -'214','val_214' -'462','val_462' -'462','val_462' -'233','val_233' -'233','val_233' -'406','val_406' -'406','val_406' -'133','val_133' -'133','val_133' -'175','val_175' -'175','val_175' -'189','val_189' -'189','val_189' -'454','val_454' -'454','val_454' -'375','val_375' -'375','val_375' -'401','val_401' -'401','val_401' -'421','val_421' -'421','val_421' -'407','val_407' -'407','val_407' -'384','val_384' -'384','val_384' -'256','val_256' -'256','val_256' -'26','val_26' -'26','val_26' -'134','val_134' -'134','val_134' -'67','val_67' -'67','val_67' -'384','val_384' -'384','val_384' -'379','val_379' -'379','val_379' -'18','val_18' -'18','val_18' -'462','val_462' -'462','val_462' -'492','val_492' -'492','val_492' -'100','val_100' -'100','val_100' -'298','val_298' -'298','val_298' -'9','val_9' -'9','val_9' -'341','val_341' -'341','val_341' -'498','val_498' -'498','val_498' -'146','val_146' -'146','val_146' -'458','val_458' -'458','val_458' -'362','val_362' -'362','val_362' -'186','val_186' -'186','val_186' -'285','val_285' -'285','val_285' -'348','val_348' -'348','val_348' -'167','val_167' -'167','val_167' -'18','val_18' -'18','val_18' -'273','val_273' -'273','val_273' -'183','val_183' -'183','val_183' -'281','val_281' -'281','val_281' -'344','val_344' -'344','val_344' -'97','val_97' -'97','val_97' -'469','val_469' -'469','val_469' -'315','val_315' -'315','val_315' -'84','val_84' -'84','val_84' -'28','val_28' -'28','val_28' -'37','val_37' -'37','val_37' -'448','val_448' -'448','val_448' -'152','val_152' -'152','val_152' -'348','val_348' -'348','val_348' -'307','val_307' -'307','val_307' -'194','val_194' -'194','val_194' -'414','val_414' -'414','val_414' -'477','val_477' -'477','val_477' -'222','val_222' -'222','val_222' -'126','val_126' -'126','val_126' -'90','val_90' -'90','val_90' -'169','val_169' -'169','val_169' -'403','val_403' -'403','val_403' -'400','val_400' -'400','val_400' -'200','val_200' -'200','val_200' -'97','val_97' -'97','val_97' -1,000 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/union14.q.out ql/src/test/results/beelinepositive/union14.q.out deleted file mode 100644 index 3d6de8d..0000000 --- ql/src/test/results/beelinepositive/union14.q.out +++ /dev/null @@ -1,188 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/union14.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/union14.q ->>> set hive.map.aggr = true; -No rows affected ->>> ->>> -- union case: 1 subquery is a map-reduce job, different inputs for sub-queries, followed by reducesink ->>> ->>> explain -select unionsrc.key, count(1) FROM (select s2.key as key, s2.value as value from src1 s2 -UNION ALL -select 'tst1' as key, cast(count(1) as string) as value from src s1) -unionsrc group by unionsrc.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src1) s2)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL s2) key) key) (TOK_SELEXPR (. (TOK_TABLE_OR_COL s2) value) value)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) s1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 'tst1' key) (TOK_SELEXPR (TOK_FUNCTION TOK_STRING (TOK_FUNCTION count 1)) value))))) unionsrc)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL unionsrc) key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL unionsrc) key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-3 is a root stage' -' Stage-2 depends on stages: Stage-3' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery2:unionsrc-subquery2:s1 ' -' TableScan' -' alias: s1' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: 'tst1'' -' type: string' -' expr: UDFToString(_col0)' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' null-subquery1:unionsrc-subquery1:s2 ' -' TableScan' -' alias: s2' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -147 rows selected ->>> ->>> ->>> ->>> select unionsrc.key, count(1) FROM (select s2.key as key, s2.value as value from src1 s2 -UNION ALL -select 'tst1' as key, cast(count(1) as string) as value from src s1) -unionsrc group by unionsrc.key; -'key','_c1' -'','10' -'128','1' -'146','1' -'150','1' -'213','1' -'224','1' -'238','1' -'255','1' -'273','1' -'278','1' -'311','1' -'369','1' -'401','1' -'406','1' -'66','1' -'98','1' -'tst1','1' -17 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/union15.q.out ql/src/test/results/beelinepositive/union15.q.out deleted file mode 100644 index 5b19120..0000000 --- ql/src/test/results/beelinepositive/union15.q.out +++ /dev/null @@ -1,227 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/union15.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/union15.q ->>> set hive.map.aggr = true; -No rows affected ->>> ->>> -- union case: 1 subquery is a map-reduce job, different inputs for sub-queries, followed by reducesink ->>> ->>> explain -select unionsrc.key, count(1) FROM (select 'tst1' as key, cast(count(1) as string) as value from src s1 -UNION ALL -select s2.key as key, s2.value as value from src1 s2 -UNION ALL -select s3.key as key, s3.value as value from src1 s3) unionsrc group by unionsrc.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) s1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 'tst1' key) (TOK_SELEXPR (TOK_FUNCTION TOK_STRING (TOK_FUNCTION count 1)) value)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src1) s2)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL s2) key) key) (TOK_SELEXPR (. (TOK_TABLE_OR_COL s2) value) value))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src1) s3)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL s3) key) key) (TOK_SELEXPR (. (TOK_TABLE_OR_COL s3) value) value))))) unionsrc)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL unionsrc) key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL unionsrc) key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1-subquery1:unionsrc-subquery1-subquery1:s1 ' -' TableScan' -' alias: s1' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: 'tst1'' -' type: string' -' expr: UDFToString(_col0)' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' null-subquery1-subquery2:unionsrc-subquery1-subquery2:s2 ' -' TableScan' -' alias: s2' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' null-subquery2:unionsrc-subquery2:s3 ' -' TableScan' -' alias: s3' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -184 rows selected ->>> ->>> select unionsrc.key, count(1) FROM (select 'tst1' as key, cast(count(1) as string) as value from src s1 -UNION ALL -select s2.key as key, s2.value as value from src1 s2 -UNION ALL -select s3.key as key, s3.value as value from src1 s3) unionsrc group by unionsrc.key; -'key','_c1' -'','20' -'128','2' -'146','2' -'150','2' -'213','2' -'224','2' -'238','2' -'255','2' -'273','2' -'278','2' -'311','2' -'369','2' -'401','2' -'406','2' -'66','2' -'98','2' -'tst1','1' -17 rows selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/union16.q.out ql/src/test/results/beelinepositive/union16.q.out deleted file mode 100644 index 4e92047..0000000 --- ql/src/test/results/beelinepositive/union16.q.out +++ /dev/null @@ -1,706 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/union16.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/union16.q ->>> EXPLAIN -SELECT count(1) FROM ( -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL - -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL - -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL - -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL - -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src) src; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_UNION (TOK_UNION (TOK_UNION (TOK_UNION (TOK_UNION (TOK_UNION (TOK_UNION (TOK_UNION (TOK_UNION (TOK_UNION (TOK_UNION (TOK_UNION (TOK_UNION (TOK_UNION (TOK_UNION (TOK_UNION (TOK_UNION (TOK_UNION (TOK_UNION (TOK_UNION (TOK_UNION (TOK_UNION (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))) src)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1:src-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' null-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' null-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' null-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' null-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' null-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' null-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' null-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' null-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' null-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' null-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' null-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' null-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' null-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' null-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' null-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' null-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' null-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' null-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src-subquery1-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' null-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src-subquery1-subquery1-subquery1-subquery1-subquery1-subquery2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' null-subquery1-subquery1-subquery1-subquery1-subquery2:src-subquery1-subquery1-subquery1-subquery1-subquery2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' null-subquery1-subquery1-subquery1-subquery2:src-subquery1-subquery1-subquery1-subquery2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' null-subquery1-subquery1-subquery2:src-subquery1-subquery1-subquery2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' null-subquery1-subquery2:src-subquery1-subquery2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' null-subquery2:src-subquery2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -635 rows selected ->>> ->>> ->>> SELECT count(1) FROM ( -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL - -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL - -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL - -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL - -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src UNION ALL -SELECT key, value FROM src) src; -'_c0' -'12500' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/union17.q.out ql/src/test/results/beelinepositive/union17.q.out deleted file mode 100644 index 358bc6d..0000000 --- ql/src/test/results/beelinepositive/union17.q.out +++ /dev/null @@ -1,906 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/union17.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/union17.q ->>> CREATE TABLE DEST1(key STRING, value STRING) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE DEST2(key STRING, val1 STRING, val2 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> -- union case:map-reduce sub-queries followed by multi-table insert ->>> ->>> explain -FROM (select 'tst1' as key, cast(count(1) as string) as value from src s1 -UNION ALL -select s2.key as key, s2.value as value from src s2) unionsrc -INSERT OVERWRITE TABLE DEST1 SELECT unionsrc.key, COUNT(DISTINCT SUBSTR(unionsrc.value,5)) GROUP BY unionsrc.key -INSERT OVERWRITE TABLE DEST2 SELECT unionsrc.key, unionsrc.value, COUNT(DISTINCT SUBSTR(unionsrc.value,5)) GROUP BY unionsrc.key, unionsrc.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) s1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 'tst1' key) (TOK_SELEXPR (TOK_FUNCTION TOK_STRING (TOK_FUNCTION count 1)) value)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) s2)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL s2) key) key) (TOK_SELEXPR (. (TOK_TABLE_OR_COL s2) value) value))))) unionsrc)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL unionsrc) key)) (TOK_SELEXPR (TOK_FUNCTIONDI COUNT (TOK_FUNCTION SUBSTR (. (TOK_TABLE_OR_COL unionsrc) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL unionsrc) key))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST2))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL unionsrc) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL unionsrc) value)) (TOK_SELEXPR (TOK_FUNCTIONDI COUNT (TOK_FUNCTION SUBSTR (. (TOK_TABLE_OR_COL unionsrc) value) 5)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL unionsrc) key) (. (TOK_TABLE_OR_COL unionsrc) value))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-3 depends on stages: Stage-2' -' Stage-4 depends on stages: Stage-3' -' Stage-0 depends on stages: Stage-4' -' Stage-5 depends on stages: Stage-0' -' Stage-6 depends on stages: Stage-3' -' Stage-1 depends on stages: Stage-6' -' Stage-7 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1:unionsrc-subquery1:s1 ' -' TableScan' -' alias: s1' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: 'tst1'' -' type: string' -' expr: UDFToString(_col0)' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Reduce Output Operator' -' key expressions:' -' expr: substr(_col1, 5)' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: substr(_col1, 5)' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' null-subquery2:unionsrc-subquery2:s2 ' -' TableScan' -' alias: s2' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Reduce Output Operator' -' key expressions:' -' expr: substr(_col1, 5)' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: substr(_col1, 5)' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Forward' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col0)' -' bucketGroup: false' -' keys:' -' expr: VALUE._col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Group By Operator' -' aggregations:' -' expr: count(DISTINCT KEY._col0)' -' bucketGroup: false' -' keys:' -' expr: VALUE._col0' -' type: string' -' expr: VALUE._col1' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: union17.dest1' -'' -' 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: union17.dest1' -'' -' Stage: Stage-5' -' Stats-Aggr Operator' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: string' -' mode: final' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: union17.dest2' -'' -' Stage: Stage-1' -' 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: union17.dest2' -'' -' Stage: Stage-7' -' Stats-Aggr Operator' -'' -'' -253 rows selected ->>> ->>> FROM (select 'tst1' as key, cast(count(1) as string) as value from src s1 -UNION ALL -select s2.key as key, s2.value as value from src s2) unionsrc -INSERT OVERWRITE TABLE DEST1 SELECT unionsrc.key, COUNT(DISTINCT SUBSTR(unionsrc.value,5)) GROUP BY unionsrc.key -INSERT OVERWRITE TABLE DEST2 SELECT unionsrc.key, unionsrc.value, COUNT(DISTINCT SUBSTR(unionsrc.value,5)) GROUP BY unionsrc.key, unionsrc.value; -'key','value','_c2' -No rows selected ->>> ->>> SELECT DEST1.* FROM DEST1; -'key','value' -'0','1' -'10','1' -'100','1' -'103','1' -'104','1' -'105','1' -'11','1' -'111','1' -'113','1' -'114','1' -'116','1' -'118','1' -'119','1' -'12','1' -'120','1' -'125','1' -'126','1' -'128','1' -'129','1' -'131','1' -'133','1' -'134','1' -'136','1' -'137','1' -'138','1' -'143','1' -'145','1' -'146','1' -'149','1' -'15','1' -'150','1' -'152','1' -'153','1' -'155','1' -'156','1' -'157','1' -'158','1' -'160','1' -'162','1' -'163','1' -'164','1' -'165','1' -'166','1' -'167','1' -'168','1' -'169','1' -'17','1' -'170','1' -'172','1' -'174','1' -'175','1' -'176','1' -'177','1' -'178','1' -'179','1' -'18','1' -'180','1' -'181','1' -'183','1' -'186','1' -'187','1' -'189','1' -'19','1' -'190','1' -'191','1' -'192','1' -'193','1' -'194','1' -'195','1' -'196','1' -'197','1' -'199','1' -'2','1' -'20','1' -'200','1' -'201','1' -'202','1' -'203','1' -'205','1' -'207','1' -'208','1' -'209','1' -'213','1' -'214','1' -'216','1' -'217','1' -'218','1' -'219','1' -'221','1' -'222','1' -'223','1' -'224','1' -'226','1' -'228','1' -'229','1' -'230','1' -'233','1' -'235','1' -'237','1' -'238','1' -'239','1' -'24','1' -'241','1' -'242','1' -'244','1' -'247','1' -'248','1' -'249','1' -'252','1' -'255','1' -'256','1' -'257','1' -'258','1' -'26','1' -'260','1' -'262','1' -'263','1' -'265','1' -'266','1' -'27','1' -'272','1' -'273','1' -'274','1' -'275','1' -'277','1' -'278','1' -'28','1' -'280','1' -'281','1' -'282','1' -'283','1' -'284','1' -'285','1' -'286','1' -'287','1' -'288','1' -'289','1' -'291','1' -'292','1' -'296','1' -'298','1' -'30','1' -'302','1' -'305','1' -'306','1' -'307','1' -'308','1' -'309','1' -'310','1' -'311','1' -'315','1' -'316','1' -'317','1' -'318','1' -'321','1' -'322','1' -'323','1' -'325','1' -'327','1' -'33','1' -'331','1' -'332','1' -'333','1' -'335','1' -'336','1' -'338','1' -'339','1' -'34','1' -'341','1' -'342','1' -'344','1' -'345','1' -'348','1' -'35','1' -'351','1' -'353','1' -'356','1' -'360','1' -'362','1' -'364','1' -'365','1' -'366','1' -'367','1' -'368','1' -'369','1' -'37','1' -'373','1' -'374','1' -'375','1' -'377','1' -'378','1' -'379','1' -'382','1' -'384','1' -'386','1' -'389','1' -'392','1' -'393','1' -'394','1' -'395','1' -'396','1' -'397','1' -'399','1' -'4','1' -'400','1' -'401','1' -'402','1' -'403','1' -'404','1' -'406','1' -'407','1' -'409','1' -'41','1' -'411','1' -'413','1' -'414','1' -'417','1' -'418','1' -'419','1' -'42','1' -'421','1' -'424','1' -'427','1' -'429','1' -'43','1' -'430','1' -'431','1' -'432','1' -'435','1' -'436','1' -'437','1' -'438','1' -'439','1' -'44','1' -'443','1' -'444','1' -'446','1' -'448','1' -'449','1' -'452','1' -'453','1' -'454','1' -'455','1' -'457','1' -'458','1' -'459','1' -'460','1' -'462','1' -'463','1' -'466','1' -'467','1' -'468','1' -'469','1' -'47','1' -'470','1' -'472','1' -'475','1' -'477','1' -'478','1' -'479','1' -'480','1' -'481','1' -'482','1' -'483','1' -'484','1' -'485','1' -'487','1' -'489','1' -'490','1' -'491','1' -'492','1' -'493','1' -'494','1' -'495','1' -'496','1' -'497','1' -'498','1' -'5','1' -'51','1' -'53','1' -'54','1' -'57','1' -'58','1' -'64','1' -'65','1' -'66','1' -'67','1' -'69','1' -'70','1' -'72','1' -'74','1' -'76','1' -'77','1' -'78','1' -'8','1' -'80','1' -'82','1' -'83','1' -'84','1' -'85','1' -'86','1' -'87','1' -'9','1' -'90','1' -'92','1' -'95','1' -'96','1' -'97','1' -'98','1' -'tst1','1' -310 rows selected ->>> SELECT DEST2.* FROM DEST2; -'key','val1','val2' -'0','val_0','1' -'10','val_10','1' -'100','val_100','1' -'103','val_103','1' -'104','val_104','1' -'105','val_105','1' -'11','val_11','1' -'111','val_111','1' -'113','val_113','1' -'114','val_114','1' -'116','val_116','1' -'118','val_118','1' -'119','val_119','1' -'12','val_12','1' -'120','val_120','1' -'125','val_125','1' -'126','val_126','1' -'128','val_128','1' -'129','val_129','1' -'131','val_131','1' -'133','val_133','1' -'134','val_134','1' -'136','val_136','1' -'137','val_137','1' -'138','val_138','1' -'143','val_143','1' -'145','val_145','1' -'146','val_146','1' -'149','val_149','1' -'15','val_15','1' -'150','val_150','1' -'152','val_152','1' -'153','val_153','1' -'155','val_155','1' -'156','val_156','1' -'157','val_157','1' -'158','val_158','1' -'160','val_160','1' -'162','val_162','1' -'163','val_163','1' -'164','val_164','1' -'165','val_165','1' -'166','val_166','1' -'167','val_167','1' -'168','val_168','1' -'169','val_169','1' -'17','val_17','1' -'170','val_170','1' -'172','val_172','1' -'174','val_174','1' -'175','val_175','1' -'176','val_176','1' -'177','val_177','1' -'178','val_178','1' -'179','val_179','1' -'18','val_18','1' -'180','val_180','1' -'181','val_181','1' -'183','val_183','1' -'186','val_186','1' -'187','val_187','1' -'189','val_189','1' -'19','val_19','1' -'190','val_190','1' -'191','val_191','1' -'192','val_192','1' -'193','val_193','1' -'194','val_194','1' -'195','val_195','1' -'196','val_196','1' -'197','val_197','1' -'199','val_199','1' -'2','val_2','1' -'20','val_20','1' -'200','val_200','1' -'201','val_201','1' -'202','val_202','1' -'203','val_203','1' -'205','val_205','1' -'207','val_207','1' -'208','val_208','1' -'209','val_209','1' -'213','val_213','1' -'214','val_214','1' -'216','val_216','1' -'217','val_217','1' -'218','val_218','1' -'219','val_219','1' -'221','val_221','1' -'222','val_222','1' -'223','val_223','1' -'224','val_224','1' -'226','val_226','1' -'228','val_228','1' -'229','val_229','1' -'230','val_230','1' -'233','val_233','1' -'235','val_235','1' -'237','val_237','1' -'238','val_238','1' -'239','val_239','1' -'24','val_24','1' -'241','val_241','1' -'242','val_242','1' -'244','val_244','1' -'247','val_247','1' -'248','val_248','1' -'249','val_249','1' -'252','val_252','1' -'255','val_255','1' -'256','val_256','1' -'257','val_257','1' -'258','val_258','1' -'26','val_26','1' -'260','val_260','1' -'262','val_262','1' -'263','val_263','1' -'265','val_265','1' -'266','val_266','1' -'27','val_27','1' -'272','val_272','1' -'273','val_273','1' -'274','val_274','1' -'275','val_275','1' -'277','val_277','1' -'278','val_278','1' -'28','val_28','1' -'280','val_280','1' -'281','val_281','1' -'282','val_282','1' -'283','val_283','1' -'284','val_284','1' -'285','val_285','1' -'286','val_286','1' -'287','val_287','1' -'288','val_288','1' -'289','val_289','1' -'291','val_291','1' -'292','val_292','1' -'296','val_296','1' -'298','val_298','1' -'30','val_30','1' -'302','val_302','1' -'305','val_305','1' -'306','val_306','1' -'307','val_307','1' -'308','val_308','1' -'309','val_309','1' -'310','val_310','1' -'311','val_311','1' -'315','val_315','1' -'316','val_316','1' -'317','val_317','1' -'318','val_318','1' -'321','val_321','1' -'322','val_322','1' -'323','val_323','1' -'325','val_325','1' -'327','val_327','1' -'33','val_33','1' -'331','val_331','1' -'332','val_332','1' -'333','val_333','1' -'335','val_335','1' -'336','val_336','1' -'338','val_338','1' -'339','val_339','1' -'34','val_34','1' -'341','val_341','1' -'342','val_342','1' -'344','val_344','1' -'345','val_345','1' -'348','val_348','1' -'35','val_35','1' -'351','val_351','1' -'353','val_353','1' -'356','val_356','1' -'360','val_360','1' -'362','val_362','1' -'364','val_364','1' -'365','val_365','1' -'366','val_366','1' -'367','val_367','1' -'368','val_368','1' -'369','val_369','1' -'37','val_37','1' -'373','val_373','1' -'374','val_374','1' -'375','val_375','1' -'377','val_377','1' -'378','val_378','1' -'379','val_379','1' -'382','val_382','1' -'384','val_384','1' -'386','val_386','1' -'389','val_389','1' -'392','val_392','1' -'393','val_393','1' -'394','val_394','1' -'395','val_395','1' -'396','val_396','1' -'397','val_397','1' -'399','val_399','1' -'4','val_4','1' -'400','val_400','1' -'401','val_401','1' -'402','val_402','1' -'403','val_403','1' -'404','val_404','1' -'406','val_406','1' -'407','val_407','1' -'409','val_409','1' -'41','val_41','1' -'411','val_411','1' -'413','val_413','1' -'414','val_414','1' -'417','val_417','1' -'418','val_418','1' -'419','val_419','1' -'42','val_42','1' -'421','val_421','1' -'424','val_424','1' -'427','val_427','1' -'429','val_429','1' -'43','val_43','1' -'430','val_430','1' -'431','val_431','1' -'432','val_432','1' -'435','val_435','1' -'436','val_436','1' -'437','val_437','1' -'438','val_438','1' -'439','val_439','1' -'44','val_44','1' -'443','val_443','1' -'444','val_444','1' -'446','val_446','1' -'448','val_448','1' -'449','val_449','1' -'452','val_452','1' -'453','val_453','1' -'454','val_454','1' -'455','val_455','1' -'457','val_457','1' -'458','val_458','1' -'459','val_459','1' -'460','val_460','1' -'462','val_462','1' -'463','val_463','1' -'466','val_466','1' -'467','val_467','1' -'468','val_468','1' -'469','val_469','1' -'47','val_47','1' -'470','val_470','1' -'472','val_472','1' -'475','val_475','1' -'477','val_477','1' -'478','val_478','1' -'479','val_479','1' -'480','val_480','1' -'481','val_481','1' -'482','val_482','1' -'483','val_483','1' -'484','val_484','1' -'485','val_485','1' -'487','val_487','1' -'489','val_489','1' -'490','val_490','1' -'491','val_491','1' -'492','val_492','1' -'493','val_493','1' -'494','val_494','1' -'495','val_495','1' -'496','val_496','1' -'497','val_497','1' -'498','val_498','1' -'5','val_5','1' -'51','val_51','1' -'53','val_53','1' -'54','val_54','1' -'57','val_57','1' -'58','val_58','1' -'64','val_64','1' -'65','val_65','1' -'66','val_66','1' -'67','val_67','1' -'69','val_69','1' -'70','val_70','1' -'72','val_72','1' -'74','val_74','1' -'76','val_76','1' -'77','val_77','1' -'78','val_78','1' -'8','val_8','1' -'80','val_80','1' -'82','val_82','1' -'83','val_83','1' -'84','val_84','1' -'85','val_85','1' -'86','val_86','1' -'87','val_87','1' -'9','val_9','1' -'90','val_90','1' -'92','val_92','1' -'95','val_95','1' -'96','val_96','1' -'97','val_97','1' -'98','val_98','1' -'tst1','500','1' -310 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/union18.q.out ql/src/test/results/beelinepositive/union18.q.out deleted file mode 100644 index 3d3550e..0000000 --- ql/src/test/results/beelinepositive/union18.q.out +++ /dev/null @@ -1,1288 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/union18.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/union18.q ->>> CREATE TABLE DEST1(key STRING, value STRING) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE DEST2(key STRING, val1 STRING, val2 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> -- union case:map-reduce sub-queries followed by multi-table insert ->>> ->>> explain -FROM (select 'tst1' as key, cast(count(1) as string) as value from src s1 -UNION ALL -select s2.key as key, s2.value as value from src s2) unionsrc -INSERT OVERWRITE TABLE DEST1 SELECT unionsrc.key, unionsrc.value -INSERT OVERWRITE TABLE DEST2 SELECT unionsrc.key, unionsrc.value, unionsrc.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) s1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 'tst1' key) (TOK_SELEXPR (TOK_FUNCTION TOK_STRING (TOK_FUNCTION count 1)) value)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) s2)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL s2) key) key) (TOK_SELEXPR (. (TOK_TABLE_OR_COL s2) value) value))))) unionsrc)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL unionsrc) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL unionsrc) value)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST2))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL unionsrc) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL unionsrc) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL unionsrc) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-3 depends on stages: Stage-2' -' Stage-9 depends on stages: Stage-3 , consists of Stage-6, Stage-5, Stage-7' -' Stage-6' -' Stage-0 depends on stages: Stage-6, Stage-5, Stage-8' -' Stage-4 depends on stages: Stage-0' -' Stage-5' -' Stage-7' -' Stage-8 depends on stages: Stage-7' -' Stage-15 depends on stages: Stage-3 , consists of Stage-12, Stage-11, Stage-13' -' Stage-12' -' Stage-1 depends on stages: Stage-12, Stage-11, Stage-14' -' Stage-10 depends on stages: Stage-1' -' Stage-11' -' Stage-13' -' Stage-14 depends on stages: Stage-13' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1:unionsrc-subquery1:s1 ' -' TableScan' -' alias: s1' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: 'tst1'' -' type: string' -' expr: UDFToString(_col0)' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: union18.dest1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: union18.dest2' -' null-subquery2:unionsrc-subquery2:s2 ' -' TableScan' -' alias: s2' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: union18.dest1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: union18.dest2' -'' -' Stage: Stage-9' -' Conditional Operator' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: union18.dest1' -'' -' Stage: Stage-4' -' Stats-Aggr Operator' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: union18.dest1' -'' -' Stage: Stage-7' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: union18.dest1' -'' -' Stage: Stage-8' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-15' -' Conditional Operator' -'' -' Stage: Stage-12' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' 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: union18.dest2' -'' -' Stage: Stage-10' -' Stats-Aggr Operator' -'' -' Stage: Stage-11' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: union18.dest2' -'' -' Stage: Stage-13' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: union18.dest2' -'' -' Stage: Stage-14' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -253 rows selected ->>> ->>> FROM (select 'tst1' as key, cast(count(1) as string) as value from src s1 -UNION ALL -select s2.key as key, s2.value as value from src s2) unionsrc -INSERT OVERWRITE TABLE DEST1 SELECT unionsrc.key, unionsrc.value -INSERT OVERWRITE TABLE DEST2 SELECT unionsrc.key, unionsrc.value, unionsrc.value; -'key','value','value' -No rows selected ->>> ->>> SELECT DEST1.* FROM DEST1 SORT BY DEST1.key, DEST1.value; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'10','val_10' -'100','val_100' -'100','val_100' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -'105','val_105' -'11','val_11' -'111','val_111' -'113','val_113' -'113','val_113' -'114','val_114' -'116','val_116' -'118','val_118' -'118','val_118' -'119','val_119' -'119','val_119' -'119','val_119' -'12','val_12' -'12','val_12' -'120','val_120' -'120','val_120' -'125','val_125' -'125','val_125' -'126','val_126' -'128','val_128' -'128','val_128' -'128','val_128' -'129','val_129' -'129','val_129' -'131','val_131' -'133','val_133' -'134','val_134' -'134','val_134' -'136','val_136' -'137','val_137' -'137','val_137' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'143','val_143' -'145','val_145' -'146','val_146' -'146','val_146' -'149','val_149' -'149','val_149' -'15','val_15' -'15','val_15' -'150','val_150' -'152','val_152' -'152','val_152' -'153','val_153' -'155','val_155' -'156','val_156' -'157','val_157' -'158','val_158' -'160','val_160' -'162','val_162' -'163','val_163' -'164','val_164' -'164','val_164' -'165','val_165' -'165','val_165' -'166','val_166' -'167','val_167' -'167','val_167' -'167','val_167' -'168','val_168' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'17','val_17' -'170','val_170' -'172','val_172' -'172','val_172' -'174','val_174' -'174','val_174' -'175','val_175' -'175','val_175' -'176','val_176' -'176','val_176' -'177','val_177' -'178','val_178' -'179','val_179' -'179','val_179' -'18','val_18' -'18','val_18' -'180','val_180' -'181','val_181' -'183','val_183' -'186','val_186' -'187','val_187' -'187','val_187' -'187','val_187' -'189','val_189' -'19','val_19' -'190','val_190' -'191','val_191' -'191','val_191' -'192','val_192' -'193','val_193' -'193','val_193' -'193','val_193' -'194','val_194' -'195','val_195' -'195','val_195' -'196','val_196' -'197','val_197' -'197','val_197' -'199','val_199' -'199','val_199' -'199','val_199' -'2','val_2' -'20','val_20' -'200','val_200' -'200','val_200' -'201','val_201' -'202','val_202' -'203','val_203' -'203','val_203' -'205','val_205' -'205','val_205' -'207','val_207' -'207','val_207' -'208','val_208' -'208','val_208' -'208','val_208' -'209','val_209' -'209','val_209' -'213','val_213' -'213','val_213' -'214','val_214' -'216','val_216' -'216','val_216' -'217','val_217' -'217','val_217' -'218','val_218' -'219','val_219' -'219','val_219' -'221','val_221' -'221','val_221' -'222','val_222' -'223','val_223' -'223','val_223' -'224','val_224' -'224','val_224' -'226','val_226' -'228','val_228' -'229','val_229' -'229','val_229' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'233','val_233' -'233','val_233' -'235','val_235' -'237','val_237' -'237','val_237' -'238','val_238' -'238','val_238' -'239','val_239' -'239','val_239' -'24','val_24' -'24','val_24' -'241','val_241' -'242','val_242' -'242','val_242' -'244','val_244' -'247','val_247' -'248','val_248' -'249','val_249' -'252','val_252' -'255','val_255' -'255','val_255' -'256','val_256' -'256','val_256' -'257','val_257' -'258','val_258' -'26','val_26' -'26','val_26' -'260','val_260' -'262','val_262' -'263','val_263' -'265','val_265' -'265','val_265' -'266','val_266' -'27','val_27' -'272','val_272' -'272','val_272' -'273','val_273' -'273','val_273' -'273','val_273' -'274','val_274' -'275','val_275' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'278','val_278' -'278','val_278' -'28','val_28' -'280','val_280' -'280','val_280' -'281','val_281' -'281','val_281' -'282','val_282' -'282','val_282' -'283','val_283' -'284','val_284' -'285','val_285' -'286','val_286' -'287','val_287' -'288','val_288' -'288','val_288' -'289','val_289' -'291','val_291' -'292','val_292' -'296','val_296' -'298','val_298' -'298','val_298' -'298','val_298' -'30','val_30' -'302','val_302' -'305','val_305' -'306','val_306' -'307','val_307' -'307','val_307' -'308','val_308' -'309','val_309' -'309','val_309' -'310','val_310' -'311','val_311' -'311','val_311' -'311','val_311' -'315','val_315' -'316','val_316' -'316','val_316' -'316','val_316' -'317','val_317' -'317','val_317' -'318','val_318' -'318','val_318' -'318','val_318' -'321','val_321' -'321','val_321' -'322','val_322' -'322','val_322' -'323','val_323' -'325','val_325' -'325','val_325' -'327','val_327' -'327','val_327' -'327','val_327' -'33','val_33' -'331','val_331' -'331','val_331' -'332','val_332' -'333','val_333' -'333','val_333' -'335','val_335' -'336','val_336' -'338','val_338' -'339','val_339' -'34','val_34' -'341','val_341' -'342','val_342' -'342','val_342' -'344','val_344' -'344','val_344' -'345','val_345' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'35','val_35' -'35','val_35' -'35','val_35' -'351','val_351' -'353','val_353' -'353','val_353' -'356','val_356' -'360','val_360' -'362','val_362' -'364','val_364' -'365','val_365' -'366','val_366' -'367','val_367' -'367','val_367' -'368','val_368' -'369','val_369' -'369','val_369' -'369','val_369' -'37','val_37' -'37','val_37' -'373','val_373' -'374','val_374' -'375','val_375' -'377','val_377' -'378','val_378' -'379','val_379' -'382','val_382' -'382','val_382' -'384','val_384' -'384','val_384' -'384','val_384' -'386','val_386' -'389','val_389' -'392','val_392' -'393','val_393' -'394','val_394' -'395','val_395' -'395','val_395' -'396','val_396' -'396','val_396' -'396','val_396' -'397','val_397' -'397','val_397' -'399','val_399' -'399','val_399' -'4','val_4' -'400','val_400' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'402','val_402' -'403','val_403' -'403','val_403' -'403','val_403' -'404','val_404' -'404','val_404' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'407','val_407' -'409','val_409' -'409','val_409' -'409','val_409' -'41','val_41' -'411','val_411' -'413','val_413' -'413','val_413' -'414','val_414' -'414','val_414' -'417','val_417' -'417','val_417' -'417','val_417' -'418','val_418' -'419','val_419' -'42','val_42' -'42','val_42' -'421','val_421' -'424','val_424' -'424','val_424' -'427','val_427' -'429','val_429' -'429','val_429' -'43','val_43' -'430','val_430' -'430','val_430' -'430','val_430' -'431','val_431' -'431','val_431' -'431','val_431' -'432','val_432' -'435','val_435' -'436','val_436' -'437','val_437' -'438','val_438' -'438','val_438' -'438','val_438' -'439','val_439' -'439','val_439' -'44','val_44' -'443','val_443' -'444','val_444' -'446','val_446' -'448','val_448' -'449','val_449' -'452','val_452' -'453','val_453' -'454','val_454' -'454','val_454' -'454','val_454' -'455','val_455' -'457','val_457' -'458','val_458' -'458','val_458' -'459','val_459' -'459','val_459' -'460','val_460' -'462','val_462' -'462','val_462' -'463','val_463' -'463','val_463' -'466','val_466' -'466','val_466' -'466','val_466' -'467','val_467' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'47','val_47' -'470','val_470' -'472','val_472' -'475','val_475' -'477','val_477' -'478','val_478' -'478','val_478' -'479','val_479' -'480','val_480' -'480','val_480' -'480','val_480' -'481','val_481' -'482','val_482' -'483','val_483' -'484','val_484' -'485','val_485' -'487','val_487' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'490','val_490' -'491','val_491' -'492','val_492' -'492','val_492' -'493','val_493' -'494','val_494' -'495','val_495' -'496','val_496' -'497','val_497' -'498','val_498' -'498','val_498' -'498','val_498' -'5','val_5' -'5','val_5' -'5','val_5' -'51','val_51' -'51','val_51' -'53','val_53' -'54','val_54' -'57','val_57' -'58','val_58' -'58','val_58' -'64','val_64' -'65','val_65' -'66','val_66' -'67','val_67' -'67','val_67' -'69','val_69' -'70','val_70' -'70','val_70' -'70','val_70' -'72','val_72' -'72','val_72' -'74','val_74' -'76','val_76' -'76','val_76' -'77','val_77' -'78','val_78' -'8','val_8' -'80','val_80' -'82','val_82' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'85','val_85' -'86','val_86' -'87','val_87' -'9','val_9' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'95','val_95' -'95','val_95' -'96','val_96' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -'tst1','500' -501 rows selected ->>> SELECT DEST2.* FROM DEST2 SORT BY DEST2.key, DEST2.val1, DEST2.val2; -'key','val1','val2' -'0','val_0','val_0' -'0','val_0','val_0' -'0','val_0','val_0' -'10','val_10','val_10' -'100','val_100','val_100' -'100','val_100','val_100' -'103','val_103','val_103' -'103','val_103','val_103' -'104','val_104','val_104' -'104','val_104','val_104' -'105','val_105','val_105' -'11','val_11','val_11' -'111','val_111','val_111' -'113','val_113','val_113' -'113','val_113','val_113' -'114','val_114','val_114' -'116','val_116','val_116' -'118','val_118','val_118' -'118','val_118','val_118' -'119','val_119','val_119' -'119','val_119','val_119' -'119','val_119','val_119' -'12','val_12','val_12' -'12','val_12','val_12' -'120','val_120','val_120' -'120','val_120','val_120' -'125','val_125','val_125' -'125','val_125','val_125' -'126','val_126','val_126' -'128','val_128','val_128' -'128','val_128','val_128' -'128','val_128','val_128' -'129','val_129','val_129' -'129','val_129','val_129' -'131','val_131','val_131' -'133','val_133','val_133' -'134','val_134','val_134' -'134','val_134','val_134' -'136','val_136','val_136' -'137','val_137','val_137' -'137','val_137','val_137' -'138','val_138','val_138' -'138','val_138','val_138' -'138','val_138','val_138' -'138','val_138','val_138' -'143','val_143','val_143' -'145','val_145','val_145' -'146','val_146','val_146' -'146','val_146','val_146' -'149','val_149','val_149' -'149','val_149','val_149' -'15','val_15','val_15' -'15','val_15','val_15' -'150','val_150','val_150' -'152','val_152','val_152' -'152','val_152','val_152' -'153','val_153','val_153' -'155','val_155','val_155' -'156','val_156','val_156' -'157','val_157','val_157' -'158','val_158','val_158' -'160','val_160','val_160' -'162','val_162','val_162' -'163','val_163','val_163' -'164','val_164','val_164' -'164','val_164','val_164' -'165','val_165','val_165' -'165','val_165','val_165' -'166','val_166','val_166' -'167','val_167','val_167' -'167','val_167','val_167' -'167','val_167','val_167' -'168','val_168','val_168' -'169','val_169','val_169' -'169','val_169','val_169' -'169','val_169','val_169' -'169','val_169','val_169' -'17','val_17','val_17' -'170','val_170','val_170' -'172','val_172','val_172' -'172','val_172','val_172' -'174','val_174','val_174' -'174','val_174','val_174' -'175','val_175','val_175' -'175','val_175','val_175' -'176','val_176','val_176' -'176','val_176','val_176' -'177','val_177','val_177' -'178','val_178','val_178' -'179','val_179','val_179' -'179','val_179','val_179' -'18','val_18','val_18' -'18','val_18','val_18' -'180','val_180','val_180' -'181','val_181','val_181' -'183','val_183','val_183' -'186','val_186','val_186' -'187','val_187','val_187' -'187','val_187','val_187' -'187','val_187','val_187' -'189','val_189','val_189' -'19','val_19','val_19' -'190','val_190','val_190' -'191','val_191','val_191' -'191','val_191','val_191' -'192','val_192','val_192' -'193','val_193','val_193' -'193','val_193','val_193' -'193','val_193','val_193' -'194','val_194','val_194' -'195','val_195','val_195' -'195','val_195','val_195' -'196','val_196','val_196' -'197','val_197','val_197' -'197','val_197','val_197' -'199','val_199','val_199' -'199','val_199','val_199' -'199','val_199','val_199' -'2','val_2','val_2' -'20','val_20','val_20' -'200','val_200','val_200' -'200','val_200','val_200' -'201','val_201','val_201' -'202','val_202','val_202' -'203','val_203','val_203' -'203','val_203','val_203' -'205','val_205','val_205' -'205','val_205','val_205' -'207','val_207','val_207' -'207','val_207','val_207' -'208','val_208','val_208' -'208','val_208','val_208' -'208','val_208','val_208' -'209','val_209','val_209' -'209','val_209','val_209' -'213','val_213','val_213' -'213','val_213','val_213' -'214','val_214','val_214' -'216','val_216','val_216' -'216','val_216','val_216' -'217','val_217','val_217' -'217','val_217','val_217' -'218','val_218','val_218' -'219','val_219','val_219' -'219','val_219','val_219' -'221','val_221','val_221' -'221','val_221','val_221' -'222','val_222','val_222' -'223','val_223','val_223' -'223','val_223','val_223' -'224','val_224','val_224' -'224','val_224','val_224' -'226','val_226','val_226' -'228','val_228','val_228' -'229','val_229','val_229' -'229','val_229','val_229' -'230','val_230','val_230' -'230','val_230','val_230' -'230','val_230','val_230' -'230','val_230','val_230' -'230','val_230','val_230' -'233','val_233','val_233' -'233','val_233','val_233' -'235','val_235','val_235' -'237','val_237','val_237' -'237','val_237','val_237' -'238','val_238','val_238' -'238','val_238','val_238' -'239','val_239','val_239' -'239','val_239','val_239' -'24','val_24','val_24' -'24','val_24','val_24' -'241','val_241','val_241' -'242','val_242','val_242' -'242','val_242','val_242' -'244','val_244','val_244' -'247','val_247','val_247' -'248','val_248','val_248' -'249','val_249','val_249' -'252','val_252','val_252' -'255','val_255','val_255' -'255','val_255','val_255' -'256','val_256','val_256' -'256','val_256','val_256' -'257','val_257','val_257' -'258','val_258','val_258' -'26','val_26','val_26' -'26','val_26','val_26' -'260','val_260','val_260' -'262','val_262','val_262' -'263','val_263','val_263' -'265','val_265','val_265' -'265','val_265','val_265' -'266','val_266','val_266' -'27','val_27','val_27' -'272','val_272','val_272' -'272','val_272','val_272' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'274','val_274','val_274' -'275','val_275','val_275' -'277','val_277','val_277' -'277','val_277','val_277' -'277','val_277','val_277' -'277','val_277','val_277' -'278','val_278','val_278' -'278','val_278','val_278' -'28','val_28','val_28' -'280','val_280','val_280' -'280','val_280','val_280' -'281','val_281','val_281' -'281','val_281','val_281' -'282','val_282','val_282' -'282','val_282','val_282' -'283','val_283','val_283' -'284','val_284','val_284' -'285','val_285','val_285' -'286','val_286','val_286' -'287','val_287','val_287' -'288','val_288','val_288' -'288','val_288','val_288' -'289','val_289','val_289' -'291','val_291','val_291' -'292','val_292','val_292' -'296','val_296','val_296' -'298','val_298','val_298' -'298','val_298','val_298' -'298','val_298','val_298' -'30','val_30','val_30' -'302','val_302','val_302' -'305','val_305','val_305' -'306','val_306','val_306' -'307','val_307','val_307' -'307','val_307','val_307' -'308','val_308','val_308' -'309','val_309','val_309' -'309','val_309','val_309' -'310','val_310','val_310' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'315','val_315','val_315' -'316','val_316','val_316' -'316','val_316','val_316' -'316','val_316','val_316' -'317','val_317','val_317' -'317','val_317','val_317' -'318','val_318','val_318' -'318','val_318','val_318' -'318','val_318','val_318' -'321','val_321','val_321' -'321','val_321','val_321' -'322','val_322','val_322' -'322','val_322','val_322' -'323','val_323','val_323' -'325','val_325','val_325' -'325','val_325','val_325' -'327','val_327','val_327' -'327','val_327','val_327' -'327','val_327','val_327' -'33','val_33','val_33' -'331','val_331','val_331' -'331','val_331','val_331' -'332','val_332','val_332' -'333','val_333','val_333' -'333','val_333','val_333' -'335','val_335','val_335' -'336','val_336','val_336' -'338','val_338','val_338' -'339','val_339','val_339' -'34','val_34','val_34' -'341','val_341','val_341' -'342','val_342','val_342' -'342','val_342','val_342' -'344','val_344','val_344' -'344','val_344','val_344' -'345','val_345','val_345' -'348','val_348','val_348' -'348','val_348','val_348' -'348','val_348','val_348' -'348','val_348','val_348' -'348','val_348','val_348' -'35','val_35','val_35' -'35','val_35','val_35' -'35','val_35','val_35' -'351','val_351','val_351' -'353','val_353','val_353' -'353','val_353','val_353' -'356','val_356','val_356' -'360','val_360','val_360' -'362','val_362','val_362' -'364','val_364','val_364' -'365','val_365','val_365' -'366','val_366','val_366' -'367','val_367','val_367' -'367','val_367','val_367' -'368','val_368','val_368' -'369','val_369','val_369' -'369','val_369','val_369' -'369','val_369','val_369' -'37','val_37','val_37' -'37','val_37','val_37' -'373','val_373','val_373' -'374','val_374','val_374' -'375','val_375','val_375' -'377','val_377','val_377' -'378','val_378','val_378' -'379','val_379','val_379' -'382','val_382','val_382' -'382','val_382','val_382' -'384','val_384','val_384' -'384','val_384','val_384' -'384','val_384','val_384' -'386','val_386','val_386' -'389','val_389','val_389' -'392','val_392','val_392' -'393','val_393','val_393' -'394','val_394','val_394' -'395','val_395','val_395' -'395','val_395','val_395' -'396','val_396','val_396' -'396','val_396','val_396' -'396','val_396','val_396' -'397','val_397','val_397' -'397','val_397','val_397' -'399','val_399','val_399' -'399','val_399','val_399' -'4','val_4','val_4' -'400','val_400','val_400' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'402','val_402','val_402' -'403','val_403','val_403' -'403','val_403','val_403' -'403','val_403','val_403' -'404','val_404','val_404' -'404','val_404','val_404' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'407','val_407','val_407' -'409','val_409','val_409' -'409','val_409','val_409' -'409','val_409','val_409' -'41','val_41','val_41' -'411','val_411','val_411' -'413','val_413','val_413' -'413','val_413','val_413' -'414','val_414','val_414' -'414','val_414','val_414' -'417','val_417','val_417' -'417','val_417','val_417' -'417','val_417','val_417' -'418','val_418','val_418' -'419','val_419','val_419' -'42','val_42','val_42' -'42','val_42','val_42' -'421','val_421','val_421' -'424','val_424','val_424' -'424','val_424','val_424' -'427','val_427','val_427' -'429','val_429','val_429' -'429','val_429','val_429' -'43','val_43','val_43' -'430','val_430','val_430' -'430','val_430','val_430' -'430','val_430','val_430' -'431','val_431','val_431' -'431','val_431','val_431' -'431','val_431','val_431' -'432','val_432','val_432' -'435','val_435','val_435' -'436','val_436','val_436' -'437','val_437','val_437' -'438','val_438','val_438' -'438','val_438','val_438' -'438','val_438','val_438' -'439','val_439','val_439' -'439','val_439','val_439' -'44','val_44','val_44' -'443','val_443','val_443' -'444','val_444','val_444' -'446','val_446','val_446' -'448','val_448','val_448' -'449','val_449','val_449' -'452','val_452','val_452' -'453','val_453','val_453' -'454','val_454','val_454' -'454','val_454','val_454' -'454','val_454','val_454' -'455','val_455','val_455' -'457','val_457','val_457' -'458','val_458','val_458' -'458','val_458','val_458' -'459','val_459','val_459' -'459','val_459','val_459' -'460','val_460','val_460' -'462','val_462','val_462' -'462','val_462','val_462' -'463','val_463','val_463' -'463','val_463','val_463' -'466','val_466','val_466' -'466','val_466','val_466' -'466','val_466','val_466' -'467','val_467','val_467' -'468','val_468','val_468' -'468','val_468','val_468' -'468','val_468','val_468' -'468','val_468','val_468' -'469','val_469','val_469' -'469','val_469','val_469' -'469','val_469','val_469' -'469','val_469','val_469' -'469','val_469','val_469' -'47','val_47','val_47' -'470','val_470','val_470' -'472','val_472','val_472' -'475','val_475','val_475' -'477','val_477','val_477' -'478','val_478','val_478' -'478','val_478','val_478' -'479','val_479','val_479' -'480','val_480','val_480' -'480','val_480','val_480' -'480','val_480','val_480' -'481','val_481','val_481' -'482','val_482','val_482' -'483','val_483','val_483' -'484','val_484','val_484' -'485','val_485','val_485' -'487','val_487','val_487' -'489','val_489','val_489' -'489','val_489','val_489' -'489','val_489','val_489' -'489','val_489','val_489' -'490','val_490','val_490' -'491','val_491','val_491' -'492','val_492','val_492' -'492','val_492','val_492' -'493','val_493','val_493' -'494','val_494','val_494' -'495','val_495','val_495' -'496','val_496','val_496' -'497','val_497','val_497' -'498','val_498','val_498' -'498','val_498','val_498' -'498','val_498','val_498' -'5','val_5','val_5' -'5','val_5','val_5' -'5','val_5','val_5' -'51','val_51','val_51' -'51','val_51','val_51' -'53','val_53','val_53' -'54','val_54','val_54' -'57','val_57','val_57' -'58','val_58','val_58' -'58','val_58','val_58' -'64','val_64','val_64' -'65','val_65','val_65' -'66','val_66','val_66' -'67','val_67','val_67' -'67','val_67','val_67' -'69','val_69','val_69' -'70','val_70','val_70' -'70','val_70','val_70' -'70','val_70','val_70' -'72','val_72','val_72' -'72','val_72','val_72' -'74','val_74','val_74' -'76','val_76','val_76' -'76','val_76','val_76' -'77','val_77','val_77' -'78','val_78','val_78' -'8','val_8','val_8' -'80','val_80','val_80' -'82','val_82','val_82' -'83','val_83','val_83' -'83','val_83','val_83' -'84','val_84','val_84' -'84','val_84','val_84' -'85','val_85','val_85' -'86','val_86','val_86' -'87','val_87','val_87' -'9','val_9','val_9' -'90','val_90','val_90' -'90','val_90','val_90' -'90','val_90','val_90' -'92','val_92','val_92' -'95','val_95','val_95' -'95','val_95','val_95' -'96','val_96','val_96' -'97','val_97','val_97' -'97','val_97','val_97' -'98','val_98','val_98' -'98','val_98','val_98' -'tst1','500','500' -501 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/union19.q.out ql/src/test/results/beelinepositive/union19.q.out deleted file mode 100644 index 4ddda80..0000000 --- ql/src/test/results/beelinepositive/union19.q.out +++ /dev/null @@ -1,1062 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/union19.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/union19.q ->>> ->>> ->>> ->>> CREATE TABLE DEST1(key STRING, value STRING) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE DEST2(key STRING, val1 STRING, val2 STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> -- union case:map-reduce sub-queries followed by multi-table insert ->>> ->>> explain -FROM (select 'tst1' as key, cast(count(1) as string) as value from src s1 -UNION ALL -select s2.key as key, s2.value as value from src s2) unionsrc -INSERT OVERWRITE TABLE DEST1 SELECT unionsrc.key, count(unionsrc.value) group by unionsrc.key -INSERT OVERWRITE TABLE DEST2 SELECT unionsrc.key, unionsrc.value, unionsrc.value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) s1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 'tst1' key) (TOK_SELEXPR (TOK_FUNCTION TOK_STRING (TOK_FUNCTION count 1)) value)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) s2)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL s2) key) key) (TOK_SELEXPR (. (TOK_TABLE_OR_COL s2) value) value))))) unionsrc)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST1))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL unionsrc) key)) (TOK_SELEXPR (TOK_FUNCTION count (. (TOK_TABLE_OR_COL unionsrc) value)))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL unionsrc) key))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME DEST2))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL unionsrc) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL unionsrc) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL unionsrc) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-3 depends on stages: Stage-2' -' Stage-0 depends on stages: Stage-3' -' Stage-4 depends on stages: Stage-0' -' Stage-1 depends on stages: Stage-3' -' Stage-5 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1:unionsrc-subquery1:s1 ' -' TableScan' -' alias: s1' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: 'tst1'' -' type: string' -' expr: UDFToString(_col0)' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Group By Operator' -' aggregations:' -' expr: count(_col1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: union19.dest2' -' null-subquery2:unionsrc-subquery2:s2 ' -' TableScan' -' alias: s2' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Group By Operator' -' aggregations:' -' expr: count(_col1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: union19.dest2' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: union19.dest1' -'' -' 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: union19.dest1' -'' -' Stage: Stage-4' -' Stats-Aggr Operator' -'' -' Stage: Stage-1' -' 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: union19.dest2' -'' -' Stage: Stage-5' -' Stats-Aggr Operator' -'' -'' -212 rows selected ->>> ->>> FROM (select 'tst1' as key, cast(count(1) as string) as value from src s1 -UNION ALL -select s2.key as key, s2.value as value from src s2) unionsrc -INSERT OVERWRITE TABLE DEST1 SELECT unionsrc.key, count(unionsrc.value) group by unionsrc.key -INSERT OVERWRITE TABLE DEST2 SELECT unionsrc.key, unionsrc.value, unionsrc.value; -'key','value','value' -No rows selected ->>> ->>> SELECT DEST1.* FROM DEST1 SORT BY DEST1.key, DEST1.value; -'key','value' -'0','3' -'10','1' -'100','2' -'103','2' -'104','2' -'105','1' -'11','1' -'111','1' -'113','2' -'114','1' -'116','1' -'118','2' -'119','3' -'12','2' -'120','2' -'125','2' -'126','1' -'128','3' -'129','2' -'131','1' -'133','1' -'134','2' -'136','1' -'137','2' -'138','4' -'143','1' -'145','1' -'146','2' -'149','2' -'15','2' -'150','1' -'152','2' -'153','1' -'155','1' -'156','1' -'157','1' -'158','1' -'160','1' -'162','1' -'163','1' -'164','2' -'165','2' -'166','1' -'167','3' -'168','1' -'169','4' -'17','1' -'170','1' -'172','2' -'174','2' -'175','2' -'176','2' -'177','1' -'178','1' -'179','2' -'18','2' -'180','1' -'181','1' -'183','1' -'186','1' -'187','3' -'189','1' -'19','1' -'190','1' -'191','2' -'192','1' -'193','3' -'194','1' -'195','2' -'196','1' -'197','2' -'199','3' -'2','1' -'20','1' -'200','2' -'201','1' -'202','1' -'203','2' -'205','2' -'207','2' -'208','3' -'209','2' -'213','2' -'214','1' -'216','2' -'217','2' -'218','1' -'219','2' -'221','2' -'222','1' -'223','2' -'224','2' -'226','1' -'228','1' -'229','2' -'230','5' -'233','2' -'235','1' -'237','2' -'238','2' -'239','2' -'24','2' -'241','1' -'242','2' -'244','1' -'247','1' -'248','1' -'249','1' -'252','1' -'255','2' -'256','2' -'257','1' -'258','1' -'26','2' -'260','1' -'262','1' -'263','1' -'265','2' -'266','1' -'27','1' -'272','2' -'273','3' -'274','1' -'275','1' -'277','4' -'278','2' -'28','1' -'280','2' -'281','2' -'282','2' -'283','1' -'284','1' -'285','1' -'286','1' -'287','1' -'288','2' -'289','1' -'291','1' -'292','1' -'296','1' -'298','3' -'30','1' -'302','1' -'305','1' -'306','1' -'307','2' -'308','1' -'309','2' -'310','1' -'311','3' -'315','1' -'316','3' -'317','2' -'318','3' -'321','2' -'322','2' -'323','1' -'325','2' -'327','3' -'33','1' -'331','2' -'332','1' -'333','2' -'335','1' -'336','1' -'338','1' -'339','1' -'34','1' -'341','1' -'342','2' -'344','2' -'345','1' -'348','5' -'35','3' -'351','1' -'353','2' -'356','1' -'360','1' -'362','1' -'364','1' -'365','1' -'366','1' -'367','2' -'368','1' -'369','3' -'37','2' -'373','1' -'374','1' -'375','1' -'377','1' -'378','1' -'379','1' -'382','2' -'384','3' -'386','1' -'389','1' -'392','1' -'393','1' -'394','1' -'395','2' -'396','3' -'397','2' -'399','2' -'4','1' -'400','1' -'401','5' -'402','1' -'403','3' -'404','2' -'406','4' -'407','1' -'409','3' -'41','1' -'411','1' -'413','2' -'414','2' -'417','3' -'418','1' -'419','1' -'42','2' -'421','1' -'424','2' -'427','1' -'429','2' -'43','1' -'430','3' -'431','3' -'432','1' -'435','1' -'436','1' -'437','1' -'438','3' -'439','2' -'44','1' -'443','1' -'444','1' -'446','1' -'448','1' -'449','1' -'452','1' -'453','1' -'454','3' -'455','1' -'457','1' -'458','2' -'459','2' -'460','1' -'462','2' -'463','2' -'466','3' -'467','1' -'468','4' -'469','5' -'47','1' -'470','1' -'472','1' -'475','1' -'477','1' -'478','2' -'479','1' -'480','3' -'481','1' -'482','1' -'483','1' -'484','1' -'485','1' -'487','1' -'489','4' -'490','1' -'491','1' -'492','2' -'493','1' -'494','1' -'495','1' -'496','1' -'497','1' -'498','3' -'5','3' -'51','2' -'53','1' -'54','1' -'57','1' -'58','2' -'64','1' -'65','1' -'66','1' -'67','2' -'69','1' -'70','3' -'72','2' -'74','1' -'76','2' -'77','1' -'78','1' -'8','1' -'80','1' -'82','1' -'83','2' -'84','2' -'85','1' -'86','1' -'87','1' -'9','1' -'90','3' -'92','1' -'95','2' -'96','1' -'97','2' -'98','2' -'tst1','1' -310 rows selected ->>> SELECT DEST2.* FROM DEST2 SORT BY DEST2.key, DEST2.val1, DEST2.val2; -'key','val1','val2' -'0','val_0','val_0' -'0','val_0','val_0' -'0','val_0','val_0' -'10','val_10','val_10' -'100','val_100','val_100' -'100','val_100','val_100' -'103','val_103','val_103' -'103','val_103','val_103' -'104','val_104','val_104' -'104','val_104','val_104' -'105','val_105','val_105' -'11','val_11','val_11' -'111','val_111','val_111' -'113','val_113','val_113' -'113','val_113','val_113' -'114','val_114','val_114' -'116','val_116','val_116' -'118','val_118','val_118' -'118','val_118','val_118' -'119','val_119','val_119' -'119','val_119','val_119' -'119','val_119','val_119' -'12','val_12','val_12' -'12','val_12','val_12' -'120','val_120','val_120' -'120','val_120','val_120' -'125','val_125','val_125' -'125','val_125','val_125' -'126','val_126','val_126' -'128','val_128','val_128' -'128','val_128','val_128' -'128','val_128','val_128' -'129','val_129','val_129' -'129','val_129','val_129' -'131','val_131','val_131' -'133','val_133','val_133' -'134','val_134','val_134' -'134','val_134','val_134' -'136','val_136','val_136' -'137','val_137','val_137' -'137','val_137','val_137' -'138','val_138','val_138' -'138','val_138','val_138' -'138','val_138','val_138' -'138','val_138','val_138' -'143','val_143','val_143' -'145','val_145','val_145' -'146','val_146','val_146' -'146','val_146','val_146' -'149','val_149','val_149' -'149','val_149','val_149' -'15','val_15','val_15' -'15','val_15','val_15' -'150','val_150','val_150' -'152','val_152','val_152' -'152','val_152','val_152' -'153','val_153','val_153' -'155','val_155','val_155' -'156','val_156','val_156' -'157','val_157','val_157' -'158','val_158','val_158' -'160','val_160','val_160' -'162','val_162','val_162' -'163','val_163','val_163' -'164','val_164','val_164' -'164','val_164','val_164' -'165','val_165','val_165' -'165','val_165','val_165' -'166','val_166','val_166' -'167','val_167','val_167' -'167','val_167','val_167' -'167','val_167','val_167' -'168','val_168','val_168' -'169','val_169','val_169' -'169','val_169','val_169' -'169','val_169','val_169' -'169','val_169','val_169' -'17','val_17','val_17' -'170','val_170','val_170' -'172','val_172','val_172' -'172','val_172','val_172' -'174','val_174','val_174' -'174','val_174','val_174' -'175','val_175','val_175' -'175','val_175','val_175' -'176','val_176','val_176' -'176','val_176','val_176' -'177','val_177','val_177' -'178','val_178','val_178' -'179','val_179','val_179' -'179','val_179','val_179' -'18','val_18','val_18' -'18','val_18','val_18' -'180','val_180','val_180' -'181','val_181','val_181' -'183','val_183','val_183' -'186','val_186','val_186' -'187','val_187','val_187' -'187','val_187','val_187' -'187','val_187','val_187' -'189','val_189','val_189' -'19','val_19','val_19' -'190','val_190','val_190' -'191','val_191','val_191' -'191','val_191','val_191' -'192','val_192','val_192' -'193','val_193','val_193' -'193','val_193','val_193' -'193','val_193','val_193' -'194','val_194','val_194' -'195','val_195','val_195' -'195','val_195','val_195' -'196','val_196','val_196' -'197','val_197','val_197' -'197','val_197','val_197' -'199','val_199','val_199' -'199','val_199','val_199' -'199','val_199','val_199' -'2','val_2','val_2' -'20','val_20','val_20' -'200','val_200','val_200' -'200','val_200','val_200' -'201','val_201','val_201' -'202','val_202','val_202' -'203','val_203','val_203' -'203','val_203','val_203' -'205','val_205','val_205' -'205','val_205','val_205' -'207','val_207','val_207' -'207','val_207','val_207' -'208','val_208','val_208' -'208','val_208','val_208' -'208','val_208','val_208' -'209','val_209','val_209' -'209','val_209','val_209' -'213','val_213','val_213' -'213','val_213','val_213' -'214','val_214','val_214' -'216','val_216','val_216' -'216','val_216','val_216' -'217','val_217','val_217' -'217','val_217','val_217' -'218','val_218','val_218' -'219','val_219','val_219' -'219','val_219','val_219' -'221','val_221','val_221' -'221','val_221','val_221' -'222','val_222','val_222' -'223','val_223','val_223' -'223','val_223','val_223' -'224','val_224','val_224' -'224','val_224','val_224' -'226','val_226','val_226' -'228','val_228','val_228' -'229','val_229','val_229' -'229','val_229','val_229' -'230','val_230','val_230' -'230','val_230','val_230' -'230','val_230','val_230' -'230','val_230','val_230' -'230','val_230','val_230' -'233','val_233','val_233' -'233','val_233','val_233' -'235','val_235','val_235' -'237','val_237','val_237' -'237','val_237','val_237' -'238','val_238','val_238' -'238','val_238','val_238' -'239','val_239','val_239' -'239','val_239','val_239' -'24','val_24','val_24' -'24','val_24','val_24' -'241','val_241','val_241' -'242','val_242','val_242' -'242','val_242','val_242' -'244','val_244','val_244' -'247','val_247','val_247' -'248','val_248','val_248' -'249','val_249','val_249' -'252','val_252','val_252' -'255','val_255','val_255' -'255','val_255','val_255' -'256','val_256','val_256' -'256','val_256','val_256' -'257','val_257','val_257' -'258','val_258','val_258' -'26','val_26','val_26' -'26','val_26','val_26' -'260','val_260','val_260' -'262','val_262','val_262' -'263','val_263','val_263' -'265','val_265','val_265' -'265','val_265','val_265' -'266','val_266','val_266' -'27','val_27','val_27' -'272','val_272','val_272' -'272','val_272','val_272' -'273','val_273','val_273' -'273','val_273','val_273' -'273','val_273','val_273' -'274','val_274','val_274' -'275','val_275','val_275' -'277','val_277','val_277' -'277','val_277','val_277' -'277','val_277','val_277' -'277','val_277','val_277' -'278','val_278','val_278' -'278','val_278','val_278' -'28','val_28','val_28' -'280','val_280','val_280' -'280','val_280','val_280' -'281','val_281','val_281' -'281','val_281','val_281' -'282','val_282','val_282' -'282','val_282','val_282' -'283','val_283','val_283' -'284','val_284','val_284' -'285','val_285','val_285' -'286','val_286','val_286' -'287','val_287','val_287' -'288','val_288','val_288' -'288','val_288','val_288' -'289','val_289','val_289' -'291','val_291','val_291' -'292','val_292','val_292' -'296','val_296','val_296' -'298','val_298','val_298' -'298','val_298','val_298' -'298','val_298','val_298' -'30','val_30','val_30' -'302','val_302','val_302' -'305','val_305','val_305' -'306','val_306','val_306' -'307','val_307','val_307' -'307','val_307','val_307' -'308','val_308','val_308' -'309','val_309','val_309' -'309','val_309','val_309' -'310','val_310','val_310' -'311','val_311','val_311' -'311','val_311','val_311' -'311','val_311','val_311' -'315','val_315','val_315' -'316','val_316','val_316' -'316','val_316','val_316' -'316','val_316','val_316' -'317','val_317','val_317' -'317','val_317','val_317' -'318','val_318','val_318' -'318','val_318','val_318' -'318','val_318','val_318' -'321','val_321','val_321' -'321','val_321','val_321' -'322','val_322','val_322' -'322','val_322','val_322' -'323','val_323','val_323' -'325','val_325','val_325' -'325','val_325','val_325' -'327','val_327','val_327' -'327','val_327','val_327' -'327','val_327','val_327' -'33','val_33','val_33' -'331','val_331','val_331' -'331','val_331','val_331' -'332','val_332','val_332' -'333','val_333','val_333' -'333','val_333','val_333' -'335','val_335','val_335' -'336','val_336','val_336' -'338','val_338','val_338' -'339','val_339','val_339' -'34','val_34','val_34' -'341','val_341','val_341' -'342','val_342','val_342' -'342','val_342','val_342' -'344','val_344','val_344' -'344','val_344','val_344' -'345','val_345','val_345' -'348','val_348','val_348' -'348','val_348','val_348' -'348','val_348','val_348' -'348','val_348','val_348' -'348','val_348','val_348' -'35','val_35','val_35' -'35','val_35','val_35' -'35','val_35','val_35' -'351','val_351','val_351' -'353','val_353','val_353' -'353','val_353','val_353' -'356','val_356','val_356' -'360','val_360','val_360' -'362','val_362','val_362' -'364','val_364','val_364' -'365','val_365','val_365' -'366','val_366','val_366' -'367','val_367','val_367' -'367','val_367','val_367' -'368','val_368','val_368' -'369','val_369','val_369' -'369','val_369','val_369' -'369','val_369','val_369' -'37','val_37','val_37' -'37','val_37','val_37' -'373','val_373','val_373' -'374','val_374','val_374' -'375','val_375','val_375' -'377','val_377','val_377' -'378','val_378','val_378' -'379','val_379','val_379' -'382','val_382','val_382' -'382','val_382','val_382' -'384','val_384','val_384' -'384','val_384','val_384' -'384','val_384','val_384' -'386','val_386','val_386' -'389','val_389','val_389' -'392','val_392','val_392' -'393','val_393','val_393' -'394','val_394','val_394' -'395','val_395','val_395' -'395','val_395','val_395' -'396','val_396','val_396' -'396','val_396','val_396' -'396','val_396','val_396' -'397','val_397','val_397' -'397','val_397','val_397' -'399','val_399','val_399' -'399','val_399','val_399' -'4','val_4','val_4' -'400','val_400','val_400' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'401','val_401','val_401' -'402','val_402','val_402' -'403','val_403','val_403' -'403','val_403','val_403' -'403','val_403','val_403' -'404','val_404','val_404' -'404','val_404','val_404' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'406','val_406','val_406' -'407','val_407','val_407' -'409','val_409','val_409' -'409','val_409','val_409' -'409','val_409','val_409' -'41','val_41','val_41' -'411','val_411','val_411' -'413','val_413','val_413' -'413','val_413','val_413' -'414','val_414','val_414' -'414','val_414','val_414' -'417','val_417','val_417' -'417','val_417','val_417' -'417','val_417','val_417' -'418','val_418','val_418' -'419','val_419','val_419' -'42','val_42','val_42' -'42','val_42','val_42' -'421','val_421','val_421' -'424','val_424','val_424' -'424','val_424','val_424' -'427','val_427','val_427' -'429','val_429','val_429' -'429','val_429','val_429' -'43','val_43','val_43' -'430','val_430','val_430' -'430','val_430','val_430' -'430','val_430','val_430' -'431','val_431','val_431' -'431','val_431','val_431' -'431','val_431','val_431' -'432','val_432','val_432' -'435','val_435','val_435' -'436','val_436','val_436' -'437','val_437','val_437' -'438','val_438','val_438' -'438','val_438','val_438' -'438','val_438','val_438' -'439','val_439','val_439' -'439','val_439','val_439' -'44','val_44','val_44' -'443','val_443','val_443' -'444','val_444','val_444' -'446','val_446','val_446' -'448','val_448','val_448' -'449','val_449','val_449' -'452','val_452','val_452' -'453','val_453','val_453' -'454','val_454','val_454' -'454','val_454','val_454' -'454','val_454','val_454' -'455','val_455','val_455' -'457','val_457','val_457' -'458','val_458','val_458' -'458','val_458','val_458' -'459','val_459','val_459' -'459','val_459','val_459' -'460','val_460','val_460' -'462','val_462','val_462' -'462','val_462','val_462' -'463','val_463','val_463' -'463','val_463','val_463' -'466','val_466','val_466' -'466','val_466','val_466' -'466','val_466','val_466' -'467','val_467','val_467' -'468','val_468','val_468' -'468','val_468','val_468' -'468','val_468','val_468' -'468','val_468','val_468' -'469','val_469','val_469' -'469','val_469','val_469' -'469','val_469','val_469' -'469','val_469','val_469' -'469','val_469','val_469' -'47','val_47','val_47' -'470','val_470','val_470' -'472','val_472','val_472' -'475','val_475','val_475' -'477','val_477','val_477' -'478','val_478','val_478' -'478','val_478','val_478' -'479','val_479','val_479' -'480','val_480','val_480' -'480','val_480','val_480' -'480','val_480','val_480' -'481','val_481','val_481' -'482','val_482','val_482' -'483','val_483','val_483' -'484','val_484','val_484' -'485','val_485','val_485' -'487','val_487','val_487' -'489','val_489','val_489' -'489','val_489','val_489' -'489','val_489','val_489' -'489','val_489','val_489' -'490','val_490','val_490' -'491','val_491','val_491' -'492','val_492','val_492' -'492','val_492','val_492' -'493','val_493','val_493' -'494','val_494','val_494' -'495','val_495','val_495' -'496','val_496','val_496' -'497','val_497','val_497' -'498','val_498','val_498' -'498','val_498','val_498' -'498','val_498','val_498' -'5','val_5','val_5' -'5','val_5','val_5' -'5','val_5','val_5' -'51','val_51','val_51' -'51','val_51','val_51' -'53','val_53','val_53' -'54','val_54','val_54' -'57','val_57','val_57' -'58','val_58','val_58' -'58','val_58','val_58' -'64','val_64','val_64' -'65','val_65','val_65' -'66','val_66','val_66' -'67','val_67','val_67' -'67','val_67','val_67' -'69','val_69','val_69' -'70','val_70','val_70' -'70','val_70','val_70' -'70','val_70','val_70' -'72','val_72','val_72' -'72','val_72','val_72' -'74','val_74','val_74' -'76','val_76','val_76' -'76','val_76','val_76' -'77','val_77','val_77' -'78','val_78','val_78' -'8','val_8','val_8' -'80','val_80','val_80' -'82','val_82','val_82' -'83','val_83','val_83' -'83','val_83','val_83' -'84','val_84','val_84' -'84','val_84','val_84' -'85','val_85','val_85' -'86','val_86','val_86' -'87','val_87','val_87' -'9','val_9','val_9' -'90','val_90','val_90' -'90','val_90','val_90' -'90','val_90','val_90' -'92','val_92','val_92' -'95','val_95','val_95' -'95','val_95','val_95' -'96','val_96','val_96' -'97','val_97','val_97' -'97','val_97','val_97' -'98','val_98','val_98' -'98','val_98','val_98' -'tst1','500','500' -501 rows selected ->>> ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/union2.q.out ql/src/test/results/beelinepositive/union2.q.out deleted file mode 100644 index 18266c1..0000000 --- ql/src/test/results/beelinepositive/union2.q.out +++ /dev/null @@ -1,99 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/union2.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/union2.q ->>> -- union case: both subqueries are map-reduce jobs on same input, followed by reduce sink ->>> ->>> explain -select count(1) FROM (select s1.key as key, s1.value as value from src s1 UNION ALL -select s2.key as key, s2.value as value from src s2) unionsrc; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) s1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL s1) key) key) (TOK_SELEXPR (. (TOK_TABLE_OR_COL s1) value) value)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) s2)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL s2) key) key) (TOK_SELEXPR (. (TOK_TABLE_OR_COL s2) value) value))))) unionsrc)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1:unionsrc-subquery1:s1 ' -' TableScan' -' alias: s1' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' null-subquery2:unionsrc-subquery2:s2 ' -' TableScan' -' alias: s2' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -83 rows selected ->>> ->>> select count(1) FROM (select s1.key as key, s1.value as value from src s1 UNION ALL -select s2.key as key, s2.value as value from src s2) unionsrc; -'_c0' -'1000' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/union20.q.out ql/src/test/results/beelinepositive/union20.q.out deleted file mode 100644 index 4374eae..0000000 --- ql/src/test/results/beelinepositive/union20.q.out +++ /dev/null @@ -1,269 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/union20.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/union20.q ->>> -- union :map-reduce sub-queries followed by join ->>> ->>> explain -SELECT unionsrc1.key, unionsrc1.value, unionsrc2.key, unionsrc2.value -FROM (select 'tst1' as key, cast(count(1) as string) as value from src s1 -UNION ALL -select s2.key as key, s2.value as value from src s2 where s2.key < 10) unionsrc1 -JOIN -(select 'tst1' as key, cast(count(1) as string) as value from src s3 -UNION ALL -select s4.key as key, s4.value as value from src s4 where s4.key < 10) unionsrc2 -ON (unionsrc1.key = unionsrc2.key); -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) s1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 'tst1' key) (TOK_SELEXPR (TOK_FUNCTION TOK_STRING (TOK_FUNCTION count 1)) value)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) s2)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL s2) key) key) (TOK_SELEXPR (. (TOK_TABLE_OR_COL s2) value) value)) (TOK_WHERE (< (. (TOK_TABLE_OR_COL s2) key) 10))))) unionsrc1) (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) s3)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 'tst1' key) (TOK_SELEXPR (TOK_FUNCTION TOK_STRING (TOK_FUNCTION count 1)) value)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) s4)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL s4) key) key) (TOK_SELEXPR (. (TOK_TABLE_OR_COL s4) value) value)) (TOK_WHERE (< (. (TOK_TABLE_OR_COL s4) key) 10))))) unionsrc2) (= (. (TOK_TABLE_OR_COL unionsrc1) key) (. (TOK_TABLE_OR_COL unionsrc2) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL unionsrc1) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL unionsrc1) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL unionsrc2) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL unionsrc2) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-6' -' Stage-6 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1:unionsrc2-subquery1:s3 ' -' TableScan' -' alias: s3' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: 'tst1'' -' type: string' -' expr: UDFToString(_col0)' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' null-subquery2:unionsrc1-subquery2:s2 ' -' TableScan' -' alias: s2' -' Filter Operator' -' predicate:' -' expr: (key < 10.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' null-subquery2:unionsrc2-subquery2:s4 ' -' TableScan' -' alias: s4' -' Filter Operator' -' predicate:' -' expr: (key < 10.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: 1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 {VALUE._col0} {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1:unionsrc1-subquery1:s1 ' -' TableScan' -' alias: s1' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: 'tst1'' -' type: string' -' expr: UDFToString(_col0)' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -217 rows selected ->>> ->>> SELECT unionsrc1.key, unionsrc1.value, unionsrc2.key, unionsrc2.value -FROM (select 'tst1' as key, cast(count(1) as string) as value from src s1 -UNION ALL -select s2.key as key, s2.value as value from src s2 where s2.key < 10) unionsrc1 -JOIN -(select 'tst1' as key, cast(count(1) as string) as value from src s3 -UNION ALL -select s4.key as key, s4.value as value from src s4 where s4.key < 10) unionsrc2 -ON (unionsrc1.key = unionsrc2.key); -'key','value','key','value' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'0','val_0','0','val_0' -'2','val_2','2','val_2' -'4','val_4','4','val_4' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'5','val_5','5','val_5' -'8','val_8','8','val_8' -'9','val_9','9','val_9' -'tst1','500','tst1','500' -23 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/union21.q.out ql/src/test/results/beelinepositive/union21.q.out deleted file mode 100644 index 4c3a9e5..0000000 --- ql/src/test/results/beelinepositive/union21.q.out +++ /dev/null @@ -1,788 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/union21.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/union21.q ->>> -- union of constants, udf outputs, and columns from text table and thrift table ->>> ->>> explain -SELECT key, count(1) -FROM ( -SELECT '1' as key from src -UNION ALL -SELECT reverse(key) as key from src -UNION ALL -SELECT key as key from src -UNION ALL -SELECT astring as key from src_thrift -UNION ALL -SELECT lstring[0] as key from src_thrift -) union_output -GROUP BY key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_UNION (TOK_UNION (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR '1' key)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION reverse (TOK_TABLE_OR_COL key)) key))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key) key))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src_thrift))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL astring) key))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src_thrift))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR ([ (TOK_TABLE_OR_COL lstring) 0) key))))) union_output)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1-subquery1-subquery1-subquery1:union_output-subquery1-subquery1-subquery1-subquery1:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: '1'' -' type: string' -' outputColumnNames: _col0' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' null-subquery1-subquery1-subquery1-subquery2:union_output-subquery1-subquery1-subquery1-subquery2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: reverse(key)' -' type: string' -' outputColumnNames: _col0' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' null-subquery1-subquery1-subquery2:union_output-subquery1-subquery1-subquery2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: _col0' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' null-subquery1-subquery2:union_output-subquery1-subquery2:src_thrift ' -' TableScan' -' alias: src_thrift' -' Select Operator' -' expressions:' -' expr: astring' -' type: string' -' outputColumnNames: _col0' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' null-subquery2:union_output-subquery2:src_thrift ' -' TableScan' -' alias: src_thrift' -' Select Operator' -' expressions:' -' expr: lstring[0]' -' type: string' -' outputColumnNames: _col0' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -215 rows selected ->>> ->>> SELECT key, count(1) -FROM ( -SELECT '1' as key from src -UNION ALL -SELECT reverse(key) as key from src -UNION ALL -SELECT key as key from src -UNION ALL -SELECT astring as key from src_thrift -UNION ALL -SELECT lstring[0] as key from src_thrift -) union_output -GROUP BY key; -'key','_c1' -'','2' -'0','7' -'001','2' -'002','2' -'004','1' -'01','1' -'013','1' -'02','1' -'021','2' -'03','1' -'032','5' -'034','3' -'051','1' -'061','1' -'062','1' -'063','1' -'064','1' -'07','3' -'071','1' -'074','1' -'08','1' -'081','1' -'082','2' -'084','3' -'09','3' -'091','1' -'094','1' -'1','500' -'10','2' -'100','2' -'102','1' -'103','2' -'104','7' -'105','1' -'11','2' -'111','2' -'113','5' -'114','2' -'116','1' -'118','2' -'119','3' -'12','2' -'120','2' -'122','2' -'123','2' -'124','1' -'125','2' -'126','1' -'128','3' -'129','2' -'131','2' -'133','3' -'134','5' -'136','1' -'137','2' -'138','4' -'14','1' -'142','1' -'143','2' -'145','1' -'146','2' -'149','2' -'15','4' -'150','1' -'152','2' -'153','2' -'155','1' -'156','1' -'157','1' -'158','1' -'160','1' -'162','1' -'163','1' -'164','2' -'165','2' -'166','1' -'167','3' -'168','1' -'169','4' -'17','1' -'170','1' -'172','2' -'174','2' -'175','2' -'176','2' -'177','1' -'178','1' -'179','2' -'18','2' -'180','1' -'181','2' -'182','2' -'183','1' -'184','1' -'186','1' -'187','3' -'189','1' -'19','1' -'190','1' -'191','4' -'192','2' -'193','3' -'194','2' -'195','2' -'196','1' -'197','2' -'199','3' -'2','2' -'20','2' -'200','2' -'201','1' -'202','2' -'203','3' -'204','1' -'205','2' -'207','2' -'208','3' -'209','2' -'21','2' -'213','2' -'214','1' -'216','2' -'217','2' -'218','1' -'219','2' -'221','2' -'222','2' -'223','4' -'224','2' -'226','1' -'228','1' -'229','2' -'230','5' -'233','3' -'234','1' -'235','1' -'237','2' -'238','2' -'239','2' -'24','4' -'241','1' -'242','4' -'243','2' -'244','1' -'247','1' -'248','1' -'249','1' -'251','2' -'252','2' -'254','1' -'255','2' -'256','2' -'257','1' -'258','1' -'26','2' -'260','1' -'261','1' -'262','2' -'263','2' -'264','2' -'265','2' -'266','1' -'27','3' -'271','2' -'272','4' -'273','3' -'274','2' -'275','1' -'277','4' -'278','2' -'28','2' -'280','2' -'281','2' -'282','4' -'283','3' -'284','2' -'285','1' -'286','1' -'287','1' -'288','2' -'289','1' -'29','1' -'291','2' -'292','2' -'293','1' -'294','2' -'296','1' -'298','3' -'30','2' -'301','2' -'302','3' -'304','3' -'305','1' -'306','1' -'307','2' -'308','1' -'309','2' -'310','1' -'311','5' -'312','2' -'314','2' -'315','1' -'316','3' -'317','2' -'318','3' -'321','2' -'322','4' -'323','2' -'325','2' -'327','3' -'33','2' -'331','3' -'332','3' -'333','4' -'335','1' -'336','1' -'338','1' -'339','1' -'34','2' -'341','2' -'342','2' -'344','3' -'345','1' -'348','5' -'35','4' -'351','2' -'353','4' -'354','1' -'356','1' -'360','1' -'361','1' -'362','2' -'364','3' -'365','1' -'366','1' -'367','2' -'368','1' -'369','3' -'37','2' -'372','3' -'373','2' -'374','1' -'375','1' -'377','1' -'378','1' -'379','1' -'38','2' -'381','1' -'382','3' -'384','4' -'386','1' -'389','1' -'391','3' -'392','1' -'393','2' -'394','2' -'395','2' -'396','3' -'397','2' -'399','2' -'4','2' -'40','1' -'400','1' -'401','7' -'402','1' -'403','3' -'404','4' -'406','4' -'407','1' -'409','3' -'41','1' -'411','2' -'412','1' -'413','2' -'414','4' -'417','3' -'418','1' -'419','1' -'42','4' -'421','1' -'422','2' -'424','4' -'427','1' -'429','2' -'43','2' -'430','3' -'431','5' -'432','1' -'435','1' -'436','1' -'437','1' -'438','3' -'439','2' -'44','2' -'442','1' -'443','3' -'444','2' -'446','1' -'448','1' -'449','1' -'45','1' -'452','1' -'453','1' -'454','6' -'455','1' -'457','1' -'458','2' -'459','2' -'46','1' -'460','1' -'461','2' -'462','2' -'463','3' -'466','3' -'467','1' -'468','4' -'469','5' -'47','2' -'470','1' -'471','2' -'472','2' -'473','1' -'475','1' -'477','1' -'478','2' -'479','1' -'48','2' -'480','3' -'481','1' -'482','2' -'483','4' -'484','2' -'485','1' -'487','1' -'489','4' -'490','1' -'491','2' -'492','2' -'493','2' -'494','2' -'495','1' -'496','1' -'497','1' -'498','3' -'5','6' -'50','1' -'501','1' -'502','2' -'503','1' -'51','4' -'513','1' -'521','2' -'523','2' -'53','4' -'532','1' -'533','1' -'534','1' -'54','1' -'541','1' -'543','1' -'551','1' -'552','2' -'554','1' -'56','1' -'561','2' -'562','2' -'563','1' -'57','1' -'571','2' -'572','1' -'573','1' -'574','1' -'58','3' -'582','1' -'584','1' -'59','2' -'591','2' -'593','2' -'594','1' -'60','1' -'603','1' -'604','4' -'611','1' -'612','2' -'613','3' -'62','2' -'621','1' -'622','1' -'631','1' -'633','1' -'634','1' -'64','1' -'641','2' -'644','1' -'65','1' -'651','1' -'652','2' -'653','1' -'66','2' -'661','1' -'662','1' -'663','1' -'664','3' -'67','4' -'671','2' -'68','1' -'681','1' -'682','1' -'683','1' -'69','2' -'691','1' -'692','1' -'693','3' -'694','1' -'70','4' -'702','2' -'703','2' -'704','1' -'71','1' -'712','2' -'713','2' -'714','3' -'72','3' -'723','3' -'724','1' -'73','2' -'731','2' -'732','2' -'734','1' -'74','2' -'742','1' -'75','1' -'751','1' -'752','1' -'754','1' -'76','4' -'761','3' -'763','2' -'764','1' -'77','2' -'771','1' -'772','4' -'773','1' -'774','1' -'78','2' -'781','3' -'782','1' -'784','1' -'79','2' -'791','2' -'793','2' -'794','1' -'8','2' -'80','2' -'802','3' -'803','1' -'81','2' -'811','2' -'812','1' -'813','3' -'814','1' -'82','2' -'821','3' -'822','1' -'83','2' -'831','4' -'832','2' -'833','1' -'834','3' -'84','2' -'842','1' -'843','5' -'844','1' -'85','3' -'851','1' -'852','1' -'854','2' -'86','1' -'861','1' -'863','1' -'864','4' -'87','2' -'871','1' -'872','2' -'873','1' -'874','2' -'882','2' -'89','2' -'892','3' -'894','3' -'9','2' -'90','4' -'902','2' -'903','2' -'904','3' -'91','1' -'911','3' -'912','2' -'914','1' -'92','1' -'921','2' -'922','2' -'924','2' -'932','2' -'933','1' -'934','2' -'941','2' -'942','1' -'944','1' -'95','2' -'954','2' -'96','2' -'961','4' -'963','3' -'964','5' -'97','2' -'971','2' -'973','1' -'974','1' -'98','2' -'981','1' -'982','1' -'983','1' -'984','4' -'991','3' -'993','2' -'record_0','1' -'record_1','1' -'record_2','1' -'record_3','1' -'record_4','1' -'record_5','1' -'record_6','1' -'record_7','1' -'record_8','1' -'record_9','1' -536 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/union22.q.out ql/src/test/results/beelinepositive/union22.q.out deleted file mode 100644 index b906ca5..0000000 --- ql/src/test/results/beelinepositive/union22.q.out +++ /dev/null @@ -1,1513 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/union22.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/union22.q ->>> ->>> create table dst_union22(k1 string, k2 string, k3 string, k4 string) partitioned by (ds string); -No rows affected ->>> ->>> ->>> create table dst_union22_delta(k0 string, k1 string, k2 string, k3 string, k4 string, k5 string) partitioned by (ds string); -No rows affected ->>> ->>> insert overwrite table dst_union22 partition (ds='1') -select key, value, key , value from src; -'key','value','key','value' -No rows selected ->>> ->>> insert overwrite table dst_union22_delta partition (ds='1') -select key, key, value, key, value, value from src; -'key','key','value','key','value','value' -No rows selected ->>> ->>> set hive.merge.mapfiles=false; -No rows affected ->>> ->>> explain extended -insert overwrite table dst_union22 partition (ds='2') -select * from -( -select k1 as k1, k2 as k2, k3 as k3, k4 as k4 from dst_union22_delta where ds = '1' and k0 <= 50 -union all -select /*+ MAPJOIN(b) */ a.k1 as k1, a.k2 as k2, b.k3 as k3, b.k4 as k4 -from dst_union22 a left outer join (select * from dst_union22_delta where ds = '1' and k0 > 50) b on -a.k1 = b.k1 and a.ds='1' -where a.k1 > 20 -) -subq; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME dst_union22_delta))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL k1) k1) (TOK_SELEXPR (TOK_TABLE_OR_COL k2) k2) (TOK_SELEXPR (TOK_TABLE_OR_COL k3) k3) (TOK_SELEXPR (TOK_TABLE_OR_COL k4) k4)) (TOK_WHERE (and (= (TOK_TABLE_OR_COL ds) '1') (<= (TOK_TABLE_OR_COL k0) 50))))) (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME dst_union22) a) (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME dst_union22_delta))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (and (= (TOK_TABLE_OR_COL ds) '1') (> (TOK_TABLE_OR_COL k0) 50))))) b) (and (= (. (TOK_TABLE_OR_COL a) k1) (. (TOK_TABLE_OR_COL b) k1)) (= (. (TOK_TABLE_OR_COL a) ds) '1')))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_HINTLIST (TOK_HINT TOK_MAPJOIN (TOK_HINTARGLIST b))) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) k1) k1) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) k2) k2) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) k3) k3) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) k4) k4)) (TOK_WHERE (> (. (TOK_TABLE_OR_COL a) k1) 20))))) subq)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME dst_union22) (TOK_PARTSPEC (TOK_PARTVAL ds '2')))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-7 is a root stage' -' Stage-1 depends on stages: Stage-7' -' Stage-2 depends on stages: Stage-1' -' Stage-3 depends on stages: Stage-2' -' Stage-0 depends on stages: Stage-3' -' Stage-4 depends on stages: Stage-0' -'' -'STAGE PLANS:' -' Stage: Stage-7' -' Map Reduce Local Work' -' Alias -> Map Local Tables:' -' null-subquery2:subq-subquery2:b:dst_union22_delta ' -' Fetch Operator' -' limit: -1' -' Alias -> Map Local Operator Tree:' -' null-subquery2:subq-subquery2:b:dst_union22_delta ' -' TableScan' -' alias: dst_union22_delta' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: ((k0 > 50.0) and (k1 > 20.0))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: k1' -' type: string' -' expr: k3' -' type: string' -' expr: k4' -' type: string' -' outputColumnNames: _col1, _col3, _col4' -' HashTable Sink Operator' -' condition expressions:' -' 0 {k1} {k2}' -' 1 {_col3} {_col4}' -' filter mappings:' -' 0 [1, 1]' -' filter predicates:' -' 0 {(ds = '1')}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[k1]]' -' 1 [Column[_col1]]' -' Position of Big Table: 0' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery2:subq-subquery2:a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (k1 > 20.0)' -' type: boolean' -' Map Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {k1} {k2}' -' 1 {_col3} {_col4}' -' filter mappings:' -' 0 [1, 1]' -' filter predicates:' -' 0 {(ds = '1')}' -' 1 ' -' handleSkewJoin: false' -' keys:' -' 0 [Column[k1]]' -' 1 [Column[_col1]]' -' outputColumnNames: _col0, _col1, _col10, _col11' -' Position of Big Table: 0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col10,_col11' -' columns.types string,string,string,string' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Local Work:' -' Map Reduce Local Work' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/union22.db/dst_union22/ds=1 [null-subquery2:subq-subquery2:a]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/union22.db/dst_union22/ds=1 ' -' Partition' -' base file name: ds=1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 1' -' properties:' -' bucket_count -1' -' columns k1,k2,k3,k4' -' columns.types string:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/union22.db/dst_union22/ds=1' -' name union22.dst_union22' -' numFiles 1' -' numPartitions 1' -' numRows 500' -' partition_columns ds' -' rawDataSize 11124' -' serialization.ddl struct dst_union22 { string k1, string k2, string k3, string k4}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11624' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns k1,k2,k3,k4' -' columns.types string:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/union22.db/dst_union22' -' name union22.dst_union22' -' numFiles 1' -' numPartitions 1' -' numRows 500' -' partition_columns ds' -' rawDataSize 11124' -' serialization.ddl struct dst_union22 { string k1, string k2, string k3, string k4}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11624' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: union22.dst_union22' -' name: union22.dst_union22' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col10' -' type: string' -' expr: _col11' -' type: string' -' outputColumnNames: _col0, _col1, _col10, _col11' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col10' -' type: string' -' expr: _col11' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string,string,string,string' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col10,_col11' -' columns.types string,string,string,string' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col10,_col11' -' columns.types string,string,string,string' -' escape.delim \' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' GatherStats: false' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Static Partition Specification: ds=2/' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns k1,k2,k3,k4' -' columns.types string:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/union22.db/dst_union22' -' name union22.dst_union22' -' numFiles 1' -' numPartitions 1' -' numRows 500' -' partition_columns ds' -' rawDataSize 11124' -' serialization.ddl struct dst_union22 { string k1, string k2, string k3, string k4}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11624' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: union22.dst_union22' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' null-subquery1:subq-subquery1:dst_union22_delta ' -' TableScan' -' alias: dst_union22_delta' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (k0 <= 50.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: k1' -' type: string' -' expr: k2' -' type: string' -' expr: k3' -' type: string' -' expr: k4' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' directory: pfile:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Static Partition Specification: ds=2/' -' Stats Publishing Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns k1,k2,k3,k4' -' columns.types string:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/union22.db/dst_union22' -' name union22.dst_union22' -' numFiles 1' -' numPartitions 1' -' numRows 500' -' partition_columns ds' -' rawDataSize 11124' -' serialization.ddl struct dst_union22 { string k1, string k2, string k3, string k4}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11624' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: union22.dst_union22' -' TotalFiles: 1' -' GatherStats: true' -' MultiFileSpray: false' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' !!{hive.metastore.warehouse.dir}!!/union22.db/dst_union22_delta/ds=1 [null-subquery1:subq-subquery1:dst_union22_delta]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10003' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string,string,string,string' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string,string,string,string' -' escape.delim \' -' !!{hive.metastore.warehouse.dir}!!/union22.db/dst_union22_delta/ds=1 ' -' Partition' -' base file name: ds=1' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 1' -' properties:' -' bucket_count -1' -' columns k0,k1,k2,k3,k4,k5' -' columns.types string:string:string:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/union22.db/dst_union22_delta/ds=1' -' name union22.dst_union22_delta' -' numFiles 1' -' numPartitions 1' -' numRows 500' -' partition_columns ds' -' rawDataSize 16936' -' serialization.ddl struct dst_union22_delta { string k0, string k1, string k2, string k3, string k4, string k5}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 17436' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns k0,k1,k2,k3,k4,k5' -' columns.types string:string:string:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/union22.db/dst_union22_delta' -' name union22.dst_union22_delta' -' numFiles 1' -' numPartitions 1' -' numRows 500' -' partition_columns ds' -' rawDataSize 16936' -' serialization.ddl struct dst_union22_delta { string k0, string k1, string k2, string k3, string k4, string k5}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 17436' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: union22.dst_union22_delta' -' name: union22.dst_union22_delta' -'' -' Stage: Stage-0' -' Move Operator' -' tables:' -' partition:' -' ds 2' -' replace: true' -' source: pfile:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns k1,k2,k3,k4' -' columns.types string:string:string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/union22.db/dst_union22' -' name union22.dst_union22' -' numFiles 1' -' numPartitions 1' -' numRows 500' -' partition_columns ds' -' rawDataSize 11124' -' serialization.ddl struct dst_union22 { string k1, string k2, string k3, string k4}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 11624' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: union22.dst_union22' -' tmp directory: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-4' -' Stats-Aggr Operator' -' Stats Aggregation Key Prefix: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -440 rows selected ->>> ->>> insert overwrite table dst_union22 partition (ds='2') -select * from -( -select k1 as k1, k2 as k2, k3 as k3, k4 as k4 from dst_union22_delta where ds = '1' and k0 <= 50 -union all -select /*+ MAPJOIN(b) */ a.k1 as k1, a.k2 as k2, b.k3 as k3, b.k4 as k4 -from dst_union22 a left outer join (select * from dst_union22_delta where ds = '1' and k0 > 50) b on -a.k1 = b.k1 and a.ds='1' -where a.k1 > 20 -) -subq; -'k1','k2','k3','k4' -No rows selected ->>> ->>> ->>> select * from dst_union22 where ds = '2' order by k1, k2, k3, k4; -'k1','k2','k3','k4','ds' -'0','val_0','0','val_0','2' -'0','val_0','0','val_0','2' -'0','val_0','0','val_0','2' -'10','val_10','10','val_10','2' -'100','val_100','100','val_100','2' -'100','val_100','100','val_100','2' -'100','val_100','100','val_100','2' -'100','val_100','100','val_100','2' -'103','val_103','103','val_103','2' -'103','val_103','103','val_103','2' -'103','val_103','103','val_103','2' -'103','val_103','103','val_103','2' -'104','val_104','104','val_104','2' -'104','val_104','104','val_104','2' -'104','val_104','104','val_104','2' -'104','val_104','104','val_104','2' -'105','val_105','105','val_105','2' -'11','val_11','11','val_11','2' -'111','val_111','111','val_111','2' -'113','val_113','113','val_113','2' -'113','val_113','113','val_113','2' -'113','val_113','113','val_113','2' -'113','val_113','113','val_113','2' -'114','val_114','114','val_114','2' -'116','val_116','116','val_116','2' -'118','val_118','118','val_118','2' -'118','val_118','118','val_118','2' -'118','val_118','118','val_118','2' -'118','val_118','118','val_118','2' -'119','val_119','119','val_119','2' -'119','val_119','119','val_119','2' -'119','val_119','119','val_119','2' -'119','val_119','119','val_119','2' -'119','val_119','119','val_119','2' -'119','val_119','119','val_119','2' -'119','val_119','119','val_119','2' -'119','val_119','119','val_119','2' -'119','val_119','119','val_119','2' -'12','val_12','12','val_12','2' -'12','val_12','12','val_12','2' -'120','val_120','120','val_120','2' -'120','val_120','120','val_120','2' -'120','val_120','120','val_120','2' -'120','val_120','120','val_120','2' -'125','val_125','125','val_125','2' -'125','val_125','125','val_125','2' -'125','val_125','125','val_125','2' -'125','val_125','125','val_125','2' -'126','val_126','126','val_126','2' -'128','val_128','128','val_128','2' -'128','val_128','128','val_128','2' -'128','val_128','128','val_128','2' -'128','val_128','128','val_128','2' -'128','val_128','128','val_128','2' -'128','val_128','128','val_128','2' -'128','val_128','128','val_128','2' -'128','val_128','128','val_128','2' -'128','val_128','128','val_128','2' -'129','val_129','129','val_129','2' -'129','val_129','129','val_129','2' -'129','val_129','129','val_129','2' -'129','val_129','129','val_129','2' -'131','val_131','131','val_131','2' -'133','val_133','133','val_133','2' -'134','val_134','134','val_134','2' -'134','val_134','134','val_134','2' -'134','val_134','134','val_134','2' -'134','val_134','134','val_134','2' -'136','val_136','136','val_136','2' -'137','val_137','137','val_137','2' -'137','val_137','137','val_137','2' -'137','val_137','137','val_137','2' -'137','val_137','137','val_137','2' -'138','val_138','138','val_138','2' -'138','val_138','138','val_138','2' -'138','val_138','138','val_138','2' -'138','val_138','138','val_138','2' -'138','val_138','138','val_138','2' -'138','val_138','138','val_138','2' -'138','val_138','138','val_138','2' -'138','val_138','138','val_138','2' -'138','val_138','138','val_138','2' -'138','val_138','138','val_138','2' -'138','val_138','138','val_138','2' -'138','val_138','138','val_138','2' -'138','val_138','138','val_138','2' -'138','val_138','138','val_138','2' -'138','val_138','138','val_138','2' -'138','val_138','138','val_138','2' -'143','val_143','143','val_143','2' -'145','val_145','145','val_145','2' -'146','val_146','146','val_146','2' -'146','val_146','146','val_146','2' -'146','val_146','146','val_146','2' -'146','val_146','146','val_146','2' -'149','val_149','149','val_149','2' -'149','val_149','149','val_149','2' -'149','val_149','149','val_149','2' -'149','val_149','149','val_149','2' -'15','val_15','15','val_15','2' -'15','val_15','15','val_15','2' -'150','val_150','150','val_150','2' -'152','val_152','152','val_152','2' -'152','val_152','152','val_152','2' -'152','val_152','152','val_152','2' -'152','val_152','152','val_152','2' -'153','val_153','153','val_153','2' -'155','val_155','155','val_155','2' -'156','val_156','156','val_156','2' -'157','val_157','157','val_157','2' -'158','val_158','158','val_158','2' -'160','val_160','160','val_160','2' -'162','val_162','162','val_162','2' -'163','val_163','163','val_163','2' -'164','val_164','164','val_164','2' -'164','val_164','164','val_164','2' -'164','val_164','164','val_164','2' -'164','val_164','164','val_164','2' -'165','val_165','165','val_165','2' -'165','val_165','165','val_165','2' -'165','val_165','165','val_165','2' -'165','val_165','165','val_165','2' -'166','val_166','166','val_166','2' -'167','val_167','167','val_167','2' -'167','val_167','167','val_167','2' -'167','val_167','167','val_167','2' -'167','val_167','167','val_167','2' -'167','val_167','167','val_167','2' -'167','val_167','167','val_167','2' -'167','val_167','167','val_167','2' -'167','val_167','167','val_167','2' -'167','val_167','167','val_167','2' -'168','val_168','168','val_168','2' -'169','val_169','169','val_169','2' -'169','val_169','169','val_169','2' -'169','val_169','169','val_169','2' -'169','val_169','169','val_169','2' -'169','val_169','169','val_169','2' -'169','val_169','169','val_169','2' -'169','val_169','169','val_169','2' -'169','val_169','169','val_169','2' -'169','val_169','169','val_169','2' -'169','val_169','169','val_169','2' -'169','val_169','169','val_169','2' -'169','val_169','169','val_169','2' -'169','val_169','169','val_169','2' -'169','val_169','169','val_169','2' -'169','val_169','169','val_169','2' -'169','val_169','169','val_169','2' -'17','val_17','17','val_17','2' -'170','val_170','170','val_170','2' -'172','val_172','172','val_172','2' -'172','val_172','172','val_172','2' -'172','val_172','172','val_172','2' -'172','val_172','172','val_172','2' -'174','val_174','174','val_174','2' -'174','val_174','174','val_174','2' -'174','val_174','174','val_174','2' -'174','val_174','174','val_174','2' -'175','val_175','175','val_175','2' -'175','val_175','175','val_175','2' -'175','val_175','175','val_175','2' -'175','val_175','175','val_175','2' -'176','val_176','176','val_176','2' -'176','val_176','176','val_176','2' -'176','val_176','176','val_176','2' -'176','val_176','176','val_176','2' -'177','val_177','177','val_177','2' -'178','val_178','178','val_178','2' -'179','val_179','179','val_179','2' -'179','val_179','179','val_179','2' -'179','val_179','179','val_179','2' -'179','val_179','179','val_179','2' -'18','val_18','18','val_18','2' -'18','val_18','18','val_18','2' -'180','val_180','180','val_180','2' -'181','val_181','181','val_181','2' -'183','val_183','183','val_183','2' -'186','val_186','186','val_186','2' -'187','val_187','187','val_187','2' -'187','val_187','187','val_187','2' -'187','val_187','187','val_187','2' -'187','val_187','187','val_187','2' -'187','val_187','187','val_187','2' -'187','val_187','187','val_187','2' -'187','val_187','187','val_187','2' -'187','val_187','187','val_187','2' -'187','val_187','187','val_187','2' -'189','val_189','189','val_189','2' -'19','val_19','19','val_19','2' -'190','val_190','190','val_190','2' -'191','val_191','191','val_191','2' -'191','val_191','191','val_191','2' -'191','val_191','191','val_191','2' -'191','val_191','191','val_191','2' -'192','val_192','192','val_192','2' -'193','val_193','193','val_193','2' -'193','val_193','193','val_193','2' -'193','val_193','193','val_193','2' -'193','val_193','193','val_193','2' -'193','val_193','193','val_193','2' -'193','val_193','193','val_193','2' -'193','val_193','193','val_193','2' -'193','val_193','193','val_193','2' -'193','val_193','193','val_193','2' -'194','val_194','194','val_194','2' -'195','val_195','195','val_195','2' -'195','val_195','195','val_195','2' -'195','val_195','195','val_195','2' -'195','val_195','195','val_195','2' -'196','val_196','196','val_196','2' -'197','val_197','197','val_197','2' -'197','val_197','197','val_197','2' -'197','val_197','197','val_197','2' -'197','val_197','197','val_197','2' -'199','val_199','199','val_199','2' -'199','val_199','199','val_199','2' -'199','val_199','199','val_199','2' -'199','val_199','199','val_199','2' -'199','val_199','199','val_199','2' -'199','val_199','199','val_199','2' -'199','val_199','199','val_199','2' -'199','val_199','199','val_199','2' -'199','val_199','199','val_199','2' -'2','val_2','2','val_2','2' -'20','val_20','20','val_20','2' -'200','val_200','200','val_200','2' -'200','val_200','200','val_200','2' -'200','val_200','200','val_200','2' -'200','val_200','200','val_200','2' -'201','val_201','201','val_201','2' -'202','val_202','202','val_202','2' -'203','val_203','203','val_203','2' -'203','val_203','203','val_203','2' -'203','val_203','203','val_203','2' -'203','val_203','203','val_203','2' -'205','val_205','205','val_205','2' -'205','val_205','205','val_205','2' -'205','val_205','205','val_205','2' -'205','val_205','205','val_205','2' -'207','val_207','207','val_207','2' -'207','val_207','207','val_207','2' -'207','val_207','207','val_207','2' -'207','val_207','207','val_207','2' -'208','val_208','208','val_208','2' -'208','val_208','208','val_208','2' -'208','val_208','208','val_208','2' -'208','val_208','208','val_208','2' -'208','val_208','208','val_208','2' -'208','val_208','208','val_208','2' -'208','val_208','208','val_208','2' -'208','val_208','208','val_208','2' -'208','val_208','208','val_208','2' -'209','val_209','209','val_209','2' -'209','val_209','209','val_209','2' -'209','val_209','209','val_209','2' -'209','val_209','209','val_209','2' -'213','val_213','213','val_213','2' -'213','val_213','213','val_213','2' -'213','val_213','213','val_213','2' -'213','val_213','213','val_213','2' -'214','val_214','214','val_214','2' -'216','val_216','216','val_216','2' -'216','val_216','216','val_216','2' -'216','val_216','216','val_216','2' -'216','val_216','216','val_216','2' -'217','val_217','217','val_217','2' -'217','val_217','217','val_217','2' -'217','val_217','217','val_217','2' -'217','val_217','217','val_217','2' -'218','val_218','218','val_218','2' -'219','val_219','219','val_219','2' -'219','val_219','219','val_219','2' -'219','val_219','219','val_219','2' -'219','val_219','219','val_219','2' -'221','val_221','221','val_221','2' -'221','val_221','221','val_221','2' -'221','val_221','221','val_221','2' -'221','val_221','221','val_221','2' -'222','val_222','222','val_222','2' -'223','val_223','223','val_223','2' -'223','val_223','223','val_223','2' -'223','val_223','223','val_223','2' -'223','val_223','223','val_223','2' -'224','val_224','224','val_224','2' -'224','val_224','224','val_224','2' -'224','val_224','224','val_224','2' -'224','val_224','224','val_224','2' -'226','val_226','226','val_226','2' -'228','val_228','228','val_228','2' -'229','val_229','229','val_229','2' -'229','val_229','229','val_229','2' -'229','val_229','229','val_229','2' -'229','val_229','229','val_229','2' -'230','val_230','230','val_230','2' -'230','val_230','230','val_230','2' -'230','val_230','230','val_230','2' -'230','val_230','230','val_230','2' -'230','val_230','230','val_230','2' -'230','val_230','230','val_230','2' -'230','val_230','230','val_230','2' -'230','val_230','230','val_230','2' -'230','val_230','230','val_230','2' -'230','val_230','230','val_230','2' -'230','val_230','230','val_230','2' -'230','val_230','230','val_230','2' -'230','val_230','230','val_230','2' -'230','val_230','230','val_230','2' -'230','val_230','230','val_230','2' -'230','val_230','230','val_230','2' -'230','val_230','230','val_230','2' -'230','val_230','230','val_230','2' -'230','val_230','230','val_230','2' -'230','val_230','230','val_230','2' -'230','val_230','230','val_230','2' -'230','val_230','230','val_230','2' -'230','val_230','230','val_230','2' -'230','val_230','230','val_230','2' -'230','val_230','230','val_230','2' -'233','val_233','233','val_233','2' -'233','val_233','233','val_233','2' -'233','val_233','233','val_233','2' -'233','val_233','233','val_233','2' -'235','val_235','235','val_235','2' -'237','val_237','237','val_237','2' -'237','val_237','237','val_237','2' -'237','val_237','237','val_237','2' -'237','val_237','237','val_237','2' -'238','val_238','238','val_238','2' -'238','val_238','238','val_238','2' -'238','val_238','238','val_238','2' -'238','val_238','238','val_238','2' -'239','val_239','239','val_239','2' -'239','val_239','239','val_239','2' -'239','val_239','239','val_239','2' -'239','val_239','239','val_239','2' -'24','val_24','','','2' -'24','val_24','','','2' -'24','val_24','24','val_24','2' -'24','val_24','24','val_24','2' -'241','val_241','241','val_241','2' -'242','val_242','242','val_242','2' -'242','val_242','242','val_242','2' -'242','val_242','242','val_242','2' -'242','val_242','242','val_242','2' -'244','val_244','244','val_244','2' -'247','val_247','247','val_247','2' -'248','val_248','248','val_248','2' -'249','val_249','249','val_249','2' -'252','val_252','252','val_252','2' -'255','val_255','255','val_255','2' -'255','val_255','255','val_255','2' -'255','val_255','255','val_255','2' -'255','val_255','255','val_255','2' -'256','val_256','256','val_256','2' -'256','val_256','256','val_256','2' -'256','val_256','256','val_256','2' -'256','val_256','256','val_256','2' -'257','val_257','257','val_257','2' -'258','val_258','258','val_258','2' -'26','val_26','','','2' -'26','val_26','','','2' -'26','val_26','26','val_26','2' -'26','val_26','26','val_26','2' -'260','val_260','260','val_260','2' -'262','val_262','262','val_262','2' -'263','val_263','263','val_263','2' -'265','val_265','265','val_265','2' -'265','val_265','265','val_265','2' -'265','val_265','265','val_265','2' -'265','val_265','265','val_265','2' -'266','val_266','266','val_266','2' -'27','val_27','','','2' -'27','val_27','27','val_27','2' -'272','val_272','272','val_272','2' -'272','val_272','272','val_272','2' -'272','val_272','272','val_272','2' -'272','val_272','272','val_272','2' -'273','val_273','273','val_273','2' -'273','val_273','273','val_273','2' -'273','val_273','273','val_273','2' -'273','val_273','273','val_273','2' -'273','val_273','273','val_273','2' -'273','val_273','273','val_273','2' -'273','val_273','273','val_273','2' -'273','val_273','273','val_273','2' -'273','val_273','273','val_273','2' -'274','val_274','274','val_274','2' -'275','val_275','275','val_275','2' -'277','val_277','277','val_277','2' -'277','val_277','277','val_277','2' -'277','val_277','277','val_277','2' -'277','val_277','277','val_277','2' -'277','val_277','277','val_277','2' -'277','val_277','277','val_277','2' -'277','val_277','277','val_277','2' -'277','val_277','277','val_277','2' -'277','val_277','277','val_277','2' -'277','val_277','277','val_277','2' -'277','val_277','277','val_277','2' -'277','val_277','277','val_277','2' -'277','val_277','277','val_277','2' -'277','val_277','277','val_277','2' -'277','val_277','277','val_277','2' -'277','val_277','277','val_277','2' -'278','val_278','278','val_278','2' -'278','val_278','278','val_278','2' -'278','val_278','278','val_278','2' -'278','val_278','278','val_278','2' -'28','val_28','','','2' -'28','val_28','28','val_28','2' -'280','val_280','280','val_280','2' -'280','val_280','280','val_280','2' -'280','val_280','280','val_280','2' -'280','val_280','280','val_280','2' -'281','val_281','281','val_281','2' -'281','val_281','281','val_281','2' -'281','val_281','281','val_281','2' -'281','val_281','281','val_281','2' -'282','val_282','282','val_282','2' -'282','val_282','282','val_282','2' -'282','val_282','282','val_282','2' -'282','val_282','282','val_282','2' -'283','val_283','283','val_283','2' -'284','val_284','284','val_284','2' -'285','val_285','285','val_285','2' -'286','val_286','286','val_286','2' -'287','val_287','287','val_287','2' -'288','val_288','288','val_288','2' -'288','val_288','288','val_288','2' -'288','val_288','288','val_288','2' -'288','val_288','288','val_288','2' -'289','val_289','289','val_289','2' -'291','val_291','291','val_291','2' -'292','val_292','292','val_292','2' -'296','val_296','296','val_296','2' -'298','val_298','298','val_298','2' -'298','val_298','298','val_298','2' -'298','val_298','298','val_298','2' -'298','val_298','298','val_298','2' -'298','val_298','298','val_298','2' -'298','val_298','298','val_298','2' -'298','val_298','298','val_298','2' -'298','val_298','298','val_298','2' -'298','val_298','298','val_298','2' -'30','val_30','','','2' -'30','val_30','30','val_30','2' -'302','val_302','302','val_302','2' -'305','val_305','305','val_305','2' -'306','val_306','306','val_306','2' -'307','val_307','307','val_307','2' -'307','val_307','307','val_307','2' -'307','val_307','307','val_307','2' -'307','val_307','307','val_307','2' -'308','val_308','308','val_308','2' -'309','val_309','309','val_309','2' -'309','val_309','309','val_309','2' -'309','val_309','309','val_309','2' -'309','val_309','309','val_309','2' -'310','val_310','310','val_310','2' -'311','val_311','311','val_311','2' -'311','val_311','311','val_311','2' -'311','val_311','311','val_311','2' -'311','val_311','311','val_311','2' -'311','val_311','311','val_311','2' -'311','val_311','311','val_311','2' -'311','val_311','311','val_311','2' -'311','val_311','311','val_311','2' -'311','val_311','311','val_311','2' -'315','val_315','315','val_315','2' -'316','val_316','316','val_316','2' -'316','val_316','316','val_316','2' -'316','val_316','316','val_316','2' -'316','val_316','316','val_316','2' -'316','val_316','316','val_316','2' -'316','val_316','316','val_316','2' -'316','val_316','316','val_316','2' -'316','val_316','316','val_316','2' -'316','val_316','316','val_316','2' -'317','val_317','317','val_317','2' -'317','val_317','317','val_317','2' -'317','val_317','317','val_317','2' -'317','val_317','317','val_317','2' -'318','val_318','318','val_318','2' -'318','val_318','318','val_318','2' -'318','val_318','318','val_318','2' -'318','val_318','318','val_318','2' -'318','val_318','318','val_318','2' -'318','val_318','318','val_318','2' -'318','val_318','318','val_318','2' -'318','val_318','318','val_318','2' -'318','val_318','318','val_318','2' -'321','val_321','321','val_321','2' -'321','val_321','321','val_321','2' -'321','val_321','321','val_321','2' -'321','val_321','321','val_321','2' -'322','val_322','322','val_322','2' -'322','val_322','322','val_322','2' -'322','val_322','322','val_322','2' -'322','val_322','322','val_322','2' -'323','val_323','323','val_323','2' -'325','val_325','325','val_325','2' -'325','val_325','325','val_325','2' -'325','val_325','325','val_325','2' -'325','val_325','325','val_325','2' -'327','val_327','327','val_327','2' -'327','val_327','327','val_327','2' -'327','val_327','327','val_327','2' -'327','val_327','327','val_327','2' -'327','val_327','327','val_327','2' -'327','val_327','327','val_327','2' -'327','val_327','327','val_327','2' -'327','val_327','327','val_327','2' -'327','val_327','327','val_327','2' -'33','val_33','','','2' -'33','val_33','33','val_33','2' -'331','val_331','331','val_331','2' -'331','val_331','331','val_331','2' -'331','val_331','331','val_331','2' -'331','val_331','331','val_331','2' -'332','val_332','332','val_332','2' -'333','val_333','333','val_333','2' -'333','val_333','333','val_333','2' -'333','val_333','333','val_333','2' -'333','val_333','333','val_333','2' -'335','val_335','335','val_335','2' -'336','val_336','336','val_336','2' -'338','val_338','338','val_338','2' -'339','val_339','339','val_339','2' -'34','val_34','','','2' -'34','val_34','34','val_34','2' -'341','val_341','341','val_341','2' -'342','val_342','342','val_342','2' -'342','val_342','342','val_342','2' -'342','val_342','342','val_342','2' -'342','val_342','342','val_342','2' -'344','val_344','344','val_344','2' -'344','val_344','344','val_344','2' -'344','val_344','344','val_344','2' -'344','val_344','344','val_344','2' -'345','val_345','345','val_345','2' -'348','val_348','348','val_348','2' -'348','val_348','348','val_348','2' -'348','val_348','348','val_348','2' -'348','val_348','348','val_348','2' -'348','val_348','348','val_348','2' -'348','val_348','348','val_348','2' -'348','val_348','348','val_348','2' -'348','val_348','348','val_348','2' -'348','val_348','348','val_348','2' -'348','val_348','348','val_348','2' -'348','val_348','348','val_348','2' -'348','val_348','348','val_348','2' -'348','val_348','348','val_348','2' -'348','val_348','348','val_348','2' -'348','val_348','348','val_348','2' -'348','val_348','348','val_348','2' -'348','val_348','348','val_348','2' -'348','val_348','348','val_348','2' -'348','val_348','348','val_348','2' -'348','val_348','348','val_348','2' -'348','val_348','348','val_348','2' -'348','val_348','348','val_348','2' -'348','val_348','348','val_348','2' -'348','val_348','348','val_348','2' -'348','val_348','348','val_348','2' -'35','val_35','','','2' -'35','val_35','','','2' -'35','val_35','','','2' -'35','val_35','35','val_35','2' -'35','val_35','35','val_35','2' -'35','val_35','35','val_35','2' -'351','val_351','351','val_351','2' -'353','val_353','353','val_353','2' -'353','val_353','353','val_353','2' -'353','val_353','353','val_353','2' -'353','val_353','353','val_353','2' -'356','val_356','356','val_356','2' -'360','val_360','360','val_360','2' -'362','val_362','362','val_362','2' -'364','val_364','364','val_364','2' -'365','val_365','365','val_365','2' -'366','val_366','366','val_366','2' -'367','val_367','367','val_367','2' -'367','val_367','367','val_367','2' -'367','val_367','367','val_367','2' -'367','val_367','367','val_367','2' -'368','val_368','368','val_368','2' -'369','val_369','369','val_369','2' -'369','val_369','369','val_369','2' -'369','val_369','369','val_369','2' -'369','val_369','369','val_369','2' -'369','val_369','369','val_369','2' -'369','val_369','369','val_369','2' -'369','val_369','369','val_369','2' -'369','val_369','369','val_369','2' -'369','val_369','369','val_369','2' -'37','val_37','','','2' -'37','val_37','','','2' -'37','val_37','37','val_37','2' -'37','val_37','37','val_37','2' -'373','val_373','373','val_373','2' -'374','val_374','374','val_374','2' -'375','val_375','375','val_375','2' -'377','val_377','377','val_377','2' -'378','val_378','378','val_378','2' -'379','val_379','379','val_379','2' -'382','val_382','382','val_382','2' -'382','val_382','382','val_382','2' -'382','val_382','382','val_382','2' -'382','val_382','382','val_382','2' -'384','val_384','384','val_384','2' -'384','val_384','384','val_384','2' -'384','val_384','384','val_384','2' -'384','val_384','384','val_384','2' -'384','val_384','384','val_384','2' -'384','val_384','384','val_384','2' -'384','val_384','384','val_384','2' -'384','val_384','384','val_384','2' -'384','val_384','384','val_384','2' -'386','val_386','386','val_386','2' -'389','val_389','389','val_389','2' -'392','val_392','392','val_392','2' -'393','val_393','393','val_393','2' -'394','val_394','394','val_394','2' -'395','val_395','395','val_395','2' -'395','val_395','395','val_395','2' -'395','val_395','395','val_395','2' -'395','val_395','395','val_395','2' -'396','val_396','396','val_396','2' -'396','val_396','396','val_396','2' -'396','val_396','396','val_396','2' -'396','val_396','396','val_396','2' -'396','val_396','396','val_396','2' -'396','val_396','396','val_396','2' -'396','val_396','396','val_396','2' -'396','val_396','396','val_396','2' -'396','val_396','396','val_396','2' -'397','val_397','397','val_397','2' -'397','val_397','397','val_397','2' -'397','val_397','397','val_397','2' -'397','val_397','397','val_397','2' -'399','val_399','399','val_399','2' -'399','val_399','399','val_399','2' -'399','val_399','399','val_399','2' -'399','val_399','399','val_399','2' -'4','val_4','4','val_4','2' -'400','val_400','400','val_400','2' -'401','val_401','401','val_401','2' -'401','val_401','401','val_401','2' -'401','val_401','401','val_401','2' -'401','val_401','401','val_401','2' -'401','val_401','401','val_401','2' -'401','val_401','401','val_401','2' -'401','val_401','401','val_401','2' -'401','val_401','401','val_401','2' -'401','val_401','401','val_401','2' -'401','val_401','401','val_401','2' -'401','val_401','401','val_401','2' -'401','val_401','401','val_401','2' -'401','val_401','401','val_401','2' -'401','val_401','401','val_401','2' -'401','val_401','401','val_401','2' -'401','val_401','401','val_401','2' -'401','val_401','401','val_401','2' -'401','val_401','401','val_401','2' -'401','val_401','401','val_401','2' -'401','val_401','401','val_401','2' -'401','val_401','401','val_401','2' -'401','val_401','401','val_401','2' -'401','val_401','401','val_401','2' -'401','val_401','401','val_401','2' -'401','val_401','401','val_401','2' -'402','val_402','402','val_402','2' -'403','val_403','403','val_403','2' -'403','val_403','403','val_403','2' -'403','val_403','403','val_403','2' -'403','val_403','403','val_403','2' -'403','val_403','403','val_403','2' -'403','val_403','403','val_403','2' -'403','val_403','403','val_403','2' -'403','val_403','403','val_403','2' -'403','val_403','403','val_403','2' -'404','val_404','404','val_404','2' -'404','val_404','404','val_404','2' -'404','val_404','404','val_404','2' -'404','val_404','404','val_404','2' -'406','val_406','406','val_406','2' -'406','val_406','406','val_406','2' -'406','val_406','406','val_406','2' -'406','val_406','406','val_406','2' -'406','val_406','406','val_406','2' -'406','val_406','406','val_406','2' -'406','val_406','406','val_406','2' -'406','val_406','406','val_406','2' -'406','val_406','406','val_406','2' -'406','val_406','406','val_406','2' -'406','val_406','406','val_406','2' -'406','val_406','406','val_406','2' -'406','val_406','406','val_406','2' -'406','val_406','406','val_406','2' -'406','val_406','406','val_406','2' -'406','val_406','406','val_406','2' -'407','val_407','407','val_407','2' -'409','val_409','409','val_409','2' -'409','val_409','409','val_409','2' -'409','val_409','409','val_409','2' -'409','val_409','409','val_409','2' -'409','val_409','409','val_409','2' -'409','val_409','409','val_409','2' -'409','val_409','409','val_409','2' -'409','val_409','409','val_409','2' -'409','val_409','409','val_409','2' -'41','val_41','','','2' -'41','val_41','41','val_41','2' -'411','val_411','411','val_411','2' -'413','val_413','413','val_413','2' -'413','val_413','413','val_413','2' -'413','val_413','413','val_413','2' -'413','val_413','413','val_413','2' -'414','val_414','414','val_414','2' -'414','val_414','414','val_414','2' -'414','val_414','414','val_414','2' -'414','val_414','414','val_414','2' -'417','val_417','417','val_417','2' -'417','val_417','417','val_417','2' -'417','val_417','417','val_417','2' -'417','val_417','417','val_417','2' -'417','val_417','417','val_417','2' -'417','val_417','417','val_417','2' -'417','val_417','417','val_417','2' -'417','val_417','417','val_417','2' -'417','val_417','417','val_417','2' -'418','val_418','418','val_418','2' -'419','val_419','419','val_419','2' -'42','val_42','','','2' -'42','val_42','','','2' -'42','val_42','42','val_42','2' -'42','val_42','42','val_42','2' -'421','val_421','421','val_421','2' -'424','val_424','424','val_424','2' -'424','val_424','424','val_424','2' -'424','val_424','424','val_424','2' -'424','val_424','424','val_424','2' -'427','val_427','427','val_427','2' -'429','val_429','429','val_429','2' -'429','val_429','429','val_429','2' -'429','val_429','429','val_429','2' -'429','val_429','429','val_429','2' -'43','val_43','','','2' -'43','val_43','43','val_43','2' -'430','val_430','430','val_430','2' -'430','val_430','430','val_430','2' -'430','val_430','430','val_430','2' -'430','val_430','430','val_430','2' -'430','val_430','430','val_430','2' -'430','val_430','430','val_430','2' -'430','val_430','430','val_430','2' -'430','val_430','430','val_430','2' -'430','val_430','430','val_430','2' -'431','val_431','431','val_431','2' -'431','val_431','431','val_431','2' -'431','val_431','431','val_431','2' -'431','val_431','431','val_431','2' -'431','val_431','431','val_431','2' -'431','val_431','431','val_431','2' -'431','val_431','431','val_431','2' -'431','val_431','431','val_431','2' -'431','val_431','431','val_431','2' -'432','val_432','432','val_432','2' -'435','val_435','435','val_435','2' -'436','val_436','436','val_436','2' -'437','val_437','437','val_437','2' -'438','val_438','438','val_438','2' -'438','val_438','438','val_438','2' -'438','val_438','438','val_438','2' -'438','val_438','438','val_438','2' -'438','val_438','438','val_438','2' -'438','val_438','438','val_438','2' -'438','val_438','438','val_438','2' -'438','val_438','438','val_438','2' -'438','val_438','438','val_438','2' -'439','val_439','439','val_439','2' -'439','val_439','439','val_439','2' -'439','val_439','439','val_439','2' -'439','val_439','439','val_439','2' -'44','val_44','','','2' -'44','val_44','44','val_44','2' -'443','val_443','443','val_443','2' -'444','val_444','444','val_444','2' -'446','val_446','446','val_446','2' -'448','val_448','448','val_448','2' -'449','val_449','449','val_449','2' -'452','val_452','452','val_452','2' -'453','val_453','453','val_453','2' -'454','val_454','454','val_454','2' -'454','val_454','454','val_454','2' -'454','val_454','454','val_454','2' -'454','val_454','454','val_454','2' -'454','val_454','454','val_454','2' -'454','val_454','454','val_454','2' -'454','val_454','454','val_454','2' -'454','val_454','454','val_454','2' -'454','val_454','454','val_454','2' -'455','val_455','455','val_455','2' -'457','val_457','457','val_457','2' -'458','val_458','458','val_458','2' -'458','val_458','458','val_458','2' -'458','val_458','458','val_458','2' -'458','val_458','458','val_458','2' -'459','val_459','459','val_459','2' -'459','val_459','459','val_459','2' -'459','val_459','459','val_459','2' -'459','val_459','459','val_459','2' -'460','val_460','460','val_460','2' -'462','val_462','462','val_462','2' -'462','val_462','462','val_462','2' -'462','val_462','462','val_462','2' -'462','val_462','462','val_462','2' -'463','val_463','463','val_463','2' -'463','val_463','463','val_463','2' -'463','val_463','463','val_463','2' -'463','val_463','463','val_463','2' -'466','val_466','466','val_466','2' -'466','val_466','466','val_466','2' -'466','val_466','466','val_466','2' -'466','val_466','466','val_466','2' -'466','val_466','466','val_466','2' -'466','val_466','466','val_466','2' -'466','val_466','466','val_466','2' -'466','val_466','466','val_466','2' -'466','val_466','466','val_466','2' -'467','val_467','467','val_467','2' -'468','val_468','468','val_468','2' -'468','val_468','468','val_468','2' -'468','val_468','468','val_468','2' -'468','val_468','468','val_468','2' -'468','val_468','468','val_468','2' -'468','val_468','468','val_468','2' -'468','val_468','468','val_468','2' -'468','val_468','468','val_468','2' -'468','val_468','468','val_468','2' -'468','val_468','468','val_468','2' -'468','val_468','468','val_468','2' -'468','val_468','468','val_468','2' -'468','val_468','468','val_468','2' -'468','val_468','468','val_468','2' -'468','val_468','468','val_468','2' -'468','val_468','468','val_468','2' -'469','val_469','469','val_469','2' -'469','val_469','469','val_469','2' -'469','val_469','469','val_469','2' -'469','val_469','469','val_469','2' -'469','val_469','469','val_469','2' -'469','val_469','469','val_469','2' -'469','val_469','469','val_469','2' -'469','val_469','469','val_469','2' -'469','val_469','469','val_469','2' -'469','val_469','469','val_469','2' -'469','val_469','469','val_469','2' -'469','val_469','469','val_469','2' -'469','val_469','469','val_469','2' -'469','val_469','469','val_469','2' -'469','val_469','469','val_469','2' -'469','val_469','469','val_469','2' -'469','val_469','469','val_469','2' -'469','val_469','469','val_469','2' -'469','val_469','469','val_469','2' -'469','val_469','469','val_469','2' -'469','val_469','469','val_469','2' -'469','val_469','469','val_469','2' -'469','val_469','469','val_469','2' -'469','val_469','469','val_469','2' -'469','val_469','469','val_469','2' -'47','val_47','','','2' -'47','val_47','47','val_47','2' -'470','val_470','470','val_470','2' -'472','val_472','472','val_472','2' -'475','val_475','475','val_475','2' -'477','val_477','477','val_477','2' -'478','val_478','478','val_478','2' -'478','val_478','478','val_478','2' -'478','val_478','478','val_478','2' -'478','val_478','478','val_478','2' -'479','val_479','479','val_479','2' -'480','val_480','480','val_480','2' -'480','val_480','480','val_480','2' -'480','val_480','480','val_480','2' -'480','val_480','480','val_480','2' -'480','val_480','480','val_480','2' -'480','val_480','480','val_480','2' -'480','val_480','480','val_480','2' -'480','val_480','480','val_480','2' -'480','val_480','480','val_480','2' -'481','val_481','481','val_481','2' -'482','val_482','482','val_482','2' -'483','val_483','483','val_483','2' -'484','val_484','484','val_484','2' -'485','val_485','485','val_485','2' -'487','val_487','487','val_487','2' -'489','val_489','489','val_489','2' -'489','val_489','489','val_489','2' -'489','val_489','489','val_489','2' -'489','val_489','489','val_489','2' -'489','val_489','489','val_489','2' -'489','val_489','489','val_489','2' -'489','val_489','489','val_489','2' -'489','val_489','489','val_489','2' -'489','val_489','489','val_489','2' -'489','val_489','489','val_489','2' -'489','val_489','489','val_489','2' -'489','val_489','489','val_489','2' -'489','val_489','489','val_489','2' -'489','val_489','489','val_489','2' -'489','val_489','489','val_489','2' -'489','val_489','489','val_489','2' -'490','val_490','490','val_490','2' -'491','val_491','491','val_491','2' -'492','val_492','492','val_492','2' -'492','val_492','492','val_492','2' -'492','val_492','492','val_492','2' -'492','val_492','492','val_492','2' -'493','val_493','493','val_493','2' -'494','val_494','494','val_494','2' -'495','val_495','495','val_495','2' -'496','val_496','496','val_496','2' -'497','val_497','497','val_497','2' -'498','val_498','498','val_498','2' -'498','val_498','498','val_498','2' -'498','val_498','498','val_498','2' -'498','val_498','498','val_498','2' -'498','val_498','498','val_498','2' -'498','val_498','498','val_498','2' -'498','val_498','498','val_498','2' -'498','val_498','498','val_498','2' -'498','val_498','498','val_498','2' -'5','val_5','5','val_5','2' -'5','val_5','5','val_5','2' -'5','val_5','5','val_5','2' -'51','val_51','51','val_51','2' -'51','val_51','51','val_51','2' -'51','val_51','51','val_51','2' -'51','val_51','51','val_51','2' -'53','val_53','53','val_53','2' -'54','val_54','54','val_54','2' -'57','val_57','57','val_57','2' -'58','val_58','58','val_58','2' -'58','val_58','58','val_58','2' -'58','val_58','58','val_58','2' -'58','val_58','58','val_58','2' -'64','val_64','64','val_64','2' -'65','val_65','65','val_65','2' -'66','val_66','66','val_66','2' -'67','val_67','67','val_67','2' -'67','val_67','67','val_67','2' -'67','val_67','67','val_67','2' -'67','val_67','67','val_67','2' -'69','val_69','69','val_69','2' -'70','val_70','70','val_70','2' -'70','val_70','70','val_70','2' -'70','val_70','70','val_70','2' -'70','val_70','70','val_70','2' -'70','val_70','70','val_70','2' -'70','val_70','70','val_70','2' -'70','val_70','70','val_70','2' -'70','val_70','70','val_70','2' -'70','val_70','70','val_70','2' -'72','val_72','72','val_72','2' -'72','val_72','72','val_72','2' -'72','val_72','72','val_72','2' -'72','val_72','72','val_72','2' -'74','val_74','74','val_74','2' -'76','val_76','76','val_76','2' -'76','val_76','76','val_76','2' -'76','val_76','76','val_76','2' -'76','val_76','76','val_76','2' -'77','val_77','77','val_77','2' -'78','val_78','78','val_78','2' -'8','val_8','8','val_8','2' -'80','val_80','80','val_80','2' -'82','val_82','82','val_82','2' -'83','val_83','83','val_83','2' -'83','val_83','83','val_83','2' -'83','val_83','83','val_83','2' -'83','val_83','83','val_83','2' -'84','val_84','84','val_84','2' -'84','val_84','84','val_84','2' -'84','val_84','84','val_84','2' -'84','val_84','84','val_84','2' -'85','val_85','85','val_85','2' -'86','val_86','86','val_86','2' -'87','val_87','87','val_87','2' -'9','val_9','9','val_9','2' -'90','val_90','90','val_90','2' -'90','val_90','90','val_90','2' -'90','val_90','90','val_90','2' -'90','val_90','90','val_90','2' -'90','val_90','90','val_90','2' -'90','val_90','90','val_90','2' -'90','val_90','90','val_90','2' -'90','val_90','90','val_90','2' -'90','val_90','90','val_90','2' -'92','val_92','92','val_92','2' -'95','val_95','95','val_95','2' -'95','val_95','95','val_95','2' -'95','val_95','95','val_95','2' -'95','val_95','95','val_95','2' -'96','val_96','96','val_96','2' -'97','val_97','97','val_97','2' -'97','val_97','97','val_97','2' -'97','val_97','97','val_97','2' -'97','val_97','97','val_97','2' -'98','val_98','98','val_98','2' -'98','val_98','98','val_98','2' -'98','val_98','98','val_98','2' -'98','val_98','98','val_98','2' -1,016 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/union23.q.out ql/src/test/results/beelinepositive/union23.q.out deleted file mode 100644 index 9f8ea1b..0000000 --- ql/src/test/results/beelinepositive/union23.q.out +++ /dev/null @@ -1,1116 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/union23.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/union23.q ->>> explain -select s.key2, s.value2 -from ( -select transform(key, value) using 'cat' as (key2, value2) -from src -union all -select key as key2, value as value2 from src) s -order by s.key2, s.value2; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TRANSFORM (TOK_EXPLIST (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL value)) TOK_SERDE TOK_RECORDWRITER 'cat' TOK_SERDE TOK_RECORDREADER (TOK_ALIASLIST key2 value2)))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key) key2) (TOK_SELEXPR (TOK_TABLE_OR_COL value) value2))))) s)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL s) key2)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL s) value2))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL s) key2)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL s) value2)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1:s-subquery1:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Transform Operator' -' command: cat' -' output info:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' null-subquery2:s-subquery2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -92 rows selected ->>> ->>> select s.key2, s.value2 -from ( -select transform(key, value) using 'cat' as (key2, value2) -from src -union all -select key as key2, value as value2 from src) s -order by s.key2, s.value2; -'key2','value2' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'10','val_10' -'10','val_10' -'100','val_100' -'100','val_100' -'100','val_100' -'100','val_100' -'103','val_103' -'103','val_103' -'103','val_103' -'103','val_103' -'104','val_104' -'104','val_104' -'104','val_104' -'104','val_104' -'105','val_105' -'105','val_105' -'11','val_11' -'11','val_11' -'111','val_111' -'111','val_111' -'113','val_113' -'113','val_113' -'113','val_113' -'113','val_113' -'114','val_114' -'114','val_114' -'116','val_116' -'116','val_116' -'118','val_118' -'118','val_118' -'118','val_118' -'118','val_118' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'119','val_119' -'12','val_12' -'12','val_12' -'12','val_12' -'12','val_12' -'120','val_120' -'120','val_120' -'120','val_120' -'120','val_120' -'125','val_125' -'125','val_125' -'125','val_125' -'125','val_125' -'126','val_126' -'126','val_126' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'128','val_128' -'129','val_129' -'129','val_129' -'129','val_129' -'129','val_129' -'131','val_131' -'131','val_131' -'133','val_133' -'133','val_133' -'134','val_134' -'134','val_134' -'134','val_134' -'134','val_134' -'136','val_136' -'136','val_136' -'137','val_137' -'137','val_137' -'137','val_137' -'137','val_137' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'138','val_138' -'143','val_143' -'143','val_143' -'145','val_145' -'145','val_145' -'146','val_146' -'146','val_146' -'146','val_146' -'146','val_146' -'149','val_149' -'149','val_149' -'149','val_149' -'149','val_149' -'15','val_15' -'15','val_15' -'15','val_15' -'15','val_15' -'150','val_150' -'150','val_150' -'152','val_152' -'152','val_152' -'152','val_152' -'152','val_152' -'153','val_153' -'153','val_153' -'155','val_155' -'155','val_155' -'156','val_156' -'156','val_156' -'157','val_157' -'157','val_157' -'158','val_158' -'158','val_158' -'160','val_160' -'160','val_160' -'162','val_162' -'162','val_162' -'163','val_163' -'163','val_163' -'164','val_164' -'164','val_164' -'164','val_164' -'164','val_164' -'165','val_165' -'165','val_165' -'165','val_165' -'165','val_165' -'166','val_166' -'166','val_166' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'167','val_167' -'168','val_168' -'168','val_168' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'169','val_169' -'17','val_17' -'17','val_17' -'170','val_170' -'170','val_170' -'172','val_172' -'172','val_172' -'172','val_172' -'172','val_172' -'174','val_174' -'174','val_174' -'174','val_174' -'174','val_174' -'175','val_175' -'175','val_175' -'175','val_175' -'175','val_175' -'176','val_176' -'176','val_176' -'176','val_176' -'176','val_176' -'177','val_177' -'177','val_177' -'178','val_178' -'178','val_178' -'179','val_179' -'179','val_179' -'179','val_179' -'179','val_179' -'18','val_18' -'18','val_18' -'18','val_18' -'18','val_18' -'180','val_180' -'180','val_180' -'181','val_181' -'181','val_181' -'183','val_183' -'183','val_183' -'186','val_186' -'186','val_186' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'187','val_187' -'189','val_189' -'189','val_189' -'19','val_19' -'19','val_19' -'190','val_190' -'190','val_190' -'191','val_191' -'191','val_191' -'191','val_191' -'191','val_191' -'192','val_192' -'192','val_192' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'193','val_193' -'194','val_194' -'194','val_194' -'195','val_195' -'195','val_195' -'195','val_195' -'195','val_195' -'196','val_196' -'196','val_196' -'197','val_197' -'197','val_197' -'197','val_197' -'197','val_197' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'199','val_199' -'2','val_2' -'2','val_2' -'20','val_20' -'20','val_20' -'200','val_200' -'200','val_200' -'200','val_200' -'200','val_200' -'201','val_201' -'201','val_201' -'202','val_202' -'202','val_202' -'203','val_203' -'203','val_203' -'203','val_203' -'203','val_203' -'205','val_205' -'205','val_205' -'205','val_205' -'205','val_205' -'207','val_207' -'207','val_207' -'207','val_207' -'207','val_207' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'208','val_208' -'209','val_209' -'209','val_209' -'209','val_209' -'209','val_209' -'213','val_213' -'213','val_213' -'213','val_213' -'213','val_213' -'214','val_214' -'214','val_214' -'216','val_216' -'216','val_216' -'216','val_216' -'216','val_216' -'217','val_217' -'217','val_217' -'217','val_217' -'217','val_217' -'218','val_218' -'218','val_218' -'219','val_219' -'219','val_219' -'219','val_219' -'219','val_219' -'221','val_221' -'221','val_221' -'221','val_221' -'221','val_221' -'222','val_222' -'222','val_222' -'223','val_223' -'223','val_223' -'223','val_223' -'223','val_223' -'224','val_224' -'224','val_224' -'224','val_224' -'224','val_224' -'226','val_226' -'226','val_226' -'228','val_228' -'228','val_228' -'229','val_229' -'229','val_229' -'229','val_229' -'229','val_229' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'230','val_230' -'233','val_233' -'233','val_233' -'233','val_233' -'233','val_233' -'235','val_235' -'235','val_235' -'237','val_237' -'237','val_237' -'237','val_237' -'237','val_237' -'238','val_238' -'238','val_238' -'238','val_238' -'238','val_238' -'239','val_239' -'239','val_239' -'239','val_239' -'239','val_239' -'24','val_24' -'24','val_24' -'24','val_24' -'24','val_24' -'241','val_241' -'241','val_241' -'242','val_242' -'242','val_242' -'242','val_242' -'242','val_242' -'244','val_244' -'244','val_244' -'247','val_247' -'247','val_247' -'248','val_248' -'248','val_248' -'249','val_249' -'249','val_249' -'252','val_252' -'252','val_252' -'255','val_255' -'255','val_255' -'255','val_255' -'255','val_255' -'256','val_256' -'256','val_256' -'256','val_256' -'256','val_256' -'257','val_257' -'257','val_257' -'258','val_258' -'258','val_258' -'26','val_26' -'26','val_26' -'26','val_26' -'26','val_26' -'260','val_260' -'260','val_260' -'262','val_262' -'262','val_262' -'263','val_263' -'263','val_263' -'265','val_265' -'265','val_265' -'265','val_265' -'265','val_265' -'266','val_266' -'266','val_266' -'27','val_27' -'27','val_27' -'272','val_272' -'272','val_272' -'272','val_272' -'272','val_272' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'273','val_273' -'274','val_274' -'274','val_274' -'275','val_275' -'275','val_275' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'277','val_277' -'278','val_278' -'278','val_278' -'278','val_278' -'278','val_278' -'28','val_28' -'28','val_28' -'280','val_280' -'280','val_280' -'280','val_280' -'280','val_280' -'281','val_281' -'281','val_281' -'281','val_281' -'281','val_281' -'282','val_282' -'282','val_282' -'282','val_282' -'282','val_282' -'283','val_283' -'283','val_283' -'284','val_284' -'284','val_284' -'285','val_285' -'285','val_285' -'286','val_286' -'286','val_286' -'287','val_287' -'287','val_287' -'288','val_288' -'288','val_288' -'288','val_288' -'288','val_288' -'289','val_289' -'289','val_289' -'291','val_291' -'291','val_291' -'292','val_292' -'292','val_292' -'296','val_296' -'296','val_296' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'298','val_298' -'30','val_30' -'30','val_30' -'302','val_302' -'302','val_302' -'305','val_305' -'305','val_305' -'306','val_306' -'306','val_306' -'307','val_307' -'307','val_307' -'307','val_307' -'307','val_307' -'308','val_308' -'308','val_308' -'309','val_309' -'309','val_309' -'309','val_309' -'309','val_309' -'310','val_310' -'310','val_310' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'311','val_311' -'315','val_315' -'315','val_315' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'316','val_316' -'317','val_317' -'317','val_317' -'317','val_317' -'317','val_317' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'321','val_321' -'321','val_321' -'321','val_321' -'321','val_321' -'322','val_322' -'322','val_322' -'322','val_322' -'322','val_322' -'323','val_323' -'323','val_323' -'325','val_325' -'325','val_325' -'325','val_325' -'325','val_325' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'327','val_327' -'33','val_33' -'33','val_33' -'331','val_331' -'331','val_331' -'331','val_331' -'331','val_331' -'332','val_332' -'332','val_332' -'333','val_333' -'333','val_333' -'333','val_333' -'333','val_333' -'335','val_335' -'335','val_335' -'336','val_336' -'336','val_336' -'338','val_338' -'338','val_338' -'339','val_339' -'339','val_339' -'34','val_34' -'34','val_34' -'341','val_341' -'341','val_341' -'342','val_342' -'342','val_342' -'342','val_342' -'342','val_342' -'344','val_344' -'344','val_344' -'344','val_344' -'344','val_344' -'345','val_345' -'345','val_345' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'348','val_348' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'35','val_35' -'351','val_351' -'351','val_351' -'353','val_353' -'353','val_353' -'353','val_353' -'353','val_353' -'356','val_356' -'356','val_356' -'360','val_360' -'360','val_360' -'362','val_362' -'362','val_362' -'364','val_364' -'364','val_364' -'365','val_365' -'365','val_365' -'366','val_366' -'366','val_366' -'367','val_367' -'367','val_367' -'367','val_367' -'367','val_367' -'368','val_368' -'368','val_368' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'369','val_369' -'37','val_37' -'37','val_37' -'37','val_37' -'37','val_37' -'373','val_373' -'373','val_373' -'374','val_374' -'374','val_374' -'375','val_375' -'375','val_375' -'377','val_377' -'377','val_377' -'378','val_378' -'378','val_378' -'379','val_379' -'379','val_379' -'382','val_382' -'382','val_382' -'382','val_382' -'382','val_382' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'384','val_384' -'386','val_386' -'386','val_386' -'389','val_389' -'389','val_389' -'392','val_392' -'392','val_392' -'393','val_393' -'393','val_393' -'394','val_394' -'394','val_394' -'395','val_395' -'395','val_395' -'395','val_395' -'395','val_395' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'396','val_396' -'397','val_397' -'397','val_397' -'397','val_397' -'397','val_397' -'399','val_399' -'399','val_399' -'399','val_399' -'399','val_399' -'4','val_4' -'4','val_4' -'400','val_400' -'400','val_400' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'401','val_401' -'402','val_402' -'402','val_402' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'403','val_403' -'404','val_404' -'404','val_404' -'404','val_404' -'404','val_404' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'406','val_406' -'407','val_407' -'407','val_407' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'409','val_409' -'41','val_41' -'41','val_41' -'411','val_411' -'411','val_411' -'413','val_413' -'413','val_413' -'413','val_413' -'413','val_413' -'414','val_414' -'414','val_414' -'414','val_414' -'414','val_414' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'417','val_417' -'418','val_418' -'418','val_418' -'419','val_419' -'419','val_419' -'42','val_42' -'42','val_42' -'42','val_42' -'42','val_42' -'421','val_421' -'421','val_421' -'424','val_424' -'424','val_424' -'424','val_424' -'424','val_424' -'427','val_427' -'427','val_427' -'429','val_429' -'429','val_429' -'429','val_429' -'429','val_429' -'43','val_43' -'43','val_43' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'430','val_430' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'431','val_431' -'432','val_432' -'432','val_432' -'435','val_435' -'435','val_435' -'436','val_436' -'436','val_436' -'437','val_437' -'437','val_437' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'438','val_438' -'439','val_439' -'439','val_439' -'439','val_439' -'439','val_439' -'44','val_44' -'44','val_44' -'443','val_443' -'443','val_443' -'444','val_444' -'444','val_444' -'446','val_446' -'446','val_446' -'448','val_448' -'448','val_448' -'449','val_449' -'449','val_449' -'452','val_452' -'452','val_452' -'453','val_453' -'453','val_453' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'454','val_454' -'455','val_455' -'455','val_455' -'457','val_457' -'457','val_457' -'458','val_458' -'458','val_458' -'458','val_458' -'458','val_458' -'459','val_459' -'459','val_459' -'459','val_459' -'459','val_459' -'460','val_460' -'460','val_460' -'462','val_462' -'462','val_462' -'462','val_462' -'462','val_462' -'463','val_463' -'463','val_463' -'463','val_463' -'463','val_463' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'466','val_466' -'467','val_467' -'467','val_467' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'468','val_468' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'469','val_469' -'47','val_47' -'47','val_47' -'470','val_470' -'470','val_470' -'472','val_472' -'472','val_472' -'475','val_475' -'475','val_475' -'477','val_477' -'477','val_477' -'478','val_478' -'478','val_478' -'478','val_478' -'478','val_478' -'479','val_479' -'479','val_479' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'480','val_480' -'481','val_481' -'481','val_481' -'482','val_482' -'482','val_482' -'483','val_483' -'483','val_483' -'484','val_484' -'484','val_484' -'485','val_485' -'485','val_485' -'487','val_487' -'487','val_487' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'489','val_489' -'490','val_490' -'490','val_490' -'491','val_491' -'491','val_491' -'492','val_492' -'492','val_492' -'492','val_492' -'492','val_492' -'493','val_493' -'493','val_493' -'494','val_494' -'494','val_494' -'495','val_495' -'495','val_495' -'496','val_496' -'496','val_496' -'497','val_497' -'497','val_497' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'498','val_498' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'51','val_51' -'51','val_51' -'51','val_51' -'51','val_51' -'53','val_53' -'53','val_53' -'54','val_54' -'54','val_54' -'57','val_57' -'57','val_57' -'58','val_58' -'58','val_58' -'58','val_58' -'58','val_58' -'64','val_64' -'64','val_64' -'65','val_65' -'65','val_65' -'66','val_66' -'66','val_66' -'67','val_67' -'67','val_67' -'67','val_67' -'67','val_67' -'69','val_69' -'69','val_69' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'70','val_70' -'72','val_72' -'72','val_72' -'72','val_72' -'72','val_72' -'74','val_74' -'74','val_74' -'76','val_76' -'76','val_76' -'76','val_76' -'76','val_76' -'77','val_77' -'77','val_77' -'78','val_78' -'78','val_78' -'8','val_8' -'8','val_8' -'80','val_80' -'80','val_80' -'82','val_82' -'82','val_82' -'83','val_83' -'83','val_83' -'83','val_83' -'83','val_83' -'84','val_84' -'84','val_84' -'84','val_84' -'84','val_84' -'85','val_85' -'85','val_85' -'86','val_86' -'86','val_86' -'87','val_87' -'87','val_87' -'9','val_9' -'9','val_9' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'90','val_90' -'92','val_92' -'92','val_92' -'95','val_95' -'95','val_95' -'95','val_95' -'95','val_95' -'96','val_96' -'96','val_96' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'98','val_98' -'98','val_98' -'98','val_98' -'98','val_98' -1,000 rows selected ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/union24.q.out ql/src/test/results/beelinepositive/union24.q.out deleted file mode 100644 index 3c747aa..0000000 --- ql/src/test/results/beelinepositive/union24.q.out +++ /dev/null @@ -1,1529 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/union24.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/union24.q ->>> create table src2 as select key, count(1) as count from src group by key; -'key','count' -No rows selected ->>> create table src3 as select * from src2; -'key','count' -No rows selected ->>> create table src4 as select * from src2; -'key','count' -No rows selected ->>> create table src5 as select * from src2; -'key','count' -No rows selected ->>> ->>> ->>> set hive.merge.mapfiles=false; -No rows affected ->>> set hive.merge.mapredfiles=false; -No rows affected ->>> ->>> ->>> explain extended -select s.key, s.count from ( -select key, count from src2 where key < 10 -union all -select key, count from src3 where key < 10 -union all -select key, count from src4 where key < 10 -union all -select key, count(1) as count from src5 where key < 10 group by key -)s -order by s.key ASC, s.count ASC; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_UNION (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src2))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL count))) (TOK_WHERE (< (TOK_TABLE_OR_COL key) 10)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src3))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL count))) (TOK_WHERE (< (TOK_TABLE_OR_COL key) 10))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src4))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL count))) (TOK_WHERE (< (TOK_TABLE_OR_COL key) 10))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src5))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1) count)) (TOK_WHERE (< (TOK_TABLE_OR_COL key) 10)) (TOK_GROUPBY (TOK_TABLE_OR_COL key))))) s)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL s) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL s) count))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL s) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL s) count)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-3 is a root stage' -' Stage-2 depends on stages: Stage-3' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery2:s-subquery2:src5 ' -' TableScan' -' alias: src5' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (key < 10.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/union24.db/src5 [null-subquery2:s-subquery2:src5]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/union24.db/src5 ' -' Partition' -' base file name: src5' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,count' -' columns.types string:bigint' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/union24.db/src5' -' name union24.src5' -' numFiles 1' -' numPartitions 0' -' numRows 309' -' rawDataSize 1482' -' serialization.ddl struct src5 { string key, i64 count}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 1791' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,count' -' columns.types string:bigint' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/union24.db/src5' -' name union24.src5' -' numFiles 1' -' numPartitions 0' -' numRows 309' -' rawDataSize 1482' -' serialization.ddl struct src5 { string key, i64 count}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 1791' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: union24.src5' -' name: union24.src5' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string,bigint' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' GatherStats: false' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' null-subquery1-subquery1-subquery1:s-subquery1-subquery1-subquery1:src2 ' -' TableScan' -' alias: src2' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (key < 10.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: count' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' null-subquery1-subquery1-subquery2:s-subquery1-subquery1-subquery2:src3 ' -' TableScan' -' alias: src3' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (key < 10.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: count' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' null-subquery1-subquery2:s-subquery1-subquery2:src4 ' -' TableScan' -' alias: src4' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (key < 10.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: count' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' !!{hive.metastore.warehouse.dir}!!/union24.db/src2 [null-subquery1-subquery1-subquery1:s-subquery1-subquery1-subquery1:src2]' -' !!{hive.metastore.warehouse.dir}!!/union24.db/src3 [null-subquery1-subquery1-subquery2:s-subquery1-subquery1-subquery2:src3]' -' !!{hive.metastore.warehouse.dir}!!/union24.db/src4 [null-subquery1-subquery2:s-subquery1-subquery2:src4]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string,bigint' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string,bigint' -' escape.delim \' -' !!{hive.metastore.warehouse.dir}!!/union24.db/src2 ' -' Partition' -' base file name: src2' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,count' -' columns.types string:bigint' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/union24.db/src2' -' name union24.src2' -' numFiles 1' -' numPartitions 0' -' numRows 309' -' rawDataSize 1482' -' serialization.ddl struct src2 { string key, i64 count}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 1791' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,count' -' columns.types string:bigint' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/union24.db/src2' -' name union24.src2' -' numFiles 1' -' numPartitions 0' -' numRows 309' -' rawDataSize 1482' -' serialization.ddl struct src2 { string key, i64 count}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 1791' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: union24.src2' -' name: union24.src2' -' !!{hive.metastore.warehouse.dir}!!/union24.db/src3 ' -' Partition' -' base file name: src3' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,count' -' columns.types string:bigint' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/union24.db/src3' -' name union24.src3' -' numFiles 1' -' numPartitions 0' -' numRows 309' -' rawDataSize 1482' -' serialization.ddl struct src3 { string key, i64 count}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 1791' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,count' -' columns.types string:bigint' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/union24.db/src3' -' name union24.src3' -' numFiles 1' -' numPartitions 0' -' numRows 309' -' rawDataSize 1482' -' serialization.ddl struct src3 { string key, i64 count}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 1791' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: union24.src3' -' name: union24.src3' -' !!{hive.metastore.warehouse.dir}!!/union24.db/src4 ' -' Partition' -' base file name: src4' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,count' -' columns.types string:bigint' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/union24.db/src4' -' name union24.src4' -' numFiles 1' -' numPartitions 0' -' numRows 309' -' rawDataSize 1482' -' serialization.ddl struct src4 { string key, i64 count}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 1791' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,count' -' columns.types string:bigint' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/union24.db/src4' -' name union24.src4' -' numFiles 1' -' numPartitions 0' -' numRows 309' -' rawDataSize 1482' -' serialization.ddl struct src4 { string key, i64 count}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 1791' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: union24.src4' -' name: union24.src4' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string:bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -454 rows selected ->>> ->>> select s.key, s.count from ( -select key, count from src2 where key < 10 -union all -select key, count from src3 where key < 10 -union all -select key, count from src4 where key < 10 -union all -select key, count(1) as count from src5 where key < 10 group by key -)s -order by s.key ASC, s.count ASC; -'key','count' -'0','1' -'0','3' -'0','3' -'0','3' -'2','1' -'2','1' -'2','1' -'2','1' -'4','1' -'4','1' -'4','1' -'4','1' -'5','1' -'5','3' -'5','3' -'5','3' -'8','1' -'8','1' -'8','1' -'8','1' -'9','1' -'9','1' -'9','1' -'9','1' -24 rows selected ->>> ->>> explain extended -select s.key, s.count from ( -select key, count from src2 where key < 10 -union all -select key, count from src3 where key < 10 -union all -select a.key as key, b.count as count from src4 a join src5 b on a.key=b.key where a.key < 10 -)s -order by s.key ASC, s.count ASC; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src2))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL count))) (TOK_WHERE (< (TOK_TABLE_OR_COL key) 10)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src3))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL count))) (TOK_WHERE (< (TOK_TABLE_OR_COL key) 10))))) (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src4) a) (TOK_TABREF (TOK_TABNAME src5) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key) key) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) count) count)) (TOK_WHERE (< (. (TOK_TABLE_OR_COL a) key) 10))))) s)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL s) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL s) count))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL s) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL s) count)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery2:s-subquery2:a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (key < 10.0)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' null-subquery2:s-subquery2:b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (key < 10.0)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: count' -' type: bigint' -' Needs Tagging: true' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/union24.db/src4 [null-subquery2:s-subquery2:a]' -' !!{hive.metastore.warehouse.dir}!!/union24.db/src5 [null-subquery2:s-subquery2:b]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/union24.db/src4 ' -' Partition' -' base file name: src4' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,count' -' columns.types string:bigint' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/union24.db/src4' -' name union24.src4' -' numFiles 1' -' numPartitions 0' -' numRows 309' -' rawDataSize 1482' -' serialization.ddl struct src4 { string key, i64 count}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 1791' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,count' -' columns.types string:bigint' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/union24.db/src4' -' name union24.src4' -' numFiles 1' -' numPartitions 0' -' numRows 309' -' rawDataSize 1482' -' serialization.ddl struct src4 { string key, i64 count}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 1791' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: union24.src4' -' name: union24.src4' -' !!{hive.metastore.warehouse.dir}!!/union24.db/src5 ' -' Partition' -' base file name: src5' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,count' -' columns.types string:bigint' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/union24.db/src5' -' name union24.src5' -' numFiles 1' -' numPartitions 0' -' numRows 309' -' rawDataSize 1482' -' serialization.ddl struct src5 { string key, i64 count}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 1791' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,count' -' columns.types string:bigint' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/union24.db/src5' -' name union24.src5' -' numFiles 1' -' numPartitions 0' -' numRows 309' -' rawDataSize 1482' -' serialization.ddl struct src5 { string key, i64 count}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 1791' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: union24.src5' -' name: union24.src5' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 {VALUE._col1}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col5' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col5' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string,bigint' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' GatherStats: false' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' null-subquery1-subquery1:s-subquery1-subquery1:src2 ' -' TableScan' -' alias: src2' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (key < 10.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: count' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' null-subquery1-subquery2:s-subquery1-subquery2:src3 ' -' TableScan' -' alias: src3' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (key < 10.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: count' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' !!{hive.metastore.warehouse.dir}!!/union24.db/src2 [null-subquery1-subquery1:s-subquery1-subquery1:src2]' -' !!{hive.metastore.warehouse.dir}!!/union24.db/src3 [null-subquery1-subquery2:s-subquery1-subquery2:src3]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string,bigint' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string,bigint' -' escape.delim \' -' !!{hive.metastore.warehouse.dir}!!/union24.db/src2 ' -' Partition' -' base file name: src2' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,count' -' columns.types string:bigint' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/union24.db/src2' -' name union24.src2' -' numFiles 1' -' numPartitions 0' -' numRows 309' -' rawDataSize 1482' -' serialization.ddl struct src2 { string key, i64 count}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 1791' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,count' -' columns.types string:bigint' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/union24.db/src2' -' name union24.src2' -' numFiles 1' -' numPartitions 0' -' numRows 309' -' rawDataSize 1482' -' serialization.ddl struct src2 { string key, i64 count}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 1791' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: union24.src2' -' name: union24.src2' -' !!{hive.metastore.warehouse.dir}!!/union24.db/src3 ' -' Partition' -' base file name: src3' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,count' -' columns.types string:bigint' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/union24.db/src3' -' name union24.src3' -' numFiles 1' -' numPartitions 0' -' numRows 309' -' rawDataSize 1482' -' serialization.ddl struct src3 { string key, i64 count}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 1791' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,count' -' columns.types string:bigint' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/union24.db/src3' -' name union24.src3' -' numFiles 1' -' numPartitions 0' -' numRows 309' -' rawDataSize 1482' -' serialization.ddl struct src3 { string key, i64 count}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 1791' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: union24.src3' -' name: union24.src3' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string:bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -423 rows selected ->>> ->>> select s.key, s.count from ( -select key, count from src2 where key < 10 -union all -select key, count from src3 where key < 10 -union all -select a.key as key, b.count as count from src4 a join src5 b on a.key=b.key where a.key < 10 -)s -order by s.key ASC, s.count ASC; -'key','count' -'0','3' -'0','3' -'0','3' -'2','1' -'2','1' -'2','1' -'4','1' -'4','1' -'4','1' -'5','3' -'5','3' -'5','3' -'8','1' -'8','1' -'8','1' -'9','1' -'9','1' -'9','1' -18 rows selected ->>> ->>> explain extended -select s.key, s.count from ( -select key, count from src2 where key < 10 -union all -select key, count from src3 where key < 10 -union all -select a.key as key, count(1) as count from src4 a join src5 b on a.key=b.key where a.key < 10 group by a.key -)s -order by s.key ASC, s.count ASC; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src2))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL count))) (TOK_WHERE (< (TOK_TABLE_OR_COL key) 10)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src3))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL count))) (TOK_WHERE (< (TOK_TABLE_OR_COL key) 10))))) (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME src4) a) (TOK_TABREF (TOK_TABNAME src5) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key) key) (TOK_SELEXPR (TOK_FUNCTION count 1) count)) (TOK_WHERE (< (. (TOK_TABLE_OR_COL a) key) 10)) (TOK_GROUPBY (. (TOK_TABLE_OR_COL a) key))))) s)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL s) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL s) count))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL s) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL s) count)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-3 depends on stages: Stage-2' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery2:s-subquery2:a ' -' TableScan' -' alias: a' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (key < 10.0)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' null-subquery2:s-subquery2:b ' -' TableScan' -' alias: b' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (key < 10.0)' -' type: boolean' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' Needs Tagging: true' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/union24.db/src4 [null-subquery2:s-subquery2:a]' -' !!{hive.metastore.warehouse.dir}!!/union24.db/src5 [null-subquery2:s-subquery2:b]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/union24.db/src4 ' -' Partition' -' base file name: src4' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,count' -' columns.types string:bigint' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/union24.db/src4' -' name union24.src4' -' numFiles 1' -' numPartitions 0' -' numRows 309' -' rawDataSize 1482' -' serialization.ddl struct src4 { string key, i64 count}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 1791' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,count' -' columns.types string:bigint' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/union24.db/src4' -' name union24.src4' -' numFiles 1' -' numPartitions 0' -' numRows 309' -' rawDataSize 1482' -' serialization.ddl struct src4 { string key, i64 count}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 1791' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: union24.src4' -' name: union24.src4' -' !!{hive.metastore.warehouse.dir}!!/union24.db/src5 ' -' Partition' -' base file name: src5' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,count' -' columns.types string:bigint' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/union24.db/src5' -' name union24.src5' -' numFiles 1' -' numPartitions 0' -' numRows 309' -' rawDataSize 1482' -' serialization.ddl struct src5 { string key, i64 count}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 1791' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,count' -' columns.types string:bigint' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/union24.db/src5' -' name union24.src5' -' numFiles 1' -' numPartitions 0' -' numRows 309' -' rawDataSize 1482' -' serialization.ddl struct src5 { string key, i64 count}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 1791' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: union24.src5' -' name: union24.src5' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0}' -' 1 ' -' handleSkewJoin: false' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string,bigint' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10002' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string,bigint' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string,bigint' -' escape.delim \' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string,bigint' -' escape.delim \' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' GatherStats: false' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' null-subquery1-subquery1:s-subquery1-subquery1:src2 ' -' TableScan' -' alias: src2' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (key < 10.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: count' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' null-subquery1-subquery2:s-subquery1-subquery2:src3 ' -' TableScan' -' alias: src3' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (key < 10.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: count' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' sort order: ++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' Needs Tagging: false' -' Path -> Alias:' -' file:!!{hive.exec.scratchdir}!! [file:!!{hive.exec.scratchdir}!!]' -' !!{hive.metastore.warehouse.dir}!!/union24.db/src2 [null-subquery1-subquery1:s-subquery1-subquery1:src2]' -' !!{hive.metastore.warehouse.dir}!!/union24.db/src3 [null-subquery1-subquery2:s-subquery1-subquery2:src3]' -' Path -> Partition:' -' file:!!{hive.exec.scratchdir}!! ' -' Partition' -' base file name: -mr-10003' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string,bigint' -' escape.delim \' -' ' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string,bigint' -' escape.delim \' -' !!{hive.metastore.warehouse.dir}!!/union24.db/src2 ' -' Partition' -' base file name: src2' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,count' -' columns.types string:bigint' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/union24.db/src2' -' name union24.src2' -' numFiles 1' -' numPartitions 0' -' numRows 309' -' rawDataSize 1482' -' serialization.ddl struct src2 { string key, i64 count}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 1791' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,count' -' columns.types string:bigint' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/union24.db/src2' -' name union24.src2' -' numFiles 1' -' numPartitions 0' -' numRows 309' -' rawDataSize 1482' -' serialization.ddl struct src2 { string key, i64 count}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 1791' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: union24.src2' -' name: union24.src2' -' !!{hive.metastore.warehouse.dir}!!/union24.db/src3 ' -' Partition' -' base file name: src3' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,count' -' columns.types string:bigint' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/union24.db/src3' -' name union24.src3' -' numFiles 1' -' numPartitions 0' -' numRows 309' -' rawDataSize 1482' -' serialization.ddl struct src3 { string key, i64 count}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 1791' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,count' -' columns.types string:bigint' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/union24.db/src3' -' name union24.src3' -' numFiles 1' -' numPartitions 0' -' numRows 309' -' rawDataSize 1482' -' serialization.ddl struct src3 { string key, i64 count}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 1791' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: union24.src3' -' name: union24.src3' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1' -' columns.types string:bigint' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -497 rows selected ->>> ->>> select s.key, s.count from ( -select key, count from src2 where key < 10 -union all -select key, count from src3 where key < 10 -union all -select a.key as key, count(1) as count from src4 a join src5 b on a.key=b.key where a.key < 10 group by a.key -)s -order by s.key ASC, s.count ASC; -'key','count' -'0','1' -'0','3' -'0','3' -'2','1' -'2','1' -'2','1' -'4','1' -'4','1' -'4','1' -'5','1' -'5','3' -'5','3' -'8','1' -'8','1' -'8','1' -'9','1' -'9','1' -'9','1' -18 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/union25.q.out ql/src/test/results/beelinepositive/union25.q.out deleted file mode 100644 index 9a5d1ba..0000000 --- ql/src/test/results/beelinepositive/union25.q.out +++ /dev/null @@ -1,271 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/union25.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/union25.q ->>> create table tmp_srcpart like srcpart; -No rows affected ->>> ->>> insert overwrite table tmp_srcpart partition (ds='2008-04-08', hr='11') -select key, value from srcpart where ds='2008-04-08' and hr='11'; -'key','value' -No rows selected ->>> ->>> explain -create table tmp_unionall as -SELECT count(1) as counts, key, value -FROM -( -SELECT key, value FROM srcpart a WHERE a.ds='2008-04-08' and a.hr='11' - -UNION ALL - -SELECT key, key as value FROM ( -SELECT distinct key FROM ( -SELECT key, value FROM tmp_srcpart a WHERE a.ds='2008-04-08' and a.hr='11' -UNION ALL -SELECT key, value FROM tmp_srcpart b WHERE b.ds='2008-04-08' and b.hr='11' -)t -) master_table -) a GROUP BY key, value -; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_CREATETABLE (TOK_TABNAME tmp_unionall) TOK_LIKETABLE (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_WHERE (and (= (. (TOK_TABLE_OR_COL a) ds) '2008-04-08') (= (. (TOK_TABLE_OR_COL a) hr) '11'))))) (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME tmp_srcpart) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_WHERE (and (= (. (TOK_TABLE_OR_COL a) ds) '2008-04-08') (= (. (TOK_TABLE_OR_COL a) hr) '11'))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME tmp_srcpart) b)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_WHERE (and (= (. (TOK_TABLE_OR_COL b) ds) '2008-04-08') (= (. (TOK_TABLE_OR_COL b) hr) '11')))))) t)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECTDI (TOK_SELEXPR (TOK_TABLE_OR_COL key))))) master_table)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL key) value))))) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1) counts) (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_GROUPBY (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 depends on stages: Stage-2' -' Stage-6 depends on stages: Stage-0' -' Stage-3 depends on stages: Stage-6' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery2:a-subquery2:master_table-subquery1:t-subquery1:a ' -' TableScan' -' alias: a' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' null-subquery2:a-subquery2:master_table-subquery2:t-subquery2:b ' -' TableScan' -' alias: b' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' Reduce Operator Tree:' -' Group By Operator' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col0' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' null-subquery1:a-subquery1:a ' -' TableScan' -' alias: a' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col2' -' type: bigint' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' name: union25.tmp_unionall' -'' -' Stage: Stage-0' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: !!{hive.metastore.warehouse.dir}!!/union25.db/tmp_unionall' -'' -' Stage: Stage-6' -' Create Table Operator:' -' Create Table' -' columns: counts bigint, key string, value string' -' if not exists: false' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' # buckets: -1' -' output format: org.apache.hadoop.hive.ql.io.IgnoreKeyTextOutputFormat' -' name: tmp_unionall' -' isExternal: false' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -'' -240 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/union26.q.out ql/src/test/results/beelinepositive/union26.q.out deleted file mode 100644 index 484a8eb..0000000 --- ql/src/test/results/beelinepositive/union26.q.out +++ /dev/null @@ -1,1265 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/union26.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/union26.q ->>> EXPLAIN -SELECT -count(1) as counts, -key, -value -FROM -( - -SELECT -a.key, a.value -FROM srcpart a JOIN srcpart b -ON a.ds='2008-04-08' and a.hr='11' and b.ds='2008-04-08' and b.hr='12' -AND a.key = b.key - -UNION ALL - -select key, value -FROM srcpart LATERAL VIEW explode(array(1,2,3)) myTable AS myCol -WHERE ds='2008-04-08' and hr='11' -) a -group by key, value -; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_JOIN (TOK_TABREF (TOK_TABNAME srcpart) a) (TOK_TABREF (TOK_TABNAME srcpart) b) (AND (and (and (and (= (. (TOK_TABLE_OR_COL a) ds) '2008-04-08') (= (. (TOK_TABLE_OR_COL a) hr) '11')) (= (. (TOK_TABLE_OR_COL b) ds) '2008-04-08')) (= (. (TOK_TABLE_OR_COL b) hr) '12')) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key))))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value))))) (TOK_QUERY (TOK_FROM (TOK_LATERAL_VIEW (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION explode (TOK_FUNCTION array 1 2 3)) myCol (TOK_TABALIAS myTable))) (TOK_TABREF (TOK_TABNAME srcpart)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_WHERE (and (= (TOK_TABLE_OR_COL ds) '2008-04-08') (= (TOK_TABLE_OR_COL hr) '11')))))) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1) counts) (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))) (TOK_GROUPBY (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL value))))' -'' -'STAGE DEPENDENCIES:' -' Stage-3 is a root stage' -' Stage-2 depends on stages: Stage-3' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1:a-subquery1:a ' -' TableScan' -' alias: a' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 0' -' value expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' null-subquery1:a-subquery1:b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Inner Join 0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col1}' -' 1 ' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' null-subquery2:a-subquery2:srcpart ' -' TableScan' -' alias: srcpart' -' Lateral View Forward' -' Select Operator' -' SELECT * : (no compute)' -' Lateral View Join Operator' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Select Operator' -' expressions:' -' expr: array(1,2,3)' -' type: array' -' outputColumnNames: _col0' -' UDTF Operator' -' function name: explode' -' Lateral View Join Operator' -' outputColumnNames: _col0, _col1, _col2, _col3, _col4' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col2' -' type: bigint' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -238 rows selected ->>> ->>> SELECT -count(1) as counts, -key, -value -FROM -( - -SELECT -a.key, a.value -FROM srcpart a JOIN srcpart b -ON a.ds='2008-04-08' and a.hr='11' and b.ds='2008-04-08' and b.hr='12' -AND a.key = b.key - -UNION ALL - -select key, value -FROM srcpart LATERAL VIEW explode(array(1,2,3)) myTable AS myCol -WHERE ds='2008-04-08' and hr='11' -) a -group by key, value order by key, value -; -'counts','key','value' -'18','0','val_0' -'4','10','val_10' -'10','100','val_100' -'10','103','val_103' -'10','104','val_104' -'4','105','val_105' -'4','11','val_11' -'4','111','val_111' -'10','113','val_113' -'4','114','val_114' -'4','116','val_116' -'10','118','val_118' -'18','119','val_119' -'10','12','val_12' -'10','120','val_120' -'10','125','val_125' -'4','126','val_126' -'18','128','val_128' -'10','129','val_129' -'4','131','val_131' -'4','133','val_133' -'10','134','val_134' -'4','136','val_136' -'10','137','val_137' -'28','138','val_138' -'4','143','val_143' -'4','145','val_145' -'10','146','val_146' -'10','149','val_149' -'10','15','val_15' -'4','150','val_150' -'10','152','val_152' -'4','153','val_153' -'4','155','val_155' -'4','156','val_156' -'4','157','val_157' -'4','158','val_158' -'4','160','val_160' -'4','162','val_162' -'4','163','val_163' -'10','164','val_164' -'10','165','val_165' -'4','166','val_166' -'18','167','val_167' -'4','168','val_168' -'28','169','val_169' -'4','17','val_17' -'4','170','val_170' -'10','172','val_172' -'10','174','val_174' -'10','175','val_175' -'10','176','val_176' -'4','177','val_177' -'4','178','val_178' -'10','179','val_179' -'10','18','val_18' -'4','180','val_180' -'4','181','val_181' -'4','183','val_183' -'4','186','val_186' -'18','187','val_187' -'4','189','val_189' -'4','19','val_19' -'4','190','val_190' -'10','191','val_191' -'4','192','val_192' -'18','193','val_193' -'4','194','val_194' -'10','195','val_195' -'4','196','val_196' -'10','197','val_197' -'18','199','val_199' -'4','2','val_2' -'4','20','val_20' -'10','200','val_200' -'4','201','val_201' -'4','202','val_202' -'10','203','val_203' -'10','205','val_205' -'10','207','val_207' -'18','208','val_208' -'10','209','val_209' -'10','213','val_213' -'4','214','val_214' -'10','216','val_216' -'10','217','val_217' -'4','218','val_218' -'10','219','val_219' -'10','221','val_221' -'4','222','val_222' -'10','223','val_223' -'10','224','val_224' -'4','226','val_226' -'4','228','val_228' -'10','229','val_229' -'40','230','val_230' -'10','233','val_233' -'4','235','val_235' -'10','237','val_237' -'10','238','val_238' -'10','239','val_239' -'10','24','val_24' -'4','241','val_241' -'10','242','val_242' -'4','244','val_244' -'4','247','val_247' -'4','248','val_248' -'4','249','val_249' -'4','252','val_252' -'10','255','val_255' -'10','256','val_256' -'4','257','val_257' -'4','258','val_258' -'10','26','val_26' -'4','260','val_260' -'4','262','val_262' -'4','263','val_263' -'10','265','val_265' -'4','266','val_266' -'4','27','val_27' -'10','272','val_272' -'18','273','val_273' -'4','274','val_274' -'4','275','val_275' -'28','277','val_277' -'10','278','val_278' -'4','28','val_28' -'10','280','val_280' -'10','281','val_281' -'10','282','val_282' -'4','283','val_283' -'4','284','val_284' -'4','285','val_285' -'4','286','val_286' -'4','287','val_287' -'10','288','val_288' -'4','289','val_289' -'4','291','val_291' -'4','292','val_292' -'4','296','val_296' -'18','298','val_298' -'4','30','val_30' -'4','302','val_302' -'4','305','val_305' -'4','306','val_306' -'10','307','val_307' -'4','308','val_308' -'10','309','val_309' -'4','310','val_310' -'18','311','val_311' -'4','315','val_315' -'18','316','val_316' -'10','317','val_317' -'18','318','val_318' -'10','321','val_321' -'10','322','val_322' -'4','323','val_323' -'10','325','val_325' -'18','327','val_327' -'4','33','val_33' -'10','331','val_331' -'4','332','val_332' -'10','333','val_333' -'4','335','val_335' -'4','336','val_336' -'4','338','val_338' -'4','339','val_339' -'4','34','val_34' -'4','341','val_341' -'10','342','val_342' -'10','344','val_344' -'4','345','val_345' -'40','348','val_348' -'18','35','val_35' -'4','351','val_351' -'10','353','val_353' -'4','356','val_356' -'4','360','val_360' -'4','362','val_362' -'4','364','val_364' -'4','365','val_365' -'4','366','val_366' -'10','367','val_367' -'4','368','val_368' -'18','369','val_369' -'10','37','val_37' -'4','373','val_373' -'4','374','val_374' -'4','375','val_375' -'4','377','val_377' -'4','378','val_378' -'4','379','val_379' -'10','382','val_382' -'18','384','val_384' -'4','386','val_386' -'4','389','val_389' -'4','392','val_392' -'4','393','val_393' -'4','394','val_394' -'10','395','val_395' -'18','396','val_396' -'10','397','val_397' -'10','399','val_399' -'4','4','val_4' -'4','400','val_400' -'40','401','val_401' -'4','402','val_402' -'18','403','val_403' -'10','404','val_404' -'28','406','val_406' -'4','407','val_407' -'18','409','val_409' -'4','41','val_41' -'4','411','val_411' -'10','413','val_413' -'10','414','val_414' -'18','417','val_417' -'4','418','val_418' -'4','419','val_419' -'10','42','val_42' -'4','421','val_421' -'10','424','val_424' -'4','427','val_427' -'10','429','val_429' -'4','43','val_43' -'18','430','val_430' -'18','431','val_431' -'4','432','val_432' -'4','435','val_435' -'4','436','val_436' -'4','437','val_437' -'18','438','val_438' -'10','439','val_439' -'4','44','val_44' -'4','443','val_443' -'4','444','val_444' -'4','446','val_446' -'4','448','val_448' -'4','449','val_449' -'4','452','val_452' -'4','453','val_453' -'18','454','val_454' -'4','455','val_455' -'4','457','val_457' -'10','458','val_458' -'10','459','val_459' -'4','460','val_460' -'10','462','val_462' -'10','463','val_463' -'18','466','val_466' -'4','467','val_467' -'28','468','val_468' -'40','469','val_469' -'4','47','val_47' -'4','470','val_470' -'4','472','val_472' -'4','475','val_475' -'4','477','val_477' -'10','478','val_478' -'4','479','val_479' -'18','480','val_480' -'4','481','val_481' -'4','482','val_482' -'4','483','val_483' -'4','484','val_484' -'4','485','val_485' -'4','487','val_487' -'28','489','val_489' -'4','490','val_490' -'4','491','val_491' -'10','492','val_492' -'4','493','val_493' -'4','494','val_494' -'4','495','val_495' -'4','496','val_496' -'4','497','val_497' -'18','498','val_498' -'18','5','val_5' -'10','51','val_51' -'4','53','val_53' -'4','54','val_54' -'4','57','val_57' -'10','58','val_58' -'4','64','val_64' -'4','65','val_65' -'4','66','val_66' -'10','67','val_67' -'4','69','val_69' -'18','70','val_70' -'10','72','val_72' -'4','74','val_74' -'10','76','val_76' -'4','77','val_77' -'4','78','val_78' -'4','8','val_8' -'4','80','val_80' -'4','82','val_82' -'10','83','val_83' -'10','84','val_84' -'4','85','val_85' -'4','86','val_86' -'4','87','val_87' -'4','9','val_9' -'18','90','val_90' -'4','92','val_92' -'10','95','val_95' -'4','96','val_96' -'10','97','val_97' -'10','98','val_98' -309 rows selected ->>> ->>> ->>> SELECT -count(1) as counts, -key, -value -FROM -( - -SELECT -a.key, a.value -FROM srcpart a JOIN srcpart b -ON a.ds='2008-04-08' and a.hr='11' and b.ds='2008-04-08' and b.hr='12' -AND a.key = b.key - -UNION ALL - -select key, value -FROM srcpart LATERAL VIEW explode(array(1,2,3)) myTable AS myCol -WHERE ds='2008-04-08' and hr='11' -) a -group by key, value -; -'counts','key','value' -'18','0','val_0' -'4','10','val_10' -'10','100','val_100' -'10','103','val_103' -'10','104','val_104' -'4','105','val_105' -'4','11','val_11' -'4','111','val_111' -'10','113','val_113' -'4','114','val_114' -'4','116','val_116' -'10','118','val_118' -'18','119','val_119' -'10','12','val_12' -'10','120','val_120' -'10','125','val_125' -'4','126','val_126' -'18','128','val_128' -'10','129','val_129' -'4','131','val_131' -'4','133','val_133' -'10','134','val_134' -'4','136','val_136' -'10','137','val_137' -'28','138','val_138' -'4','143','val_143' -'4','145','val_145' -'10','146','val_146' -'10','149','val_149' -'10','15','val_15' -'4','150','val_150' -'10','152','val_152' -'4','153','val_153' -'4','155','val_155' -'4','156','val_156' -'4','157','val_157' -'4','158','val_158' -'4','160','val_160' -'4','162','val_162' -'4','163','val_163' -'10','164','val_164' -'10','165','val_165' -'4','166','val_166' -'18','167','val_167' -'4','168','val_168' -'28','169','val_169' -'4','17','val_17' -'4','170','val_170' -'10','172','val_172' -'10','174','val_174' -'10','175','val_175' -'10','176','val_176' -'4','177','val_177' -'4','178','val_178' -'10','179','val_179' -'10','18','val_18' -'4','180','val_180' -'4','181','val_181' -'4','183','val_183' -'4','186','val_186' -'18','187','val_187' -'4','189','val_189' -'4','19','val_19' -'4','190','val_190' -'10','191','val_191' -'4','192','val_192' -'18','193','val_193' -'4','194','val_194' -'10','195','val_195' -'4','196','val_196' -'10','197','val_197' -'18','199','val_199' -'4','2','val_2' -'4','20','val_20' -'10','200','val_200' -'4','201','val_201' -'4','202','val_202' -'10','203','val_203' -'10','205','val_205' -'10','207','val_207' -'18','208','val_208' -'10','209','val_209' -'10','213','val_213' -'4','214','val_214' -'10','216','val_216' -'10','217','val_217' -'4','218','val_218' -'10','219','val_219' -'10','221','val_221' -'4','222','val_222' -'10','223','val_223' -'10','224','val_224' -'4','226','val_226' -'4','228','val_228' -'10','229','val_229' -'40','230','val_230' -'10','233','val_233' -'4','235','val_235' -'10','237','val_237' -'10','238','val_238' -'10','239','val_239' -'10','24','val_24' -'4','241','val_241' -'10','242','val_242' -'4','244','val_244' -'4','247','val_247' -'4','248','val_248' -'4','249','val_249' -'4','252','val_252' -'10','255','val_255' -'10','256','val_256' -'4','257','val_257' -'4','258','val_258' -'10','26','val_26' -'4','260','val_260' -'4','262','val_262' -'4','263','val_263' -'10','265','val_265' -'4','266','val_266' -'4','27','val_27' -'10','272','val_272' -'18','273','val_273' -'4','274','val_274' -'4','275','val_275' -'28','277','val_277' -'10','278','val_278' -'4','28','val_28' -'10','280','val_280' -'10','281','val_281' -'10','282','val_282' -'4','283','val_283' -'4','284','val_284' -'4','285','val_285' -'4','286','val_286' -'4','287','val_287' -'10','288','val_288' -'4','289','val_289' -'4','291','val_291' -'4','292','val_292' -'4','296','val_296' -'18','298','val_298' -'4','30','val_30' -'4','302','val_302' -'4','305','val_305' -'4','306','val_306' -'10','307','val_307' -'4','308','val_308' -'10','309','val_309' -'4','310','val_310' -'18','311','val_311' -'4','315','val_315' -'18','316','val_316' -'10','317','val_317' -'18','318','val_318' -'10','321','val_321' -'10','322','val_322' -'4','323','val_323' -'10','325','val_325' -'18','327','val_327' -'4','33','val_33' -'10','331','val_331' -'4','332','val_332' -'10','333','val_333' -'4','335','val_335' -'4','336','val_336' -'4','338','val_338' -'4','339','val_339' -'4','34','val_34' -'4','341','val_341' -'10','342','val_342' -'10','344','val_344' -'4','345','val_345' -'40','348','val_348' -'18','35','val_35' -'4','351','val_351' -'10','353','val_353' -'4','356','val_356' -'4','360','val_360' -'4','362','val_362' -'4','364','val_364' -'4','365','val_365' -'4','366','val_366' -'10','367','val_367' -'4','368','val_368' -'18','369','val_369' -'10','37','val_37' -'4','373','val_373' -'4','374','val_374' -'4','375','val_375' -'4','377','val_377' -'4','378','val_378' -'4','379','val_379' -'10','382','val_382' -'18','384','val_384' -'4','386','val_386' -'4','389','val_389' -'4','392','val_392' -'4','393','val_393' -'4','394','val_394' -'10','395','val_395' -'18','396','val_396' -'10','397','val_397' -'10','399','val_399' -'4','4','val_4' -'4','400','val_400' -'40','401','val_401' -'4','402','val_402' -'18','403','val_403' -'10','404','val_404' -'28','406','val_406' -'4','407','val_407' -'18','409','val_409' -'4','41','val_41' -'4','411','val_411' -'10','413','val_413' -'10','414','val_414' -'18','417','val_417' -'4','418','val_418' -'4','419','val_419' -'10','42','val_42' -'4','421','val_421' -'10','424','val_424' -'4','427','val_427' -'10','429','val_429' -'4','43','val_43' -'18','430','val_430' -'18','431','val_431' -'4','432','val_432' -'4','435','val_435' -'4','436','val_436' -'4','437','val_437' -'18','438','val_438' -'10','439','val_439' -'4','44','val_44' -'4','443','val_443' -'4','444','val_444' -'4','446','val_446' -'4','448','val_448' -'4','449','val_449' -'4','452','val_452' -'4','453','val_453' -'18','454','val_454' -'4','455','val_455' -'4','457','val_457' -'10','458','val_458' -'10','459','val_459' -'4','460','val_460' -'10','462','val_462' -'10','463','val_463' -'18','466','val_466' -'4','467','val_467' -'28','468','val_468' -'40','469','val_469' -'4','47','val_47' -'4','470','val_470' -'4','472','val_472' -'4','475','val_475' -'4','477','val_477' -'10','478','val_478' -'4','479','val_479' -'18','480','val_480' -'4','481','val_481' -'4','482','val_482' -'4','483','val_483' -'4','484','val_484' -'4','485','val_485' -'4','487','val_487' -'28','489','val_489' -'4','490','val_490' -'4','491','val_491' -'10','492','val_492' -'4','493','val_493' -'4','494','val_494' -'4','495','val_495' -'4','496','val_496' -'4','497','val_497' -'18','498','val_498' -'18','5','val_5' -'10','51','val_51' -'4','53','val_53' -'4','54','val_54' -'4','57','val_57' -'10','58','val_58' -'4','64','val_64' -'4','65','val_65' -'4','66','val_66' -'10','67','val_67' -'4','69','val_69' -'18','70','val_70' -'10','72','val_72' -'4','74','val_74' -'10','76','val_76' -'4','77','val_77' -'4','78','val_78' -'4','8','val_8' -'4','80','val_80' -'4','82','val_82' -'10','83','val_83' -'10','84','val_84' -'4','85','val_85' -'4','86','val_86' -'4','87','val_87' -'4','9','val_9' -'18','90','val_90' -'4','92','val_92' -'10','95','val_95' -'4','96','val_96' -'10','97','val_97' -'10','98','val_98' -309 rows selected ->>> ->>> SELECT -count(1) as counts, -key, -value -FROM -( - -SELECT -a.key, a.value -FROM srcpart a JOIN srcpart b -ON a.ds='2008-04-08' and a.hr='11' and b.ds='2008-04-08' and b.hr='12' -AND a.key = b.key - -UNION ALL - -select key, value -FROM srcpart LATERAL VIEW explode(array(1,2,3)) myTable AS myCol -WHERE ds='2008-04-08' and hr='11' -) a -group by key, value order by key, value -; -'counts','key','value' -'18','0','val_0' -'4','10','val_10' -'10','100','val_100' -'10','103','val_103' -'10','104','val_104' -'4','105','val_105' -'4','11','val_11' -'4','111','val_111' -'10','113','val_113' -'4','114','val_114' -'4','116','val_116' -'10','118','val_118' -'18','119','val_119' -'10','12','val_12' -'10','120','val_120' -'10','125','val_125' -'4','126','val_126' -'18','128','val_128' -'10','129','val_129' -'4','131','val_131' -'4','133','val_133' -'10','134','val_134' -'4','136','val_136' -'10','137','val_137' -'28','138','val_138' -'4','143','val_143' -'4','145','val_145' -'10','146','val_146' -'10','149','val_149' -'10','15','val_15' -'4','150','val_150' -'10','152','val_152' -'4','153','val_153' -'4','155','val_155' -'4','156','val_156' -'4','157','val_157' -'4','158','val_158' -'4','160','val_160' -'4','162','val_162' -'4','163','val_163' -'10','164','val_164' -'10','165','val_165' -'4','166','val_166' -'18','167','val_167' -'4','168','val_168' -'28','169','val_169' -'4','17','val_17' -'4','170','val_170' -'10','172','val_172' -'10','174','val_174' -'10','175','val_175' -'10','176','val_176' -'4','177','val_177' -'4','178','val_178' -'10','179','val_179' -'10','18','val_18' -'4','180','val_180' -'4','181','val_181' -'4','183','val_183' -'4','186','val_186' -'18','187','val_187' -'4','189','val_189' -'4','19','val_19' -'4','190','val_190' -'10','191','val_191' -'4','192','val_192' -'18','193','val_193' -'4','194','val_194' -'10','195','val_195' -'4','196','val_196' -'10','197','val_197' -'18','199','val_199' -'4','2','val_2' -'4','20','val_20' -'10','200','val_200' -'4','201','val_201' -'4','202','val_202' -'10','203','val_203' -'10','205','val_205' -'10','207','val_207' -'18','208','val_208' -'10','209','val_209' -'10','213','val_213' -'4','214','val_214' -'10','216','val_216' -'10','217','val_217' -'4','218','val_218' -'10','219','val_219' -'10','221','val_221' -'4','222','val_222' -'10','223','val_223' -'10','224','val_224' -'4','226','val_226' -'4','228','val_228' -'10','229','val_229' -'40','230','val_230' -'10','233','val_233' -'4','235','val_235' -'10','237','val_237' -'10','238','val_238' -'10','239','val_239' -'10','24','val_24' -'4','241','val_241' -'10','242','val_242' -'4','244','val_244' -'4','247','val_247' -'4','248','val_248' -'4','249','val_249' -'4','252','val_252' -'10','255','val_255' -'10','256','val_256' -'4','257','val_257' -'4','258','val_258' -'10','26','val_26' -'4','260','val_260' -'4','262','val_262' -'4','263','val_263' -'10','265','val_265' -'4','266','val_266' -'4','27','val_27' -'10','272','val_272' -'18','273','val_273' -'4','274','val_274' -'4','275','val_275' -'28','277','val_277' -'10','278','val_278' -'4','28','val_28' -'10','280','val_280' -'10','281','val_281' -'10','282','val_282' -'4','283','val_283' -'4','284','val_284' -'4','285','val_285' -'4','286','val_286' -'4','287','val_287' -'10','288','val_288' -'4','289','val_289' -'4','291','val_291' -'4','292','val_292' -'4','296','val_296' -'18','298','val_298' -'4','30','val_30' -'4','302','val_302' -'4','305','val_305' -'4','306','val_306' -'10','307','val_307' -'4','308','val_308' -'10','309','val_309' -'4','310','val_310' -'18','311','val_311' -'4','315','val_315' -'18','316','val_316' -'10','317','val_317' -'18','318','val_318' -'10','321','val_321' -'10','322','val_322' -'4','323','val_323' -'10','325','val_325' -'18','327','val_327' -'4','33','val_33' -'10','331','val_331' -'4','332','val_332' -'10','333','val_333' -'4','335','val_335' -'4','336','val_336' -'4','338','val_338' -'4','339','val_339' -'4','34','val_34' -'4','341','val_341' -'10','342','val_342' -'10','344','val_344' -'4','345','val_345' -'40','348','val_348' -'18','35','val_35' -'4','351','val_351' -'10','353','val_353' -'4','356','val_356' -'4','360','val_360' -'4','362','val_362' -'4','364','val_364' -'4','365','val_365' -'4','366','val_366' -'10','367','val_367' -'4','368','val_368' -'18','369','val_369' -'10','37','val_37' -'4','373','val_373' -'4','374','val_374' -'4','375','val_375' -'4','377','val_377' -'4','378','val_378' -'4','379','val_379' -'10','382','val_382' -'18','384','val_384' -'4','386','val_386' -'4','389','val_389' -'4','392','val_392' -'4','393','val_393' -'4','394','val_394' -'10','395','val_395' -'18','396','val_396' -'10','397','val_397' -'10','399','val_399' -'4','4','val_4' -'4','400','val_400' -'40','401','val_401' -'4','402','val_402' -'18','403','val_403' -'10','404','val_404' -'28','406','val_406' -'4','407','val_407' -'18','409','val_409' -'4','41','val_41' -'4','411','val_411' -'10','413','val_413' -'10','414','val_414' -'18','417','val_417' -'4','418','val_418' -'4','419','val_419' -'10','42','val_42' -'4','421','val_421' -'10','424','val_424' -'4','427','val_427' -'10','429','val_429' -'4','43','val_43' -'18','430','val_430' -'18','431','val_431' -'4','432','val_432' -'4','435','val_435' -'4','436','val_436' -'4','437','val_437' -'18','438','val_438' -'10','439','val_439' -'4','44','val_44' -'4','443','val_443' -'4','444','val_444' -'4','446','val_446' -'4','448','val_448' -'4','449','val_449' -'4','452','val_452' -'4','453','val_453' -'18','454','val_454' -'4','455','val_455' -'4','457','val_457' -'10','458','val_458' -'10','459','val_459' -'4','460','val_460' -'10','462','val_462' -'10','463','val_463' -'18','466','val_466' -'4','467','val_467' -'28','468','val_468' -'40','469','val_469' -'4','47','val_47' -'4','470','val_470' -'4','472','val_472' -'4','475','val_475' -'4','477','val_477' -'10','478','val_478' -'4','479','val_479' -'18','480','val_480' -'4','481','val_481' -'4','482','val_482' -'4','483','val_483' -'4','484','val_484' -'4','485','val_485' -'4','487','val_487' -'28','489','val_489' -'4','490','val_490' -'4','491','val_491' -'10','492','val_492' -'4','493','val_493' -'4','494','val_494' -'4','495','val_495' -'4','496','val_496' -'4','497','val_497' -'18','498','val_498' -'18','5','val_5' -'10','51','val_51' -'4','53','val_53' -'4','54','val_54' -'4','57','val_57' -'10','58','val_58' -'4','64','val_64' -'4','65','val_65' -'4','66','val_66' -'10','67','val_67' -'4','69','val_69' -'18','70','val_70' -'10','72','val_72' -'4','74','val_74' -'10','76','val_76' -'4','77','val_77' -'4','78','val_78' -'4','8','val_8' -'4','80','val_80' -'4','82','val_82' -'10','83','val_83' -'10','84','val_84' -'4','85','val_85' -'4','86','val_86' -'4','87','val_87' -'4','9','val_9' -'18','90','val_90' -'4','92','val_92' -'10','95','val_95' -'4','96','val_96' -'10','97','val_97' -'10','98','val_98' -309 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/union27.q.out ql/src/test/results/beelinepositive/union27.q.out deleted file mode 100644 index 8df8459..0000000 --- ql/src/test/results/beelinepositive/union27.q.out +++ /dev/null @@ -1,23 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/union27.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/union27.q ->>> create table jackson_sev_same as select * from src; -'key','value' -No rows selected ->>> create table dim_pho as select * from src; -'key','value' -No rows selected ->>> create table jackson_sev_add as select * from src; -'key','value' -No rows selected ->>> select b.* from jackson_sev_same a join (select * from dim_pho union all select * from jackson_sev_add)b on a.key=b.key and b.key=97; -'key','value' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -'97','val_97' -8 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/union28.q.out ql/src/test/results/beelinepositive/union28.q.out deleted file mode 100644 index e6331ce..0000000 --- ql/src/test/results/beelinepositive/union28.q.out +++ /dev/null @@ -1,366 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/union28.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/union28.q ->>> create table union_subq_union(key int, value string); -No rows affected ->>> ->>> explain -insert overwrite table union_subq_union -select * from ( -select key, value from src -union all -select key, value from -( -select key, value, count(1) from src group by key, value -union all -select key, value, count(1) from src group by key, value -) subq -) a -; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))))) (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL value)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL value))))) subq)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))) a)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME union_subq_union))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-9 is a root stage' -' Stage-10 depends on stages: Stage-9, Stage-11' -' Stage-2 depends on stages: Stage-10' -' Stage-8 depends on stages: Stage-2 , consists of Stage-5, Stage-4, Stage-6' -' Stage-5' -' Stage-0 depends on stages: Stage-5, Stage-4, Stage-7' -' Stage-3 depends on stages: Stage-0' -' Stage-4' -' Stage-6' -' Stage-7 depends on stages: Stage-6' -' Stage-11 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-9' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery2:a-subquery2-subquery1:subq-subquery1:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-10' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: union28.union_subq_union' -' null-subquery1:a-subquery1:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: union28.union_subq_union' -'' -' Stage: Stage-8' -' Conditional Operator' -'' -' Stage: Stage-5' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: union28.union_subq_union' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: union28.union_subq_union' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: union28.union_subq_union' -'' -' Stage: Stage-7' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-11' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery2:a-subquery2-subquery2:subq-subquery2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -'' -306 rows selected ->>> ->>> insert overwrite table union_subq_union -select * from ( -select key, value from src -union all -select key, value from -( -select key, value, count(1) from src group by key, value -union all -select key, value, count(1) from src group by key, value -) subq -) a -; -'_col0','_col1' -No rows selected ->>> ->>> select * from union_subq_union order by key, value limit 20; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'2','val_2' -'2','val_2' -'2','val_2' -'4','val_4' -'4','val_4' -'4','val_4' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'8','val_8' -'8','val_8' -'8','val_8' -'9','val_9' -20 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/union29.q.out ql/src/test/results/beelinepositive/union29.q.out deleted file mode 100644 index efd9c1c..0000000 --- ql/src/test/results/beelinepositive/union29.q.out +++ /dev/null @@ -1,248 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/union29.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/union29.q ->>> create table union_subq_union(key int, value string); -No rows affected ->>> ->>> explain -insert overwrite table union_subq_union -select * from ( -select key, value from src -union all -select key, value from -( -select key, value from src -union all -select key, value from src -) subq -) a -; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))))) (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))) subq)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))) a)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME union_subq_union))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'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' -' Alias -> Map Operator Tree:' -' null-subquery1:a-subquery1:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: union29.union_subq_union' -' null-subquery2:a-subquery2-subquery1:subq-subquery1:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: union29.union_subq_union' -' null-subquery2:a-subquery2-subquery2:subq-subquery2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: union29.union_subq_union' -'' -' Stage: Stage-7' -' Conditional Operator' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: union29.union_subq_union' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: union29.union_subq_union' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: union29.union_subq_union' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -188 rows selected ->>> ->>> insert overwrite table union_subq_union -select * from ( -select key, value from src -union all -select key, value from -( -select key, value from src -union all -select key, value from src -) subq -) a -; -'_col0','_col1' -No rows selected ->>> ->>> select * from union_subq_union order by key, value limit 20; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'2','val_2' -'2','val_2' -'2','val_2' -'4','val_4' -'4','val_4' -'4','val_4' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -20 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/union3.q.out ql/src/test/results/beelinepositive/union3.q.out deleted file mode 100644 index 7a614fd..0000000 --- ql/src/test/results/beelinepositive/union3.q.out +++ /dev/null @@ -1,333 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/union3.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/union3.q ->>> ->>> explain -SELECT * -FROM ( -SELECT 1 AS id -FROM (SELECT * FROM src LIMIT 1) s1 -CLUSTER BY id -UNION ALL -SELECT 2 AS id -FROM (SELECT * FROM src LIMIT 1) s1 -CLUSTER BY id -UNION ALL -SELECT 3 AS id -FROM (SELECT * FROM src LIMIT 1) s2 -UNION ALL -SELECT 4 AS id -FROM (SELECT * FROM src LIMIT 1) s2 -) a; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_UNION (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_LIMIT 1))) s1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 1 id)) (TOK_CLUSTERBY (TOK_TABLE_OR_COL id)))) (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_LIMIT 1))) s1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 2 id)) (TOK_CLUSTERBY (TOK_TABLE_OR_COL id))))) (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_LIMIT 1))) s2)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 3 id))))) (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_LIMIT 1))) s2)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 4 id))))) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-3, Stage-5, Stage-7' -' Stage-3 is a root stage' -' Stage-4 is a root stage' -' Stage-5 depends on stages: Stage-4' -' Stage-6 is a root stage' -' Stage-7 depends on stages: Stage-6' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery2:a-subquery2:s2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' Select Operator' -' expressions:' -' expr: 4' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1-subquery2:a-subquery1-subquery2:s2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' Select Operator' -' expressions:' -' expr: 3' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1-subquery1-subquery1:a-subquery1-subquery1-subquery1:s1:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' Select Operator' -' expressions:' -' expr: 1' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1-subquery1-subquery2:a-subquery1-subquery1-subquery2:s1:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Limit' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' Reduce Operator Tree:' -' Extract' -' Limit' -' Select Operator' -' expressions:' -' expr: 2' -' type: int' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-7' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: int' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: int' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -277 rows selected ->>> ->>> ->>> ->>> CREATE TABLE union_out (id int); -No rows affected ->>> ->>> insert overwrite table union_out -SELECT * -FROM ( -SELECT 1 AS id -FROM (SELECT * FROM src LIMIT 1) s1 -CLUSTER BY id -UNION ALL -SELECT 2 AS id -FROM (SELECT * FROM src LIMIT 1) s1 -CLUSTER BY id -UNION ALL -SELECT 3 AS id -FROM (SELECT * FROM src LIMIT 1) s2 -UNION ALL -SELECT 4 AS id -FROM (SELECT * FROM src LIMIT 1) s2 -) a; -'id' -No rows selected ->>> ->>> select * from union_out cluster by id; -'id' -'1' -'2' -'3' -'4' -4 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/union30.q.out ql/src/test/results/beelinepositive/union30.q.out deleted file mode 100644 index 2d52d61..0000000 --- ql/src/test/results/beelinepositive/union30.q.out +++ /dev/null @@ -1,424 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/union30.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/union30.q ->>> create table union_subq_union(key int, value string); -No rows affected ->>> ->>> explain -insert overwrite table union_subq_union -select * from ( - -select * from ( -select key, value from src -union all -select key, value from -( -select key, value, count(1) from src group by key, value -union all -select key, value, count(1) from src group by key, value -) subq -) a - -union all - -select key, value from src -) aa -; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value))))) (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL value)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL value))))) subq)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))) a)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)))))) aa)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME union_subq_union))) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-11' -' Stage-3 depends on stages: Stage-2' -' Stage-4 depends on stages: Stage-3' -' Stage-10 depends on stages: Stage-4 , consists of Stage-7, Stage-6, Stage-8' -' Stage-7' -' Stage-0 depends on stages: Stage-7, Stage-6, Stage-9' -' Stage-5 depends on stages: Stage-0' -' Stage-6' -' Stage-8' -' Stage-9 depends on stages: Stage-8' -' Stage-11 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1:aa-subquery1-subquery2:a-subquery2-subquery1:subq-subquery1:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' null-subquery1:aa-subquery1-subquery1:a-subquery1:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: union30.union_subq_union' -' null-subquery2:aa-subquery2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: union30.union_subq_union' -'' -' Stage: Stage-10' -' Conditional Operator' -'' -' Stage: Stage-7' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: union30.union_subq_union' -'' -' Stage: Stage-5' -' Stats-Aggr Operator' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: union30.union_subq_union' -'' -' Stage: Stage-8' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: union30.union_subq_union' -'' -' Stage: Stage-9' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-11' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1:aa-subquery1-subquery2:a-subquery2-subquery2:subq-subquery2:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: key, value' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' sort order: ++' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col2' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' expr: KEY._col1' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: bigint' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -350 rows selected ->>> ->>> insert overwrite table union_subq_union -select * from ( - -select * from ( -select key, value from src -union all -select key, value from -( -select key, value, count(1) from src group by key, value -union all -select key, value, count(1) from src group by key, value -) subq -) a - -union all - -select key, value from src -) aa -; -'_col0','_col1' -No rows selected ->>> ->>> select * from union_subq_union order by key, value limit 20; -'key','value' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'0','val_0' -'2','val_2' -'2','val_2' -'2','val_2' -'2','val_2' -'4','val_4' -'4','val_4' -'4','val_4' -'4','val_4' -'5','val_5' -'5','val_5' -'5','val_5' -'5','val_5' -20 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/union31.q.out ql/src/test/results/beelinepositive/union31.q.out deleted file mode 100644 index 78d6690..0000000 --- ql/src/test/results/beelinepositive/union31.q.out +++ /dev/null @@ -1,891 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/union31.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/union31.q ->>> drop table t1; -No rows affected ->>> drop table t2; -No rows affected ->>> ->>> ->>> create table t1 as select * from src where key < 10; -'key','value' -No rows selected ->>> create table t2 as select * from src where key < 10; -'key','value' -No rows selected ->>> ->>> create table t3(key string, cnt int); -No rows affected ->>> create table t4(value string, cnt int); -No rows affected ->>> ->>> explain -from -(select * from t1 -union all -select * from t2 -) x -insert overwrite table t3 -select key, count(1) group by key -insert overwrite table t4 -select value, count(1) group by value; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME t1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME t2))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF))))) x)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME t3))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL key))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME t4))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL value))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-0 depends on stages: Stage-2' -' Stage-3 depends on stages: Stage-0' -' Stage-4 depends on stages: Stage-2' -' Stage-1 depends on stages: Stage-4' -' Stage-5 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1:x-subquery1:t1 ' -' TableScan' -' alias: t1' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' outputColumnNames: _col1' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col1' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' null-subquery2:x-subquery2:t2 ' -' TableScan' -' alias: t2' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Select Operator' -' expressions:' -' expr: _col1' -' type: string' -' outputColumnNames: _col1' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col1' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: union31.t3' -'' -' 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: union31.t3' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: union31.t4' -'' -' Stage: Stage-1' -' 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: union31.t4' -'' -' Stage: Stage-5' -' Stats-Aggr Operator' -'' -'' -238 rows selected ->>> ->>> from -(select * from t1 -union all -select * from t2 -) x -insert overwrite table t3 -select key, count(1) group by key -insert overwrite table t4 -select value, count(1) group by value; -'_col0','_col1' -No rows selected ->>> ->>> select * from t3 order by key; -'key','cnt' -'0','6' -'2','2' -'4','2' -'5','6' -'8','2' -'9','2' -6 rows selected ->>> select * from t4 order by value; -'value','cnt' -'val_0','6' -'val_2','2' -'val_4','2' -'val_5','6' -'val_8','2' -'val_9','2' -6 rows selected ->>> ->>> create table t5(c1 string, cnt int); -No rows affected ->>> create table t6(c1 string, cnt int); -No rows affected ->>> ->>> explain -from -( -select key as c1, count(1) as cnt from t1 group by key -union all -select key as c1, count(1) as cnt from t2 group by key -) x -insert overwrite table t5 -select c1, sum(cnt) group by c1 -insert overwrite table t6 -select c1, sum(cnt) group by c1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME t1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key) c1) (TOK_SELEXPR (TOK_FUNCTION count 1) cnt)) (TOK_GROUPBY (TOK_TABLE_OR_COL key)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME t2))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key) c1) (TOK_SELEXPR (TOK_FUNCTION count 1) cnt)) (TOK_GROUPBY (TOK_TABLE_OR_COL key))))) x)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME t5))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL c1)) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_TABLE_OR_COL cnt)))) (TOK_GROUPBY (TOK_TABLE_OR_COL c1))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME t6))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL c1)) (TOK_SELEXPR (TOK_FUNCTION sum (TOK_TABLE_OR_COL cnt)))) (TOK_GROUPBY (TOK_TABLE_OR_COL c1))))' -'' -'STAGE DEPENDENCIES:' -' Stage-2 is a root stage' -' Stage-3 depends on stages: Stage-2, Stage-6' -' Stage-0 depends on stages: Stage-3' -' Stage-4 depends on stages: Stage-0' -' Stage-1 depends on stages: Stage-3' -' Stage-5 depends on stages: Stage-1' -' Stage-6 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery2:x-subquery2:t2 ' -' TableScan' -' alias: t2' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Forward' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: complete' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: union31.t5' -' Group By Operator' -' aggregations:' -' expr: sum(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: complete' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: union31.t6' -'' -' 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: union31.t5' -'' -' Stage: Stage-4' -' Stats-Aggr Operator' -'' -' Stage: Stage-1' -' 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: union31.t6' -'' -' Stage: Stage-5' -' Stats-Aggr Operator' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1:x-subquery1:t1 ' -' TableScan' -' alias: t1' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -'' -264 rows selected ->>> ->>> from -( -select key as c1, count(1) as cnt from t1 group by key -union all -select key as c1, count(1) as cnt from t2 group by key -) x -insert overwrite table t5 -select c1, sum(cnt) group by c1 -insert overwrite table t6 -select c1, sum(cnt) group by c1; -'_col0','_col1' -No rows selected ->>> ->>> select * from t5 order by c1; -'c1','cnt' -'0','6' -'2','2' -'4','2' -'5','6' -'8','2' -'9','2' -6 rows selected ->>> select * from t6 order by c1; -'c1','cnt' -'0','6' -'2','2' -'4','2' -'5','6' -'8','2' -'9','2' -6 rows selected ->>> ->>> drop table t1; -No rows affected ->>> drop table t2; -No rows affected ->>> ->>> create table t1 as select * from src where key < 10; -'key','value' -No rows selected ->>> create table t2 as select key, count(1) as cnt from src where key < 10 group by key; -'key','cnt' -No rows selected ->>> ->>> create table t7(c1 string, cnt int); -No rows affected ->>> create table t8(c1 string, cnt int); -No rows affected ->>> ->>> explain -from -( -select key as c1, count(1) as cnt from t1 group by key -union all -select key as c1, cnt from t2 -) x -insert overwrite table t7 -select c1, count(1) group by c1 -insert overwrite table t8 -select c1, count(1) group by c1; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME t1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key) c1) (TOK_SELEXPR (TOK_FUNCTION count 1) cnt)) (TOK_GROUPBY (TOK_TABLE_OR_COL key)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME t2))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key) c1) (TOK_SELEXPR (TOK_TABLE_OR_COL cnt)))))) x)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME t7))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL c1)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL c1))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME t8))) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL c1)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (TOK_TABLE_OR_COL c1))))' -'' -'STAGE DEPENDENCIES:' -' Stage-6 is a root stage' -' Stage-3 depends on stages: Stage-6' -' Stage-0 depends on stages: Stage-3' -' Stage-4 depends on stages: Stage-0' -' Stage-1 depends on stages: Stage-3' -' Stage-5 depends on stages: Stage-1' -'' -'STAGE PLANS:' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1:x-subquery1:t1 ' -' TableScan' -' alias: t1' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' outputColumnNames: key' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: key' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: 1' -' type: int' -' null-subquery2:x-subquery2:t2 ' -' TableScan' -' alias: t2' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: cnt' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: 1' -' type: int' -' Reduce Operator Tree:' -' Forward' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: complete' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: union31.t7' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: complete' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 2' -' 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: union31.t8' -'' -' 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: union31.t7' -'' -' Stage: Stage-4' -' Stats-Aggr Operator' -'' -' Stage: Stage-1' -' 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: union31.t8' -'' -' Stage: Stage-5' -' Stats-Aggr Operator' -'' -'' -211 rows selected ->>> ->>> from -( -select key as c1, count(1) as cnt from t1 group by key -union all -select key as c1, cnt from t2 -) x -insert overwrite table t7 -select c1, count(1) group by c1 -insert overwrite table t8 -select c1, count(1) group by c1; -'_col0','_col1' -No rows selected ->>> ->>> select * from t7 order by c1; -'c1','cnt' -'0','2' -'2','2' -'4','2' -'5','2' -'8','2' -'9','2' -6 rows selected ->>> select * from t8 order by c1; -'c1','cnt' -'0','2' -'2','2' -'4','2' -'5','2' -'8','2' -'9','2' -6 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/union4.q.out ql/src/test/results/beelinepositive/union4.q.out deleted file mode 100644 index 2320a56..0000000 --- ql/src/test/results/beelinepositive/union4.q.out +++ /dev/null @@ -1,239 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/union4.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/union4.q ->>> set hive.map.aggr = true; -No rows affected ->>> ->>> -- union case: both subqueries are map-reduce jobs on same input, followed by filesink ->>> ->>> ->>> create table tmptable(key string, value int); -No rows affected ->>> ->>> explain -insert overwrite table tmptable -select unionsrc.key, unionsrc.value FROM (select 'tst1' as key, count(1) as value from src s1 -UNION ALL -select 'tst2' as key, count(1) as value from src s2) unionsrc; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) s1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 'tst1' key) (TOK_SELEXPR (TOK_FUNCTION count 1) value)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) s2)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 'tst2' key) (TOK_SELEXPR (TOK_FUNCTION count 1) value))))) unionsrc)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME tmptable))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL unionsrc) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL unionsrc) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-9' -' Stage-8 depends on stages: Stage-2 , consists of Stage-5, Stage-4, Stage-6' -' Stage-5' -' Stage-0 depends on stages: Stage-5, Stage-4, Stage-7' -' Stage-3 depends on stages: Stage-0' -' Stage-4' -' Stage-6' -' Stage-7 depends on stages: Stage-6' -' Stage-9 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1:unionsrc-subquery1:s1 ' -' TableScan' -' alias: s1' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: 'tst1'' -' type: string' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: union4.tmptable' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: UDFToInteger(_col1)' -' type: int' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: union4.tmptable' -'' -' Stage: Stage-8' -' Conditional Operator' -'' -' Stage: Stage-5' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: union4.tmptable' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: union4.tmptable' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: union4.tmptable' -'' -' Stage: Stage-7' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-9' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery2:unionsrc-subquery2:s2 ' -' TableScan' -' alias: s2' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: 'tst2'' -' type: string' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -'' -205 rows selected ->>> ->>> insert overwrite table tmptable -select unionsrc.key, unionsrc.value FROM (select 'tst1' as key, count(1) as value from src s1 -UNION ALL -select 'tst2' as key, count(1) as value from src s2) unionsrc; -'_col0','_col1' -No rows selected ->>> ->>> select * from tmptable x sort by x.key; -'key','value' -'tst1','500' -'tst2','500' -2 rows selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/union5.q.out ql/src/test/results/beelinepositive/union5.q.out deleted file mode 100644 index e26c1fe..0000000 --- ql/src/test/results/beelinepositive/union5.q.out +++ /dev/null @@ -1,202 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/union5.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/union5.q ->>> set hive.map.aggr = true; -No rows affected ->>> ->>> -- union case: both subqueries are map-reduce jobs on same input, followed by reduce sink ->>> ->>> explain -select unionsrc.key, count(1) FROM (select 'tst1' as key, count(1) as value from src s1 -UNION ALL -select 'tst2' as key, count(1) as value from src s2) unionsrc group by unionsrc.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) s1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 'tst1' key) (TOK_SELEXPR (TOK_FUNCTION count 1) value)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) s2)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 'tst2' key) (TOK_SELEXPR (TOK_FUNCTION count 1) value))))) unionsrc)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL unionsrc) key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL unionsrc) key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1, Stage-3' -' Stage-3 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1:unionsrc-subquery1:s1 ' -' TableScan' -' alias: s1' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: 'tst1'' -' type: string' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery2:unionsrc-subquery2:s2 ' -' TableScan' -' alias: s2' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: 'tst2'' -' type: string' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -180 rows selected ->>> ->>> select unionsrc.key, count(1) FROM (select 'tst1' as key, count(1) as value from src s1 -UNION ALL -select 'tst2' as key, count(1) as value from src s2) unionsrc group by unionsrc.key; -'key','_c1' -'tst1','1' -'tst2','1' -2 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/union6.q.out ql/src/test/results/beelinepositive/union6.q.out deleted file mode 100644 index eaaf992..0000000 --- ql/src/test/results/beelinepositive/union6.q.out +++ /dev/null @@ -1,216 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/union6.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/union6.q ->>> set hive.map.aggr = true; -No rows affected ->>> ->>> -- union case: 1 subquery is a map-reduce job, different inputs for sub-queries, followed by filesink ->>> ->>> ->>> create table tmptable(key string, value string); -No rows affected ->>> ->>> explain -insert overwrite table tmptable -select unionsrc.key, unionsrc.value FROM (select 'tst1' as key, cast(count(1) as string) as value from src s1 -UNION ALL -select s2.key as key, s2.value as value from src1 s2) unionsrc; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) s1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 'tst1' key) (TOK_SELEXPR (TOK_FUNCTION TOK_STRING (TOK_FUNCTION count 1)) value)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src1) s2)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL s2) key) key) (TOK_SELEXPR (. (TOK_TABLE_OR_COL s2) value) value))))) unionsrc)) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME tmptable))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL unionsrc) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL unionsrc) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-8 depends on stages: Stage-2 , consists of Stage-5, Stage-4, Stage-6' -' Stage-5' -' Stage-0 depends on stages: Stage-5, Stage-4, Stage-7' -' Stage-3 depends on stages: Stage-0' -' Stage-4' -' Stage-6' -' Stage-7 depends on stages: Stage-6' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1:unionsrc-subquery1:s1 ' -' TableScan' -' alias: s1' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: 'tst1'' -' type: string' -' expr: UDFToString(_col0)' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: union6.tmptable' -' null-subquery2:unionsrc-subquery2:s2 ' -' TableScan' -' alias: s2' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: union6.tmptable' -'' -' Stage: Stage-8' -' Conditional Operator' -'' -' Stage: Stage-5' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -' 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: union6.tmptable' -'' -' Stage: Stage-3' -' Stats-Aggr Operator' -'' -' Stage: Stage-4' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: union6.tmptable' -'' -' Stage: Stage-6' -' Map Reduce' -' Alias -> Map Operator Tree:' -' pfile:!!{hive.exec.scratchdir}!! ' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' 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: union6.tmptable' -'' -' Stage: Stage-7' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: pfile:!!{hive.exec.scratchdir}!!' -'' -'' -158 rows selected ->>> ->>> insert overwrite table tmptable -select unionsrc.key, unionsrc.value FROM (select 'tst1' as key, cast(count(1) as string) as value from src s1 -UNION ALL -select s2.key as key, s2.value as value from src1 s2) unionsrc; -'key','value' -No rows selected ->>> ->>> select * from tmptable x sort by x.key, x.value; -'key','value' -'','' -'','' -'','' -'','' -'','val_165' -'','val_193' -'','val_265' -'','val_27' -'','val_409' -'','val_484' -'128','' -'146','val_146' -'150','val_150' -'213','val_213' -'224','' -'238','val_238' -'255','val_255' -'273','val_273' -'278','val_278' -'311','val_311' -'369','' -'401','val_401' -'406','val_406' -'66','val_66' -'98','val_98' -'tst1','500' -26 rows selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/union7.q.out ql/src/test/results/beelinepositive/union7.q.out deleted file mode 100644 index b5d8452..0000000 --- ql/src/test/results/beelinepositive/union7.q.out +++ /dev/null @@ -1,186 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/union7.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/union7.q ->>> set hive.map.aggr = true; -No rows affected ->>> ->>> -- union case: 1 subquery is a map-reduce job, different inputs for sub-queries, followed by reducesink ->>> ->>> explain -select unionsrc.key, count(1) FROM (select 'tst1' as key, cast(count(1) as string) as value from src s1 -UNION ALL -select s2.key as key, s2.value as value from src1 s2) unionsrc group by unionsrc.key; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) s1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR 'tst1' key) (TOK_SELEXPR (TOK_FUNCTION TOK_STRING (TOK_FUNCTION count 1)) value)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src1) s2)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL s2) key) key) (TOK_SELEXPR (. (TOK_TABLE_OR_COL s2) value) value))))) unionsrc)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL unionsrc) key)) (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_GROUPBY (. (TOK_TABLE_OR_COL unionsrc) key))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-2 depends on stages: Stage-1' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1:unionsrc-subquery1:s1 ' -' TableScan' -' alias: s1' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: 'tst1'' -' type: string' -' expr: UDFToString(_col0)' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.SequenceFileInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat' -'' -' Stage: Stage-2' -' Map Reduce' -' Alias -> Map Operator Tree:' -' file:!!{hive.exec.scratchdir}!! ' -' TableScan' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' null-subquery2:unionsrc-subquery2:s2 ' -' TableScan' -' alias: s2' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' outputColumnNames: _col0' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' keys:' -' expr: _col0' -' type: string' -' mode: hash' -' outputColumnNames: _col0, _col1' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col0' -' type: string' -' tag: -1' -' value expressions:' -' expr: _col1' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' keys:' -' expr: KEY._col0' -' type: string' -' mode: mergepartial' -' outputColumnNames: _col0, _col1' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: bigint' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -147 rows selected ->>> ->>> select unionsrc.key, count(1) FROM (select 'tst1' as key, cast(count(1) as string) as value from src s1 -UNION ALL -select s2.key as key, s2.value as value from src1 s2) unionsrc group by unionsrc.key; -'key','_c1' -'','10' -'128','1' -'146','1' -'150','1' -'213','1' -'224','1' -'238','1' -'255','1' -'273','1' -'278','1' -'311','1' -'369','1' -'401','1' -'406','1' -'66','1' -'98','1' -'tst1','1' -17 rows selected ->>> ->>> ->>> !record diff --git ql/src/test/results/beelinepositive/union8.q.out ql/src/test/results/beelinepositive/union8.q.out deleted file mode 100644 index 77558e7..0000000 --- ql/src/test/results/beelinepositive/union8.q.out +++ /dev/null @@ -1,1606 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/union8.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/union8.q ->>> -- union case: all subqueries are a map-only jobs, 3 way union, same input for all sub-queries, followed by filesink ->>> ->>> explain -select unionsrc.key, unionsrc.value FROM (select s1.key as key, s1.value as value from src s1 UNION ALL -select s2.key as key, s2.value as value from src s2 UNION ALL -select s3.key as key, s3.value as value from src s3) unionsrc; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) s1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL s1) key) key) (TOK_SELEXPR (. (TOK_TABLE_OR_COL s1) value) value)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) s2)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL s2) key) key) (TOK_SELEXPR (. (TOK_TABLE_OR_COL s2) value) value))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) s3)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL s3) key) key) (TOK_SELEXPR (. (TOK_TABLE_OR_COL s3) value) value))))) unionsrc)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL unionsrc) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL unionsrc) value)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1-subquery1:unionsrc-subquery1-subquery1:s1 ' -' TableScan' -' alias: s1' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' null-subquery1-subquery2:unionsrc-subquery1-subquery2:s2 ' -' TableScan' -' alias: s2' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' null-subquery2:unionsrc-subquery2:s3 ' -' TableScan' -' alias: s3' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -89 rows selected ->>> ->>> select unionsrc.key, unionsrc.value FROM (select s1.key as key, s1.value as value from src s1 UNION ALL -select s2.key as key, s2.value as value from src s2 UNION ALL -select s3.key as key, s3.value as value from src s3) unionsrc; -'key','value' -'238','val_238' -'238','val_238' -'238','val_238' -'86','val_86' -'86','val_86' -'86','val_86' -'311','val_311' -'311','val_311' -'311','val_311' -'27','val_27' -'27','val_27' -'27','val_27' -'165','val_165' -'165','val_165' -'165','val_165' -'409','val_409' -'409','val_409' -'409','val_409' -'255','val_255' -'255','val_255' -'255','val_255' -'278','val_278' -'278','val_278' -'278','val_278' -'98','val_98' -'98','val_98' -'98','val_98' -'484','val_484' -'484','val_484' -'484','val_484' -'265','val_265' -'265','val_265' -'265','val_265' -'193','val_193' -'193','val_193' -'193','val_193' -'401','val_401' -'401','val_401' -'401','val_401' -'150','val_150' -'150','val_150' -'150','val_150' -'273','val_273' -'273','val_273' -'273','val_273' -'224','val_224' -'224','val_224' -'224','val_224' -'369','val_369' -'369','val_369' -'369','val_369' -'66','val_66' -'66','val_66' -'66','val_66' -'128','val_128' -'128','val_128' -'128','val_128' -'213','val_213' -'213','val_213' -'213','val_213' -'146','val_146' -'146','val_146' -'146','val_146' -'406','val_406' -'406','val_406' -'406','val_406' -'429','val_429' -'429','val_429' -'429','val_429' -'374','val_374' -'374','val_374' -'374','val_374' -'152','val_152' -'152','val_152' -'152','val_152' -'469','val_469' -'469','val_469' -'469','val_469' -'145','val_145' -'145','val_145' -'145','val_145' -'495','val_495' -'495','val_495' -'495','val_495' -'37','val_37' -'37','val_37' -'37','val_37' -'327','val_327' -'327','val_327' -'327','val_327' -'281','val_281' -'281','val_281' -'281','val_281' -'277','val_277' -'277','val_277' -'277','val_277' -'209','val_209' -'209','val_209' -'209','val_209' -'15','val_15' -'15','val_15' -'15','val_15' -'82','val_82' -'82','val_82' -'82','val_82' -'403','val_403' -'403','val_403' -'403','val_403' -'166','val_166' -'166','val_166' -'166','val_166' -'417','val_417' -'417','val_417' -'417','val_417' -'430','val_430' -'430','val_430' -'430','val_430' -'252','val_252' -'252','val_252' -'252','val_252' -'292','val_292' -'292','val_292' -'292','val_292' -'219','val_219' -'219','val_219' -'219','val_219' -'287','val_287' -'287','val_287' -'287','val_287' -'153','val_153' -'153','val_153' -'153','val_153' -'193','val_193' -'193','val_193' -'193','val_193' -'338','val_338' -'338','val_338' -'338','val_338' -'446','val_446' -'446','val_446' -'446','val_446' -'459','val_459' -'459','val_459' -'459','val_459' -'394','val_394' -'394','val_394' -'394','val_394' -'237','val_237' -'237','val_237' -'237','val_237' -'482','val_482' -'482','val_482' -'482','val_482' -'174','val_174' -'174','val_174' -'174','val_174' -'413','val_413' -'413','val_413' -'413','val_413' -'494','val_494' -'494','val_494' -'494','val_494' -'207','val_207' -'207','val_207' -'207','val_207' -'199','val_199' -'199','val_199' -'199','val_199' -'466','val_466' -'466','val_466' -'466','val_466' -'208','val_208' -'208','val_208' -'208','val_208' -'174','val_174' -'174','val_174' -'174','val_174' -'399','val_399' -'399','val_399' -'399','val_399' -'396','val_396' -'396','val_396' -'396','val_396' -'247','val_247' -'247','val_247' -'247','val_247' -'417','val_417' -'417','val_417' -'417','val_417' -'489','val_489' -'489','val_489' -'489','val_489' -'162','val_162' -'162','val_162' -'162','val_162' -'377','val_377' -'377','val_377' -'377','val_377' -'397','val_397' -'397','val_397' -'397','val_397' -'309','val_309' -'309','val_309' -'309','val_309' -'365','val_365' -'365','val_365' -'365','val_365' -'266','val_266' -'266','val_266' -'266','val_266' -'439','val_439' -'439','val_439' -'439','val_439' -'342','val_342' -'342','val_342' -'342','val_342' -'367','val_367' -'367','val_367' -'367','val_367' -'325','val_325' -'325','val_325' -'325','val_325' -'167','val_167' -'167','val_167' -'167','val_167' -'195','val_195' -'195','val_195' -'195','val_195' -'475','val_475' -'475','val_475' -'475','val_475' -'17','val_17' -'17','val_17' -'17','val_17' -'113','val_113' -'113','val_113' -'113','val_113' -'155','val_155' -'155','val_155' -'155','val_155' -'203','val_203' -'203','val_203' -'203','val_203' -'339','val_339' -'339','val_339' -'339','val_339' -'0','val_0' -'0','val_0' -'0','val_0' -'455','val_455' -'455','val_455' -'455','val_455' -'128','val_128' -'128','val_128' -'128','val_128' -'311','val_311' -'311','val_311' -'311','val_311' -'316','val_316' -'316','val_316' -'316','val_316' -'57','val_57' -'57','val_57' -'57','val_57' -'302','val_302' -'302','val_302' -'302','val_302' -'205','val_205' -'205','val_205' -'205','val_205' -'149','val_149' -'149','val_149' -'149','val_149' -'438','val_438' -'438','val_438' -'438','val_438' -'345','val_345' -'345','val_345' -'345','val_345' -'129','val_129' -'129','val_129' -'129','val_129' -'170','val_170' -'170','val_170' -'170','val_170' -'20','val_20' -'20','val_20' -'20','val_20' -'489','val_489' -'489','val_489' -'489','val_489' -'157','val_157' -'157','val_157' -'157','val_157' -'378','val_378' -'378','val_378' -'378','val_378' -'221','val_221' -'221','val_221' -'221','val_221' -'92','val_92' -'92','val_92' -'92','val_92' -'111','val_111' -'111','val_111' -'111','val_111' -'47','val_47' -'47','val_47' -'47','val_47' -'72','val_72' -'72','val_72' -'72','val_72' -'4','val_4' -'4','val_4' -'4','val_4' -'280','val_280' -'280','val_280' -'280','val_280' -'35','val_35' -'35','val_35' -'35','val_35' -'427','val_427' -'427','val_427' -'427','val_427' -'277','val_277' -'277','val_277' -'277','val_277' -'208','val_208' -'208','val_208' -'208','val_208' -'356','val_356' -'356','val_356' -'356','val_356' -'399','val_399' -'399','val_399' -'399','val_399' -'169','val_169' -'169','val_169' -'169','val_169' -'382','val_382' -'382','val_382' -'382','val_382' -'498','val_498' -'498','val_498' -'498','val_498' -'125','val_125' -'125','val_125' -'125','val_125' -'386','val_386' -'386','val_386' -'386','val_386' -'437','val_437' -'437','val_437' -'437','val_437' -'469','val_469' -'469','val_469' -'469','val_469' -'192','val_192' -'192','val_192' -'192','val_192' -'286','val_286' -'286','val_286' -'286','val_286' -'187','val_187' -'187','val_187' -'187','val_187' -'176','val_176' -'176','val_176' -'176','val_176' -'54','val_54' -'54','val_54' -'54','val_54' -'459','val_459' -'459','val_459' -'459','val_459' -'51','val_51' -'51','val_51' -'51','val_51' -'138','val_138' -'138','val_138' -'138','val_138' -'103','val_103' -'103','val_103' -'103','val_103' -'239','val_239' -'239','val_239' -'239','val_239' -'213','val_213' -'213','val_213' -'213','val_213' -'216','val_216' -'216','val_216' -'216','val_216' -'430','val_430' -'430','val_430' -'430','val_430' -'278','val_278' -'278','val_278' -'278','val_278' -'176','val_176' -'176','val_176' -'176','val_176' -'289','val_289' -'289','val_289' -'289','val_289' -'221','val_221' -'221','val_221' -'221','val_221' -'65','val_65' -'65','val_65' -'65','val_65' -'318','val_318' -'318','val_318' -'318','val_318' -'332','val_332' -'332','val_332' -'332','val_332' -'311','val_311' -'311','val_311' -'311','val_311' -'275','val_275' -'275','val_275' -'275','val_275' -'137','val_137' -'137','val_137' -'137','val_137' -'241','val_241' -'241','val_241' -'241','val_241' -'83','val_83' -'83','val_83' -'83','val_83' -'333','val_333' -'333','val_333' -'333','val_333' -'180','val_180' -'180','val_180' -'180','val_180' -'284','val_284' -'284','val_284' -'284','val_284' -'12','val_12' -'12','val_12' -'12','val_12' -'230','val_230' -'230','val_230' -'230','val_230' -'181','val_181' -'181','val_181' -'181','val_181' -'67','val_67' -'67','val_67' -'67','val_67' -'260','val_260' -'260','val_260' -'260','val_260' -'404','val_404' -'404','val_404' -'404','val_404' -'384','val_384' -'384','val_384' -'384','val_384' -'489','val_489' -'489','val_489' -'489','val_489' -'353','val_353' -'353','val_353' -'353','val_353' -'373','val_373' -'373','val_373' -'373','val_373' -'272','val_272' -'272','val_272' -'272','val_272' -'138','val_138' -'138','val_138' -'138','val_138' -'217','val_217' -'217','val_217' -'217','val_217' -'84','val_84' -'84','val_84' -'84','val_84' -'348','val_348' -'348','val_348' -'348','val_348' -'466','val_466' -'466','val_466' -'466','val_466' -'58','val_58' -'58','val_58' -'58','val_58' -'8','val_8' -'8','val_8' -'8','val_8' -'411','val_411' -'411','val_411' -'411','val_411' -'230','val_230' -'230','val_230' -'230','val_230' -'208','val_208' -'208','val_208' -'208','val_208' -'348','val_348' -'348','val_348' -'348','val_348' -'24','val_24' -'24','val_24' -'24','val_24' -'463','val_463' -'463','val_463' -'463','val_463' -'431','val_431' -'431','val_431' -'431','val_431' -'179','val_179' -'179','val_179' -'179','val_179' -'172','val_172' -'172','val_172' -'172','val_172' -'42','val_42' -'42','val_42' -'42','val_42' -'129','val_129' -'129','val_129' -'129','val_129' -'158','val_158' -'158','val_158' -'158','val_158' -'119','val_119' -'119','val_119' -'119','val_119' -'496','val_496' -'496','val_496' -'496','val_496' -'0','val_0' -'0','val_0' -'0','val_0' -'322','val_322' -'322','val_322' -'322','val_322' -'197','val_197' -'197','val_197' -'197','val_197' -'468','val_468' -'468','val_468' -'468','val_468' -'393','val_393' -'393','val_393' -'393','val_393' -'454','val_454' -'454','val_454' -'454','val_454' -'100','val_100' -'100','val_100' -'100','val_100' -'298','val_298' -'298','val_298' -'298','val_298' -'199','val_199' -'199','val_199' -'199','val_199' -'191','val_191' -'191','val_191' -'191','val_191' -'418','val_418' -'418','val_418' -'418','val_418' -'96','val_96' -'96','val_96' -'96','val_96' -'26','val_26' -'26','val_26' -'26','val_26' -'165','val_165' -'165','val_165' -'165','val_165' -'327','val_327' -'327','val_327' -'327','val_327' -'230','val_230' -'230','val_230' -'230','val_230' -'205','val_205' -'205','val_205' -'205','val_205' -'120','val_120' -'120','val_120' -'120','val_120' -'131','val_131' -'131','val_131' -'131','val_131' -'51','val_51' -'51','val_51' -'51','val_51' -'404','val_404' -'404','val_404' -'404','val_404' -'43','val_43' -'43','val_43' -'43','val_43' -'436','val_436' -'436','val_436' -'436','val_436' -'156','val_156' -'156','val_156' -'156','val_156' -'469','val_469' -'469','val_469' -'469','val_469' -'468','val_468' -'468','val_468' -'468','val_468' -'308','val_308' -'308','val_308' -'308','val_308' -'95','val_95' -'95','val_95' -'95','val_95' -'196','val_196' -'196','val_196' -'196','val_196' -'288','val_288' -'288','val_288' -'288','val_288' -'481','val_481' -'481','val_481' -'481','val_481' -'457','val_457' -'457','val_457' -'457','val_457' -'98','val_98' -'98','val_98' -'98','val_98' -'282','val_282' -'282','val_282' -'282','val_282' -'197','val_197' -'197','val_197' -'197','val_197' -'187','val_187' -'187','val_187' -'187','val_187' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'318','val_318' -'409','val_409' -'409','val_409' -'409','val_409' -'470','val_470' -'470','val_470' -'470','val_470' -'137','val_137' -'137','val_137' -'137','val_137' -'369','val_369' -'369','val_369' -'369','val_369' -'316','val_316' -'316','val_316' -'316','val_316' -'169','val_169' -'169','val_169' -'169','val_169' -'413','val_413' -'413','val_413' -'413','val_413' -'85','val_85' -'85','val_85' -'85','val_85' -'77','val_77' -'77','val_77' -'77','val_77' -'0','val_0' -'0','val_0' -'0','val_0' -'490','val_490' -'490','val_490' -'490','val_490' -'87','val_87' -'87','val_87' -'87','val_87' -'364','val_364' -'364','val_364' -'364','val_364' -'179','val_179' -'179','val_179' -'179','val_179' -'118','val_118' -'118','val_118' -'118','val_118' -'134','val_134' -'134','val_134' -'134','val_134' -'395','val_395' -'395','val_395' -'395','val_395' -'282','val_282' -'282','val_282' -'282','val_282' -'138','val_138' -'138','val_138' -'138','val_138' -'238','val_238' -'238','val_238' -'238','val_238' -'419','val_419' -'419','val_419' -'419','val_419' -'15','val_15' -'15','val_15' -'15','val_15' -'118','val_118' -'118','val_118' -'118','val_118' -'72','val_72' -'72','val_72' -'72','val_72' -'90','val_90' -'90','val_90' -'90','val_90' -'307','val_307' -'307','val_307' -'307','val_307' -'19','val_19' -'19','val_19' -'19','val_19' -'435','val_435' -'435','val_435' -'435','val_435' -'10','val_10' -'10','val_10' -'10','val_10' -'277','val_277' -'277','val_277' -'277','val_277' -'273','val_273' -'273','val_273' -'273','val_273' -'306','val_306' -'306','val_306' -'306','val_306' -'224','val_224' -'224','val_224' -'224','val_224' -'309','val_309' -'309','val_309' -'309','val_309' -'389','val_389' -'389','val_389' -'389','val_389' -'327','val_327' -'327','val_327' -'327','val_327' -'242','val_242' -'242','val_242' -'242','val_242' -'369','val_369' -'369','val_369' -'369','val_369' -'392','val_392' -'392','val_392' -'392','val_392' -'272','val_272' -'272','val_272' -'272','val_272' -'331','val_331' -'331','val_331' -'331','val_331' -'401','val_401' -'401','val_401' -'401','val_401' -'242','val_242' -'242','val_242' -'242','val_242' -'452','val_452' -'452','val_452' -'452','val_452' -'177','val_177' -'177','val_177' -'177','val_177' -'226','val_226' -'226','val_226' -'226','val_226' -'5','val_5' -'5','val_5' -'5','val_5' -'497','val_497' -'497','val_497' -'497','val_497' -'402','val_402' -'402','val_402' -'402','val_402' -'396','val_396' -'396','val_396' -'396','val_396' -'317','val_317' -'317','val_317' -'317','val_317' -'395','val_395' -'395','val_395' -'395','val_395' -'58','val_58' -'58','val_58' -'58','val_58' -'35','val_35' -'35','val_35' -'35','val_35' -'336','val_336' -'336','val_336' -'336','val_336' -'95','val_95' -'95','val_95' -'95','val_95' -'11','val_11' -'11','val_11' -'11','val_11' -'168','val_168' -'168','val_168' -'168','val_168' -'34','val_34' -'34','val_34' -'34','val_34' -'229','val_229' -'229','val_229' -'229','val_229' -'233','val_233' -'233','val_233' -'233','val_233' -'143','val_143' -'143','val_143' -'143','val_143' -'472','val_472' -'472','val_472' -'472','val_472' -'322','val_322' -'322','val_322' -'322','val_322' -'498','val_498' -'498','val_498' -'498','val_498' -'160','val_160' -'160','val_160' -'160','val_160' -'195','val_195' -'195','val_195' -'195','val_195' -'42','val_42' -'42','val_42' -'42','val_42' -'321','val_321' -'321','val_321' -'321','val_321' -'430','val_430' -'430','val_430' -'430','val_430' -'119','val_119' -'119','val_119' -'119','val_119' -'489','val_489' -'489','val_489' -'489','val_489' -'458','val_458' -'458','val_458' -'458','val_458' -'78','val_78' -'78','val_78' -'78','val_78' -'76','val_76' -'76','val_76' -'76','val_76' -'41','val_41' -'41','val_41' -'41','val_41' -'223','val_223' -'223','val_223' -'223','val_223' -'492','val_492' -'492','val_492' -'492','val_492' -'149','val_149' -'149','val_149' -'149','val_149' -'449','val_449' -'449','val_449' -'449','val_449' -'218','val_218' -'218','val_218' -'218','val_218' -'228','val_228' -'228','val_228' -'228','val_228' -'138','val_138' -'138','val_138' -'138','val_138' -'453','val_453' -'453','val_453' -'453','val_453' -'30','val_30' -'30','val_30' -'30','val_30' -'209','val_209' -'209','val_209' -'209','val_209' -'64','val_64' -'64','val_64' -'64','val_64' -'468','val_468' -'468','val_468' -'468','val_468' -'76','val_76' -'76','val_76' -'76','val_76' -'74','val_74' -'74','val_74' -'74','val_74' -'342','val_342' -'342','val_342' -'342','val_342' -'69','val_69' -'69','val_69' -'69','val_69' -'230','val_230' -'230','val_230' -'230','val_230' -'33','val_33' -'33','val_33' -'33','val_33' -'368','val_368' -'368','val_368' -'368','val_368' -'103','val_103' -'103','val_103' -'103','val_103' -'296','val_296' -'296','val_296' -'296','val_296' -'113','val_113' -'113','val_113' -'113','val_113' -'216','val_216' -'216','val_216' -'216','val_216' -'367','val_367' -'367','val_367' -'367','val_367' -'344','val_344' -'344','val_344' -'344','val_344' -'167','val_167' -'167','val_167' -'167','val_167' -'274','val_274' -'274','val_274' -'274','val_274' -'219','val_219' -'219','val_219' -'219','val_219' -'239','val_239' -'239','val_239' -'239','val_239' -'485','val_485' -'485','val_485' -'485','val_485' -'116','val_116' -'116','val_116' -'116','val_116' -'223','val_223' -'223','val_223' -'223','val_223' -'256','val_256' -'256','val_256' -'256','val_256' -'263','val_263' -'263','val_263' -'263','val_263' -'70','val_70' -'70','val_70' -'70','val_70' -'487','val_487' -'487','val_487' -'487','val_487' -'480','val_480' -'480','val_480' -'480','val_480' -'401','val_401' -'401','val_401' -'401','val_401' -'288','val_288' -'288','val_288' -'288','val_288' -'191','val_191' -'191','val_191' -'191','val_191' -'5','val_5' -'5','val_5' -'5','val_5' -'244','val_244' -'244','val_244' -'244','val_244' -'438','val_438' -'438','val_438' -'438','val_438' -'128','val_128' -'128','val_128' -'128','val_128' -'467','val_467' -'467','val_467' -'467','val_467' -'432','val_432' -'432','val_432' -'432','val_432' -'202','val_202' -'202','val_202' -'202','val_202' -'316','val_316' -'316','val_316' -'316','val_316' -'229','val_229' -'229','val_229' -'229','val_229' -'469','val_469' -'469','val_469' -'469','val_469' -'463','val_463' -'463','val_463' -'463','val_463' -'280','val_280' -'280','val_280' -'280','val_280' -'2','val_2' -'2','val_2' -'2','val_2' -'35','val_35' -'35','val_35' -'35','val_35' -'283','val_283' -'283','val_283' -'283','val_283' -'331','val_331' -'331','val_331' -'331','val_331' -'235','val_235' -'235','val_235' -'235','val_235' -'80','val_80' -'80','val_80' -'80','val_80' -'44','val_44' -'44','val_44' -'44','val_44' -'193','val_193' -'193','val_193' -'193','val_193' -'321','val_321' -'321','val_321' -'321','val_321' -'335','val_335' -'335','val_335' -'335','val_335' -'104','val_104' -'104','val_104' -'104','val_104' -'466','val_466' -'466','val_466' -'466','val_466' -'366','val_366' -'366','val_366' -'366','val_366' -'175','val_175' -'175','val_175' -'175','val_175' -'403','val_403' -'403','val_403' -'403','val_403' -'483','val_483' -'483','val_483' -'483','val_483' -'53','val_53' -'53','val_53' -'53','val_53' -'105','val_105' -'105','val_105' -'105','val_105' -'257','val_257' -'257','val_257' -'257','val_257' -'406','val_406' -'406','val_406' -'406','val_406' -'409','val_409' -'409','val_409' -'409','val_409' -'190','val_190' -'190','val_190' -'190','val_190' -'406','val_406' -'406','val_406' -'406','val_406' -'401','val_401' -'401','val_401' -'401','val_401' -'114','val_114' -'114','val_114' -'114','val_114' -'258','val_258' -'258','val_258' -'258','val_258' -'90','val_90' -'90','val_90' -'90','val_90' -'203','val_203' -'203','val_203' -'203','val_203' -'262','val_262' -'262','val_262' -'262','val_262' -'348','val_348' -'348','val_348' -'348','val_348' -'424','val_424' -'424','val_424' -'424','val_424' -'12','val_12' -'12','val_12' -'12','val_12' -'396','val_396' -'396','val_396' -'396','val_396' -'201','val_201' -'201','val_201' -'201','val_201' -'217','val_217' -'217','val_217' -'217','val_217' -'164','val_164' -'164','val_164' -'164','val_164' -'431','val_431' -'431','val_431' -'431','val_431' -'454','val_454' -'454','val_454' -'454','val_454' -'478','val_478' -'478','val_478' -'478','val_478' -'298','val_298' -'298','val_298' -'298','val_298' -'125','val_125' -'125','val_125' -'125','val_125' -'431','val_431' -'431','val_431' -'431','val_431' -'164','val_164' -'164','val_164' -'164','val_164' -'424','val_424' -'424','val_424' -'424','val_424' -'187','val_187' -'187','val_187' -'187','val_187' -'382','val_382' -'382','val_382' -'382','val_382' -'5','val_5' -'5','val_5' -'5','val_5' -'70','val_70' -'70','val_70' -'70','val_70' -'397','val_397' -'397','val_397' -'397','val_397' -'480','val_480' -'480','val_480' -'480','val_480' -'291','val_291' -'291','val_291' -'291','val_291' -'24','val_24' -'24','val_24' -'24','val_24' -'351','val_351' -'351','val_351' -'351','val_351' -'255','val_255' -'255','val_255' -'255','val_255' -'104','val_104' -'104','val_104' -'104','val_104' -'70','val_70' -'70','val_70' -'70','val_70' -'163','val_163' -'163','val_163' -'163','val_163' -'438','val_438' -'438','val_438' -'438','val_438' -'119','val_119' -'119','val_119' -'119','val_119' -'414','val_414' -'414','val_414' -'414','val_414' -'200','val_200' -'200','val_200' -'200','val_200' -'491','val_491' -'491','val_491' -'491','val_491' -'237','val_237' -'237','val_237' -'237','val_237' -'439','val_439' -'439','val_439' -'439','val_439' -'360','val_360' -'360','val_360' -'360','val_360' -'248','val_248' -'248','val_248' -'248','val_248' -'479','val_479' -'479','val_479' -'479','val_479' -'305','val_305' -'305','val_305' -'305','val_305' -'417','val_417' -'417','val_417' -'417','val_417' -'199','val_199' -'199','val_199' -'199','val_199' -'444','val_444' -'444','val_444' -'444','val_444' -'120','val_120' -'120','val_120' -'120','val_120' -'429','val_429' -'429','val_429' -'429','val_429' -'169','val_169' -'169','val_169' -'169','val_169' -'443','val_443' -'443','val_443' -'443','val_443' -'323','val_323' -'323','val_323' -'323','val_323' -'325','val_325' -'325','val_325' -'325','val_325' -'277','val_277' -'277','val_277' -'277','val_277' -'230','val_230' -'230','val_230' -'230','val_230' -'478','val_478' -'478','val_478' -'478','val_478' -'178','val_178' -'178','val_178' -'178','val_178' -'468','val_468' -'468','val_468' -'468','val_468' -'310','val_310' -'310','val_310' -'310','val_310' -'317','val_317' -'317','val_317' -'317','val_317' -'333','val_333' -'333','val_333' -'333','val_333' -'493','val_493' -'493','val_493' -'493','val_493' -'460','val_460' -'460','val_460' -'460','val_460' -'207','val_207' -'207','val_207' -'207','val_207' -'249','val_249' -'249','val_249' -'249','val_249' -'265','val_265' -'265','val_265' -'265','val_265' -'480','val_480' -'480','val_480' -'480','val_480' -'83','val_83' -'83','val_83' -'83','val_83' -'136','val_136' -'136','val_136' -'136','val_136' -'353','val_353' -'353','val_353' -'353','val_353' -'172','val_172' -'172','val_172' -'172','val_172' -'214','val_214' -'214','val_214' -'214','val_214' -'462','val_462' -'462','val_462' -'462','val_462' -'233','val_233' -'233','val_233' -'233','val_233' -'406','val_406' -'406','val_406' -'406','val_406' -'133','val_133' -'133','val_133' -'133','val_133' -'175','val_175' -'175','val_175' -'175','val_175' -'189','val_189' -'189','val_189' -'189','val_189' -'454','val_454' -'454','val_454' -'454','val_454' -'375','val_375' -'375','val_375' -'375','val_375' -'401','val_401' -'401','val_401' -'401','val_401' -'421','val_421' -'421','val_421' -'421','val_421' -'407','val_407' -'407','val_407' -'407','val_407' -'384','val_384' -'384','val_384' -'384','val_384' -'256','val_256' -'256','val_256' -'256','val_256' -'26','val_26' -'26','val_26' -'26','val_26' -'134','val_134' -'134','val_134' -'134','val_134' -'67','val_67' -'67','val_67' -'67','val_67' -'384','val_384' -'384','val_384' -'384','val_384' -'379','val_379' -'379','val_379' -'379','val_379' -'18','val_18' -'18','val_18' -'18','val_18' -'462','val_462' -'462','val_462' -'462','val_462' -'492','val_492' -'492','val_492' -'492','val_492' -'100','val_100' -'100','val_100' -'100','val_100' -'298','val_298' -'298','val_298' -'298','val_298' -'9','val_9' -'9','val_9' -'9','val_9' -'341','val_341' -'341','val_341' -'341','val_341' -'498','val_498' -'498','val_498' -'498','val_498' -'146','val_146' -'146','val_146' -'146','val_146' -'458','val_458' -'458','val_458' -'458','val_458' -'362','val_362' -'362','val_362' -'362','val_362' -'186','val_186' -'186','val_186' -'186','val_186' -'285','val_285' -'285','val_285' -'285','val_285' -'348','val_348' -'348','val_348' -'348','val_348' -'167','val_167' -'167','val_167' -'167','val_167' -'18','val_18' -'18','val_18' -'18','val_18' -'273','val_273' -'273','val_273' -'273','val_273' -'183','val_183' -'183','val_183' -'183','val_183' -'281','val_281' -'281','val_281' -'281','val_281' -'344','val_344' -'344','val_344' -'344','val_344' -'97','val_97' -'97','val_97' -'97','val_97' -'469','val_469' -'469','val_469' -'469','val_469' -'315','val_315' -'315','val_315' -'315','val_315' -'84','val_84' -'84','val_84' -'84','val_84' -'28','val_28' -'28','val_28' -'28','val_28' -'37','val_37' -'37','val_37' -'37','val_37' -'448','val_448' -'448','val_448' -'448','val_448' -'152','val_152' -'152','val_152' -'152','val_152' -'348','val_348' -'348','val_348' -'348','val_348' -'307','val_307' -'307','val_307' -'307','val_307' -'194','val_194' -'194','val_194' -'194','val_194' -'414','val_414' -'414','val_414' -'414','val_414' -'477','val_477' -'477','val_477' -'477','val_477' -'222','val_222' -'222','val_222' -'222','val_222' -'126','val_126' -'126','val_126' -'126','val_126' -'90','val_90' -'90','val_90' -'90','val_90' -'169','val_169' -'169','val_169' -'169','val_169' -'403','val_403' -'403','val_403' -'403','val_403' -'400','val_400' -'400','val_400' -'400','val_400' -'200','val_200' -'200','val_200' -'200','val_200' -'97','val_97' -'97','val_97' -'97','val_97' -1,500 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/union9.q.out ql/src/test/results/beelinepositive/union9.q.out deleted file mode 100644 index 3bfdfa7..0000000 --- ql/src/test/results/beelinepositive/union9.q.out +++ /dev/null @@ -1,125 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/union9.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/union9.q ->>> -- union case: all subqueries are a map-only jobs, 3 way union, same input for all sub-queries, followed by reducesink ->>> ->>> explain -select count(1) FROM (select s1.key as key, s1.value as value from src s1 UNION ALL -select s2.key as key, s2.value as value from src s2 UNION ALL -select s3.key as key, s3.value as value from src s3) unionsrc; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) s1)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL s1) key) key) (TOK_SELEXPR (. (TOK_TABLE_OR_COL s1) value) value)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) s2)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL s2) key) key) (TOK_SELEXPR (. (TOK_TABLE_OR_COL s2) value) value))))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) s3)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL s3) key) key) (TOK_SELEXPR (. (TOK_TABLE_OR_COL s3) value) value))))) unionsrc)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1-subquery1:unionsrc-subquery1-subquery1:s1 ' -' TableScan' -' alias: s1' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' null-subquery1-subquery2:unionsrc-subquery1-subquery2:s2 ' -' TableScan' -' alias: s2' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' null-subquery2:unionsrc-subquery2:s3 ' -' TableScan' -' alias: s3' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' outputColumnNames: _col0, _col1' -' Union' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -107 rows selected ->>> ->>> select count(1) FROM (select s1.key as key, s1.value as value from src s1 UNION ALL -select s2.key as key, s2.value as value from src s2 UNION ALL -select s3.key as key, s3.value as value from src s3) unionsrc; -'_c0' -'1500' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/union_lateralview.q.out ql/src/test/results/beelinepositive/union_lateralview.q.out deleted file mode 100644 index 7deed7c..0000000 --- ql/src/test/results/beelinepositive/union_lateralview.q.out +++ /dev/null @@ -1,306 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/union_lateralview.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/union_lateralview.q ->>> ->>> create table test_union_lateral_view(key int, arr_ele int, value string); -No rows affected ->>> ->>> EXPLAIN -INSERT OVERWRITE TABLE test_union_lateral_view -SELECT b.key, d.arr_ele, d.value -FROM ( -SELECT c.arr_ele as arr_ele, a.key as key, a.value as value -FROM ( -SELECT key, value, array(1,2,3) as arr -FROM src - -UNION ALL - -SELECT key, value, array(1,2,3) as arr -FROM srcpart -WHERE ds = '2008-04-08' and hr='12' -) a LATERAL VIEW EXPLODE(arr) c AS arr_ele -) d -LEFT OUTER JOIN src b -ON d.key = b.key -; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_LATERAL_VIEW (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION EXPLODE (TOK_TABLE_OR_COL arr)) arr_ele (TOK_TABALIAS c))) (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_FUNCTION array 1 2 3) arr)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME srcpart))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_FUNCTION array 1 2 3) arr)) (TOK_WHERE (and (= (TOK_TABLE_OR_COL ds) '2008-04-08') (= (TOK_TABLE_OR_COL hr) '12')))))) a))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL c) arr_ele) arr_ele) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key) key) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value) value)))) d) (TOK_TABREF (TOK_TABNAME src) b) (= (. (TOK_TABLE_OR_COL d) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_TAB (TOK_TABNAME test_union_lateral_view))) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL d) arr_ele)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL d) value)))))' -'' -'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' -' Alias -> Map Operator Tree:' -' b ' -' TableScan' -' alias: b' -' Reduce Output Operator' -' key expressions:' -' expr: key' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: key' -' type: string' -' tag: 1' -' value expressions:' -' expr: key' -' type: string' -' d-subquery1:a-subquery1:src ' -' TableScan' -' alias: src' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: array(1,2,3)' -' type: array' -' outputColumnNames: _col0, _col1, _col2' -' Union' -' Lateral View Forward' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Lateral View Join Operator' -' outputColumnNames: _col0, _col1, _col3' -' Select Operator' -' expressions:' -' expr: _col3' -' type: int' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col1' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col2' -' type: string' -' Select Operator' -' expressions:' -' expr: _col2' -' type: array' -' outputColumnNames: _col0' -' UDTF Operator' -' function name: explode' -' Lateral View Join Operator' -' outputColumnNames: _col0, _col1, _col3' -' Select Operator' -' expressions:' -' expr: _col3' -' type: int' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col1' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col2' -' type: string' -' d-subquery2:a-subquery2:srcpart ' -' TableScan' -' alias: srcpart' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: array(1,2,3)' -' type: array' -' outputColumnNames: _col0, _col1, _col2' -' Union' -' Lateral View Forward' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1' -' Lateral View Join Operator' -' outputColumnNames: _col0, _col1, _col3' -' Select Operator' -' expressions:' -' expr: _col3' -' type: int' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col1' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col2' -' type: string' -' Select Operator' -' expressions:' -' expr: _col2' -' type: array' -' outputColumnNames: _col0' -' UDTF Operator' -' function name: explode' -' Lateral View Join Operator' -' outputColumnNames: _col0, _col1, _col3' -' Select Operator' -' expressions:' -' expr: _col3' -' type: int' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col1' -' type: string' -' sort order: +' -' Map-reduce partition columns:' -' expr: _col1' -' type: string' -' tag: 0' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col2' -' type: string' -' Reduce Operator Tree:' -' Join Operator' -' condition map:' -' Left Outer Join0 to 1' -' condition expressions:' -' 0 {VALUE._col0} {VALUE._col2}' -' 1 {VALUE._col0}' -' handleSkewJoin: false' -' outputColumnNames: _col0, _col2, _col3' -' Select Operator' -' expressions:' -' expr: _col3' -' type: string' -' expr: _col0' -' type: int' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: UDFToInteger(_col0)' -' type: int' -' expr: _col1' -' type: int' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' 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: union_lateralview.test_union_lateral_view' -'' -' 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: union_lateralview.test_union_lateral_view' -'' -' Stage: Stage-2' -' Stats-Aggr Operator' -'' -'' -233 rows selected ->>> ->>> INSERT OVERWRITE TABLE test_union_lateral_view -SELECT b.key, d.arr_ele, d.value -FROM ( -SELECT c.arr_ele as arr_ele, a.key as key, a.value as value -FROM ( -SELECT key, value, array(1,2,3) as arr -FROM src - -UNION ALL - -SELECT key, value, array(1,2,3) as arr -FROM srcpart -WHERE ds = '2008-04-08' and hr='12' -) a LATERAL VIEW EXPLODE(arr) c AS arr_ele -) d -LEFT OUTER JOIN src b -ON d.key = b.key -; -'_col0','_col1','_col2' -No rows selected ->>> ->>> select key, arr_ele, value from test_union_lateral_view order by key, arr_ele limit 20; -'key','arr_ele','value' -'0','1','val_0' -'0','1','val_0' -'0','1','val_0' -'0','1','val_0' -'0','1','val_0' -'0','1','val_0' -'0','1','val_0' -'0','1','val_0' -'0','1','val_0' -'0','1','val_0' -'0','1','val_0' -'0','1','val_0' -'0','1','val_0' -'0','1','val_0' -'0','1','val_0' -'0','1','val_0' -'0','1','val_0' -'0','1','val_0' -'0','2','val_0' -'0','2','val_0' -20 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/union_null.q.out ql/src/test/results/beelinepositive/union_null.q.out deleted file mode 100644 index dc67e65..0000000 --- ql/src/test/results/beelinepositive/union_null.q.out +++ /dev/null @@ -1,54 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/union_null.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/union_null.q ->>> -- HIVE-2901 ->>> select x from (select value as x from src union all select NULL as x from src)a limit 10; -'x' -'val_238' -'' -'val_86' -'' -'val_311' -'' -'val_27' -'' -'val_165' -'' -10 rows selected ->>> ->>> -- HIVE-4837 ->>> select * from (select null as N from src1 group by key UNION ALL select null as N from src1 group by key ) a; -'n' -'' -'' -'' -'' -'' -'' -'' -'' -'' -'' -'' -'' -'' -'' -'' -'' -'' -'' -'' -'' -'' -'' -'' -'' -'' -'' -'' -'' -'' -'' -'' -'' -32 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/union_ppr.q.out ql/src/test/results/beelinepositive/union_ppr.q.out deleted file mode 100644 index 672d2c2..0000000 --- ql/src/test/results/beelinepositive/union_ppr.q.out +++ /dev/null @@ -1,608 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/union_ppr.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/union_ppr.q ->>> EXPLAIN EXTENDED -SELECT * FROM ( -SELECT X.* FROM SRCPART X WHERE X.key < 100 -UNION ALL -SELECT Y.* FROM SRCPART Y WHERE Y.key < 100 -) A -WHERE A.ds = '2008-04-08' -SORT BY A.key, A.value, A.ds, A.hr; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_UNION (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME SRCPART) X)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME X)))) (TOK_WHERE (< (. (TOK_TABLE_OR_COL X) key) 100)))) (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME SRCPART) Y)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_ALLCOLREF (TOK_TABNAME Y)))) (TOK_WHERE (< (. (TOK_TABLE_OR_COL Y) key) 100))))) A)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_WHERE (= (. (TOK_TABLE_OR_COL A) ds) '2008-04-08')) (TOK_SORTBY (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL A) key)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL A) value)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL A) ds)) (TOK_TABSORTCOLNAMEASC (. (TOK_TABLE_OR_COL A) hr)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-1 is a root stage' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' null-subquery1:a-subquery1:x ' -' TableScan' -' alias: x' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (key < 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' sort order: ++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' null-subquery2:a-subquery2:y ' -' TableScan' -' alias: y' -' GatherStats: false' -' Filter Operator' -' isSamplingPred: false' -' predicate:' -' expr: (key < 100.0)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: string' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' expr: hr' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' outputColumnNames: _col0, _col1, _col2, _col3' -' Reduce Output Operator' -' key expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' sort order: ++++' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: string' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' expr: _col3' -' type: string' -' Needs Tagging: false' -' Path -> Alias:' -' !!{hive.metastore.warehouse.dir}!!/union_ppr.db/srcpart/ds=2008-04-08/hr=11 [null-subquery1:a-subquery1:x, null-subquery2:a-subquery2:y]' -' !!{hive.metastore.warehouse.dir}!!/union_ppr.db/srcpart/ds=2008-04-08/hr=12 [null-subquery1:a-subquery1:x, null-subquery2:a-subquery2:y]' -' Path -> Partition:' -' !!{hive.metastore.warehouse.dir}!!/union_ppr.db/srcpart/ds=2008-04-08/hr=11 ' -' Partition' -' base file name: hr=11' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 11' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/union_ppr.db/srcpart/ds=2008-04-08/hr=11' -' name union_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/union_ppr.db/srcpart' -' name union_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: union_ppr.srcpart' -' name: union_ppr.srcpart' -' !!{hive.metastore.warehouse.dir}!!/union_ppr.db/srcpart/ds=2008-04-08/hr=12 ' -' Partition' -' base file name: hr=12' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' partition values:' -' ds 2008-04-08' -' hr 12' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/union_ppr.db/srcpart/ds=2008-04-08/hr=12' -' name union_ppr.srcpart' -' numFiles 1' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 5812' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' ' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' bucket_count -1' -' columns key,value' -' columns.types string:string' -' file.inputformat org.apache.hadoop.mapred.TextInputFormat' -' file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' location !!{hive.metastore.warehouse.dir}!!/union_ppr.db/srcpart' -' name union_ppr.srcpart' -' numFiles 4' -' numPartitions 4' -' numRows 0' -' partition_columns ds/hr' -' rawDataSize 0' -' serialization.ddl struct srcpart { string key, string value}' -' serialization.format 1' -' serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' totalSize 23248' -' transient_lastDdlTime !!UNIXTIME!!' -' serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' -' name: union_ppr.srcpart' -' name: union_ppr.srcpart' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' directory: file:!!{hive.exec.scratchdir}!!' -' NumFilesPerFileSink: 1' -' Stats Publishing Key Prefix: file:!!{hive.exec.scratchdir}!!' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' properties:' -' columns _col0,_col1,_col2,_col3' -' columns.types string:string:string:string' -' escape.delim \' -' serialization.format 1' -' TotalFiles: 1' -' GatherStats: false' -' MultiFileSpray: false' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -249 rows selected ->>> ->>> SELECT * FROM ( -SELECT X.* FROM SRCPART X WHERE X.key < 100 -UNION ALL -SELECT Y.* FROM SRCPART Y WHERE Y.key < 100 -) A -WHERE A.ds = '2008-04-08' -SORT BY A.key, A.value, A.ds, A.hr; -'key','value','ds','hr' -'0','val_0','2008-04-08','11' -'0','val_0','2008-04-08','11' -'0','val_0','2008-04-08','11' -'0','val_0','2008-04-08','11' -'0','val_0','2008-04-08','11' -'0','val_0','2008-04-08','11' -'0','val_0','2008-04-08','12' -'0','val_0','2008-04-08','12' -'0','val_0','2008-04-08','12' -'0','val_0','2008-04-08','12' -'0','val_0','2008-04-08','12' -'0','val_0','2008-04-08','12' -'10','val_10','2008-04-08','11' -'10','val_10','2008-04-08','11' -'10','val_10','2008-04-08','12' -'10','val_10','2008-04-08','12' -'11','val_11','2008-04-08','11' -'11','val_11','2008-04-08','11' -'11','val_11','2008-04-08','12' -'11','val_11','2008-04-08','12' -'12','val_12','2008-04-08','11' -'12','val_12','2008-04-08','11' -'12','val_12','2008-04-08','11' -'12','val_12','2008-04-08','11' -'12','val_12','2008-04-08','12' -'12','val_12','2008-04-08','12' -'12','val_12','2008-04-08','12' -'12','val_12','2008-04-08','12' -'15','val_15','2008-04-08','11' -'15','val_15','2008-04-08','11' -'15','val_15','2008-04-08','11' -'15','val_15','2008-04-08','11' -'15','val_15','2008-04-08','12' -'15','val_15','2008-04-08','12' -'15','val_15','2008-04-08','12' -'15','val_15','2008-04-08','12' -'17','val_17','2008-04-08','11' -'17','val_17','2008-04-08','11' -'17','val_17','2008-04-08','12' -'17','val_17','2008-04-08','12' -'18','val_18','2008-04-08','11' -'18','val_18','2008-04-08','11' -'18','val_18','2008-04-08','11' -'18','val_18','2008-04-08','11' -'18','val_18','2008-04-08','12' -'18','val_18','2008-04-08','12' -'18','val_18','2008-04-08','12' -'18','val_18','2008-04-08','12' -'19','val_19','2008-04-08','11' -'19','val_19','2008-04-08','11' -'19','val_19','2008-04-08','12' -'19','val_19','2008-04-08','12' -'2','val_2','2008-04-08','11' -'2','val_2','2008-04-08','11' -'2','val_2','2008-04-08','12' -'2','val_2','2008-04-08','12' -'20','val_20','2008-04-08','11' -'20','val_20','2008-04-08','11' -'20','val_20','2008-04-08','12' -'20','val_20','2008-04-08','12' -'24','val_24','2008-04-08','11' -'24','val_24','2008-04-08','11' -'24','val_24','2008-04-08','11' -'24','val_24','2008-04-08','11' -'24','val_24','2008-04-08','12' -'24','val_24','2008-04-08','12' -'24','val_24','2008-04-08','12' -'24','val_24','2008-04-08','12' -'26','val_26','2008-04-08','11' -'26','val_26','2008-04-08','11' -'26','val_26','2008-04-08','11' -'26','val_26','2008-04-08','11' -'26','val_26','2008-04-08','12' -'26','val_26','2008-04-08','12' -'26','val_26','2008-04-08','12' -'26','val_26','2008-04-08','12' -'27','val_27','2008-04-08','11' -'27','val_27','2008-04-08','11' -'27','val_27','2008-04-08','12' -'27','val_27','2008-04-08','12' -'28','val_28','2008-04-08','11' -'28','val_28','2008-04-08','11' -'28','val_28','2008-04-08','12' -'28','val_28','2008-04-08','12' -'30','val_30','2008-04-08','11' -'30','val_30','2008-04-08','11' -'30','val_30','2008-04-08','12' -'30','val_30','2008-04-08','12' -'33','val_33','2008-04-08','11' -'33','val_33','2008-04-08','11' -'33','val_33','2008-04-08','12' -'33','val_33','2008-04-08','12' -'34','val_34','2008-04-08','11' -'34','val_34','2008-04-08','11' -'34','val_34','2008-04-08','12' -'34','val_34','2008-04-08','12' -'35','val_35','2008-04-08','11' -'35','val_35','2008-04-08','11' -'35','val_35','2008-04-08','11' -'35','val_35','2008-04-08','11' -'35','val_35','2008-04-08','11' -'35','val_35','2008-04-08','11' -'35','val_35','2008-04-08','12' -'35','val_35','2008-04-08','12' -'35','val_35','2008-04-08','12' -'35','val_35','2008-04-08','12' -'35','val_35','2008-04-08','12' -'35','val_35','2008-04-08','12' -'37','val_37','2008-04-08','11' -'37','val_37','2008-04-08','11' -'37','val_37','2008-04-08','11' -'37','val_37','2008-04-08','11' -'37','val_37','2008-04-08','12' -'37','val_37','2008-04-08','12' -'37','val_37','2008-04-08','12' -'37','val_37','2008-04-08','12' -'4','val_4','2008-04-08','11' -'4','val_4','2008-04-08','11' -'4','val_4','2008-04-08','12' -'4','val_4','2008-04-08','12' -'41','val_41','2008-04-08','11' -'41','val_41','2008-04-08','11' -'41','val_41','2008-04-08','12' -'41','val_41','2008-04-08','12' -'42','val_42','2008-04-08','11' -'42','val_42','2008-04-08','11' -'42','val_42','2008-04-08','11' -'42','val_42','2008-04-08','11' -'42','val_42','2008-04-08','12' -'42','val_42','2008-04-08','12' -'42','val_42','2008-04-08','12' -'42','val_42','2008-04-08','12' -'43','val_43','2008-04-08','11' -'43','val_43','2008-04-08','11' -'43','val_43','2008-04-08','12' -'43','val_43','2008-04-08','12' -'44','val_44','2008-04-08','11' -'44','val_44','2008-04-08','11' -'44','val_44','2008-04-08','12' -'44','val_44','2008-04-08','12' -'47','val_47','2008-04-08','11' -'47','val_47','2008-04-08','11' -'47','val_47','2008-04-08','12' -'47','val_47','2008-04-08','12' -'5','val_5','2008-04-08','11' -'5','val_5','2008-04-08','11' -'5','val_5','2008-04-08','11' -'5','val_5','2008-04-08','11' -'5','val_5','2008-04-08','11' -'5','val_5','2008-04-08','11' -'5','val_5','2008-04-08','12' -'5','val_5','2008-04-08','12' -'5','val_5','2008-04-08','12' -'5','val_5','2008-04-08','12' -'5','val_5','2008-04-08','12' -'5','val_5','2008-04-08','12' -'51','val_51','2008-04-08','11' -'51','val_51','2008-04-08','11' -'51','val_51','2008-04-08','11' -'51','val_51','2008-04-08','11' -'51','val_51','2008-04-08','12' -'51','val_51','2008-04-08','12' -'51','val_51','2008-04-08','12' -'51','val_51','2008-04-08','12' -'53','val_53','2008-04-08','11' -'53','val_53','2008-04-08','11' -'53','val_53','2008-04-08','12' -'53','val_53','2008-04-08','12' -'54','val_54','2008-04-08','11' -'54','val_54','2008-04-08','11' -'54','val_54','2008-04-08','12' -'54','val_54','2008-04-08','12' -'57','val_57','2008-04-08','11' -'57','val_57','2008-04-08','11' -'57','val_57','2008-04-08','12' -'57','val_57','2008-04-08','12' -'58','val_58','2008-04-08','11' -'58','val_58','2008-04-08','11' -'58','val_58','2008-04-08','11' -'58','val_58','2008-04-08','11' -'58','val_58','2008-04-08','12' -'58','val_58','2008-04-08','12' -'58','val_58','2008-04-08','12' -'58','val_58','2008-04-08','12' -'64','val_64','2008-04-08','11' -'64','val_64','2008-04-08','11' -'64','val_64','2008-04-08','12' -'64','val_64','2008-04-08','12' -'65','val_65','2008-04-08','11' -'65','val_65','2008-04-08','11' -'65','val_65','2008-04-08','12' -'65','val_65','2008-04-08','12' -'66','val_66','2008-04-08','11' -'66','val_66','2008-04-08','11' -'66','val_66','2008-04-08','12' -'66','val_66','2008-04-08','12' -'67','val_67','2008-04-08','11' -'67','val_67','2008-04-08','11' -'67','val_67','2008-04-08','11' -'67','val_67','2008-04-08','11' -'67','val_67','2008-04-08','12' -'67','val_67','2008-04-08','12' -'67','val_67','2008-04-08','12' -'67','val_67','2008-04-08','12' -'69','val_69','2008-04-08','11' -'69','val_69','2008-04-08','11' -'69','val_69','2008-04-08','12' -'69','val_69','2008-04-08','12' -'70','val_70','2008-04-08','11' -'70','val_70','2008-04-08','11' -'70','val_70','2008-04-08','11' -'70','val_70','2008-04-08','11' -'70','val_70','2008-04-08','11' -'70','val_70','2008-04-08','11' -'70','val_70','2008-04-08','12' -'70','val_70','2008-04-08','12' -'70','val_70','2008-04-08','12' -'70','val_70','2008-04-08','12' -'70','val_70','2008-04-08','12' -'70','val_70','2008-04-08','12' -'72','val_72','2008-04-08','11' -'72','val_72','2008-04-08','11' -'72','val_72','2008-04-08','11' -'72','val_72','2008-04-08','11' -'72','val_72','2008-04-08','12' -'72','val_72','2008-04-08','12' -'72','val_72','2008-04-08','12' -'72','val_72','2008-04-08','12' -'74','val_74','2008-04-08','11' -'74','val_74','2008-04-08','11' -'74','val_74','2008-04-08','12' -'74','val_74','2008-04-08','12' -'76','val_76','2008-04-08','11' -'76','val_76','2008-04-08','11' -'76','val_76','2008-04-08','11' -'76','val_76','2008-04-08','11' -'76','val_76','2008-04-08','12' -'76','val_76','2008-04-08','12' -'76','val_76','2008-04-08','12' -'76','val_76','2008-04-08','12' -'77','val_77','2008-04-08','11' -'77','val_77','2008-04-08','11' -'77','val_77','2008-04-08','12' -'77','val_77','2008-04-08','12' -'78','val_78','2008-04-08','11' -'78','val_78','2008-04-08','11' -'78','val_78','2008-04-08','12' -'78','val_78','2008-04-08','12' -'8','val_8','2008-04-08','11' -'8','val_8','2008-04-08','11' -'8','val_8','2008-04-08','12' -'8','val_8','2008-04-08','12' -'80','val_80','2008-04-08','11' -'80','val_80','2008-04-08','11' -'80','val_80','2008-04-08','12' -'80','val_80','2008-04-08','12' -'82','val_82','2008-04-08','11' -'82','val_82','2008-04-08','11' -'82','val_82','2008-04-08','12' -'82','val_82','2008-04-08','12' -'83','val_83','2008-04-08','11' -'83','val_83','2008-04-08','11' -'83','val_83','2008-04-08','11' -'83','val_83','2008-04-08','11' -'83','val_83','2008-04-08','12' -'83','val_83','2008-04-08','12' -'83','val_83','2008-04-08','12' -'83','val_83','2008-04-08','12' -'84','val_84','2008-04-08','11' -'84','val_84','2008-04-08','11' -'84','val_84','2008-04-08','11' -'84','val_84','2008-04-08','11' -'84','val_84','2008-04-08','12' -'84','val_84','2008-04-08','12' -'84','val_84','2008-04-08','12' -'84','val_84','2008-04-08','12' -'85','val_85','2008-04-08','11' -'85','val_85','2008-04-08','11' -'85','val_85','2008-04-08','12' -'85','val_85','2008-04-08','12' -'86','val_86','2008-04-08','11' -'86','val_86','2008-04-08','11' -'86','val_86','2008-04-08','12' -'86','val_86','2008-04-08','12' -'87','val_87','2008-04-08','11' -'87','val_87','2008-04-08','11' -'87','val_87','2008-04-08','12' -'87','val_87','2008-04-08','12' -'9','val_9','2008-04-08','11' -'9','val_9','2008-04-08','11' -'9','val_9','2008-04-08','12' -'9','val_9','2008-04-08','12' -'90','val_90','2008-04-08','11' -'90','val_90','2008-04-08','11' -'90','val_90','2008-04-08','11' -'90','val_90','2008-04-08','11' -'90','val_90','2008-04-08','11' -'90','val_90','2008-04-08','11' -'90','val_90','2008-04-08','12' -'90','val_90','2008-04-08','12' -'90','val_90','2008-04-08','12' -'90','val_90','2008-04-08','12' -'90','val_90','2008-04-08','12' -'90','val_90','2008-04-08','12' -'92','val_92','2008-04-08','11' -'92','val_92','2008-04-08','11' -'92','val_92','2008-04-08','12' -'92','val_92','2008-04-08','12' -'95','val_95','2008-04-08','11' -'95','val_95','2008-04-08','11' -'95','val_95','2008-04-08','11' -'95','val_95','2008-04-08','11' -'95','val_95','2008-04-08','12' -'95','val_95','2008-04-08','12' -'95','val_95','2008-04-08','12' -'95','val_95','2008-04-08','12' -'96','val_96','2008-04-08','11' -'96','val_96','2008-04-08','11' -'96','val_96','2008-04-08','12' -'96','val_96','2008-04-08','12' -'97','val_97','2008-04-08','11' -'97','val_97','2008-04-08','11' -'97','val_97','2008-04-08','11' -'97','val_97','2008-04-08','11' -'97','val_97','2008-04-08','12' -'97','val_97','2008-04-08','12' -'97','val_97','2008-04-08','12' -'97','val_97','2008-04-08','12' -'98','val_98','2008-04-08','11' -'98','val_98','2008-04-08','11' -'98','val_98','2008-04-08','11' -'98','val_98','2008-04-08','11' -'98','val_98','2008-04-08','12' -'98','val_98','2008-04-08','12' -'98','val_98','2008-04-08','12' -'98','val_98','2008-04-08','12' -336 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/union_script.q.out ql/src/test/results/beelinepositive/union_script.q.out deleted file mode 100644 index b6c90bc..0000000 --- ql/src/test/results/beelinepositive/union_script.q.out +++ /dev/null @@ -1,1514 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/union_script.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/union_script.q ->>> select * from ( -select transform(key) using 'cat' as cola from src)s order by cola; -'cola' -'0' -'0' -'0' -'10' -'100' -'100' -'103' -'103' -'104' -'104' -'105' -'11' -'111' -'113' -'113' -'114' -'116' -'118' -'118' -'119' -'119' -'119' -'12' -'12' -'120' -'120' -'125' -'125' -'126' -'128' -'128' -'128' -'129' -'129' -'131' -'133' -'134' -'134' -'136' -'137' -'137' -'138' -'138' -'138' -'138' -'143' -'145' -'146' -'146' -'149' -'149' -'15' -'15' -'150' -'152' -'152' -'153' -'155' -'156' -'157' -'158' -'160' -'162' -'163' -'164' -'164' -'165' -'165' -'166' -'167' -'167' -'167' -'168' -'169' -'169' -'169' -'169' -'17' -'170' -'172' -'172' -'174' -'174' -'175' -'175' -'176' -'176' -'177' -'178' -'179' -'179' -'18' -'18' -'180' -'181' -'183' -'186' -'187' -'187' -'187' -'189' -'19' -'190' -'191' -'191' -'192' -'193' -'193' -'193' -'194' -'195' -'195' -'196' -'197' -'197' -'199' -'199' -'199' -'2' -'20' -'200' -'200' -'201' -'202' -'203' -'203' -'205' -'205' -'207' -'207' -'208' -'208' -'208' -'209' -'209' -'213' -'213' -'214' -'216' -'216' -'217' -'217' -'218' -'219' -'219' -'221' -'221' -'222' -'223' -'223' -'224' -'224' -'226' -'228' -'229' -'229' -'230' -'230' -'230' -'230' -'230' -'233' -'233' -'235' -'237' -'237' -'238' -'238' -'239' -'239' -'24' -'24' -'241' -'242' -'242' -'244' -'247' -'248' -'249' -'252' -'255' -'255' -'256' -'256' -'257' -'258' -'26' -'26' -'260' -'262' -'263' -'265' -'265' -'266' -'27' -'272' -'272' -'273' -'273' -'273' -'274' -'275' -'277' -'277' -'277' -'277' -'278' -'278' -'28' -'280' -'280' -'281' -'281' -'282' -'282' -'283' -'284' -'285' -'286' -'287' -'288' -'288' -'289' -'291' -'292' -'296' -'298' -'298' -'298' -'30' -'302' -'305' -'306' -'307' -'307' -'308' -'309' -'309' -'310' -'311' -'311' -'311' -'315' -'316' -'316' -'316' -'317' -'317' -'318' -'318' -'318' -'321' -'321' -'322' -'322' -'323' -'325' -'325' -'327' -'327' -'327' -'33' -'331' -'331' -'332' -'333' -'333' -'335' -'336' -'338' -'339' -'34' -'341' -'342' -'342' -'344' -'344' -'345' -'348' -'348' -'348' -'348' -'348' -'35' -'35' -'35' -'351' -'353' -'353' -'356' -'360' -'362' -'364' -'365' -'366' -'367' -'367' -'368' -'369' -'369' -'369' -'37' -'37' -'373' -'374' -'375' -'377' -'378' -'379' -'382' -'382' -'384' -'384' -'384' -'386' -'389' -'392' -'393' -'394' -'395' -'395' -'396' -'396' -'396' -'397' -'397' -'399' -'399' -'4' -'400' -'401' -'401' -'401' -'401' -'401' -'402' -'403' -'403' -'403' -'404' -'404' -'406' -'406' -'406' -'406' -'407' -'409' -'409' -'409' -'41' -'411' -'413' -'413' -'414' -'414' -'417' -'417' -'417' -'418' -'419' -'42' -'42' -'421' -'424' -'424' -'427' -'429' -'429' -'43' -'430' -'430' -'430' -'431' -'431' -'431' -'432' -'435' -'436' -'437' -'438' -'438' -'438' -'439' -'439' -'44' -'443' -'444' -'446' -'448' -'449' -'452' -'453' -'454' -'454' -'454' -'455' -'457' -'458' -'458' -'459' -'459' -'460' -'462' -'462' -'463' -'463' -'466' -'466' -'466' -'467' -'468' -'468' -'468' -'468' -'469' -'469' -'469' -'469' -'469' -'47' -'470' -'472' -'475' -'477' -'478' -'478' -'479' -'480' -'480' -'480' -'481' -'482' -'483' -'484' -'485' -'487' -'489' -'489' -'489' -'489' -'490' -'491' -'492' -'492' -'493' -'494' -'495' -'496' -'497' -'498' -'498' -'498' -'5' -'5' -'5' -'51' -'51' -'53' -'54' -'57' -'58' -'58' -'64' -'65' -'66' -'67' -'67' -'69' -'70' -'70' -'70' -'72' -'72' -'74' -'76' -'76' -'77' -'78' -'8' -'80' -'82' -'83' -'83' -'84' -'84' -'85' -'86' -'87' -'9' -'90' -'90' -'90' -'92' -'95' -'95' -'96' -'97' -'97' -'98' -'98' -500 rows selected ->>> ->>> select * from ( -select transform(key) using 'cat' as cola from src -union all -select transform(key) using 'cat' as cola from src) s order by cola; -'cola' -'0' -'0' -'0' -'0' -'0' -'0' -'10' -'10' -'100' -'100' -'100' -'100' -'103' -'103' -'103' -'103' -'104' -'104' -'104' -'104' -'105' -'105' -'11' -'11' -'111' -'111' -'113' -'113' -'113' -'113' -'114' -'114' -'116' -'116' -'118' -'118' -'118' -'118' -'119' -'119' -'119' -'119' -'119' -'119' -'12' -'12' -'12' -'12' -'120' -'120' -'120' -'120' -'125' -'125' -'125' -'125' -'126' -'126' -'128' -'128' -'128' -'128' -'128' -'128' -'129' -'129' -'129' -'129' -'131' -'131' -'133' -'133' -'134' -'134' -'134' -'134' -'136' -'136' -'137' -'137' -'137' -'137' -'138' -'138' -'138' -'138' -'138' -'138' -'138' -'138' -'143' -'143' -'145' -'145' -'146' -'146' -'146' -'146' -'149' -'149' -'149' -'149' -'15' -'15' -'15' -'15' -'150' -'150' -'152' -'152' -'152' -'152' -'153' -'153' -'155' -'155' -'156' -'156' -'157' -'157' -'158' -'158' -'160' -'160' -'162' -'162' -'163' -'163' -'164' -'164' -'164' -'164' -'165' -'165' -'165' -'165' -'166' -'166' -'167' -'167' -'167' -'167' -'167' -'167' -'168' -'168' -'169' -'169' -'169' -'169' -'169' -'169' -'169' -'169' -'17' -'17' -'170' -'170' -'172' -'172' -'172' -'172' -'174' -'174' -'174' -'174' -'175' -'175' -'175' -'175' -'176' -'176' -'176' -'176' -'177' -'177' -'178' -'178' -'179' -'179' -'179' -'179' -'18' -'18' -'18' -'18' -'180' -'180' -'181' -'181' -'183' -'183' -'186' -'186' -'187' -'187' -'187' -'187' -'187' -'187' -'189' -'189' -'19' -'19' -'190' -'190' -'191' -'191' -'191' -'191' -'192' -'192' -'193' -'193' -'193' -'193' -'193' -'193' -'194' -'194' -'195' -'195' -'195' -'195' -'196' -'196' -'197' -'197' -'197' -'197' -'199' -'199' -'199' -'199' -'199' -'199' -'2' -'2' -'20' -'20' -'200' -'200' -'200' -'200' -'201' -'201' -'202' -'202' -'203' -'203' -'203' -'203' -'205' -'205' -'205' -'205' -'207' -'207' -'207' -'207' -'208' -'208' -'208' -'208' -'208' -'208' -'209' -'209' -'209' -'209' -'213' -'213' -'213' -'213' -'214' -'214' -'216' -'216' -'216' -'216' -'217' -'217' -'217' -'217' -'218' -'218' -'219' -'219' -'219' -'219' -'221' -'221' -'221' -'221' -'222' -'222' -'223' -'223' -'223' -'223' -'224' -'224' -'224' -'224' -'226' -'226' -'228' -'228' -'229' -'229' -'229' -'229' -'230' -'230' -'230' -'230' -'230' -'230' -'230' -'230' -'230' -'230' -'233' -'233' -'233' -'233' -'235' -'235' -'237' -'237' -'237' -'237' -'238' -'238' -'238' -'238' -'239' -'239' -'239' -'239' -'24' -'24' -'24' -'24' -'241' -'241' -'242' -'242' -'242' -'242' -'244' -'244' -'247' -'247' -'248' -'248' -'249' -'249' -'252' -'252' -'255' -'255' -'255' -'255' -'256' -'256' -'256' -'256' -'257' -'257' -'258' -'258' -'26' -'26' -'26' -'26' -'260' -'260' -'262' -'262' -'263' -'263' -'265' -'265' -'265' -'265' -'266' -'266' -'27' -'27' -'272' -'272' -'272' -'272' -'273' -'273' -'273' -'273' -'273' -'273' -'274' -'274' -'275' -'275' -'277' -'277' -'277' -'277' -'277' -'277' -'277' -'277' -'278' -'278' -'278' -'278' -'28' -'28' -'280' -'280' -'280' -'280' -'281' -'281' -'281' -'281' -'282' -'282' -'282' -'282' -'283' -'283' -'284' -'284' -'285' -'285' -'286' -'286' -'287' -'287' -'288' -'288' -'288' -'288' -'289' -'289' -'291' -'291' -'292' -'292' -'296' -'296' -'298' -'298' -'298' -'298' -'298' -'298' -'30' -'30' -'302' -'302' -'305' -'305' -'306' -'306' -'307' -'307' -'307' -'307' -'308' -'308' -'309' -'309' -'309' -'309' -'310' -'310' -'311' -'311' -'311' -'311' -'311' -'311' -'315' -'315' -'316' -'316' -'316' -'316' -'316' -'316' -'317' -'317' -'317' -'317' -'318' -'318' -'318' -'318' -'318' -'318' -'321' -'321' -'321' -'321' -'322' -'322' -'322' -'322' -'323' -'323' -'325' -'325' -'325' -'325' -'327' -'327' -'327' -'327' -'327' -'327' -'33' -'33' -'331' -'331' -'331' -'331' -'332' -'332' -'333' -'333' -'333' -'333' -'335' -'335' -'336' -'336' -'338' -'338' -'339' -'339' -'34' -'34' -'341' -'341' -'342' -'342' -'342' -'342' -'344' -'344' -'344' -'344' -'345' -'345' -'348' -'348' -'348' -'348' -'348' -'348' -'348' -'348' -'348' -'348' -'35' -'35' -'35' -'35' -'35' -'35' -'351' -'351' -'353' -'353' -'353' -'353' -'356' -'356' -'360' -'360' -'362' -'362' -'364' -'364' -'365' -'365' -'366' -'366' -'367' -'367' -'367' -'367' -'368' -'368' -'369' -'369' -'369' -'369' -'369' -'369' -'37' -'37' -'37' -'37' -'373' -'373' -'374' -'374' -'375' -'375' -'377' -'377' -'378' -'378' -'379' -'379' -'382' -'382' -'382' -'382' -'384' -'384' -'384' -'384' -'384' -'384' -'386' -'386' -'389' -'389' -'392' -'392' -'393' -'393' -'394' -'394' -'395' -'395' -'395' -'395' -'396' -'396' -'396' -'396' -'396' -'396' -'397' -'397' -'397' -'397' -'399' -'399' -'399' -'399' -'4' -'4' -'400' -'400' -'401' -'401' -'401' -'401' -'401' -'401' -'401' -'401' -'401' -'401' -'402' -'402' -'403' -'403' -'403' -'403' -'403' -'403' -'404' -'404' -'404' -'404' -'406' -'406' -'406' -'406' -'406' -'406' -'406' -'406' -'407' -'407' -'409' -'409' -'409' -'409' -'409' -'409' -'41' -'41' -'411' -'411' -'413' -'413' -'413' -'413' -'414' -'414' -'414' -'414' -'417' -'417' -'417' -'417' -'417' -'417' -'418' -'418' -'419' -'419' -'42' -'42' -'42' -'42' -'421' -'421' -'424' -'424' -'424' -'424' -'427' -'427' -'429' -'429' -'429' -'429' -'43' -'43' -'430' -'430' -'430' -'430' -'430' -'430' -'431' -'431' -'431' -'431' -'431' -'431' -'432' -'432' -'435' -'435' -'436' -'436' -'437' -'437' -'438' -'438' -'438' -'438' -'438' -'438' -'439' -'439' -'439' -'439' -'44' -'44' -'443' -'443' -'444' -'444' -'446' -'446' -'448' -'448' -'449' -'449' -'452' -'452' -'453' -'453' -'454' -'454' -'454' -'454' -'454' -'454' -'455' -'455' -'457' -'457' -'458' -'458' -'458' -'458' -'459' -'459' -'459' -'459' -'460' -'460' -'462' -'462' -'462' -'462' -'463' -'463' -'463' -'463' -'466' -'466' -'466' -'466' -'466' -'466' -'467' -'467' -'468' -'468' -'468' -'468' -'468' -'468' -'468' -'468' -'469' -'469' -'469' -'469' -'469' -'469' -'469' -'469' -'469' -'469' -'47' -'47' -'470' -'470' -'472' -'472' -'475' -'475' -'477' -'477' -'478' -'478' -'478' -'478' -'479' -'479' -'480' -'480' -'480' -'480' -'480' -'480' -'481' -'481' -'482' -'482' -'483' -'483' -'484' -'484' -'485' -'485' -'487' -'487' -'489' -'489' -'489' -'489' -'489' -'489' -'489' -'489' -'490' -'490' -'491' -'491' -'492' -'492' -'492' -'492' -'493' -'493' -'494' -'494' -'495' -'495' -'496' -'496' -'497' -'497' -'498' -'498' -'498' -'498' -'498' -'498' -'5' -'5' -'5' -'5' -'5' -'5' -'51' -'51' -'51' -'51' -'53' -'53' -'54' -'54' -'57' -'57' -'58' -'58' -'58' -'58' -'64' -'64' -'65' -'65' -'66' -'66' -'67' -'67' -'67' -'67' -'69' -'69' -'70' -'70' -'70' -'70' -'70' -'70' -'72' -'72' -'72' -'72' -'74' -'74' -'76' -'76' -'76' -'76' -'77' -'77' -'78' -'78' -'8' -'8' -'80' -'80' -'82' -'82' -'83' -'83' -'83' -'83' -'84' -'84' -'84' -'84' -'85' -'85' -'86' -'86' -'87' -'87' -'9' -'9' -'90' -'90' -'90' -'90' -'90' -'90' -'92' -'92' -'95' -'95' -'95' -'95' -'96' -'96' -'97' -'97' -'97' -'97' -'98' -'98' -'98' -'98' -1,000 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/union_view.q.out ql/src/test/results/beelinepositive/union_view.q.out deleted file mode 100644 index b070f0c..0000000 --- ql/src/test/results/beelinepositive/union_view.q.out +++ /dev/null @@ -1,2413 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/union_view.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/union_view.q ->>> CREATE TABLE src_union_1 (key int, value string) PARTITIONED BY (ds string); -No rows affected ->>> CREATE INDEX src_union_1_key_idx ON TABLE src_union_1(key) AS 'COMPACT' WITH DEFERRED REBUILD; -No rows affected ->>> ->>> CREATE TABLE src_union_2 (key int, value string) PARTITIONED BY (ds string, part_1 string); -No rows affected ->>> CREATE INDEX src_union_2_key_idx ON TABLE src_union_2(key) AS 'COMPACT' WITH DEFERRED REBUILD; -No rows affected ->>> ->>> CREATE TABLE src_union_3(key int, value string) PARTITIONED BY (ds string, part_1 string, part_2 string); -No rows affected ->>> CREATE INDEX src_union_3_key_idx ON TABLE src_union_3(key) AS 'COMPACT' WITH DEFERRED REBUILD; -No rows affected ->>> ->>> SET hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; -No rows affected ->>> ->>> SET hive.optimize.index.filter=true; -No rows affected ->>> SET hive.optimize.index.filter.compact.minsize=0; -No rows affected ->>> ->>> SET hive.exec.pre.hooks=; -No rows affected ->>> SET hive.exec.post.hooks=; -No rows affected ->>> SET hive.semantic.analyzer.hook=; -No rows affected ->>> SET hive.merge.mapfiles=false; -No rows affected ->>> SET hive.merge.mapredfiles=false; -No rows affected ->>> ->>> INSERT OVERWRITE TABLE src_union_1 PARTITION (ds='1') SELECT * FROM src; -'_col0','_col1' -No rows selected ->>> ALTER INDEX src_union_1_key_idx ON src_union_1 PARTITION (ds='1') REBUILD; -No rows affected ->>> ->>> INSERT OVERWRITE TABLE src_union_2 PARTITION (ds='2', part_1='1') SELECT * FROM src; -'_col0','_col1' -No rows selected ->>> INSERT OVERWRITE TABLE src_union_2 PARTITION (ds='2', part_1='2') SELECT * FROM src; -'_col0','_col1' -No rows selected ->>> ALTER INDEX src_union_2_key_idx ON src_union_2 PARTITION (ds='2', part_1='1') REBUILD; -No rows affected ->>> ALTER INDEX src_union_2_key_idx ON src_union_2 PARTITION (ds='2', part_1='2') REBUILD; -No rows affected ->>> ->>> INSERT OVERWRITE TABLE src_union_3 PARTITION (ds='3', part_1='1', part_2='2:3+4') SELECT * FROM src; -'_col0','_col1' -No rows selected ->>> INSERT OVERWRITE TABLE src_union_3 PARTITION (ds='3', part_1='2', part_2='2:3+4') SELECT * FROM src; -'_col0','_col1' -No rows selected ->>> ALTER INDEX src_union_3_key_idx ON src_union_3 PARTITION (ds='3', part_1='1', part_2='2:3+4') REBUILD; -No rows affected ->>> ALTER INDEX src_union_3_key_idx ON src_union_3 PARTITION (ds='3', part_1='2', part_2='2:3+4') REBUILD; -No rows affected ->>> ->>> EXPLAIN SELECT key, value, ds FROM src_union_1 WHERE key=86 and ds='1'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src_union_1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL ds))) (TOK_WHERE (and (= (TOK_TABLE_OR_COL key) 86) (= (TOK_TABLE_OR_COL ds) '1')))))' -'' -'STAGE DEPENDENCIES:' -' Stage-3 is a root stage' -' Stage-2 depends on stages: Stage-3' -' Stage-1 depends on stages: Stage-2' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' union_view__src_union_1_src_union_1_key_idx__ ' -' TableScan' -' alias: union_view__src_union_1_src_union_1_key_idx__' -' filterExpr:' -' expr: ((key = 86) and (ds = '1'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key = 86)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _bucketname' -' type: string' -' expr: _offsets' -' type: array' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-2' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src_union_1 ' -' TableScan' -' alias: src_union_1' -' filterExpr:' -' expr: ((key = 86) and (ds = '1'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key = 86)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -77 rows selected ->>> EXPLAIN SELECT key, value, ds FROM src_union_2 WHERE key=86 and ds='2'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src_union_2))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL ds))) (TOK_WHERE (and (= (TOK_TABLE_OR_COL key) 86) (= (TOK_TABLE_OR_COL ds) '2')))))' -'' -'STAGE DEPENDENCIES:' -' Stage-3 is a root stage' -' Stage-2 depends on stages: Stage-3' -' Stage-1 depends on stages: Stage-2' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' union_view__src_union_2_src_union_2_key_idx__ ' -' TableScan' -' alias: union_view__src_union_2_src_union_2_key_idx__' -' filterExpr:' -' expr: ((key = 86) and (ds = '2'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key = 86)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _bucketname' -' type: string' -' expr: _offsets' -' type: array' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-2' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src_union_2 ' -' TableScan' -' alias: src_union_2' -' filterExpr:' -' expr: ((key = 86) and (ds = '2'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key = 86)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -77 rows selected ->>> EXPLAIN SELECT key, value, ds FROM src_union_3 WHERE key=86 and ds='3'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src_union_3))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL ds))) (TOK_WHERE (and (= (TOK_TABLE_OR_COL key) 86) (= (TOK_TABLE_OR_COL ds) '3')))))' -'' -'STAGE DEPENDENCIES:' -' Stage-3 is a root stage' -' Stage-2 depends on stages: Stage-3' -' Stage-1 depends on stages: Stage-2' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' union_view__src_union_3_src_union_3_key_idx__ ' -' TableScan' -' alias: union_view__src_union_3_src_union_3_key_idx__' -' filterExpr:' -' expr: ((key = 86) and (ds = '3'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key = 86)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _bucketname' -' type: string' -' expr: _offsets' -' type: array' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-2' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src_union_3 ' -' TableScan' -' alias: src_union_3' -' filterExpr:' -' expr: ((key = 86) and (ds = '3'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key = 86)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -77 rows selected ->>> ->>> SELECT key, value, ds FROM src_union_1 WHERE key=86 AND ds ='1'; -'key','value','ds' -'86','val_86','1' -1 row selected ->>> SELECT key, value, ds FROM src_union_2 WHERE key=86 AND ds ='2'; -'key','value','ds' -'86','val_86','2' -'86','val_86','2' -2 rows selected ->>> SELECT key, value, ds FROM src_union_3 WHERE key=86 AND ds ='3'; -'key','value','ds' -'86','val_86','3' -'86','val_86','3' -2 rows selected ->>> ->>> EXPLAIN SELECT count(1) from src_union_1 WHERE ds ='1'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src_union_1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_WHERE (= (TOK_TABLE_OR_COL ds) '1'))))' -'' -'STAGE DEPENDENCIES:' -' Stage-3 is a root stage' -' Stage-2 depends on stages: Stage-3' -' Stage-1 depends on stages: Stage-2' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' union_view__src_union_1_src_union_1_key_idx__ ' -' TableScan' -' alias: union_view__src_union_1_src_union_1_key_idx__' -' filterExpr:' -' expr: (ds = '1')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _bucketname' -' type: string' -' expr: _offsets' -' type: array' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-2' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src_union_1 ' -' TableScan' -' alias: src_union_1' -' filterExpr:' -' expr: (ds = '1')' -' type: boolean' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -85 rows selected ->>> EXPLAIN SELECT count(1) from src_union_2 WHERE ds ='2'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src_union_2))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_WHERE (= (TOK_TABLE_OR_COL ds) '2'))))' -'' -'STAGE DEPENDENCIES:' -' Stage-3 is a root stage' -' Stage-2 depends on stages: Stage-3' -' Stage-1 depends on stages: Stage-2' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' union_view__src_union_2_src_union_2_key_idx__ ' -' TableScan' -' alias: union_view__src_union_2_src_union_2_key_idx__' -' filterExpr:' -' expr: (ds = '2')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _bucketname' -' type: string' -' expr: _offsets' -' type: array' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-2' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src_union_2 ' -' TableScan' -' alias: src_union_2' -' filterExpr:' -' expr: (ds = '2')' -' type: boolean' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -85 rows selected ->>> EXPLAIN SELECT count(1) from src_union_3 WHERE ds ='3'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src_union_3))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_WHERE (= (TOK_TABLE_OR_COL ds) '3'))))' -'' -'STAGE DEPENDENCIES:' -' Stage-3 is a root stage' -' Stage-2 depends on stages: Stage-3' -' Stage-1 depends on stages: Stage-2' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-3' -' Map Reduce' -' Alias -> Map Operator Tree:' -' union_view__src_union_3_src_union_3_key_idx__ ' -' TableScan' -' alias: union_view__src_union_3_src_union_3_key_idx__' -' filterExpr:' -' expr: (ds = '3')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _bucketname' -' type: string' -' expr: _offsets' -' type: array' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-2' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src_union_3 ' -' TableScan' -' alias: src_union_3' -' filterExpr:' -' expr: (ds = '3')' -' type: boolean' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -85 rows selected ->>> ->>> SELECT count(1) from src_union_1 WHERE ds ='1'; -'_c0' -'500' -1 row selected ->>> SELECT count(1) from src_union_2 WHERE ds ='2'; -'_c0' -'1000' -1 row selected ->>> SELECT count(1) from src_union_3 WHERE ds ='3'; -'_c0' -'1000' -1 row selected ->>> ->>> CREATE VIEW src_union_view PARTITIONED ON (ds) as -SELECT key, value, ds FROM ( -SELECT key, value, ds FROM src_union_1 -UNION ALL -SELECT key, value, ds FROM src_union_2 -UNION ALL -SELECT key, value, ds FROM src_union_3 -) subq; -'key','value','ds' -No rows selected ->>> ->>> EXPLAIN SELECT key, value, ds FROM src_union_view WHERE key=86 AND ds ='1'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src_union_view))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL ds))) (TOK_WHERE (AND (= (TOK_TABLE_OR_COL key) 86) (= (TOK_TABLE_OR_COL ds) '1')))))' -'' -'STAGE DEPENDENCIES:' -' Stage-5 is a root stage' -' Stage-4 depends on stages: Stage-5' -' Stage-1 depends on stages: Stage-4' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' union_view__src_union_1_src_union_1_key_idx__ ' -' TableScan' -' alias: union_view__src_union_1_src_union_1_key_idx__' -' filterExpr:' -' expr: ((key = 86) and (ds = '1'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key = 86)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _bucketname' -' type: string' -' expr: _offsets' -' type: array' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src_union_view-subquery1-subquery1:subq-subquery1-subquery1:src_union_1 ' -' TableScan' -' alias: src_union_1' -' filterExpr:' -' expr: ((key = 86) and (ds = '1'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key = 86)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' src_union_view-subquery1-subquery2:subq-subquery1-subquery2:src_union_2 ' -' TableScan' -' alias: src_union_2' -' filterExpr:' -' expr: ((key = 86) and (ds = '1'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: ((key = 86) and (ds = '1'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' src_union_view-subquery2:subq-subquery2:src_union_3 ' -' TableScan' -' alias: src_union_3' -' filterExpr:' -' expr: ((key = 86) and (ds = '1'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: ((key = 86) and (ds = '1'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -184 rows selected ->>> EXPLAIN SELECT key, value, ds FROM src_union_view WHERE key=86 AND ds ='2'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src_union_view))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL ds))) (TOK_WHERE (AND (= (TOK_TABLE_OR_COL key) 86) (= (TOK_TABLE_OR_COL ds) '2')))))' -'' -'STAGE DEPENDENCIES:' -' Stage-5 is a root stage' -' Stage-4 depends on stages: Stage-5' -' Stage-1 depends on stages: Stage-4' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' union_view__src_union_2_src_union_2_key_idx__ ' -' TableScan' -' alias: union_view__src_union_2_src_union_2_key_idx__' -' filterExpr:' -' expr: ((key = 86) and (ds = '2'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key = 86)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _bucketname' -' type: string' -' expr: _offsets' -' type: array' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src_union_view-subquery1-subquery1:subq-subquery1-subquery1:src_union_1 ' -' TableScan' -' alias: src_union_1' -' filterExpr:' -' expr: ((key = 86) and (ds = '2'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: ((key = 86) and (ds = '2'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' src_union_view-subquery1-subquery2:subq-subquery1-subquery2:src_union_2 ' -' TableScan' -' alias: src_union_2' -' filterExpr:' -' expr: ((key = 86) and (ds = '2'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key = 86)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' src_union_view-subquery2:subq-subquery2:src_union_3 ' -' TableScan' -' alias: src_union_3' -' filterExpr:' -' expr: ((key = 86) and (ds = '2'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: ((key = 86) and (ds = '2'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -184 rows selected ->>> EXPLAIN SELECT key, value, ds FROM src_union_view WHERE key=86 AND ds ='3'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src_union_view))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL ds))) (TOK_WHERE (AND (= (TOK_TABLE_OR_COL key) 86) (= (TOK_TABLE_OR_COL ds) '3')))))' -'' -'STAGE DEPENDENCIES:' -' Stage-5 is a root stage' -' Stage-4 depends on stages: Stage-5' -' Stage-1 depends on stages: Stage-4' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' union_view__src_union_3_src_union_3_key_idx__ ' -' TableScan' -' alias: union_view__src_union_3_src_union_3_key_idx__' -' filterExpr:' -' expr: ((key = 86) and (ds = '3'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key = 86)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _bucketname' -' type: string' -' expr: _offsets' -' type: array' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src_union_view-subquery1-subquery1:subq-subquery1-subquery1:src_union_1 ' -' TableScan' -' alias: src_union_1' -' filterExpr:' -' expr: ((key = 86) and (ds = '3'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: ((key = 86) and (ds = '3'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' src_union_view-subquery1-subquery2:subq-subquery1-subquery2:src_union_2 ' -' TableScan' -' alias: src_union_2' -' filterExpr:' -' expr: ((key = 86) and (ds = '3'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: ((key = 86) and (ds = '3'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' src_union_view-subquery2:subq-subquery2:src_union_3 ' -' TableScan' -' alias: src_union_3' -' filterExpr:' -' expr: ((key = 86) and (ds = '3'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key = 86)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -184 rows selected ->>> EXPLAIN SELECT key, value, ds FROM src_union_view WHERE key=86 AND ds IS NOT NULL order by ds; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src_union_view))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL ds))) (TOK_WHERE (AND (= (TOK_TABLE_OR_COL key) 86) (TOK_FUNCTION TOK_ISNOTNULL (TOK_TABLE_OR_COL ds)))) (TOK_ORDERBY (TOK_TABSORTCOLNAMEASC (TOK_TABLE_OR_COL ds)))))' -'' -'STAGE DEPENDENCIES:' -' Stage-5 is a root stage' -' Stage-4 depends on stages: Stage-5' -' Stage-1 depends on stages: Stage-4, Stage-6, Stage-8' -' Stage-7 is a root stage' -' Stage-6 depends on stages: Stage-7' -' Stage-9 is a root stage' -' Stage-8 depends on stages: Stage-9' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' union_view__src_union_2_src_union_2_key_idx__ ' -' TableScan' -' alias: union_view__src_union_2_src_union_2_key_idx__' -' filterExpr:' -' expr: (key = 86)' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key = 86)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _bucketname' -' type: string' -' expr: _offsets' -' type: array' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src_union_view-subquery1-subquery1:subq-subquery1-subquery1:src_union_1 ' -' TableScan' -' alias: src_union_1' -' filterExpr:' -' expr: ((key = 86) and ds is not null)' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key = 86)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col2' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' src_union_view-subquery1-subquery2:subq-subquery1-subquery2:src_union_2 ' -' TableScan' -' alias: src_union_2' -' filterExpr:' -' expr: ((key = 86) and ds is not null)' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key = 86)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col2' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' src_union_view-subquery2:subq-subquery2:src_union_3 ' -' TableScan' -' alias: src_union_3' -' filterExpr:' -' expr: ((key = 86) and ds is not null)' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key = 86)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Reduce Output Operator' -' key expressions:' -' expr: _col2' -' type: string' -' sort order: +' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' Reduce Operator Tree:' -' Extract' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-7' -' Map Reduce' -' Alias -> Map Operator Tree:' -' union_view__src_union_1_src_union_1_key_idx__ ' -' TableScan' -' alias: union_view__src_union_1_src_union_1_key_idx__' -' filterExpr:' -' expr: (key = 86)' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key = 86)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _bucketname' -' type: string' -' expr: _offsets' -' type: array' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-6' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-9' -' Map Reduce' -' Alias -> Map Operator Tree:' -' union_view__src_union_3_src_union_3_key_idx__ ' -' TableScan' -' alias: union_view__src_union_3_src_union_3_key_idx__' -' filterExpr:' -' expr: (key = 86)' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key = 86)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _bucketname' -' type: string' -' expr: _offsets' -' type: array' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-8' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -283 rows selected ->>> ->>> SELECT key, value, ds FROM src_union_view WHERE key=86 AND ds ='1'; -'key','value','ds' -'86','val_86','1' -1 row selected ->>> SELECT key, value, ds FROM src_union_view WHERE key=86 AND ds ='2'; -'key','value','ds' -'86','val_86','2' -'86','val_86','2' -2 rows selected ->>> SELECT key, value, ds FROM src_union_view WHERE key=86 AND ds ='3'; -'key','value','ds' -'86','val_86','3' -'86','val_86','3' -2 rows selected ->>> SELECT key, value, ds FROM src_union_view WHERE key=86 AND ds IS NOT NULL order by ds; -'key','value','ds' -'86','val_86','1' -'86','val_86','2' -'86','val_86','2' -'86','val_86','3' -'86','val_86','3' -5 rows selected ->>> ->>> EXPLAIN SELECT count(1) from src_union_view WHERE ds ='1'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src_union_view))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_WHERE (= (TOK_TABLE_OR_COL ds) '1'))))' -'' -'STAGE DEPENDENCIES:' -' Stage-5 is a root stage' -' Stage-4 depends on stages: Stage-5' -' Stage-1 depends on stages: Stage-4' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' union_view__src_union_1_src_union_1_key_idx__ ' -' TableScan' -' alias: union_view__src_union_1_src_union_1_key_idx__' -' filterExpr:' -' expr: (ds = '1')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _bucketname' -' type: string' -' expr: _offsets' -' type: array' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src_union_view-subquery1-subquery1:subq-subquery1-subquery1:src_union_1 ' -' TableScan' -' alias: src_union_1' -' filterExpr:' -' expr: (ds = '1')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Union' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' outputColumnNames: _col2' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' src_union_view-subquery1-subquery2:subq-subquery1-subquery2:src_union_2 ' -' TableScan' -' alias: src_union_2' -' filterExpr:' -' expr: (ds = '1')' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (ds = '1')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Union' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' outputColumnNames: _col2' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' src_union_view-subquery2:subq-subquery2:src_union_3 ' -' TableScan' -' alias: src_union_3' -' filterExpr:' -' expr: (ds = '1')' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (ds = '1')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Union' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' outputColumnNames: _col2' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -176 rows selected ->>> EXPLAIN SELECT count(1) from src_union_view WHERE ds ='2'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src_union_view))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_WHERE (= (TOK_TABLE_OR_COL ds) '2'))))' -'' -'STAGE DEPENDENCIES:' -' Stage-5 is a root stage' -' Stage-4 depends on stages: Stage-5' -' Stage-1 depends on stages: Stage-4' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' union_view__src_union_2_src_union_2_key_idx__ ' -' TableScan' -' alias: union_view__src_union_2_src_union_2_key_idx__' -' filterExpr:' -' expr: (ds = '2')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _bucketname' -' type: string' -' expr: _offsets' -' type: array' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src_union_view-subquery1-subquery1:subq-subquery1-subquery1:src_union_1 ' -' TableScan' -' alias: src_union_1' -' filterExpr:' -' expr: (ds = '2')' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (ds = '2')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Union' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' outputColumnNames: _col2' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' src_union_view-subquery1-subquery2:subq-subquery1-subquery2:src_union_2 ' -' TableScan' -' alias: src_union_2' -' filterExpr:' -' expr: (ds = '2')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Union' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' outputColumnNames: _col2' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' src_union_view-subquery2:subq-subquery2:src_union_3 ' -' TableScan' -' alias: src_union_3' -' filterExpr:' -' expr: (ds = '2')' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (ds = '2')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Union' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' outputColumnNames: _col2' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -176 rows selected ->>> EXPLAIN SELECT count(1) from src_union_view WHERE ds ='3'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src_union_view))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_WHERE (= (TOK_TABLE_OR_COL ds) '3'))))' -'' -'STAGE DEPENDENCIES:' -' Stage-5 is a root stage' -' Stage-4 depends on stages: Stage-5' -' Stage-1 depends on stages: Stage-4' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' union_view__src_union_3_src_union_3_key_idx__ ' -' TableScan' -' alias: union_view__src_union_3_src_union_3_key_idx__' -' filterExpr:' -' expr: (ds = '3')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _bucketname' -' type: string' -' expr: _offsets' -' type: array' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src_union_view-subquery1-subquery1:subq-subquery1-subquery1:src_union_1 ' -' TableScan' -' alias: src_union_1' -' filterExpr:' -' expr: (ds = '3')' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (ds = '3')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Union' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' outputColumnNames: _col2' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' src_union_view-subquery1-subquery2:subq-subquery1-subquery2:src_union_2 ' -' TableScan' -' alias: src_union_2' -' filterExpr:' -' expr: (ds = '3')' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (ds = '3')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Union' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' outputColumnNames: _col2' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' src_union_view-subquery2:subq-subquery2:src_union_3 ' -' TableScan' -' alias: src_union_3' -' filterExpr:' -' expr: (ds = '3')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Union' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' outputColumnNames: _col2' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -176 rows selected ->>> ->>> SELECT count(1) from src_union_view WHERE ds ='1'; -'_c0' -'500' -1 row selected ->>> SELECT count(1) from src_union_view WHERE ds ='2'; -'_c0' -'1000' -1 row selected ->>> SELECT count(1) from src_union_view WHERE ds ='3'; -'_c0' -'1000' -1 row selected ->>> ->>> INSERT OVERWRITE TABLE src_union_3 PARTITION (ds='4', part_1='1', part_2='2:3+4') SELECT * FROM src; -'_col0','_col1' -No rows selected ->>> ALTER INDEX src_union_3_key_idx ON src_union_3 PARTITION (ds='4', part_1='1', part_2='2:3+4') REBUILD; -No rows affected ->>> ->>> EXPLAIN SELECT key, value, ds FROM src_union_view WHERE key=86 AND ds ='4'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src_union_view))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TABLE_OR_COL key)) (TOK_SELEXPR (TOK_TABLE_OR_COL value)) (TOK_SELEXPR (TOK_TABLE_OR_COL ds))) (TOK_WHERE (AND (= (TOK_TABLE_OR_COL key) 86) (= (TOK_TABLE_OR_COL ds) '4')))))' -'' -'STAGE DEPENDENCIES:' -' Stage-5 is a root stage' -' Stage-4 depends on stages: Stage-5' -' Stage-1 depends on stages: Stage-4' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' union_view__src_union_3_src_union_3_key_idx__ ' -' TableScan' -' alias: union_view__src_union_3_src_union_3_key_idx__' -' filterExpr:' -' expr: ((key = 86) and (ds = '4'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key = 86)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _bucketname' -' type: string' -' expr: _offsets' -' type: array' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src_union_view-subquery1-subquery1:subq-subquery1-subquery1:src_union_1 ' -' TableScan' -' alias: src_union_1' -' filterExpr:' -' expr: ((key = 86) and (ds = '4'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: ((key = 86) and (ds = '4'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' src_union_view-subquery1-subquery2:subq-subquery1-subquery2:src_union_2 ' -' TableScan' -' alias: src_union_2' -' filterExpr:' -' expr: ((key = 86) and (ds = '4'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: ((key = 86) and (ds = '4'))' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -' src_union_view-subquery2:subq-subquery2:src_union_3 ' -' TableScan' -' alias: src_union_3' -' filterExpr:' -' expr: ((key = 86) and (ds = '4'))' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (key = 86)' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Union' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Select Operator' -' expressions:' -' expr: _col0' -' type: int' -' expr: _col1' -' type: string' -' expr: _col2' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -184 rows selected ->>> SELECT key, value, ds FROM src_union_view WHERE key=86 AND ds ='4'; -'key','value','ds' -'86','val_86','4' -1 row selected ->>> ->>> EXPLAIN SELECT count(1) from src_union_view WHERE ds ='4'; -'Explain' -'ABSTRACT SYNTAX TREE:' -' (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src_union_view))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_WHERE (= (TOK_TABLE_OR_COL ds) '4'))))' -'' -'STAGE DEPENDENCIES:' -' Stage-5 is a root stage' -' Stage-4 depends on stages: Stage-5' -' Stage-1 depends on stages: Stage-4' -' Stage-0 is a root stage' -'' -'STAGE PLANS:' -' Stage: Stage-5' -' Map Reduce' -' Alias -> Map Operator Tree:' -' union_view__src_union_3_src_union_3_key_idx__ ' -' TableScan' -' alias: union_view__src_union_3_src_union_3_key_idx__' -' filterExpr:' -' expr: (ds = '4')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: _bucketname' -' type: string' -' expr: _offsets' -' type: array' -' outputColumnNames: _col0, _col1' -' File Output Operator' -' compressed: false' -' GlobalTableId: 1' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-4' -' Move Operator' -' files:' -' hdfs directory: true' -' destination: file:!!{hive.exec.scratchdir}!!' -'' -' Stage: Stage-1' -' Map Reduce' -' Alias -> Map Operator Tree:' -' src_union_view-subquery1-subquery1:subq-subquery1-subquery1:src_union_1 ' -' TableScan' -' alias: src_union_1' -' filterExpr:' -' expr: (ds = '4')' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (ds = '4')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Union' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' outputColumnNames: _col2' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' src_union_view-subquery1-subquery2:subq-subquery1-subquery2:src_union_2 ' -' TableScan' -' alias: src_union_2' -' filterExpr:' -' expr: (ds = '4')' -' type: boolean' -' Filter Operator' -' predicate:' -' expr: (ds = '4')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Union' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' outputColumnNames: _col2' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' src_union_view-subquery2:subq-subquery2:src_union_3 ' -' TableScan' -' alias: src_union_3' -' filterExpr:' -' expr: (ds = '4')' -' type: boolean' -' Select Operator' -' expressions:' -' expr: key' -' type: int' -' expr: value' -' type: string' -' expr: ds' -' type: string' -' outputColumnNames: _col0, _col1, _col2' -' Union' -' Select Operator' -' expressions:' -' expr: _col2' -' type: string' -' outputColumnNames: _col2' -' Select Operator' -' Group By Operator' -' aggregations:' -' expr: count(1)' -' bucketGroup: false' -' mode: hash' -' outputColumnNames: _col0' -' Reduce Output Operator' -' sort order: ' -' tag: -1' -' value expressions:' -' expr: _col0' -' type: bigint' -' Reduce Operator Tree:' -' Group By Operator' -' aggregations:' -' expr: count(VALUE._col0)' -' bucketGroup: false' -' mode: mergepartial' -' outputColumnNames: _col0' -' Select Operator' -' expressions:' -' expr: _col0' -' type: bigint' -' outputColumnNames: _col0' -' File Output Operator' -' compressed: false' -' GlobalTableId: 0' -' table:' -' input format: org.apache.hadoop.mapred.TextInputFormat' -' output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' -'' -' Stage: Stage-0' -' Fetch Operator' -' limit: -1' -'' -'' -176 rows selected ->>> SELECT count(1) from src_union_view WHERE ds ='4'; -'_c0' -'500' -1 row selected ->>> !record diff --git ql/src/test/results/beelinepositive/uniquejoin.q.out ql/src/test/results/beelinepositive/uniquejoin.q.out deleted file mode 100644 index 60dde44..0000000 --- ql/src/test/results/beelinepositive/uniquejoin.q.out +++ /dev/null @@ -1,90 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/uniquejoin.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/uniquejoin.q ->>> CREATE TABLE T1(key STRING, val STRING) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE T2(key STRING, val STRING) STORED AS TEXTFILE; -No rows affected ->>> CREATE TABLE T3(key STRING, val STRING) STORED AS TEXTFILE; -No rows affected ->>> ->>> LOAD DATA LOCAL INPATH '../data/files/T1.txt' INTO TABLE T1; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/T2.txt' INTO TABLE T2; -No rows affected ->>> LOAD DATA LOCAL INPATH '../data/files/T3.txt' INTO TABLE T3; -No rows affected ->>> ->>> FROM UNIQUEJOIN PRESERVE T1 a (a.key), PRESERVE T2 b (b.key), PRESERVE T3 c (c.key) -SELECT a.key, b.key, c.key; -'key','key','key' -'1','','' -'2','2','2' -'3','3','' -'','4','4' -'','5','' -'','','6' -'7','','7' -'8','8','' -'8','8','' -'8','8','' -'8','8','' -11 rows selected ->>> ->>> FROM UNIQUEJOIN T1 a (a.key), T2 b (b.key), T3 c (c.key) -SELECT a.key, b.key, c.key; -'key','key','key' -'2','2','2' -1 row selected ->>> ->>> FROM UNIQUEJOIN T1 a (a.key), T2 b (b.key-1), T3 c (c.key) -SELECT a.key, b.key, c.key; -'key','key','key' -'2','3','2' -'7','8','7' -'7','8','7' -3 rows selected ->>> ->>> FROM UNIQUEJOIN PRESERVE T1 a (a.key, a.val), PRESERVE T2 b (b.key, b.val), PRESERVE T3 c (c.key, c.val) -SELECT a.key, a.val, b.key, b.val, c.key, c.val; -'key','val','key','val','key','val' -'1','11','','','','' -'2','12','','','2','12' -'','','2','22','','' -'3','13','3','13','','' -'','','4','14','4','14' -'','','5','15','','' -'','','','','6','16' -'7','17','','','7','17' -'8','18','8','18','','' -'8','18','8','18','','' -'8','28','','','','' -11 rows selected ->>> ->>> FROM UNIQUEJOIN PRESERVE T1 a (a.key), T2 b (b.key), PRESERVE T3 c (c.key) -SELECT a.key, b.key, c.key; -'key','key','key' -'1','','' -'2','2','2' -'3','3','' -'','4','4' -'','','6' -'7','','7' -'8','8','' -'8','8','' -'8','8','' -'8','8','' -10 rows selected ->>> ->>> FROM UNIQUEJOIN PRESERVE T1 a (a.key), T2 b(b.key) -SELECT a.key, b.key; -'key','key' -'1','' -'2','2' -'3','3' -'7','' -'8','8' -'8','8' -'8','8' -'8','8' -8 rows selected ->>> !record diff --git ql/src/test/results/beelinepositive/updateAccessTime.q.out ql/src/test/results/beelinepositive/updateAccessTime.q.out deleted file mode 100644 index 944c733..0000000 --- ql/src/test/results/beelinepositive/updateAccessTime.q.out +++ /dev/null @@ -1,111 +0,0 @@ -Saving all output to "!!{outputDirectory}!!/updateAccessTime.q.raw". Enter "record" with no arguments to stop it. ->>> !run !!{qFileDirectory}!!/updateAccessTime.q ->>> drop table tstsrc; -No rows affected ->>> ->>> set hive.exec.pre.hooks = org.apache.hadoop.hive.ql.hooks.PreExecutePrinter,org.apache.hadoop.hive.ql.hooks.EnforceReadOnlyTables,org.apache.hadoop.hive.ql.hooks.UpdateInputAccessTimeHook$PreExec; -No rows affected ->>> ->>> create table tstsrc as select * from src; -'key','value' -No rows selected ->>> desc extended tstsrc; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'','','' -'Detailed Table Information','Table(tableName:tstsrc, dbName:updateaccesstime, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/updateaccesstime.db/tstsrc, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{numPartitions=0, numFiles=1, transient_lastDdlTime=!!UNIXTIME!!, numRows=500, totalSize=5812, rawDataSize=5312}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -4 rows selected ->>> select count(1) from tstsrc; -'_c0' -'500' -1 row selected ->>> desc extended tstsrc; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'','','' -'Detailed Table Information','Table(tableName:tstsrc, dbName:updateaccesstime, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:!!UNIXTIME!!, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/updateaccesstime.db/tstsrc, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[], parameters:{numPartitions=0, numFiles=1, transient_lastDdlTime=!!UNIXTIME!!, numRows=500, totalSize=5812, rawDataSize=5312}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -4 rows selected ->>> drop table tstsrc; -No rows affected ->>> ->>> drop table tstsrcpart; -No rows affected ->>> create table tstsrcpart like srcpart; -No rows affected ->>> ->>> set hive.exec.dynamic.partition.mode=nonstrict; -No rows affected ->>> set hive.exec.dynamic.partition=true; -No rows affected ->>> ->>> ->>> insert overwrite table tstsrcpart partition (ds, hr) select key, value, ds, hr from srcpart; -'key','value','ds','hr' -No rows selected ->>> ->>> desc extended tstsrcpart; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'ds','string','' -'hr','string','' -'','','' -'Detailed Table Information','Table(tableName:tstsrcpart, dbName:updateaccesstime, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:hr, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/updateaccesstime.db/tstsrcpart, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:hr, type:string, comment:null)], parameters:{numPartitions=4, numFiles=4, transient_lastDdlTime=!!UNIXTIME!!, numRows=2000, totalSize=23248, rawDataSize=21248}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -6 rows selected ->>> desc extended tstsrcpart partition (ds='2008-04-08', hr='11'); -'col_name','data_type','comment' -'key','string','' -'value','string','' -'ds','string','' -'hr','string','' -'','','' -'Detailed Partition Information','Partition(values:[2008-04-08, 11], dbName:updateaccesstime, tableName:tstsrcpart, createTime:!!UNIXTIME!!, lastAccessTime:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:hr, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/updateaccesstime.db/tstsrcpart/ds=2008-04-08/hr=11, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), parameters:{numFiles=1, transient_lastDdlTime=!!UNIXTIME!!, numRows=500, totalSize=5812, rawDataSize=5312})','' -6 rows selected ->>> desc extended tstsrcpart partition (ds='2008-04-08', hr='12'); -'col_name','data_type','comment' -'key','string','' -'value','string','' -'ds','string','' -'hr','string','' -'','','' -'Detailed Partition Information','Partition(values:[2008-04-08, 12], dbName:updateaccesstime, tableName:tstsrcpart, createTime:!!UNIXTIME!!, lastAccessTime:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:hr, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/updateaccesstime.db/tstsrcpart/ds=2008-04-08/hr=12, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), parameters:{numFiles=1, transient_lastDdlTime=!!UNIXTIME!!, numRows=500, totalSize=5812, rawDataSize=5312})','' -6 rows selected ->>> ->>> select count(1) from tstsrcpart where ds = '2008-04-08' and hr = '11'; -'_c0' -'500' -1 row selected ->>> ->>> desc extended tstsrcpart; -'col_name','data_type','comment' -'key','string','' -'value','string','' -'ds','string','' -'hr','string','' -'','','' -'Detailed Table Information','Table(tableName:tstsrcpart, dbName:updateaccesstime, owner:!!{user.name}!!, createTime:!!UNIXTIME!!, lastAccessTime:!!UNIXTIME!!, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:hr, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/updateaccesstime.db/tstsrcpart, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), partitionKeys:[FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:hr, type:string, comment:null)], parameters:{numPartitions=4, numFiles=4, transient_lastDdlTime=!!UNIXTIME!!, numRows=2000, totalSize=23248, rawDataSize=21248}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)','' -6 rows selected ->>> desc extended tstsrcpart partition (ds='2008-04-08', hr='11'); -'col_name','data_type','comment' -'key','string','' -'value','string','' -'ds','string','' -'hr','string','' -'','','' -'Detailed Partition Information','Partition(values:[2008-04-08, 11], dbName:updateaccesstime, tableName:tstsrcpart, createTime:!!UNIXTIME!!, lastAccessTime:!!UNIXTIME!!, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:hr, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/updateaccesstime.db/tstsrcpart/ds=2008-04-08/hr=11, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), parameters:{numFiles=1, transient_lastDdlTime=!!UNIXTIME!!, numRows=500, totalSize=5812, rawDataSize=5312})','' -6 rows selected ->>> desc extended tstsrcpart partition (ds='2008-04-08', hr='12'); -'col_name','data_type','comment' -'key','string','' -'value','string','' -'ds','string','' -'hr','string','' -'','','' -'Detailed Partition Information','Partition(values:[2008-04-08, 12], dbName:updateaccesstime, tableName:tstsrcpart, createTime:!!UNIXTIME!!, lastAccessTime:0, sd:StorageDescriptor(cols:[FieldSchema(name:key, type:string, comment:null), FieldSchema(name:value, type:string, comment:null), FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:hr, type:string, comment:null)], location:!!{hive.metastore.warehouse.dir}!!/updateaccesstime.db/tstsrcpart/ds=2008-04-08/hr=12, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}, skewedInfo:SkewedInfo(skewedColNames:[], skewedColValues:[], skewedColValueLocationMaps:{})), parameters:{numFiles=1, transient_lastDdlTime=!!UNIXTIME!!, numRows=500, totalSize=5812, rawDataSize=5312})','' -6 rows selected ->>> ->>> drop table tstsrcpart; -No rows affected ->>> !record